class Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageInfoValue

Azure Files or Blob Storage access information value for dictionary storage.

Attributes

access_key[RW]

@return [String] Access key for the storage account.

account_name[RW]

@return [String] Name of the storage account.

mount_path[RW]

@return [String] Path to mount the storage within the site's runtime environment.

share_name[RW]

@return [String] Name of the file share (container name, for Blob storage).

state[RW]

@return [AzureStorageState] State of the storage account. Possible values include: 'Ok', 'InvalidCredentials', 'InvalidShare'

type[RW]

@return [AzureStorageType] Type of storage. Possible values include: 'AzureFiles', 'AzureBlob'

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_info_value.rb, line 43
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureStorageInfoValue',
    type: {
      name: 'Composite',
      class_name: 'AzureStorageInfoValue',
      model_properties: {
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'Enum',
            module: 'AzureStorageType'
          }
        },
        account_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'accountName',
          type: {
            name: 'String'
          }
        },
        share_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'shareName',
          type: {
            name: 'String'
          }
        },
        access_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'accessKey',
          type: {
            name: 'String'
          }
        },
        mount_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'mountPath',
          type: {
            name: 'String'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'state',
          type: {
            name: 'Enum',
            module: 'AzureStorageState'
          }
        }
      }
    }
  }
end