feat: add vm power actions
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package jobs
|
||||
|
||||
const TypeProxmoxTaskPoll = "proxmox.task.poll"
|
||||
|
||||
type ProxmoxTaskPollPayload struct {
|
||||
ClusterID string `json:"cluster_id"`
|
||||
Node string `json:"node"`
|
||||
UPID string `json:"upid"`
|
||||
TargetType string `json:"target_type"`
|
||||
TargetID string `json:"target_id"`
|
||||
TenantID string `json:"tenant_id"`
|
||||
ProfileID string `json:"profile_id,omitempty"`
|
||||
Action string `json:"action"`
|
||||
SuccessStatus string `json:"success_status"`
|
||||
}
|
||||
Reference in New Issue
Block a user