clientapi-pve 2026.5.24

Generated from apidoc.js. NOT an official Proxmox specification. See https://pve.proxmox.com/pve-docs/api-viewer/ for the upstream documentation.
Documentation
/*
 * Proxmox Virtual Environment API
 *
 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pve.proxmox.com/pve-docs/api-viewer/ for the upstream documentation.
 *
 * The version of the OpenAPI document: 9.x
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ClusterCephSetFlagsRequest {

    /// Backfilling of PGs is suspended.
    #[serde(rename = "nobackfill", skip_serializing_if = "Option::is_none")]
    pub nobackfill: Option<models::PveBoolean>,

    /// Deep Scrubbing is disabled.
    #[serde(rename = "nodeep-scrub", skip_serializing_if = "Option::is_none")]
    pub nodeep_scrub: Option<models::PveBoolean>,

    /// OSD failure reports are being ignored, such that the monitors will not mark OSDs down.
    #[serde(rename = "nodown", skip_serializing_if = "Option::is_none")]
    pub nodown: Option<models::PveBoolean>,

    /// OSDs that were previously marked out will not be marked back in when they start.
    #[serde(rename = "noin", skip_serializing_if = "Option::is_none")]
    pub noin: Option<models::PveBoolean>,

    /// OSDs will not automatically be marked out after the configured interval.
    #[serde(rename = "noout", skip_serializing_if = "Option::is_none")]
    pub noout: Option<models::PveBoolean>,

    /// Rebalancing of PGs is suspended.
    #[serde(rename = "norebalance", skip_serializing_if = "Option::is_none")]
    pub norebalance: Option<models::PveBoolean>,

    /// Recovery of PGs is suspended.
    #[serde(rename = "norecover", skip_serializing_if = "Option::is_none")]
    pub norecover: Option<models::PveBoolean>,

    /// Scrubbing is disabled.
    #[serde(rename = "noscrub", skip_serializing_if = "Option::is_none")]
    pub noscrub: Option<models::PveBoolean>,

    /// Cache tiering activity is suspended.
    #[serde(rename = "notieragent", skip_serializing_if = "Option::is_none")]
    pub notieragent: Option<models::PveBoolean>,

    /// OSDs are not allowed to start.
    #[serde(rename = "noup", skip_serializing_if = "Option::is_none")]
    pub noup: Option<models::PveBoolean>,

    /// Pauses read and writes.
    #[serde(rename = "pause", skip_serializing_if = "Option::is_none")]
    pub pause: Option<models::PveBoolean>,


}

impl ClusterCephSetFlagsRequest {
    pub fn new() -> ClusterCephSetFlagsRequest {
        ClusterCephSetFlagsRequest {
            
            nobackfill: None,
            
            nodeep_scrub: None,
            
            nodown: None,
            
            noin: None,
            
            noout: None,
            
            norebalance: None,
            
            norecover: None,
            
            noscrub: None,
            
            notieragent: None,
            
            noup: None,
            
            pause: None,
            
        }
    }
}