-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR] iotcentral/resource-manager (#3137)
* Generated from e12609aa0c7e69c6c34418f791480e311efe1317 (#3132) move stable iotcentral Go SDK package out of preview directory The 2018-09-01 package was incorrectly placed under the preview directory. Moved Go SDK config section to its own config file. * [AutoPR iotcentral/resource-manager] IoTCentral - Add ARM endpoint, update model responses/inputs to align with expected values (#3444) * Generated from ddbb8ffb2dd676863a74cd5d44748fbd93a93025 Update models to align with expected responses * Packaging update of azure-mgmt-iotcentral * Generated from 09b4a4594660bc1c21dc7122a3784f64867a041e Fix build errors * Generated from 1c89739e3a40c9bf7a6f40e86367d50e6b88f776 Add required field to definitions * Generated from 92118d9753329c57349608f197514100d250974a Revert model name change. * Generated from f0df5982f4b75520b1b163b84ea33c9a81d6e79b add x-ms-client-flatten to errorSchema * Generated from 08b88d3a11055327409eafebcdac134e797bd38b Test default required field for .net SDK * Packaging update of azure-mgmt-iotcentral * Generated from 3089cb519400047ddfeaffa5fac50c5f1c7a3c85 test enum default * Generated from f878943d61f7e1cd88a4c5ff31a56c73e3ec0a00 revert test changes * Packaging update of azure-mgmt-iotcentral * IOTCentral 0.3.0 * IoT is 1.0.0
- Loading branch information
1 parent
cf1df01
commit 4b8b001
Showing
15 changed files
with
273 additions
and
79 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
include *.rst | ||
include azure/__init__.py | ||
include azure/mgmt/__init__.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
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
49 changes: 49 additions & 0 deletions
49
azure-mgmt-iotcentral/azure/mgmt/iotcentral/models/error_response_body.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,49 @@ | ||
# 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 ErrorResponseBody(Model): | ||
"""Details of error response. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar code: The error code. | ||
:vartype code: str | ||
:ivar message: The error message. | ||
:vartype message: str | ||
:ivar target: The target of the particular error. | ||
:vartype target: str | ||
:param details: A list of additional details about the error. | ||
:type details: list[~azure.mgmt.iotcentral.models.ErrorResponseBody] | ||
""" | ||
|
||
_validation = { | ||
'code': {'readonly': True}, | ||
'message': {'readonly': True}, | ||
'target': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'code': {'key': 'code', 'type': 'str'}, | ||
'message': {'key': 'message', 'type': 'str'}, | ||
'target': {'key': 'target', 'type': 'str'}, | ||
'details': {'key': 'details', 'type': '[ErrorResponseBody]'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(ErrorResponseBody, self).__init__(**kwargs) | ||
self.code = None | ||
self.message = None | ||
self.target = None | ||
self.details = kwargs.get('details', None) |
49 changes: 49 additions & 0 deletions
49
azure-mgmt-iotcentral/azure/mgmt/iotcentral/models/error_response_body_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,49 @@ | ||
# 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 ErrorResponseBody(Model): | ||
"""Details of error response. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar code: The error code. | ||
:vartype code: str | ||
:ivar message: The error message. | ||
:vartype message: str | ||
:ivar target: The target of the particular error. | ||
:vartype target: str | ||
:param details: A list of additional details about the error. | ||
:type details: list[~azure.mgmt.iotcentral.models.ErrorResponseBody] | ||
""" | ||
|
||
_validation = { | ||
'code': {'readonly': True}, | ||
'message': {'readonly': True}, | ||
'target': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'code': {'key': 'code', 'type': 'str'}, | ||
'message': {'key': 'message', 'type': 'str'}, | ||
'target': {'key': 'target', 'type': 'str'}, | ||
'details': {'key': 'details', 'type': '[ErrorResponseBody]'}, | ||
} | ||
|
||
def __init__(self, *, details=None, **kwargs) -> None: | ||
super(ErrorResponseBody, self).__init__(**kwargs) | ||
self.code = None | ||
self.message = None | ||
self.target = None | ||
self.details = details |
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
Oops, something went wrong.