Share via


PolicyEventsOperationsExtensions.ListQueryResultsForResourceGroup Method

Definition

Queries policy events for the resources under the resource group.

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

Parameters

operations
IPolicyEventsOperations

The operations group for this extension method.

subscriptionId
String

Microsoft Azure subscription ID.

resourceGroupName
String

Resource group name.

queryOptions
QueryOptions

Additional parameters for the operation

Returns

Applies to