Class StandByDatabaseDataguardMetrics
The standby database details.
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class StandByDatabaseDataguardMetrics
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
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. |
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 standby databases with latest values for metrics such as ApplyLag, TransportLag, and RedoApplyRate. |
Remarks
Required