Creating a Draft Software Specification

To describe the components of a desired state for a cluster, create a draft software specification and save the desired state when ready.

To edit an existing desired state or to create an empty draft software specification, call the create(cluster_ID) method of the com.vmware.esx.settings.clusters.software.Drafts interface. Pass the cluster ID as an argument to the method. The method returns a draft ID which you can use to add a base image, an add-on, or some components to draft.