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

PolicyEventsOperationsExtensions.ListQueryResultsForResource 方法

定义

查询资源的策略事件。

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PolicyInsights.Models.PolicyEvent> ListQueryResultsForResource (this Microsoft.Azure.Management.PolicyInsights.IPolicyEventsOperations operations, string resourceId, Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions queryOptions = default);
static member ListQueryResultsForResource : Microsoft.Azure.Management.PolicyInsights.IPolicyEventsOperations * string * Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PolicyInsights.Models.PolicyEvent>
<Extension()>
Public Function ListQueryResultsForResource (operations As IPolicyEventsOperations, resourceId As String, Optional queryOptions As QueryOptions = Nothing) As IPage(Of PolicyEvent)

参数

operations
IPolicyEventsOperations

此扩展方法的操作组。

resourceId
String

资源 ID。

queryOptions
QueryOptions

操作的其他参数

返回

适用于