Class: Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubSkuInfo
- Inherits:
-
Object
- Object
- Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubSkuInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb
Overview
Information about the SKU of the IoT hub.
Instance Attribute Summary collapse
- #capacity ⇒ Integer
-
#name ⇒ IotHubSku
‘S1’, ‘S2’, ‘S3’.
-
#tier ⇒ IotHubSkuTier
values include: ‘Free’, ‘Standard’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IotHubSkuInfo class as Ruby Hash.
Instance Attribute Details
#capacity ⇒ Integer
25 26 27 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb', line 25 def capacity @capacity end |
#name ⇒ IotHubSku
‘S1’, ‘S2’, ‘S3’
17 18 19 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb', line 17 def name @name end |
#tier ⇒ IotHubSkuTier
values include: ‘Free’, ‘Standard’
21 22 23 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb', line 21 def tier @tier end |
Class Method Details
.mapper ⇒ Object
Mapper for IotHubSkuInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 69 70 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IotHubSkuInfo', type: { name: 'Composite', class_name: 'IotHubSkuInfo', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, tier: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', type: { name: 'Enum', module: 'IotHubSkuTier' } }, capacity: { client_side_validation: true, required: true, serialized_name: 'capacity', type: { name: 'Number' } } } } } end |