appliance update policy: set

Sets the automatic update checking and staging policy.


HTTP request

PUT https://{server}/rest/appliance/update/policy

Request Body Structure:

        "password""secret string",

Request Body Parameters:

Name Type Description
bold = required
policy config Info structure containing the policy for the appliance update.
policy.custom_URL string Current appliance update repository URL.

Optional. If unset then default URL is assumed.

policy.username string Username for the update repository

Optional. If unset username will not be used to login.

policy.password secret Password for the update repository

Optional. password If unset password will not be used to login.

policy.check_schedule time[] Schedule when the automatic check will be run.

policy.check_schedule[].day string weekday to check for updates.

Defines the set of days Value is one of:
MONDAY: Monday
TUESDAY: Tuesday
WEDNESDAY: Wednesday
THURSDAY: Thursday
FRIDAY: Friday
SATURDAY: Saturday
SUNDAY: Sunday

policy.check_schedule[].hour long Hour: 0-24

policy.check_schedule[].minute long Minute: 0-59

policy.auto_stage boolean Automatically stage the latest update if available.


HTTP Status Code: 200



HTTP Status Code Type Description
500 error Generic error
401 unauthenticated session is not authenticated
403 unauthorized session is not authorized to perform this operation