Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ResourceStatistics

Contains resource statistics with usage unit

Properties

Optional baseCapacity

baseCapacity: undefined | number

The base allocated amount of the resource metric type (CPU, STORAGE) for a set of databases. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

capacity

capacity: number

The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional instanceMetrics

instanceMetrics: Array<InstanceMetrics>

Array of instance metrics

Optional isAutoScalingEnabled

isAutoScalingEnabled: undefined | false | true

Indicates if auto scaling feature is enabled or disabled on a database. It will be false for all metrics other than CPU.

Optional totalHostCapacity

totalHostCapacity: undefined | number

The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

usage

usage: number

Total amount used of the resource metric type (CPU, STORAGE). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

usageChangePercent

usageChangePercent: number

Change in resource utilization in percentage Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

utilizationPercent

utilizationPercent: number

Resource utilization in percentage Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

getJsonObj