你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualHubsOperationsExtensions.GetEffectiveVirtualHubRoutesAsync 方法

定义

获取为虚拟中心资源或指定资源 配置的有效路由。

public static System.Threading.Tasks.Task GetEffectiveVirtualHubRoutesAsync (this Microsoft.Azure.Management.Network.IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, Microsoft.Azure.Management.Network.Models.EffectiveRoutesParameters effectiveRoutesParameters = default, System.Threading.CancellationToken cancellationToken = default);
static member GetEffectiveVirtualHubRoutesAsync : Microsoft.Azure.Management.Network.IVirtualHubsOperations * string * string * Microsoft.Azure.Management.Network.Models.EffectiveRoutesParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function GetEffectiveVirtualHubRoutesAsync (operations As IVirtualHubsOperations, resourceGroupName As String, virtualHubName As String, Optional effectiveRoutesParameters As EffectiveRoutesParameters = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

operations
IVirtualHubsOperations

此扩展方法的操作组。

resourceGroupName
String

VirtualHub 的资源组名称。

virtualHubName
String

VirtualHub 的名称。

effectiveRoutesParameters
EffectiveRoutesParameters

为获取特定资源的有效路由而提供的参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于