# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from msrest.serialization import Model
[docs]class IotHubSkuDescription(Model):
"""The properties related to the Sku.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar resource_type: The type of the resource.
:vartype resource_type: str
:param sku:
:type sku: :class:`IotHubSkuInfo <azure.mgmt.iothub.models.IotHubSkuInfo>`
:param capacity:
:type capacity: :class:`IotHubCapacity
<azure.mgmt.iothub.models.IotHubCapacity>`
"""
_validation = {
'resource_type': {'readonly': True},
}
_attribute_map = {
'resource_type': {'key': 'resourceType', 'type': 'str'},
'sku': {'key': 'sku', 'type': 'IotHubSkuInfo'},
'capacity': {'key': 'capacity', 'type': 'IotHubCapacity'},
}
def __init__(self, sku=None, capacity=None):
self.resource_type = None
self.sku = sku
self.capacity = capacity