class Azure::BatchAI::Mgmt::V2018_03_01::Models::AzureStorageCredentialsInfo

Credentials to access Azure File Share.

Attributes

account_key[RW]

@return [String] Storage account key. One of accountKey or accountKeySecretReference must be specified.

account_key_secret_reference[RW]

@return [KeyVaultSecretReference] Specifies the location of the storage account key, which is a Key Vault Secret. Users can store their secrets in Azure KeyVault and pass it to the Batch AI Service to integrate with KeyVault. One of accountKey or accountKeySecretReference must be specified.

Public Class Methods

mapper() click to toggle source

Mapper for AzureStorageCredentialsInfo class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-03-01/generated/azure_mgmt_batchai/models/azure_storage_credentials_info.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureStorageCredentialsInfo',
    type: {
      name: 'Composite',
      class_name: 'AzureStorageCredentialsInfo',
      model_properties: {
        account_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'accountKey',
          type: {
            name: 'String'
          }
        },
        account_key_secret_reference: {
          client_side_validation: true,
          required: false,
          serialized_name: 'accountKeySecretReference',
          type: {
            name: 'Composite',
            class_name: 'KeyVaultSecretReference'
          }
        }
      }
    }
  }
end