Resource Planning Manager Estimate Database Size

Resource Planning Manager Estimate Database Size

Estimates the database size required to store VirtualCenter data.

Required privileges: System.Read

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/ResourcePlanningManager/{moId}/EstimateDatabaseSize
COPY
Path Parameters
string
moId
Required

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}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.


Request Body
EstimateDatabaseSizeRequestType of type(s) application/json
Required

Show optional properties

{
    "dbSizeParam": {
        "inventoryDesc": {
            "numHosts": 0,
            "numVirtualMachines": 0
        }
    }
}
{
    "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
                }
            ]
        }
    }
}
dbSizeParam
Required

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.

Authentication
This operation uses the following authentication methods.
Responses
200

DatabaseSizeEstimate Returns the size required in MB of the database and the number of database rows.

Returns DatabaseSizeEstimate of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_typeName": "string",
    "size": 0
}
integer As int64 As int64
size
Required

The estimated size required in MB