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

AdminRuleCollectionsOperationsExtensions.ListAsync 方法

定义

以分页格式列出安全管理配置中的所有规则集合。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.AdminRuleCollection>> ListAsync (this Microsoft.Azure.Management.Network.IAdminRuleCollectionsOperations operations, string resourceGroupName, string networkManagerName, string configurationName, int? top = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Network.IAdminRuleCollectionsOperations * string * string * string * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.AdminRuleCollection>>
<Extension()>
Public Function ListAsync (operations As IAdminRuleCollectionsOperations, resourceGroupName As String, networkManagerName As String, configurationName As String, Optional top As Nullable(Of Integer) = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AdminRuleCollection))

参数

operations
IAdminRuleCollectionsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

networkManagerName
String

网络管理器的名称。

configurationName
String

网络管理器安全配置的名称。

top
Nullable<Int32>

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

skipToken
String

仅当上一个操作返回部分结果时,才使用 SkipToken。 如果以前的响应包含 nextLink 元素,则 nextLink 元素的值将包含一个 skipToken 参数,该参数指定要用于后续调用的起点。

cancellationToken
CancellationToken

取消标记。

返回

适用于