Azure Resources Policydefinitions
Connector for the azure-resources-policydefinitions 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
policydefinitions_listbuiltin— GET /providers/Microsoft.Authorization/policyDefinitions — Retrieve built-in policy definitionspolicydefinitions_getbuiltin— GET /providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName} — Retrieves a built-in policy definition.policydefinitions_listbymanagementgroup— GET /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions — Retrieve policy definitions in a management grouppolicydefinitions_getatmanagementgroup— GET /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName} — Retrieve a policy definition in a management group.policydefinitions_list— GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions — Retrieves policy definitions in a subscriptionpolicydefinitions_get— GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName} — Retrieves a policy definition in a subscription.
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: policydefinitions_listbuiltin
# (attach an 'oauth' credential to the task — no inline secrets)