VirtualNetworkGatewaysOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:virtual_network_gateways> attribute.

Constructor

VirtualNetworkGatewaysOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates a virtual network gateway in the specified resource group.

begin_delete

Deletes the specified virtual network gateway.

begin_disconnect_virtual_network_gateway_vpn_connections

Disconnect vpn connections of virtual network gateway in the specified resource group.

begin_generate_vpn_profile

Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.

begin_generatevpnclientpackage

Generates VPN client package for P2S client of the virtual network gateway in the specified resource group.

begin_get_advertised_routes

This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer.

begin_get_bgp_peer_status

The GetBgpPeerStatus operation retrieves the status of all BGP peers.

begin_get_failover_all_test_details

This operation retrieves the details of all the failover tests performed on the gateway for different peering locations.

begin_get_failover_single_test_details

This operation retrieves the details of a particular failover test performed on the gateway based on the test Guid.

begin_get_learned_routes

This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.

begin_get_resiliency_information

This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current resiliency score and recommendations to further improve the score.

begin_get_routes_information

This operation retrieves the route set information for an Express Route Gateway based on their resiliency.

begin_get_vpn_profile_package_url

Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.

begin_get_vpnclient_connection_health

Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group.

begin_get_vpnclient_ipsec_parameters

The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.

begin_invoke_abort_migration

Trigger abort migration for the virtual network gateway.

begin_invoke_commit_migration

Trigger commit migration for the virtual network gateway.

begin_invoke_execute_migration

Trigger execute migration for the virtual network gateway.

begin_invoke_prepare_migration

Trigger prepare migration for the virtual network gateway.

begin_reset

Resets the primary of the virtual network gateway in the specified resource group.

begin_reset_vpn_client_shared_key

Resets the VPN client shared key of the virtual network gateway in the specified resource group.

begin_set_vpnclient_ipsec_parameters

The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.

begin_start_express_route_site_failover_simulation

This operation starts failover simulation on the gateway for the specified peering location.

begin_start_packet_capture

Starts packet capture on virtual network gateway in the specified resource group.

begin_stop_express_route_site_failover_simulation

This operation stops failover simulation on the gateway for the specified peering location.

begin_stop_packet_capture

Stops packet capture on virtual network gateway in the specified resource group.

begin_update_tags

Updates a virtual network gateway tags.

get

Gets the specified virtual network gateway by resource group.

list

Gets all virtual network gateways by resource group.

list_connections

Gets all the connections in a virtual network gateway.

list_radius_secrets

List all Radius servers with respective radius secrets from virtual network gateway VpnClientConfiguration.

supported_vpn_devices

Gets a xml format representation for supported vpn devices.

vpn_device_configuration_script

Gets a xml format representation for vpn device configuration script.

begin_create_or_update

Creates or updates a virtual network gateway in the specified resource group.

begin_create_or_update(resource_group_name: str, virtual_network_gateway_name: str, parameters: _models.VirtualNetworkGateway, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.VirtualNetworkGateway]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

parameters
Required
VirtualNetworkGateway or <xref:JSON> or IO[bytes]

Parameters supplied to create or update virtual network gateway operation. Is one of the following types: VirtualNetworkGateway, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns VirtualNetworkGateway. The VirtualNetworkGateway is compatible with MutableMapping

Exceptions

Type Description

begin_delete

Deletes the specified virtual network gateway.

