PolicyEvents interface
Interface representing a PolicyEvents.
Methods
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.
The options parameters.
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.
The options parameters.
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.
The options parameters.
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.
The options parameters.
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.
The options parameters.
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.
The options parameters.
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.
The options parameters.
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.
The options parameters.