Class CreateAutonomousDatabaseBase
Details to create an Oracle Autonomous Database.
Notes:
- To specify OCPU core count, you must use either
ocpuCountorcpuCoreCount. You cannot use both parameters at the same time. For Autonomous Database Serverless instances,ocpuCountis not used. - To specify a storage allocation, you must use either
dataStorageSizeInGBsordataStorageSizeInTBs. - See the individual parameter discriptions for more information on the OCPU and storage value parameters.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Inheritance
Inherited Members
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
[JsonConverter(typeof(CreateAutonomousDatabaseBaseModelConverter))]
public class CreateAutonomousDatabaseBase
Properties
AdminPassword
Declaration
[JsonProperty(PropertyName = "adminPassword")]
public string AdminPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Important The |
ArePrimaryWhitelistedIpsUsed
Declaration
[JsonProperty(PropertyName = "arePrimaryWhitelistedIpsUsed")]
public bool? ArePrimaryWhitelistedIpsUsed { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled.
It's value would be |
AutonomousContainerDatabaseId
Declaration
[JsonProperty(PropertyName = "autonomousContainerDatabaseId")]
public string AutonomousContainerDatabaseId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The Autonomous Container Database OCID. Used only by Autonomous Database on Dedicated Exadata Infrastructure. |
AutonomousMaintenanceScheduleType
Declaration
[JsonProperty(PropertyName = "autonomousMaintenanceScheduleType")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateAutonomousDatabaseBase.AutonomousMaintenanceScheduleTypeEnum? AutonomousMaintenanceScheduleType { get; set; }
Property Value
| Type | Description |
|---|---|
| CreateAutonomousDatabaseBase.AutonomousMaintenanceScheduleTypeEnum? | The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle |
BackupRetentionPeriodInDays
Declaration
[JsonProperty(PropertyName = "backupRetentionPeriodInDays")]
public int? BackupRetentionPeriodInDays { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Retention period, in days, for long-term backups |
ByolComputeCountLimit
Declaration
[JsonProperty(PropertyName = "byolComputeCountLimit")]
public float? ByolComputeCountLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| float? | The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered as License Included and billed. |
CharacterSet
Declaration
[JsonProperty(PropertyName = "characterSet")]
public string CharacterSet { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database Serverless instance as as returned by List Autonomous Database Character Sets
|
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 of the Autonomous Database. |
Remarks
Required
ComputeCount
Declaration
[JsonProperty(PropertyName = "computeCount")]
public float? ComputeCount { get; set; }
Property Value
| Type | Description |
|---|---|
| float? | The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure.
The 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the |
ComputeModel
Declaration
[JsonProperty(PropertyName = "computeModel")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateAutonomousDatabaseBase.ComputeModelEnum? ComputeModel { get; set; }
Property Value
| Type | Description |
|---|---|
| CreateAutonomousDatabaseBase.ComputeModelEnum? | The compute model of the Autonomous Database. This is required if using the |
CpuCoreCount
Declaration
[JsonProperty(PropertyName = "cpuCoreCount")]
public int? CpuCoreCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
CustomerContacts
Declaration
[JsonProperty(PropertyName = "customerContacts")]
public List<CustomerContact> CustomerContacts { get; set; }
Property Value
| Type | Description |
|---|---|
| List<CustomerContact> | Customer Contacts. |
DataStorageSizeInGBs
Declaration
[JsonProperty(PropertyName = "dataStorageSizeInGBs")]
public int? DataStorageSizeInGBs { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
DataStorageSizeInTBs
Declaration
[JsonProperty(PropertyName = "dataStorageSizeInTBs")]
public int? DataStorageSizeInTBs { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
DatabaseEdition
Declaration
[JsonProperty(PropertyName = "databaseEdition")]
[JsonConverter(typeof(StringEnumConverter))]
public AutonomousDatabaseSummary.DatabaseEditionEnum? DatabaseEdition { get; set; }
Property Value
| Type | Description |
|---|---|
| AutonomousDatabaseSummary.DatabaseEditionEnum? | The Oracle Database Edition that applies to the Autonomous databases. This parameter accepts options |
DbName
Declaration
[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 30 alphanumeric characters. Special characters are not permitted. The database name must be unique in the tenancy. It is required in all cases except when creating a cross-region Autonomous Data Guard standby instance or a cross-region disaster recovery standby instance. |
DbToolsDetails
Declaration
[JsonProperty(PropertyName = "dbToolsDetails")]
public List<DatabaseTool> DbToolsDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| List<DatabaseTool> | The list of database tools details.
|
DbVersion
Declaration
[JsonProperty(PropertyName = "dbVersion")]
public string DbVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A valid Oracle Database version for Autonomous Database. |
DbWorkload
Declaration
[JsonProperty(PropertyName = "dbWorkload")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateAutonomousDatabaseBase.DbWorkloadEnum? DbWorkload { get; set; }
Property Value
| Type | Description |
|---|---|
| CreateAutonomousDatabaseBase.DbWorkloadEnum? | The Autonomous Database workload type. The following values are valid:
|
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. |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The user-friendly name for the Autonomous Database. The name does not have to be unique. |
EncryptionKey
Declaration
[JsonProperty(PropertyName = "encryptionKey")]
public AutonomousDatabaseEncryptionKeyDetails EncryptionKey { get; set; }
Property Value
| Type | Description |
|---|---|
| AutonomousDatabaseEncryptionKeyDetails |
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.
|
InMemoryPercentage
Declaration
[JsonProperty(PropertyName = "inMemoryPercentage")]
public int? InMemoryPercentage { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The percentage of the System Global Area(SGA) assigned to In-Memory tables in Autonomous Database. This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. |
IsAccessControlEnabled
Declaration
[JsonProperty(PropertyName = "isAccessControlEnabled")]
public bool? IsAccessControlEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Indicates if the database-level access control is enabled.
If disabled, database access is defined by the network security rules.
If enabled, database access is restricted to the IP addresses defined by the rules specified with the |
IsAutoScalingEnabled
Declaration
[JsonProperty(PropertyName = "isAutoScalingEnabled")]
public bool? IsAutoScalingEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is |
IsAutoScalingForStorageEnabled
Declaration
[JsonProperty(PropertyName = "isAutoScalingForStorageEnabled")]
public bool? IsAutoScalingForStorageEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is |
IsBackupRetentionLocked
Declaration
[JsonProperty(PropertyName = "isBackupRetentionLocked")]
public bool? IsBackupRetentionLocked { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | True if the Autonomous Database is backup retention locked. |
IsDataGuardEnabled
Declaration
[JsonProperty(PropertyName = "isDataGuardEnabled")]
public bool? IsDataGuardEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Deprecated. Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. |
IsDedicated
Declaration
[JsonProperty(PropertyName = "isDedicated")]
public bool? IsDedicated { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | True if the database is on dedicated Exadata infrastructure. |
IsDevTier
Declaration
[JsonProperty(PropertyName = "isDevTier")]
public bool? IsDevTier { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Autonomous Database for Developers are fixed-shape Autonomous Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database. |
IsFreeTier
Declaration
[JsonProperty(PropertyName = "isFreeTier")]
public bool? IsFreeTier { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Indicates if this is an Always Free resource. The default value is false. Note that Always Free Autonomous Databases have 1 CPU and 20GB of memory. For Always Free databases, memory and CPU cannot be scaled.
|
IsLocalDataGuardEnabled
Declaration
[JsonProperty(PropertyName = "isLocalDataGuardEnabled")]
public bool? IsLocalDataGuardEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. |
IsMtlsConnectionRequired
Declaration
[JsonProperty(PropertyName = "isMtlsConnectionRequired")]
public bool? IsMtlsConnectionRequired { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Specifies if the Autonomous Database requires mTLS connections.
|
IsPreviewVersionWithServiceTermsAccepted
Declaration
[JsonProperty(PropertyName = "isPreviewVersionWithServiceTermsAccepted")]
public bool? IsPreviewVersionWithServiceTermsAccepted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | If set to |
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. |
LicenseModel
Declaration
[JsonProperty(PropertyName = "licenseModel")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateAutonomousDatabaseBase.LicenseModelEnum? LicenseModel { get; set; }
Property Value
| Type | Description |
|---|---|
| CreateAutonomousDatabaseBase.LicenseModelEnum? | The Oracle license model that applies to the Oracle Autonomous Database. Bring your own license (BYOL) allows you to apply your current on-premises Oracle software licenses to equivalent, highly automated Oracle services in the cloud.
License Included allows you to subscribe to new Oracle Database software licenses and the Oracle Database service.
Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null. It is already set at the
Autonomous Exadata Infrastructure level. When provisioning an [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) database, if a value is not specified, the system defaults the value to |
NcharacterSet
Declaration
[JsonProperty(PropertyName = "ncharacterSet")]
public string NcharacterSet { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The character set for the Autonomous Database. The default is AL32UTF8. Use List Autonomous Database Character Sets to list the allowed values for an Autonomous Database Serverless instance. For an Autonomous Database on dedicated Exadata infrastructure, the allowed values are: AL16UTF16 or UTF8. |
NsgIds
Declaration
[JsonProperty(PropertyName = "nsgIds")]
public List<string> NsgIds { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | The list of OCIDs for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see Security Rules. NsgIds restrictions:
|
OcpuCount
Declaration
[JsonProperty(PropertyName = "ocpuCount")]
public float? OcpuCount { get; set; }
Property Value
| Type | Description |
|---|---|
| float? |
PrivateEndpointIp
Declaration
[JsonProperty(PropertyName = "privateEndpointIp")]
public string PrivateEndpointIp { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The private endpoint Ip address for the resource. |
PrivateEndpointLabel
Declaration
[JsonProperty(PropertyName = "privateEndpointLabel")]
public string PrivateEndpointLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The resource's private endpoint label.
|
ResourcePoolLeaderId
Declaration
[JsonProperty(PropertyName = "resourcePoolLeaderId")]
public string ResourcePoolLeaderId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The unique identifier for leader autonomous database OCID OCID. |
ResourcePoolSummary
Declaration
[JsonProperty(PropertyName = "resourcePoolSummary")]
public ResourcePoolSummary ResourcePoolSummary { get; set; }
Property Value
| Type | Description |
|---|---|
| ResourcePoolSummary |
ScheduledOperations
Declaration
[JsonProperty(PropertyName = "scheduledOperations")]
public List<ScheduledOperationDetails> ScheduledOperations { get; set; }
Property Value
| Type | Description |
|---|---|
| List<ScheduledOperationDetails> | The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.
|
SecretId
Declaration
[JsonProperty(PropertyName = "secretId")]
public string SecretId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCI vault secret [/Content/General/Concepts/identifiers.htm]OCID.
|
SecretVersionNumber
Declaration
[JsonProperty(PropertyName = "secretVersionNumber")]
public int? SecretVersionNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The version of the vault secret. If no version is specified, the latest version will be used. |
SecurityAttributes
Declaration
[JsonProperty(PropertyName = "securityAttributes")]
public Dictionary<string, Dictionary<string, object>> SecurityAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, Dictionary<string, object>> | Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}} |
StandbyWhitelistedIps
Declaration
[JsonProperty(PropertyName = "standbyWhitelistedIps")]
public List<string> StandbyWhitelistedIps { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
SubnetId
Declaration
[JsonProperty(PropertyName = "subnetId")]
public string SubnetId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the subnet the resource is associated with.
|
SubscriptionId
Declaration
[JsonProperty(PropertyName = "subscriptionId")]
public string SubscriptionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the subscription with which resource needs to be associated with. |
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 |
WhitelistedIps
Declaration
[JsonProperty(PropertyName = "whitelistedIps")]
public List<string> WhitelistedIps { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |