Class CreateConfigurationDetails
The information to create a new configuration.
Inherited Members
Namespace: Oci.PsqlService.Models
Assembly: OCI.DotNetSDK.Psql.dll
Syntax
public class CreateConfigurationDetails
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
DbConfigurationOverrides
Declaration
[Required(ErrorMessage = "DbConfigurationOverrides is required.")]
[JsonProperty(PropertyName = "dbConfigurationOverrides")]
public DbConfigurationOverrideCollection DbConfigurationOverrides { get; set; }
Property Value
Type | Description |
---|---|
DbConfigurationOverrideCollection |
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 | Details about the configuration set. |
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"} |
InstanceMemorySizeInGBs
Declaration
[JsonProperty(PropertyName = "instanceMemorySizeInGBs")]
public int? InstanceMemorySizeInGBs { get; set; }
Property Value
Type | Description |
---|---|
int? | Memory size in gigabytes with 1GB increment.
|
InstanceOcpuCount
Declaration
[JsonProperty(PropertyName = "instanceOcpuCount")]
public int? InstanceOcpuCount { get; set; }
Property Value
Type | Description |
---|---|
int? | CPU core count.
|
IsFlexible
Declaration
[JsonProperty(PropertyName = "isFlexible")]
public bool? IsFlexible { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether the configuration supports flexible shapes. |
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"}} |