Sha256: a966cafb73baaa51234917725cefea89aeccd680e51b4e3f3632152a386679d6

Contents?: true

Size: 1.81 KB

Versions: 3

Compression:

Stored size: 1.81 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::IotHub
  module Models
    #
    # The Sku related information for the hub.
    #
    class IotHubSkuInfo

      include MsRestAzure

      # @return [IotHubSku] The name of the Sku. Possible values include:
      # 'F1', 'S1', 'S2', 'S3'
      attr_accessor :name

      # @return [IotHubSkuTier] The tier. Possible values include: 'Free',
      # 'Standard'
      attr_accessor :tier

      # @return [Integer] The number of units being provisioned. Range of
      # values [For F1: 1-1, S1: 1-200, S2: 1-200, S3: 1-10]. To go above
      # this range, call support.
      attr_accessor :capacity


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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.7.0 lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb
azure_mgmt_iot_hub-0.6.0 lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb
azure_mgmt_iot_hub-0.5.0 lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb