Enable Clusters Enablement Software Task
Enables the feature which manages the cluster with a single software specification.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the cluster. The parameter must be an identifier for the resource type: ClusterComputeResource.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
Enablement specification. If unset, all checks are performed.
{
"skip_software_check": false
}
Skip SOFTWARE check during feature enablement.
Authentication
Response
Response BodyResponse Body
An identifier for the task created by this API invocation will be returned. If the non-async version of the operation returns a value, this id can be used with the CIS Get Task operation to fetch that value. The normal description of this operation’s return value will follow if one exists.
Errors
com.vmware.vapi.std.errors.not_allowed_in_current_state : If the feature is already enabled for the given cluster.
com.vmware.vapi.std.errors.not_found : If there is no cluster associated with cluster in the system
com.vmware.vapi.std.errors.error : If feature enablement failed for the given cluster. The value of the data field of Error will be a structure that contains all the fields defined in Software.CheckResult.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: enable_task