Asset VM
Certified
A virtual machine.
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.VMExamples
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: runningProperties
provider string
The cloud provider or hypervisor hosting the virtual machine, for example aws, gcp or vsphere.
region string
The region or zone the virtual machine runs in.
state string
The state of the virtual machine, for example running or stopped.