Share via


NetworkExtensions.GetVpnServerConfigurations Method

Definition

Overloads

GetVpnServerConfigurations(ResourceGroupResource)

Gets a collection of VpnServerConfigurationResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVpnServerConfigurations() instead.

GetVpnServerConfigurations(SubscriptionResource, CancellationToken)

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

GetVpnServerConfigurations(ResourceGroupResource)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

Gets a collection of VpnServerConfigurationResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVpnServerConfigurations() instead.

public static Azure.ResourceManager.Network.VpnServerConfigurationCollection GetVpnServerConfigurations (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetVpnServerConfigurations : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Network.VpnServerConfigurationCollection
<Extension()>
Public Function GetVpnServerConfigurations (resourceGroupResource As ResourceGroupResource) As VpnServerConfigurationCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of VpnServerConfigurationResources and their operations over a VpnServerConfigurationResource.

Exceptions

resourceGroupResource is null.

Applies to

GetVpnServerConfigurations(SubscriptionResource, CancellationToken)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

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 static Azure.Pageable<Azure.ResourceManager.Network.VpnServerConfigurationResource> GetVpnServerConfigurations (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetVpnServerConfigurations : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.VpnServerConfigurationResource>
<Extension()>
Public Function GetVpnServerConfigurations (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VpnServerConfigurationResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to