Skip to content

Set-PveClusterCephFlagsIdx

Set or clear (unset) a specific Ceph flag. Runs synchronously (unlike the bulk PUT /cluster/ceph/flags endpoint, which forks a worker task).

API: PUT /cluster/ceph/flags/{flag}, Proxmox VE API viewer

Set-PveClusterCephFlagsIdx
[-PveTicket <PveTicket>]
-Flag <string>
-Value <bool>
[<CommonParameters>]
Parameter Type Required Description
-PveTicket PveTicket No Ticket data connection.
-Flag string Yes The ceph flag to update. Values: nobackfill, nodeep-scrub, nodown, noin, noout, norebalance, norecover, noscrub, notieragent, noup, pause.
-Value bool Yes The new value of the flag.

Every parameter also binds by property name from the pipeline, so an object with node and vmid properties (the output of Get-PveGuest, for one) fills -Node and -Vmid. Without -PveTicket the cmdlet uses the last connection, see Connection.

A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.