class Azure::Storage::Mgmt::V2016_12_01::Models::Sku

The SKU of the storage account.

Attributes

name[RW]

@return [SkuName] Gets or sets the sku name. Required for account creation; optional for update. Note that in older versions, sku name was called accountType. Possible values include: 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS'

tier[RW]

@return [SkuTier] Gets the sku tier. This is based on the SKU name. Possible values include: 'Standard', 'Premium'

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-12-01/generated/azure_mgmt_storage/models/sku.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Sku',
    type: {
      name: 'Composite',
      class_name: 'Sku',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'Enum',
            module: 'SkuName'
          }
        },
        tier: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tier',
          type: {
            name: 'Enum',
            module: 'SkuTier'
          }
        }
      }
    }
  }
end