共用方式為


MockableNetworkSubscriptionResource.GetVpnServerConfigurations Method

Definition

Lists all the VpnServerConfigurations in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations
  • Operation Id: VpnServerConfigurations_List
  • Default Api Version: 2024-03-01
  • Resource: VpnServerConfigurationResource
public virtual Azure.Pageable<Azure.ResourceManager.Network.VpnServerConfigurationResource> GetVpnServerConfigurations (System.Threading.CancellationToken cancellationToken = default);
abstract member GetVpnServerConfigurations : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.VpnServerConfigurationResource>
override this.GetVpnServerConfigurations : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.VpnServerConfigurationResource>
Public Overridable Function GetVpnServerConfigurations (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VpnServerConfigurationResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of VpnServerConfigurationResource that may take multiple service requests to iterate over.

Applies to