Class AutoStorageBaseProperties
java.lang.Object
com.azure.resourcemanager.batch.models.AutoStorageBaseProperties
- Direct Known Subclasses:
AutoStorageProperties
The properties related to the auto-storage account.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AutoStorageBaseProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authenticationMode property: The authentication mode which the Batch service will use to manage the auto-storage account.Get the nodeIdentityReference property: The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.Get the storageAccountId property: The resource ID of the storage account to be used for auto-storage account.void
validate()
Validates the instance.withAuthenticationMode
(AutoStorageAuthenticationMode authenticationMode) Set the authenticationMode property: The authentication mode which the Batch service will use to manage the auto-storage account.withNodeIdentityReference
(ComputeNodeIdentityReference nodeIdentityReference) Set the nodeIdentityReference property: The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.withStorageAccountId
(String storageAccountId) Set the storageAccountId property: The resource ID of the storage account to be used for auto-storage account.
-
Constructor Details
-
AutoStorageBaseProperties
public AutoStorageBaseProperties()Creates an instance of AutoStorageBaseProperties class.
-
-
Method Details
-
storageAccountId
Get the storageAccountId property: The resource ID of the storage account to be used for auto-storage account.- Returns:
- the storageAccountId value.
-
withStorageAccountId
Set the storageAccountId property: The resource ID of the storage account to be used for auto-storage account.- Parameters:
storageAccountId
- the storageAccountId value to set.- Returns:
- the AutoStorageBaseProperties object itself.
-
authenticationMode
Get the authenticationMode property: The authentication mode which the Batch service will use to manage the auto-storage account.- Returns:
- the authenticationMode value.
-
withAuthenticationMode
public AutoStorageBaseProperties withAuthenticationMode(AutoStorageAuthenticationMode authenticationMode) Set the authenticationMode property: The authentication mode which the Batch service will use to manage the auto-storage account.- Parameters:
authenticationMode
- the authenticationMode value to set.- Returns:
- the AutoStorageBaseProperties object itself.
-
nodeIdentityReference
Get the nodeIdentityReference property: The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.- Returns:
- the nodeIdentityReference value.
-
withNodeIdentityReference
public AutoStorageBaseProperties withNodeIdentityReference(ComputeNodeIdentityReference nodeIdentityReference) Set the nodeIdentityReference property: The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.- Parameters:
nodeIdentityReference
- the nodeIdentityReference value to set.- Returns:
- the AutoStorageBaseProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-