Cluster Compute Resource Extend HCI Task
Extend an existing HCI cluster.
This API requires Host.Inventory.EditCluster privilege on the cluster and the hosts, additional privileges might be required depending on the inputs.
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case ClusterComputeResource/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"ExtendHCIRequestType Object"
Inputs to configure specified set of hosts in the cluster. See ClusterComputeResourceHostConfigurationInput for details. Hosts in this list should be part of the cluster and should be in maintenance mode for them to be configured per specification. Hosts which were not configured due to not being in maintenance mode will be returned in ClusterComputeResourceClusterConfigResult.failedHosts. Specify ClusterComputeResourceHostConfigurationInput.hostVmkNics only if dvsSetting is set.
Specification to configure vSAN on specified set of hosts. See vim.vsan.ReconfigSpec for details. This parameter should be specified only when vSan is enabled on the cluster.
This method returns a Task object with which to monitor the operation. The result property in the Task contains a ClusterComputeResourceClusterConfigResult object, which upon successful completion would contain the list of hosts which couldn't be configured and a list of hosts which were successfully configured. This API can be called only after the cluster is configured using ConfigureHCI_Task and requires workflowState to be "done".
"MoRefTask Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/ClusterComputeResource/{moId}/ExtendHCI_Task