Update Trusted Clusters Services Applied Config Task
Update all applied Trust Authority Component configuration on the given cluster to be consistent with the desired state. This method has no affect on the desired state, apart from it being used as a reference point for the remediation. If the cluster is not a Trusted Cluster, the method will remove all Trust Authority Component configuration from the Trusted Hosts in the cluster, if such hosts are found.
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