Dela via


MockableNetworkSubscriptionResource.GetVpnServerConfigurationsAsync 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.AsyncPageable<Azure.ResourceManager.Network.VpnServerConfigurationResource> GetVpnServerConfigurationsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetVpnServerConfigurationsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.VpnServerConfigurationResource>
override this.GetVpnServerConfigurationsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.VpnServerConfigurationResource>
Public Overridable Function GetVpnServerConfigurationsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VpnServerConfigurationResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to