VirtualHubResource.GetVirtualHubEffectiveRoutesAsync Method

Definition

Gets the effective routes configured for the Virtual Hub resource or the specified resource .

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes
  • Operation Id: VirtualHubs_GetEffectiveVirtualHubRoutes
  • Default Api Version: 2024-03-01
  • Resource: VirtualHubResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VirtualHubEffectiveRouteList>> GetVirtualHubEffectiveRoutesAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.EffectiveRoutesContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualHubEffectiveRoutesAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.EffectiveRoutesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VirtualHubEffectiveRouteList>>
override this.GetVirtualHubEffectiveRoutesAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.EffectiveRoutesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VirtualHubEffectiveRouteList>>
Public Overridable Function GetVirtualHubEffectiveRoutesAsync (waitUntil As WaitUntil, Optional content As EffectiveRoutesContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of VirtualHubEffectiveRouteList))

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.

content
EffectiveRoutesContent

Parameters supplied to get the effective routes for a specific resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to