Class DatabaseInsightSummary
Summary of a database insight resource.
Inheritance
Inherited Members
Namespace: Oci.OpsiService.Models
Assembly: OCI.DotNetSDK.Opsi.dll
Syntax
[JsonConverter(typeof(DatabaseInsightSummaryModelConverter))]
public class DatabaseInsightSummary
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the compartment. |
DatabaseConnectionStatusDetails
Declaration
[JsonProperty(PropertyName = "databaseConnectionStatusDetails")]
public string DatabaseConnectionStatusDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection. |
DatabaseDisplayName
Declaration
[JsonProperty(PropertyName = "databaseDisplayName")]
public string DatabaseDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The user-friendly name for the database. The name does not have to be unique. |
DatabaseHostNames
Declaration
[JsonProperty(PropertyName = "databaseHostNames")]
public List<string> DatabaseHostNames { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | The hostnames for the database. |
DatabaseId
Declaration
[Required(ErrorMessage = "DatabaseId is required.")]
[JsonProperty(PropertyName = "databaseId")]
public string DatabaseId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the database. |
Remarks
Required
DatabaseName
Declaration
[JsonProperty(PropertyName = "databaseName")]
public string DatabaseName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The database name. The database name is unique within the tenancy. |
DatabaseType
Declaration
[JsonProperty(PropertyName = "databaseType")]
public string DatabaseType { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Ops Insights internal representation of the database type. |
DatabaseVersion
Declaration
[JsonProperty(PropertyName = "databaseVersion")]
public string DatabaseVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The version of the database. |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the database insight resource. |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| LifecycleState? | The current state of the database. |
ProcessorCount
Declaration
[JsonProperty(PropertyName = "processorCount")]
public int? ProcessorCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. |
Status
Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ResourceStatus? Status { get; set; }
Property Value
| Type | Description |
|---|---|
| ResourceStatus? | Indicates the status of a database insight in Operations Insights |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, Dictionary<string, object>> | System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The time the the database insight was first enabled. An RFC3339 formatted datetime string |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The time the database insight was updated. An RFC3339 formatted datetime string |