AzureStorageCredentialsInfo Class

  • java.lang.Object
    • com.microsoft.azure.management.batchai.AzureStorageCredentialsInfo

public class AzureStorageCredentialsInfo

Azure storage account credentials.

Method Summary

Modifier and Type Method and Description
String accountKey()

Get storage account key. One of accountKey or accountKeySecretReference must be specified.

KeyVaultSecretReference accountKeySecretReference()

Get information about KeyVault secret storing the storage account key. One of accountKey or accountKeySecretReference must be specified.

AzureStorageCredentialsInfo withAccountKey(String accountKey)

Set storage account key. One of accountKey or accountKeySecretReference must be specified.

AzureStorageCredentialsInfo withAccountKeySecretReference(KeyVaultSecretReference accountKeySecretReference)

Set information about KeyVault secret storing the storage account key. One of accountKey or accountKeySecretReference must be specified.

Method Details

accountKey

public String accountKey()

Get storage account key. One of accountKey or accountKeySecretReference must be specified.

Returns:

the accountKey value

accountKeySecretReference

public KeyVaultSecretReference accountKeySecretReference()

Get information about KeyVault secret storing the storage account key. One of accountKey or accountKeySecretReference must be specified.

Returns:

the accountKeySecretReference value

withAccountKey

public AzureStorageCredentialsInfo withAccountKey(String accountKey)

Set storage account key. One of accountKey or accountKeySecretReference must be specified.

Parameters:

accountKey - the accountKey value to set

Returns:

the AzureStorageCredentialsInfo object itself.

withAccountKeySecretReference

public AzureStorageCredentialsInfo withAccountKeySecretReference(KeyVaultSecretReference accountKeySecretReference)

Set information about KeyVault secret storing the storage account key. One of accountKey or accountKeySecretReference must be specified.

Parameters:

accountKeySecretReference - the accountKeySecretReference value to set

Returns:

the AzureStorageCredentialsInfo object itself.

Applies to