你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IPolicyAssignmentsOperations.ListForManagementGroupNextWithHttpMessagesAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索应用于管理组的所有策略分配。
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.PolicyAssignment>>> ListForManagementGroupNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListForManagementGroupNextWithHttpMessagesAsync : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.PolicyAssignment>>>
Public Function ListForManagementGroupNextWithHttpMessagesAsync (nextPageLink As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of PolicyAssignment)))
参数
- nextPageLink
- String
上一次成功调用 List 操作的 NextLink。
- customHeaders
- Dictionary<String,List<String>>
将添加到请求的标头。
- cancellationToken
- CancellationToken
取消标记。
返回
例外
操作返回无效状态代码时引发
无法反序列化响应时引发
当所需的参数为 null 时引发
注解
此操作检索适用于与给定$filter匹配的管理组的所有策略分配的列表。 $filter的有效值为:“atScope () ”、“atExactScope () ”或“policyDefinitionId eq'{value}”。 如果提供了 $filter=atScope () ,则返回的列表包括分配给管理组或管理组的上级的所有策略分配。 如果提供了 $filter=atExactScope () ,则返回的列表仅包括管理组中的所有策略分配。 如果提供了 $filter=policyDefinitionId eq “{value}”,则返回的列表包括策略定义的所有策略分配,其 ID 为 {value},适用于管理组。