update_schedule

update_schedule

Configuration for This resource can be used to get software update schedule information and to update software update schedule. resource.

Read/write properties

repeat_unit <String>

Repeat duration unit.. Possible values = [hours,days,weeks,months]

schedule_window <Integer>

Update schedule window length in hours.. Maximum value = 24

appliance_type <String>

Appliance type: primary or secondary appliance. Possible values = [primary,secondary]

repeat <Integer>

Repeat next update.. Maximum value = 999

site_name <String>

Site Name.

start_date_time <String>

Update schedule start date, time..

Read only properties

message <String>

detailed messgae of command execution..

Operations

get (all) modify

[get (all)]{}

URL: http://<MGMT-IP>/sdwan/nitro/v1/config/update_schedule

Description: Use this operation to get software update schedule information.

HTTP Method: GET

Response Payload: JSON

{"update_schedule":[{ "repeat_unit":<String_value>

, "schedule_window":<Integer_value> , "appliance_type":<String_value> , "repeat":<Integer_value> , "site_name":<String_value> , "start_date_time":<String_value> , "message":<String_value> }]}

[modify]{}

URL: http://<MGMT-IP>/sdwan/nitro/v1/config/update_schedule

Description: Use this operation to update software update schedule of a site.

HTTP Method: PUT

Request Payload: JSON

{"update_schedule":{ "repeat_unit":<String_value> , "schedule_window":<Integer_value> , "appliance_type":<String_value> , "repeat":<Integer_value> , "site_name":<String_value> , "start_date_time":<String_value> }}

Response Payload: JSON

{ "update_schedule":[{ "repeat_unit":<String_value>

, "schedule_window":<Integer_value> , "appliance_type":<String_value> , "repeat":<Integer_value> , "site_name":<String_value> , "start_date_time":<String_value> , "message":<String_value> }]}

Was this article helpful?