Skip to content

[AutoPR track2_azure-mgmt-network] [Hub Generated] Review request for Microsoft.Network to add version preview/2021-02-01-preview #1685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/network/azure-mgmt-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.9.2",
"use": [
"@autorest/python@6.1.9",
"@autorest/python@6.1.11",
"@autorest/modelerfour@4.24.3"
],
"commit": "3bc1226e256cc298617ec2a7da88a5b4f97eba0e",
"commit": "ee679ba59913797507f3bfcf191a6ad53d1a1306",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/network/resource-manager/readme.md --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.1.9 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"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.11 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"readme": "specification/network/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
@@ -72,6 +72,10 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, MultiApiCl
'nsp_access_rules_reconcile': '2021-02-01-preview',
'nsp_association_reconcile': '2021-02-01-preview',
'nsp_associations': '2021-02-01-preview',
'nsp_link_reconcile': '2021-02-01-preview',
'nsp_link_reference_reconcile': '2021-02-01-preview',
'nsp_link_references': '2021-02-01-preview',
'nsp_links': '2021-02-01-preview',
'nsp_profiles': '2021-02-01-preview',
'p2_svpn_server_configurations': '2019-07-01',
'perimeter_associable_resource_types': '2021-02-01-preview',
@@ -5092,6 +5096,62 @@ def nsp_associations(self):
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def nsp_link_reconcile(self):
"""Instance depends on the API version:

* 2021-02-01-preview: :class:`NspLinkReconcileOperations<azure.mgmt.network.v2021_02_01_preview.operations.NspLinkReconcileOperations>`
"""
api_version = self._get_api_version('nsp_link_reconcile')
if api_version == '2021-02-01-preview':
from .v2021_02_01_preview.operations import NspLinkReconcileOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'nsp_link_reconcile'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def nsp_link_reference_reconcile(self):
"""Instance depends on the API version:

* 2021-02-01-preview: :class:`NspLinkReferenceReconcileOperations<azure.mgmt.network.v2021_02_01_preview.operations.NspLinkReferenceReconcileOperations>`
"""
api_version = self._get_api_version('nsp_link_reference_reconcile')
if api_version == '2021-02-01-preview':
from .v2021_02_01_preview.operations import NspLinkReferenceReconcileOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'nsp_link_reference_reconcile'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def nsp_link_references(self):
"""Instance depends on the API version:

* 2021-02-01-preview: :class:`NspLinkReferencesOperations<azure.mgmt.network.v2021_02_01_preview.operations.NspLinkReferencesOperations>`
"""
api_version = self._get_api_version('nsp_link_references')
if api_version == '2021-02-01-preview':
from .v2021_02_01_preview.operations import NspLinkReferencesOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'nsp_link_references'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def nsp_links(self):
"""Instance depends on the API version:

* 2021-02-01-preview: :class:`NspLinksOperations<azure.mgmt.network.v2021_02_01_preview.operations.NspLinksOperations>`
"""
api_version = self._get_api_version('nsp_links')
if api_version == '2021-02-01-preview':
from .v2021_02_01_preview.operations import NspLinksOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'nsp_links'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def nsp_profiles(self):
"""Instance depends on the API version:
Original file line number Diff line number Diff line change
@@ -72,6 +72,10 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, MultiApiCl
'nsp_access_rules_reconcile': '2021-02-01-preview',
'nsp_association_reconcile': '2021-02-01-preview',
'nsp_associations': '2021-02-01-preview',
'nsp_link_reconcile': '2021-02-01-preview',
'nsp_link_reference_reconcile': '2021-02-01-preview',
'nsp_link_references': '2021-02-01-preview',
'nsp_links': '2021-02-01-preview',
'nsp_profiles': '2021-02-01-preview',
'p2_svpn_server_configurations': '2019-07-01',
'perimeter_associable_resource_types': '2021-02-01-preview',
@@ -5092,6 +5096,62 @@ def nsp_associations(self):
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def nsp_link_reconcile(self):
"""Instance depends on the API version:

* 2021-02-01-preview: :class:`NspLinkReconcileOperations<azure.mgmt.network.v2021_02_01_preview.aio.operations.NspLinkReconcileOperations>`
"""
api_version = self._get_api_version('nsp_link_reconcile')
if api_version == '2021-02-01-preview':
from ..v2021_02_01_preview.aio.operations import NspLinkReconcileOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'nsp_link_reconcile'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def nsp_link_reference_reconcile(self):
"""Instance depends on the API version:

* 2021-02-01-preview: :class:`NspLinkReferenceReconcileOperations<azure.mgmt.network.v2021_02_01_preview.aio.operations.NspLinkReferenceReconcileOperations>`
"""
api_version = self._get_api_version('nsp_link_reference_reconcile')
if api_version == '2021-02-01-preview':
from ..v2021_02_01_preview.aio.operations import NspLinkReferenceReconcileOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'nsp_link_reference_reconcile'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def nsp_link_references(self):
"""Instance depends on the API version:

* 2021-02-01-preview: :class:`NspLinkReferencesOperations<azure.mgmt.network.v2021_02_01_preview.aio.operations.NspLinkReferencesOperations>`
"""
api_version = self._get_api_version('nsp_link_references')
if api_version == '2021-02-01-preview':
from ..v2021_02_01_preview.aio.operations import NspLinkReferencesOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'nsp_link_references'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def nsp_links(self):
"""Instance depends on the API version:

* 2021-02-01-preview: :class:`NspLinksOperations<azure.mgmt.network.v2021_02_01_preview.aio.operations.NspLinksOperations>`
"""
api_version = self._get_api_version('nsp_links')
if api_version == '2021-02-01-preview':
from ..v2021_02_01_preview.aio.operations import NspLinksOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'nsp_links'".format(api_version))
self._config.api_version = api_version
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def nsp_profiles(self):
"""Instance depends on the API version:
Original file line number Diff line number Diff line change
@@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "22.0.0"
VERSION = "1.0.0b1"
Loading