esx health hosts: target spec

A target desired specification for a HOST. This structure was added in vSphere API 7.0.1.0.

Representation:

{
    "state_changes"{
        "obj-103""INSTALL"
    }
}
{
    "state_changes"[
        {
            "value""INSTALL",
            "key""obj-103"
        }
    ]
}

Attributes:

Name Type Description
Required
-.state_changes object The software state change for each solution. Captures the overall changes to the software of a HOST. If a SOLUTION is not present in the mapping, its software will not be changed in the current remediation. This attribute was added in vSphere API 7.0.1.0.

When clients pass a value of this structure as a parameter, the key in the field key/value pairs must be an identifier for the resource type: com.vmware.esx.health.solution. When operations return a value of this structure as a result, the key in the field key/value pairs will be an identifier for the resource type: com.vmware.esx.health.solution.Object with element values of type string.

-.state_changes.* string The action that will be taken on a solution's software as part of the on-going remediation. This enumeration was added in vSphere API 7.0.1.0. Value is one of:
INSTALL: The software of the Solution is being installed. This constant was added in vSphere API 7.0.1.0.
UPGRADE: The software of the Solution is being upgraded. This constant was added in vSphere API 7.0.1.0.
DELETE: The Solution is being deleted. This constant was added in vSphere API 7.0.1.0.