Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azure-mgmt-iothub/azure/mgmt/iothub/iot_hub_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions azure-mgmt-iothub/azure/mgmt/iothub/operations/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-iothub/azure/mgmt/iothub/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "2018-01-22"
VERSION = "2018-04-01"