Share via


VpnSiteLinkConnectionCollection Class

Definition

A class representing a collection of VpnSiteLinkConnectionResource and their operations. Each VpnSiteLinkConnectionResource in the collection will belong to the same instance of VpnConnectionResource. To get a VpnSiteLinkConnectionCollection instance call the GetVpnSiteLinkConnections method from an instance of VpnConnectionResource.

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

Constructors

VpnSiteLinkConnectionCollection()

Initializes a new instance of the VpnSiteLinkConnectionCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}
  • Operation Id: VpnSiteLinkConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: VpnSiteLinkConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}
  • Operation Id: VpnSiteLinkConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: VpnSiteLinkConnectionResource
Get(String, CancellationToken)

Retrieves the details of a vpn site link connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}
  • Operation Id: VpnSiteLinkConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: VpnSiteLinkConnectionResource
GetAll(CancellationToken)

Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections
  • Operation Id: VpnLinkConnections_ListByVpnConnection
  • Default Api Version: 2024-03-01
  • Resource: VpnSiteLinkConnectionResource
GetAllAsync(CancellationToken)

Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections
  • Operation Id: VpnLinkConnections_ListByVpnConnection
  • Default Api Version: 2024-03-01
  • Resource: VpnSiteLinkConnectionResource
GetAsync(String, CancellationToken)

Retrieves the details of a vpn site link connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}
  • Operation Id: VpnSiteLinkConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: VpnSiteLinkConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}
  • Operation Id: VpnSiteLinkConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: VpnSiteLinkConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}
  • Operation Id: VpnSiteLinkConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: VpnSiteLinkConnectionResource
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<VpnSiteLinkConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<VpnSiteLinkConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to