Sha256: b7df008697fcfd72013f99074fef81bad090fba6d3b5e6b7e404408287b14177

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 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::ARM::Web
  module Models
    #
    # SKU discovery information.
    #
    class SkuInfo

      include MsRestAzure

      # @return [String] Resource type that this SKU applies to.
      attr_accessor :resource_type

      # @return [SkuDescription] Name and tier of the SKU.
      attr_accessor :sku

      # @return [SkuCapacity] Min, max, and default scale values of the SKU.
      attr_accessor :capacity


      #
      # Mapper for SkuInfo class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'SkuInfo',
          type: {
            name: 'Composite',
            class_name: 'SkuInfo',
            model_properties: {
              resource_type: {
                required: false,
                serialized_name: 'resourceType',
                type: {
                  name: 'String'
                }
              },
              sku: {
                required: false,
                serialized_name: 'sku',
                type: {
                  name: 'Composite',
                  class_name: 'SkuDescription'
                }
              },
              capacity: {
                required: false,
                serialized_name: 'capacity',
                type: {
                  name: 'Composite',
                  class_name: 'SkuCapacity'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_web-0.14.0 lib/generated/azure_mgmt_web/models/sku_info.rb