AutoStorageBaseProperties Class
- java.
lang. Object - com.
microsoft. azure. management. batch. AutoStorageBaseProperties
- com.
public class AutoStorageBaseProperties
The properties related to the auto-storage account.
Constructor Summary
Constructor | Description | |
---|---|---|
AutoStorageBaseProperties() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Auto |
authenticationMode()
Get the authentication mode which the Batch service will use to manage the auto-storage account. |
Compute |
nodeIdentityReference()
Get the identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage. |
java.lang.String |
storageAccountId()
Get the resource ID of the storage account to be used for auto-storage account. |
Auto |
withAuthenticationMode(AutoStorageAuthenticationMode authenticationMode)
Set the authentication mode which the Batch service will use to manage the auto-storage account. |
Auto |
withNodeIdentityReference(ComputeNodeIdentityReference nodeIdentityReference)
Set the identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage. |
Auto |
withStorageAccountId(String storageAccountId)
Set the resource ID of the storage account to be used for auto-storage account. |
Methods inherited from java.lang.Object
Constructor Details
AutoStorageBaseProperties
public AutoStorageBaseProperties()
Method Details
authenticationMode
public AutoStorageAuthenticationMode authenticationMode()
Get the authentication mode which the Batch service will use to manage the auto-storage account. Possible values include: 'StorageKeys', 'BatchAccountManagedIdentity'.
Returns:
nodeIdentityReference
public ComputeNodeIdentityReference nodeIdentityReference()
Get the identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.
Returns:
storageAccountId
public String storageAccountId()
Get the resource ID of the storage account to be used for auto-storage account.
Returns:
withAuthenticationMode
public AutoStorageBaseProperties withAuthenticationMode(AutoStorageAuthenticationMode authenticationMode)
Set the authentication mode which the Batch service will use to manage the auto-storage account. Possible values include: 'StorageKeys', 'BatchAccountManagedIdentity'.
Parameters:
Returns:
withNodeIdentityReference
public AutoStorageBaseProperties withNodeIdentityReference(ComputeNodeIdentityReference nodeIdentityReference)
Set the identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.
Parameters:
Returns:
withStorageAccountId
public AutoStorageBaseProperties withStorageAccountId(String storageAccountId)
Set the resource ID of the storage account to be used for auto-storage account.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for