Sha256: d4bcbb76e1eca02a83bb6350bf74a70e0db248363eeea68493cb1bd84d878b00

Contents?: true

Size: 1.53 KB

Versions: 11

Compression:

Stored size: 1.53 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::V2019_06_01
  module Models
    #
    # The SKU of the storage account.
    #
    class Sku

      include MsRestAzure

      # @return [SkuName] Possible values include: 'Standard_LRS',
      # 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS',
      # 'Premium_ZRS', 'Standard_GZRS', 'Standard_RAGZRS'
      attr_accessor :name

      # @return [SkuTier] 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: 'String'
                }
              },
              tier: {
                client_side_validation: true,
                required: false,
                serialized_name: 'tier',
                type: {
                  name: 'Enum',
                  module: 'SkuTier'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.22.0 lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.21.2 lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.21.1 lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.21.0 lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.20.1 lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.20.0 lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.19.3 lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.19.2 lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.19.1 lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb
azure_mgmt_storage-0.19.0 lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb