Skip to main content

ClusterOptionsSetOptionsRequest

Struct ClusterOptionsSetOptionsRequest 

Source
pub struct ClusterOptionsSetOptionsRequest {
Show 24 fields pub bwlimit: Option<Box<PveBwlimitField>>, pub consent_text: Option<String>, pub console: Option<PveConsoleEnum>, pub crs: Option<Box<PveCrsField>>, pub delete: Option<String>, pub description: Option<String>, pub email_from: Option<String>, pub fencing: Option<PveClusterOptionsFencingEnum>, pub ha: Option<Box<PveHaField>>, pub http_proxy: Option<String>, pub keyboard: Option<PveKeyboardEnum>, pub language: Option<PveClusterOptionsLanguageEnum>, pub location: Option<Box<PveLocationField>>, pub mac_prefix: Option<String>, pub max_workers: Option<i64>, pub migration: Option<Box<PveMigrationField>>, pub next_id: Option<Box<PveNextIdField>>, pub notify: Option<Box<PveNotifyField>>, pub registered_tags: Option<String>, pub replication: Option<Box<PveReplicationField>>, pub tag_style: Option<Box<PveTagStyleField>>, pub u2f: Option<Box<PveU2fField>>, pub user_tag_access: Option<Box<PveUserTagAccessField>>, pub webauthn: Option<Box<PveWebauthnField>>,
}

Fields§

§bwlimit: Option<Box<PveBwlimitField>>

Set I/O bandwidth limit for various operations (in KiB/s).

§consent_text: Option<String>

Consent text that is displayed before logging in.

§console: Option<PveConsoleEnum>

Select the default Console viewer. You can either use the builtin java applet (VNC; deprecated and maps to html5), an external virt-viewer comtatible 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.

§crs: Option<Box<PveCrsField>>

Cluster resource scheduling settings.

§delete: Option<String>

A list of settings you want to delete.

§description: Option<String>

Datacenter description. Shown in the web-interface datacenter notes panel. This is saved as comment inside the configuration file.

§email_from: Option<String>

Specify email address to send notification from (default is root@$hostname)

§fencing: Option<PveClusterOptionsFencingEnum>

Set the fencing mode of the HA cluster. Hardware mode needs a valid configuration of fence devices in /etc/pve/ha/fence.cfg. With both all two modes are used. WARNING: ‘hardware’ and ‘both’ are EXPERIMENTAL & WIP

§ha: Option<Box<PveHaField>>

Cluster wide HA settings.

§http_proxy: Option<String>

Specify external http proxy which is used for downloads (example: ‘http://username:password@host:port/’)

§keyboard: Option<PveKeyboardEnum>

Default keybord layout for vnc server.

§language: Option<PveClusterOptionsLanguageEnum>

Default GUI language.

§location: Option<Box<PveLocationField>>

The location of the cluster.

§mac_prefix: Option<String>

Prefix for the auto-generated MAC addresses of virtual guests. The default BC:24:11 is the Organizationally Unique Identifier (OUI) assigned by the IEEE to Proxmox Server Solutions GmbH for a MAC Address Block Large (MA-L). You’re allowed to use this in local networks, i.e., those not directly reachable by the public (e.g., in a LAN or NAT/Masquerading). Note that when you run multiple cluster that (partially) share the networks of their virtual guests, it’s highly recommended that you extend the default MAC prefix, or generate a custom (valid) one, to reduce the chance of MAC collisions. For example, add a separate extra hexadecimal to the Proxmox OUI for each cluster, like BC:24:11:0 for the first, BC:24:11:1 for the second, and so on. Alternatively, you can also separate the networks of the guests logically, e.g., by using VLANs. For publicly accessible guests it’s recommended that you get your own https://standards.ieee.org/products-programs/regauth/[OUI from the IEEE] registered or coordinate with your, or your hosting providers, network admins.

§max_workers: Option<i64>

Defines how many workers (per node) are maximal started on actions like ‘stopall VMs’ or task from the ha-manager.

§migration: Option<Box<PveMigrationField>>

For cluster wide migration settings.

§next_id: Option<Box<PveNextIdField>>

Control the range for the free VMID auto-selection pool.

§notify: Option<Box<PveNotifyField>>

Cluster-wide notification settings.

§registered_tags: Option<String>

A list of tags that require a Sys.Modify on ‘/’ to set and delete. Tags set here that are also in ‘user-tag-access’ also require Sys.Modify.

§replication: Option<Box<PveReplicationField>>

For cluster wide replication settings.

§tag_style: Option<Box<PveTagStyleField>>

Tag style options.

§u2f: Option<Box<PveU2fField>>

u2f

§user_tag_access: Option<Box<PveUserTagAccessField>>

Privilege options for user-settable tags

§webauthn: Option<Box<PveWebauthnField>>

webauthn configuration

Implementations§

Trait Implementations§

Source§

impl Clone for ClusterOptionsSetOptionsRequest

Source§

fn clone(&self) -> ClusterOptionsSetOptionsRequest

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ClusterOptionsSetOptionsRequest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ClusterOptionsSetOptionsRequest

Source§

fn default() -> ClusterOptionsSetOptionsRequest

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for ClusterOptionsSetOptionsRequest

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for ClusterOptionsSetOptionsRequest

Source§

fn eq(&self, other: &ClusterOptionsSetOptionsRequest) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for ClusterOptionsSetOptionsRequest

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for ClusterOptionsSetOptionsRequest

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,