Class: Azure::ARM::IotHub::Models::IotHubSkuInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb

Overview

The Sku related information for the hub.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#capacityInteger

values [For F1: 1-1, S1: 1-200, S2: 1-200, S3: 1-10]. To go above this range, call support.

Returns:

  • (Integer)

    The number of units being provisioned. Range of



26
27
28
# File 'lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb', line 26

def capacity
  @capacity
end

#nameIotHubSku

‘F1’, ‘S1’, ‘S2’, ‘S3’

Returns:

  • (IotHubSku)

    The name of the Sku. Possible values include:



17
18
19
# File 'lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb', line 17

def name
  @name
end

#tierIotHubSkuTier

‘Standard’

Returns:

  • (IotHubSkuTier)

    The tier. Possible values include: ‘Free’,



21
22
23
# File 'lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb', line 21

def tier
  @tier
end

Class Method Details

.mapperObject

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



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
# File 'lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb', line 33

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