Sha256: d05f8cb9fc50b2433007e4c9e8128bff350ab01d60f5616521b7b7d20093ceda

Contents?: true

Size: 1.86 KB

Versions: 6

Compression:

Stored size: 1.86 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::IotHub::Mgmt::V2018_04_01
  module Models
    #
    # SKU properties.
    #
    class IotHubSkuDescription

      include MsRestAzure

      # @return [String] The type of the resource.
      attr_accessor :resource_type

      # @return [IotHubSkuInfo] The type of the resource.
      attr_accessor :sku

      # @return [IotHubCapacity] IotHub capacity
      attr_accessor :capacity


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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.17.5 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb
azure_mgmt_iot_hub-0.17.4 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb
azure_mgmt_iot_hub-0.17.3 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb
azure_mgmt_iot_hub-0.17.2 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb
azure_mgmt_iot_hub-0.17.1 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb
azure_mgmt_iot_hub-0.17.0 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb