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

PolicyEventsOperationsExtensions.ListQueryResultsForManagementGroupAsync 方法

定义

查询管理组下资源的策略事件。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PolicyInsights.Models.PolicyEvent>> ListQueryResultsForManagementGroupAsync (this Microsoft.Azure.Management.PolicyInsights.IPolicyEventsOperations operations, string managementGroupName, Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions queryOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListQueryResultsForManagementGroupAsync : Microsoft.Azure.Management.PolicyInsights.IPolicyEventsOperations * string * Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PolicyInsights.Models.PolicyEvent>>
<Extension()>
Public Function ListQueryResultsForManagementGroupAsync (operations As IPolicyEventsOperations, managementGroupName As String, Optional queryOptions As QueryOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of PolicyEvent))

参数

operations
IPolicyEventsOperations

此扩展方法的操作组。

managementGroupName
String

管理组名称。

queryOptions
QueryOptions

操作的其他参数

cancellationToken
CancellationToken

取消标记。

返回

适用于