Azure Kubernetes Service · Arazzo Workflow
Azure Kubernetes Service Run Command on Cluster
Version 1.0.0
Confirm a cluster is provisioned, then run a kubectl command against it via the AKS command runner.
Provider
Workflows
run-command-on-cluster
Verify a cluster is ready, then run a command against it through the AKS command runner.
Reads ManagedClusters_Get to confirm readiness, then submits ManagedClusters_RunCommand and captures the command result.
1
confirmReady
ManagedClusters_Get
Read the cluster and confirm provisioningState is Succeeded before attempting to run a command against it.
2
runCommand
ManagedClusters_RunCommand
Submit the command to the AKS command runner. The command field is required; a 200 indicates the command completed synchronously and the result carries exitCode and logs.