VpnSiteLinkCollection Class

Definition

A class representing a collection of VpnSiteLinkResource and their operations. Each VpnSiteLinkResource in the collection will belong to the same instance of VpnSiteResource. To get a VpnSiteLinkCollection instance call the GetVpnSiteLinks method from an instance of VpnSiteResource.

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

Constructors

VpnSiteLinkCollection()

Initializes a new instance of the VpnSiteLinkCollection 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/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}
  • Operation Id: VpnSiteLinks_Get
  • Default Api Version: 2023-09-01
  • Resource: VpnSiteLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}
  • Operation Id: VpnSiteLinks_Get
  • Default Api Version: 2023-09-01
  • Resource: VpnSiteLinkResource
Get(String, CancellationToken)

Retrieves the details of a VPN site link.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}
  • Operation Id: VpnSiteLinks_Get
  • Default Api Version: 2023-09-01
  • Resource: VpnSiteLinkResource
GetAll(CancellationToken)

Lists all the vpnSiteLinks in a resource group for a vpn site.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks
  • Operation Id: VpnSiteLinks_ListByVpnSite
  • Default Api Version: 2023-09-01
  • Resource: VpnSiteLinkResource
GetAllAsync(CancellationToken)

Lists all the vpnSiteLinks in a resource group for a vpn site.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks
  • Operation Id: VpnSiteLinks_ListByVpnSite
  • Default Api Version: 2023-09-01
  • Resource: VpnSiteLinkResource
GetAsync(String, CancellationToken)

Retrieves the details of a VPN site link.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}
  • Operation Id: VpnSiteLinks_Get
  • Default Api Version: 2023-09-01
  • Resource: VpnSiteLinkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}
  • Operation Id: VpnSiteLinks_Get
  • Default Api Version: 2023-09-01
  • Resource: VpnSiteLinkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}
  • Operation Id: VpnSiteLinks_Get
  • Default Api Version: 2023-09-01
  • Resource: VpnSiteLinkResource
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<VpnSiteLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<VpnSiteLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to