ClusterDrsRecommendation

ClusterDrsRecommendation
ClusterDrsRecommendation

Deprecated as of VI API 2.5 use ClusterRecommendation.

DrsRecommendation describes a recommendation to migrate one or more virtual machines.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "key": "string",
    "rating": 0,
    "reason": "string",
    "reasonText": "string",
    "migrationList": [
        {
            "_typeName": "string",
            "key": "string",
            "time": "string",
            "vm": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            },
            "cpuLoad": 0,
            "memoryLoad": 0,
            "source": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            },
            "sourceCpuLoad": 0,
            "sourceMemoryLoad": 0,
            "destination": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            },
            "destinationCpuLoad": 0,
            "destinationMemoryLoad": 0
        }
    ]
}
string
key
Required

Key to identify the recommendation when calling applyRecommendation.

integer As int32 As int32
rating
Required

A rating of the recommendation.

Valid values range from 1 (lowest confidence) to 5 (highest confidence).

string
reason
Required

A reason code explaining why this set of migrations is being suggested.

string
reasonText
Required

Text that provides more information about the reason code for the suggested set of migrations.

migrationList
Required

Deprecated a more general recommendation list should be used. This recommendation type and the migrationList is kept for backward compatibility.

List of migrations in this recommendation and all the parent recommendations on which this recommendation depends.

All the migrations in this list can be constructed from ClusterRecommendation.prerequisite and ClusterRecommendation.action.