Azure Serialconsole
Azure Serial Console is an API connector for managing serial console access to Azure virtual machines and virtual machine scale sets.
- 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
listoperations— GET /providers/Microsoft.SerialConsole/operations — Gets a list of Serial Console API operations.getconsolestatus— GET /subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default} — Get the disabled status for a subscriptiondisableconsole— POST /subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}/disableConsole — Disable Serial Console for a subscriptionenableconsole— POST /subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}/enableConsole — Enable Serial Console for 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: listoperations
# (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: listoperations, getconsolestatus, disableconsole, enableconsole |
default |
string | no | — | Path parameter default (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. |