ExpressRouteLinkCollection Class

Definition

A class representing a collection of ExpressRouteLinkResource and their operations. Each ExpressRouteLinkResource in the collection will belong to the same instance of ExpressRoutePortResource. To get an ExpressRouteLinkCollection instance call the GetExpressRouteLinks method from an instance of ExpressRoutePortResource.

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

Constructors

ExpressRouteLinkCollection()

Initializes a new instance of the ExpressRouteLinkCollection 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/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}
  • Operation Id: ExpressRouteLinks_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}
  • Operation Id: ExpressRouteLinks_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteLinkResource
Get(String, CancellationToken)

Retrieves the specified ExpressRouteLink resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}
  • Operation Id: ExpressRouteLinks_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteLinkResource
GetAll(CancellationToken)

Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links
  • Operation Id: ExpressRouteLinks_List
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteLinkResource
GetAllAsync(CancellationToken)

Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links
  • Operation Id: ExpressRouteLinks_List
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteLinkResource
GetAsync(String, CancellationToken)

Retrieves the specified ExpressRouteLink resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}
  • Operation Id: ExpressRouteLinks_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteLinkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}
  • Operation Id: ExpressRouteLinks_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteLinkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}
  • Operation Id: ExpressRouteLinks_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteLinkResource
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<ExpressRouteLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ExpressRouteLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to