Check Install PSC Standalone
If vSphere APIs begin with /rest (vs /api), any maps are consumed/returned instead as arrays of objects, each containing a key and a value property field.
Checks that the information to configure a non-replicated PSC satisfies the requirements.
Request
URLURL
https://{api_host}/rest/vcenter/deployment/install/psc/standalone?action=check
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Example: b00db39f948d13ea1e59b4d6fce56389
Request Body
Request Body
DeploymentInstallPscStandaloneCheckRequestBody of type application/json (required){
"spec": {
"sso_admin_password": "string"
}
}
Response
Response
Response BodyResponse Body
200 OK returns
DeploymentInstallPscStandaloneCheckResponseBody
of type application/json
Information about the success or failure of the checks that were performed.
{
"value": {
"result": {
"errors": [
{
"id": "string",
"time": "string"
}
],
"info": [
{
"id": "string",
"time": "string"
}
],
"warnings": [
{
"id": "string",
"time": "string"
}
]
},
"source_info": {
"active_directory_domain": "string",
"data_migration_info": {
"all": {
"estimated_export_time": 0,
"estimated_import_time": 0,
"required_free_disk_space_on_source": 0
},
"all_with_deferred": {
"estimated_export_time": 0,
"estimated_import_time": 0,
"required_free_disk_space_on_source": 0
},
"core": {
"estimated_export_time": 0,
"estimated_import_time": 0,
"required_free_disk_space_on_source": 0
},
"core_events_tasks": {
"estimated_export_time": 0,
"estimated_import_time": 0,
"required_free_disk_space_on_source": 0
},
"core_events_tasks_with_deferred": {
"estimated_export_time": 0,
"estimated_import_time": 0,
"required_free_disk_space_on_source": 0
}
},
"deployment_size": "enum",
"deployment_type": "enum",
"dns_servers": [
"string"
],
"hostname": "string",
"sso_domain_name": "string",
"version": "string"
},
"status": "enum"
}
}
value
Optional
Information about the success or failure of the checks that were performed.
cURL Command
curl -X POST -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" -H "Content-Type: application/json" -d '{"spec":{"sso_admin_password":"string","sso_domain_name":"string","sso_site_name":"string"}}' https://{api_host}/rest/vcenter/deployment/install/psc/standalone?action=check
Errors
409
com.vmware.vapi.std.errors.not_allowed_in_current_state : if the appliance is not in INITIALIZED state.