SolutionsComplianceSpec

SolutionsComplianceSpec
SolutionsComplianceSpec

Specification describing how to calculate compliance of a compute resource against a desired state.

This structure may be used only with operations rendered under /eam.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "desiredState": [
        {
            "_typeName": "string",
            "solution": "string",
            "name": "string",
            "version": "string",
            "vmSource": {
                "_typeName": "string"
            },
            "uuidVmName": false,
            "resourcePool": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            },
            "folder": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            },
            "ovfProperties": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": "string"
                }
            ],
            "storagePolicies": [
                {
                    "_typeName": "string"
                }
            ],
            "vmDiskProvisioning": "string",
            "vmDeploymentOptimization": "string",
            "typeSpecificConfig": {
                "_typeName": "string"
            },
            "hooks": [
                {
                    "_typeName": "string",
                    "type": "string",
                    "acknowledgement": {
                        "_typeName": "string"
                    }
                }
            ],
            "vmResourceSpec": {
                "_typeName": "string",
                "ovfDeploymentOption": "string"
            }
        }
    ],
    "solutions": [
        "string"
    ],
    "hosts": [
        {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    ],
    "deploymentUnits": [
        "string"
    ]
}
desiredState
Optional

Desired state to be checked for compliance.

May be incomplete if exact solutions to be checked are provided. Empty desired state means all present solutions must be removed.

array of string
solutions
Optional

Specifies exact solutions to be checked for compliance instead of the complete desired state.

hosts
Optional

Specifies exact hosts to be checked for compliance of all solutions with SolutionsHostBoundSolutionConfig.

If omitted - the compliance is checked for all hosts in the cluster.

array of string
deploymentUnits
Optional

Identifiers of the deployment units that to be checked for compliance of all solutions with SolutionsClusterBoundSolutionConfig.

The deployment unit represents a single VM instance deployment.

If omitted - the compliance is checked for all deployment units in the cluster.