다음을 통해 공유


VirtualHubResource.GetVirtualHubEffectiveRoutes 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VirtualHubEffectiveRouteList> GetVirtualHubEffectiveRoutes (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.EffectiveRoutesContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualHubEffectiveRoutes : Azure.WaitUntil * Azure.ResourceManager.Network.Models.EffectiveRoutesContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VirtualHubEffectiveRouteList>
override this.GetVirtualHubEffectiveRoutes : Azure.WaitUntil * Azure.ResourceManager.Network.Models.EffectiveRoutesContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VirtualHubEffectiveRouteList>
Public Overridable Function GetVirtualHubEffectiveRoutes (waitUntil As WaitUntil, Optional content As EffectiveRoutesContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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