Class AzureStorageCredentialsInfo
java.lang.Object
com.microsoft.azure.management.batchai.AzureStorageCredentialsInfo
Azure storage account credentials.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet storage account key.Get information about KeyVault secret storing the storage account key.withAccountKey
(String accountKey) Set storage account key.withAccountKeySecretReference
(KeyVaultSecretReference accountKeySecretReference) Set information about KeyVault secret storing the storage account key.
-
Constructor Details
-
AzureStorageCredentialsInfo
public AzureStorageCredentialsInfo()
-
-
Method Details
-
accountKey
Get storage account key. One of accountKey or accountKeySecretReference must be specified.- Returns:
- the accountKey value
-
withAccountKey
Set storage account key. One of accountKey or accountKeySecretReference must be specified.- Parameters:
accountKey
- the accountKey value to set- Returns:
- the AzureStorageCredentialsInfo object itself.
-
accountKeySecretReference
Get information about KeyVault secret storing the storage account key. One of accountKey or accountKeySecretReference must be specified.- Returns:
- the accountKeySecretReference value
-
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.
-