From 208f9dc097e32e3a9efe582d34d1971dbfa722c9 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 12 Apr 2018 21:13:52 +0000 Subject: [PATCH] Generated from 84221cca19047cc8e97f40fe7a4ad464a4f2f82a Add package-2018-04 --- azure-mgmt-iothub/azure/mgmt/iothub/iot_hub_client.py | 2 +- .../azure/mgmt/iothub/models/iot_hub_client_enums.py | 4 ++++ .../azure/mgmt/iothub/models/iot_hub_sku_info.py | 4 ++-- .../azure/mgmt/iothub/models/iot_hub_sku_info_py3.py | 4 ++-- .../azure/mgmt/iothub/operations/certificates_operations.py | 4 ++-- .../mgmt/iothub/operations/iot_hub_resource_operations.py | 4 ++-- azure-mgmt-iothub/azure/mgmt/iothub/operations/operations.py | 4 ++-- azure-mgmt-iothub/azure/mgmt/iothub/version.py | 2 +- 8 files changed, 16 insertions(+), 12 deletions(-) diff --git a/azure-mgmt-iothub/azure/mgmt/iothub/iot_hub_client.py b/azure-mgmt-iothub/azure/mgmt/iothub/iot_hub_client.py index f071e3e297b0..b6a87665f44f 100644 --- a/azure-mgmt-iothub/azure/mgmt/iothub/iot_hub_client.py +++ b/azure-mgmt-iothub/azure/mgmt/iothub/iot_hub_client.py @@ -79,7 +79,7 @@ def __init__( self._client = ServiceClient(self.config.credentials, self.config) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2018-01-22' + self.api_version = '2018-04-01' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) diff --git a/azure-mgmt-iothub/azure/mgmt/iothub/models/iot_hub_client_enums.py b/azure-mgmt-iothub/azure/mgmt/iothub/models/iot_hub_client_enums.py index 85a83b2d5b43..66ebf1fc7592 100644 --- a/azure-mgmt-iothub/azure/mgmt/iothub/models/iot_hub_client_enums.py +++ b/azure-mgmt-iothub/azure/mgmt/iothub/models/iot_hub_client_enums.py @@ -65,12 +65,16 @@ class IotHubSku(str, Enum): s1 = "S1" s2 = "S2" s3 = "S3" + b1 = "B1" + b2 = "B2" + b3 = "B3" class IotHubSkuTier(str, Enum): free = "Free" standard = "Standard" + basic = "Basic" class JobType(str, Enum): diff --git a/azure-mgmt-iothub/azure/mgmt/iothub/models/iot_hub_sku_info.py b/azure-mgmt-iothub/azure/mgmt/iothub/models/iot_hub_sku_info.py index 70486220272e..053110390967 100644 --- a/azure-mgmt-iothub/azure/mgmt/iothub/models/iot_hub_sku_info.py +++ b/azure-mgmt-iothub/azure/mgmt/iothub/models/iot_hub_sku_info.py @@ -21,10 +21,10 @@ class IotHubSkuInfo(Model): All required parameters must be populated in order to send to Azure. :param name: Required. The name of the SKU. Possible values include: 'F1', - 'S1', 'S2', 'S3' + 'S1', 'S2', 'S3', 'B1', 'B2', 'B3' :type name: str or ~azure.mgmt.iothub.models.IotHubSku :ivar tier: The billing tier for the IoT hub. Possible values include: - 'Free', 'Standard' + 'Free', 'Standard', 'Basic' :vartype tier: str or ~azure.mgmt.iothub.models.IotHubSkuTier :param capacity: The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. diff --git a/azure-mgmt-iothub/azure/mgmt/iothub/models/iot_hub_sku_info_py3.py b/azure-mgmt-iothub/azure/mgmt/iothub/models/iot_hub_sku_info_py3.py index bda97d8190d8..97ffbf5dd145 100644 --- a/azure-mgmt-iothub/azure/mgmt/iothub/models/iot_hub_sku_info_py3.py +++ b/azure-mgmt-iothub/azure/mgmt/iothub/models/iot_hub_sku_info_py3.py @@ -21,10 +21,10 @@ class IotHubSkuInfo(Model): All required parameters must be populated in order to send to Azure. :param name: Required. The name of the SKU. Possible values include: 'F1', - 'S1', 'S2', 'S3' + 'S1', 'S2', 'S3', 'B1', 'B2', 'B3' :type name: str or ~azure.mgmt.iothub.models.IotHubSku :ivar tier: The billing tier for the IoT hub. Possible values include: - 'Free', 'Standard' + 'Free', 'Standard', 'Basic' :vartype tier: str or ~azure.mgmt.iothub.models.IotHubSkuTier :param capacity: The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. diff --git a/azure-mgmt-iothub/azure/mgmt/iothub/operations/certificates_operations.py b/azure-mgmt-iothub/azure/mgmt/iothub/operations/certificates_operations.py index 81ee4adf5f20..7550e5328ca0 100644 --- a/azure-mgmt-iothub/azure/mgmt/iothub/operations/certificates_operations.py +++ b/azure-mgmt-iothub/azure/mgmt/iothub/operations/certificates_operations.py @@ -22,7 +22,7 @@ class CertificatesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The version of the API. Constant value: "2018-01-22". + :ivar api_version: The version of the API. Constant value: "2018-04-01". """ models = models @@ -32,7 +32,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-01-22" + self.api_version = "2018-04-01" self.config = config diff --git a/azure-mgmt-iothub/azure/mgmt/iothub/operations/iot_hub_resource_operations.py b/azure-mgmt-iothub/azure/mgmt/iothub/operations/iot_hub_resource_operations.py index bd88aa916beb..26ee37a489db 100644 --- a/azure-mgmt-iothub/azure/mgmt/iothub/operations/iot_hub_resource_operations.py +++ b/azure-mgmt-iothub/azure/mgmt/iothub/operations/iot_hub_resource_operations.py @@ -25,7 +25,7 @@ class IotHubResourceOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The version of the API. Constant value: "2018-01-22". + :ivar api_version: The version of the API. Constant value: "2018-04-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-01-22" + self.api_version = "2018-04-01" self.config = config diff --git a/azure-mgmt-iothub/azure/mgmt/iothub/operations/operations.py b/azure-mgmt-iothub/azure/mgmt/iothub/operations/operations.py index 4a8813c9700f..ebcdf5d1b068 100644 --- a/azure-mgmt-iothub/azure/mgmt/iothub/operations/operations.py +++ b/azure-mgmt-iothub/azure/mgmt/iothub/operations/operations.py @@ -22,7 +22,7 @@ class Operations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The version of the API. Constant value: "2018-01-22". + :ivar api_version: The version of the API. Constant value: "2018-04-01". """ models = models @@ -32,7 +32,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-01-22" + self.api_version = "2018-04-01" self.config = config diff --git a/azure-mgmt-iothub/azure/mgmt/iothub/version.py b/azure-mgmt-iothub/azure/mgmt/iothub/version.py index d383aa0490a9..b04095332b31 100644 --- a/azure-mgmt-iothub/azure/mgmt/iothub/version.py +++ b/azure-mgmt-iothub/azure/mgmt/iothub/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "2018-01-22" +VERSION = "2018-04-01"