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

PolicyAssignmentsOperationsExtensions.ListForResourceGroupNextAsync 方法

定义

检索应用于资源组的所有策略分配。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Fluent.Models.PolicyAssignmentInner>> ListForResourceGroupNextAsync (this Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyAssignmentsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default);
static member ListForResourceGroupNextAsync : Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyAssignmentsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Fluent.Models.PolicyAssignmentInner>>
<Extension()>
Public Function ListForResourceGroupNextAsync (operations As IPolicyAssignmentsOperations, nextPageLink As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of PolicyAssignmentInner))

参数

operations
IPolicyAssignmentsOperations

此扩展方法的操作组。

nextPageLink
String

上一次成功调用 List 操作的 NextLink。

cancellationToken
CancellationToken

取消标记。

返回

注解

此操作检索与给定订阅中与可选给定$filter匹配的给定资源组关联的所有策略分配的列表。 $filter的有效值为:“atScope () ”或“policyDefinitionId eq'{value}”。 如果未提供$filter,则未筛选列表包括与资源组关联的所有策略分配,包括直接应用或从包含范围应用的策略分配,以及应用于资源组中包含的资源的任何策略分配。 如果提供了 $filter=atScope () ,则返回的列表包括应用于资源组的所有策略分配,该分配是未筛选列表中除应用于资源组中包含的资源之外的所有内容。 如果提供了 $filter=policyDefinitionId eq“{value}”,则返回的列表包括策略定义的所有策略分配,其 ID 为 {value},适用于资源组。

适用于