Share via


ExpressRouteGatewaysOperationsExtensions.GetAsync Method

Definition

Fetches the details of a ExpressRoute gateway in a resource group.

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

Parameters

operations
IExpressRouteGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

expressRouteGatewayName
String

The name of the ExpressRoute gateway.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to