Sha256: 72eff81407125b3e040ab2d12f32b3003cfe8ecd2dc6f6834f61dfe64767bc5c

Contents?: true

Size: 1.96 KB

Versions: 1

Compression:

Stored size: 1.96 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
    #
    # Description of the App Service plan scale options.
    #
    class SkuCapacity

      include MsRestAzure

      # @return [Integer] Minimum number of workers for this App Service plan
      # SKU.
      attr_accessor :minimum

      # @return [Integer] Maximum number of workers for this App Service plan
      # SKU.
      attr_accessor :maximum

      # @return [Integer] Default number of workers for this App Service plan
      # SKU.
      attr_accessor :default

      # @return [String] Available scale configurations for an App Service
      # plan.
      attr_accessor :scale_type


      #
      # Mapper for SkuCapacity class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'SkuCapacity',
          type: {
            name: 'Composite',
            class_name: 'SkuCapacity',
            model_properties: {
              minimum: {
                required: false,
                serialized_name: 'minimum',
                type: {
                  name: 'Number'
                }
              },
              maximum: {
                required: false,
                serialized_name: 'maximum',
                type: {
                  name: 'Number'
                }
              },
              default: {
                required: false,
                serialized_name: 'default',
                type: {
                  name: 'Number'
                }
              },
              scale_type: {
                required: false,
                serialized_name: 'scaleType',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      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_capacity.rb