Show / Hide Table of Contents

Class DatabaseBackupMetrics

The details of the backup metrics for a single database.

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

Properties

CompartmentId

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

The OCID of the compartment where the Managed Database resides.

Remarks

Required

DatabaseId

Declaration
[JsonProperty(PropertyName = "databaseId")]
public string DatabaseId { get; set; }
Property Value
Type Description
string

The database ID of the Managed Database. Every database had its own ID and that value is captured here.

DatabaseName

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

The display name of the Managed Database.

Remarks

Required

DatabaseSubType

Declaration
[Required(ErrorMessage = "DatabaseSubType is required.")]
[JsonProperty(PropertyName = "databaseSubType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabaseSubType? DatabaseSubType { get; set; }
Property Value
Type Description
DatabaseSubType?

The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.

Remarks

Required

DatabaseType

Declaration
[Required(ErrorMessage = "DatabaseType is required.")]
[JsonProperty(PropertyName = "databaseType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabaseType? DatabaseType { get; set; }
Property Value
Type Description
DatabaseType?

The type of Oracle Database installation.

Remarks

Required

DatabaseVersion

Declaration
[JsonProperty(PropertyName = "databaseVersion")]
public string DatabaseVersion { get; set; }
Property Value
Type Description
string

The Oracle Database version.

DbId

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

The OCID of the Managed Database.

Remarks

Required

DbRole

Declaration
[Required(ErrorMessage = "DbRole is required.")]
[JsonProperty(PropertyName = "dbRole")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DbRole? DbRole { get; set; }
Property Value
Type Description
DbRole?

The database role of the Managed Database.

Remarks

Required

DbUniqueName

Declaration
[JsonProperty(PropertyName = "dbUniqueName")]
public string DbUniqueName { get; set; }
Property Value
Type Description
string

The database unique name of the Managed Database.

DeploymentType

Declaration
[Required(ErrorMessage = "DeploymentType is required.")]
[JsonProperty(PropertyName = "deploymentType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DeploymentType? DeploymentType { get; set; }
Property Value
Type Description
DeploymentType?

The infrastructure used to deploy the Oracle Database.

Remarks

Required

IsAutomaticBackupEnabled

Declaration
[Required(ErrorMessage = "IsAutomaticBackupEnabled is required.")]
[JsonProperty(PropertyName = "isAutomaticBackupEnabled")]
public bool? IsAutomaticBackupEnabled { get; set; }
Property Value
Type Description
bool?

Indicates whether automatic backup is enabled or not. This is only applicable for cloud databases.

Remarks

Required

IsDataguardEnabled

Declaration
[Required(ErrorMessage = "IsDataguardEnabled is required.")]
[JsonProperty(PropertyName = "isDataguardEnabled")]
public bool? IsDataguardEnabled { get; set; }
Property Value
Type Description
bool?

Indicates whether Data Guard is enabled for the database.

Remarks

Required

LastBackupSummary

Declaration
[Required(ErrorMessage = "LastBackupSummary is required.")]
[JsonProperty(PropertyName = "lastBackupSummary")]
public DatabaseBackupSummary LastBackupSummary { get; set; }
Property Value
Type Description
DatabaseBackupSummary
Remarks

Required

Metrics

Declaration
[Required(ErrorMessage = "Metrics is required.")]
[JsonProperty(PropertyName = "metrics")]
public List<HaMetricDefinition> Metrics { get; set; }
Property Value
Type Description
List<HaMetricDefinition>

A list of database health metrics such as BackupDuration and BackupSize.

Remarks

Required

RetentionPeriodInDays

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

The retention period of the database.

Remarks

Required

TimeSeriesMetrics

Declaration
[Required(ErrorMessage = "TimeSeriesMetrics is required.")]
[JsonProperty(PropertyName = "timeSeriesMetrics")]
public List<MetricsAggregationRange> TimeSeriesMetrics { get; set; }
Property Value
Type Description
List<MetricsAggregationRange>

The array of metric values for different timestamps.

Remarks

Required

WorkloadType

Declaration
[JsonProperty(PropertyName = "workloadType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WorkloadType? WorkloadType { get; set; }
Property Value
Type Description
WorkloadType?

The workload type of the Autonomous Database.

In this article
Back to top