Create Esxs
Add/Remove one or more ESX hosts in the target cloud
Organization identifier.
Sddc Identifier.
If = 'add', will add the esx. If = 'remove', will delete the esx/esxs bound to a single cluster (Cluster Id is mandatory for non cluster 1 esx remove). If = 'force-remove', will delete the esx even if it can lead to data loss (This is an privileged operation). If = 'addToAll', will add esxs to all clusters in the SDDC (This is an privileged operation). If = 'removeFromAll', will delete the esxs from all clusters in the SDDC (This is an privileged operation). If = 'attach-diskgroup', will attach the provided diskgroups to a given host (privileged). If = 'detach-diskgroup', will detach the diskgroups of a given host (privileged). Default behaviour is 'add'
esxConfig
Show optional properties
{
"num_hosts": 0
}
{
"availability_zone": "string",
"esxs": [
"string"
],
"cluster_id": "string",
"num_hosts": 0
}
Availability zone where the hosts should be provisioned. (Can be specified only for privileged host operations).
An optional list of ESX IDs to remove.
An optional cluster id if the esxs operation has to be on a specific cluster.
num_hosts
Accepted
{
"updated": "string",
"user_id": "string",
"updated_by_user_id": "string",
"created": "string",
"version": 5,
"updated_by_user_name": "string",
"user_name": "string",
"id": "1d1c83ee-e0b7-4de9-b660-9a9ca1d22f32",
"status": "string",
"localized_error_message": "string",
"resource_id": "string",
"parent_task_id": "string",
"task_version": "string",
"correlation_id": "string",
"start_resource_entity_version": 0,
"sub_status": "string",
"task_type": "string",
"start_time": "string",
"task_progress_phases": [
{
"id": "string",
"name": "string",
"progress_percent": 0
}
],
"error_message": "string",
"org_id": "1d1c83ee-e0b7-4de9-b660-9a9ca1d22f32",
"end_resource_entity_version": 5,
"service_errors": [
{
"default_message": "string",
"original_service": "string",
"localized_message": "string",
"original_service_error_code": "string"
}
],
"org_type": "string",
"estimated_remaining_minutes": 4,
"params": {},
"progress_percent": 75,
"phase_in_progress": "string",
"resource_type": "string",
"end_time": "string"
}
The sddc is not in a state that's valid for updates
{
"status": 0,
"path": "string",
"retryable": false,
"error_code": "string",
"error_messages": [
"string"
]
}
HTTP status code
Originating request URI
If true, client should retry operation
unique error code
localized error messages
Unauthorized
Access not allowed to the operation for the current user
{
"status": 0,
"path": "string",
"retryable": false,
"error_code": "string",
"error_messages": [
"string"
]
}
HTTP status code
Originating request URI
If true, client should retry operation
unique error code
localized error messages
Cannot find the SDDC with the given identifier
{
"status": 0,
"path": "string",
"retryable": false,
"error_code": "string",
"error_messages": [
"string"
]
}
HTTP status code
Originating request URI
If true, client should retry operation
unique error code
localized error messages