class Azure::IotHub::Mgmt::V2018_12_01_preview::Models::IotHubSkuInfo

Information about the SKU of the IoT hub.

Attributes

capacity[RW]

@return [Integer] The number of provisioned IoT Hub units. See: docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits.

name[RW]

@return [IotHubSku] The name of the SKU. Possible values include: 'F1', 'S1', 'S2', 'S3', 'B1', 'B2', 'B3'

tier[RW]

@return [IotHubSkuTier] The billing tier for the IoT hub. Possible values include: 'Free', 'Standard', 'Basic'

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-12-01-preview/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: false,
          serialized_name: 'capacity',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end