FolderBatchAddHostsToClusterResult
FolderBatchAddHostsToClusterResult
AllOf
This class requires all of the following:
JSON Example
{
"_typeName": "string",
"hostsAddedToCluster": [
{
"_typeName": "string",
"type": "string",
"value": "string"
}
],
"hostsFailedInventoryAdd": [
{
"_typeName": "string",
"hostName": "string",
"host": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"context": {
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
},
"fault": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
}
],
"hostsFailedMoveToCluster": [
{
"_typeName": "string",
"hostName": "string",
"host": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"context": {
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
},
"fault": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
}
]
}
array of MoRefHostSystem
hostsAddedToCluster
Optional
List of hosts that were successfully added to the cluster in the desired state.
array of FolderFailedHostResult
hostsFailedInventoryAdd
Optional
Contains a fault for each host that failed addition to the inventory.
A failed host will not be part of hostsAddedToCluster list.
array of FolderFailedHostResult
hostsFailedMoveToCluster
Optional
List of hosts that are part of inventory but failed to move to the cluster in the desired state.
A failed host will not be part of hostsAddedToCluster list however, a failed host will be part of inventory as it might have been added as a standalone host but failed to move to cluster in the desired state.