Azure Resources Policyassignments
Connector for the azure-resources-policyassignments 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 — Retrieves all policy assignments that apply to a subscription.policyassignments_listforresourcegroup— GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments — Retrieves all policy assignments that apply to a resource group.policyassignments_listforresource— GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments — Retrieves all policy assignments that apply to a resource.policyassignments_getbyid— GET /{policyAssignmentId} — Retrieves the policy assignment with the given ID.policyassignments_get— GET /{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName} — Retrieves a policy assignment.policyassignments_createbyid— PUT /{policyAssignmentId} — Creates or updates a policy assignment.
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)