AutoStorageBaseProperties Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.AutoStorageBaseProperties

public class AutoStorageBaseProperties

The properties related to the auto-storage account.

Constructor Summary

Constructor Description
AutoStorageBaseProperties()

Method Summary

Modifier and Type Method and Description
AutoStorageAuthenticationMode authenticationMode()

Get the authentication mode which the Batch service will use to manage the auto-storage account.

ComputeNodeIdentityReference 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.

AutoStorageBaseProperties withAuthenticationMode(AutoStorageAuthenticationMode authenticationMode)

Set the authentication mode which the Batch service will use to manage the auto-storage account.

AutoStorageBaseProperties withNodeIdentityReference(ComputeNodeIdentityReference nodeIdentityReference)

Set the identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.

AutoStorageBaseProperties withStorageAccountId(String storageAccountId)

Set the resource ID of the storage account to be used for auto-storage account.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

the authenticationMode value

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:

the nodeIdentityReference value

storageAccountId

public String storageAccountId()

Get the resource ID of the storage account to be used for auto-storage account.

Returns:

the storageAccountId value

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:

authenticationMode - the authenticationMode value to set

Returns:

the AutoStorageBaseProperties object itself.

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:

nodeIdentityReference - the nodeIdentityReference value to set

Returns:

the AutoStorageBaseProperties object itself.

withStorageAccountId

public AutoStorageBaseProperties withStorageAccountId(String storageAccountId)

Set 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.

Applies to