Class CreateDedicatedShardedDatabase
Request details for creation of ATP-Dedicated based sharded database.
Inherited Members
Namespace: Oci.GloballydistributeddatabaseService.Models
Assembly: OCI.DotNetSDK.Globallydistributeddatabase.dll
Syntax
public class CreateDedicatedShardedDatabase : CreateShardedDatabaseDetails
Properties
CatalogDetails
Declaration
[Required(ErrorMessage = "CatalogDetails is required.")]
[JsonProperty(PropertyName = "catalogDetails")]
public List<CreateDedicatedCatalogDetail> CatalogDetails { get; set; }
Property Value
Type | Description |
---|---|
List<CreateDedicatedCatalogDetail> | Collection of ATP-Dedicated catalogs that needs to be created. |
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 new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets |
Remarks
Required
Chunks
Declaration
[JsonProperty(PropertyName = "chunks")]
public int? Chunks { get; set; }
Property Value
Type | Description |
---|---|
int? | The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. |
ClusterCertificateCommonName
Declaration
[JsonProperty(PropertyName = "clusterCertificateCommonName")]
public string ClusterCertificateCommonName { get; set; }
Property Value
Type | Description |
---|---|
string | The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. |
DbVersion
Declaration
[Required(ErrorMessage = "DbVersion is required.")]
[JsonProperty(PropertyName = "dbVersion")]
public string DbVersion { get; set; }
Property Value
Type | Description |
---|---|
string | Oracle Database version of the Autonomous Container Database. |
Remarks
Required
DbWorkload
Declaration
[Required(ErrorMessage = "DbWorkload is required.")]
[JsonProperty(PropertyName = "dbWorkload")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateDedicatedShardedDatabase.DbWorkloadEnum? DbWorkload { get; set; }
Property Value
Type | Description |
---|---|
CreateDedicatedShardedDatabase.DbWorkloadEnum? | Possible workload types. |
Remarks
Required
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 sharded database. |
Remarks
Required
ListenerPortTls
Declaration
[Required(ErrorMessage = "ListenerPortTls is required.")]
[JsonProperty(PropertyName = "listenerPortTls")]
public int? ListenerPortTls { get; set; }
Property Value
Type | Description |
---|---|
int? | The TLS listener port number for sharded database. |
Remarks
Required
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 new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets |
Remarks
Required
OnsPortLocal
Declaration
[Required(ErrorMessage = "OnsPortLocal is required.")]
[JsonProperty(PropertyName = "onsPortLocal")]
public int? OnsPortLocal { get; set; }
Property Value
Type | Description |
---|---|
int? | Ons port local for sharded 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 for sharded 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 sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. |
Remarks
Required
ReplicationFactor
Declaration
[JsonProperty(PropertyName = "replicationFactor")]
public int? ReplicationFactor { get; set; }
Property Value
Type | Description |
---|---|
int? | The Replication factor for RAFT replication based sharded database. Currently supported values are 3, 5 and 7. |
ReplicationMethod
Declaration
[JsonProperty(PropertyName = "replicationMethod")]
[JsonConverter(typeof(StringEnumConverter))]
public DedicatedShardedDatabase.ReplicationMethodEnum? ReplicationMethod { get; set; }
Property Value
Type | Description |
---|---|
DedicatedShardedDatabase.ReplicationMethodEnum? | The Replication method for sharded database. |
ReplicationUnit
Declaration
[JsonProperty(PropertyName = "replicationUnit")]
public int? ReplicationUnit { get; set; }
Property Value
Type | Description |
---|---|
int? | For RAFT replication based sharded database, the value should be atleast twice the number of shards. |
ShardDetails
Declaration
[Required(ErrorMessage = "ShardDetails is required.")]
[JsonProperty(PropertyName = "shardDetails")]
public List<CreateDedicatedShardDetail> ShardDetails { get; set; }
Property Value
Type | Description |
---|---|
List<CreateDedicatedShardDetail> | Collection of ATP-Dedicated shards that needs to be created. |
Remarks
Required
ShardingMethod
Declaration
[Required(ErrorMessage = "ShardingMethod is required.")]
[JsonProperty(PropertyName = "shardingMethod")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateDedicatedShardedDatabase.ShardingMethodEnum? ShardingMethod { get; set; }
Property Value
Type | Description |
---|---|
CreateDedicatedShardedDatabase.ShardingMethodEnum? | Sharding Method. |
Remarks
Required