Microsoft Azure

Azure Policyinsights: Component Policy States

Query component policy states at varying resource scopes for Resource Provider mode policies.

Developer tools#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Query component policy states at varying resource scopes for Resource Provider mode policies.

Endpoints 6

  • POSTComponentPolicyStates_ListQueryResultsForSubscription/subscriptions/:subscriptionId/providers/Microsoft.PolicyInsights/componentPolicyStates/:componentPolicyStatesResource/queryResults?api-version=string&$top=0&$orderby=string&$select=string&$from=2024-01-01T00:00:00Z&$to=2024-01-01T00:00:00Z&$filter=string&$apply=stringQueries component policy states under subscription scope.
  • POSTComponentPolicyStates_ListQueryResultsForResourceGroup/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.PolicyInsights/componentPolicyStates/:componentPolicyStatesResource/queryResults?api-version=string&$top=0&$orderby=string&$select=string&$from=2024-01-01T00:00:00Z&$to=2024-01-01T00:00:00Z&$filter=string&$apply=stringQueries component policy states under resource group scope.
  • POSTComponentPolicyStates_ListQueryResultsForResource/:resourceId/providers/Microsoft.PolicyInsights/componentPolicyStates/:componentPolicyStatesResource/queryResults?api-version=string&$top=0&$orderby=string&$select=string&$from=2024-01-01T00:00:00Z&$to=2024-01-01T00:00:00Z&$filter=string&$apply=string&$expand=stringQueries component policy states for the resource.
  • POSTComponentPolicyStates_ListQueryResultsForPolicyDefinition/subscriptions/:subscriptionId/providers/:authorizationNamespace/policyDefinitions/:policyDefinitionName/providers/Microsoft.PolicyInsights/componentPolicyStates/:componentPolicyStatesResource/queryResults?api-version=string&$top=0&$orderby=string&$select=string&$from=2024-01-01T00:00:00Z&$to=2024-01-01T00:00:00Z&$filter=string&$apply=stringQueries component policy states for the subscription level policy definition.
  • POSTComponentPolicyStates_ListQueryResultsForSubscriptionLevelPolicyAssignment/subscriptions/:subscriptionId/providers/:authorizationNamespace/policyAssignments/:policyAssignmentName/providers/Microsoft.PolicyInsights/componentPolicyStates/:componentPolicyStatesResource/queryResults?api-version=string&$top=0&$orderby=string&$select=string&$from=2024-01-01T00:00:00Z&$to=2024-01-01T00:00:00Z&$filter=string&$apply=stringQueries component policy states for the subscription level policy assignment.
  • POSTComponentPolicyStates_ListQueryResultsForResourceGroupLevelPolicyAssignment/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/:authorizationNamespace/policyAssignments/:policyAssignmentName/providers/Microsoft.PolicyInsights/componentPolicyStates/:componentPolicyStatesResource/queryResults?api-version=string&$top=0&$orderby=string&$select=string&$from=2024-01-01T00:00:00Z&$to=2024-01-01T00:00:00Z&$filter=string&$apply=stringQueries component policy states for the resource group level policy assignment.

API details

Base URL
https://management.azure.com
Authentication
OAuth 2.0 (implicit flow) with 1 scope
Operations
6 operations on 6 pathsPOST 6
Response formats
application/json
Description format
Swagger 2.0, API version 2022-04-01

How to test the Azure Policyinsights: Component Policy States in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Policyinsights: Component Policy States collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “ComponentPolicyStates_ListQueryResultsForSubscription” (POST /subscriptions/:subscriptionId/providers/Microsoft.PolicyInsights/componentPolicyStates/:componentPolicyStatesResource/queryResults?api-version=string&$top=0&$orderby=string&$select=string&$from=2024-01-01T00:00:00Z&$to=2024-01-01T00:00:00Z&$filter=string&$apply=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Azure Policyinsights: Component Policy States?

Query component policy states at varying resource scopes for Resource Provider mode policies. It is listed under Developer tools and has 6 endpoints.

Who publishes the Azure Policyinsights: Component Policy States?

It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Azure Policyinsights: Component Policy States?

Requests go to https://management.azure.com. Endpoint paths are added to this base URL.

How do I authenticate with the Azure Policyinsights: Component Policy States?

With OAuth 2.0 (implicit flow) with 1 scope.

How many endpoints does the Azure Policyinsights: Component Policy States have?

6 operations on 6 paths (6 POST).

Is forking the Azure Policyinsights: Component Policy States free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.