-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Generated from 3bbd0c484bc34bd20352ebe200384d3b3d73c035 (#2319) Add package-2018-01 to Go SDK build * Generated from 84221cca19047cc8e97f40fe7a4ad464a4f2f82a (#2390) Add package-2018-04 * Update version.py * azure-mgmt-iothub 0.5.0 * Adapt IoTHub tests for new ApiVersion
- Loading branch information
1 parent
00f4fdf
commit 241e7c7
Showing
96 changed files
with
3,198 additions
and
868 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
azure-mgmt-iothub/azure/mgmt/iothub/models/certificate_body_description_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# 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 | ||
|
||
|
||
class CertificateBodyDescription(Model): | ||
"""The JSON-serialized X509 Certificate. | ||
:param certificate: base-64 representation of the X509 leaf certificate | ||
.cer file or just .pem file content. | ||
:type certificate: str | ||
""" | ||
|
||
_attribute_map = { | ||
'certificate': {'key': 'certificate', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, certificate: str=None, **kwargs) -> None: | ||
super(CertificateBodyDescription, self).__init__(**kwargs) | ||
self.certificate = certificate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
azure-mgmt-iothub/azure/mgmt/iothub/models/certificate_description_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# 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 | ||
|
||
|
||
class CertificateDescription(Model): | ||
"""The X509 Certificate. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:param properties: | ||
:type properties: ~azure.mgmt.iothub.models.CertificateProperties | ||
:ivar id: The resource identifier. | ||
:vartype id: str | ||
:ivar name: The name of the certificate. | ||
:vartype name: str | ||
:ivar etag: The entity tag. | ||
:vartype etag: str | ||
:ivar type: The resource type. | ||
:vartype type: str | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'etag': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'properties': {'key': 'properties', 'type': 'CertificateProperties'}, | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'etag': {'key': 'etag', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, properties=None, **kwargs) -> None: | ||
super(CertificateDescription, self).__init__(**kwargs) | ||
self.properties = properties | ||
self.id = None | ||
self.name = None | ||
self.etag = None | ||
self.type = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.