Azure Marketplaceordering Agreements
Azure Marketplace Ordering Agreements is an Azure API area for retrieving and accepting marketplace purchase agreements for Azure offers.
- 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
operations_list— GET /providers/Microsoft.MarketplaceOrdering/operations — Lists all of the available Microsoft.MarketplaceOrdering REST API operations.marketplaceagreements_list— GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements — List marketplace agreements in the subscription.marketplaceagreements_getagreement— GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId} — Get marketplace agreement.marketplaceagreements_get— GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current — Get marketplace terms.marketplaceagreements_cancel— POST /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/cancel — Cancel marketplace terms.marketplaceagreements_sign— POST /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/sign — Sign marketplace terms.
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: operations_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: operations_list, marketplaceagreements_list, marketplaceagreements_getagreement, marketplaceagreements_get, marketplaceagreements_cancel, marketplaceagreements_sign |
offerId |
string | no | — | Path parameter offerId (required by some operations). |
offerType |
string | no | — | Path parameter offerType (required by some operations). |
planId |
string | no | — | Path parameter planId (required by some operations). |
publisherId |
string | no | — | Path parameter publisherId (required by some operations). |
subscriptionId |
string | no | — | Path parameter subscriptionId (required by some operations). |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |