Share via


ExpressRouteConnectionsOperationsExtensions.GetAsync Method

Definition

Gets the specified ExpressRouteConnection.

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

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