StoragePlacementResult
StoragePlacementResult
Both RecommendDatastores and DatastoreEnterMaintenanceMode methods may invoke Storage DRS for recommendations on placing or evacuating virtual disks.
StoragePlacementResult is the class of the result returned by the methods.
AllOf
This class requires all of the following:
JSON Example
{
"_typeName": "string",
"recommendations": [
{
"_typeName": "string",
"key": "string",
"type": "string",
"time": "string",
"rating": 0,
"reason": "string",
"reasonText": "string",
"warningText": "string",
"warningDetails": {
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
},
"prerequisite": [
"string"
],
"action": [
{
"_typeName": "string",
"type": "string",
"target": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
],
"target": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
],
"drsFault": {
"_typeName": "string",
"reason": "string",
"faultsByVm": [
{
"_typeName": "string",
"vm": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"fault": [
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
]
}
]
},
"task": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
array of
ClusterRecommendation
recommendations
Optional
The list of recommendations that the client needs to approve manually.
drsFault
Optional
Information about any fault in case Storage DRS failed to make a recommendation.
task
Optional
The ID of the task, which monitors the storage placement or datastore entering maintennace mode operation.