Get TOS migration status/progress
get/appliancemigrations
View the status for the latest TOS migration task for each appliance.
Request
Security:
Responses
200
OK
400
Bad Request
401
Unauthorized
403
Forbidden
500
Internal Server Error
Response samples
- 200
- 401
application/json
{- "statuses": [
- {
- "applianceId": 0,
- "action": "upgrade|rollback",
- "currentStep": 1,
- "totalSteps": 6,
- "state": "start|downloading|finish",
- "result": "success|fail",
- "message": "string",
- "time": 1606466817569
}
]
}
Initiate a TOS migration plan for an appliance
post/appliancemigrations
Send an initiated TOS migration request to an appliance.
Use TOS migration actions to upgrade or rollback appliances.
Request
Security:
Request Body schema: application/json
Responses
202
Accepted
400
Bad Request
401
Unauthorized
403
Forbidden
409
The request to migrate the appliance was rejected because of a conflict.
For example, the appliance could be scheduled for a reboot or could be completing a different TOS migration.
500
Internal Server Error
Request samples
- Payload
application/json
{- "applianceId": 0,
- "action": "upgrade|rollback"
}
Response samples
- 409
application/json
{- "message": "string"
}
Get the available TOS migration versions.
get/migrationversions
View the available upgrade or rollback TOS versions for an appliance.
Request
Security:
Responses
200
OK
400
Bad Request
401
Unauthorized
403
Forbidden
500
Internal Server Error
Response samples
- 200
- 401
application/json
{- "baseVersion": "2020.12.0.10001",
- "state": "upToDate|outOfDate|unknown",
- "permission": "write|read",
- "upgrade": "2020.12.0.10001",
- "rollback": "2020.12.0.10001"
}