Share via


ExpressRoutePortsOperationsExtensions.GetAsync Method

Definition

Retrieves the requested ExpressRoutePort resource.

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

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