This API has a deprecated equivalent from v7.0U1.
Reconfigure Deployment Type
Reconfigure 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
Request Body
Request Body
SystemConfigDeploymentTypeReconfigureSpec of mimetype application/json
Required
ReconfigureSpec to set the appliance type. The DeploymentType.ReconfigureSpec structure contains the fields used to get and set the appliance type.
(The request body parameter is missing description)
{
"type": "enum"
}
type
Required
The type of the appliance.
Possible values are: VCSA_EMBEDDED , VCSA_EXTERNAL , PSC_EXTERNAL
remote_psc
Optional
External PSC to register with when reconfiguring a VCSA_EMBEDDED appliance to a VCSA_EXTERNAL appliance. Only required when reconfiguring an VCSA_EMBEDDED node to a VCSA_EXTERNAL.
cURL Command
curl -X PUT -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" -H "Content-Type: application/json" -d '{"remote_psc":{"https_port":0,"psc_hostname":"string","ssl_thumbprint":"string","ssl_verify":false,"sso_admin_password":"string"},"type":"enum"}' https://{api_host}/api/vcenter/system-config/deployment-type
Errors
400
com.vmware.vapi.std.errors.unsupported : if the appliance is in CONFIGURED state and if not changing the type from VCSA_EMBEDDED to VCSA_EXTERNAL. | com.vmware.vapi.std.errors.invalid_argument : if passed arguments are invalid. | com.vmware.vapi.std.errors.not_allowed_in_current_state : if the appliance is not in INITIALIZED or CONFIGURED state.
401
com.vmware.vapi.std.errors.unauthenticated : if the caller is not authenticated.
if external PSC credentials are not valid.
Availability
Added in 7.0U2