Cluster Compute Resource Configure HCI Task
Configures the cluster.
This API requires Host.Inventory.EditCluster privilege on the cluster and the hosts; additional privileges might be required depending on the inputs. This operation is only allowed on a cluster that was created with the HCI workflow. Before calling this method, it is recommended that ValidateHCIConfiguration is invoked with the DvsProfile objects listed in dvsProf along with the hosts listed in ClusterComputeResourceHostConfigurationInput to validate that the desired network settings can be applied correctly.
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 8.0.2.0 APIs.
"ConfigureHCIRequestType Object"
Specification to configure the cluster.
Inputs to configure each host 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. If this parameter is not specified, the API operates on all the hosts in the cluster. Hosts which were not configured due to not being in maintenance mode will be returned in ClusterComputeResourceClusterConfigResult.failedHosts.
This method returns a Task object with which to monitor the operation. The result property in the Task contains a ClusterComputeResourceClusterConfigResult object, which upon completion will contain a list of hosts which were successfully configured and a list of hosts which could not be configured.
"MoRefTask Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/ClusterComputeResource/{moId}/ConfigureHCI_Task