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

NetworkManagementClientExtensions.ListNetworkManagerEffectiveSecurityAdminRulesAsync 方法

定义

列出在虚拟网络上应用的所有有效安全管理员规则。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.NetworkManagerEffectiveSecurityAdminRulesListResult> ListNetworkManagerEffectiveSecurityAdminRulesAsync (this Microsoft.Azure.Management.Network.INetworkManagementClient operations, Microsoft.Azure.Management.Network.Models.QueryRequestOptions parameters, string resourceGroupName, string virtualNetworkName, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member ListNetworkManagerEffectiveSecurityAdminRulesAsync : Microsoft.Azure.Management.Network.INetworkManagementClient * Microsoft.Azure.Management.Network.Models.QueryRequestOptions * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.NetworkManagerEffectiveSecurityAdminRulesListResult>
<Extension()>
Public Function ListNetworkManagerEffectiveSecurityAdminRulesAsync (operations As INetworkManagementClient, parameters As QueryRequestOptions, resourceGroupName As String, virtualNetworkName As String, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NetworkManagerEffectiveSecurityAdminRulesListResult)

参数

operations
INetworkManagementClient

此扩展方法的操作组。

parameters
QueryRequestOptions

为列出正确页面提供的参数。

resourceGroupName
String

资源组的名称。

virtualNetworkName
String

虚拟网络的名称。

top
Nullable<Int32>

一个可选的查询参数,用于指定要由服务器返回的最大记录数。

cancellationToken
CancellationToken

取消标记。

返回

适用于