Class CreateDbSystemDetails
The information about new database system.
Inherited Members
Namespace: Oci.PsqlService.Models
Assembly: OCI.DotNetSDK.Psql.dll
Syntax
public class CreateDbSystemDetails
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 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. |
Credentials
Declaration
[Required(ErrorMessage = "Credentials is required.")]
[JsonProperty(PropertyName = "credentials")]
public Credentials Credentials { get; set; }
Property Value
Type | Description |
---|---|
Credentials |
Remarks
Required
DbVersion
Declaration
[Required(ErrorMessage = "DbVersion is required.")]
[JsonProperty(PropertyName = "dbVersion")]
public string DbVersion { get; set; }
Property Value
Type | Description |
---|---|
string | Version of 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 user-provided description of a 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"} |
InstanceCount
Declaration
[JsonProperty(PropertyName = "instanceCount")]
public int? InstanceCount { get; set; }
Property Value
Type | Description |
---|---|
int? | Count of database instances nodes to be created in the database system. |
InstanceMemorySizeInGBs
Declaration
[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. |
InstanceOcpuCount
Declaration
[JsonProperty(PropertyName = "instanceOcpuCount")]
public int? InstanceOcpuCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The total number of OCPUs available to each database instance node. |
InstancesDetails
Declaration
[JsonProperty(PropertyName = "instancesDetails")]
public List<CreateDbInstanceDetails> InstancesDetails { get; set; }
Property Value
Type | Description |
---|---|
List<CreateDbInstanceDetails> | Details of database instances nodes to be created. This parameter is optional.
If specified, its size must match |
ManagementPolicy
Declaration
[JsonProperty(PropertyName = "managementPolicy")]
public ManagementPolicyDetails ManagementPolicy { get; set; }
Property Value
Type | Description |
---|---|
ManagementPolicyDetails |
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 node. Use the /shapes API for accepted shapes. 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
SystemType
Declaration
[JsonProperty(PropertyName = "systemType")]
[JsonConverter(typeof(StringEnumConverter))]
public DbSystem.SystemTypeEnum? SystemType { get; set; }
Property Value
Type | Description |
---|---|
DbSystem.SystemTypeEnum? | Type of the database system. |