ProxmoxAutoInstallToml
Proxmox VE automated installation answer file model. See: https://pve.proxmox.com/wiki/Automated_Installation Validate with: proxmox-auto-install-assistant validate-answer answer.toml
public class ProxmoxAutoInstallToml
1. Properties
1.1. DiskSetupSettings
[DataMember(Name = "disk-setup")]
public ProxmoxAutoInstallToml.DiskSetup DiskSetupSettings { get; set; }
1.2. FirstBootSettings
Optional. Specify executable to run first time after boot (e.g., NETSetup).
[DataMember(Name = "first-boot")]
public ProxmoxAutoInstallToml.FirstBoot FirstBootSettings { get; set; }
1.3. GlobalSettings
[DataMember(Name = "global")]
public ProxmoxAutoInstallToml.Global GlobalSettings { get; set; }
1.4. NetworkSettings
[DataMember(Name = "network")]
public ProxmoxAutoInstallToml.Network NetworkSettings { get; set; }
1.5. Options
public static TomlModelOptions Options { get; }
1.6. PostInstallationWebhookSettings
Optional. Sends a POST request with the system information to a URL after installation.
[DataMember(Name = "post-installation-webhook")]
public ProxmoxAutoInstallToml.PostInstallationWebhook PostInstallationWebhookSettings { get; set; }
2. Methods
2.1. ThrowIfNotValidated(string)
public static void ThrowIfNotValidated(string tomlText)
| Name | Type | Description |
|---|---|---|
tomlText |
string |
2.2. TryValidateToml(string, List<string>)
public static bool TryValidateToml(string tomlText, out List<string> diagnostics)
| Name | Type | Description |
|---|---|---|
tomlText |
string |
|
diagnostics |
List<string> |
Returns: bool
2.3. ValidateToml(ILogger, string)
public static void ValidateToml(ILogger logger, string tomlText)
| Name | Type | Description |
|---|---|---|
logger |
ILogger |
|
tomlText |
string |
3. Extension Methods
3.1. ToTomlText()
public static string ToTomlText(this ProxmoxAutoInstallToml proxmoxAutoInstallToml)
| Name | Type | Description |
|---|---|---|
proxmoxAutoInstallToml |
ProxmoxAutoInstallToml |
Returns: string
3.2. WriteTomlFile(string)
public static void WriteTomlFile(this ProxmoxAutoInstallToml proxmoxAutoInstallToml, string path)
| Name | Type | Description |
|---|---|---|
proxmoxAutoInstallToml |
ProxmoxAutoInstallToml |
|
path |
string |