Share via


VirtualHubResource.GetVirtualHubInboundRoutesAsync Method

Definition

Gets the inbound routes configured for the Virtual Hub on a particular connection.

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

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
VirtualHubInboundRoutesContent

Parameters supplied to get the inbound routes for a connection resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to