Files
formae-plugin-proxmox/schema/pkl/proxmox.pkl
ManInDark 0fa3f22f25
Some checks failed
CI / build (push) Failing after 4m34s
CI / lint (push) Failing after 2m57s
CI / pkl-validate (push) Successful in 1m16s
CI / integration-tests (push) Has been skipped
CI / conformance-tests (latest) (push) Has been skipped
fix: ostemplate update recreate
2026-01-31 21:58:31 +01:00

40 lines
676 B
Plaintext

module proxmox
import "@formae/formae.pkl"
open class Config {
hidden fixed type: String = "SFTP"
url: String
node: String
fixed Type: String = type
fixed Url: String = url
fixed Node: String = node
}
@formae.ResourceHint {
type = "PROXMOX::Service::LXC"
identifier = "$.vmid"
discoverable = true
}
class LXC extends formae.Resource {
fixed hidden type: String = "PROXMOX::Service::LXC"
@formae.FieldHint { createOnly = true }
vmid: String
@formae.FieldHint {
writeOnly = true
}
ostemplate: String?
@formae.FieldHint {}
hostname: String
@formae.FieldHint {}
description: String?
}