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, bastion_host_name, bsl_request, **kwargs)

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 PollingMethod
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 LROPoller 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, virtual_wan_name, vpn_client_params, **kwargs)

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 PollingMethod
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 LROPoller 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, bastion_host_name, **kwargs)

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 PollingMethod
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 LROPoller 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, bastion_host_name, bsl_request, **kwargs)

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 PollingMethod
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 LROPoller 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, domain_name_label, **kwargs)

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, bastion_host_name, session_ids, **kwargs)

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, bastion_host_name, bsl_request, **kwargs)

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, virtual_wan_name, **kwargs)

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