Sha256: 465a9fb3fe49d5ef121782ead017a9ce8c82b3ae3c617c170d98d6b559058f05

Contents?: true

Size: 1.84 KB

Versions: 1

Compression:

Stored size: 1.84 KB

Contents

# 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::Compute
  module Models
    #
    # Describes an available virtual machine scale set sku.
    #
    class VirtualMachineScaleSetSku

      include MsRestAzure

      # @return [String] the type of resource the sku applies to.
      attr_accessor :resource_type

      # @return [Sku] the Sku.
      attr_accessor :sku

      # @return [VirtualMachineScaleSetSkuCapacity] available scaling
      # information.
      attr_accessor :capacity


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.8.0 lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb