Azure Advisor
Azure Advisor is a Microsoft Azure recommendation service that analyzes Azure resources and suggests improvements for reliability, security, performance, cost, and operations.
- 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
recommendationmetadata_list— GET /providers/Microsoft.Advisor/metadata — Gets the list of metadata entities.recommendationmetadata_get— GET /providers/Microsoft.Advisor/metadata/{name} — Gets the metadata entity.operations_list— GET /providers/Microsoft.Advisor/operations — Lists all the available Advisor REST API operations.configurations_listbysubscription— GET /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations — Retrieve Azure Advisor configurations.recommendations_getgeneratestatus— GET /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/generateRecommendations/{operationId} — Retrieves the status of the recommendation computation or generation process. Inrecommendations_list— GET /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/recommendations — Obtains cached recommendations for a subscription. The recommendations are gener
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: recommendationmetadata_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: recommendationmetadata_list, recommendationmetadata_get, operations_list, configurations_listbysubscription, recommendations_getgeneratestatus, recommendations_list |
name |
string | no | — | Path parameter name (required by some operations). |
operationId |
string | no | — | Path parameter operationId (required by some operations). |
subscriptionId |
string | no | — | Path parameter subscriptionId (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |