{ "id":"/axapi/v3/upgrade/gui", "type":"object", "node-type":"scalar", "title":"gui", "operation-not-allowed": ["PUT"], "partition-visibility":"shared", "operational":1, "description":"Upgrade or Rollback GUI", "properties":{ "image":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'pri': Primary image; 'sec': Secondary image; ", "enum":[ "pri", "sec" ], "optional":true }, "local":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "not-list":[ "file-url", "image-file" ], "description":"Local GUI image name", "optional":true }, "remote-url":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":128, "partition-visibility":"shared", "optional":true }, "rollback":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "not-list":[ "use-mgmt-port", "source-ip-address", "show-percentage", "save-gui", "upload", "file-url", "image-file" ], "description":"Rollback to a specific local GUI image", "optional":true }, "delete":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "file":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Delete one local GUI image" } } } ] }, "use-mgmt-port":{ "type":"number", "format":"flag", "plat-neg-list":["softax-aws"], "default":0, "partition-visibility":"shared", "not-list":[ "rollback", "source-ip-address" ], "description":"Use management port as source port", "optional":true }, "source-ip-address":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "not-list":[ "rollback", "use-mgmt-port" ], "description":"Source IP address", "optional":true }, "upload":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"rollback", "description":"Upload GUI image from remote", "optional":true }, "file-url":{ "type":"string", "format":"url", "partition-visibility":"shared", "not-list":[ "local", "rollback", "file-url", "image-file" ], "description":"File URL", "optional":true }, "image-file":{ "type":"string", "format":"string-rlx", "partition-visibility":"shared", "not-list":[ "local", "rollback", "file-url" ], "description":"image file from AXAPI,", "optional":true }, "gui-upload":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"image file from AXAPI", "optional":true } } }