class Azure::ContainerInstance::Mgmt::V2017_10_01_preview::Models::AzureFileVolume

The properties of the Azure File volume. Azure File shares are mounted as volumes.

Attributes

read_only[RW]

@return [Boolean] The flag indicating whether the Azure File shared mounted as a volume is read-only.

share_name[RW]

@return [String] The name of the Azure File share to be mounted as a volume.

storage_account_key[RW]

@return [String] The storage account access key used to access the Azure File share.

storage_account_name[RW]

@return [String] The name of the storage account that contains the Azure File share.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb, line 37
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureFileVolume',
    type: {
      name: 'Composite',
      class_name: 'AzureFileVolume',
      model_properties: {
        share_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'shareName',
          type: {
            name: 'String'
          }
        },
        read_only: {
          client_side_validation: true,
          required: false,
          serialized_name: 'readOnly',
          type: {
            name: 'Boolean'
          }
        },
        storage_account_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'storageAccountName',
          type: {
            name: 'String'
          }
        },
        storage_account_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'storageAccountKey',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end