AzureStorageCredentialsInfo Class
- java.
lang. Object - com.
microsoft. azure. management. batchai. AzureStorageCredentialsInfo
- com.
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. |
Key |
accountKeySecretReference()
Get information about KeyVault secret storing the storage account key. One of accountKey or accountKeySecretReference must be specified. |
Azure |
withAccountKey(String accountKey)
Set storage account key. One of accountKey or accountKeySecretReference must be specified. |
Azure |
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:
accountKeySecretReference
public KeyVaultSecretReference accountKeySecretReference()
Get information about KeyVault secret storing the storage account key. One of accountKey or accountKeySecretReference must be specified.
Returns:
withAccountKey
public AzureStorageCredentialsInfo withAccountKey(String accountKey)
Set storage account key. One of accountKey or accountKeySecretReference must be specified.
Parameters:
Returns:
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:
Returns:
Applies to
Azure SDK for Java