Dela via


VpnServerConfigurationCollection Class

Definition

A class representing a collection of VpnServerConfigurationResource and their operations. Each VpnServerConfigurationResource in the collection will belong to the same instance of ResourceGroupResource. To get a VpnServerConfigurationCollection instance call the GetVpnServerConfigurations method from an instance of ResourceGroupResource.

public class VpnServerConfigurationCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Network.VpnServerConfigurationResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.VpnServerConfigurationResource>
type VpnServerConfigurationCollection = class
    inherit ArmCollection
    interface seq<VpnServerConfigurationResource>
    interface IEnumerable
    interface IAsyncEnumerable<VpnServerConfigurationResource>
Public Class VpnServerConfigurationCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of VpnServerConfigurationResource), IEnumerable(Of VpnServerConfigurationResource)
Inheritance
VpnServerConfigurationCollection
Implements

Constructors

VpnServerConfigurationCollection()

Initializes a new instance of the VpnServerConfigurationCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, VpnServerConfigurationData, CancellationToken)

Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}
  • Operation Id: VpnServerConfigurations_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: VpnServerConfigurationResource
CreateOrUpdateAsync(WaitUntil, String, VpnServerConfigurationData, CancellationToken)

Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}
  • Operation Id: VpnServerConfigurations_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: VpnServerConfigurationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}
  • Operation Id: VpnServerConfigurations_Get
  • Default Api Version: 2024-03-01
  • Resource: VpnServerConfigurationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}
  • Operation Id: VpnServerConfigurations_Get
  • Default Api Version: 2024-03-01
  • Resource: VpnServerConfigurationResource
Get(String, CancellationToken)

Retrieves the details of a VpnServerConfiguration.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}
  • Operation Id: VpnServerConfigurations_Get
  • Default Api Version: 2024-03-01
  • Resource: VpnServerConfigurationResource
GetAll(CancellationToken)

Lists all the vpnServerConfigurations in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations
  • Operation Id: VpnServerConfigurations_ListByResourceGroup
  • Default Api Version: 2024-03-01
  • Resource: VpnServerConfigurationResource
GetAllAsync(CancellationToken)

Lists all the vpnServerConfigurations in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations
  • Operation Id: VpnServerConfigurations_ListByResourceGroup
  • Default Api Version: 2024-03-01
  • Resource: VpnServerConfigurationResource
GetAsync(String, CancellationToken)

Retrieves the details of a VpnServerConfiguration.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}
  • Operation Id: VpnServerConfigurations_Get
  • Default Api Version: 2024-03-01
  • Resource: VpnServerConfigurationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}
  • Operation Id: VpnServerConfigurations_Get
  • Default Api Version: 2024-03-01
  • Resource: VpnServerConfigurationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}
  • Operation Id: VpnServerConfigurations_Get
  • Default Api Version: 2024-03-01
  • Resource: VpnServerConfigurationResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<VpnServerConfigurationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<VpnServerConfigurationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to