Class CreateDistributedAutonomousDatabaseDetails
Details required for creation of the Globally distributed autonomous database.
Inherited Members
Namespace: Oci.DistributeddatabaseService.Models
Assembly: OCI.DotNetSDK.Distributeddatabase.dll
Syntax
public class CreateDistributedAutonomousDatabaseDetails
Properties
CatalogDetails
Declaration
[Required(ErrorMessage = "CatalogDetails is required.")]
[JsonProperty(PropertyName = "catalogDetails")]
public List<CreateDistributedAutonomousDatabaseCatalogDetails> CatalogDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| List<CreateDistributedAutonomousDatabaseCatalogDetails> | Collection of catalog for the Globally distributed autonomous database. |
Remarks
Required
CharacterSet
Declaration
[Required(ErrorMessage = "CharacterSet is required.")]
[JsonProperty(PropertyName = "characterSet")]
public string CharacterSet { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The character set for the database. |
Remarks
Required
Chunks
Declaration
[JsonProperty(PropertyName = "chunks")]
public int? Chunks { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Number of chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. Chunks is required to be provided for distributed autonomous databases being created with SYSTEM shardingMethod. For USER shardingMethod, chunks should not be set in create payload. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the Globally distributed autonomous database compartment. |
Remarks
Required
DatabaseVersion
Declaration
[Required(ErrorMessage = "DatabaseVersion is required.")]
[JsonProperty(PropertyName = "databaseVersion")]
public string DatabaseVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Oracle Database version for the shards and catalog used in Globally distributed autonomous database. |
Remarks
Required
DbBackupConfig
Declaration
[JsonProperty(PropertyName = "dbBackupConfig")]
public DistributedAutonomousDbBackupConfig DbBackupConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| DistributedAutonomousDbBackupConfig |
DbDeploymentType
Declaration
[Required(ErrorMessage = "DbDeploymentType is required.")]
[JsonProperty(PropertyName = "dbDeploymentType")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateDistributedAutonomousDatabaseDetails.DbDeploymentTypeEnum? DbDeploymentType { get; set; }
Property Value
| Type | Description |
|---|---|
| CreateDistributedAutonomousDatabaseDetails.DbDeploymentTypeEnum? | The distributed autonomous database deployment type. |
Remarks
Required
DbWorkload
Declaration
[Required(ErrorMessage = "DbWorkload is required.")]
[JsonProperty(PropertyName = "dbWorkload")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateDistributedAutonomousDatabaseDetails.DbWorkloadEnum? DbWorkload { get; set; }
Property Value
| Type | Description |
|---|---|
| CreateDistributedAutonomousDatabaseDetails.DbWorkloadEnum? | Possible workload types. Currently only OLTP workload type is supported. |
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"}} |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The display name of the Globally distributed autonomous database. |
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"} |
ListenerPort
Declaration
[Required(ErrorMessage = "ListenerPort is required.")]
[JsonProperty(PropertyName = "listenerPort")]
public int? ListenerPort { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The listener port number for the Globally distributed autonomous database. The listener port number has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. |
Remarks
Required
ListenerPortTls
Declaration
[JsonProperty(PropertyName = "listenerPortTls")]
public int? ListenerPortTls { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The TLS listener port number for Globally distributed autonomous database. The TLS listener port number has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. The listenerPortTls is mandatory for dedicated infrastructure based distributed autonomous databases. |
NcharacterSet
Declaration
[Required(ErrorMessage = "NcharacterSet is required.")]
[JsonProperty(PropertyName = "ncharacterSet")]
public string NcharacterSet { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The national character set for the database. |
Remarks
Required
OnsPortLocal
Declaration
[Required(ErrorMessage = "OnsPortLocal is required.")]
[JsonProperty(PropertyName = "onsPortLocal")]
public int? OnsPortLocal { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Ons local port number for Globally distributed autonomous database. The onsPortLocal has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. |
Remarks
Required
OnsPortRemote
Declaration
[Required(ErrorMessage = "OnsPortRemote is required.")]
[JsonProperty(PropertyName = "onsPortRemote")]
public int? OnsPortRemote { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Ons remote port number for Globally distributed autonomous database. The onsPortRemote has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. |
Remarks
Required
Prefix
Declaration
[Required(ErrorMessage = "Prefix is required.")]
[JsonProperty(PropertyName = "prefix")]
public string Prefix { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Unique name prefix for the Globally distributed autonomous databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. |
Remarks
Required
PrivateEndpointIds
Declaration
[Required(ErrorMessage = "PrivateEndpointIds is required.")]
[JsonProperty(PropertyName = "privateEndpointIds")]
public List<string> PrivateEndpointIds { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | The collection of OCID of the private endpoint associated with Globally distributed autonomous database. |
Remarks
Required
ReplicationFactor
Declaration
[JsonProperty(PropertyName = "replicationFactor")]
public int? ReplicationFactor { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The Replication factor for RAFT replication based Globally distributed autonomous database. Currently supported values are 3, 5 and 7. |
ReplicationMethod
Declaration
[JsonProperty(PropertyName = "replicationMethod")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateDistributedAutonomousDatabaseDetails.ReplicationMethodEnum? ReplicationMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| CreateDistributedAutonomousDatabaseDetails.ReplicationMethodEnum? | The Replication method for Globally distributed autonomous database. Use RAFT for Raft based replication. With RAFT replication, shards cannot have peers details set on them. In case shards need to have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or without peers), please set replicationMethod as DG or do not set any value for replicationMethod. |
ReplicationUnit
Declaration
[JsonProperty(PropertyName = "replicationUnit")]
public int? ReplicationUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The replication unit count for RAFT based distributed autonomous database. For RAFT replication based Globally distributed autonomous database, the value should be at least twice the number of shards. |
ShardDetails
Declaration
[Required(ErrorMessage = "ShardDetails is required.")]
[JsonProperty(PropertyName = "shardDetails")]
public List<CreateDistributedAutonomousDatabaseShardDetails> ShardDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| List<CreateDistributedAutonomousDatabaseShardDetails> | Collection of shards for the Globally distributed autonomous database. |
Remarks
Required
ShardingMethod
Declaration
[Required(ErrorMessage = "ShardingMethod is required.")]
[JsonProperty(PropertyName = "shardingMethod")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateDistributedAutonomousDatabaseDetails.ShardingMethodEnum? ShardingMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| CreateDistributedAutonomousDatabaseDetails.ShardingMethodEnum? | Sharding Methods for the Globally distributed autonomous database. |
Remarks
Required