import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages Proxmox VE Cluster Datacenter options. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const options = new proxmoxve.cluster.Options("options", { * language: "en", * keyboard: "pl", * emailFrom: "ged@gont.earthsea", * bandwidthLimitMigration: 555555, * bandwidthLimitDefault: 666666, * maxWorkers: 5, * migrationCidr: "10.0.0.0/8", * migrationType: "secure", * nextId: { * lower: 100, * upper: 999999999, * }, * notify: { * haFencingMode: "never", * haFencingTarget: "default-matcher", * packageUpdates: "always", * packageUpdatesTarget: "default-matcher", * packageReplication: "always", * packageReplicationTarget: "default-matcher", * }, * }); * ``` * * ## Import * * !/usr/bin/env sh * Cluster options are global and can be imported using e.g.: * * ```sh * $ pulumi import proxmoxve:cluster/options:Options options cluster * ``` */ export declare class Options extends pulumi.CustomResource { /** * Get an existing Options resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: OptionsState, opts?: pulumi.CustomResourceOptions): Options; /** * Returns true if the given object is an instance of Options. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Options; /** * Clone I/O bandwidth limit in KiB/s. */ readonly bandwidthLimitClone: pulumi.Output; /** * Default I/O bandwidth limit in KiB/s. */ readonly bandwidthLimitDefault: pulumi.Output; /** * Migration I/O bandwidth limit in KiB/s. */ readonly bandwidthLimitMigration: pulumi.Output; /** * Move I/O bandwidth limit in KiB/s. */ readonly bandwidthLimitMove: pulumi.Output; /** * Restore I/O bandwidth limit in KiB/s. */ readonly bandwidthLimitRestore: pulumi.Output; /** * Select the default Console viewer. Must be `applet` | `vv`| `html5` | `xtermjs`. You can either use the builtin java applet (VNC; deprecated and maps to html5), an external virt-viewer compatible application (SPICE), an HTML5 based vnc viewer (noVNC), or an HTML5 based console client (xtermjs). If the selected viewer is not available (e.g. SPICE not activated for the VM), the fallback is noVNC. */ readonly console: pulumi.Output; /** * Cluster resource scheduling setting for HA. Must be `static` | `basic` (default is `basic`). */ readonly crsHa: pulumi.Output; /** * Cluster resource scheduling setting for HA rebalance on start. */ readonly crsHaRebalanceOnStart: pulumi.Output; /** * Datacenter description. Shown in the web-interface datacenter notes panel. This is saved as comment inside the configuration file. */ readonly description: pulumi.Output; /** * email address to send notification from (default is root@$hostname). */ readonly emailFrom: pulumi.Output; /** * Cluster wide HA shutdown policy. Must be `freeze` | `failover` | `migrate` | `conditional` (default is `conditional`). */ readonly haShutdownPolicy: pulumi.Output; /** * Specify external http proxy which is used for downloads (example: `http://username:password@host:port/`). */ readonly httpProxy: pulumi.Output; /** * Default keyboard layout for vnc server. Must be `de` | `de-ch` | `da` | `en-gb` | `en-us` | `es` | `fi` | `fr` | `fr-be` | `fr-ca` | `fr-ch` | `hu` | `is` | `it` | `ja` | `lt` | `mk` | `nl` | `no` | `pl` | `pt` | `pt-br` | `sv` | `sl` | `tr`. */ readonly keyboard: pulumi.Output; /** * Default GUI language. Must be `ca` | `da` | `de` | `en` | `es` | `eu` | `fa` | `fr` | `he` | `it` | `ja` | `nb` | `nn` | `pl` | `pt_BR` | `ru` | `sl` | `sv` | `tr` | `zh_CN` | `zh_TW`. */ readonly language: pulumi.Output; /** * Prefix for autogenerated MAC addresses. */ readonly macPrefix: pulumi.Output; /** * Defines how many workers (per node) are maximal started on actions like 'stopall VMs' or task from the ha-manager. */ readonly maxWorkers: pulumi.Output; /** * Cluster wide migration network CIDR. */ readonly migrationCidr: pulumi.Output; /** * Cluster wide migration type. Must be `secure` | `insecure` (default is `secure`). */ readonly migrationType: pulumi.Output; /** * The ranges for the next free VM ID auto-selection pool. */ readonly nextId: pulumi.Output; /** * Cluster-wide notification settings. */ readonly notify: pulumi.Output; /** * Create a Options resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: OptionsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Options resources. */ export interface OptionsState { /** * Clone I/O bandwidth limit in KiB/s. */ bandwidthLimitClone?: pulumi.Input; /** * Default I/O bandwidth limit in KiB/s. */ bandwidthLimitDefault?: pulumi.Input; /** * Migration I/O bandwidth limit in KiB/s. */ bandwidthLimitMigration?: pulumi.Input; /** * Move I/O bandwidth limit in KiB/s. */ bandwidthLimitMove?: pulumi.Input; /** * Restore I/O bandwidth limit in KiB/s. */ bandwidthLimitRestore?: pulumi.Input; /** * Select the default Console viewer. Must be `applet` | `vv`| `html5` | `xtermjs`. You can either use the builtin java applet (VNC; deprecated and maps to html5), an external virt-viewer compatible application (SPICE), an HTML5 based vnc viewer (noVNC), or an HTML5 based console client (xtermjs). If the selected viewer is not available (e.g. SPICE not activated for the VM), the fallback is noVNC. */ console?: pulumi.Input; /** * Cluster resource scheduling setting for HA. Must be `static` | `basic` (default is `basic`). */ crsHa?: pulumi.Input; /** * Cluster resource scheduling setting for HA rebalance on start. */ crsHaRebalanceOnStart?: pulumi.Input; /** * Datacenter description. Shown in the web-interface datacenter notes panel. This is saved as comment inside the configuration file. */ description?: pulumi.Input; /** * email address to send notification from (default is root@$hostname). */ emailFrom?: pulumi.Input; /** * Cluster wide HA shutdown policy. Must be `freeze` | `failover` | `migrate` | `conditional` (default is `conditional`). */ haShutdownPolicy?: pulumi.Input; /** * Specify external http proxy which is used for downloads (example: `http://username:password@host:port/`). */ httpProxy?: pulumi.Input; /** * Default keyboard layout for vnc server. Must be `de` | `de-ch` | `da` | `en-gb` | `en-us` | `es` | `fi` | `fr` | `fr-be` | `fr-ca` | `fr-ch` | `hu` | `is` | `it` | `ja` | `lt` | `mk` | `nl` | `no` | `pl` | `pt` | `pt-br` | `sv` | `sl` | `tr`. */ keyboard?: pulumi.Input; /** * Default GUI language. Must be `ca` | `da` | `de` | `en` | `es` | `eu` | `fa` | `fr` | `he` | `it` | `ja` | `nb` | `nn` | `pl` | `pt_BR` | `ru` | `sl` | `sv` | `tr` | `zh_CN` | `zh_TW`. */ language?: pulumi.Input; /** * Prefix for autogenerated MAC addresses. */ macPrefix?: pulumi.Input; /** * Defines how many workers (per node) are maximal started on actions like 'stopall VMs' or task from the ha-manager. */ maxWorkers?: pulumi.Input; /** * Cluster wide migration network CIDR. */ migrationCidr?: pulumi.Input; /** * Cluster wide migration type. Must be `secure` | `insecure` (default is `secure`). */ migrationType?: pulumi.Input; /** * The ranges for the next free VM ID auto-selection pool. */ nextId?: pulumi.Input; /** * Cluster-wide notification settings. */ notify?: pulumi.Input; } /** * The set of arguments for constructing a Options resource. */ export interface OptionsArgs { /** * Clone I/O bandwidth limit in KiB/s. */ bandwidthLimitClone?: pulumi.Input; /** * Default I/O bandwidth limit in KiB/s. */ bandwidthLimitDefault?: pulumi.Input; /** * Migration I/O bandwidth limit in KiB/s. */ bandwidthLimitMigration?: pulumi.Input; /** * Move I/O bandwidth limit in KiB/s. */ bandwidthLimitMove?: pulumi.Input; /** * Restore I/O bandwidth limit in KiB/s. */ bandwidthLimitRestore?: pulumi.Input; /** * Select the default Console viewer. Must be `applet` | `vv`| `html5` | `xtermjs`. You can either use the builtin java applet (VNC; deprecated and maps to html5), an external virt-viewer compatible application (SPICE), an HTML5 based vnc viewer (noVNC), or an HTML5 based console client (xtermjs). If the selected viewer is not available (e.g. SPICE not activated for the VM), the fallback is noVNC. */ console?: pulumi.Input; /** * Cluster resource scheduling setting for HA. Must be `static` | `basic` (default is `basic`). */ crsHa?: pulumi.Input; /** * Cluster resource scheduling setting for HA rebalance on start. */ crsHaRebalanceOnStart?: pulumi.Input; /** * Datacenter description. Shown in the web-interface datacenter notes panel. This is saved as comment inside the configuration file. */ description?: pulumi.Input; /** * email address to send notification from (default is root@$hostname). */ emailFrom?: pulumi.Input; /** * Cluster wide HA shutdown policy. Must be `freeze` | `failover` | `migrate` | `conditional` (default is `conditional`). */ haShutdownPolicy?: pulumi.Input; /** * Specify external http proxy which is used for downloads (example: `http://username:password@host:port/`). */ httpProxy?: pulumi.Input; /** * Default keyboard layout for vnc server. Must be `de` | `de-ch` | `da` | `en-gb` | `en-us` | `es` | `fi` | `fr` | `fr-be` | `fr-ca` | `fr-ch` | `hu` | `is` | `it` | `ja` | `lt` | `mk` | `nl` | `no` | `pl` | `pt` | `pt-br` | `sv` | `sl` | `tr`. */ keyboard?: pulumi.Input; /** * Default GUI language. Must be `ca` | `da` | `de` | `en` | `es` | `eu` | `fa` | `fr` | `he` | `it` | `ja` | `nb` | `nn` | `pl` | `pt_BR` | `ru` | `sl` | `sv` | `tr` | `zh_CN` | `zh_TW`. */ language?: pulumi.Input; /** * Prefix for autogenerated MAC addresses. */ macPrefix?: pulumi.Input; /** * Defines how many workers (per node) are maximal started on actions like 'stopall VMs' or task from the ha-manager. */ maxWorkers?: pulumi.Input; /** * Cluster wide migration network CIDR. */ migrationCidr?: pulumi.Input; /** * Cluster wide migration type. Must be `secure` | `insecure` (default is `secure`). */ migrationType?: pulumi.Input; /** * The ranges for the next free VM ID auto-selection pool. */ nextId?: pulumi.Input; /** * Cluster-wide notification settings. */ notify?: pulumi.Input; } //# sourceMappingURL=options.d.ts.map