Sha256: d2479c7be7805cef9dfeea1a946b109682c7545f351ab69d041b65e13ba2f7b0

Contents?: true

Size: 1.44 KB

Versions: 3

Compression:

Stored size: 1.44 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::OperationalInsights::Mgmt::V2020_08_01
  module Models
    #
    # The cluster sku definition.
    #
    class ClusterSku

      include MsRestAzure

      # @return [Integer] The capacity value
      attr_accessor :capacity

      # @return [ClusterSkuNameEnum] The name of the SKU. Possible values
      # include: 'CapacityReservation'
      attr_accessor :name


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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_operational_insights-0.20.0 lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_sku.rb
azure_mgmt_operational_insights-0.19.3 lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_sku.rb
azure_mgmt_operational_insights-0.19.2 lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_sku.rb