Share via


VirtualNetworkGatewayResource.GetRoutesInformation Method

Definition

This operation retrieves the route set information for an Express Route Gateway based on their resiliency

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getRoutesInformation
  • Operation Id: VirtualNetworkGateways_GetRoutesInformation
  • Default Api Version: 2024-07-01
  • Resource: VirtualNetworkGatewayResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.GatewayRouteSetsInformation> GetRoutesInformation(Azure.WaitUntil waitUntil, bool? attemptRefresh = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoutesInformation : Azure.WaitUntil * Nullable<bool> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.GatewayRouteSetsInformation>
override this.GetRoutesInformation : Azure.WaitUntil * Nullable<bool> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.GatewayRouteSetsInformation>
Public Overridable Function GetRoutesInformation (waitUntil As WaitUntil, Optional attemptRefresh As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of GatewayRouteSetsInformation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

attemptRefresh
Nullable<Boolean>

Attempt to recalculate the Route Sets Information for the gateway.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to