Files
formae-plugin-proxmox/schema/pkl/proxmox.pkl
ManInDark 948361bb4d
Some checks failed
CI / lint (push) Has been cancelled
CI / pkl-validate (push) Has been cancelled
CI / integration-tests (push) Has been cancelled
CI / conformance-tests (latest) (push) Has been cancelled
CI / build (push) Has been cancelled
fix: discoverable?
2026-01-31 18:32:54 +01:00

41 lines
719 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 {
createOnly = true
writeOnly = true
}
ostemplate: String
@formae.FieldHint {}
hostname: String
@formae.FieldHint {}
description: String = "No description"
}