共用方式為


ExpressRouteCircuitConnectionCollection Class

Definition

A class representing a collection of ExpressRouteCircuitConnectionResource and their operations. Each ExpressRouteCircuitConnectionResource in the collection will belong to the same instance of ExpressRouteCircuitPeeringResource. To get an ExpressRouteCircuitConnectionCollection instance call the GetExpressRouteCircuitConnections method from an instance of ExpressRouteCircuitPeeringResource.

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

Constructors

ExpressRouteCircuitConnectionCollection()

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

Creates or updates a Express Route Circuit Connection in the specified express route circuits.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}
  • Operation Id: ExpressRouteCircuitConnections_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitConnectionResource
CreateOrUpdateAsync(WaitUntil, String, ExpressRouteCircuitConnectionData, CancellationToken)

Creates or updates a Express Route Circuit Connection in the specified express route circuits.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}
  • Operation Id: ExpressRouteCircuitConnections_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}
  • Operation Id: ExpressRouteCircuitConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}
  • Operation Id: ExpressRouteCircuitConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitConnectionResource
Get(String, CancellationToken)

Gets the specified Express Route Circuit Connection from the specified express route circuit.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}
  • Operation Id: ExpressRouteCircuitConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitConnectionResource
GetAll(CancellationToken)

Gets all global reach connections associated with a private peering in an express route circuit.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections
  • Operation Id: ExpressRouteCircuitConnections_List
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitConnectionResource
GetAllAsync(CancellationToken)

Gets all global reach connections associated with a private peering in an express route circuit.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections
  • Operation Id: ExpressRouteCircuitConnections_List
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitConnectionResource
GetAsync(String, CancellationToken)

Gets the specified Express Route Circuit Connection from the specified express route circuit.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}
  • Operation Id: ExpressRouteCircuitConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}
  • Operation Id: ExpressRouteCircuitConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}
  • Operation Id: ExpressRouteCircuitConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitConnectionResource
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<ExpressRouteCircuitConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ExpressRouteCircuitConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to