共用方式為


ExpressRouteConnectionCollection Class

Definition

A class representing a collection of ExpressRouteConnectionResource and their operations. Each ExpressRouteConnectionResource in the collection will belong to the same instance of ExpressRouteGatewayResource. To get an ExpressRouteConnectionCollection instance call the GetExpressRouteConnections method from an instance of ExpressRouteGatewayResource.

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

Constructors

ExpressRouteConnectionCollection()

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

Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}
  • Operation Id: ExpressRouteConnections_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteConnectionResource
CreateOrUpdateAsync(WaitUntil, String, ExpressRouteConnectionData, CancellationToken)

Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}
  • Operation Id: ExpressRouteConnections_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}
  • Operation Id: ExpressRouteConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}
  • Operation Id: ExpressRouteConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteConnectionResource
Get(String, CancellationToken)

Gets the specified ExpressRouteConnection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}
  • Operation Id: ExpressRouteConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteConnectionResource
GetAll(CancellationToken)

Lists ExpressRouteConnections.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections
  • Operation Id: ExpressRouteConnections_List
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteConnectionResource
GetAllAsync(CancellationToken)

Lists ExpressRouteConnections.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections
  • Operation Id: ExpressRouteConnections_List
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteConnectionResource
GetAsync(String, CancellationToken)

Gets the specified ExpressRouteConnection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}
  • Operation Id: ExpressRouteConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}
  • Operation Id: ExpressRouteConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}
  • Operation Id: ExpressRouteConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteConnectionResource
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<ExpressRouteConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ExpressRouteConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to