-
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 network/resource-manager] Move parameter to keep order in SDK (…
…#3731) * Generated from 911ebf46a4a178cdcc6aaa9695f6792f4c64ab89 Move parameter to keep order in SDK * Packaging update of azure-mgmt-network
- Loading branch information
1 parent
0cab137
commit c54b9a3
Showing
46 changed files
with
2,259 additions
and
52 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 +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
35 changes: 35 additions & 0 deletions
35
azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_custom_error.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,35 @@ | ||
# 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 ApplicationGatewayCustomError(Model): | ||
"""Customer error of an application gateway. | ||
:param status_code: Status code of the application gateway customer error. | ||
Possible values include: 'HttpStatus403', 'HttpStatus502' | ||
:type status_code: str or | ||
~azure.mgmt.network.v2018_08_01.models.ApplicationGatewayCustomErrorStatusCode | ||
:param custom_error_page_url: Error page URL of the application gateway | ||
customer error. | ||
:type custom_error_page_url: str | ||
""" | ||
|
||
_attribute_map = { | ||
'status_code': {'key': 'statusCode', 'type': 'str'}, | ||
'custom_error_page_url': {'key': 'customErrorPageUrl', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(ApplicationGatewayCustomError, self).__init__(**kwargs) | ||
self.status_code = kwargs.get('status_code', None) | ||
self.custom_error_page_url = kwargs.get('custom_error_page_url', None) |
35 changes: 35 additions & 0 deletions
35
...gmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_custom_error_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,35 @@ | ||
# 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 ApplicationGatewayCustomError(Model): | ||
"""Customer error of an application gateway. | ||
:param status_code: Status code of the application gateway customer error. | ||
Possible values include: 'HttpStatus403', 'HttpStatus502' | ||
:type status_code: str or | ||
~azure.mgmt.network.v2018_08_01.models.ApplicationGatewayCustomErrorStatusCode | ||
:param custom_error_page_url: Error page URL of the application gateway | ||
customer error. | ||
:type custom_error_page_url: str | ||
""" | ||
|
||
_attribute_map = { | ||
'status_code': {'key': 'statusCode', 'type': 'str'}, | ||
'custom_error_page_url': {'key': 'customErrorPageUrl', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, status_code=None, custom_error_page_url: str=None, **kwargs) -> None: | ||
super(ApplicationGatewayCustomError, self).__init__(**kwargs) | ||
self.status_code = status_code | ||
self.custom_error_page_url = custom_error_page_url |
Oops, something went wrong.