Class CreateDatabaseDetails
Details for creating a database.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Inherited Members
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class CreateDatabaseDetails
Properties
AdminPassword
Declaration
[Required(ErrorMessage = "AdminPassword is required.")]
[JsonProperty(PropertyName = "adminPassword")]
public string AdminPassword { get; set; }
Property Value
Type | Description |
---|---|
string | A strong password for SYS, SYSTEM, and PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \#, or -. |
Remarks
Required
CharacterSet
Declaration
[JsonProperty(PropertyName = "characterSet")]
public string CharacterSet { get; set; }
Property Value
Type | Description |
---|---|
string | The character set for the database. The default is AL32UTF8. Allowed values are:
|
DatabaseSoftwareImageId
Declaration
[JsonProperty(PropertyName = "databaseSoftwareImageId")]
public string DatabaseSoftwareImageId { get; set; }
Property Value
Type | Description |
---|---|
string | The database software image OCID |
DbBackupConfig
Declaration
[JsonProperty(PropertyName = "dbBackupConfig")]
public DbBackupConfig DbBackupConfig { get; set; }
Property Value
Type | Description |
---|---|
DbBackupConfig |
DbName
Declaration
[Required(ErrorMessage = "DbName is required.")]
[JsonProperty(PropertyName = "dbName")]
public string DbName { get; set; }
Property Value
Type | Description |
---|---|
string | The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted. |
Remarks
Required
DbUniqueName
Declaration
[JsonProperty(PropertyName = "dbUniqueName")]
public string DbUniqueName { get; set; }
Property Value
Type | Description |
---|---|
string | The |
DbWorkload
Declaration
[JsonProperty(PropertyName = "dbWorkload")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateDatabaseDetails.DbWorkloadEnum? DbWorkload { get; set; }
Property Value
Type | Description |
---|---|
CreateDatabaseDetails.DbWorkloadEnum? | Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service.
Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
|
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. For more information, see Resource Tags. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
|
KeyStoreId
Declaration
[JsonProperty(PropertyName = "keyStoreId")]
public string KeyStoreId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the key store of Oracle Vault. |
KmsKeyId
Declaration
[JsonProperty(PropertyName = "kmsKeyId")]
public string KmsKeyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations. |
KmsKeyVersionId
Declaration
[JsonProperty(PropertyName = "kmsKeyVersionId")]
public string KmsKeyVersionId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances. |
NcharacterSet
Declaration
[JsonProperty(PropertyName = "ncharacterSet")]
public string NcharacterSet { get; set; }
Property Value
Type | Description |
---|---|
string | The national character set for the database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8. |
PdbName
Declaration
[JsonProperty(PropertyName = "pdbName")]
public string PdbName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name. |
SidPrefix
Declaration
[JsonProperty(PropertyName = "sidPrefix")]
public string SidPrefix { get; set; }
Property Value
Type | Description |
---|---|
string | Specifies a prefix for the |
TdeWalletPassword
Declaration
[JsonProperty(PropertyName = "tdeWalletPassword")]
public string TdeWalletPassword { get; set; }
Property Value
Type | Description |
---|---|
string | The optional password to open the TDE wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numeric, and two special characters. The special characters must be _, \#, or -. |
VaultId
Declaration
[JsonProperty(PropertyName = "vaultId")]
public string VaultId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Oracle Cloud Infrastructure vault. This parameter and |