Skip to content

Commit b21b472

Browse files
author
SDKAuto
committed
CodeGen from PR 20804 in Azure/azure-rest-api-specs
Merge 69c9537cc1e9b656a96960c299f758a5ce57fd58 into 492cf91751be945ceae53cfdd53b1ff2fb878703
1 parent 687421c commit b21b472

File tree

52 files changed

+7628
-3358
lines changed

Some content is hidden

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

52 files changed

+7628
-3358
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2+
"commit": "c40d7e31eed73e5f04a3f5d8857e106a0db97bba",
3+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
24
"autorest": "3.9.2",
35
"use": [
4-
"@autorest/[email protected].9",
6+
"@autorest/[email protected].11",
57
"@autorest/[email protected]"
68
],
7-
"commit": "3bc1226e256cc298617ec2a7da88a5b4f97eba0e",
8-
"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 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
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/[email protected] --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
1010
"readme": "specification/network/resource-manager/readme.md"
1111
}

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

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, MultiApiCl
7272
'nsp_access_rules_reconcile': '2021-02-01-preview',
7373
'nsp_association_reconcile': '2021-02-01-preview',
7474
'nsp_associations': '2021-02-01-preview',
75+
'nsp_link_reconcile': '2021-02-01-preview',
76+
'nsp_link_reference_reconcile': '2021-02-01-preview',
77+
'nsp_link_references': '2021-02-01-preview',
78+
'nsp_links': '2021-02-01-preview',
7579
'nsp_profiles': '2021-02-01-preview',
7680
'p2_svpn_server_configurations': '2019-07-01',
7781
'perimeter_associable_resource_types': '2021-02-01-preview',
@@ -5092,6 +5096,62 @@ def nsp_associations(self):
50925096
self._config.api_version = api_version
50935097
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
50945098

