Sha256: 185d93a96e4b541cfa8fdf9a41ccfe12a13ef03fd1b6801ce1d7e3279511ad5b

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 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::V2020_10_01_preview
  module Models
    #
    # Model object.
    #
    #
    class InstanceSku

      include MsRestAzure

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

      # @return [String] The tier of the cloud service role instance.
      attr_accessor :tier


      #
      # Mapper for InstanceSku class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'InstanceSku',
          type: {
            name: 'Composite',
            class_name: 'InstanceSku',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              tier: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'tier',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-10-01-preview/generated/azure_mgmt_compute/models/instance_sku.rb
azure_mgmt_compute-0.21.1 lib/2020-10-01-preview/generated/azure_mgmt_compute/models/instance_sku.rb