View instance resource usage

Last Updated: Sep 18, 2017

Description

View the resource usage information of an instance. After the interface is called, the system returns the size of the space occupied by a certain instance to the user. DBInstanceId is used to retrieve instance resource usage information.

Request parameters

Name Type Required? Description
Action String Yes Required parameter. Value: DescribeResourceUsage.
DBInstanceId String Yes Instance ID.

Return parameters

Name Type Description
<Public Return Parameters> None For details, see Public parameters.
DBInstanceId String Instance ID.
Engine String Database type.
DiskUsed Integer Space used (DataSize+ LogSize). Unit: byte. -1 indicates no data.
DataSize Integer Space occupied by data files. Unit: byte. -1 indicates no data.
LogSize Integer Space occupied by logs. Unit: byte. -1 indicates no data.
BackupSize Integer Space occupied by backups. Unit: byte. -1 indicates no data.
ColdBackupSize Integer Size of the cold backup. Unit: byte. -1 indicates no data.
SQLSize Integer SQL size. Unit: byte. -1 indicates no data.
Thank you! We've received your feedback.