Azure Policy Insights
Azure Policy Insights management API — 23 operations consolidated from 5 Microsoft OpenAPI specs into one connector.
- Base URL:
https://management.azure.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. The server refreshes the access token before each run.
Consolidated from 5 spec-per-resource-provider connectors; every operation from every one of them is preserved. The superseded names still resolve.
Operations
operations_list— GET /providers/Microsoft.PolicyInsights/operationspolicyevents_getmetadata— GET /{scope}/providers/Microsoft.PolicyInsights/policyEvents/$metadatapolicyevents_listqueryresultsformanagementgroup— POST /providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResultspolicyevents_listqueryresultsforpolicydefinition— POST /subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResultspolicyevents_listqueryresultsforpolicysetdefinit— POST /subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResultspolicyevents_listqueryresultsforsubscription— POST /subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResultspolicyevents_listqueryresultsforsubscriptionleve— POST /subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResultspolicymetadata_getresource— GET /providers/Microsoft.PolicyInsights/policyMetadata/{resourceName}policymetadata_list— GET /providers/Microsoft.PolicyInsights/policyMetadatapolicystates_getmetadata— GET /{scope}/providers/Microsoft.PolicyInsights/policyStates/$metadatapolicystates_listqueryresultsformanagementgroup— POST /providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResultspolicystates_listqueryresultsforsubscription— POST /subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResultspolicystates_summarizeformanagementgroup— POST /providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarizepolicystates_summarizeforsubscription— POST /subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarizepolicytrackedresources_listqueryresultsformanage— POST /providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResultspolicytrackedresources_listqueryresultsforresour— POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResultspolicytrackedresources_listqueryresultsforsubscr— POST /subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResultsremediations_getatmanagementgroup— GET /providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}remediations_getatresourcegroup— GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}remediations_getatsubscription— GET /subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}remediations_listformanagementgroup— GET /providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediationsremediations_listforresourcegroup— GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediationsremediations_listforsubscription— GET /subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations
Inputs
- a linked
oauthcredential (no key inputs) operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: operations_list, policyevents_getmetadata, policyevents_listqueryresultsformanagementgroup, policyevents_listqueryresultsforpolicydefinition, policyevents_listqueryresultsforpolicysetdefinit, policyevents_listqueryresultsforsubscription, policyevents_listqueryresultsforsubscriptionleve, policymetadata_getresource, policymetadata_list, policystates_getmetadata, policystates_listqueryresultsformanagementgroup, policystates_listqueryresultsforsubscription, policystates_summarizeformanagementgroup, policystates_summarizeforsubscription, policytrackedresources_listqueryresultsformanage, policytrackedresources_listqueryresultsforresour, policytrackedresources_listqueryresultsforsubscr, remediations_getatmanagementgroup, remediations_getatresourcegroup, remediations_getatsubscription, remediations_listformanagementgroup, remediations_listforresourcegroup, remediations_listforsubscription |
authorizationNamespace |
string | no | — | Path parameter authorizationNamespace (required by some operations). |
managementGroupId |
string | no | — | Path parameter managementGroupId (required by some operations). |
managementGroupName |
string | no | — | Path parameter managementGroupName (required by some operations). |
managementGroupsNamespace |
string | no | — | Path parameter managementGroupsNamespace (required by some operations). |
policyAssignmentName |
string | no | — | Path parameter policyAssignmentName (required by some operations). |
policyDefinitionName |
string | no | — | Path parameter policyDefinitionName (required by some operations). |
policyEventsResource |
string | no | — | Path parameter policyEventsResource (required by some operations). |
policySetDefinitionName |
string | no | — | Path parameter policySetDefinitionName (required by some operations). |
policyStatesResource |
string | no | — | Path parameter policyStatesResource (required by some operations). |
policyStatesSummaryResource |
string | no | — | Path parameter policyStatesSummaryResource (required by some operations). |
policyTrackedResourcesResource |
string | no | — | Path parameter policyTrackedResourcesResource (required by some operations). |
remediationName |
string | no | — | Path parameter remediationName (required by some operations). |
resourceGroupName |
string | no | — | Path parameter resourceGroupName (required by some operations). |
resourceName |
string | no | — | Path parameter resourceName (required by some operations). |
subscriptionId |
string | no | — | Path parameter subscriptionId (required by some operations). |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |