Aracılığıyla paylaş


ExpressRoutePortsOperationsExtensions.GetAsync Method

Definition

Retrieves the requested ExpressRoutePort resource.

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

Parameters

operations
IExpressRoutePortsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

expressRoutePortName
String

The name of ExpressRoutePort.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to