Show / Hide Table of Contents

Class ResourceStatistics

Contains resource statistics with usage unit

Inheritance
object
ResourceStatistics
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OpsiService.Models
Assembly: OCI.DotNetSDK.Opsi.dll
Syntax
public class ResourceStatistics

Properties

BaseCapacity

Declaration
[JsonProperty(PropertyName = "baseCapacity")]
public double BaseCapacity { get; set; }
Property Value
Type Description
double

The base allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

Capacity

Declaration
[Required(ErrorMessage = "Capacity is required.")]
[JsonProperty(PropertyName = "capacity")]
public double Capacity { get; set; }
Property Value
Type Description
double

The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

Remarks

Required

InstanceMetrics

Declaration
[JsonProperty(PropertyName = "instanceMetrics")]
public List<InstanceMetrics> InstanceMetrics { get; set; }
Property Value
Type Description
List<InstanceMetrics>

Array of instance metrics

IsAutoScalingEnabled

Declaration
[JsonProperty(PropertyName = "isAutoScalingEnabled")]
public bool? IsAutoScalingEnabled { get; set; }
Property Value
Type Description
bool?

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

IsHeatWaveClusterAttached

Declaration
[JsonProperty(PropertyName = "isHeatWaveClusterAttached")]
public bool? IsHeatWaveClusterAttached { get; set; }
Property Value
Type Description
bool?

Specifies if MYSQL DB System has heatwave cluster attached.

IsHighlyAvailable

Declaration
[JsonProperty(PropertyName = "isHighlyAvailable")]
public bool? IsHighlyAvailable { get; set; }
Property Value
Type Description
bool?

Specifies if MYSQL DB System is highly available.

TotalHostCapacity

Declaration
[JsonProperty(PropertyName = "totalHostCapacity")]
public double TotalHostCapacity { get; set; }
Property Value
Type Description
double

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.

Usage

Declaration
[Required(ErrorMessage = "Usage is required.")]
[JsonProperty(PropertyName = "usage")]
public double Usage { get; set; }
Property Value
Type Description
double

Total amount used of the resource metric type (CPU, STORAGE).

Remarks

Required

UsageChangePercent

Declaration
[Required(ErrorMessage = "UsageChangePercent is required.")]
[JsonProperty(PropertyName = "usageChangePercent")]
public double UsageChangePercent { get; set; }
Property Value
Type Description
double

Change in resource utilization in percentage

Remarks

Required

UtilizationPercent

Declaration
[Required(ErrorMessage = "UtilizationPercent is required.")]
[JsonProperty(PropertyName = "utilizationPercent")]
public double UtilizationPercent { get; set; }
Property Value
Type Description
double

Resource utilization in percentage

Remarks

Required

In this article
Back to top