Class: Azure::IotHub::Mgmt::V2017_01_19::Models::IotHubSkuDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb

Overview

SKU properties.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#capacityIotHubCapacity

Returns:



22
23
24
# File 'lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb', line 22

def capacity
  @capacity
end

#resource_typeString

Returns The type of the resource.

Returns:

  • (String)

    The type of the resource.



16
17
18
# File 'lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb', line 16

def resource_type
  @resource_type
end

#skuIotHubSkuInfo

Returns:



19
20
21
# File 'lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb', line 19

def sku
  @sku
end

Class Method Details

.mapperObject

Mapper for IotHubSkuDescription class as Ruby Hash. This will be used for serialization/deserialization.



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb', line 29

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