Class DefaultConfiguration
Default configurations for PostgreSQL database systems.
Inherited Members
Namespace: Oci.PsqlService.Models
Assembly: OCI.DotNetSDK.Psql.dll
Syntax
public class DefaultConfiguration
Properties
ConfigurationDetails
Declaration
[Required(ErrorMessage = "ConfigurationDetails is required.")]
[JsonProperty(PropertyName = "configurationDetails")]
public DefaultConfigurationDetails ConfigurationDetails { get; set; }
Property Value
Type | Description |
---|---|
DefaultConfigurationDetails |
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
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. |
Remarks
Required
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. |
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.
|
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.
|
Remarks
Required
IsFlexible
Declaration
[JsonProperty(PropertyName = "isFlexible")]
public bool? IsFlexible { get; set; }
Property Value
Type | Description |
---|---|
bool? | True if the configuration supports flexible shapes, false otherwise. |
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 DefaultConfiguration.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
DefaultConfiguration.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
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.
|
Remarks
Required