Skip to content

Commit bfc1332

Browse files
author
SDKAuto
committed
CodeGen from PR 20926 in Azure/azure-rest-api-specs
Merge dce4e486e7a12c2a4f5d8db1b0497b72144e51b1 into dad16c71bfaabfc7e06b0e8d71b6f62f0435f84e
1 parent c939421 commit bfc1332

File tree

739 files changed

+1538121
-1322687
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

739 files changed

+1538121
-1322687
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"autorest": "3.7.2",
2+
"autorest": "3.9.2",
33
"use": [
4-
"@autorest/python@5.16.0",
5-
"@autorest/modelerfour@4.19.3"
4+
"@autorest/python@6.1.6",
5+
"@autorest/modelerfour@4.24.3"
66
],
7-
"commit": "66fcf8b0d60a8d869ac06d6b804a7fbca52d9d28",
7+
"commit": "b9edb11033fb9e437906f01af4758c7ee19eeb9c",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/network/resource-manager/readme.md --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
9+
"autorest_command": "autorest specification/network/resource-manager/readme.md --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.1.6 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
1010
"readme": "specification/network/resource-manager/readme.md"
1111
}

sdk/network/azure-mgmt-network/azure/mgmt/network/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@
77
# --------------------------------------------------------------------------
88

99
from ._network_management_client import NetworkManagementClient
10-
from ._version import VERSION
11-
1210
__all__ = ['NetworkManagementClient']
13-
__version__ = VERSION
1411

1512
try:
1613
from ._patch import patch_sdk # type: ignore
1714
patch_sdk()
1815
except ImportError:
1916
pass
17+
18+
from ._version import VERSION
19+
20+
__version__ = VERSION

sdk/network/azure-mgmt-network/azure/mgmt/network/_configuration.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Changes may cause incorrect behavior and will be lost if the code is
99
# regenerated.
1010
# --------------------------------------------------------------------------
11-
from typing import TYPE_CHECKING
11+
from typing import Any, TYPE_CHECKING
1212

1313
from azure.core.configuration import Configuration
1414
from azure.core.pipeline import policies
@@ -18,8 +18,6 @@
1818

1919
if TYPE_CHECKING:
2020
# pylint: disable=unused-import,ungrouped-imports
21-
from typing import Any
22-
2321
from azure.core.credentials import TokenCredential
2422

2523
class NetworkManagementClientConfiguration(Configuration):
@@ -28,16 +26,16 @@ class NetworkManagementClientConfiguration(Configuration):
2826
Note that all parameters used to create this instance are saved as instance
2927
attributes.
3028
31-
:param credential: Credential needed for the client to connect to Azure.
29+
:param credential: Credential needed for the client to connect to Azure. Required.
3230
:type credential: ~azure.core.credentials.TokenCredential
33-
:param subscription_id: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
31+
:param subscription_id: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. Required.
3432
:type subscription_id: str
3533
"""
3634

3735
def __init__(
3836
self,
39-
credential, # type: "TokenCredential"
40-
subscription_id, # type: str
37+
credential: "TokenCredential",
38+
subscription_id: str,
4139
**kwargs # type: Any
4240
):
4341
# type: (...) -> None

sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py

Lines changed: 456 additions & 22 deletions
Large diffs are not rendered by default.

sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py

Lines changed: 225 additions & 204 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)