Skip to content

Commit

Permalink
code and test (#26996)
Browse files Browse the repository at this point in the history
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
  • Loading branch information
azure-sdk committed Oct 24, 2022
1 parent 321937f commit 380a462
Show file tree
Hide file tree
Showing 65 changed files with 12,339 additions and 6,660 deletions.
9 changes: 9 additions & 0 deletions sdk/network/azure-mgmt-network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Release History

## 22.1.0 (2022-10-24)

### Features Added

- Added operation group NspLinkReconcileOperations
- Added operation group NspLinkReferenceReconcileOperations
- Added operation group NspLinkReferencesOperations
- Added operation group NspLinksOperations

## 22.0.0 (2022-10-12)

### Features Added
Expand Down
8 changes: 4 additions & 4 deletions sdk/network/azure-mgmt-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "021e5ab6ec840d651d32a2c6bdf832800cdf8eb6",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
"@autorest/python@6.1.9",
"@autorest/python@6.1.11",
"@autorest/modelerfour@4.24.3"
],
"commit": "3bc1226e256cc298617ec2a7da88a5b4f97eba0e",
"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=/home/vsts/work/1/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
Expand Up @@ -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',
Expand Down Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "22.0.0"
VERSION = "22.1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "22.0.0"
VERSION = "22.1.0"
Loading

0 comments on commit 380a462

Please sign in to comment.