PolicyInsightsExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class to add extension methods to Azure.ResourceManager.PolicyInsights.
public static class PolicyInsightsExtensions
type PolicyInsightsExtensions = class
Public Module PolicyInsightsExtensions
- Inheritance
-
PolicyInsightsExtensions
Methods
CheckPolicyRestrictions(ManagementGroupResource, CheckManagementGroupPolicyRestrictionsContent, CancellationToken) |
Checks what restrictions Azure Policy will place on resources within a management group.
|
CheckPolicyRestrictions(ResourceGroupResource, CheckPolicyRestrictionsContent, CancellationToken) |
Checks what restrictions Azure Policy will place on a resource within a resource group. Use this when the resource group the resource will be created in is already known.
|
CheckPolicyRestrictions(SubscriptionResource, CheckPolicyRestrictionsContent, CancellationToken) |
Checks what restrictions Azure Policy will place on a resource within a subscription.
|
CheckPolicyRestrictionsAsync(ManagementGroupResource, CheckManagementGroupPolicyRestrictionsContent, CancellationToken) |
Checks what restrictions Azure Policy will place on resources within a management group.
|
CheckPolicyRestrictionsAsync(ResourceGroupResource, CheckPolicyRestrictionsContent, CancellationToken) |
Checks what restrictions Azure Policy will place on a resource within a resource group. Use this when the resource group the resource will be created in is already known.
|
CheckPolicyRestrictionsAsync(SubscriptionResource, CheckPolicyRestrictionsContent, CancellationToken) |
Checks what restrictions Azure Policy will place on a resource within a subscription.
|
GetAllPolicyMetadata(TenantResource) |
Gets a collection of PolicyMetadataResources in the TenantResource. MockingTo mock this method, please mock GetAllPolicyMetadata() instead. |
GetPolicyAttestation(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets an existing attestation at resource scope.
|
GetPolicyAttestationAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets an existing attestation at resource scope.
|
GetPolicyAttestationResource(ArmClient, ResourceIdentifier) |
Gets an object representing a PolicyAttestationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a PolicyAttestationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPolicyAttestationResource(ResourceIdentifier) instead. |
GetPolicyAttestations(ArmClient, ResourceIdentifier) |
Gets a collection of PolicyAttestationResources in the ArmClient. MockingTo mock this method, please mock GetPolicyAttestations(ResourceIdentifier) instead. |
GetPolicyEventQueryResults(ArmClient, ResourceIdentifier, PolicyEventType, PolicyQuerySettings, CancellationToken) |
Queries policy events for the resource.
|
GetPolicyEventQueryResults(ManagementGroupResource, PolicyEventType, PolicyQuerySettings, CancellationToken) |
Queries policy events for the resources under the management group.
|
GetPolicyEventQueryResults(PolicyAssignmentResource, PolicyEventType, PolicyQuerySettings, CancellationToken) |
Queries policy events for the subscription level or resource group level policy assignment.
|
GetPolicyEventQueryResults(ResourceGroupResource, PolicyEventType, PolicyQuerySettings, CancellationToken) |
Queries policy events for the resources under the resource group.
|
GetPolicyEventQueryResults(SubscriptionPolicyDefinitionResource, PolicyEventType, PolicyQuerySettings, CancellationToken) |
Queries policy events for the subscription level policy definition.
|
GetPolicyEventQueryResults(SubscriptionPolicySetDefinitionResource, PolicyEventType, PolicyQuerySettings, CancellationToken) |
Queries policy events for the subscription level policy set definition.
|
GetPolicyEventQueryResults(SubscriptionResource, PolicyEventType, PolicyQuerySettings, CancellationToken) |
Queries policy events for the resources under the subscription.
|
GetPolicyEventQueryResultsAsync(ArmClient, ResourceIdentifier, PolicyEventType, PolicyQuerySettings, CancellationToken) |
Queries policy events for the resource.
|
GetPolicyEventQueryResultsAsync(ManagementGroupResource, PolicyEventType, PolicyQuerySettings, CancellationToken) |
Queries policy events for the resources under the management group.
|
GetPolicyEventQueryResultsAsync(PolicyAssignmentResource, PolicyEventType, PolicyQuerySettings, CancellationToken) |
Queries policy events for the subscription level or resource group level policy assignment.
|
GetPolicyEventQueryResultsAsync(ResourceGroupResource, PolicyEventType, PolicyQuerySettings, CancellationToken) |
Queries policy events for the resources under the resource group.
|
GetPolicyEventQueryResultsAsync(SubscriptionPolicyDefinitionResource, PolicyEventType, PolicyQuerySettings, CancellationToken) |
Queries policy events for the subscription level policy definition.
|
GetPolicyEventQueryResultsAsync(SubscriptionPolicySetDefinitionResource, PolicyEventType, PolicyQuerySettings, CancellationToken) |
Queries policy events for the subscription level policy set definition.
|
GetPolicyEventQueryResultsAsync(SubscriptionResource, PolicyEventType, PolicyQuerySettings, CancellationToken) |
Queries policy events for the resources under the subscription.
|
GetPolicyMetadata(TenantResource, String, CancellationToken) |
Get policy metadata resource.
|
GetPolicyMetadataAsync(TenantResource, String, CancellationToken) |
Get policy metadata resource.
|
GetPolicyMetadataResource(ArmClient, ResourceIdentifier) |
Gets an object representing a PolicyMetadataResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a PolicyMetadataResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPolicyMetadataResource(ResourceIdentifier) instead. |
GetPolicyRemediation(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets an existing remediation at resource scope.
|
GetPolicyRemediationAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets an existing remediation at resource scope.
|
GetPolicyRemediationResource(ArmClient, ResourceIdentifier) |
Gets an object representing a PolicyRemediationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a PolicyRemediationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPolicyRemediationResource(ResourceIdentifier) instead. |
GetPolicyRemediations(ArmClient, ResourceIdentifier) |
Gets a collection of PolicyRemediationResources in the ArmClient. MockingTo mock this method, please mock GetPolicyRemediations(ResourceIdentifier) instead. |
GetPolicyStateQueryResults(ArmClient, ResourceIdentifier, PolicyStateType, PolicyQuerySettings, CancellationToken) |
Queries policy states for the resource.
|
GetPolicyStateQueryResults(ManagementGroupResource, PolicyStateType, PolicyQuerySettings, CancellationToken) |
Queries policy states for the resources under the management group.
|
GetPolicyStateQueryResults(PolicyAssignmentResource, PolicyStateType, PolicyQuerySettings, CancellationToken) |
Queries policy states for the subscription level or resource group level policy assignment.
|
GetPolicyStateQueryResults(ResourceGroupResource, PolicyStateType, PolicyQuerySettings, CancellationToken) |
Queries policy states for the resources under the resource group.
|
GetPolicyStateQueryResults(SubscriptionPolicyDefinitionResource, PolicyStateType, PolicyQuerySettings, CancellationToken) |
Queries policy states for the subscription level policy definition.
|
GetPolicyStateQueryResults(SubscriptionPolicySetDefinitionResource, PolicyStateType, PolicyQuerySettings, CancellationToken) |
Queries policy states for the subscription level policy set definition.
|
GetPolicyStateQueryResults(SubscriptionResource, PolicyStateType, PolicyQuerySettings, CancellationToken) |
Queries policy states for the resources under the subscription.
|
GetPolicyStateQueryResultsAsync(ArmClient, ResourceIdentifier, PolicyStateType, PolicyQuerySettings, CancellationToken) |
Queries policy states for the resource.
|
GetPolicyStateQueryResultsAsync(ManagementGroupResource, PolicyStateType, PolicyQuerySettings, CancellationToken) |
Queries policy states for the resources under the management group.
|
GetPolicyStateQueryResultsAsync(PolicyAssignmentResource, PolicyStateType, PolicyQuerySettings, CancellationToken) |
Queries policy states for the subscription level or resource group level policy assignment.
|
GetPolicyStateQueryResultsAsync(ResourceGroupResource, PolicyStateType, PolicyQuerySettings, CancellationToken) |
Queries policy states for the resources under the resource group.
|
GetPolicyStateQueryResultsAsync(SubscriptionPolicyDefinitionResource, PolicyStateType, PolicyQuerySettings, CancellationToken) |
Queries policy states for the subscription level policy definition.
|
GetPolicyStateQueryResultsAsync(SubscriptionPolicySetDefinitionResource, PolicyStateType, PolicyQuerySettings, CancellationToken) |
Queries policy states for the subscription level policy set definition.
|
GetPolicyStateQueryResultsAsync(SubscriptionResource, PolicyStateType, PolicyQuerySettings, CancellationToken) |
Queries policy states for the resources under the subscription.
|
GetPolicyTrackedResourceQueryResults(ArmClient, ResourceIdentifier, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken) |
Queries policy tracked resources under the resource.
|
GetPolicyTrackedResourceQueryResults(ManagementGroupResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken) |
Queries policy tracked resources under the management group.
|
GetPolicyTrackedResourceQueryResults(ResourceGroupResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken) |
Queries policy tracked resources under the resource group.
|
GetPolicyTrackedResourceQueryResults(SubscriptionResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken) |
Queries policy tracked resources under the subscription.
|
GetPolicyTrackedResourceQueryResultsAsync(ArmClient, ResourceIdentifier, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken) |
Queries policy tracked resources under the resource.
|
GetPolicyTrackedResourceQueryResultsAsync(ManagementGroupResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken) |
Queries policy tracked resources under the management group.
|
GetPolicyTrackedResourceQueryResultsAsync(ResourceGroupResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken) |
Queries policy tracked resources under the resource group.
|
GetPolicyTrackedResourceQueryResultsAsync(SubscriptionResource, PolicyTrackedResourceType, PolicyQuerySettings, CancellationToken) |
Queries policy tracked resources under the subscription.
|
SummarizePolicyStates(ArmClient, ResourceIdentifier, PolicyStateSummaryType, PolicyQuerySettings, CancellationToken) |
Summarizes policy states for the resource.
|
SummarizePolicyStates(ManagementGroupResource, PolicyStateSummaryType, PolicyQuerySettings, CancellationToken) |
Summarizes policy states for the resources under the management group.
|
SummarizePolicyStates(PolicyAssignmentResource, PolicyStateSummaryType, PolicyQuerySettings, CancellationToken) |
Summarizes policy states for the subscription level or resource group level policy assignment.
|
SummarizePolicyStates(ResourceGroupResource, PolicyStateSummaryType, PolicyQuerySettings, CancellationToken) |
Summarizes policy states for the resources under the resource group.
|
SummarizePolicyStates(SubscriptionPolicyDefinitionResource, PolicyStateSummaryType, PolicyQuerySettings, CancellationToken) |
Summarizes policy states for the subscription level policy definition.
|
SummarizePolicyStates(SubscriptionPolicySetDefinitionResource, PolicyStateSummaryType, PolicyQuerySettings, CancellationToken) |
Summarizes policy states for the subscription level policy set definition.
|
SummarizePolicyStates(SubscriptionResource, PolicyStateSummaryType, PolicyQuerySettings, CancellationToken) |
Summarizes policy states for the resources under the subscription.
|
SummarizePolicyStatesAsync(ArmClient, ResourceIdentifier, PolicyStateSummaryType, PolicyQuerySettings, CancellationToken) |
Summarizes policy states for the resource.
|
SummarizePolicyStatesAsync(ManagementGroupResource, PolicyStateSummaryType, PolicyQuerySettings, CancellationToken) |
Summarizes policy states for the resources under the management group.
|
SummarizePolicyStatesAsync(PolicyAssignmentResource, PolicyStateSummaryType, PolicyQuerySettings, CancellationToken) |
Summarizes policy states for the subscription level or resource group level policy assignment.
|
SummarizePolicyStatesAsync(ResourceGroupResource, PolicyStateSummaryType, PolicyQuerySettings, CancellationToken) |
Summarizes policy states for the resources under the resource group.
|
SummarizePolicyStatesAsync(SubscriptionPolicyDefinitionResource, PolicyStateSummaryType, PolicyQuerySettings, CancellationToken) |
Summarizes policy states for the subscription level policy definition.
|
SummarizePolicyStatesAsync(SubscriptionPolicySetDefinitionResource, PolicyStateSummaryType, PolicyQuerySettings, CancellationToken) |
Summarizes policy states for the subscription level policy set definition.
|
SummarizePolicyStatesAsync(SubscriptionResource, PolicyStateSummaryType, PolicyQuerySettings, CancellationToken) |
Summarizes policy states for the resources under the subscription.
|
TriggerPolicyStateEvaluation(ResourceGroupResource, WaitUntil, CancellationToken) |
Triggers a policy evaluation scan for all the resources under the resource group.
|
TriggerPolicyStateEvaluation(SubscriptionResource, WaitUntil, CancellationToken) |
Triggers a policy evaluation scan for all the resources under the subscription
|
TriggerPolicyStateEvaluationAsync(ResourceGroupResource, WaitUntil, CancellationToken) |
Triggers a policy evaluation scan for all the resources under the resource group.
|
TriggerPolicyStateEvaluationAsync(SubscriptionResource, WaitUntil, CancellationToken) |
Triggers a policy evaluation scan for all the resources under the subscription
|