Compartilhar via


NetworkManagementClientOperationsMixin Class

Inheritance
azure.mgmt.network._vendor.NetworkManagementClientMixinABC
NetworkManagementClientOperationsMixin

Constructor

NetworkManagementClientOperationsMixin()

Methods

begin_delete_bastion_shareable_link

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

begin_delete_bastion_shareable_link_by_token

Deletes the Bastion Shareable Links for all the tokens 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.

express_route_provider_port

Retrieves detail of a provider port.

get_bastion_shareable_link

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

list_active_connectivity_configurations

Lists active connectivity configurations in a network manager.

list_active_security_admin_rules

Lists active security admin rules in a network manager.

list_network_manager_effective_connectivity_configurations

List all effective connectivity configurations applied on a virtual network.

list_network_manager_effective_security_admin_rules

List all effective security admin rules applied on a virtual network.

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: _models.BastionShareableLinkListRequest, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

bastion_host_name
Required
str

The name of the Bastion Host. Required.

bsl_request
Required

Post request for Create/Delete/Get Bastion Shareable Link endpoints. Is either a BastionShareableLinkListRequest type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

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

begin_delete_bastion_shareable_link_by_token(resource_group_name: str, bastion_host_name: str, bsl_token_request: _models.BastionShareableLinkTokenListRequest, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

bastion_host_name
Required
str

The name of the Bastion Host. Required.

bsl_token_request
Required

Post request for Delete Bastion Shareable Link By Token endpoint. Is either a BastionShareableLinkTokenListRequest type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

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: _models.VirtualWanVpnProfileParameters, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.VpnProfileResponse]

Parameters

Name Description
resource_group_name
Required
str

The resource group name. Required.

virtual_wan_name
Required
str

The name of the VirtualWAN whose associated VpnServerConfigurations is needed. Required.

vpn_client_params
Required

Parameters supplied to the generate VirtualWan VPN profile generation operation. Is either a VirtualWanVpnProfileParameters type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

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: Any) -> LROPoller[Iterable[BastionActiveSession]]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

bastion_host_name
Required
str

The name of the Bastion Host. Required.

Returns

Type Description

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

Exceptions

Type Description

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: _models.BastionShareableLinkListRequest, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[Iterable['_models.BastionShareableLink']]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

bastion_host_name
Required
str

The name of the Bastion Host. Required.

bsl_request
Required

Post request for Create/Delete/Get Bastion Shareable Link endpoints. Is either a BastionShareableLinkListRequest type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

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: Any) -> DnsNameAvailabilityResult

Parameters

Name Description
location
Required
str

The location of the domain name. Required.

Keyword-Only Parameters

Name Description
domain_name_label
str

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

Returns

Type Description

DnsNameAvailabilityResult or the result of cls(response)

Exceptions

Type Description

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: _models.SessionIds, *, content_type: str = 'application/json', **kwargs: Any) -> Iterable['_models.BastionSessionState']

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

bastion_host_name
Required
str

The name of the Bastion Host. Required.

session_ids
Required

The list of sessionids to disconnect. Is either a SessionIds type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

express_route_provider_port

Retrieves detail of a provider port.

express_route_provider_port(providerport: str, **kwargs: Any) -> ExpressRouteProviderPort

Parameters

Name Description
providerport
Required
str

The name of the provider port. Required.

Returns

Type Description

ExpressRouteProviderPort or the result of cls(response)

Exceptions

Type Description

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: _models.BastionShareableLinkListRequest, *, content_type: str = 'application/json', **kwargs: Any) -> Iterable['_models.BastionShareableLink']

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

bastion_host_name
Required
str

The name of the Bastion Host. Required.

bsl_request
Required

Post request for Create/Delete/Get Bastion Shareable Link endpoints. Is either a BastionShareableLinkListRequest type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

list_active_connectivity_configurations

Lists active connectivity configurations in a network manager.

list_active_connectivity_configurations(resource_group_name: str, network_manager_name: str, parameters: _models.ActiveConfigurationParameter, *, top: int | None = None, content_type: str = 'application/json', **kwargs: Any) -> _models.ActiveConnectivityConfigurationsListResult

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_manager_name
Required
str

The name of the network manager. Required.

parameters
Required

Active Configuration Parameter. Is either a ActiveConfigurationParameter type or a IO[bytes] type. Required.

Keyword-Only Parameters

Name Description
top
int

An optional query parameter which specifies the maximum number of records to be returned by the server. Default value is None.

Returns

Type Description

ActiveConnectivityConfigurationsListResult or the result of cls(response)

Exceptions

Type Description

list_active_security_admin_rules

Lists active security admin rules in a network manager.

list_active_security_admin_rules(resource_group_name: str, network_manager_name: str, parameters: _models.ActiveConfigurationParameter, *, top: int | None = None, content_type: str = 'application/json', **kwargs: Any) -> _models.ActiveSecurityAdminRulesListResult

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_manager_name
Required
str

The name of the network manager. Required.

parameters
Required

Active Configuration Parameter. Is either a ActiveConfigurationParameter type or a IO[bytes] type. Required.

Keyword-Only Parameters

Name Description
top
int

An optional query parameter which specifies the maximum number of records to be returned by the server. Default value is None.

Returns

Type Description

ActiveSecurityAdminRulesListResult or the result of cls(response)

Exceptions

Type Description

list_network_manager_effective_connectivity_configurations

List all effective connectivity configurations applied on a virtual network.

list_network_manager_effective_connectivity_configurations(resource_group_name: str, virtual_network_name: str, parameters: _models.QueryRequestOptions, *, top: int | None = None, content_type: str = 'application/json', **kwargs: Any) -> _models.NetworkManagerEffectiveConnectivityConfigurationListResult

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

virtual_network_name
Required
str

The name of the virtual network. Required.

parameters
Required

Parameters supplied to list correct page. Is either a QueryRequestOptions type or a IO[bytes] type. Required.

Keyword-Only Parameters

Name Description
top
int

An optional query parameter which specifies the maximum number of records to be returned by the server. Default value is None.

Returns

Type Description

NetworkManagerEffectiveConnectivityConfigurationListResult or the result of cls(response)

Exceptions

Type Description

list_network_manager_effective_security_admin_rules

List all effective security admin rules applied on a virtual network.

list_network_manager_effective_security_admin_rules(resource_group_name: str, virtual_network_name: str, parameters: _models.QueryRequestOptions, *, top: int | None = None, content_type: str = 'application/json', **kwargs: Any) -> _models.NetworkManagerEffectiveSecurityAdminRulesListResult

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

virtual_network_name
Required
str

The name of the virtual network. Required.

parameters
Required

Parameters supplied to list correct page. Is either a QueryRequestOptions type or a IO[bytes] type. Required.

Keyword-Only Parameters

Name Description
top
int

An optional query parameter which specifies the maximum number of records to be returned by the server. Default value is None.

Returns

Type Description

NetworkManagerEffectiveSecurityAdminRulesListResult or the result of cls(response)

Exceptions

Type Description

supported_security_providers

Gives the supported security providers for the virtual wan.

supported_security_providers(resource_group_name: str, virtual_wan_name: str, **kwargs: Any) -> VirtualWanSecurityProviders

Parameters

Name Description
resource_group_name
Required
str

The resource group name. Required.

virtual_wan_name
Required
str

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

Returns

Type Description

VirtualWanSecurityProviders or the result of cls(response)

Exceptions

Type Description