# 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 # # A Global SKU Description. # class GlobalCsmSkuDescription include MsRestAzure include MsRest::JSONable # @return [String] Name of the resource SKU. attr_accessor :name # @return [String] Service Tier of the resource SKU. attr_accessor :tier # @return [SkuCapacity] Min, max, and default scale values of the SKU. attr_accessor :capacity # @return [Array] Locations of the SKU. attr_accessor :locations # @return [Array] Capabilities of the SKU, e.g., is traffic # manager enabled? attr_accessor :capabilities # # Mapper for GlobalCsmSkuDescription class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'GlobalCsmSkuDescription', type: { name: 'Composite', class_name: 'GlobalCsmSkuDescription', model_properties: { name: { required: false, serialized_name: 'name', type: { name: 'String' } }, tier: { required: false, serialized_name: 'tier', type: { name: 'String' } }, capacity: { required: false, serialized_name: 'capacity', 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