ClusterConfigSpec

ClusterConfigSpec
ClusterConfigSpec

Deprecated as of VI API 2.5, use ClusterConfigSpecEx.

A complete cluster configuration.

All fields are defined as optional. In case of a reconfiguration, unset fields are unchanged.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "dasConfig": {
        "_typeName": "string",
        "enabled": false,
        "vmMonitoring": "string",
        "hostMonitoring": "string",
        "vmComponentProtecting": "string",
        "failoverLevel": 0,
        "admissionControlPolicy": {
            "_typeName": "string",
            "resourceReductionToToleratePercent": 0,
            "pMemAdmissionControlEnabled": false
        },
        "admissionControlEnabled": false,
        "defaultVmSettings": {
            "_typeName": "string",
            "restartPriority": "string",
            "restartPriorityTimeout": 0,
            "isolationResponse": "string",
            "vmToolsMonitoringSettings": {
                "_typeName": "string",
                "enabled": false,
                "vmMonitoring": "string",
                "clusterSettings": false,
                "failureInterval": 0,
                "minUpTime": 0,
                "maxFailures": 0,
                "maxFailureWindow": 0
            },
            "vmComponentProtectionSettings": {
                "_typeName": "string",
                "vmStorageProtectionForAPD": "string",
                "enableAPDTimeoutForHosts": false,
                "vmTerminateDelayForAPDSec": 0,
                "vmReactionOnAPDCleared": "string",
                "vmStorageProtectionForPDL": "string"
            }
        },
        "option": [
            {
                "_typeName": "string",
                "key": "string",
                "value": {
                    "_typeName": "string"
                }
            }
        ],
        "heartbeatDatastore": [
            {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            }
        ],
        "hBDatastoreCandidatePolicy": "string"
    },
    "dasVmConfigSpec": [
        {
            "_typeName": "string",
            "operation": "string",
            "removeKey": {
                "_typeName": "string"
            },
            "info": {
                "_typeName": "string",
                "key": {
                    "_typeName": "string",
                    "type": "string",
                    "value": "string"
                },
                "restartPriority": "string",
                "powerOffOnIsolation": false,
                "dasSettings": {
                    "_typeName": "string",
                    "restartPriority": "string",
                    "restartPriorityTimeout": 0,
                    "isolationResponse": "string",
                    "vmToolsMonitoringSettings": {
                        "_typeName": "string",
                        "enabled": false,
                        "vmMonitoring": "string",
                        "clusterSettings": false,
                        "failureInterval": 0,
                        "minUpTime": 0,
                        "maxFailures": 0,
                        "maxFailureWindow": 0
                    },
                    "vmComponentProtectionSettings": {
                        "_typeName": "string",
                        "vmStorageProtectionForAPD": "string",
                        "enableAPDTimeoutForHosts": false,
                        "vmTerminateDelayForAPDSec": 0,
                        "vmReactionOnAPDCleared": "string",
                        "vmStorageProtectionForPDL": "string"
                    }
                }
            }
        }
    ],
    "drsConfig": {
        "_typeName": "string",
        "enabled": false,
        "enableVmBehaviorOverrides": false,
        "defaultVmBehavior": "string",
        "vmotionRate": 0,
        "scaleDescendantsShares": "string",
        "option": [
            {
                "_typeName": "string",
                "key": "string",
                "value": {
                    "_typeName": "string"
                }
            }
        ]
    },
    "drsVmConfigSpec": [
        {
            "_typeName": "string",
            "operation": "string",
            "removeKey": {
                "_typeName": "string"
            },
            "info": {
                "_typeName": "string",
                "key": {
                    "_typeName": "string",
                    "type": "string",
                    "value": "string"
                },
                "enabled": false,
                "behavior": "string"
            }
        }
    ],
    "rulesSpec": [
        {
            "_typeName": "string",
            "operation": "string",
            "removeKey": {
                "_typeName": "string"
            },
            "info": {
                "_typeName": "string",
                "key": 0,
                "status": "string",
                "enabled": false,
                "name": "string",
                "mandatory": false,
                "userCreated": false,
                "inCompliance": false,
                "ruleUuid": "string"
            }
        }
    ]
}
dasConfig
Optional

The ClusterDasConfigInfo data object contains configuration data about the HA service on a cluster.

All fields are optional. If you set the modify parameter to true when you call ReconfigureComputeResource_Task, an unset property has no effect on the existing property value in the cluster configuration on the Server. If you set the modify parameter to false when you reconfigure a cluster, the cluster configuration is reverted to the default values, then the new configuration values are applied.

dasVmConfigSpec
Optional

Changes to the per-virtual-machine vSphere HA settings.

drsConfig
Optional

The ClusterDrsConfigInfo data object contains configuration information for the VMware DRS service.

All fields are optional. If you set the modify parameter to true when you call ReconfigureComputeResource_Task, an unset property has no effect on the existing property value in the cluster configuration on the Server. If you set the modify parameter to false when you reconfigure a cluster, the cluster configuration is reverted to the default values, then the new configuration values are applied.

drsVmConfigSpec
Optional

Changes to the per-virtual-machine DRS settings.

rulesSpec
Optional

Changes to the set of rules.