SettingsHostsSoftwareDraftsSoftwareComponentsUpdateSpec

The Components.UpdateSpec structure contains fields that are specified to update list of components in the draft.


Properties

array of string
components_to_delete Optional

List of components to be removed. If unset, no components will be removed. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.esx.settings.component. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.esx.settings.component.


map of string
components_to_set Optional

List of components to be updated. If the component already exists in the draft, the version is updated, else it is added. If a component is provided without version, then its version will be chosen based on constraints in the system. If unset, no components will be added or updated. When clients pass a value of this structure as a parameter, the key in the field map must be an identifier for the resource type: com.vmware.esx.settings.component. When operations return a value of this structure as a result, the key in the field map will be an identifier for the resource type: com.vmware.esx.settings.component.

JSON Example

{
	"components_to_delete": [
		"string"
	],
	"components_to_set": {
		"key": "string"
	}
}

Feedback

Was this page helpful?