Class BaseDatabaseHaDetails
The common database details used by all HA metrics.
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class BaseDatabaseHaDetails
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
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. |