begin_delete(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

begin_disconnect_virtual_network_gateway_vpn_connections

Disconnect vpn connections of virtual network gateway in the specified resource group.

begin_disconnect_virtual_network_gateway_vpn_connections(resource_group_name: str, virtual_network_gateway_name: str, request: _models.P2SVpnConnectionRequest, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

request
Required
P2SVpnConnectionRequest or <xref:JSON> or IO[bytes]

The parameters are supplied to disconnect vpn connections. Is one of the following types: P2SVpnConnectionRequest, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

begin_generate_vpn_profile

Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.

begin_generate_vpn_profile(resource_group_name: str, virtual_network_gateway_name: str, parameters: _models.VpnClientParameters, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[str]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

parameters
Required
VpnClientParameters or <xref:JSON> or IO[bytes]

Parameters supplied to the generate virtual network gateway VPN client package operation. Is one of the following types: VpnClientParameters, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns str

Exceptions

Type Description

begin_generatevpnclientpackage

Generates VPN client package for P2S client of the virtual network gateway in the specified resource group.

begin_generatevpnclientpackage(resource_group_name: str, virtual_network_gateway_name: str, parameters: _models.VpnClientParameters, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[str]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

parameters
Required
VpnClientParameters or <xref:JSON> or IO[bytes]

Parameters supplied to the generate virtual network gateway VPN client package operation. Is one of the following types: VpnClientParameters, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns str

Exceptions

Type Description

begin_get_advertised_routes

This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer.

begin_get_advertised_routes(resource_group_name: str, virtual_network_gateway_name: str, *, peer: str, **kwargs: Any) -> LROPoller[GatewayRouteListResult]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Keyword-Only Parameters

Name Description
peer
str

The IP address of the peer. Required.

Returns

Type Description

An instance of LROPoller that returns GatewayRouteListResult. The GatewayRouteListResult is compatible with MutableMapping

Exceptions

Type Description

begin_get_bgp_peer_status

The GetBgpPeerStatus operation retrieves the status of all BGP peers.

begin_get_bgp_peer_status(resource_group_name: str, virtual_network_gateway_name: str, *, peer: str | None = None, **kwargs: Any) -> LROPoller[BgpPeerStatusListResult]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Keyword-Only Parameters

Name Description
peer
str

The IP address of the peer to retrieve the status of. Default value is None.

Default value: None

Returns

Type Description

An instance of LROPoller that returns BgpPeerStatusListResult. The BgpPeerStatusListResult is compatible with MutableMapping

Exceptions

Type Description

begin_get_failover_all_test_details

This operation retrieves the details of all the failover tests performed on the gateway for different peering locations.

begin_get_failover_all_test_details(resource_group_name: str, virtual_network_gateway_name: str, *, type: str, fetch_latest: bool, **kwargs: Any) -> LROPoller[list[azure.mgmt.network.models._models.ExpressRouteFailoverTestDetails]]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Keyword-Only Parameters

Name Description
type
str

The type of failover test. Required.

fetch_latest

Fetch only the latest tests for each peering location. Required.

Returns

Type Description

An instance of LROPoller that returns list of ExpressRouteFailoverTestDetails

Exceptions

Type Description

begin_get_failover_single_test_details

This operation retrieves the details of a particular failover test performed on the gateway based on the test Guid.

begin_get_failover_single_test_details(resource_group_name: str, virtual_network_gateway_name: str, *, peering_location: str, failover_test_id: str, **kwargs: Any) -> LROPoller[list[azure.mgmt.network.models._models.ExpressRouteFailoverSingleTestDetails]]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Keyword-Only Parameters

Name Description
peering_location
str

Peering location of the test. Required.

failover_test_id
str

The unique Guid value which identifies the test. Required.

Returns

Type Description

An instance of LROPoller that returns list of ExpressRouteFailoverSingleTestDetails

Exceptions

Type Description

begin_get_learned_routes

This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.

begin_get_learned_routes(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) -> LROPoller[GatewayRouteListResult]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Returns

Type Description

An instance of LROPoller that returns GatewayRouteListResult. The GatewayRouteListResult is compatible with MutableMapping

Exceptions

Type Description

begin_get_resiliency_information

This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current resiliency score and recommendations to further improve the score.

begin_get_resiliency_information(resource_group_name: str, virtual_network_gateway_name: str, *, attempt_refresh: bool | None = None, **kwargs: Any) -> LROPoller[GatewayResiliencyInformation]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Keyword-Only Parameters

Name Description
attempt_refresh

Attempt to recalculate the Resiliency Information for the gateway. Default value is None.

Default value: None

Returns

Type Description

An instance of LROPoller that returns GatewayResiliencyInformation. The GatewayResiliencyInformation is compatible with MutableMapping

Exceptions

Type Description

begin_get_routes_information

This operation retrieves the route set information for an Express Route Gateway based on their resiliency.

begin_get_routes_information(resource_group_name: str, virtual_network_gateway_name: str, *, attempt_refresh: bool | None = None, **kwargs: Any) -> LROPoller[GatewayRouteSetsInformation]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Keyword-Only Parameters

Name Description
attempt_refresh

Attempt to recalculate the Route Sets Information for the gateway. Default value is None.

Default value: None

Returns

Type Description

An instance of LROPoller that returns GatewayRouteSetsInformation. The GatewayRouteSetsInformation is compatible with MutableMapping

Exceptions

Type Description

begin_get_vpn_profile_package_url

Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.

begin_get_vpn_profile_package_url(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) -> LROPoller[str]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Returns

Type Description

An instance of LROPoller that returns str

Exceptions

Type Description

begin_get_vpnclient_connection_health

Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group.

begin_get_vpnclient_connection_health(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) -> LROPoller[VpnClientConnectionHealthDetailListResult]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Returns

Type Description

An instance of LROPoller that returns VpnClientConnectionHealthDetailListResult. The VpnClientConnectionHealthDetailListResult is compatible with MutableMapping

Exceptions

Type Description

begin_get_vpnclient_ipsec_parameters

The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.

begin_get_vpnclient_ipsec_parameters(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) -> LROPoller[VpnClientIPsecParameters]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Returns

Type Description

An instance of LROPoller that returns VpnClientIPsecParameters. The VpnClientIPsecParameters is compatible with MutableMapping

Exceptions

Type Description

begin_invoke_abort_migration

Trigger abort migration for the virtual network gateway.

begin_invoke_abort_migration(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

begin_invoke_commit_migration

Trigger commit migration for the virtual network gateway.

begin_invoke_commit_migration(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

begin_invoke_execute_migration

Trigger execute migration for the virtual network gateway.

begin_invoke_execute_migration(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

begin_invoke_prepare_migration

Trigger prepare migration for the virtual network gateway.

begin_invoke_prepare_migration(resource_group_name: str, virtual_network_gateway_name: str, migration_params: _models.VirtualNetworkGatewayMigrationParameters, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

migration_params
Required

Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network resource provider. Is one of the following types: VirtualNetworkGatewayMigrationParameters, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

begin_reset

Resets the primary of the virtual network gateway in the specified resource group.

begin_reset(resource_group_name: str, virtual_network_gateway_name: str, *, gateway_vip: str | None = None, **kwargs: Any) -> LROPoller[VirtualNetworkGateway]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Keyword-Only Parameters

Name Description
gateway_vip
str

Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway. Default value is None.

Default value: None

Returns

Type Description

An instance of LROPoller that returns VirtualNetworkGateway. The VirtualNetworkGateway is compatible with MutableMapping

Exceptions

Type Description

begin_reset_vpn_client_shared_key

Resets the VPN client shared key of the virtual network gateway in the specified resource group.

begin_reset_vpn_client_shared_key(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

begin_set_vpnclient_ipsec_parameters

The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.

begin_set_vpnclient_ipsec_parameters(resource_group_name: str, virtual_network_gateway_name: str, vpnclient_ipsec_params: _models.VpnClientIPsecParameters, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.VpnClientIPsecParameters]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

vpnclient_ipsec_params
Required
VpnClientIPsecParameters or <xref:JSON> or IO[bytes]

Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider. Is one of the following types: VpnClientIPsecParameters, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns VpnClientIPsecParameters. The VpnClientIPsecParameters is compatible with MutableMapping

Exceptions

Type Description

begin_start_express_route_site_failover_simulation

This operation starts failover simulation on the gateway for the specified peering location.

begin_start_express_route_site_failover_simulation(resource_group_name: str, virtual_network_gateway_name: str, *, peering_location: str, **kwargs: Any) -> LROPoller[str]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Keyword-Only Parameters

Name Description
peering_location
str

Peering location of the test. Required.

Returns

Type Description

An instance of LROPoller that returns str

Exceptions

Type Description

begin_start_packet_capture

Starts packet capture on virtual network gateway in the specified resource group.

begin_start_packet_capture(resource_group_name: str, virtual_network_gateway_name: str, parameters: _models.VpnPacketCaptureStartParameters | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[str]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

parameters

Virtual network gateway packet capture parameters supplied to start packet capture on gateway. Is one of the following types: VpnPacketCaptureStartParameters, JSON, IO[bytes] Default value is None.

Default value: None

Returns

Type Description

An instance of LROPoller that returns str

Exceptions

Type Description

begin_stop_express_route_site_failover_simulation

This operation stops failover simulation on the gateway for the specified peering location.

begin_stop_express_route_site_failover_simulation(resource_group_name: str, virtual_network_gateway_name: str, stop_parameters: _models.ExpressRouteFailoverStopApiParameters, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[str]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

stop_parameters
Required

Virtual network gateway stop simulation parameters supplied to stop failover simulation on gateway. Is one of the following types: ExpressRouteFailoverStopApiParameters, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns str

Exceptions

Type Description

begin_stop_packet_capture

Stops packet capture on virtual network gateway in the specified resource group.

begin_stop_packet_capture(resource_group_name: str, virtual_network_gateway_name: str, parameters: _models.VpnPacketCaptureStopParameters, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[str]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

parameters
Required

Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. Is one of the following types: VpnPacketCaptureStopParameters, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns str

Exceptions

Type Description

begin_update_tags

Updates a virtual network gateway tags.

begin_update_tags(resource_group_name: str, virtual_network_gateway_name: str, parameters: _models.TagsObject, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.VirtualNetworkGateway]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

parameters
Required
TagsObject or <xref:JSON> or IO[bytes]

Parameters supplied to update virtual network gateway tags. Is one of the following types: TagsObject, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns VirtualNetworkGateway. The VirtualNetworkGateway is compatible with MutableMapping

Exceptions

Type Description

get

Gets the specified virtual network gateway by resource group.

get(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) -> VirtualNetworkGateway

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Returns

Type Description

VirtualNetworkGateway. The VirtualNetworkGateway is compatible with MutableMapping

Exceptions

Type Description

list

Gets all virtual network gateways by resource group.

list(resource_group_name: str, **kwargs: Any) -> ItemPaged[VirtualNetworkGateway]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

Returns

Type Description

An iterator like instance of VirtualNetworkGateway

Exceptions

Type Description

list_connections

Gets all the connections in a virtual network gateway.

list_connections(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) -> ItemPaged[VirtualNetworkGatewayConnectionListEntity]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Returns

Type Description

An iterator like instance of VirtualNetworkGatewayConnectionListEntity

Exceptions

Type Description

list_radius_secrets

List all Radius servers with respective radius secrets from virtual network gateway VpnClientConfiguration.

list_radius_secrets(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) -> RadiusAuthServerListResult

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Returns

Type Description

RadiusAuthServerListResult. The RadiusAuthServerListResult is compatible with MutableMapping

Exceptions

Type Description

supported_vpn_devices

Gets a xml format representation for supported vpn devices.

supported_vpn_devices(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) -> str

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_name
Required
str

The name of the virtual network gateway. Required.

Returns

Type Description
str

str

Exceptions

Type Description

vpn_device_configuration_script

Gets a xml format representation for vpn device configuration script.

vpn_device_configuration_script(resource_group_name: str, virtual_network_gateway_connection_name: str, parameters: _models.VpnDeviceScriptParameters, *, content_type: str = 'application/json', **kwargs: Any) -> str

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_network_gateway_connection_name
Required
str

The name of the virtual network gateway connection. Required.

parameters
Required
VpnDeviceScriptParameters or <xref:JSON> or IO[bytes]

Parameters supplied to the generate vpn device script operation. Is one of the following types: VpnDeviceScriptParameters, JSON, IO[bytes] Required.

Returns

Type Description
str

str

Exceptions

Type Description