Class DatabaseHaBackupDetails
The database HA and backup details.
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class DatabaseHaBackupDetails
Properties
BackupHistory
Declaration
[JsonProperty(PropertyName = "backupHistory")]
public List<DatabaseBackupSummary> BackupHistory { get; set; }
Property Value
Type | Description |
---|---|
List<DatabaseBackupSummary> | A list of database backups. |
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
FlashBackOn
Declaration
[JsonProperty(PropertyName = "flashBackOn")]
public string FlashBackOn { get; set; }
Property Value
Type | Description |
---|---|
string | Indicates whether flashback is enabled for the database. |
FlashBackTime
Declaration
[JsonProperty(PropertyName = "flashBackTime")]
public DateTime? FlashBackTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The oldest flashback date and time in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". |
LastFullBackupSummary
Declaration
[JsonProperty(PropertyName = "lastFullBackupSummary")]
public DatabaseBackupSummary LastFullBackupSummary { get; set; }
Property Value
Type | Description |
---|---|
DatabaseBackupSummary |
Metrics
Declaration
[JsonProperty(PropertyName = "metrics")]
public List<HaMetricDefinition> Metrics { get; set; }
Property Value
Type | Description |
---|---|
List<HaMetricDefinition> | A list of database backup metrics such as BackupSize and BackupDuration. |
RecoveryWindowGoalInDays
Declaration
[JsonProperty(PropertyName = "recoveryWindowGoalInDays")]
public int? RecoveryWindowGoalInDays { get; set; }
Property Value
Type | Description |
---|---|
int? | The configured number of days intended to recover a protected database from a backup. |
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. |