共用方式為


ExpressRouteCircuitPeeringCollection Class

Definition

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

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

Constructors

ExpressRouteCircuitPeeringCollection()

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

Creates or updates a peering in the specified express route circuits.

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

Creates or updates a peering in the specified express route circuits.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}
  • Operation Id: ExpressRouteCircuitPeerings_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitPeeringResource
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}
  • Operation Id: ExpressRouteCircuitPeerings_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitPeeringResource
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}
  • Operation Id: ExpressRouteCircuitPeerings_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitPeeringResource
Get(String, CancellationToken)

Gets the specified peering for the express route circuit.

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

Gets all peerings in a specified express route circuit.

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

Gets all peerings in a specified express route circuit.

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

Gets the specified peering for the express route circuit.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ExpressRouteCircuitPeeringResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to