Sdílet prostřednictvím


PolicyEventsOperationsExtensions.ListQueryResultsForPolicyDefinition Method

Definition

Queries policy events for the subscription level policy definition.

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

policyDefinitionName
String

Policy definition name.

queryOptions
QueryOptions

Additional parameters for the operation

Returns

Applies to