Share via


VpnServerConfigurationPolicyGroupCollection Class

Definition

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

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

Constructors

VpnServerConfigurationPolicyGroupCollection()

Initializes a new instance of the VpnServerConfigurationPolicyGroupCollection 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, VpnServerConfigurationPolicyGroupData, CancellationToken)

Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.

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

Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Retrieves the details of a ConfigurationPolicyGroup.

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

Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration.

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

Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration.

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

Retrieves the details of a ConfigurationPolicyGroup.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}
  • Operation Id: ConfigurationPolicyGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: VpnServerConfigurationPolicyGroupResource
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<VpnServerConfigurationPolicyGroupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<VpnServerConfigurationPolicyGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to