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://{api_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 9.0.0.0 APIs.


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

DatabaseSizeParam Contains the summary of an inventory for which the database size requirements are to be computed. It also contains the historic interval setting for which the database computations are to be done. This is an optional parameter and the current virtual center historical settings are used by default. There are many other optional fields in the dbSizeParam structure that are appropriately filled up based on some heuristics.

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
"DatabaseSizeEstimate Object"
integer As int64 As int64
size
Required

The estimated size required in MB


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/ResourcePlanningManager/{moId}/EstimateDatabaseSize