Asset VM

Asset VM

Certified

A virtual machine.

Declares a virtual machine that a task provisions or manages. provider, region and state are stored in the metadata of the asset, so they can be matched with metadataQuery on an asset trigger.

yaml
type: io.kestra.plugin.ee.assets.VM

Register the virtual machine a task has provisioned.

yaml
id: provision_vm
namespace: company.infra

tasks:
  - id: provision
    type: io.kestra.plugin.core.log.Log
    message: Provisioning web-01
    assets:
      outputs:
        - type: io.kestra.plugin.ee.assets.VM
          id: web-01
          displayName: Web server 01
          provider: aws
          region: eu-west-1
          state: running
Properties

The cloud provider or hypervisor hosting the virtual machine, for example aws, gcp or vsphere.

The region or zone the virtual machine runs in.

The state of the virtual machine, for example running or stopped.