Azure Billing
Azure Billing is the Microsoft Azure service and API area for managing cloud billing accounts, invoices, subscriptions, and payment-related cost information.
- 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
billingaccounts_list— GET /providers/Microsoft.Billing/billingAccounts — Lists all billing accounts for a user which he has access to.billingaccounts_get— GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName} — Get the billing account by id.agreements_listbybillingaccount— GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements — Lists all agreements for a billing account.agreements_get— GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements/{agreementName} — Get the agreement by name.billingpermissions_listbybillingaccount— GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingPermissions — Lists all billing permissions for the caller under a billing account.billingprofiles_listbybillingaccount— GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles — Lists all billing profiles for a user which that user has access to.
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: billingaccounts_list
# (attach an 'oauth' credential to the task — no inline secrets)
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: billingaccounts_list, billingaccounts_get, agreements_listbybillingaccount, agreements_get, billingpermissions_listbybillingaccount, billingprofiles_listbybillingaccount |
agreementName |
string | no | — | Path parameter agreementName (required by some operations). |
billingAccountName |
string | no | — | Path parameter billingAccountName (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |