Check Compliance Clusters Configuration Task
Check all the hosts in the cluster for compliance with the desired document. Warning: This operation is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
Identifier of the cluster The parameter must be an identifier for the resource type: ClusterComputeResource.
Required session ID, acquired from Create Session API under CIS product
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.
com.vmware.vapi.std.errors.invalid_argument : If API is called on a cluster that is not managed by desired configuration management platform.
com.vmware.vapi.std.errors.unauthenticated : If the caller is not authenticated.
com.vmware.vapi.std.errors.not_found : If there is no cluster associated with cluster
com.vmware.vapi.std.errors.error : If an internal error occurred. The accompanying error message will give more details about the failure. | com.vmware.vapi.std.errors.timed_out : If the API timed out before completion.
com.vmware.vapi.std.errors.service_unavailable : If the service is not available.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
PowerCLI Client SDK Example