Dela via


ExpressRouteConnectionsOperationsExtensions.GetAsync Method

Definition

Gets the specified ExpressRouteConnection.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.ExpressRouteConnection> GetAsync (this Microsoft.Azure.Management.Network.IExpressRouteConnectionsOperations operations, string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Network.IExpressRouteConnectionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.ExpressRouteConnection>
<Extension()>
Public Function GetAsync (operations As IExpressRouteConnectionsOperations, resourceGroupName As String, expressRouteGatewayName As String, connectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExpressRouteConnection)

Parameters

operations
IExpressRouteConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

expressRouteGatewayName
String

The name of the ExpressRoute gateway.

connectionName
String

The name of the ExpressRoute connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to