Sha256: ce7e01ca259255cb6db58dde1477c259ebb0793c7ef88167efe9bd4b170191c3

Contents?: true

Size: 1.81 KB

Versions: 9

Compression:

Stored size: 1.81 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::Compute::Mgmt::V2018_10_01
  module Models
    #
    # Describes a virtual machine scale set sku.
    #
    class Sku

      include MsRestAzure

      # @return [String] The sku name.
      attr_accessor :name

      # @return [String] Specifies the tier of virtual machines in a scale
      # set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br />
      # **Basic**
      attr_accessor :tier

      # @return [Integer] Specifies the number of virtual machines in the scale
      # set.
      attr_accessor :capacity


      #
      # 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: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              tier: {
                client_side_validation: true,
                required: false,
                serialized_name: 'tier',
                type: {
                  name: 'String'
                }
              },
              capacity: {
                client_side_validation: true,
                required: false,
                serialized_name: 'capacity',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2018-10-01/generated/azure_mgmt_compute/models/sku.rb
azure_mgmt_compute-0.21.1 lib/2018-10-01/generated/azure_mgmt_compute/models/sku.rb
azure_mgmt_compute-0.20.0 lib/2018-10-01/generated/azure_mgmt_compute/models/sku.rb
azure_mgmt_compute-0.19.3 lib/2018-10-01/generated/azure_mgmt_compute/models/sku.rb
azure_mgmt_compute-0.19.2 lib/2018-10-01/generated/azure_mgmt_compute/models/sku.rb
azure_mgmt_compute-0.19.1 lib/2018-10-01/generated/azure_mgmt_compute/models/sku.rb
azure_mgmt_compute-0.19.0 lib/2018-10-01/generated/azure_mgmt_compute/models/sku.rb
azure_mgmt_compute-0.18.7 lib/2018-10-01/generated/azure_mgmt_compute/models/sku.rb
azure_mgmt_compute-0.18.6 lib/2018-10-01/generated/azure_mgmt_compute/models/sku.rb