This function reports the current status of the remote MySQL® profile activation process. The activation process contains several steps that take some time to complete, so so you may need to call this function multiple times multiple times to monitor the progress.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ remote_mysql_monitor_profile_activation
{- "data": {
- "job_in_progress": {
- "profile_name": "remote_server",
- "start_time": 1432064519,
- "status": "INPROGRESS",
- "steps": [
- {
- "end_time": 1432064520,
- "name": "Updating /root/.my.cnf",
- "start_time": 1432064519,
- "status": "DONE"
}
]
}, - "last_job_details": {
- "end_time": 1432220941,
- "profile_name": "MyProfile",
- "start_time": 1432064519,
- "status": "DONE",
- "steps": [
- {
- "end_time": 1432220941,
- "name": "string",
- "start_time": 1432220941,
- "status": "DONE"
}
]
}
}, - "metadata": {
- "command": "remote_mysql_monitor_profile_activation",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}