Export Config Clusters Enablement Configuration Transition
This API will export configuration associated with the cluster generated as part of the transition workflow. The API will throw an error if the transition state is not STARTED. 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. if you do not have all of the privileges described as follows: - Operation execution requires VcIntegrity.ClusterConfiguration.Export. - The resource ClusterComputeResource referenced by the parameter cluster requires VcIntegrity.ClusterConfiguration.Export.
Identifier of the cluster on which operation should be performed. The parameter must be an identifier for the resource type: ClusterComputeResource.
Required session ID, acquired from Create Session API under CIS product
This output structure of type ExportResult contains the configuration document encoded as JSON.
com.vmware.vapi.std.errors.not_allowed_in_current_state : If the status of transition process is not STARTED.
com.vmware.vapi.std.errors.unauthenticated : If the caller is not authenticated.
com.vmware.vapi.std.errors.not_found : If the cluster is not found in the system.
com.vmware.vapi.std.errors.error : If there is some other unknown internal error. The accompanying error message will give more details about the failure.
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