-
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 logic/resource-manager] Add 2 missing endpoints to newest ver…
…sions Microsoft.Logic (#3693) * Generated from 6533a0dd2a5dfbe7ec76f3f2b6c407c876d4315d Add missing endpoints to newest versions * Packaging update of azure-mgmt-logic * Generated from 09ee5609f7e335c47444a741f70625da9ce05630 Changing copy error of POST to GET. Added missing page links * Generated from 1bbdab407fa1f6f3e68f40d006d153dcea4a0b44 Fix for top level properties errir * Generated from 7ecc9d663ef1e01cd44bd527cc11dfc3f07f6bcb Rename CloudError to not a potentially reserved name and removed the x-ms-external flag * Generated from 91bb28bda57ea3c1098996d219975365b5499509 Use already existing error response object
- Loading branch information
1 parent
c729294
commit 5876bfd
Showing
20 changed files
with
767 additions
and
66 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
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 | ||
|
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 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
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 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# 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 Request(Model): | ||
"""A request. | ||
:param headers: A list of all the headers attached to the request. | ||
:type headers: object | ||
:param uri: The destination for the request. | ||
:type uri: str | ||
:param method: The HTTP method used for the request. | ||
:type method: str | ||
""" | ||
|
||
_attribute_map = { | ||
'headers': {'key': 'headers', 'type': 'object'}, | ||
'uri': {'key': 'uri', 'type': 'str'}, | ||
'method': {'key': 'method', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(Request, self).__init__(**kwargs) | ||
self.headers = kwargs.get('headers', None) | ||
self.uri = kwargs.get('uri', None) | ||
self.method = kwargs.get('method', None) |
52 changes: 52 additions & 0 deletions
52
azure-mgmt-logic/azure/mgmt/logic/models/request_history.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,52 @@ | ||
# 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 .resource import Resource | ||
|
||
|
||
class RequestHistory(Resource): | ||
"""The request history. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: The resource id. | ||
:vartype id: str | ||
:ivar name: Gets the resource name. | ||
:vartype name: str | ||
:ivar type: Gets the resource type. | ||
:vartype type: str | ||
:param location: The resource location. | ||
:type location: str | ||
:param tags: The resource tags. | ||
:type tags: dict[str, str] | ||
:param properties: The request history properties. | ||
:type properties: ~azure.mgmt.logic.models.RequestHistoryProperties | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'location': {'key': 'location', 'type': 'str'}, | ||
'tags': {'key': 'tags', 'type': '{str}'}, | ||
'properties': {'key': 'properties', 'type': 'RequestHistoryProperties'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(RequestHistory, self).__init__(**kwargs) | ||
self.properties = kwargs.get('properties', None) |
27 changes: 27 additions & 0 deletions
27
azure-mgmt-logic/azure/mgmt/logic/models/request_history_paged.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,27 @@ | ||
# 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.paging import Paged | ||
|
||
|
||
class RequestHistoryPaged(Paged): | ||
""" | ||
A paging container for iterating over a list of :class:`RequestHistory <azure.mgmt.logic.models.RequestHistory>` object | ||
""" | ||
|
||
_attribute_map = { | ||
'next_link': {'key': 'nextLink', 'type': 'str'}, | ||
'current_page': {'key': 'value', 'type': '[RequestHistory]'} | ||
} | ||
|
||
def __init__(self, *args, **kwargs): | ||
|
||
super(RequestHistoryPaged, self).__init__(*args, **kwargs) |
40 changes: 40 additions & 0 deletions
40
azure-mgmt-logic/azure/mgmt/logic/models/request_history_properties.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,40 @@ | ||
# 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 RequestHistoryProperties(Model): | ||
"""The request history. | ||
:param start_time: The time the request started. | ||
:type start_time: datetime | ||
:param end_time: The time the request ended. | ||
:type end_time: datetime | ||
:param request: The request. | ||
:type request: ~azure.mgmt.logic.models.Request | ||
:param response: The response. | ||
:type response: ~azure.mgmt.logic.models.Response | ||
""" | ||
|
||
_attribute_map = { | ||
'start_time': {'key': 'startTime', 'type': 'iso-8601'}, | ||
'end_time': {'key': 'endTime', 'type': 'iso-8601'}, | ||
'request': {'key': 'request', 'type': 'Request'}, | ||
'response': {'key': 'response', 'type': 'Response'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(RequestHistoryProperties, self).__init__(**kwargs) | ||
self.start_time = kwargs.get('start_time', None) | ||
self.end_time = kwargs.get('end_time', None) | ||
self.request = kwargs.get('request', None) | ||
self.response = kwargs.get('response', None) |
40 changes: 40 additions & 0 deletions
40
azure-mgmt-logic/azure/mgmt/logic/models/request_history_properties_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,40 @@ | ||
# 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 RequestHistoryProperties(Model): | ||
"""The request history. | ||
:param start_time: The time the request started. | ||
:type start_time: datetime | ||
:param end_time: The time the request ended. | ||
:type end_time: datetime | ||
:param request: The request. | ||
:type request: ~azure.mgmt.logic.models.Request | ||
:param response: The response. | ||
:type response: ~azure.mgmt.logic.models.Response | ||
""" | ||
|
||
_attribute_map = { | ||
'start_time': {'key': 'startTime', 'type': 'iso-8601'}, | ||
'end_time': {'key': 'endTime', 'type': 'iso-8601'}, | ||
'request': {'key': 'request', 'type': 'Request'}, | ||
'response': {'key': 'response', 'type': 'Response'}, | ||
} | ||
|
||
def __init__(self, *, start_time=None, end_time=None, request=None, response=None, **kwargs) -> None: | ||
super(RequestHistoryProperties, self).__init__(**kwargs) | ||
self.start_time = start_time | ||
self.end_time = end_time | ||
self.request = request | ||
self.response = response |
52 changes: 52 additions & 0 deletions
52
azure-mgmt-logic/azure/mgmt/logic/models/request_history_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,52 @@ | ||
# 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 .resource_py3 import Resource | ||
|
||
|
||
class RequestHistory(Resource): | ||
"""The request history. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: The resource id. | ||
:vartype id: str | ||
:ivar name: Gets the resource name. | ||
:vartype name: str | ||
:ivar type: Gets the resource type. | ||
:vartype type: str | ||
:param location: The resource location. | ||
:type location: str | ||
:param tags: The resource tags. | ||
:type tags: dict[str, str] | ||
:param properties: The request history properties. | ||
:type properties: ~azure.mgmt.logic.models.RequestHistoryProperties | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'location': {'key': 'location', 'type': 'str'}, | ||
'tags': {'key': 'tags', 'type': '{str}'}, | ||
'properties': {'key': 'properties', 'type': 'RequestHistoryProperties'}, | ||
} | ||
|
||
def __init__(self, *, location: str=None, tags=None, properties=None, **kwargs) -> None: | ||
super(RequestHistory, self).__init__(location=location, tags=tags, **kwargs) | ||
self.properties = properties |
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,36 @@ | ||
# 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 Request(Model): | ||
"""A request. | ||
:param headers: A list of all the headers attached to the request. | ||
:type headers: object | ||
:param uri: The destination for the request. | ||
:type uri: str | ||
:param method: The HTTP method used for the request. | ||
:type method: str | ||
""" | ||
|
||
_attribute_map = { | ||
'headers': {'key': 'headers', 'type': 'object'}, | ||
'uri': {'key': 'uri', 'type': 'str'}, | ||
'method': {'key': 'method', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, headers=None, uri: str=None, method: str=None, **kwargs) -> None: | ||
super(Request, self).__init__(**kwargs) | ||
self.headers = headers | ||
self.uri = uri | ||
self.method = method |
Oops, something went wrong.