Files
formae-plugin-proxmox/schema/pkl/proxmox.pkl
ManInDark fd0be6d493
Some checks failed
CI / build (push) Failing after 3m51s
CI / lint (push) Failing after 3m25s
CI / pkl-validate (push) Successful in 24s
CI / integration-tests (push) Has been skipped
CI / conformance-tests (latest) (push) Has been skipped
fix: rename type
2026-02-05 17:54:05 +01:00

47 lines
775 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::Compute::LXC"
identifier = "$.vmid"
discoverable = true
}
class LXC extends formae.Resource {
fixed hidden type: String = "PROXMOX::Compute::LXC"
@formae.FieldHint { createOnly = true }
vmid: String
@formae.FieldHint {}
ostemplate: String?
@formae.FieldHint {}
hostname: String
@formae.FieldHint {}
description: String?
@formae.FieldHint {}
cores: Int
@formae.FieldHint {}
memory: Int
@formae.FieldHint {}
onboot: Int = 0
}