PolicyEvents interface

Interface representing a PolicyEvents.

Methods

listQueryResultsForManagementGroup(string, PolicyEventsListQueryResultsForManagementGroupOptionalParams)

Queries policy events for the resources under the management group.

listQueryResultsForPolicyDefinition(string, string, PolicyEventsListQueryResultsForPolicyDefinitionOptionalParams)

Queries policy events for the subscription level policy definition.

listQueryResultsForPolicySetDefinition(string, string, PolicyEventsListQueryResultsForPolicySetDefinitionOptionalParams)

Queries policy events for the subscription level policy set definition.

listQueryResultsForResource(string, PolicyEventsListQueryResultsForResourceOptionalParams)

Queries policy events for the resource.

listQueryResultsForResourceGroup(string, string, PolicyEventsListQueryResultsForResourceGroupOptionalParams)

Queries policy events for the resources under the resource group.

listQueryResultsForResourceGroupLevelPolicyAssignment(string, string, string, PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams)

Queries policy events for the resource group level policy assignment.

listQueryResultsForSubscription(string, PolicyEventsListQueryResultsForSubscriptionOptionalParams)

Queries policy events for the resources under the subscription.

listQueryResultsForSubscriptionLevelPolicyAssignment(string, string, PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams)

Queries policy events for the subscription level policy assignment.

Method Details

listQueryResultsForManagementGroup(string, PolicyEventsListQueryResultsForManagementGroupOptionalParams)

Queries policy events for the resources under the management group.

function listQueryResultsForManagementGroup(managementGroupName: string, options?: PolicyEventsListQueryResultsForManagementGroupOptionalParams): PagedAsyncIterableIterator<PolicyEvent, PolicyEvent[], PageSettings>

Parameters

managementGroupName

string

Management group name.

Returns

listQueryResultsForPolicyDefinition(string, string, PolicyEventsListQueryResultsForPolicyDefinitionOptionalParams)

Queries policy events for the subscription level policy definition.

function listQueryResultsForPolicyDefinition(subscriptionId: string, policyDefinitionName: string, options?: PolicyEventsListQueryResultsForPolicyDefinitionOptionalParams): PagedAsyncIterableIterator<PolicyEvent, PolicyEvent[], PageSettings>

Parameters

subscriptionId

string

Microsoft Azure subscription ID.

policyDefinitionName

string

Policy definition name.

Returns

listQueryResultsForPolicySetDefinition(string, string, PolicyEventsListQueryResultsForPolicySetDefinitionOptionalParams)

Queries policy events for the subscription level policy set definition.

function listQueryResultsForPolicySetDefinition(subscriptionId: string, policySetDefinitionName: string, options?: PolicyEventsListQueryResultsForPolicySetDefinitionOptionalParams): PagedAsyncIterableIterator<PolicyEvent, PolicyEvent[], PageSettings>

Parameters

subscriptionId

string

Microsoft Azure subscription ID.

policySetDefinitionName

string

Policy set definition name.

Returns

listQueryResultsForResource(string, PolicyEventsListQueryResultsForResourceOptionalParams)

Queries policy events for the resource.

function listQueryResultsForResource(resourceId: string, options?: PolicyEventsListQueryResultsForResourceOptionalParams): PagedAsyncIterableIterator<PolicyEvent, PolicyEvent[], PageSettings>

Parameters

resourceId

string

Resource ID.

Returns

listQueryResultsForResourceGroup(string, string, PolicyEventsListQueryResultsForResourceGroupOptionalParams)

Queries policy events for the resources under the resource group.

function listQueryResultsForResourceGroup(subscriptionId: string, resourceGroupName: string, options?: PolicyEventsListQueryResultsForResourceGroupOptionalParams): PagedAsyncIterableIterator<PolicyEvent, PolicyEvent[], PageSettings>

Parameters

subscriptionId

string

Microsoft Azure subscription ID.

resourceGroupName

string

Resource group name.

Returns

listQueryResultsForResourceGroupLevelPolicyAssignment(string, string, string, PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams)

Queries policy events for the resource group level policy assignment.

function listQueryResultsForResourceGroupLevelPolicyAssignment(subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams): PagedAsyncIterableIterator<PolicyEvent, PolicyEvent[], PageSettings>

Parameters

subscriptionId

string

Microsoft Azure subscription ID.

resourceGroupName

string

Resource group name.

policyAssignmentName

string

Policy assignment name.

Returns

listQueryResultsForSubscription(string, PolicyEventsListQueryResultsForSubscriptionOptionalParams)

Queries policy events for the resources under the subscription.

function listQueryResultsForSubscription(subscriptionId: string, options?: PolicyEventsListQueryResultsForSubscriptionOptionalParams): PagedAsyncIterableIterator<PolicyEvent, PolicyEvent[], PageSettings>

Parameters

subscriptionId

string

Microsoft Azure subscription ID.

Returns

listQueryResultsForSubscriptionLevelPolicyAssignment(string, string, PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams)

Queries policy events for the subscription level policy assignment.

function listQueryResultsForSubscriptionLevelPolicyAssignment(subscriptionId: string, policyAssignmentName: string, options?: PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams): PagedAsyncIterableIterator<PolicyEvent, PolicyEvent[], PageSettings>

Parameters

subscriptionId

string

Microsoft Azure subscription ID.

policyAssignmentName

string

Policy assignment name.

Returns