Azure Resources Policy
Connector for the azure-resources-policy API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://management.azure.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
policyassignments_list— GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyassignments — Gets all the policy assignments for a subscription.policydefinitions_list— GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policydefinitions — Gets all the policy definitions for a subscription.policydefinitions_get— GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policydefinitions/{policyDefinitionName} — Gets the policy definition.policyassignments_listforresourcegroup— GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments — Gets policy assignments for the resource group.policyassignments_listforresource— GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyassignments — Gets policy assignments for a resource.policyassignments_getbyid— GET /{policyAssignmentId} — Gets a policy assignment by ID.
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it 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
Example
operation: policyassignments_list
# (attach an 'oauth' credential to the task — no inline secrets)