Share via


PolicyEventsOperationsExtensions.ListQueryResultsForPolicySetDefinition Method

Definition

Queries policy events for the subscription level policy set definition.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PolicyInsights.Models.PolicyEvent> ListQueryResultsForPolicySetDefinition (this Microsoft.Azure.Management.PolicyInsights.IPolicyEventsOperations operations, string subscriptionId, string policySetDefinitionName, Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions queryOptions = default);
static member ListQueryResultsForPolicySetDefinition : 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 ListQueryResultsForPolicySetDefinition (operations As IPolicyEventsOperations, subscriptionId As String, policySetDefinitionName 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.

policySetDefinitionName
String

Policy set definition name.

queryOptions
QueryOptions

Additional parameters for the operation

Returns

Applies to