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
4 changes: 3 additions & 1 deletion azure-mgmt-iothubprovisioningservices/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
include *.rst
include azure_bdist_wheel.py
include azure/__init__.py
include azure/mgmt/__init__.py

10 changes: 5 additions & 5 deletions azure-mgmt-iothubprovisioningservices/README.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Microsoft Azure SDK for Python
==============================

This is the Microsoft Azure IoTHub Provisioning Services Client Library.
This is the Microsoft Azure MyService Management Client Library.

Azure Resource Manager (ARM) is the next generation of management APIs that
replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.4, 3.5 and 3.6.
This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.

For the older Azure Service Management (ASM) libraries, see
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library.
Expand Down Expand Up @@ -36,9 +36,9 @@ If you see azure==0.11.0 (or any version below 1.0), uninstall it first:
Usage
=====

For code examples, see `IoTHub Provisioning Services
<https://azure-sdk-for-python.readthedocs.org/en/latest/sample_azure-mgmt-iothubprovisioningservices.html>`__
on readthedocs.org.
For code examples, see `MyService Management
<https://docs.microsoft.com/python/api/overview/azure/>`__
on docs.microsoft.com.


Provide Feedback
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-iothubprovisioningservices/azure/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__import__('pkg_resources').declare_namespace(__name__)
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__import__('pkg_resources').declare_namespace(__name__)
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
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 = '2017-11-15'
self.api_version = '2018-01-22'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ class ErrorDetails(Model):
}

_attribute_map = {
'code': {'key': 'Code', 'type': 'str'},
'http_status_code': {'key': 'HttpStatusCode', 'type': 'str'},
'message': {'key': 'Message', 'type': 'str'},
'details': {'key': 'Details', 'type': 'str'},
'code': {'key': 'code', 'type': 'str'},
'http_status_code': {'key': 'httpStatusCode', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
'details': {'key': 'details', 'type': 'str'},
}

def __init__(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class IotDpsPropertiesDescription(Model):
"""the service specific properties of a provisoning service, including keys,
"""the service specific properties of a provisioning service, including keys,
linked iot hubs, current state, and system generated properties such as
hostname and idScope.

Expand All @@ -28,7 +28,7 @@ class IotDpsPropertiesDescription(Model):
:param provisioning_state: The ARM provisioning state of the provisioning
service.
:type provisioning_state: str
:param iot_hubs: List of IoT hubs assosciated with this provisioning
:param iot_hubs: List of IoT hubs associated with this provisioning
service.
:type iot_hubs:
list[~azure.mgmt.iothubprovisioningservices.models.IotHubDefinitionDescription]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class IotDpsSkuDefinition(Model):
"""Available Sku's of tier and units.
"""Available SKUs of tier and units.

:param name: Sku name. Possible values include: 'S1'
:type name: str or ~azure.mgmt.iothubprovisioningservices.models.IotDpsSku
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class IotDpsSkuInfo(Model):
"""List of possible provisoning service SKUs.
"""List of possible provisioning service SKUs.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class NameAvailabilityInfo(Model):
include: 'Invalid', 'AlreadyExists'
:type reason: str or
~azure.mgmt.iothubprovisioningservices.models.NameUnavailabilityReason
:param message: message containing a etailed reason name is unavailable
:param message: message containing a detailed reason name is unavailable
:type message: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class DpsCertificateOperations(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: "2017-11-15".
:ivar api_version: The version of the API. Constant value: "2018-01-22".
"""

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 = "2017-11-15"
self.api_version = "2018-01-22"

self.config = config

Expand Down Expand Up @@ -193,7 +193,7 @@ def delete(
self, resource_group_name, if_match, provisioning_service_name, certificate_name, certificatename=None, certificateraw_bytes=None, certificateis_verified=None, certificatepurpose=None, certificatecreated=None, certificatelast_updated=None, certificatehas_private_key=None, certificatenonce=None, custom_headers=None, raw=False, **operation_config):
"""Delete the Provisioning Service Certificate.

Deletes the specified certificate assosciated with the Provisioning
Deletes the specified certificate associated with the Provisioning
Service.

:param resource_group_name: Resource group identifier.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class IotDpsResourceOperations(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: "2017-11-15".
:ivar api_version: The version of the API. Constant value: "2018-01-22".
"""

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 = "2017-11-15"
self.api_version = "2018-01-22"

self.config = config

Expand Down
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: "2017-11-15".
:ivar api_version: The version of the API. Constant value: "2018-01-22".
"""

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 = "2017-11-15"
self.api_version = "2018-01-22"

self.config = config

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "2017-11-15"
VERSION = "2018-01-22"

Loading