Show / Hide Table of Contents

Class Configuration

PostgreSQL configuration for a database system.

Inheritance
object
Configuration
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.PsqlService.Models
Assembly: OCI.DotNetSDK.Psql.dll
Syntax
public class Configuration

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 that contains the configuration.

Remarks

Required

ConfigType

Declaration
[JsonProperty(PropertyName = "configType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Configuration.ConfigTypeEnum? ConfigType { get; set; }
Property Value
Type Description
Configuration.ConfigTypeEnum?

The type of configuration. Either user-created or a default configuration.

ConfigurationDetails

Declaration
[Required(ErrorMessage = "ConfigurationDetails is required.")]
[JsonProperty(PropertyName = "configurationDetails")]
public ConfigurationDetails ConfigurationDetails { get; set; }
Property Value
Type Description
ConfigurationDetails
Remarks

Required

DbVersion

Declaration
[Required(ErrorMessage = "DbVersion is required.")]
[JsonProperty(PropertyName = "dbVersion")]
public string DbVersion { get; set; }
Property Value
Type Description
string

Version of the PostgreSQL database.

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 for the configuration.

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 configuration. 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 configuration. Immutable on creation.

Remarks

Required

InstanceMemorySizeInGBs

Declaration
[Required(ErrorMessage = "InstanceMemorySizeInGBs is required.")]
[JsonProperty(PropertyName = "instanceMemorySizeInGBs")]
public int? InstanceMemorySizeInGBs { get; set; }
Property Value
Type Description
int?

Memory size in gigabytes with 1GB increment.
It's value is set to 0 if configuration is for a flexible shape.

Remarks

Required

InstanceOcpuCount

Declaration
[Required(ErrorMessage = "InstanceOcpuCount is required.")]
[JsonProperty(PropertyName = "instanceOcpuCount")]
public int? InstanceOcpuCount { get; set; }
Property Value
Type Description
int?

CPU core count.
It's value is set to 0 if configuration is for a flexible shape.

Remarks

Required

IsFlexible

Declaration
[JsonProperty(PropertyName = "isFlexible")]
public bool? IsFlexible { get; set; }
Property Value
Type Description
bool?

Whether the configuration supports flexible shapes.

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 Configuration.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
Configuration.LifecycleStateEnum?

The current state of the configuration.

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 configuration. Example: VM.Standard.E4.Flex

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"}}

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 configuration was created, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z

Remarks

Required

In this article
Back to top