PolicyEventsOperationsExtensions.ListQueryResultsForSubscriptionLevelPolicyAssignment(IPolicyEventsOperations, String, String, QueryOptions) Method

Definition

Queries policy events for the subscription level policy assignment.

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

Parameters

operations
IPolicyEventsOperations

The operations group for this extension method.

subscriptionId
System.String

Microsoft Azure subscription ID.

policyAssignmentName
System.String

Policy assignment name.

queryOptions
QueryOptions

Additional parameters for the operation

Returns

IPage<PolicyEvent>

Applies to