Class DbSystem
Information about a database system.
Inherited Members
Namespace: Oci.PsqlService.Models
Assembly: OCI.DotNetSDK.Psql.dll
Syntax
public class DbSystem
Properties
AdminUsername
Declaration
[JsonProperty(PropertyName = "adminUsername")]
public string AdminUsername { get; set; }
Property Value
Type | Description |
---|---|
string | The database system administrator username. |
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 that contains the database system. |
Remarks
Required
ConfigId
Declaration
[JsonProperty(PropertyName = "configId")]
public string ConfigId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the configuration associated with the database system. |
DbVersion
Declaration
[Required(ErrorMessage = "DbVersion is required.")]
[JsonProperty(PropertyName = "dbVersion")]
public string DbVersion { get; set; }
Property Value
Type | Description |
---|---|
string | The major and minor versions of the database system software. |
Remarks
Required
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"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | A description of the database system. |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly display name for the database system. Avoid entering confidential information. |
Remarks
Required
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 | A unique identifier for the database system. Immutable on creation. |
Remarks
Required
InstanceCount
Declaration
[JsonProperty(PropertyName = "instanceCount")]
public int? InstanceCount { get; set; }
Property Value
Type | Description |
---|---|
int? | Count of instances, or nodes, in the database system. |
InstanceMemorySizeInGBs
Declaration
[Required(ErrorMessage = "InstanceMemorySizeInGBs is required.")]
[JsonProperty(PropertyName = "instanceMemorySizeInGBs")]
public int? InstanceMemorySizeInGBs { get; set; }
Property Value
Type | Description |
---|---|
int? | The total amount of memory available to each database instance node, in gigabytes. |
Remarks
Required
InstanceOcpuCount
Declaration
[Required(ErrorMessage = "InstanceOcpuCount is required.")]
[JsonProperty(PropertyName = "instanceOcpuCount")]
public int? InstanceOcpuCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The total number of OCPUs available to each database instance node. |
Remarks
Required
Instances
Declaration
[JsonProperty(PropertyName = "instances")]
public List<DbInstance> Instances { get; set; }
Property Value
Type | Description |
---|---|
List<DbInstance> | The list of instances, or nodes, in the database system. |
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
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DbSystem.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
DbSystem.LifecycleStateEnum? | The current state of the database system. |
Remarks
Required
ManagementPolicy
Declaration
[Required(ErrorMessage = "ManagementPolicy is required.")]
[JsonProperty(PropertyName = "managementPolicy")]
public ManagementPolicy ManagementPolicy { get; set; }
Property Value
Type | Description |
---|---|
ManagementPolicy |
Remarks
Required
NetworkDetails
Declaration
[Required(ErrorMessage = "NetworkDetails is required.")]
[JsonProperty(PropertyName = "networkDetails")]
public NetworkDetails NetworkDetails { get; set; }
Property Value
Type | Description |
---|---|
NetworkDetails |
Remarks
Required
Shape
Declaration
[Required(ErrorMessage = "Shape is required.")]
[JsonProperty(PropertyName = "shape")]
public string Shape { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the shape for the database instance. Example: VM.Standard.E4.Flex |
Remarks
Required
Source
Declaration
[JsonProperty(PropertyName = "source")]
public SourceDetails Source { get; set; }
Property Value
Type | Description |
---|---|
SourceDetails |
StorageDetails
Declaration
[Required(ErrorMessage = "StorageDetails is required.")]
[JsonProperty(PropertyName = "storageDetails")]
public StorageDetails StorageDetails { get; set; }
Property Value
Type | Description |
---|---|
StorageDetails |
Remarks
Required
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"}} |
SystemType
Declaration
[Required(ErrorMessage = "SystemType is required.")]
[JsonProperty(PropertyName = "systemType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DbSystem.SystemTypeEnum? SystemType { get; set; }
Property Value
Type | Description |
---|---|
DbSystem.SystemTypeEnum? | Type of the database system. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time that the database system was created, expressed in
RFC 3339 timestamp format.
|
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time that the database system was updated, expressed in
RFC 3339 timestamp format.
|