Share via


RoutingIntentOperationsExtensions.GetAsync Method

Definition

Retrieves the details of a RoutingIntent.

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

Parameters

operations
IRoutingIntentOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the RoutingIntent.

virtualHubName
String

The name of the VirtualHub.

routingIntentName
String

The name of the RoutingIntent.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to