Last modified October 31, 2024

manageSettingsResource

This function allows you to create/modify the Settings Resource Object.
Parameter name Type Description Possible Values
cpu_limit Integer The % limit you would like to set for CPU Usage.
  • Mininum: 5
  • Default: 0 (unlimited)
io_read_limit Integer The limit MB/s you would like to set for IO Read Usage.
  • Default: 0 (unlimited)
io_write_limit Integer The limit MB/s you would like to set for IO Write Usage.
  • Default: 0 (unlimited)

Example Call JETAPI

jetbackup5api -F manageSettingsResource -D "cpu_limit=0"
success: 1 message: Resource Settings Updated Successfully. system: version: 5.3.3 version_panel: 5.3.3 tier: EDGE type: cPanel retry_ms: 0 disableui: dr: agreement_panel: agreement: licenseIssue: data: cpu_limit: 0 io_read_limit: 0 io_write_limit: 0

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=manageSettingsResource&cpu_limit=0