NetworkManagementClientOperationsMixin Class

Inheritance
builtins.object
NetworkManagementClientOperationsMixin

Methods

begin_delete_bastion_shareable_link

Deletes the Bastion Shareable Links for all the VMs specified in the request.

begin_generatevirtualwanvpnserverconfigurationvpnprofile

Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination in the specified resource group.

begin_get_active_sessions

Returns the list of currently active sessions on the Bastion.

begin_put_bastion_shareable_link

Creates a Bastion Shareable Links for all the VMs specified in the request.

check_dns_name_availability

Checks whether a domain name in the cloudapp.azure.com zone is available for use.

disconnect_active_sessions

Returns the list of currently active sessions on the Bastion.

get_bastion_shareable_link

Return the Bastion Shareable Links for all the VMs specified in the request.

supported_security_providers

Gives the supported security providers for the virtual wan.

Deletes the Bastion Shareable Links for all the VMs specified in the request.

begin_delete_bastion_shareable_link(resource_group_name: str, bastion_host_name: str, bsl_request: azure.mgmt.network.v2020_03_01.models._models_py3.BastionShareableLinkListRequest, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[NoneType]

Parameters

resource_group_name
str
Required

The name of the resource group.

bastion_host_name
str
Required

The name of the Bastion Host.

bsl_request
BastionShareableLinkListRequest
Required

Post request for all the Bastion Shareable Link endpoints.

cls
callable
Required

A custom type or function that will be passed the direct response

continuation_token
str
Required

A continuation token to restart a poller from a saved state.

polling
bool or AsyncPollingMethod
Required

True for ARMPolling, False for no polling, or a polling object for personal polling strategy

polling_interval
int
Required

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of AsyncLROPoller that returns either None or the result of cls(response)

Return type

Exceptions

~azure.core.exceptions.HttpResponseError

begin_generatevirtualwanvpnserverconfigurationvpnprofile

Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination in the specified resource group.

begin_generatevirtualwanvpnserverconfigurationvpnprofile(resource_group_name: str, virtual_wan_name: str, vpn_client_params: azure.mgmt.network.v2020_03_01.models._models_py3.VirtualWanVpnProfileParameters, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.VpnProfileResponse')]

Parameters

resource_group_name
str
Required

The resource group name.

virtual_wan_name
str
Required

The name of the VirtualWAN whose associated VpnServerConfigurations is needed.

vpn_client_params
VirtualWanVpnProfileParameters
Required

Parameters supplied to the generate VirtualWan VPN profile generation operation.

cls
callable
Required

A custom type or function that will be passed the direct response

continuation_token
str
Required

A continuation token to restart a poller from a saved state.

polling
bool or AsyncPollingMethod
Required

True for ARMPolling, False for no polling, or a polling object for personal polling strategy

polling_interval
int
Required

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)

Return type

Exceptions

~azure.core.exceptions.HttpResponseError

begin_get_active_sessions

Returns the list of currently active sessions on the Bastion.

begin_get_active_sessions(resource_group_name: str, bastion_host_name: str, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[azure.core.async_paging.AsyncItemPaged[_ForwardRef('models.BastionActiveSessionListResult')]]

Parameters

resource_group_name
str
Required

The name of the resource group.

bastion_host_name
str
Required

The name of the Bastion Host.

cls
callable
Required

A custom type or function that will be passed the direct response

continuation_token
str
Required

A continuation token to restart a poller from a saved state.

polling
bool or AsyncPollingMethod
Required

True for ARMPolling, False for no polling, or a polling object for personal polling strategy

polling_interval
int
Required

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)

Return type

Exceptions

~azure.core.exceptions.HttpResponseError

Creates a Bastion Shareable Links for all the VMs specified in the request.

begin_put_bastion_shareable_link(resource_group_name: str, bastion_host_name: str, bsl_request: azure.mgmt.network.v2020_03_01.models._models_py3.BastionShareableLinkListRequest, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[azure.core.async_paging.AsyncItemPaged[_ForwardRef('models.BastionShareableLinkListResult')]]

Parameters

resource_group_name
str
Required

The name of the resource group.

bastion_host_name
str
Required

The name of the Bastion Host.

bsl_request
BastionShareableLinkListRequest
Required

Post request for all the Bastion Shareable Link endpoints.

cls
callable
Required

A custom type or function that will be passed the direct response

continuation_token
str
Required

A continuation token to restart a poller from a saved state.

polling
bool or AsyncPollingMethod
Required

True for ARMPolling, False for no polling, or a polling object for personal polling strategy

polling_interval
int
Required

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)

Return type

Exceptions

~azure.core.exceptions.HttpResponseError

check_dns_name_availability

Checks whether a domain name in the cloudapp.azure.com zone is available for use.

check_dns_name_availability(location: str, domain_name_label: str, **kwargs) -> azure.mgmt.network.v2020_03_01.models._models_py3.DnsNameAvailabilityResult

Parameters

location
str
Required

The location of the domain name.

domain_name_label
str
Required

The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.

cls
callable
Required

A custom type or function that will be passed the direct response

Returns

DnsNameAvailabilityResult, or the result of cls(response)

Return type

Exceptions

~azure.core.exceptions.HttpResponseError

disconnect_active_sessions

Returns the list of currently active sessions on the Bastion.

disconnect_active_sessions(resource_group_name: str, bastion_host_name: str, session_ids: azure.mgmt.network.v2020_03_01.models._models_py3.SessionIds, **kwargs) -> typing.AsyncIterable[_ForwardRef('models.BastionSessionDeleteResult')]

Parameters

resource_group_name
str
Required

The name of the resource group.

bastion_host_name
str
Required

The name of the Bastion Host.

session_ids
SessionIds
Required

The list of sessionids to disconnect.

cls
callable
Required

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)

Return type

Exceptions

~azure.core.exceptions.HttpResponseError

Return the Bastion Shareable Links for all the VMs specified in the request.

get_bastion_shareable_link(resource_group_name: str, bastion_host_name: str, bsl_request: azure.mgmt.network.v2020_03_01.models._models_py3.BastionShareableLinkListRequest, **kwargs) -> typing.AsyncIterable[_ForwardRef('models.BastionShareableLinkListResult')]

Parameters

resource_group_name
str
Required

The name of the resource group.

bastion_host_name
str
Required

The name of the Bastion Host.

bsl_request
BastionShareableLinkListRequest
Required

Post request for all the Bastion Shareable Link endpoints.

cls
callable
Required

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)

Return type

Exceptions

~azure.core.exceptions.HttpResponseError

supported_security_providers

Gives the supported security providers for the virtual wan.

supported_security_providers(resource_group_name: str, virtual_wan_name: str, **kwargs) -> azure.mgmt.network.v2020_03_01.models._models_py3.VirtualWanSecurityProviders

Parameters

resource_group_name
str
Required

The resource group name.

virtual_wan_name
str
Required

The name of the VirtualWAN for which supported security providers are needed.

cls
callable
Required

A custom type or function that will be passed the direct response

Returns

VirtualWanSecurityProviders, or the result of cls(response)

Return type

Exceptions

~azure.core.exceptions.HttpResponseError