pub struct PutParams {
pub comment: Option<String>,
pub delete: Option<String>,
pub digest: Option<String>,
pub nodes: Option<String>,
pub nofailback: Option<bool>,
pub restricted: Option<bool>,
pub additional_properties: HashMap<String, Value>,
}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 names with optional priority. List of cluster node members, where a priority can be given to each node. A resource bound to a group will run on the available nodes with the highest priority. If there are more nodes in the highest priority class, the services will get distributed to those nodes. The priorities have a relative meaning only.
nofailback: Option<bool>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<bool>Resources bound to restricted groups may only run on nodes defined by the group. 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.
additional_properties: HashMap<String, Value>