你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IPolicyAssignmentsOperations.ListForResourceGroupNextWithHttpMessagesAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索应用于资源组的所有策略分配。
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.PolicyAssignment>>> ListForResourceGroupNextWithHttpMessagesAsync (string nextPageLink, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListForResourceGroupNextWithHttpMessagesAsync : 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 ListForResourceGroupNextWithHttpMessagesAsync (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,则未筛选列表包括与资源组关联的所有策略分配,包括直接应用或从包含范围应用的策略分配,以及应用于资源组中包含的资源的任何策略分配。 如果提供了 $filter=atScope () ,则返回的列表包括应用于资源组的所有策略分配,该分配是未筛选列表中除应用于资源组中包含的资源之外的所有内容。 如果提供了 $filter=atExactScope () ,则返回的列表仅包括资源组中的所有策略分配。 如果提供了 $filter=policyDefinitionId eq“{value}”,则返回的列表包括策略定义的所有策略分配,其 ID 为 {value},适用于资源组。