This API has a deprecated equivalent from v7.0U1.
Get Deployment Type
Get the type of the vCenter appliance.
Request
URLURL
https://{api_host}/api/vcenter/system-config/deployment-type
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Response
Response
Response BodyResponse Body
200 OK returns
SystemConfigDeploymentTypeInfo of type application/json
The type of the vCenter appliance.
{
"type": "enum"
}
type
Required
The type of the appliance.
Possible values are: VCSA_EMBEDDED , VCSA_EXTERNAL , PSC_EXTERNAL
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/vcenter/system-config/deployment-type
Errors
400
com.vmware.vapi.std.errors.not_allowed_in_current_state : if appliance is not in CONFIGURED state.
Availability
Added in 7.0U2