Sdílet prostřednictvím


VpnSiteLinksOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:vpn_site_links> attribute.

Inheritance
builtins.object
VpnSiteLinksOperations

Constructor

VpnSiteLinksOperations(*args, **kwargs)

Methods

get

Retrieves the details of a VPN site link.

list_by_vpn_site

Lists all the vpnSiteLinks in a resource group for a vpn site.

get

Retrieves the details of a VPN site link.

get(resource_group_name: str, vpn_site_name: str, vpn_site_link_name: str, **kwargs: Any) -> VpnSiteLink

Parameters

Name Description
resource_group_name
Required
str

The resource group name of the VpnSite. Required.

vpn_site_name
Required
str

The name of the VpnSite. Required.

vpn_site_link_name
Required
str

The name of the VpnSiteLink being retrieved. Required.

Returns

Type Description

VpnSiteLink or the result of cls(response)

Exceptions

Type Description

list_by_vpn_site

Lists all the vpnSiteLinks in a resource group for a vpn site.

list_by_vpn_site(resource_group_name: str, vpn_site_name: str, **kwargs: Any) -> Iterable[VpnSiteLink]

Parameters

Name Description
resource_group_name
Required
str

The resource group name of the VpnSite. Required.

vpn_site_name
Required
str

The name of the VpnSite. Required.

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.network.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>