Delete Trusted Clusters Attestation Services Applied Config Task
Delete the Attestation Service configuration that has been applied to the given cluster. This method has no affect on the desired state, it only removes applied Attestation Service configuration from any Trusted Hosts within the given cluster.
The ID of the cluster against which the operation will be executed. 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 the cluster ID is empty.
com.vmware.vapi.std.errors.unauthenticated : if the caller is not authenticated.
com.vmware.vapi.std.errors.not_found : if no cluster corresponding to the given ID is found within this vCenter.
com.vmware.vapi.std.errors.error : if there is a generic error. | com.vmware.vapi.std.errors.resource_busy : if there are ongoing mutating operations.
PowerCLI Client SDK Example