Azure StartComputeInstance

Azure StartComputeInstance

Certified

Start an Azure Machine Learning compute instance

Starts a stopped compute instance and, by default, waits until it reports RUNNING. A no-op, without error, when the instance is already running.

yaml
type: io.kestra.plugin.azure.ml.StartComputeInstance
yaml
id: azure_ml_start_compute_instance
namespace: company.team

tasks:
  - id: start
    type: io.kestra.plugin.azure.ml.StartComputeInstance
    tenantId: "{{ secret('AZURE_TENANT_ID') }}"
    clientId: "{{ secret('AZURE_CLIENT_ID') }}"
    clientSecret: "{{ secret('AZURE_CLIENT_SECRET') }}"
    subscriptionId: "{{ secret('AZURE_SUBSCRIPTION_ID') }}"
    resourceGroupName: ml-rg
    workspaceName: ml-workspace
    computeName: dev-instance
Properties

Compute instance name

Resource group name

Resource group containing the Machine Learning workspace

Subscription ID

Azure subscription GUID that owns the Machine Learning workspace

Azure AD tenant ID (GUID)

Workspace name

Name of the Azure Machine Learning workspace

Default{ "maxDuration": "PT10M", "interval": "PT10S" }

Polling frequency

Interval and max duration used when wait=true

Definitions
intervalstring
DefaultPT10S

Polling interval

Delay between status checks; defaults to PT10S

maxDurationstring
DefaultPT10M

Max wait duration

Stop polling and fail after this duration; defaults to PT10M

Client ID of the Azure AD application

Application (client) ID used for service principal authentication.

Client secret for the Azure AD application

Secret value associated with the client ID; store in a Kestra secret.

PEM-encoded certificate content for client authentication

PEM text for certificate-based auth; alternative to clientSecret.

Defaulttrue

Wait for the target state

If true (default), poll until the compute instance actually reaches the target state

Compute instance name

Compute instance state

Observed state after the action; null when wait=false