Resource Planning Manager Estimate Database Size
Estimates the database size required to store VirtualCenter data.
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 ResourcePlanningManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"dbSizeParam": {
"_typeName": "string",
"inventoryDesc": {
"_typeName": "string",
"numHosts": 0,
"numVirtualMachines": 0,
"numResourcePools": 0,
"numClusters": 0,
"numCpuDev": 0,
"numNetDev": 0,
"numDiskDev": 0,
"numvCpuDev": 0,
"numvNetDev": 0,
"numvDiskDev": 0
},
"perfStatsDesc": {
"_typeName": "string",
"intervals": [
{
"_typeName": "string",
"key": 0,
"samplingPeriod": 0,
"name": "string",
"length": 0,
"level": 0,
"enabled": false
}
]
}
}
}
DatabaseSizeParam contains information about a sample inventory.
Using this information, database size requirements for that sample inventory can be computed. Depending on the accuracy of estimate desired, users can choose to specify the number of different types of managed entities. The numHosts and numVirtualMachines are the only two required fields. Rest are all optional fields filled up by Virtual Center based on some heuristics. These parameters need not represent a real inventory. The user can use these parameters to estimate the database size required by a hypothetical VirtualCenter setup.
DatabaseSizeEstimate Returns the size required in MB of the database and the number of database rows.
{
"_typeName": "string",
"size": 0
}
The estimated size required in MB