Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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.7.2",
"use": [
"@autorest/python@5.13.0",
"@autorest/python@5.16.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "0baca05c851c1749e92beb0d2134cd958827dd54",
"commit": "4d6fe0798a3801d66064d3bd9d4d79064ce7b8d4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/network/resource-manager/readme.md --multiapi --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.13.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"autorest_command": "autorest specification/network/resource-manager/readme.md --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"readme": "specification/network/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, MultiApiCl
'network_managers': '2021-02-01-preview',
'network_security_perimeters': '2021-02-01-preview',
'nsp_access_rules': '2021-02-01-preview',
'nsp_access_rules_reconcile': '2021-02-01-preview',
'nsp_associations': '2021-02-01-preview',
'nsp_associations_proxy': '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 @@ -4902,6 +4904,19 @@ def nsp_access_rules(self):
raise ValueError("API version {} does not have operation group 'nsp_access_rules'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

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

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

@property
def nsp_associations(self):
"""Instance depends on the API version:
Expand All @@ -4915,6 +4930,19 @@ def nsp_associations(self):
raise ValueError("API version {} does not have operation group 'nsp_associations'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

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

* 2021-02-01-preview: :class:`NspAssociationsProxyOperations<azure.mgmt.network.v2021_02_01_preview.operations.NspAssociationsProxyOperations>`
"""
api_version = self._get_api_version('nsp_associations_proxy')
if api_version == '2021-02-01-preview':
from .v2021_02_01_preview.operations import NspAssociationsProxyOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'nsp_associations_proxy'".format(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 @@ -11,6 +11,8 @@
from msrest import Serializer, Deserializer
from typing import TYPE_CHECKING

from . import models as _models

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from typing import Any, Iterable, Optional
Expand All @@ -25,7 +27,7 @@ def begin_delete_bastion_shareable_link( # pylint: disable=inconsistent-return-
self,
resource_group_name, # type: str
bastion_host_name, # type: str
bsl_request, # type: "_models.BastionShareableLinkListRequest"
bsl_request, # type: _models.BastionShareableLinkListRequest
**kwargs # type: Any
):
# type: (...) -> LROPoller[None]
Expand All @@ -37,9 +39,6 @@ def begin_delete_bastion_shareable_link( # pylint: disable=inconsistent-return-
:type bastion_host_name: str
:param bsl_request: Post request for all the Bastion Shareable Link endpoints.
:type bsl_request: ~azure.mgmt.network.v2021_08_01.models.BastionShareableLinkListRequest
:keyword api_version: Api Version. Default value is "2021-08-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
Expand Down Expand Up @@ -91,10 +90,10 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
self,
resource_group_name, # type: str
virtual_wan_name, # type: str
vpn_client_params, # type: "_models.VirtualWanVpnProfileParameters"
vpn_client_params, # type: _models.VirtualWanVpnProfileParameters
**kwargs # type: Any
):
# type: (...) -> LROPoller["_models.VpnProfileResponse"]
# type: (...) -> LROPoller[_models.VpnProfileResponse]
"""Generates a unique VPN profile for P2S clients for VirtualWan and associated
VpnServerConfiguration combination in the specified resource group.

Expand All @@ -106,9 +105,6 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation
operation.
:type vpn_client_params: ~azure.mgmt.network.v2021_08_01.models.VirtualWanVpnProfileParameters
:keyword api_version: Api Version. Default value is "2021-08-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
Expand Down Expand Up @@ -166,16 +162,13 @@ def begin_get_active_sessions(
bastion_host_name, # type: str
**kwargs # type: Any
):
# type: (...) -> LROPoller[ItemPaged["_models.BastionActiveSessionListResult"]]
# type: (...) -> LROPoller[ItemPaged[_models.BastionActiveSessionListResult]]
"""Returns the list of currently active sessions on the Bastion.

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
:param bastion_host_name: The name of the Bastion Host.
:type bastion_host_name: str
:keyword api_version: Api Version. Default value is "2021-08-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
Expand Down Expand Up @@ -229,10 +222,10 @@ def begin_put_bastion_shareable_link(
self,
resource_group_name, # type: str
bastion_host_name, # type: str
bsl_request, # type: "_models.BastionShareableLinkListRequest"
bsl_request, # type: _models.BastionShareableLinkListRequest
**kwargs # type: Any
):
# type: (...) -> LROPoller[ItemPaged["_models.BastionShareableLinkListResult"]]
# type: (...) -> LROPoller[ItemPaged[_models.BastionShareableLinkListResult]]
"""Creates a Bastion Shareable Links for all the VMs specified in the request.

:param resource_group_name: The name of the resource group.
Expand All @@ -241,9 +234,6 @@ def begin_put_bastion_shareable_link(
:type bastion_host_name: str
:param bsl_request: Post request for all the Bastion Shareable Link endpoints.
:type bsl_request: ~azure.mgmt.network.v2021_08_01.models.BastionShareableLinkListRequest
:keyword api_version: Api Version. Default value is "2021-08-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
Expand Down Expand Up @@ -299,17 +289,14 @@ def check_dns_name_availability(
domain_name_label, # type: str
**kwargs # type: Any
):
# type: (...) -> "_models.DnsNameAvailabilityResult"
# type: (...) -> _models.DnsNameAvailabilityResult
"""Checks whether a domain name in the cloudapp.azure.com zone is available for use.

:param location: The location of the domain name.
:type location: str
:param domain_name_label: The domain name to be verified. It must conform to the following
regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
:type domain_name_label: str
:keyword api_version: Api Version. Default value is "2021-08-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: DnsNameAvailabilityResult, or the result of cls(response)
:rtype: ~azure.mgmt.network.v2021_08_01.models.DnsNameAvailabilityResult
Expand Down Expand Up @@ -394,10 +381,10 @@ def disconnect_active_sessions(
self,
resource_group_name, # type: str
bastion_host_name, # type: str
session_ids, # type: "_models.SessionIds"
session_ids, # type: _models.SessionIds
**kwargs # type: Any
):
# type: (...) -> Iterable["_models.BastionSessionDeleteResult"]
# type: (...) -> Iterable[_models.BastionSessionDeleteResult]
"""Returns the list of currently active sessions on the Bastion.

:param resource_group_name: The name of the resource group.
Expand All @@ -406,9 +393,6 @@ def disconnect_active_sessions(
:type bastion_host_name: str
:param session_ids: The list of sessionids to disconnect.
:type session_ids: ~azure.mgmt.network.v2021_08_01.models.SessionIds
:keyword api_version: Api Version. Default value is "2021-08-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either BastionSessionDeleteResult or the result of
cls(response)
Expand Down Expand Up @@ -455,10 +439,10 @@ def get_bastion_shareable_link(
self,
resource_group_name, # type: str
bastion_host_name, # type: str
bsl_request, # type: "_models.BastionShareableLinkListRequest"
bsl_request, # type: _models.BastionShareableLinkListRequest
**kwargs # type: Any
):
# type: (...) -> Iterable["_models.BastionShareableLinkListResult"]
# type: (...) -> Iterable[_models.BastionShareableLinkListResult]
"""Return the Bastion Shareable Links for all the VMs specified in the request.

:param resource_group_name: The name of the resource group.
Expand All @@ -467,9 +451,6 @@ def get_bastion_shareable_link(
:type bastion_host_name: str
:param bsl_request: Post request for all the Bastion Shareable Link endpoints.
:type bsl_request: ~azure.mgmt.network.v2021_08_01.models.BastionShareableLinkListRequest
:keyword api_version: Api Version. Default value is "2021-08-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either BastionShareableLinkListResult or the result of
cls(response)
Expand Down Expand Up @@ -518,17 +499,14 @@ def supported_security_providers(
virtual_wan_name, # type: str
**kwargs # type: Any
):
# type: (...) -> "_models.VirtualWanSecurityProviders"
# type: (...) -> _models.VirtualWanSecurityProviders
"""Gives the supported security providers for the virtual wan.

:param resource_group_name: The resource group name.
:type resource_group_name: str
:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are
needed.
:type virtual_wan_name: str
:keyword api_version: Api Version. Default value is "2021-08-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: VirtualWanSecurityProviders, or the result of cls(response)
:rtype: ~azure.mgmt.network.v2021_08_01.models.VirtualWanSecurityProviders
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, MultiApiCl
'network_managers': '2021-02-01-preview',
'network_security_perimeters': '2021-02-01-preview',
'nsp_access_rules': '2021-02-01-preview',
'nsp_access_rules_reconcile': '2021-02-01-preview',
'nsp_associations': '2021-02-01-preview',
'nsp_associations_proxy': '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 @@ -4901,6 +4903,19 @@ def nsp_access_rules(self):
raise ValueError("API version {} does not have operation group 'nsp_access_rules'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

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

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

@property
def nsp_associations(self):
"""Instance depends on the API version:
Expand All @@ -4914,6 +4929,19 @@ def nsp_associations(self):
raise ValueError("API version {} does not have operation group 'nsp_associations'".format(api_version))
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

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

* 2021-02-01-preview: :class:`NspAssociationsProxyOperations<azure.mgmt.network.v2021_02_01_preview.aio.operations.NspAssociationsProxyOperations>`
"""
api_version = self._get_api_version('nsp_associations_proxy')
if api_version == '2021-02-01-preview':
from ..v2021_02_01_preview.aio.operations import NspAssociationsProxyOperations as OperationClass
else:
raise ValueError("API version {} does not have operation group 'nsp_associations_proxy'".format(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
Loading