Sha256: 2617e4d51439e75ec62c406a1947e46ed1a9091b27b791af6843df1aaf610604

Contents?: true

Size: 1.75 KB

Versions: 30

Compression:

Stored size: 1.75 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Storage::Mgmt::V2016_01_01
  module Models
    #
    # The SKU of the storage account.
    #
    class Sku

      include MsRestAzure

      # @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'
      attr_accessor :name

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


      #
      # Mapper for Sku class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.22.0 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.21.2 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.21.1 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.21.0 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.20.1 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.20.0 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.19.3 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.19.2 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.19.1 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.19.0 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.18.2 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.18.1 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.18.0 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.17.10 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.17.9 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.17.8 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.17.7 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.17.6 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.17.5 lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb