PowerControlMachine
Enterprise Edition Talk to us
PowerControlMachine
yaml
type: "io.kestra.plugin.ee.canonical.maas.PowerControlMachine"Examples
yaml
id: power_cycle_server
namespace: company.team
tasks:
- id: power_cycle_server
type: io.kestra.plugin.ee.canonical.maas.PowerControlMachine
url: "{{ secret('MAAS_URL') }}"
apiKey: "{{ secret('MAAS_API_KEY') }}"
systemId: "{{ outputs.deploy_ubuntu_server.systemId }}"
action: "cycle"
waitForPowerState: true
expectedState: "on"
timeout: PT5M
stopMode: "hard"
Properties
action *Requiredstring
Possible Values
ONOFFCYCLEQUERYapiKey *Requiredstring
systemId *Requiredstring
url *Requiredstring
expectedState string
stopMode string
timeout string
Default
PT5MwaitForPowerState booleanstring
Default
false