共用方式為


ExpressRouteCircuitCollection Class

Definition

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

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

Constructors

ExpressRouteCircuitCollection()

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

Creates or updates an express route circuit.

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

Creates or updates an express route circuit.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets information about the specified express route circuit.

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

Gets all the express route circuits in a resource group.

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

Gets all the express route circuits in a resource group.

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

Gets information about the specified express route circuit.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ExpressRouteCircuitResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to