Class AzureStorageCredentialsInfo

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

public class AzureStorageCredentialsInfo extends Object
Azure storage account credentials.
  • Constructor Details

    • AzureStorageCredentialsInfo

      public AzureStorageCredentialsInfo()
  • Method Details

    • accountKey

      public String accountKey()
      Get storage account key. One of accountKey or accountKeySecretReference must be specified.
      Returns:
      the accountKey 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.
    • 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
    • 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.