Sha256: 24294b0db6766f60063f75b274447b1a192de3aa65df02f3cf9570c1cb9d4a31

Contents?: true

Size: 1.66 KB

Versions: 1

Compression:

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

      include MsRestAzure

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

      # @return [IotHubSkuInfo]
      attr_accessor :sku

      # @return [IotHubCapacity]
      attr_accessor :capacity


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.13.0 lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb