Host Vsan Internal System Can Provision Objects
Determine if given objects can be provisioned.
Determines if the objects of the given size can be provisioned with the given policies. The API is intended to answer the question: can these objects be provisioned with the given policy using the current cluster topology (#hosts and #disks) and does NOT take into account free space on the disk, size of disks, etc. If the objects cannot be provisioned, the API returns the reason for not being able to satisfy the policy. If the objects can be provisioned, the API returns the cost of provisioning objects with this policy. Please note: This API ignores forceProvisioning.
Required privileges: System.Read
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case HostVsanInternalSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
Show optional properties
{
"npbs": [
{}
]
}
{
"npbs": [
{
"_typeName": "string",
"size": [
0
],
"policy": "string"
}
],
"ignoreSatisfiability": false
}
Optionally populate PolicyCost even though object cannot be provisioned in the current cluster topology.
List of PolicySatisfiability objects, one for each specified size.
[
{
"_typeName": "string",
"uuid": "string",
"isSatisfiable": false,
"reason": {
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
},
"cost": {
"_typeName": "string",
"changeDataSize": 0,
"currentDataSize": 0,
"tempDataSize": 0,
"copyDataSize": 0,
"changeFlashReadCacheSize": 0,
"currentFlashReadCacheSize": 0,
"currentDiskSpaceToAddressSpaceRatio": "number",
"diskSpaceToAddressSpaceRatio": "number"
}
}
]
Failure
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}