Aracılığıyla paylaş


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

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