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
{
"num_hosts": 0,
"availability_zone": "string",
"cluster_id": "string",
"esxs": [
"string"
]
}
num_hosts
Availability zone where the hosts should be provisioned. (Can be specified only for privileged host operations).
An optional cluster id if the esxs operation has to be on a specific cluster.
An optional list of ESX IDs to remove.
Accepted
{
"updated_by_user_name": "string",
"updated_by_user_id": "string",
"user_id": "string",
"user_name": "string",
"created": "string",
"id": "1d1c83ee-e0b7-4de9-b660-9a9ca1d22f32",
"updated": "string",
"version": 5,
"error_message": "string",
"localized_error_message": "string",
"progress_percent": 75,
"parent_task_id": "string",
"sub_status": "string",
"phase_in_progress": "string",
"org_type": "string",
"end_time": "string",
"resource_type": "string",
"end_resource_entity_version": 5,
"start_time": "string",
"task_progress_phases": [
{
"progress_percent": 0,
"name": "string",
"id": "string"
}
],
"org_id": "1d1c83ee-e0b7-4de9-b660-9a9ca1d22f32",
"start_resource_entity_version": 0,
"resource_id": "string",
"correlation_id": "string",
"task_type": "string",
"task_version": "string",
"service_errors": [
{
"original_service_error_code": "string",
"default_message": "string",
"original_service": "string",
"localized_message": "string"
}
],
"estimated_remaining_minutes": 4,
"status": "string"
}
The sddc is not in a state that's valid for updates
{
"retryable": false,
"path": "string",
"error_code": "string",
"error_messages": [
"string"
],
"status": 0
}
If true, client should retry operation
Originating request URI
unique error code
localized error messages
HTTP status code
Unauthorized
Access not allowed to the operation for the current user
{
"retryable": false,
"path": "string",
"error_code": "string",
"error_messages": [
"string"
],
"status": 0
}
If true, client should retry operation
Originating request URI
unique error code
localized error messages
HTTP status code
Cannot find the SDDC with the given identifier
{
"retryable": false,
"path": "string",
"error_code": "string",
"error_messages": [
"string"
],
"status": 0
}
If true, client should retry operation
Originating request URI
unique error code
localized error messages
HTTP status code