共用方式為


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