pub struct ClusterHaUpdateGroupsRequest {
pub comment: Option<String>,
pub delete: Option<String>,
pub digest: Option<String>,
pub nodes: Option<String>,
pub nofailback: Option<PveBoolean>,
pub restricted: Option<PveBoolean>,
}Fields§
§comment: Option<String>Description.
delete: Option<String>A list of settings you want to delete.
digest: Option<String>Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
nodes: Option<String>List of cluster node members, where a priority can be given to each node. A resource will run on the available nodes with the highest priority. If there are more nodes in the highest priority class, the resources will get distributed to those nodes. The priorities have a relative meaning only. The higher the number, the higher the priority.
nofailback: Option<PveBoolean>The CRM tries to run services on the node with the highest priority. If a node with higher priority comes online, the CRM migrates the service to that node. Enabling nofailback prevents that behavior.
restricted: Option<PveBoolean>Resources bound to restricted groups may only run on nodes defined by the group. The resource will be placed in the stopped state if no group node member is online. Resources on unrestricted groups may run on any cluster node if all group members are offline, but they will migrate back as soon as a group member comes online. One can implement a ‘preferred node’ behavior using an unrestricted group with only one member.
Implementations§
Source§impl ClusterHaUpdateGroupsRequest
impl ClusterHaUpdateGroupsRequest
pub fn new() -> ClusterHaUpdateGroupsRequest
Trait Implementations§
Source§impl Clone for ClusterHaUpdateGroupsRequest
impl Clone for ClusterHaUpdateGroupsRequest
Source§fn clone(&self) -> ClusterHaUpdateGroupsRequest
fn clone(&self) -> ClusterHaUpdateGroupsRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ClusterHaUpdateGroupsRequest
impl Debug for ClusterHaUpdateGroupsRequest
Source§impl Default for ClusterHaUpdateGroupsRequest
impl Default for ClusterHaUpdateGroupsRequest
Source§fn default() -> ClusterHaUpdateGroupsRequest
fn default() -> ClusterHaUpdateGroupsRequest
Source§impl<'de> Deserialize<'de> for ClusterHaUpdateGroupsRequest
impl<'de> Deserialize<'de> for ClusterHaUpdateGroupsRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ClusterHaUpdateGroupsRequest
impl PartialEq for ClusterHaUpdateGroupsRequest
Source§fn eq(&self, other: &ClusterHaUpdateGroupsRequest) -> bool
fn eq(&self, other: &ClusterHaUpdateGroupsRequest) -> bool
self and other values to be equal, and is used by ==.