-
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
- Loading branch information
1 parent
7d68689
commit e72cb1d
Showing
90 changed files
with
2,995 additions
and
657 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
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
28 changes: 28 additions & 0 deletions
28
azure-mgmt-iothub/azure/mgmt/iothub/models/certificate_list_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,28 @@ | ||
# 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 CertificateListDescription(Model): | ||
"""The JSON-serialized array of Certificate objects. | ||
:param value: The array of Certificate objects. | ||
:type value: list[~azure.mgmt.iothub.models.CertificateDescription] | ||
""" | ||
|
||
_attribute_map = { | ||
'value': {'key': 'value', 'type': '[CertificateDescription]'}, | ||
} | ||
|
||
def __init__(self, *, value=None, **kwargs) -> None: | ||
super(CertificateListDescription, self).__init__(**kwargs) | ||
self.value = value |
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.