5099+
@property
5100+
def nsp_link_reconcile(self):
5101+
"""Instance depends on the API version:
5102+
5103+
* 2021-02-01-preview: :class:`NspLinkReconcileOperations<azure.mgmt.network.v2021_02_01_preview.operations.NspLinkReconcileOperations>`
5104+
"""
5105+
api_version = self._get_api_version('nsp_link_reconcile')
5106+
if api_version == '2021-02-01-preview':
5107+
from .v2021_02_01_preview.operations import NspLinkReconcileOperations as OperationClass
5108+
else:
5109+
raise ValueError("API version {} does not have operation group 'nsp_link_reconcile'".format(api_version))
5110+
self._config.api_version = api_version
5111+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
5112+
5113+
@property
5114+
def nsp_link_reference_reconcile(self):
5115+
"""Instance depends on the API version:
5116+
5117+
* 2021-02-01-preview: :class:`NspLinkReferenceReconcileOperations<azure.mgmt.network.v2021_02_01_preview.operations.NspLinkReferenceReconcileOperations>`
5118+
"""
5119+
api_version = self._get_api_version('nsp_link_reference_reconcile')
5120+
if api_version == '2021-02-01-preview':
5121+
from .v2021_02_01_preview.operations import NspLinkReferenceReconcileOperations as OperationClass
5122+
else:
5123+
raise ValueError("API version {} does not have operation group 'nsp_link_reference_reconcile'".format(api_version))
5124+
self._config.api_version = api_version
5125+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
5126+
5127+
@property
5128+
def nsp_link_references(self):
5129+
"""Instance depends on the API version:
5130+
5131+
* 2021-02-01-preview: :class:`NspLinkReferencesOperations<azure.mgmt.network.v2021_02_01_preview.operations.NspLinkReferencesOperations>`
5132+
"""
5133+
api_version = self._get_api_version('nsp_link_references')
5134+
if api_version == '2021-02-01-preview':
5135+
from .v2021_02_01_preview.operations import NspLinkReferencesOperations as OperationClass
5136+
else:
5137+
raise ValueError("API version {} does not have operation group 'nsp_link_references'".format(api_version))
5138+
self._config.api_version = api_version
5139+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
5140+
5141+
@property
5142+
def nsp_links(self):
5143+
"""Instance depends on the API version:
5144+
5145+
* 2021-02-01-preview: :class:`NspLinksOperations<azure.mgmt.network.v2021_02_01_preview.operations.NspLinksOperations>`
5146+
"""
5147+
api_version = self._get_api_version('nsp_links')
5148+
if api_version == '2021-02-01-preview':
5149+
from .v2021_02_01_preview.operations import NspLinksOperations as OperationClass
5150+
else:
5151+
raise ValueError("API version {} does not have operation group 'nsp_links'".format(api_version))
5152+
self._config.api_version = api_version
5153+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
5154+
50955155
@property
50965156
def nsp_profiles(self):
50975157
"""Instance depends on the API version:

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

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, MultiApiCl
7272
'nsp_access_rules_reconcile': '2021-02-01-preview',
7373
'nsp_association_reconcile': '2021-02-01-preview',
7474
'nsp_associations': '2021-02-01-preview',
75+
'nsp_link_reconcile': '2021-02-01-preview',
76+
'nsp_link_reference_reconcile': '2021-02-01-preview',
77+
'nsp_link_references': '2021-02-01-preview',
78+
'nsp_links': '2021-02-01-preview',
7579
'nsp_profiles': '2021-02-01-preview',
7680
'p2_svpn_server_configurations': '2019-07-01',
7781
'perimeter_associable_resource_types': '2021-02-01-preview',
@@ -5092,6 +5096,62 @@ def nsp_associations(self):
50925096
self._config.api_version = api_version
50935097
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
50945098

5099+
@property
5100+
def nsp_link_reconcile(self):
5101+
"""Instance depends on the API version:
5102+
5103+
* 2021-02-01-preview: :class:`NspLinkReconcileOperations<azure.mgmt.network.v2021_02_01_preview.aio.operations.NspLinkReconcileOperations>`
5104+
"""
5105+
api_version = self._get_api_version('nsp_link_reconcile')
5106+
if api_version == '2021-02-01-preview':
5107+
from ..v2021_02_01_preview.aio.operations import NspLinkReconcileOperations as OperationClass
5108+
else:
5109+
raise ValueError("API version {} does not have operation group 'nsp_link_reconcile'".format(api_version))
5110+
self._config.api_version = api_version
5111+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
5112+
5113+
@property
5114+
def nsp_link_reference_reconcile(self):
5115+
"""Instance depends on the API version:
5116+
5117+
* 2021-02-01-preview: :class:`NspLinkReferenceReconcileOperations<azure.mgmt.network.v2021_02_01_preview.aio.operations.NspLinkReferenceReconcileOperations>`
5118+
"""
5119+
api_version = self._get_api_version('nsp_link_reference_reconcile')
5120+
if api_version == '2021-02-01-preview':
5121+
from ..v2021_02_01_preview.aio.operations import NspLinkReferenceReconcileOperations as OperationClass
5122+
else:
5123+
raise ValueError("API version {} does not have operation group 'nsp_link_reference_reconcile'".format(api_version))
5124+
self._config.api_version = api_version
5125+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
5126+
5127+
@property
5128+
def nsp_link_references(self):
5129+
"""Instance depends on the API version:
5130+
5131+
* 2021-02-01-preview: :class:`NspLinkReferencesOperations<azure.mgmt.network.v2021_02_01_preview.aio.operations.NspLinkReferencesOperations>`
5132+
"""
5133+
api_version = self._get_api_version('nsp_link_references')
5134+
if api_version == '2021-02-01-preview':
5135+
from ..v2021_02_01_preview.aio.operations import NspLinkReferencesOperations as OperationClass
5136+
else:
5137+
raise ValueError("API version {} does not have operation group 'nsp_link_references'".format(api_version))
5138+
self._config.api_version = api_version
5139+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
5140+
5141+
@property
5142+
def nsp_links(self):
5143+
"""Instance depends on the API version:
5144+
5145+
* 2021-02-01-preview: :class:`NspLinksOperations<azure.mgmt.network.v2021_02_01_preview.aio.operations.NspLinksOperations>`
5146+
"""
5147+
api_version = self._get_api_version('nsp_links')
5148+
if api_version == '2021-02-01-preview':
5149+
from ..v2021_02_01_preview.aio.operations import NspLinksOperations as OperationClass
5150+
else:
5151+
raise ValueError("API version {} does not have operation group 'nsp_links'".format(api_version))
5152+
self._config.api_version = api_version
5153+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
5154+
50955155
@property
50965156
def nsp_profiles(self):
50975157
"""Instance depends on the API version:

sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "22.0.0"
9+
VERSION = "1.0.0b1"

0 commit comments

Comments
 (0)