# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Web module Models # # Describes a sku for a scalable resource # class SkuDescription include MsRestAzure # @return [String] Name of the resource sku attr_accessor :name # @return [String] Service Tier of the resource sku attr_accessor :tier # @return [String] Size specifier of the resource sku attr_accessor :size # @return [String] Family code of the resource sku attr_accessor :family # @return [Integer] Current number of instances assigned to the resource attr_accessor :capacity # @return [SkuCapacity] Min, max, and default scale values of the sku attr_accessor :sku_capacity # @return [Array] Locations of the sku attr_accessor :locations # @return [Array] Capabilities of the sku, eg., is traffic # manager enabled? attr_accessor :capabilities # # Mapper for SkuDescription class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'SkuDescription', type: { name: 'Composite', class_name: 'SkuDescription', model_properties: { name: { required: false, serialized_name: 'name', type: { name: 'String' } }, tier: { required: false, serialized_name: 'tier', type: { name: 'String' } }, size: { required: false, serialized_name: 'size', type: { name: 'String' } }, family: { required: false, serialized_name: 'family', type: { name: 'String' } }, capacity: { required: false, serialized_name: 'capacity', type: { name: 'Number' } }, sku_capacity: { required: false, serialized_name: 'skuCapacity', type: { name: 'Composite', class_name: 'SkuCapacity' } }, locations: { required: false, serialized_name: 'locations', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, capabilities: { required: false, serialized_name: 'capabilities', type: { name: 'Sequence', element: { required: false, serialized_name: 'CapabilityElementType', type: { name: 'Composite', class_name: 'Capability' } } } } } } } end end end end