1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. AutonomousDatabase
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.Database.AutonomousDatabase

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This resource provides the Autonomous Database resource in Oracle Cloud Infrastructure Database service.

    Creates a new Autonomous Database.

    This API must be called on the remote region where the peer needs to be created.

    Create AutonomousDatabase Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AutonomousDatabase(name: string, args: AutonomousDatabaseArgs, opts?: CustomResourceOptions);
    @overload
    def AutonomousDatabase(resource_name: str,
                           args: AutonomousDatabaseArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def AutonomousDatabase(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           compartment_id: Optional[str] = None,
                           db_name: Optional[str] = None,
                           admin_password: Optional[str] = None,
                           are_primary_whitelisted_ips_used: Optional[bool] = None,
                           auto_refresh_frequency_in_seconds: Optional[int] = None,
                           auto_refresh_point_lag_in_seconds: Optional[int] = None,
                           autonomous_container_database_id: Optional[str] = None,
                           autonomous_database_backup_id: Optional[str] = None,
                           autonomous_database_id: Optional[str] = None,
                           autonomous_maintenance_schedule_type: Optional[str] = None,
                           backup_retention_period_in_days: Optional[int] = None,
                           character_set: Optional[str] = None,
                           clone_type: Optional[str] = None,
                           compute_count: Optional[float] = None,
                           compute_model: Optional[str] = None,
                           cpu_core_count: Optional[int] = None,
                           customer_contacts: Optional[Sequence[_database.AutonomousDatabaseCustomerContactArgs]] = None,
                           data_safe_status: Optional[str] = None,
                           data_storage_size_in_gb: Optional[int] = None,
                           data_storage_size_in_tbs: Optional[int] = None,
                           database_edition: Optional[str] = None,
                           database_management_status: Optional[str] = None,
                           db_tools_details: Optional[Sequence[_database.AutonomousDatabaseDbToolsDetailArgs]] = None,
                           db_version: Optional[str] = None,
                           db_workload: Optional[str] = None,
                           defined_tags: Optional[Mapping[str, Any]] = None,
                           display_name: Optional[str] = None,
                           freeform_tags: Optional[Mapping[str, Any]] = None,
                           in_memory_percentage: Optional[int] = None,
                           is_access_control_enabled: Optional[bool] = None,
                           is_auto_scaling_enabled: Optional[bool] = None,
                           is_auto_scaling_for_storage_enabled: Optional[bool] = None,
                           is_data_guard_enabled: Optional[bool] = None,
                           is_dedicated: Optional[bool] = None,
                           is_dev_tier: Optional[bool] = None,
                           is_free_tier: Optional[bool] = None,
                           is_local_data_guard_enabled: Optional[bool] = None,
                           is_mtls_connection_required: Optional[bool] = None,
                           is_preview_version_with_service_terms_accepted: Optional[bool] = None,
                           is_refreshable_clone: Optional[bool] = None,
                           is_replicate_automatic_backups: Optional[bool] = None,
                           is_shrink_only: Optional[bool] = None,
                           kms_key_id: Optional[str] = None,
                           license_model: Optional[str] = None,
                           local_adg_auto_failover_max_data_loss_limit: Optional[int] = None,
                           long_term_backup_schedules: Optional[Sequence[_database.AutonomousDatabaseLongTermBackupScheduleArgs]] = None,
                           max_cpu_core_count: Optional[int] = None,
                           ncharacter_set: Optional[str] = None,
                           nsg_ids: Optional[Sequence[str]] = None,
                           ocpu_count: Optional[float] = None,
                           open_mode: Optional[str] = None,
                           operations_insights_status: Optional[str] = None,
                           permission_level: Optional[str] = None,
                           private_endpoint_ip: Optional[str] = None,
                           private_endpoint_label: Optional[str] = None,
                           refreshable_mode: Optional[str] = None,
                           remote_disaster_recovery_type: Optional[str] = None,
                           resource_pool_leader_id: Optional[str] = None,
                           resource_pool_summary: Optional[_database.AutonomousDatabaseResourcePoolSummaryArgs] = None,
                           rotate_key_trigger: Optional[bool] = None,
                           scheduled_operations: Optional[Sequence[_database.AutonomousDatabaseScheduledOperationArgs]] = None,
                           secret_id: Optional[str] = None,
                           secret_version_number: Optional[int] = None,
                           shrink_adb_trigger: Optional[int] = None,
                           source: Optional[str] = None,
                           source_id: Optional[str] = None,
                           standby_whitelisted_ips: Optional[Sequence[str]] = None,
                           state: Optional[str] = None,
                           subnet_id: Optional[str] = None,
                           switchover_to: Optional[str] = None,
                           switchover_to_remote_peer_id: Optional[str] = None,
                           time_of_auto_refresh_start: Optional[str] = None,
                           timestamp: Optional[str] = None,
                           use_latest_available_backup_time_stamp: Optional[bool] = None,
                           vault_id: Optional[str] = None,
                           whitelisted_ips: Optional[Sequence[str]] = None)
    func NewAutonomousDatabase(ctx *Context, name string, args AutonomousDatabaseArgs, opts ...ResourceOption) (*AutonomousDatabase, error)
    public AutonomousDatabase(string name, AutonomousDatabaseArgs args, CustomResourceOptions? opts = null)
    public AutonomousDatabase(String name, AutonomousDatabaseArgs args)
    public AutonomousDatabase(String name, AutonomousDatabaseArgs args, CustomResourceOptions options)
    
    type: oci:Database:AutonomousDatabase
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AutonomousDatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AutonomousDatabaseArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AutonomousDatabaseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutonomousDatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutonomousDatabaseArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var autonomousDatabaseResource = new Oci.Database.AutonomousDatabase("autonomousDatabaseResource", new()
    {
        CompartmentId = "string",
        DbName = "string",
        AdminPassword = "string",
        ArePrimaryWhitelistedIpsUsed = false,
        AutoRefreshFrequencyInSeconds = 0,
        AutoRefreshPointLagInSeconds = 0,
        AutonomousContainerDatabaseId = "string",
        AutonomousDatabaseBackupId = "string",
        AutonomousDatabaseId = "string",
        AutonomousMaintenanceScheduleType = "string",
        BackupRetentionPeriodInDays = 0,
        CharacterSet = "string",
        CloneType = "string",
        ComputeCount = 0,
        ComputeModel = "string",
        CpuCoreCount = 0,
        CustomerContacts = new[]
        {
            new Oci.Database.Inputs.AutonomousDatabaseCustomerContactArgs
            {
                Email = "string",
            },
        },
        DataSafeStatus = "string",
        DataStorageSizeInGb = 0,
        DataStorageSizeInTbs = 0,
        DatabaseEdition = "string",
        DatabaseManagementStatus = "string",
        DbToolsDetails = new[]
        {
            new Oci.Database.Inputs.AutonomousDatabaseDbToolsDetailArgs
            {
                Name = "string",
                ComputeCount = 0,
                IsEnabled = false,
                MaxIdleTimeInMinutes = 0,
            },
        },
        DbVersion = "string",
        DbWorkload = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        InMemoryPercentage = 0,
        IsAccessControlEnabled = false,
        IsAutoScalingEnabled = false,
        IsAutoScalingForStorageEnabled = false,
        IsDataGuardEnabled = false,
        IsDedicated = false,
        IsDevTier = false,
        IsFreeTier = false,
        IsLocalDataGuardEnabled = false,
        IsMtlsConnectionRequired = false,
        IsPreviewVersionWithServiceTermsAccepted = false,
        IsRefreshableClone = false,
        IsReplicateAutomaticBackups = false,
        KmsKeyId = "string",
        LicenseModel = "string",
        LocalAdgAutoFailoverMaxDataLossLimit = 0,
        LongTermBackupSchedules = new[]
        {
            new Oci.Database.Inputs.AutonomousDatabaseLongTermBackupScheduleArgs
            {
                IsDisabled = false,
                RepeatCadence = "string",
                RetentionPeriodInDays = 0,
                TimeOfBackup = "string",
            },
        },
        MaxCpuCoreCount = 0,
        NcharacterSet = "string",
        NsgIds = new[]
        {
            "string",
        },
        OcpuCount = 0,
        OpenMode = "string",
        OperationsInsightsStatus = "string",
        PermissionLevel = "string",
        PrivateEndpointIp = "string",
        PrivateEndpointLabel = "string",
        RefreshableMode = "string",
        RemoteDisasterRecoveryType = "string",
        ResourcePoolLeaderId = "string",
        ResourcePoolSummary = new Oci.Database.Inputs.AutonomousDatabaseResourcePoolSummaryArgs
        {
            IsDisabled = false,
            PoolSize = 0,
        },
        RotateKeyTrigger = false,
        ScheduledOperations = new[]
        {
            new Oci.Database.Inputs.AutonomousDatabaseScheduledOperationArgs
            {
                DayOfWeek = new Oci.Database.Inputs.AutonomousDatabaseScheduledOperationDayOfWeekArgs
                {
                    Name = "string",
                },
                ScheduledStartTime = "string",
                ScheduledStopTime = "string",
            },
        },
        SecretId = "string",
        SecretVersionNumber = 0,
        ShrinkAdbTrigger = 0,
        Source = "string",
        SourceId = "string",
        StandbyWhitelistedIps = new[]
        {
            "string",
        },
        State = "string",
        SubnetId = "string",
        SwitchoverTo = "string",
        SwitchoverToRemotePeerId = "string",
        TimeOfAutoRefreshStart = "string",
        Timestamp = "string",
        UseLatestAvailableBackupTimeStamp = false,
        VaultId = "string",
        WhitelistedIps = new[]
        {
            "string",
        },
    });
    
    example, err := Database.NewAutonomousDatabase(ctx, "autonomousDatabaseResource", &Database.AutonomousDatabaseArgs{
    	CompartmentId:                     pulumi.String("string"),
    	DbName:                            pulumi.String("string"),
    	AdminPassword:                     pulumi.String("string"),
    	ArePrimaryWhitelistedIpsUsed:      pulumi.Bool(false),
    	AutoRefreshFrequencyInSeconds:     pulumi.Int(0),
    	AutoRefreshPointLagInSeconds:      pulumi.Int(0),
    	AutonomousContainerDatabaseId:     pulumi.String("string"),
    	AutonomousDatabaseBackupId:        pulumi.String("string"),
    	AutonomousDatabaseId:              pulumi.String("string"),
    	AutonomousMaintenanceScheduleType: pulumi.String("string"),
    	BackupRetentionPeriodInDays:       pulumi.Int(0),
    	CharacterSet:                      pulumi.String("string"),
    	CloneType:                         pulumi.String("string"),
    	ComputeCount:                      pulumi.Float64(0),
    	ComputeModel:                      pulumi.String("string"),
    	CpuCoreCount:                      pulumi.Int(0),
    	CustomerContacts: database.AutonomousDatabaseCustomerContactArray{
    		&database.AutonomousDatabaseCustomerContactArgs{
    			Email: pulumi.String("string"),
    		},
    	},
    	DataSafeStatus:           pulumi.String("string"),
    	DataStorageSizeInGb:      pulumi.Int(0),
    	DataStorageSizeInTbs:     pulumi.Int(0),
    	DatabaseEdition:          pulumi.String("string"),
    	DatabaseManagementStatus: pulumi.String("string"),
    	DbToolsDetails: database.AutonomousDatabaseDbToolsDetailArray{
    		&database.AutonomousDatabaseDbToolsDetailArgs{
    			Name:                 pulumi.String("string"),
    			ComputeCount:         pulumi.Float64(0),
    			IsEnabled:            pulumi.Bool(false),
    			MaxIdleTimeInMinutes: pulumi.Int(0),
    		},
    	},
    	DbVersion:  pulumi.String("string"),
    	DbWorkload: pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	InMemoryPercentage:                       pulumi.Int(0),
    	IsAccessControlEnabled:                   pulumi.Bool(false),
    	IsAutoScalingEnabled:                     pulumi.Bool(false),
    	IsAutoScalingForStorageEnabled:           pulumi.Bool(false),
    	IsDataGuardEnabled:                       pulumi.Bool(false),
    	IsDedicated:                              pulumi.Bool(false),
    	IsDevTier:                                pulumi.Bool(false),
    	IsFreeTier:                               pulumi.Bool(false),
    	IsLocalDataGuardEnabled:                  pulumi.Bool(false),
    	IsMtlsConnectionRequired:                 pulumi.Bool(false),
    	IsPreviewVersionWithServiceTermsAccepted: pulumi.Bool(false),
    	IsRefreshableClone:                       pulumi.Bool(false),
    	IsReplicateAutomaticBackups:              pulumi.Bool(false),
    	KmsKeyId:                                 pulumi.String("string"),
    	LicenseModel:                             pulumi.String("string"),
    	LocalAdgAutoFailoverMaxDataLossLimit:     pulumi.Int(0),
    	LongTermBackupSchedules: database.AutonomousDatabaseLongTermBackupScheduleArray{
    		&database.AutonomousDatabaseLongTermBackupScheduleArgs{
    			IsDisabled:            pulumi.Bool(false),
    			RepeatCadence:         pulumi.String("string"),
    			RetentionPeriodInDays: pulumi.Int(0),
    			TimeOfBackup:          pulumi.String("string"),
    		},
    	},
    	MaxCpuCoreCount: pulumi.Int(0),
    	NcharacterSet:   pulumi.String("string"),
    	NsgIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	OcpuCount:                  pulumi.Float64(0),
    	OpenMode:                   pulumi.String("string"),
    	OperationsInsightsStatus:   pulumi.String("string"),
    	PermissionLevel:            pulumi.String("string"),
    	PrivateEndpointIp:          pulumi.String("string"),
    	PrivateEndpointLabel:       pulumi.String("string"),
    	RefreshableMode:            pulumi.String("string"),
    	RemoteDisasterRecoveryType: pulumi.String("string"),
    	ResourcePoolLeaderId:       pulumi.String("string"),
    	ResourcePoolSummary: &database.AutonomousDatabaseResourcePoolSummaryArgs{
    		IsDisabled: pulumi.Bool(false),
    		PoolSize:   pulumi.Int(0),
    	},
    	RotateKeyTrigger: pulumi.Bool(false),
    	ScheduledOperations: database.AutonomousDatabaseScheduledOperationArray{
    		&database.AutonomousDatabaseScheduledOperationArgs{
    			DayOfWeek: &database.AutonomousDatabaseScheduledOperationDayOfWeekArgs{
    				Name: pulumi.String("string"),
    			},
    			ScheduledStartTime: pulumi.String("string"),
    			ScheduledStopTime:  pulumi.String("string"),
    		},
    	},
    	SecretId:            pulumi.String("string"),
    	SecretVersionNumber: pulumi.Int(0),
    	ShrinkAdbTrigger:    pulumi.Int(0),
    	Source:              pulumi.String("string"),
    	SourceId:            pulumi.String("string"),
    	StandbyWhitelistedIps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	State:                             pulumi.String("string"),
    	SubnetId:                          pulumi.String("string"),
    	SwitchoverTo:                      pulumi.String("string"),
    	SwitchoverToRemotePeerId:          pulumi.String("string"),
    	TimeOfAutoRefreshStart:            pulumi.String("string"),
    	Timestamp:                         pulumi.String("string"),
    	UseLatestAvailableBackupTimeStamp: pulumi.Bool(false),
    	VaultId:                           pulumi.String("string"),
    	WhitelistedIps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var autonomousDatabaseResource = new AutonomousDatabase("autonomousDatabaseResource", AutonomousDatabaseArgs.builder()        
        .compartmentId("string")
        .dbName("string")
        .adminPassword("string")
        .arePrimaryWhitelistedIpsUsed(false)
        .autoRefreshFrequencyInSeconds(0)
        .autoRefreshPointLagInSeconds(0)
        .autonomousContainerDatabaseId("string")
        .autonomousDatabaseBackupId("string")
        .autonomousDatabaseId("string")
        .autonomousMaintenanceScheduleType("string")
        .backupRetentionPeriodInDays(0)
        .characterSet("string")
        .cloneType("string")
        .computeCount(0)
        .computeModel("string")
        .cpuCoreCount(0)
        .customerContacts(AutonomousDatabaseCustomerContactArgs.builder()
            .email("string")
            .build())
        .dataSafeStatus("string")
        .dataStorageSizeInGb(0)
        .dataStorageSizeInTbs(0)
        .databaseEdition("string")
        .databaseManagementStatus("string")
        .dbToolsDetails(AutonomousDatabaseDbToolsDetailArgs.builder()
            .name("string")
            .computeCount(0)
            .isEnabled(false)
            .maxIdleTimeInMinutes(0)
            .build())
        .dbVersion("string")
        .dbWorkload("string")
        .definedTags(Map.of("string", "any"))
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .inMemoryPercentage(0)
        .isAccessControlEnabled(false)
        .isAutoScalingEnabled(false)
        .isAutoScalingForStorageEnabled(false)
        .isDataGuardEnabled(false)
        .isDedicated(false)
        .isDevTier(false)
        .isFreeTier(false)
        .isLocalDataGuardEnabled(false)
        .isMtlsConnectionRequired(false)
        .isPreviewVersionWithServiceTermsAccepted(false)
        .isRefreshableClone(false)
        .isReplicateAutomaticBackups(false)
        .kmsKeyId("string")
        .licenseModel("string")
        .localAdgAutoFailoverMaxDataLossLimit(0)
        .longTermBackupSchedules(AutonomousDatabaseLongTermBackupScheduleArgs.builder()
            .isDisabled(false)
            .repeatCadence("string")
            .retentionPeriodInDays(0)
            .timeOfBackup("string")
            .build())
        .maxCpuCoreCount(0)
        .ncharacterSet("string")
        .nsgIds("string")
        .ocpuCount(0)
        .openMode("string")
        .operationsInsightsStatus("string")
        .permissionLevel("string")
        .privateEndpointIp("string")
        .privateEndpointLabel("string")
        .refreshableMode("string")
        .remoteDisasterRecoveryType("string")
        .resourcePoolLeaderId("string")
        .resourcePoolSummary(AutonomousDatabaseResourcePoolSummaryArgs.builder()
            .isDisabled(false)
            .poolSize(0)
            .build())
        .rotateKeyTrigger(false)
        .scheduledOperations(AutonomousDatabaseScheduledOperationArgs.builder()
            .dayOfWeek(AutonomousDatabaseScheduledOperationDayOfWeekArgs.builder()
                .name("string")
                .build())
            .scheduledStartTime("string")
            .scheduledStopTime("string")
            .build())
        .secretId("string")
        .secretVersionNumber(0)
        .shrinkAdbTrigger(0)
        .source("string")
        .sourceId("string")
        .standbyWhitelistedIps("string")
        .state("string")
        .subnetId("string")
        .switchoverTo("string")
        .switchoverToRemotePeerId("string")
        .timeOfAutoRefreshStart("string")
        .timestamp("string")
        .useLatestAvailableBackupTimeStamp(false)
        .vaultId("string")
        .whitelistedIps("string")
        .build());
    
    autonomous_database_resource = oci.database.AutonomousDatabase("autonomousDatabaseResource",
        compartment_id="string",
        db_name="string",
        admin_password="string",
        are_primary_whitelisted_ips_used=False,
        auto_refresh_frequency_in_seconds=0,
        auto_refresh_point_lag_in_seconds=0,
        autonomous_container_database_id="string",
        autonomous_database_backup_id="string",
        autonomous_database_id="string",
        autonomous_maintenance_schedule_type="string",
        backup_retention_period_in_days=0,
        character_set="string",
        clone_type="string",
        compute_count=0,
        compute_model="string",
        cpu_core_count=0,
        customer_contacts=[oci.database.AutonomousDatabaseCustomerContactArgs(
            email="string",
        )],
        data_safe_status="string",
        data_storage_size_in_gb=0,
        data_storage_size_in_tbs=0,
        database_edition="string",
        database_management_status="string",
        db_tools_details=[oci.database.AutonomousDatabaseDbToolsDetailArgs(
            name="string",
            compute_count=0,
            is_enabled=False,
            max_idle_time_in_minutes=0,
        )],
        db_version="string",
        db_workload="string",
        defined_tags={
            "string": "any",
        },
        display_name="string",
        freeform_tags={
            "string": "any",
        },
        in_memory_percentage=0,
        is_access_control_enabled=False,
        is_auto_scaling_enabled=False,
        is_auto_scaling_for_storage_enabled=False,
        is_data_guard_enabled=False,
        is_dedicated=False,
        is_dev_tier=False,
        is_free_tier=False,
        is_local_data_guard_enabled=False,
        is_mtls_connection_required=False,
        is_preview_version_with_service_terms_accepted=False,
        is_refreshable_clone=False,
        is_replicate_automatic_backups=False,
        kms_key_id="string",
        license_model="string",
        local_adg_auto_failover_max_data_loss_limit=0,
        long_term_backup_schedules=[oci.database.AutonomousDatabaseLongTermBackupScheduleArgs(
            is_disabled=False,
            repeat_cadence="string",
            retention_period_in_days=0,
            time_of_backup="string",
        )],
        max_cpu_core_count=0,
        ncharacter_set="string",
        nsg_ids=["string"],
        ocpu_count=0,
        open_mode="string",
        operations_insights_status="string",
        permission_level="string",
        private_endpoint_ip="string",
        private_endpoint_label="string",
        refreshable_mode="string",
        remote_disaster_recovery_type="string",
        resource_pool_leader_id="string",
        resource_pool_summary=oci.database.AutonomousDatabaseResourcePoolSummaryArgs(
            is_disabled=False,
            pool_size=0,
        ),
        rotate_key_trigger=False,
        scheduled_operations=[oci.database.AutonomousDatabaseScheduledOperationArgs(
            day_of_week=oci.database.AutonomousDatabaseScheduledOperationDayOfWeekArgs(
                name="string",
            ),
            scheduled_start_time="string",
            scheduled_stop_time="string",
        )],
        secret_id="string",
        secret_version_number=0,
        shrink_adb_trigger=0,
        source="string",
        source_id="string",
        standby_whitelisted_ips=["string"],
        state="string",
        subnet_id="string",
        switchover_to="string",
        switchover_to_remote_peer_id="string",
        time_of_auto_refresh_start="string",
        timestamp="string",
        use_latest_available_backup_time_stamp=False,
        vault_id="string",
        whitelisted_ips=["string"])
    
    const autonomousDatabaseResource = new oci.database.AutonomousDatabase("autonomousDatabaseResource", {
        compartmentId: "string",
        dbName: "string",
        adminPassword: "string",
        arePrimaryWhitelistedIpsUsed: false,
        autoRefreshFrequencyInSeconds: 0,
        autoRefreshPointLagInSeconds: 0,
        autonomousContainerDatabaseId: "string",
        autonomousDatabaseBackupId: "string",
        autonomousDatabaseId: "string",
        autonomousMaintenanceScheduleType: "string",
        backupRetentionPeriodInDays: 0,
        characterSet: "string",
        cloneType: "string",
        computeCount: 0,
        computeModel: "string",
        cpuCoreCount: 0,
        customerContacts: [{
            email: "string",
        }],
        dataSafeStatus: "string",
        dataStorageSizeInGb: 0,
        dataStorageSizeInTbs: 0,
        databaseEdition: "string",
        databaseManagementStatus: "string",
        dbToolsDetails: [{
            name: "string",
            computeCount: 0,
            isEnabled: false,
            maxIdleTimeInMinutes: 0,
        }],
        dbVersion: "string",
        dbWorkload: "string",
        definedTags: {
            string: "any",
        },
        displayName: "string",
        freeformTags: {
            string: "any",
        },
        inMemoryPercentage: 0,
        isAccessControlEnabled: false,
        isAutoScalingEnabled: false,
        isAutoScalingForStorageEnabled: false,
        isDataGuardEnabled: false,
        isDedicated: false,
        isDevTier: false,
        isFreeTier: false,
        isLocalDataGuardEnabled: false,
        isMtlsConnectionRequired: false,
        isPreviewVersionWithServiceTermsAccepted: false,
        isRefreshableClone: false,
        isReplicateAutomaticBackups: false,
        kmsKeyId: "string",
        licenseModel: "string",
        localAdgAutoFailoverMaxDataLossLimit: 0,
        longTermBackupSchedules: [{
            isDisabled: false,
            repeatCadence: "string",
            retentionPeriodInDays: 0,
            timeOfBackup: "string",
        }],
        maxCpuCoreCount: 0,
        ncharacterSet: "string",
        nsgIds: ["string"],
        ocpuCount: 0,
        openMode: "string",
        operationsInsightsStatus: "string",
        permissionLevel: "string",
        privateEndpointIp: "string",
        privateEndpointLabel: "string",
        refreshableMode: "string",
        remoteDisasterRecoveryType: "string",
        resourcePoolLeaderId: "string",
        resourcePoolSummary: {
            isDisabled: false,
            poolSize: 0,
        },
        rotateKeyTrigger: false,
        scheduledOperations: [{
            dayOfWeek: {
                name: "string",
            },
            scheduledStartTime: "string",
            scheduledStopTime: "string",
        }],
        secretId: "string",
        secretVersionNumber: 0,
        shrinkAdbTrigger: 0,
        source: "string",
        sourceId: "string",
        standbyWhitelistedIps: ["string"],
        state: "string",
        subnetId: "string",
        switchoverTo: "string",
        switchoverToRemotePeerId: "string",
        timeOfAutoRefreshStart: "string",
        timestamp: "string",
        useLatestAvailableBackupTimeStamp: false,
        vaultId: "string",
        whitelistedIps: ["string"],
    });
    
    type: oci:Database:AutonomousDatabase
    properties:
        adminPassword: string
        arePrimaryWhitelistedIpsUsed: false
        autoRefreshFrequencyInSeconds: 0
        autoRefreshPointLagInSeconds: 0
        autonomousContainerDatabaseId: string
        autonomousDatabaseBackupId: string
        autonomousDatabaseId: string
        autonomousMaintenanceScheduleType: string
        backupRetentionPeriodInDays: 0
        characterSet: string
        cloneType: string
        compartmentId: string
        computeCount: 0
        computeModel: string
        cpuCoreCount: 0
        customerContacts:
            - email: string
        dataSafeStatus: string
        dataStorageSizeInGb: 0
        dataStorageSizeInTbs: 0
        databaseEdition: string
        databaseManagementStatus: string
        dbName: string
        dbToolsDetails:
            - computeCount: 0
              isEnabled: false
              maxIdleTimeInMinutes: 0
              name: string
        dbVersion: string
        dbWorkload: string
        definedTags:
            string: any
        displayName: string
        freeformTags:
            string: any
        inMemoryPercentage: 0
        isAccessControlEnabled: false
        isAutoScalingEnabled: false
        isAutoScalingForStorageEnabled: false
        isDataGuardEnabled: false
        isDedicated: false
        isDevTier: false
        isFreeTier: false
        isLocalDataGuardEnabled: false
        isMtlsConnectionRequired: false
        isPreviewVersionWithServiceTermsAccepted: false
        isRefreshableClone: false
        isReplicateAutomaticBackups: false
        kmsKeyId: string
        licenseModel: string
        localAdgAutoFailoverMaxDataLossLimit: 0
        longTermBackupSchedules:
            - isDisabled: false
              repeatCadence: string
              retentionPeriodInDays: 0
              timeOfBackup: string
        maxCpuCoreCount: 0
        ncharacterSet: string
        nsgIds:
            - string
        ocpuCount: 0
        openMode: string
        operationsInsightsStatus: string
        permissionLevel: string
        privateEndpointIp: string
        privateEndpointLabel: string
        refreshableMode: string
        remoteDisasterRecoveryType: string
        resourcePoolLeaderId: string
        resourcePoolSummary:
            isDisabled: false
            poolSize: 0
        rotateKeyTrigger: false
        scheduledOperations:
            - dayOfWeek:
                name: string
              scheduledStartTime: string
              scheduledStopTime: string
        secretId: string
        secretVersionNumber: 0
        shrinkAdbTrigger: 0
        source: string
        sourceId: string
        standbyWhitelistedIps:
            - string
        state: string
        subnetId: string
        switchoverTo: string
        switchoverToRemotePeerId: string
        timeOfAutoRefreshStart: string
        timestamp: string
        useLatestAvailableBackupTimeStamp: false
        vaultId: string
        whitelistedIps:
            - string
    

    AutonomousDatabase Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AutonomousDatabase resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment of the Autonomous Database.
    DbName string
    The database name. The name must begin with an alphabetic character and can contain a maximum of 14 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.
    AdminPassword string
    (Updatable) The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. The password is mandatory if source value is "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "DATABASE" or "NONE".
    ArePrimaryWhitelistedIpsUsed bool
    (Updatable) This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It's value would be TRUE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It's value would be FALSE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.
    AutoRefreshFrequencyInSeconds int
    (Updatable) The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the timeOfAutoRefreshStart parameter.
    AutoRefreshPointLagInSeconds int
    (Updatable) The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
    AutonomousContainerDatabaseId string
    The Autonomous Container Database OCID.
    AutonomousDatabaseBackupId string
    The OCID of the source Autonomous Database Backup that you will clone to create a new Autonomous Database.
    AutonomousDatabaseId string
    The OCID of the source Autonomous Database that you will clone to create a new Autonomous Database.
    AutonomousMaintenanceScheduleType string
    The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.
    BackupRetentionPeriodInDays int
    (Updatable) Retention period, in days, for backups.
    CharacterSet string

    The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by List Autonomous Database Character Sets

    For an Autonomous Database on dedicated infrastructure, the allowed values are:

    AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS

    CloneType string
    The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.
    ComputeCount double
    (Updatable) Compute used by database tools.
    ComputeModel string
    (Updatable) The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
    CpuCoreCount int
    (Updatable) The number of CPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. Note: This parameter cannot be used with the ocpuCount parameter. This input is ignored for Always Free resources.

    • The data type must be an integer.
    • The minimum number of cores for all types of autonomous database is 1
    • The maximum number of cores is as follows:
    • Autonomous Database Serverless instances: The maximum number of cores is 128.
    • Autonomous Databases on dedicated Exadata infrastructure: The maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.
    CustomerContacts List<AutonomousDatabaseCustomerContact>
    (Updatable) Customer Contacts.
    DataSafeStatus string
    (Updatable) Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED.
    DataStorageSizeInGb int

    (Updatable) The size, in gigabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. The maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Notes

    • This parameter is only supported for dedicated Exadata infrastructure.
    • This parameter cannot be used with the dataStorageSizeInTBs parameter.
    DataStorageSizeInTbs int

    (Updatable) The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).

    Note: This parameter cannot be used with the dataStorageSizeInGBs parameter. This input is ignored for Always Free resources.

    DatabaseEdition string
    (Updatable) The Oracle Database Edition that applies to the Autonomous databases. It can be set to ENTERPRISE_EDITION or STANDARD_EDITION.
    DatabaseManagementStatus string
    Status of Database Management for this Autonomous Database.
    DbToolsDetails List<AutonomousDatabaseDbToolsDetail>

    (Updatable) The list of database tools details.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.

    DbVersion string
    (Updatable) A valid Oracle Database version for Autonomous Database.db_workload AJD and APEX are only supported for db_version 19c and above.
    DbWorkload string

    (Updatable) The Autonomous Database workload type. The following values are valid:

    • OLTP - indicates an Autonomous Transaction Processing database
    • DW - indicates an Autonomous Data Warehouse database
    • AJD - indicates an Autonomous JSON Database
    • APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. *Note: db_workload can only be updated from AJD to OLTP or from a free OLTP to AJD.

    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    DisplayName string
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    FreeformTags Dictionary<string, object>
    (Updatable) 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. Example: {"Department": "Finance"}
    InMemoryPercentage int
    (Updatable) 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 bool

    (Updatable) 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 whitelistedIps property. While specifying whitelistedIps rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.

    This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, whitelistedIps is used.

    IsAutoScalingEnabled bool
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is TRUE.
    IsAutoScalingForStorageEnabled bool
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is FALSE.
    IsDataGuardEnabled bool
    (Updatable) 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 bool
    True if the database is on dedicated Exadata infrastructure.
    IsDevTier bool
    (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
    IsFreeTier bool
    (Updatable) 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. When db_workload is AJD or APEX it cannot be true.
    IsLocalDataGuardEnabled bool
    (Updatable) Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. It takes boolean values. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    IsMtlsConnectionRequired bool
    (Updatable) Indicates whether the Autonomous Database requires mTLS connections.
    IsPreviewVersionWithServiceTermsAccepted bool
    If set to TRUE, indicates that an Autonomous Database preview version is being provisioned, and that the preview version's terms of service have been accepted. Note that preview version software is only available for databases on Autonomous Database Serverless.
    IsRefreshableClone bool
    (Updatable) True for creating a refreshable clone and False for detaching the clone from source Autonomous Database. Detaching is one time operation and clone becomes a regular Autonomous Database.
    IsReplicateAutomaticBackups bool
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    IsShrinkOnly bool

    (Updatable) An optional property when enabled triggers the Shrinking of Autonomous Database once. To trigger Shrinking of ADB once again, this flag needs to be disabled and re-enabled again. It should not be passed during create database operation. It is only applicable on Serverless databases i.e. where is_dedicated is false.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Deprecated: The 'is_shrink_only' field has been deprecated. Please use 'shrink_adb_trigger' instead.

    KmsKeyId string
    The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
    LicenseModel string
    (Updatable) 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 PaaS and IaaS services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using shared Exadata infrastructure, if a value is not specified, the system will supply the value of BRING_YOUR_OWN_LICENSE. It is a required field when db_workload is AJD and needs to be set to LICENSE_INCLUDED as AJD does not support default license_model value BRING_YOUR_OWN_LICENSE.
    LocalAdgAutoFailoverMaxDataLossLimit int
    Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard
    LongTermBackupSchedules List<AutonomousDatabaseLongTermBackupSchedule>
    Details for the long-term backup schedule.
    MaxCpuCoreCount int
    (Updatable) Deprecated. The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.
    NcharacterSet string
    The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
    NsgIds List<string>
    (Updatable) 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:

    • A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
    OcpuCount double

    (Updatable) The number of OCPU cores to be made available to the database.

    The following points apply:

    • For Autonomous Databases on Dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.)
    • To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure.
    • For Autonomous Database Serverless instances, this parameter is not used.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.

    For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Note: This parameter cannot be used with the cpuCoreCount parameter.

    OpenMode string
    Indicates the Autonomous Database mode. The database can be opened in READ_ONLY or READ_WRITE mode.
    OperationsInsightsStatus string
    (Updatable) Status of Operations Insights for this Autonomous Database. Values supported are ENABLED and NOT_ENABLED
    PermissionLevel string
    The Autonomous Database permission level. Restricted mode allows access only by admin users.
    PrivateEndpointIp string
    The private endpoint Ip address for the resource.
    PrivateEndpointLabel string
    (Updatable) (Optional) (Updatable) The resource's private endpoint label.

    • Setting the endpoint label to a non-empty string creates a private endpoint database.
    • Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database.
    • Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
    RefreshableMode string
    (Updatable) The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
    RemoteDisasterRecoveryType string
    Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    ResourcePoolLeaderId string
    (Updatable) The unique identifier for leader autonomous database OCID OCID.
    ResourcePoolSummary AutonomousDatabaseResourcePoolSummary
    (Updatable) The configuration details for resource pool
    RotateKeyTrigger bool
    (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where is_dedicated is true.
    ScheduledOperations List<AutonomousDatabaseScheduledOperation>

    (Updatable) The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    SecretId string

    (Updatable) The Oracle Cloud Infrastructure vault secret [/Content/General/Concepts/identifiers.htm]OCID.

    This cannot be used in conjunction with adminPassword.

    SecretVersionNumber int
    (Updatable) The version of the vault secret. If no version is specified, the latest version will be used.
    ShrinkAdbTrigger int
    Source string

    The source of the database:

    • Use NONE for creating a new Autonomous Database.
    • Use DATABASE for creating a new Autonomous Database by cloning an existing running Autonomous Database from the latest timestamp, also provide the source database OCID in the source_id parameter.
    • Use CROSS_REGION_DATAGUARD to create a standby Data Guard database in another region, also provide the remote primary database OCID in the source_id parameter.
    • Use CLONE_TO_REFRESHABLE for creating a refreshable clone.

    For Autonomous Database Serverless instances, the following cloning options are available:

    • Use BACKUP_FROM_ID for creating a new Autonomous Database by cloning from a specified backup. Also provide the backup OCID in the autonomous_database_backup_id parameter.
    • Use BACKUP_FROM_TIMESTAMP for creating a point-in-time Autonomous Database clone using backups. Also provide the backup timestamp in the timestamp parameter. For more information, see Cloning and Moving an Autonomous Database.
    SourceId string
    The OCID of the source Autonomous Database that will be used to create a new standby database for the Data Guard association.
    StandbyWhitelistedIps List<string>

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses whitelisted_ips primary's IP access control list (ACL) as standbywhitelistedips for the disaster recovery peer.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    State string
    The current state of the Autonomous Database.
    SubnetId string

    (Updatable) The OCID of the subnet the resource is associated with. This the only parameter to configure private endpoint, VCN details are obtained from the subnet_id.

    Subnet Restrictions:

    • For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
    • For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20.
    • For Autonomous Database, setting this will disable public secure access to the database.

    These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.

    SwitchoverTo string
    It is applicable only when is_local_data_guard_enabled is true. Could be set to PRIMARY or STANDBY. Default value is PRIMARY.
    SwitchoverToRemotePeerId string
    (Updatable) It is applicable only when dataguard_region_type and role are set, and is_dedicated is false. For Autonomous Database Serverless instances, Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. It takes the OCID of the remote peer to switchover to and the API is called from the remote region.
    TimeOfAutoRefreshStart string
    The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds parameter.
    Timestamp string
    The timestamp specified for the point-in-time clone of the source Autonomous Database. The timestamp must be in the past.
    UseLatestAvailableBackupTimeStamp bool
    Clone from latest available backup timestamp.
    VaultId string
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    WhitelistedIps List<string>

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. To remove all whitelisted IPs, set the field to a list with an empty string [""].

    CompartmentId string
    (Updatable) The OCID of the compartment of the Autonomous Database.
    DbName string
    The database name. The name must begin with an alphabetic character and can contain a maximum of 14 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.
    AdminPassword string
    (Updatable) The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. The password is mandatory if source value is "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "DATABASE" or "NONE".
    ArePrimaryWhitelistedIpsUsed bool
    (Updatable) This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It's value would be TRUE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It's value would be FALSE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.
    AutoRefreshFrequencyInSeconds int
    (Updatable) The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the timeOfAutoRefreshStart parameter.
    AutoRefreshPointLagInSeconds int
    (Updatable) The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
    AutonomousContainerDatabaseId string
    The Autonomous Container Database OCID.
    AutonomousDatabaseBackupId string
    The OCID of the source Autonomous Database Backup that you will clone to create a new Autonomous Database.
    AutonomousDatabaseId string
    The OCID of the source Autonomous Database that you will clone to create a new Autonomous Database.
    AutonomousMaintenanceScheduleType string
    The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.
    BackupRetentionPeriodInDays int
    (Updatable) Retention period, in days, for backups.
    CharacterSet string

    The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by List Autonomous Database Character Sets

    For an Autonomous Database on dedicated infrastructure, the allowed values are:

    AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS

    CloneType string
    The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.
    ComputeCount float64
    (Updatable) Compute used by database tools.
    ComputeModel string
    (Updatable) The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
    CpuCoreCount int
    (Updatable) The number of CPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. Note: This parameter cannot be used with the ocpuCount parameter. This input is ignored for Always Free resources.

    • The data type must be an integer.
    • The minimum number of cores for all types of autonomous database is 1
    • The maximum number of cores is as follows:
    • Autonomous Database Serverless instances: The maximum number of cores is 128.
    • Autonomous Databases on dedicated Exadata infrastructure: The maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.
    CustomerContacts []AutonomousDatabaseCustomerContactArgs
    (Updatable) Customer Contacts.
    DataSafeStatus string
    (Updatable) Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED.
    DataStorageSizeInGb int

    (Updatable) The size, in gigabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. The maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Notes

    • This parameter is only supported for dedicated Exadata infrastructure.
    • This parameter cannot be used with the dataStorageSizeInTBs parameter.
    DataStorageSizeInTbs int

    (Updatable) The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).

    Note: This parameter cannot be used with the dataStorageSizeInGBs parameter. This input is ignored for Always Free resources.

    DatabaseEdition string
    (Updatable) The Oracle Database Edition that applies to the Autonomous databases. It can be set to ENTERPRISE_EDITION or STANDARD_EDITION.
    DatabaseManagementStatus string
    Status of Database Management for this Autonomous Database.
    DbToolsDetails []AutonomousDatabaseDbToolsDetailArgs

    (Updatable) The list of database tools details.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.

    DbVersion string
    (Updatable) A valid Oracle Database version for Autonomous Database.db_workload AJD and APEX are only supported for db_version 19c and above.
    DbWorkload string

    (Updatable) The Autonomous Database workload type. The following values are valid:

    • OLTP - indicates an Autonomous Transaction Processing database
    • DW - indicates an Autonomous Data Warehouse database
    • AJD - indicates an Autonomous JSON Database
    • APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. *Note: db_workload can only be updated from AJD to OLTP or from a free OLTP to AJD.

    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    DisplayName string
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    FreeformTags map[string]interface{}
    (Updatable) 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. Example: {"Department": "Finance"}
    InMemoryPercentage int
    (Updatable) 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 bool

    (Updatable) 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 whitelistedIps property. While specifying whitelistedIps rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.

    This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, whitelistedIps is used.

    IsAutoScalingEnabled bool
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is TRUE.
    IsAutoScalingForStorageEnabled bool
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is FALSE.
    IsDataGuardEnabled bool
    (Updatable) 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 bool
    True if the database is on dedicated Exadata infrastructure.
    IsDevTier bool
    (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
    IsFreeTier bool
    (Updatable) 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. When db_workload is AJD or APEX it cannot be true.
    IsLocalDataGuardEnabled bool
    (Updatable) Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. It takes boolean values. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    IsMtlsConnectionRequired bool
    (Updatable) Indicates whether the Autonomous Database requires mTLS connections.
    IsPreviewVersionWithServiceTermsAccepted bool
    If set to TRUE, indicates that an Autonomous Database preview version is being provisioned, and that the preview version's terms of service have been accepted. Note that preview version software is only available for databases on Autonomous Database Serverless.
    IsRefreshableClone bool
    (Updatable) True for creating a refreshable clone and False for detaching the clone from source Autonomous Database. Detaching is one time operation and clone becomes a regular Autonomous Database.
    IsReplicateAutomaticBackups bool
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    IsShrinkOnly bool

    (Updatable) An optional property when enabled triggers the Shrinking of Autonomous Database once. To trigger Shrinking of ADB once again, this flag needs to be disabled and re-enabled again. It should not be passed during create database operation. It is only applicable on Serverless databases i.e. where is_dedicated is false.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Deprecated: The 'is_shrink_only' field has been deprecated. Please use 'shrink_adb_trigger' instead.

    KmsKeyId string
    The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
    LicenseModel string
    (Updatable) 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 PaaS and IaaS services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using shared Exadata infrastructure, if a value is not specified, the system will supply the value of BRING_YOUR_OWN_LICENSE. It is a required field when db_workload is AJD and needs to be set to LICENSE_INCLUDED as AJD does not support default license_model value BRING_YOUR_OWN_LICENSE.
    LocalAdgAutoFailoverMaxDataLossLimit int
    Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard
    LongTermBackupSchedules []AutonomousDatabaseLongTermBackupScheduleArgs
    Details for the long-term backup schedule.
    MaxCpuCoreCount int
    (Updatable) Deprecated. The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.
    NcharacterSet string
    The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
    NsgIds []string
    (Updatable) 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:

    • A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
    OcpuCount float64

    (Updatable) The number of OCPU cores to be made available to the database.

    The following points apply:

    • For Autonomous Databases on Dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.)
    • To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure.
    • For Autonomous Database Serverless instances, this parameter is not used.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.

    For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Note: This parameter cannot be used with the cpuCoreCount parameter.

    OpenMode string
    Indicates the Autonomous Database mode. The database can be opened in READ_ONLY or READ_WRITE mode.
    OperationsInsightsStatus string
    (Updatable) Status of Operations Insights for this Autonomous Database. Values supported are ENABLED and NOT_ENABLED
    PermissionLevel string
    The Autonomous Database permission level. Restricted mode allows access only by admin users.
    PrivateEndpointIp string
    The private endpoint Ip address for the resource.
    PrivateEndpointLabel string
    (Updatable) (Optional) (Updatable) The resource's private endpoint label.

    • Setting the endpoint label to a non-empty string creates a private endpoint database.
    • Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database.
    • Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
    RefreshableMode string
    (Updatable) The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
    RemoteDisasterRecoveryType string
    Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    ResourcePoolLeaderId string
    (Updatable) The unique identifier for leader autonomous database OCID OCID.
    ResourcePoolSummary AutonomousDatabaseResourcePoolSummaryArgs
    (Updatable) The configuration details for resource pool
    RotateKeyTrigger bool
    (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where is_dedicated is true.
    ScheduledOperations []AutonomousDatabaseScheduledOperationArgs

    (Updatable) The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    SecretId string

    (Updatable) The Oracle Cloud Infrastructure vault secret [/Content/General/Concepts/identifiers.htm]OCID.

    This cannot be used in conjunction with adminPassword.

    SecretVersionNumber int
    (Updatable) The version of the vault secret. If no version is specified, the latest version will be used.
    ShrinkAdbTrigger int
    Source string

    The source of the database:

    • Use NONE for creating a new Autonomous Database.
    • Use DATABASE for creating a new Autonomous Database by cloning an existing running Autonomous Database from the latest timestamp, also provide the source database OCID in the source_id parameter.
    • Use CROSS_REGION_DATAGUARD to create a standby Data Guard database in another region, also provide the remote primary database OCID in the source_id parameter.
    • Use CLONE_TO_REFRESHABLE for creating a refreshable clone.

    For Autonomous Database Serverless instances, the following cloning options are available:

    • Use BACKUP_FROM_ID for creating a new Autonomous Database by cloning from a specified backup. Also provide the backup OCID in the autonomous_database_backup_id parameter.
    • Use BACKUP_FROM_TIMESTAMP for creating a point-in-time Autonomous Database clone using backups. Also provide the backup timestamp in the timestamp parameter. For more information, see Cloning and Moving an Autonomous Database.
    SourceId string
    The OCID of the source Autonomous Database that will be used to create a new standby database for the Data Guard association.
    StandbyWhitelistedIps []string

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses whitelisted_ips primary's IP access control list (ACL) as standbywhitelistedips for the disaster recovery peer.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    State string
    The current state of the Autonomous Database.
    SubnetId string

    (Updatable) The OCID of the subnet the resource is associated with. This the only parameter to configure private endpoint, VCN details are obtained from the subnet_id.

    Subnet Restrictions:

    • For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
    • For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20.
    • For Autonomous Database, setting this will disable public secure access to the database.

    These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.

    SwitchoverTo string
    It is applicable only when is_local_data_guard_enabled is true. Could be set to PRIMARY or STANDBY. Default value is PRIMARY.
    SwitchoverToRemotePeerId string
    (Updatable) It is applicable only when dataguard_region_type and role are set, and is_dedicated is false. For Autonomous Database Serverless instances, Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. It takes the OCID of the remote peer to switchover to and the API is called from the remote region.
    TimeOfAutoRefreshStart string
    The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds parameter.
    Timestamp string
    The timestamp specified for the point-in-time clone of the source Autonomous Database. The timestamp must be in the past.
    UseLatestAvailableBackupTimeStamp bool
    Clone from latest available backup timestamp.
    VaultId string
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    WhitelistedIps []string

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. To remove all whitelisted IPs, set the field to a list with an empty string [""].

    compartmentId String
    (Updatable) The OCID of the compartment of the Autonomous Database.
    dbName String
    The database name. The name must begin with an alphabetic character and can contain a maximum of 14 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.
    adminPassword String
    (Updatable) The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. The password is mandatory if source value is "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "DATABASE" or "NONE".
    arePrimaryWhitelistedIpsUsed Boolean
    (Updatable) This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It's value would be TRUE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It's value would be FALSE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.
    autoRefreshFrequencyInSeconds Integer
    (Updatable) The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the timeOfAutoRefreshStart parameter.
    autoRefreshPointLagInSeconds Integer
    (Updatable) The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
    autonomousContainerDatabaseId String
    The Autonomous Container Database OCID.
    autonomousDatabaseBackupId String
    The OCID of the source Autonomous Database Backup that you will clone to create a new Autonomous Database.
    autonomousDatabaseId String
    The OCID of the source Autonomous Database that you will clone to create a new Autonomous Database.
    autonomousMaintenanceScheduleType String
    The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.
    backupRetentionPeriodInDays Integer
    (Updatable) Retention period, in days, for backups.
    characterSet String

    The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by List Autonomous Database Character Sets

    For an Autonomous Database on dedicated infrastructure, the allowed values are:

    AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS

    cloneType String
    The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.
    computeCount Double
    (Updatable) Compute used by database tools.
    computeModel String
    (Updatable) The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
    cpuCoreCount Integer
    (Updatable) The number of CPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. Note: This parameter cannot be used with the ocpuCount parameter. This input is ignored for Always Free resources.

    • The data type must be an integer.
    • The minimum number of cores for all types of autonomous database is 1
    • The maximum number of cores is as follows:
    • Autonomous Database Serverless instances: The maximum number of cores is 128.
    • Autonomous Databases on dedicated Exadata infrastructure: The maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.
    customerContacts List<AutonomousCustomerContact>
    (Updatable) Customer Contacts.
    dataSafeStatus String
    (Updatable) Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED.
    dataStorageSizeInGb Integer

    (Updatable) The size, in gigabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. The maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Notes

    • This parameter is only supported for dedicated Exadata infrastructure.
    • This parameter cannot be used with the dataStorageSizeInTBs parameter.
    dataStorageSizeInTbs Integer

    (Updatable) The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).

    Note: This parameter cannot be used with the dataStorageSizeInGBs parameter. This input is ignored for Always Free resources.

    databaseEdition String
    (Updatable) The Oracle Database Edition that applies to the Autonomous databases. It can be set to ENTERPRISE_EDITION or STANDARD_EDITION.
    databaseManagementStatus String
    Status of Database Management for this Autonomous Database.
    dbToolsDetails List<AutonomousDbToolsDetail>

    (Updatable) The list of database tools details.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.

    dbVersion String
    (Updatable) A valid Oracle Database version for Autonomous Database.db_workload AJD and APEX are only supported for db_version 19c and above.
    dbWorkload String

    (Updatable) The Autonomous Database workload type. The following values are valid:

    • OLTP - indicates an Autonomous Transaction Processing database
    • DW - indicates an Autonomous Data Warehouse database
    • AJD - indicates an Autonomous JSON Database
    • APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. *Note: db_workload can only be updated from AJD to OLTP or from a free OLTP to AJD.

    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    displayName String
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    freeformTags Map<String,Object>
    (Updatable) 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. Example: {"Department": "Finance"}
    inMemoryPercentage Integer
    (Updatable) 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 Boolean

    (Updatable) 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 whitelistedIps property. While specifying whitelistedIps rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.

    This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, whitelistedIps is used.

    isAutoScalingEnabled Boolean
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is TRUE.
    isAutoScalingForStorageEnabled Boolean
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is FALSE.
    isDataGuardEnabled Boolean
    (Updatable) 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 Boolean
    True if the database is on dedicated Exadata infrastructure.
    isDevTier Boolean
    (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
    isFreeTier Boolean
    (Updatable) 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. When db_workload is AJD or APEX it cannot be true.
    isLocalDataGuardEnabled Boolean
    (Updatable) Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. It takes boolean values. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    isMtlsConnectionRequired Boolean
    (Updatable) Indicates whether the Autonomous Database requires mTLS connections.
    isPreviewVersionWithServiceTermsAccepted Boolean
    If set to TRUE, indicates that an Autonomous Database preview version is being provisioned, and that the preview version's terms of service have been accepted. Note that preview version software is only available for databases on Autonomous Database Serverless.
    isRefreshableClone Boolean
    (Updatable) True for creating a refreshable clone and False for detaching the clone from source Autonomous Database. Detaching is one time operation and clone becomes a regular Autonomous Database.
    isReplicateAutomaticBackups Boolean
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    isShrinkOnly Boolean

    (Updatable) An optional property when enabled triggers the Shrinking of Autonomous Database once. To trigger Shrinking of ADB once again, this flag needs to be disabled and re-enabled again. It should not be passed during create database operation. It is only applicable on Serverless databases i.e. where is_dedicated is false.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Deprecated: The 'is_shrink_only' field has been deprecated. Please use 'shrink_adb_trigger' instead.

    kmsKeyId String
    The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
    licenseModel String
    (Updatable) 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 PaaS and IaaS services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using shared Exadata infrastructure, if a value is not specified, the system will supply the value of BRING_YOUR_OWN_LICENSE. It is a required field when db_workload is AJD and needs to be set to LICENSE_INCLUDED as AJD does not support default license_model value BRING_YOUR_OWN_LICENSE.
    localAdgAutoFailoverMaxDataLossLimit Integer
    Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard
    longTermBackupSchedules List<AutonomousLongTermBackupSchedule>
    Details for the long-term backup schedule.
    maxCpuCoreCount Integer
    (Updatable) Deprecated. The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.
    ncharacterSet String
    The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
    nsgIds List<String>
    (Updatable) 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:

    • A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
    ocpuCount Double

    (Updatable) The number of OCPU cores to be made available to the database.

    The following points apply:

    • For Autonomous Databases on Dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.)
    • To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure.
    • For Autonomous Database Serverless instances, this parameter is not used.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.

    For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Note: This parameter cannot be used with the cpuCoreCount parameter.

    openMode String
    Indicates the Autonomous Database mode. The database can be opened in READ_ONLY or READ_WRITE mode.
    operationsInsightsStatus String
    (Updatable) Status of Operations Insights for this Autonomous Database. Values supported are ENABLED and NOT_ENABLED
    permissionLevel String
    The Autonomous Database permission level. Restricted mode allows access only by admin users.
    privateEndpointIp String
    The private endpoint Ip address for the resource.
    privateEndpointLabel String
    (Updatable) (Optional) (Updatable) The resource's private endpoint label.

    • Setting the endpoint label to a non-empty string creates a private endpoint database.
    • Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database.
    • Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
    refreshableMode String
    (Updatable) The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
    remoteDisasterRecoveryType String
    Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    resourcePoolLeaderId String
    (Updatable) The unique identifier for leader autonomous database OCID OCID.
    resourcePoolSummary AutonomousResourcePoolSummary
    (Updatable) The configuration details for resource pool
    rotateKeyTrigger Boolean
    (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where is_dedicated is true.
    scheduledOperations List<AutonomousScheduledOperation>

    (Updatable) The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    secretId String

    (Updatable) The Oracle Cloud Infrastructure vault secret [/Content/General/Concepts/identifiers.htm]OCID.

    This cannot be used in conjunction with adminPassword.

    secretVersionNumber Integer
    (Updatable) The version of the vault secret. If no version is specified, the latest version will be used.
    shrinkAdbTrigger Integer
    source String

    The source of the database:

    • Use NONE for creating a new Autonomous Database.
    • Use DATABASE for creating a new Autonomous Database by cloning an existing running Autonomous Database from the latest timestamp, also provide the source database OCID in the source_id parameter.
    • Use CROSS_REGION_DATAGUARD to create a standby Data Guard database in another region, also provide the remote primary database OCID in the source_id parameter.
    • Use CLONE_TO_REFRESHABLE for creating a refreshable clone.

    For Autonomous Database Serverless instances, the following cloning options are available:

    • Use BACKUP_FROM_ID for creating a new Autonomous Database by cloning from a specified backup. Also provide the backup OCID in the autonomous_database_backup_id parameter.
    • Use BACKUP_FROM_TIMESTAMP for creating a point-in-time Autonomous Database clone using backups. Also provide the backup timestamp in the timestamp parameter. For more information, see Cloning and Moving an Autonomous Database.
    sourceId String
    The OCID of the source Autonomous Database that will be used to create a new standby database for the Data Guard association.
    standbyWhitelistedIps List<String>

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses whitelisted_ips primary's IP access control list (ACL) as standbywhitelistedips for the disaster recovery peer.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    state String
    The current state of the Autonomous Database.
    subnetId String

    (Updatable) The OCID of the subnet the resource is associated with. This the only parameter to configure private endpoint, VCN details are obtained from the subnet_id.

    Subnet Restrictions:

    • For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
    • For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20.
    • For Autonomous Database, setting this will disable public secure access to the database.

    These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.

    switchoverTo String
    It is applicable only when is_local_data_guard_enabled is true. Could be set to PRIMARY or STANDBY. Default value is PRIMARY.
    switchoverToRemotePeerId String
    (Updatable) It is applicable only when dataguard_region_type and role are set, and is_dedicated is false. For Autonomous Database Serverless instances, Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. It takes the OCID of the remote peer to switchover to and the API is called from the remote region.
    timeOfAutoRefreshStart String
    The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds parameter.
    timestamp String
    The timestamp specified for the point-in-time clone of the source Autonomous Database. The timestamp must be in the past.
    useLatestAvailableBackupTimeStamp Boolean
    Clone from latest available backup timestamp.
    vaultId String
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    whitelistedIps List<String>

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. To remove all whitelisted IPs, set the field to a list with an empty string [""].

    compartmentId string
    (Updatable) The OCID of the compartment of the Autonomous Database.
    dbName string
    The database name. The name must begin with an alphabetic character and can contain a maximum of 14 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.
    adminPassword string
    (Updatable) The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. The password is mandatory if source value is "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "DATABASE" or "NONE".
    arePrimaryWhitelistedIpsUsed boolean
    (Updatable) This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It's value would be TRUE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It's value would be FALSE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.
    autoRefreshFrequencyInSeconds number
    (Updatable) The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the timeOfAutoRefreshStart parameter.
    autoRefreshPointLagInSeconds number
    (Updatable) The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
    autonomousContainerDatabaseId string
    The Autonomous Container Database OCID.
    autonomousDatabaseBackupId string
    The OCID of the source Autonomous Database Backup that you will clone to create a new Autonomous Database.
    autonomousDatabaseId string
    The OCID of the source Autonomous Database that you will clone to create a new Autonomous Database.
    autonomousMaintenanceScheduleType string
    The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.
    backupRetentionPeriodInDays number
    (Updatable) Retention period, in days, for backups.
    characterSet string

    The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by List Autonomous Database Character Sets

    For an Autonomous Database on dedicated infrastructure, the allowed values are:

    AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS

    cloneType string
    The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.
    computeCount number
    (Updatable) Compute used by database tools.
    computeModel string
    (Updatable) The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
    cpuCoreCount number
    (Updatable) The number of CPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. Note: This parameter cannot be used with the ocpuCount parameter. This input is ignored for Always Free resources.

    • The data type must be an integer.
    • The minimum number of cores for all types of autonomous database is 1
    • The maximum number of cores is as follows:
    • Autonomous Database Serverless instances: The maximum number of cores is 128.
    • Autonomous Databases on dedicated Exadata infrastructure: The maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.
    customerContacts AutonomousDatabaseCustomerContact[]
    (Updatable) Customer Contacts.
    dataSafeStatus string
    (Updatable) Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED.
    dataStorageSizeInGb number

    (Updatable) The size, in gigabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. The maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Notes

    • This parameter is only supported for dedicated Exadata infrastructure.
    • This parameter cannot be used with the dataStorageSizeInTBs parameter.
    dataStorageSizeInTbs number

    (Updatable) The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).

    Note: This parameter cannot be used with the dataStorageSizeInGBs parameter. This input is ignored for Always Free resources.

    databaseEdition string
    (Updatable) The Oracle Database Edition that applies to the Autonomous databases. It can be set to ENTERPRISE_EDITION or STANDARD_EDITION.
    databaseManagementStatus string
    Status of Database Management for this Autonomous Database.
    dbToolsDetails AutonomousDatabaseDbToolsDetail[]

    (Updatable) The list of database tools details.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.

    dbVersion string
    (Updatable) A valid Oracle Database version for Autonomous Database.db_workload AJD and APEX are only supported for db_version 19c and above.
    dbWorkload string

    (Updatable) The Autonomous Database workload type. The following values are valid:

    • OLTP - indicates an Autonomous Transaction Processing database
    • DW - indicates an Autonomous Data Warehouse database
    • AJD - indicates an Autonomous JSON Database
    • APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. *Note: db_workload can only be updated from AJD to OLTP or from a free OLTP to AJD.

    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    displayName string
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    freeformTags {[key: string]: any}
    (Updatable) 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. Example: {"Department": "Finance"}
    inMemoryPercentage number
    (Updatable) 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 boolean

    (Updatable) 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 whitelistedIps property. While specifying whitelistedIps rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.

    This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, whitelistedIps is used.

    isAutoScalingEnabled boolean
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is TRUE.
    isAutoScalingForStorageEnabled boolean
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is FALSE.
    isDataGuardEnabled boolean
    (Updatable) 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 boolean
    True if the database is on dedicated Exadata infrastructure.
    isDevTier boolean
    (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
    isFreeTier boolean
    (Updatable) 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. When db_workload is AJD or APEX it cannot be true.
    isLocalDataGuardEnabled boolean
    (Updatable) Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. It takes boolean values. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    isMtlsConnectionRequired boolean
    (Updatable) Indicates whether the Autonomous Database requires mTLS connections.
    isPreviewVersionWithServiceTermsAccepted boolean
    If set to TRUE, indicates that an Autonomous Database preview version is being provisioned, and that the preview version's terms of service have been accepted. Note that preview version software is only available for databases on Autonomous Database Serverless.
    isRefreshableClone boolean
    (Updatable) True for creating a refreshable clone and False for detaching the clone from source Autonomous Database. Detaching is one time operation and clone becomes a regular Autonomous Database.
    isReplicateAutomaticBackups boolean
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    isShrinkOnly boolean

    (Updatable) An optional property when enabled triggers the Shrinking of Autonomous Database once. To trigger Shrinking of ADB once again, this flag needs to be disabled and re-enabled again. It should not be passed during create database operation. It is only applicable on Serverless databases i.e. where is_dedicated is false.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Deprecated: The 'is_shrink_only' field has been deprecated. Please use 'shrink_adb_trigger' instead.

    kmsKeyId string
    The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
    licenseModel string
    (Updatable) 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 PaaS and IaaS services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using shared Exadata infrastructure, if a value is not specified, the system will supply the value of BRING_YOUR_OWN_LICENSE. It is a required field when db_workload is AJD and needs to be set to LICENSE_INCLUDED as AJD does not support default license_model value BRING_YOUR_OWN_LICENSE.
    localAdgAutoFailoverMaxDataLossLimit number
    Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard
    longTermBackupSchedules AutonomousDatabaseLongTermBackupSchedule[]
    Details for the long-term backup schedule.
    maxCpuCoreCount number
    (Updatable) Deprecated. The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.
    ncharacterSet string
    The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
    nsgIds string[]
    (Updatable) 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:

    • A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
    ocpuCount number

    (Updatable) The number of OCPU cores to be made available to the database.

    The following points apply:

    • For Autonomous Databases on Dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.)
    • To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure.
    • For Autonomous Database Serverless instances, this parameter is not used.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.

    For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Note: This parameter cannot be used with the cpuCoreCount parameter.

    openMode string
    Indicates the Autonomous Database mode. The database can be opened in READ_ONLY or READ_WRITE mode.
    operationsInsightsStatus string
    (Updatable) Status of Operations Insights for this Autonomous Database. Values supported are ENABLED and NOT_ENABLED
    permissionLevel string
    The Autonomous Database permission level. Restricted mode allows access only by admin users.
    privateEndpointIp string
    The private endpoint Ip address for the resource.
    privateEndpointLabel string
    (Updatable) (Optional) (Updatable) The resource's private endpoint label.

    • Setting the endpoint label to a non-empty string creates a private endpoint database.
    • Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database.
    • Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
    refreshableMode string
    (Updatable) The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
    remoteDisasterRecoveryType string
    Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    resourcePoolLeaderId string
    (Updatable) The unique identifier for leader autonomous database OCID OCID.
    resourcePoolSummary AutonomousDatabaseResourcePoolSummary
    (Updatable) The configuration details for resource pool
    rotateKeyTrigger boolean
    (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where is_dedicated is true.
    scheduledOperations AutonomousDatabaseScheduledOperation[]

    (Updatable) The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    secretId string

    (Updatable) The Oracle Cloud Infrastructure vault secret [/Content/General/Concepts/identifiers.htm]OCID.

    This cannot be used in conjunction with adminPassword.

    secretVersionNumber number
    (Updatable) The version of the vault secret. If no version is specified, the latest version will be used.
    shrinkAdbTrigger number
    source string

    The source of the database:

    • Use NONE for creating a new Autonomous Database.
    • Use DATABASE for creating a new Autonomous Database by cloning an existing running Autonomous Database from the latest timestamp, also provide the source database OCID in the source_id parameter.
    • Use CROSS_REGION_DATAGUARD to create a standby Data Guard database in another region, also provide the remote primary database OCID in the source_id parameter.
    • Use CLONE_TO_REFRESHABLE for creating a refreshable clone.

    For Autonomous Database Serverless instances, the following cloning options are available:

    • Use BACKUP_FROM_ID for creating a new Autonomous Database by cloning from a specified backup. Also provide the backup OCID in the autonomous_database_backup_id parameter.
    • Use BACKUP_FROM_TIMESTAMP for creating a point-in-time Autonomous Database clone using backups. Also provide the backup timestamp in the timestamp parameter. For more information, see Cloning and Moving an Autonomous Database.
    sourceId string
    The OCID of the source Autonomous Database that will be used to create a new standby database for the Data Guard association.
    standbyWhitelistedIps string[]

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses whitelisted_ips primary's IP access control list (ACL) as standbywhitelistedips for the disaster recovery peer.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    state string
    The current state of the Autonomous Database.
    subnetId string

    (Updatable) The OCID of the subnet the resource is associated with. This the only parameter to configure private endpoint, VCN details are obtained from the subnet_id.

    Subnet Restrictions:

    • For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
    • For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20.
    • For Autonomous Database, setting this will disable public secure access to the database.

    These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.

    switchoverTo string
    It is applicable only when is_local_data_guard_enabled is true. Could be set to PRIMARY or STANDBY. Default value is PRIMARY.
    switchoverToRemotePeerId string
    (Updatable) It is applicable only when dataguard_region_type and role are set, and is_dedicated is false. For Autonomous Database Serverless instances, Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. It takes the OCID of the remote peer to switchover to and the API is called from the remote region.
    timeOfAutoRefreshStart string
    The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds parameter.
    timestamp string
    The timestamp specified for the point-in-time clone of the source Autonomous Database. The timestamp must be in the past.
    useLatestAvailableBackupTimeStamp boolean
    Clone from latest available backup timestamp.
    vaultId string
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    whitelistedIps string[]

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. To remove all whitelisted IPs, set the field to a list with an empty string [""].

    compartment_id str
    (Updatable) The OCID of the compartment of the Autonomous Database.
    db_name str
    The database name. The name must begin with an alphabetic character and can contain a maximum of 14 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.
    admin_password str
    (Updatable) The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. The password is mandatory if source value is "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "DATABASE" or "NONE".
    are_primary_whitelisted_ips_used bool
    (Updatable) This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It's value would be TRUE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It's value would be FALSE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.
    auto_refresh_frequency_in_seconds int
    (Updatable) The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the timeOfAutoRefreshStart parameter.
    auto_refresh_point_lag_in_seconds int
    (Updatable) The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
    autonomous_container_database_id str
    The Autonomous Container Database OCID.
    autonomous_database_backup_id str
    The OCID of the source Autonomous Database Backup that you will clone to create a new Autonomous Database.
    autonomous_database_id str
    The OCID of the source Autonomous Database that you will clone to create a new Autonomous Database.
    autonomous_maintenance_schedule_type str
    The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.
    backup_retention_period_in_days int
    (Updatable) Retention period, in days, for backups.
    character_set str

    The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by List Autonomous Database Character Sets

    For an Autonomous Database on dedicated infrastructure, the allowed values are:

    AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS

    clone_type str
    The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.
    compute_count float
    (Updatable) Compute used by database tools.
    compute_model str
    (Updatable) The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
    cpu_core_count int
    (Updatable) The number of CPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. Note: This parameter cannot be used with the ocpuCount parameter. This input is ignored for Always Free resources.

    • The data type must be an integer.
    • The minimum number of cores for all types of autonomous database is 1
    • The maximum number of cores is as follows:
    • Autonomous Database Serverless instances: The maximum number of cores is 128.
    • Autonomous Databases on dedicated Exadata infrastructure: The maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.
    customer_contacts Sequence[database.AutonomousDatabaseCustomerContactArgs]
    (Updatable) Customer Contacts.
    data_safe_status str
    (Updatable) Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED.
    data_storage_size_in_gb int

    (Updatable) The size, in gigabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. The maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Notes

    • This parameter is only supported for dedicated Exadata infrastructure.
    • This parameter cannot be used with the dataStorageSizeInTBs parameter.
    data_storage_size_in_tbs int

    (Updatable) The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).

    Note: This parameter cannot be used with the dataStorageSizeInGBs parameter. This input is ignored for Always Free resources.

    database_edition str
    (Updatable) The Oracle Database Edition that applies to the Autonomous databases. It can be set to ENTERPRISE_EDITION or STANDARD_EDITION.
    database_management_status str
    Status of Database Management for this Autonomous Database.
    db_tools_details Sequence[database.AutonomousDatabaseDbToolsDetailArgs]

    (Updatable) The list of database tools details.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.

    db_version str
    (Updatable) A valid Oracle Database version for Autonomous Database.db_workload AJD and APEX are only supported for db_version 19c and above.
    db_workload str

    (Updatable) The Autonomous Database workload type. The following values are valid:

    • OLTP - indicates an Autonomous Transaction Processing database
    • DW - indicates an Autonomous Data Warehouse database
    • AJD - indicates an Autonomous JSON Database
    • APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. *Note: db_workload can only be updated from AJD to OLTP or from a free OLTP to AJD.

    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    display_name str
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    freeform_tags Mapping[str, Any]
    (Updatable) 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. Example: {"Department": "Finance"}
    in_memory_percentage int
    (Updatable) 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.
    is_access_control_enabled bool

    (Updatable) 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 whitelistedIps property. While specifying whitelistedIps rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.

    This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, whitelistedIps is used.

    is_auto_scaling_enabled bool
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is TRUE.
    is_auto_scaling_for_storage_enabled bool
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is FALSE.
    is_data_guard_enabled bool
    (Updatable) 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.
    is_dedicated bool
    True if the database is on dedicated Exadata infrastructure.
    is_dev_tier bool
    (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
    is_free_tier bool
    (Updatable) 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. When db_workload is AJD or APEX it cannot be true.
    is_local_data_guard_enabled bool
    (Updatable) Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. It takes boolean values. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    is_mtls_connection_required bool
    (Updatable) Indicates whether the Autonomous Database requires mTLS connections.
    is_preview_version_with_service_terms_accepted bool
    If set to TRUE, indicates that an Autonomous Database preview version is being provisioned, and that the preview version's terms of service have been accepted. Note that preview version software is only available for databases on Autonomous Database Serverless.
    is_refreshable_clone bool
    (Updatable) True for creating a refreshable clone and False for detaching the clone from source Autonomous Database. Detaching is one time operation and clone becomes a regular Autonomous Database.
    is_replicate_automatic_backups bool
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    is_shrink_only bool

    (Updatable) An optional property when enabled triggers the Shrinking of Autonomous Database once. To trigger Shrinking of ADB once again, this flag needs to be disabled and re-enabled again. It should not be passed during create database operation. It is only applicable on Serverless databases i.e. where is_dedicated is false.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Deprecated: The 'is_shrink_only' field has been deprecated. Please use 'shrink_adb_trigger' instead.

    kms_key_id str
    The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
    license_model str
    (Updatable) 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 PaaS and IaaS services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using shared Exadata infrastructure, if a value is not specified, the system will supply the value of BRING_YOUR_OWN_LICENSE. It is a required field when db_workload is AJD and needs to be set to LICENSE_INCLUDED as AJD does not support default license_model value BRING_YOUR_OWN_LICENSE.
    local_adg_auto_failover_max_data_loss_limit int
    Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard
    long_term_backup_schedules Sequence[database.AutonomousDatabaseLongTermBackupScheduleArgs]
    Details for the long-term backup schedule.
    max_cpu_core_count int
    (Updatable) Deprecated. The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.
    ncharacter_set str
    The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
    nsg_ids Sequence[str]
    (Updatable) 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:

    • A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
    ocpu_count float

    (Updatable) The number of OCPU cores to be made available to the database.

    The following points apply:

    • For Autonomous Databases on Dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.)
    • To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure.
    • For Autonomous Database Serverless instances, this parameter is not used.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.

    For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Note: This parameter cannot be used with the cpuCoreCount parameter.

    open_mode str
    Indicates the Autonomous Database mode. The database can be opened in READ_ONLY or READ_WRITE mode.
    operations_insights_status str
    (Updatable) Status of Operations Insights for this Autonomous Database. Values supported are ENABLED and NOT_ENABLED
    permission_level str
    The Autonomous Database permission level. Restricted mode allows access only by admin users.
    private_endpoint_ip str
    The private endpoint Ip address for the resource.
    private_endpoint_label str
    (Updatable) (Optional) (Updatable) The resource's private endpoint label.

    • Setting the endpoint label to a non-empty string creates a private endpoint database.
    • Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database.
    • Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
    refreshable_mode str
    (Updatable) The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
    remote_disaster_recovery_type str
    Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    resource_pool_leader_id str
    (Updatable) The unique identifier for leader autonomous database OCID OCID.
    resource_pool_summary database.AutonomousDatabaseResourcePoolSummaryArgs
    (Updatable) The configuration details for resource pool
    rotate_key_trigger bool
    (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where is_dedicated is true.
    scheduled_operations Sequence[database.AutonomousDatabaseScheduledOperationArgs]

    (Updatable) The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    secret_id str

    (Updatable) The Oracle Cloud Infrastructure vault secret [/Content/General/Concepts/identifiers.htm]OCID.

    This cannot be used in conjunction with adminPassword.

    secret_version_number int
    (Updatable) The version of the vault secret. If no version is specified, the latest version will be used.
    shrink_adb_trigger int
    source str

    The source of the database:

    • Use NONE for creating a new Autonomous Database.
    • Use DATABASE for creating a new Autonomous Database by cloning an existing running Autonomous Database from the latest timestamp, also provide the source database OCID in the source_id parameter.
    • Use CROSS_REGION_DATAGUARD to create a standby Data Guard database in another region, also provide the remote primary database OCID in the source_id parameter.
    • Use CLONE_TO_REFRESHABLE for creating a refreshable clone.

    For Autonomous Database Serverless instances, the following cloning options are available:

    • Use BACKUP_FROM_ID for creating a new Autonomous Database by cloning from a specified backup. Also provide the backup OCID in the autonomous_database_backup_id parameter.
    • Use BACKUP_FROM_TIMESTAMP for creating a point-in-time Autonomous Database clone using backups. Also provide the backup timestamp in the timestamp parameter. For more information, see Cloning and Moving an Autonomous Database.
    source_id str
    The OCID of the source Autonomous Database that will be used to create a new standby database for the Data Guard association.
    standby_whitelisted_ips Sequence[str]

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses whitelisted_ips primary's IP access control list (ACL) as standbywhitelistedips for the disaster recovery peer.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    state str
    The current state of the Autonomous Database.
    subnet_id str

    (Updatable) The OCID of the subnet the resource is associated with. This the only parameter to configure private endpoint, VCN details are obtained from the subnet_id.

    Subnet Restrictions:

    • For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
    • For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20.
    • For Autonomous Database, setting this will disable public secure access to the database.

    These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.

    switchover_to str
    It is applicable only when is_local_data_guard_enabled is true. Could be set to PRIMARY or STANDBY. Default value is PRIMARY.
    switchover_to_remote_peer_id str
    (Updatable) It is applicable only when dataguard_region_type and role are set, and is_dedicated is false. For Autonomous Database Serverless instances, Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. It takes the OCID of the remote peer to switchover to and the API is called from the remote region.
    time_of_auto_refresh_start str
    The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds parameter.
    timestamp str
    The timestamp specified for the point-in-time clone of the source Autonomous Database. The timestamp must be in the past.
    use_latest_available_backup_time_stamp bool
    Clone from latest available backup timestamp.
    vault_id str
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    whitelisted_ips Sequence[str]

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. To remove all whitelisted IPs, set the field to a list with an empty string [""].

    compartmentId String
    (Updatable) The OCID of the compartment of the Autonomous Database.
    dbName String
    The database name. The name must begin with an alphabetic character and can contain a maximum of 14 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.
    adminPassword String
    (Updatable) The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. The password is mandatory if source value is "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "DATABASE" or "NONE".
    arePrimaryWhitelistedIpsUsed Boolean
    (Updatable) This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It's value would be TRUE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It's value would be FALSE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.
    autoRefreshFrequencyInSeconds Number
    (Updatable) The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the timeOfAutoRefreshStart parameter.
    autoRefreshPointLagInSeconds Number
    (Updatable) The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
    autonomousContainerDatabaseId String
    The Autonomous Container Database OCID.
    autonomousDatabaseBackupId String
    The OCID of the source Autonomous Database Backup that you will clone to create a new Autonomous Database.
    autonomousDatabaseId String
    The OCID of the source Autonomous Database that you will clone to create a new Autonomous Database.
    autonomousMaintenanceScheduleType String
    The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.
    backupRetentionPeriodInDays Number
    (Updatable) Retention period, in days, for backups.
    characterSet String

    The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by List Autonomous Database Character Sets

    For an Autonomous Database on dedicated infrastructure, the allowed values are:

    AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS

    cloneType String
    The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.
    computeCount Number
    (Updatable) Compute used by database tools.
    computeModel String
    (Updatable) The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
    cpuCoreCount Number
    (Updatable) The number of CPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. Note: This parameter cannot be used with the ocpuCount parameter. This input is ignored for Always Free resources.

    • The data type must be an integer.
    • The minimum number of cores for all types of autonomous database is 1
    • The maximum number of cores is as follows:
    • Autonomous Database Serverless instances: The maximum number of cores is 128.
    • Autonomous Databases on dedicated Exadata infrastructure: The maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.
    customerContacts List<Property Map>
    (Updatable) Customer Contacts.
    dataSafeStatus String
    (Updatable) Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED.
    dataStorageSizeInGb Number

    (Updatable) The size, in gigabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. The maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Notes

    • This parameter is only supported for dedicated Exadata infrastructure.
    • This parameter cannot be used with the dataStorageSizeInTBs parameter.
    dataStorageSizeInTbs Number

    (Updatable) The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).

    Note: This parameter cannot be used with the dataStorageSizeInGBs parameter. This input is ignored for Always Free resources.

    databaseEdition String
    (Updatable) The Oracle Database Edition that applies to the Autonomous databases. It can be set to ENTERPRISE_EDITION or STANDARD_EDITION.
    databaseManagementStatus String
    Status of Database Management for this Autonomous Database.
    dbToolsDetails List<Property Map>

    (Updatable) The list of database tools details.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.

    dbVersion String
    (Updatable) A valid Oracle Database version for Autonomous Database.db_workload AJD and APEX are only supported for db_version 19c and above.
    dbWorkload String

    (Updatable) The Autonomous Database workload type. The following values are valid:

    • OLTP - indicates an Autonomous Transaction Processing database
    • DW - indicates an Autonomous Data Warehouse database
    • AJD - indicates an Autonomous JSON Database
    • APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. *Note: db_workload can only be updated from AJD to OLTP or from a free OLTP to AJD.

    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    displayName String
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    freeformTags Map<Any>
    (Updatable) 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. Example: {"Department": "Finance"}
    inMemoryPercentage Number
    (Updatable) 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 Boolean

    (Updatable) 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 whitelistedIps property. While specifying whitelistedIps rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.

    This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, whitelistedIps is used.

    isAutoScalingEnabled Boolean
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is TRUE.
    isAutoScalingForStorageEnabled Boolean
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is FALSE.
    isDataGuardEnabled Boolean
    (Updatable) 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 Boolean
    True if the database is on dedicated Exadata infrastructure.
    isDevTier Boolean
    (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
    isFreeTier Boolean
    (Updatable) 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. When db_workload is AJD or APEX it cannot be true.
    isLocalDataGuardEnabled Boolean
    (Updatable) Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. It takes boolean values. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    isMtlsConnectionRequired Boolean
    (Updatable) Indicates whether the Autonomous Database requires mTLS connections.
    isPreviewVersionWithServiceTermsAccepted Boolean
    If set to TRUE, indicates that an Autonomous Database preview version is being provisioned, and that the preview version's terms of service have been accepted. Note that preview version software is only available for databases on Autonomous Database Serverless.
    isRefreshableClone Boolean
    (Updatable) True for creating a refreshable clone and False for detaching the clone from source Autonomous Database. Detaching is one time operation and clone becomes a regular Autonomous Database.
    isReplicateAutomaticBackups Boolean
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    isShrinkOnly Boolean

    (Updatable) An optional property when enabled triggers the Shrinking of Autonomous Database once. To trigger Shrinking of ADB once again, this flag needs to be disabled and re-enabled again. It should not be passed during create database operation. It is only applicable on Serverless databases i.e. where is_dedicated is false.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Deprecated: The 'is_shrink_only' field has been deprecated. Please use 'shrink_adb_trigger' instead.

    kmsKeyId String
    The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
    licenseModel String
    (Updatable) 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 PaaS and IaaS services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using shared Exadata infrastructure, if a value is not specified, the system will supply the value of BRING_YOUR_OWN_LICENSE. It is a required field when db_workload is AJD and needs to be set to LICENSE_INCLUDED as AJD does not support default license_model value BRING_YOUR_OWN_LICENSE.
    localAdgAutoFailoverMaxDataLossLimit Number
    Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard
    longTermBackupSchedules List<Property Map>
    Details for the long-term backup schedule.
    maxCpuCoreCount Number
    (Updatable) Deprecated. The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.
    ncharacterSet String
    The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
    nsgIds List<String>
    (Updatable) 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:

    • A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
    ocpuCount Number

    (Updatable) The number of OCPU cores to be made available to the database.

    The following points apply:

    • For Autonomous Databases on Dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.)
    • To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure.
    • For Autonomous Database Serverless instances, this parameter is not used.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.

    For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Note: This parameter cannot be used with the cpuCoreCount parameter.

    openMode String
    Indicates the Autonomous Database mode. The database can be opened in READ_ONLY or READ_WRITE mode.
    operationsInsightsStatus String
    (Updatable) Status of Operations Insights for this Autonomous Database. Values supported are ENABLED and NOT_ENABLED
    permissionLevel String
    The Autonomous Database permission level. Restricted mode allows access only by admin users.
    privateEndpointIp String
    The private endpoint Ip address for the resource.
    privateEndpointLabel String
    (Updatable) (Optional) (Updatable) The resource's private endpoint label.

    • Setting the endpoint label to a non-empty string creates a private endpoint database.
    • Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database.
    • Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
    refreshableMode String
    (Updatable) The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
    remoteDisasterRecoveryType String
    Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    resourcePoolLeaderId String
    (Updatable) The unique identifier for leader autonomous database OCID OCID.
    resourcePoolSummary Property Map
    (Updatable) The configuration details for resource pool
    rotateKeyTrigger Boolean
    (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where is_dedicated is true.
    scheduledOperations List<Property Map>

    (Updatable) The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    secretId String

    (Updatable) The Oracle Cloud Infrastructure vault secret [/Content/General/Concepts/identifiers.htm]OCID.

    This cannot be used in conjunction with adminPassword.

    secretVersionNumber Number
    (Updatable) The version of the vault secret. If no version is specified, the latest version will be used.
    shrinkAdbTrigger Number
    source String

    The source of the database:

    • Use NONE for creating a new Autonomous Database.
    • Use DATABASE for creating a new Autonomous Database by cloning an existing running Autonomous Database from the latest timestamp, also provide the source database OCID in the source_id parameter.
    • Use CROSS_REGION_DATAGUARD to create a standby Data Guard database in another region, also provide the remote primary database OCID in the source_id parameter.
    • Use CLONE_TO_REFRESHABLE for creating a refreshable clone.

    For Autonomous Database Serverless instances, the following cloning options are available:

    • Use BACKUP_FROM_ID for creating a new Autonomous Database by cloning from a specified backup. Also provide the backup OCID in the autonomous_database_backup_id parameter.
    • Use BACKUP_FROM_TIMESTAMP for creating a point-in-time Autonomous Database clone using backups. Also provide the backup timestamp in the timestamp parameter. For more information, see Cloning and Moving an Autonomous Database.
    sourceId String
    The OCID of the source Autonomous Database that will be used to create a new standby database for the Data Guard association.
    standbyWhitelistedIps List<String>

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses whitelisted_ips primary's IP access control list (ACL) as standbywhitelistedips for the disaster recovery peer.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    state String
    The current state of the Autonomous Database.
    subnetId String

    (Updatable) The OCID of the subnet the resource is associated with. This the only parameter to configure private endpoint, VCN details are obtained from the subnet_id.

    Subnet Restrictions:

    • For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
    • For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20.
    • For Autonomous Database, setting this will disable public secure access to the database.

    These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.

    switchoverTo String
    It is applicable only when is_local_data_guard_enabled is true. Could be set to PRIMARY or STANDBY. Default value is PRIMARY.
    switchoverToRemotePeerId String
    (Updatable) It is applicable only when dataguard_region_type and role are set, and is_dedicated is false. For Autonomous Database Serverless instances, Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. It takes the OCID of the remote peer to switchover to and the API is called from the remote region.
    timeOfAutoRefreshStart String
    The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds parameter.
    timestamp String
    The timestamp specified for the point-in-time clone of the source Autonomous Database. The timestamp must be in the past.
    useLatestAvailableBackupTimeStamp Boolean
    Clone from latest available backup timestamp.
    vaultId String
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    whitelistedIps List<String>

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. To remove all whitelisted IPs, set the field to a list with an empty string [""].

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AutonomousDatabase resource produces the following output properties:

    ActualUsedDataStorageSizeInTbs double
    The current amount of storage in use for user and system data, in terabytes (TB).
    AllocatedStorageSizeInTbs double
    The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs value. You can compare this value to the actualUsedDataStorageSizeInTBs value to determine if a manual shrink operation is appropriate for your allocated storage.
    ApexDetails List<AutonomousDatabaseApexDetail>
    Information about Oracle APEX Application Development.
    AvailableUpgradeVersions List<string>
    List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
    BackupConfigs List<AutonomousDatabaseBackupConfig>
    Autonomous Database configuration details for storing manual backups in the Object Storage service.
    ConnectionStrings List<AutonomousDatabaseConnectionString>
    The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.
    ConnectionUrls List<AutonomousDatabaseConnectionUrl>
    The URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN. Note that these URLs are provided by the console only for databases on dedicated Exadata infrastructure. Example: {"sqlDevWebUrl": "https://<hostname>/ords...", "apexUrl", "https://<hostname>/ords..."}
    DataguardRegionType string
    Deprecated (Optional) The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless instances, Data Guard associations have designated primary (PRIMARY_DG_REGION) and standby (REMOTE_STANDBY_DG_REGION) regions, and these region types do not change when the database changes roles. The standby regions in Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Data Guard association, and cannot be performed when the database using the "primary" role is operating in a remote Data Guard standby region.
    DisasterRecoveryRegionType string
    Deprecated The disaster recovery (DR) region type of the Autonomous Database. For Serverless Autonomous Databases, DR associations have designated primary (PRIMARY) and standby (REMOTE) regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region.
    FailedDataRecoveryInSeconds int
    Indicates the number of seconds of data loss for a Data Guard failover.
    Id string
    The provider-assigned unique ID for this managed resource.
    InMemoryAreaInGbs int
    The area assigned to In-Memory tables in Autonomous Database.
    InfrastructureType string
    The infrastructure type this resource belongs to.
    IsPreview bool
    Indicates if the Autonomous Database version is a preview version.
    IsReconnectCloneEnabled bool
    Indicates if the refreshable clone can be reconnected to its source database.
    IsRemoteDataGuardEnabled bool
    Indicates whether the Autonomous Database has Cross Region Data Guard enabled. It takes boolean values. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    KeyHistoryEntries List<AutonomousDatabaseKeyHistoryEntry>
    Key History Entry.
    KeyStoreId string
    The OCID of the key store of Oracle Vault. This is used in Autonomous Databases on Serverless instances and dedicated Exadata infrastructure.
    KeyStoreWalletName string
    The wallet name for Oracle Key Vault.
    KmsKeyLifecycleDetails string
    KMS key lifecycle details.
    KmsKeyVersionId 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.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    LocalDisasterRecoveryType string
    Indicates the local disaster recovery (DR) type of the Serverless Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based (BACKUP_BASED) DR type provides lower cost DR with a slower RTO during failover or switchover.
    LocalStandbyDbs List<AutonomousDatabaseLocalStandbyDb>
    Autonomous Data Guard local (same region) standby database details.
    MemoryPerOracleComputeUnitInGbs int
    The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure for more details. This parameter is not used for Autonomous database Serverless.
    NetServicesArchitecture string
    Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
    NextLongTermBackupTimeStamp string
    The date and time when the next long-term backup would be created.
    PeerDbIds List<string>
    The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.
    PrivateEndpoint string
    The private endpoint for the resource. This parameter is not used in Autonomous Databases using Serverless infrastructure and Exadata Cloud@Customer infrastructure.
    ProvisionableCpuses List<double>
    An array of CPU values that an Autonomous Database can be scaled to.
    RefreshableStatus string
    The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.
    RemoteDisasterRecoveryConfigurations List<AutonomousDatabaseRemoteDisasterRecoveryConfiguration>
    Configurations of a Disaster Recovery.
    Role string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    ServiceConsoleUrl string
    The URL of the Service Console for the Autonomous Database.
    StandbyDbs List<AutonomousDatabaseStandbyDb>
    Deprecated Autonomous Data Guard standby database details.
    SupportedRegionsToCloneTos List<string>
    The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    TimeCreated string
    The date and time the Autonomous Database was created.
    TimeDataGuardRoleChanged string
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    TimeDeletionOfFreeAutonomousDatabase string
    The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.
    TimeDisasterRecoveryRoleChanged string
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    TimeLocalDataGuardEnabled string
    The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.
    TimeMaintenanceBegin string
    The date and time when maintenance will begin.
    TimeMaintenanceEnd string
    The date and time when maintenance will end.
    TimeOfJoiningResourcePool string
    TimeOfLastFailover string
    The timestamp of the last failover operation.
    TimeOfLastRefresh string
    The date and time when last refresh happened.
    TimeOfLastRefreshPoint string
    The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.
    TimeOfLastSwitchover string
    The timestamp of the last switchover operation for the Autonomous Database.
    TimeOfNextRefresh string
    The date and time of next refresh.
    TimeReclamationOfFreeAutonomousDatabase string
    The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.
    TimeUntilReconnectCloneEnabled string
    The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.
    TotalBackupStorageSizeInGbs double
    The backup storage to the database.
    UsedDataStorageSizeInGbs int
    The storage space consumed by Autonomous Database in GBs.
    UsedDataStorageSizeInTbs int
    The amount of storage that has been used, in terabytes.
    ActualUsedDataStorageSizeInTbs float64
    The current amount of storage in use for user and system data, in terabytes (TB).
    AllocatedStorageSizeInTbs float64
    The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs value. You can compare this value to the actualUsedDataStorageSizeInTBs value to determine if a manual shrink operation is appropriate for your allocated storage.
    ApexDetails []AutonomousDatabaseApexDetail
    Information about Oracle APEX Application Development.
    AvailableUpgradeVersions []string
    List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
    BackupConfigs []AutonomousDatabaseBackupConfig
    Autonomous Database configuration details for storing manual backups in the Object Storage service.
    ConnectionStrings []AutonomousDatabaseConnectionString
    The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.
    ConnectionUrls []AutonomousDatabaseConnectionUrl
    The URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN. Note that these URLs are provided by the console only for databases on dedicated Exadata infrastructure. Example: {"sqlDevWebUrl": "https://<hostname>/ords...", "apexUrl", "https://<hostname>/ords..."}
    DataguardRegionType string
    Deprecated (Optional) The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless instances, Data Guard associations have designated primary (PRIMARY_DG_REGION) and standby (REMOTE_STANDBY_DG_REGION) regions, and these region types do not change when the database changes roles. The standby regions in Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Data Guard association, and cannot be performed when the database using the "primary" role is operating in a remote Data Guard standby region.
    DisasterRecoveryRegionType string
    Deprecated The disaster recovery (DR) region type of the Autonomous Database. For Serverless Autonomous Databases, DR associations have designated primary (PRIMARY) and standby (REMOTE) regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region.
    FailedDataRecoveryInSeconds int
    Indicates the number of seconds of data loss for a Data Guard failover.
    Id string
    The provider-assigned unique ID for this managed resource.
    InMemoryAreaInGbs int
    The area assigned to In-Memory tables in Autonomous Database.
    InfrastructureType string
    The infrastructure type this resource belongs to.
    IsPreview bool
    Indicates if the Autonomous Database version is a preview version.
    IsReconnectCloneEnabled bool
    Indicates if the refreshable clone can be reconnected to its source database.
    IsRemoteDataGuardEnabled bool
    Indicates whether the Autonomous Database has Cross Region Data Guard enabled. It takes boolean values. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    KeyHistoryEntries []AutonomousDatabaseKeyHistoryEntry
    Key History Entry.
    KeyStoreId string
    The OCID of the key store of Oracle Vault. This is used in Autonomous Databases on Serverless instances and dedicated Exadata infrastructure.
    KeyStoreWalletName string
    The wallet name for Oracle Key Vault.
    KmsKeyLifecycleDetails string
    KMS key lifecycle details.
    KmsKeyVersionId 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.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    LocalDisasterRecoveryType string
    Indicates the local disaster recovery (DR) type of the Serverless Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based (BACKUP_BASED) DR type provides lower cost DR with a slower RTO during failover or switchover.
    LocalStandbyDbs []AutonomousDatabaseLocalStandbyDb
    Autonomous Data Guard local (same region) standby database details.
    MemoryPerOracleComputeUnitInGbs int
    The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure for more details. This parameter is not used for Autonomous database Serverless.
    NetServicesArchitecture string
    Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
    NextLongTermBackupTimeStamp string
    The date and time when the next long-term backup would be created.
    PeerDbIds []string
    The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.
    PrivateEndpoint string
    The private endpoint for the resource. This parameter is not used in Autonomous Databases using Serverless infrastructure and Exadata Cloud@Customer infrastructure.
    ProvisionableCpuses []float64
    An array of CPU values that an Autonomous Database can be scaled to.
    RefreshableStatus string
    The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.
    RemoteDisasterRecoveryConfigurations []AutonomousDatabaseRemoteDisasterRecoveryConfiguration
    Configurations of a Disaster Recovery.
    Role string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    ServiceConsoleUrl string
    The URL of the Service Console for the Autonomous Database.
    StandbyDbs []AutonomousDatabaseStandbyDb
    Deprecated Autonomous Data Guard standby database details.
    SupportedRegionsToCloneTos []string
    The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    TimeCreated string
    The date and time the Autonomous Database was created.
    TimeDataGuardRoleChanged string
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    TimeDeletionOfFreeAutonomousDatabase string
    The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.
    TimeDisasterRecoveryRoleChanged string
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    TimeLocalDataGuardEnabled string
    The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.
    TimeMaintenanceBegin string
    The date and time when maintenance will begin.
    TimeMaintenanceEnd string
    The date and time when maintenance will end.
    TimeOfJoiningResourcePool string
    TimeOfLastFailover string
    The timestamp of the last failover operation.
    TimeOfLastRefresh string
    The date and time when last refresh happened.
    TimeOfLastRefreshPoint string
    The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.
    TimeOfLastSwitchover string
    The timestamp of the last switchover operation for the Autonomous Database.
    TimeOfNextRefresh string
    The date and time of next refresh.
    TimeReclamationOfFreeAutonomousDatabase string
    The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.
    TimeUntilReconnectCloneEnabled string
    The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.
    TotalBackupStorageSizeInGbs float64
    The backup storage to the database.
    UsedDataStorageSizeInGbs int
    The storage space consumed by Autonomous Database in GBs.
    UsedDataStorageSizeInTbs int
    The amount of storage that has been used, in terabytes.
    actualUsedDataStorageSizeInTbs Double
    The current amount of storage in use for user and system data, in terabytes (TB).
    allocatedStorageSizeInTbs Double
    The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs value. You can compare this value to the actualUsedDataStorageSizeInTBs value to determine if a manual shrink operation is appropriate for your allocated storage.
    apexDetails List<AutonomousApexDetail>
    Information about Oracle APEX Application Development.
    availableUpgradeVersions List<String>
    List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
    backupConfigs List<AutonomousBackupConfig>
    Autonomous Database configuration details for storing manual backups in the Object Storage service.
    connectionStrings List<AutonomousConnectionString>
    The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.
    connectionUrls List<AutonomousConnectionUrl>
    The URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN. Note that these URLs are provided by the console only for databases on dedicated Exadata infrastructure. Example: {"sqlDevWebUrl": "https://<hostname>/ords...", "apexUrl", "https://<hostname>/ords..."}
    dataguardRegionType String
    Deprecated (Optional) The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless instances, Data Guard associations have designated primary (PRIMARY_DG_REGION) and standby (REMOTE_STANDBY_DG_REGION) regions, and these region types do not change when the database changes roles. The standby regions in Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Data Guard association, and cannot be performed when the database using the "primary" role is operating in a remote Data Guard standby region.
    disasterRecoveryRegionType String
    Deprecated The disaster recovery (DR) region type of the Autonomous Database. For Serverless Autonomous Databases, DR associations have designated primary (PRIMARY) and standby (REMOTE) regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region.
    failedDataRecoveryInSeconds Integer
    Indicates the number of seconds of data loss for a Data Guard failover.
    id String
    The provider-assigned unique ID for this managed resource.
    inMemoryAreaInGbs Integer
    The area assigned to In-Memory tables in Autonomous Database.
    infrastructureType String
    The infrastructure type this resource belongs to.
    isPreview Boolean
    Indicates if the Autonomous Database version is a preview version.
    isReconnectCloneEnabled Boolean
    Indicates if the refreshable clone can be reconnected to its source database.
    isRemoteDataGuardEnabled Boolean
    Indicates whether the Autonomous Database has Cross Region Data Guard enabled. It takes boolean values. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    keyHistoryEntries List<AutonomousKeyHistoryEntry>
    Key History Entry.
    keyStoreId String
    The OCID of the key store of Oracle Vault. This is used in Autonomous Databases on Serverless instances and dedicated Exadata infrastructure.
    keyStoreWalletName String
    The wallet name for Oracle Key Vault.
    kmsKeyLifecycleDetails String
    KMS key lifecycle details.
    kmsKeyVersionId 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.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    localDisasterRecoveryType String
    Indicates the local disaster recovery (DR) type of the Serverless Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based (BACKUP_BASED) DR type provides lower cost DR with a slower RTO during failover or switchover.
    localStandbyDbs List<AutonomousLocalStandbyDb>
    Autonomous Data Guard local (same region) standby database details.
    memoryPerOracleComputeUnitInGbs Integer
    The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure for more details. This parameter is not used for Autonomous database Serverless.
    netServicesArchitecture String
    Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
    nextLongTermBackupTimeStamp String
    The date and time when the next long-term backup would be created.
    peerDbIds List<String>
    The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.
    privateEndpoint String
    The private endpoint for the resource. This parameter is not used in Autonomous Databases using Serverless infrastructure and Exadata Cloud@Customer infrastructure.
    provisionableCpuses List<Double>
    An array of CPU values that an Autonomous Database can be scaled to.
    refreshableStatus String
    The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.
    remoteDisasterRecoveryConfigurations List<AutonomousRemoteDisasterRecoveryConfiguration>
    Configurations of a Disaster Recovery.
    role String
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    serviceConsoleUrl String
    The URL of the Service Console for the Autonomous Database.
    standbyDbs List<AutonomousStandbyDb>
    Deprecated Autonomous Data Guard standby database details.
    supportedRegionsToCloneTos List<String>
    The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    timeCreated String
    The date and time the Autonomous Database was created.
    timeDataGuardRoleChanged String
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    timeDeletionOfFreeAutonomousDatabase String
    The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.
    timeDisasterRecoveryRoleChanged String
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    timeLocalDataGuardEnabled String
    The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.
    timeMaintenanceBegin String
    The date and time when maintenance will begin.
    timeMaintenanceEnd String
    The date and time when maintenance will end.
    timeOfJoiningResourcePool String
    timeOfLastFailover String
    The timestamp of the last failover operation.
    timeOfLastRefresh String
    The date and time when last refresh happened.
    timeOfLastRefreshPoint String
    The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.
    timeOfLastSwitchover String
    The timestamp of the last switchover operation for the Autonomous Database.
    timeOfNextRefresh String
    The date and time of next refresh.
    timeReclamationOfFreeAutonomousDatabase String
    The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.
    timeUntilReconnectCloneEnabled String
    The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.
    totalBackupStorageSizeInGbs Double
    The backup storage to the database.
    usedDataStorageSizeInGbs Integer
    The storage space consumed by Autonomous Database in GBs.
    usedDataStorageSizeInTbs Integer
    The amount of storage that has been used, in terabytes.
    actualUsedDataStorageSizeInTbs number
    The current amount of storage in use for user and system data, in terabytes (TB).
    allocatedStorageSizeInTbs number
    The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs value. You can compare this value to the actualUsedDataStorageSizeInTBs value to determine if a manual shrink operation is appropriate for your allocated storage.
    apexDetails AutonomousDatabaseApexDetail[]
    Information about Oracle APEX Application Development.
    availableUpgradeVersions string[]
    List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
    backupConfigs AutonomousDatabaseBackupConfig[]
    Autonomous Database configuration details for storing manual backups in the Object Storage service.
    connectionStrings AutonomousDatabaseConnectionString[]
    The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.
    connectionUrls AutonomousDatabaseConnectionUrl[]
    The URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN. Note that these URLs are provided by the console only for databases on dedicated Exadata infrastructure. Example: {"sqlDevWebUrl": "https://<hostname>/ords...", "apexUrl", "https://<hostname>/ords..."}
    dataguardRegionType string
    Deprecated (Optional) The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless instances, Data Guard associations have designated primary (PRIMARY_DG_REGION) and standby (REMOTE_STANDBY_DG_REGION) regions, and these region types do not change when the database changes roles. The standby regions in Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Data Guard association, and cannot be performed when the database using the "primary" role is operating in a remote Data Guard standby region.
    disasterRecoveryRegionType string
    Deprecated The disaster recovery (DR) region type of the Autonomous Database. For Serverless Autonomous Databases, DR associations have designated primary (PRIMARY) and standby (REMOTE) regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region.
    failedDataRecoveryInSeconds number
    Indicates the number of seconds of data loss for a Data Guard failover.
    id string
    The provider-assigned unique ID for this managed resource.
    inMemoryAreaInGbs number
    The area assigned to In-Memory tables in Autonomous Database.
    infrastructureType string
    The infrastructure type this resource belongs to.
    isPreview boolean
    Indicates if the Autonomous Database version is a preview version.
    isReconnectCloneEnabled boolean
    Indicates if the refreshable clone can be reconnected to its source database.
    isRemoteDataGuardEnabled boolean
    Indicates whether the Autonomous Database has Cross Region Data Guard enabled. It takes boolean values. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    keyHistoryEntries AutonomousDatabaseKeyHistoryEntry[]
    Key History Entry.
    keyStoreId string
    The OCID of the key store of Oracle Vault. This is used in Autonomous Databases on Serverless instances and dedicated Exadata infrastructure.
    keyStoreWalletName string
    The wallet name for Oracle Key Vault.
    kmsKeyLifecycleDetails string
    KMS key lifecycle details.
    kmsKeyVersionId 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.
    lifecycleDetails string
    Additional information about the current lifecycle state.
    localDisasterRecoveryType string
    Indicates the local disaster recovery (DR) type of the Serverless Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based (BACKUP_BASED) DR type provides lower cost DR with a slower RTO during failover or switchover.
    localStandbyDbs AutonomousDatabaseLocalStandbyDb[]
    Autonomous Data Guard local (same region) standby database details.
    memoryPerOracleComputeUnitInGbs number
    The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure for more details. This parameter is not used for Autonomous database Serverless.
    netServicesArchitecture string
    Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
    nextLongTermBackupTimeStamp string
    The date and time when the next long-term backup would be created.
    peerDbIds string[]
    The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.
    privateEndpoint string
    The private endpoint for the resource. This parameter is not used in Autonomous Databases using Serverless infrastructure and Exadata Cloud@Customer infrastructure.
    provisionableCpuses number[]
    An array of CPU values that an Autonomous Database can be scaled to.
    refreshableStatus string
    The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.
    remoteDisasterRecoveryConfigurations AutonomousDatabaseRemoteDisasterRecoveryConfiguration[]
    Configurations of a Disaster Recovery.
    role string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    serviceConsoleUrl string
    The URL of the Service Console for the Autonomous Database.
    standbyDbs AutonomousDatabaseStandbyDb[]
    Deprecated Autonomous Data Guard standby database details.
    supportedRegionsToCloneTos string[]
    The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    timeCreated string
    The date and time the Autonomous Database was created.
    timeDataGuardRoleChanged string
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    timeDeletionOfFreeAutonomousDatabase string
    The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.
    timeDisasterRecoveryRoleChanged string
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    timeLocalDataGuardEnabled string
    The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.
    timeMaintenanceBegin string
    The date and time when maintenance will begin.
    timeMaintenanceEnd string
    The date and time when maintenance will end.
    timeOfJoiningResourcePool string
    timeOfLastFailover string
    The timestamp of the last failover operation.
    timeOfLastRefresh string
    The date and time when last refresh happened.
    timeOfLastRefreshPoint string
    The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.
    timeOfLastSwitchover string
    The timestamp of the last switchover operation for the Autonomous Database.
    timeOfNextRefresh string
    The date and time of next refresh.
    timeReclamationOfFreeAutonomousDatabase string
    The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.
    timeUntilReconnectCloneEnabled string
    The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.
    totalBackupStorageSizeInGbs number
    The backup storage to the database.
    usedDataStorageSizeInGbs number
    The storage space consumed by Autonomous Database in GBs.
    usedDataStorageSizeInTbs number
    The amount of storage that has been used, in terabytes.
    actual_used_data_storage_size_in_tbs float
    The current amount of storage in use for user and system data, in terabytes (TB).
    allocated_storage_size_in_tbs float
    The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs value. You can compare this value to the actualUsedDataStorageSizeInTBs value to determine if a manual shrink operation is appropriate for your allocated storage.
    apex_details Sequence[database.AutonomousDatabaseApexDetail]
    Information about Oracle APEX Application Development.
    available_upgrade_versions Sequence[str]
    List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
    backup_configs Sequence[database.AutonomousDatabaseBackupConfig]
    Autonomous Database configuration details for storing manual backups in the Object Storage service.
    connection_strings Sequence[database.AutonomousDatabaseConnectionString]
    The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.
    connection_urls Sequence[database.AutonomousDatabaseConnectionUrl]
    The URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN. Note that these URLs are provided by the console only for databases on dedicated Exadata infrastructure. Example: {"sqlDevWebUrl": "https://<hostname>/ords...", "apexUrl", "https://<hostname>/ords..."}
    dataguard_region_type str
    Deprecated (Optional) The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless instances, Data Guard associations have designated primary (PRIMARY_DG_REGION) and standby (REMOTE_STANDBY_DG_REGION) regions, and these region types do not change when the database changes roles. The standby regions in Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Data Guard association, and cannot be performed when the database using the "primary" role is operating in a remote Data Guard standby region.
    disaster_recovery_region_type str
    Deprecated The disaster recovery (DR) region type of the Autonomous Database. For Serverless Autonomous Databases, DR associations have designated primary (PRIMARY) and standby (REMOTE) regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region.
    failed_data_recovery_in_seconds int
    Indicates the number of seconds of data loss for a Data Guard failover.
    id str
    The provider-assigned unique ID for this managed resource.
    in_memory_area_in_gbs int
    The area assigned to In-Memory tables in Autonomous Database.
    infrastructure_type str
    The infrastructure type this resource belongs to.
    is_preview bool
    Indicates if the Autonomous Database version is a preview version.
    is_reconnect_clone_enabled bool
    Indicates if the refreshable clone can be reconnected to its source database.
    is_remote_data_guard_enabled bool
    Indicates whether the Autonomous Database has Cross Region Data Guard enabled. It takes boolean values. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    key_history_entries Sequence[database.AutonomousDatabaseKeyHistoryEntry]
    Key History Entry.
    key_store_id str
    The OCID of the key store of Oracle Vault. This is used in Autonomous Databases on Serverless instances and dedicated Exadata infrastructure.
    key_store_wallet_name str
    The wallet name for Oracle Key Vault.
    kms_key_lifecycle_details str
    KMS key lifecycle details.
    kms_key_version_id str
    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.
    lifecycle_details str
    Additional information about the current lifecycle state.
    local_disaster_recovery_type str
    Indicates the local disaster recovery (DR) type of the Serverless Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based (BACKUP_BASED) DR type provides lower cost DR with a slower RTO during failover or switchover.
    local_standby_dbs Sequence[database.AutonomousDatabaseLocalStandbyDb]
    Autonomous Data Guard local (same region) standby database details.
    memory_per_oracle_compute_unit_in_gbs int
    The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure for more details. This parameter is not used for Autonomous database Serverless.
    net_services_architecture str
    Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
    next_long_term_backup_time_stamp str
    The date and time when the next long-term backup would be created.
    peer_db_ids Sequence[str]
    The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.
    private_endpoint str
    The private endpoint for the resource. This parameter is not used in Autonomous Databases using Serverless infrastructure and Exadata Cloud@Customer infrastructure.
    provisionable_cpuses Sequence[float]
    An array of CPU values that an Autonomous Database can be scaled to.
    refreshable_status str
    The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.
    remote_disaster_recovery_configurations Sequence[database.AutonomousDatabaseRemoteDisasterRecoveryConfiguration]
    Configurations of a Disaster Recovery.
    role str
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    service_console_url str
    The URL of the Service Console for the Autonomous Database.
    standby_dbs Sequence[database.AutonomousDatabaseStandbyDb]
    Deprecated Autonomous Data Guard standby database details.
    supported_regions_to_clone_tos Sequence[str]
    The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    time_created str
    The date and time the Autonomous Database was created.
    time_data_guard_role_changed str
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    time_deletion_of_free_autonomous_database str
    The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.
    time_disaster_recovery_role_changed str
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    time_local_data_guard_enabled str
    The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.
    time_maintenance_begin str
    The date and time when maintenance will begin.
    time_maintenance_end str
    The date and time when maintenance will end.
    time_of_joining_resource_pool str
    time_of_last_failover str
    The timestamp of the last failover operation.
    time_of_last_refresh str
    The date and time when last refresh happened.
    time_of_last_refresh_point str
    The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.
    time_of_last_switchover str
    The timestamp of the last switchover operation for the Autonomous Database.
    time_of_next_refresh str
    The date and time of next refresh.
    time_reclamation_of_free_autonomous_database str
    The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.
    time_until_reconnect_clone_enabled str
    The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.
    total_backup_storage_size_in_gbs float
    The backup storage to the database.
    used_data_storage_size_in_gbs int
    The storage space consumed by Autonomous Database in GBs.
    used_data_storage_size_in_tbs int
    The amount of storage that has been used, in terabytes.
    actualUsedDataStorageSizeInTbs Number
    The current amount of storage in use for user and system data, in terabytes (TB).
    allocatedStorageSizeInTbs Number
    The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs value. You can compare this value to the actualUsedDataStorageSizeInTBs value to determine if a manual shrink operation is appropriate for your allocated storage.
    apexDetails List<Property Map>
    Information about Oracle APEX Application Development.
    availableUpgradeVersions List<String>
    List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
    backupConfigs List<Property Map>
    Autonomous Database configuration details for storing manual backups in the Object Storage service.
    connectionStrings List<Property Map>
    The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.
    connectionUrls List<Property Map>
    The URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN. Note that these URLs are provided by the console only for databases on dedicated Exadata infrastructure. Example: {"sqlDevWebUrl": "https://<hostname>/ords...", "apexUrl", "https://<hostname>/ords..."}
    dataguardRegionType String
    Deprecated (Optional) The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless instances, Data Guard associations have designated primary (PRIMARY_DG_REGION) and standby (REMOTE_STANDBY_DG_REGION) regions, and these region types do not change when the database changes roles. The standby regions in Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Data Guard association, and cannot be performed when the database using the "primary" role is operating in a remote Data Guard standby region.
    disasterRecoveryRegionType String
    Deprecated The disaster recovery (DR) region type of the Autonomous Database. For Serverless Autonomous Databases, DR associations have designated primary (PRIMARY) and standby (REMOTE) regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region.
    failedDataRecoveryInSeconds Number
    Indicates the number of seconds of data loss for a Data Guard failover.
    id String
    The provider-assigned unique ID for this managed resource.
    inMemoryAreaInGbs Number
    The area assigned to In-Memory tables in Autonomous Database.
    infrastructureType String
    The infrastructure type this resource belongs to.
    isPreview Boolean
    Indicates if the Autonomous Database version is a preview version.
    isReconnectCloneEnabled Boolean
    Indicates if the refreshable clone can be reconnected to its source database.
    isRemoteDataGuardEnabled Boolean
    Indicates whether the Autonomous Database has Cross Region Data Guard enabled. It takes boolean values. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    keyHistoryEntries List<Property Map>
    Key History Entry.
    keyStoreId String
    The OCID of the key store of Oracle Vault. This is used in Autonomous Databases on Serverless instances and dedicated Exadata infrastructure.
    keyStoreWalletName String
    The wallet name for Oracle Key Vault.
    kmsKeyLifecycleDetails String
    KMS key lifecycle details.
    kmsKeyVersionId 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.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    localDisasterRecoveryType String
    Indicates the local disaster recovery (DR) type of the Serverless Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based (BACKUP_BASED) DR type provides lower cost DR with a slower RTO during failover or switchover.
    localStandbyDbs List<Property Map>
    Autonomous Data Guard local (same region) standby database details.
    memoryPerOracleComputeUnitInGbs Number
    The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure for more details. This parameter is not used for Autonomous database Serverless.
    netServicesArchitecture String
    Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
    nextLongTermBackupTimeStamp String
    The date and time when the next long-term backup would be created.
    peerDbIds List<String>
    The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.
    privateEndpoint String
    The private endpoint for the resource. This parameter is not used in Autonomous Databases using Serverless infrastructure and Exadata Cloud@Customer infrastructure.
    provisionableCpuses List<Number>
    An array of CPU values that an Autonomous Database can be scaled to.
    refreshableStatus String
    The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.
    remoteDisasterRecoveryConfigurations List<Property Map>
    Configurations of a Disaster Recovery.
    role String
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    serviceConsoleUrl String
    The URL of the Service Console for the Autonomous Database.
    standbyDbs List<Property Map>
    Deprecated Autonomous Data Guard standby database details.
    supportedRegionsToCloneTos List<String>
    The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    timeCreated String
    The date and time the Autonomous Database was created.
    timeDataGuardRoleChanged String
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    timeDeletionOfFreeAutonomousDatabase String
    The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.
    timeDisasterRecoveryRoleChanged String
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    timeLocalDataGuardEnabled String
    The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.
    timeMaintenanceBegin String
    The date and time when maintenance will begin.
    timeMaintenanceEnd String
    The date and time when maintenance will end.
    timeOfJoiningResourcePool String
    timeOfLastFailover String
    The timestamp of the last failover operation.
    timeOfLastRefresh String
    The date and time when last refresh happened.
    timeOfLastRefreshPoint String
    The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.
    timeOfLastSwitchover String
    The timestamp of the last switchover operation for the Autonomous Database.
    timeOfNextRefresh String
    The date and time of next refresh.
    timeReclamationOfFreeAutonomousDatabase String
    The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.
    timeUntilReconnectCloneEnabled String
    The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.
    totalBackupStorageSizeInGbs Number
    The backup storage to the database.
    usedDataStorageSizeInGbs Number
    The storage space consumed by Autonomous Database in GBs.
    usedDataStorageSizeInTbs Number
    The amount of storage that has been used, in terabytes.

    Look up Existing AutonomousDatabase Resource

    Get an existing AutonomousDatabase resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AutonomousDatabaseState, opts?: CustomResourceOptions): AutonomousDatabase
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            actual_used_data_storage_size_in_tbs: Optional[float] = None,
            admin_password: Optional[str] = None,
            allocated_storage_size_in_tbs: Optional[float] = None,
            apex_details: Optional[Sequence[_database.AutonomousDatabaseApexDetailArgs]] = None,
            are_primary_whitelisted_ips_used: Optional[bool] = None,
            auto_refresh_frequency_in_seconds: Optional[int] = None,
            auto_refresh_point_lag_in_seconds: Optional[int] = None,
            autonomous_container_database_id: Optional[str] = None,
            autonomous_database_backup_id: Optional[str] = None,
            autonomous_database_id: Optional[str] = None,
            autonomous_maintenance_schedule_type: Optional[str] = None,
            available_upgrade_versions: Optional[Sequence[str]] = None,
            backup_configs: Optional[Sequence[_database.AutonomousDatabaseBackupConfigArgs]] = None,
            backup_retention_period_in_days: Optional[int] = None,
            character_set: Optional[str] = None,
            clone_type: Optional[str] = None,
            compartment_id: Optional[str] = None,
            compute_count: Optional[float] = None,
            compute_model: Optional[str] = None,
            connection_strings: Optional[Sequence[_database.AutonomousDatabaseConnectionStringArgs]] = None,
            connection_urls: Optional[Sequence[_database.AutonomousDatabaseConnectionUrlArgs]] = None,
            cpu_core_count: Optional[int] = None,
            customer_contacts: Optional[Sequence[_database.AutonomousDatabaseCustomerContactArgs]] = None,
            data_safe_status: Optional[str] = None,
            data_storage_size_in_gb: Optional[int] = None,
            data_storage_size_in_tbs: Optional[int] = None,
            database_edition: Optional[str] = None,
            database_management_status: Optional[str] = None,
            dataguard_region_type: Optional[str] = None,
            db_name: Optional[str] = None,
            db_tools_details: Optional[Sequence[_database.AutonomousDatabaseDbToolsDetailArgs]] = None,
            db_version: Optional[str] = None,
            db_workload: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            disaster_recovery_region_type: Optional[str] = None,
            display_name: Optional[str] = None,
            failed_data_recovery_in_seconds: Optional[int] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            in_memory_area_in_gbs: Optional[int] = None,
            in_memory_percentage: Optional[int] = None,
            infrastructure_type: Optional[str] = None,
            is_access_control_enabled: Optional[bool] = None,
            is_auto_scaling_enabled: Optional[bool] = None,
            is_auto_scaling_for_storage_enabled: Optional[bool] = None,
            is_data_guard_enabled: Optional[bool] = None,
            is_dedicated: Optional[bool] = None,
            is_dev_tier: Optional[bool] = None,
            is_free_tier: Optional[bool] = None,
            is_local_data_guard_enabled: Optional[bool] = None,
            is_mtls_connection_required: Optional[bool] = None,
            is_preview: Optional[bool] = None,
            is_preview_version_with_service_terms_accepted: Optional[bool] = None,
            is_reconnect_clone_enabled: Optional[bool] = None,
            is_refreshable_clone: Optional[bool] = None,
            is_remote_data_guard_enabled: Optional[bool] = None,
            is_replicate_automatic_backups: Optional[bool] = None,
            is_shrink_only: Optional[bool] = None,
            key_history_entries: Optional[Sequence[_database.AutonomousDatabaseKeyHistoryEntryArgs]] = None,
            key_store_id: Optional[str] = None,
            key_store_wallet_name: Optional[str] = None,
            kms_key_id: Optional[str] = None,
            kms_key_lifecycle_details: Optional[str] = None,
            kms_key_version_id: Optional[str] = None,
            license_model: Optional[str] = None,
            lifecycle_details: Optional[str] = None,
            local_adg_auto_failover_max_data_loss_limit: Optional[int] = None,
            local_disaster_recovery_type: Optional[str] = None,
            local_standby_dbs: Optional[Sequence[_database.AutonomousDatabaseLocalStandbyDbArgs]] = None,
            long_term_backup_schedules: Optional[Sequence[_database.AutonomousDatabaseLongTermBackupScheduleArgs]] = None,
            max_cpu_core_count: Optional[int] = None,
            memory_per_oracle_compute_unit_in_gbs: Optional[int] = None,
            ncharacter_set: Optional[str] = None,
            net_services_architecture: Optional[str] = None,
            next_long_term_backup_time_stamp: Optional[str] = None,
            nsg_ids: Optional[Sequence[str]] = None,
            ocpu_count: Optional[float] = None,
            open_mode: Optional[str] = None,
            operations_insights_status: Optional[str] = None,
            peer_db_ids: Optional[Sequence[str]] = None,
            permission_level: Optional[str] = None,
            private_endpoint: Optional[str] = None,
            private_endpoint_ip: Optional[str] = None,
            private_endpoint_label: Optional[str] = None,
            provisionable_cpuses: Optional[Sequence[float]] = None,
            refreshable_mode: Optional[str] = None,
            refreshable_status: Optional[str] = None,
            remote_disaster_recovery_configurations: Optional[Sequence[_database.AutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs]] = None,
            remote_disaster_recovery_type: Optional[str] = None,
            resource_pool_leader_id: Optional[str] = None,
            resource_pool_summary: Optional[_database.AutonomousDatabaseResourcePoolSummaryArgs] = None,
            role: Optional[str] = None,
            rotate_key_trigger: Optional[bool] = None,
            scheduled_operations: Optional[Sequence[_database.AutonomousDatabaseScheduledOperationArgs]] = None,
            secret_id: Optional[str] = None,
            secret_version_number: Optional[int] = None,
            service_console_url: Optional[str] = None,
            shrink_adb_trigger: Optional[int] = None,
            source: Optional[str] = None,
            source_id: Optional[str] = None,
            standby_dbs: Optional[Sequence[_database.AutonomousDatabaseStandbyDbArgs]] = None,
            standby_whitelisted_ips: Optional[Sequence[str]] = None,
            state: Optional[str] = None,
            subnet_id: Optional[str] = None,
            supported_regions_to_clone_tos: Optional[Sequence[str]] = None,
            switchover_to: Optional[str] = None,
            switchover_to_remote_peer_id: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_data_guard_role_changed: Optional[str] = None,
            time_deletion_of_free_autonomous_database: Optional[str] = None,
            time_disaster_recovery_role_changed: Optional[str] = None,
            time_local_data_guard_enabled: Optional[str] = None,
            time_maintenance_begin: Optional[str] = None,
            time_maintenance_end: Optional[str] = None,
            time_of_auto_refresh_start: Optional[str] = None,
            time_of_joining_resource_pool: Optional[str] = None,
            time_of_last_failover: Optional[str] = None,
            time_of_last_refresh: Optional[str] = None,
            time_of_last_refresh_point: Optional[str] = None,
            time_of_last_switchover: Optional[str] = None,
            time_of_next_refresh: Optional[str] = None,
            time_reclamation_of_free_autonomous_database: Optional[str] = None,
            time_until_reconnect_clone_enabled: Optional[str] = None,
            timestamp: Optional[str] = None,
            total_backup_storage_size_in_gbs: Optional[float] = None,
            use_latest_available_backup_time_stamp: Optional[bool] = None,
            used_data_storage_size_in_gbs: Optional[int] = None,
            used_data_storage_size_in_tbs: Optional[int] = None,
            vault_id: Optional[str] = None,
            whitelisted_ips: Optional[Sequence[str]] = None) -> AutonomousDatabase
    func GetAutonomousDatabase(ctx *Context, name string, id IDInput, state *AutonomousDatabaseState, opts ...ResourceOption) (*AutonomousDatabase, error)
    public static AutonomousDatabase Get(string name, Input<string> id, AutonomousDatabaseState? state, CustomResourceOptions? opts = null)
    public static AutonomousDatabase get(String name, Output<String> id, AutonomousDatabaseState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ActualUsedDataStorageSizeInTbs double
    The current amount of storage in use for user and system data, in terabytes (TB).
    AdminPassword string
    (Updatable) The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. The password is mandatory if source value is "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "DATABASE" or "NONE".
    AllocatedStorageSizeInTbs double
    The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs value. You can compare this value to the actualUsedDataStorageSizeInTBs value to determine if a manual shrink operation is appropriate for your allocated storage.
    ApexDetails List<AutonomousDatabaseApexDetail>
    Information about Oracle APEX Application Development.
    ArePrimaryWhitelistedIpsUsed bool
    (Updatable) This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It's value would be TRUE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It's value would be FALSE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.
    AutoRefreshFrequencyInSeconds int
    (Updatable) The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the timeOfAutoRefreshStart parameter.
    AutoRefreshPointLagInSeconds int
    (Updatable) The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
    AutonomousContainerDatabaseId string
    The Autonomous Container Database OCID.
    AutonomousDatabaseBackupId string
    The OCID of the source Autonomous Database Backup that you will clone to create a new Autonomous Database.
    AutonomousDatabaseId string
    The OCID of the source Autonomous Database that you will clone to create a new Autonomous Database.
    AutonomousMaintenanceScheduleType string
    The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.
    AvailableUpgradeVersions List<string>
    List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
    BackupConfigs List<AutonomousDatabaseBackupConfig>
    Autonomous Database configuration details for storing manual backups in the Object Storage service.
    BackupRetentionPeriodInDays int
    (Updatable) Retention period, in days, for backups.
    CharacterSet string

    The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by List Autonomous Database Character Sets

    For an Autonomous Database on dedicated infrastructure, the allowed values are:

    AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS

    CloneType string
    The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.
    CompartmentId string
    (Updatable) The OCID of the compartment of the Autonomous Database.
    ComputeCount double
    (Updatable) Compute used by database tools.
    ComputeModel string
    (Updatable) The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
    ConnectionStrings List<AutonomousDatabaseConnectionString>
    The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.
    ConnectionUrls List<AutonomousDatabaseConnectionUrl>
    The URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN. Note that these URLs are provided by the console only for databases on dedicated Exadata infrastructure. Example: {"sqlDevWebUrl": "https://<hostname>/ords...", "apexUrl", "https://<hostname>/ords..."}
    CpuCoreCount int
    (Updatable) The number of CPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. Note: This parameter cannot be used with the ocpuCount parameter. This input is ignored for Always Free resources.

    • The data type must be an integer.
    • The minimum number of cores for all types of autonomous database is 1
    • The maximum number of cores is as follows:
    • Autonomous Database Serverless instances: The maximum number of cores is 128.
    • Autonomous Databases on dedicated Exadata infrastructure: The maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.
    CustomerContacts List<AutonomousDatabaseCustomerContact>
    (Updatable) Customer Contacts.
    DataSafeStatus string
    (Updatable) Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED.
    DataStorageSizeInGb int

    (Updatable) The size, in gigabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. The maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Notes

    • This parameter is only supported for dedicated Exadata infrastructure.
    • This parameter cannot be used with the dataStorageSizeInTBs parameter.
    DataStorageSizeInTbs int

    (Updatable) The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).

    Note: This parameter cannot be used with the dataStorageSizeInGBs parameter. This input is ignored for Always Free resources.

    DatabaseEdition string
    (Updatable) The Oracle Database Edition that applies to the Autonomous databases. It can be set to ENTERPRISE_EDITION or STANDARD_EDITION.
    DatabaseManagementStatus string
    Status of Database Management for this Autonomous Database.
    DataguardRegionType string
    Deprecated (Optional) The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless instances, Data Guard associations have designated primary (PRIMARY_DG_REGION) and standby (REMOTE_STANDBY_DG_REGION) regions, and these region types do not change when the database changes roles. The standby regions in Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Data Guard association, and cannot be performed when the database using the "primary" role is operating in a remote Data Guard standby region.
    DbName string
    The database name. The name must begin with an alphabetic character and can contain a maximum of 14 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 List<AutonomousDatabaseDbToolsDetail>

    (Updatable) The list of database tools details.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.

    DbVersion string
    (Updatable) A valid Oracle Database version for Autonomous Database.db_workload AJD and APEX are only supported for db_version 19c and above.
    DbWorkload string

    (Updatable) The Autonomous Database workload type. The following values are valid:

    • OLTP - indicates an Autonomous Transaction Processing database
    • DW - indicates an Autonomous Data Warehouse database
    • AJD - indicates an Autonomous JSON Database
    • APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. *Note: db_workload can only be updated from AJD to OLTP or from a free OLTP to AJD.

    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    DisasterRecoveryRegionType string
    Deprecated The disaster recovery (DR) region type of the Autonomous Database. For Serverless Autonomous Databases, DR associations have designated primary (PRIMARY) and standby (REMOTE) regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region.
    DisplayName string
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    FailedDataRecoveryInSeconds int
    Indicates the number of seconds of data loss for a Data Guard failover.
    FreeformTags Dictionary<string, object>
    (Updatable) 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. Example: {"Department": "Finance"}
    InMemoryAreaInGbs int
    The area assigned to In-Memory tables in Autonomous Database.
    InMemoryPercentage int
    (Updatable) 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.
    InfrastructureType string
    The infrastructure type this resource belongs to.
    IsAccessControlEnabled bool

    (Updatable) 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 whitelistedIps property. While specifying whitelistedIps rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.

    This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, whitelistedIps is used.

    IsAutoScalingEnabled bool
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is TRUE.
    IsAutoScalingForStorageEnabled bool
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is FALSE.
    IsDataGuardEnabled bool
    (Updatable) 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 bool
    True if the database is on dedicated Exadata infrastructure.
    IsDevTier bool
    (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
    IsFreeTier bool
    (Updatable) 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. When db_workload is AJD or APEX it cannot be true.
    IsLocalDataGuardEnabled bool
    (Updatable) Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. It takes boolean values. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    IsMtlsConnectionRequired bool
    (Updatable) Indicates whether the Autonomous Database requires mTLS connections.
    IsPreview bool
    Indicates if the Autonomous Database version is a preview version.
    IsPreviewVersionWithServiceTermsAccepted bool
    If set to TRUE, indicates that an Autonomous Database preview version is being provisioned, and that the preview version's terms of service have been accepted. Note that preview version software is only available for databases on Autonomous Database Serverless.
    IsReconnectCloneEnabled bool
    Indicates if the refreshable clone can be reconnected to its source database.
    IsRefreshableClone bool
    (Updatable) True for creating a refreshable clone and False for detaching the clone from source Autonomous Database. Detaching is one time operation and clone becomes a regular Autonomous Database.
    IsRemoteDataGuardEnabled bool
    Indicates whether the Autonomous Database has Cross Region Data Guard enabled. It takes boolean values. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    IsReplicateAutomaticBackups bool
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    IsShrinkOnly bool

    (Updatable) An optional property when enabled triggers the Shrinking of Autonomous Database once. To trigger Shrinking of ADB once again, this flag needs to be disabled and re-enabled again. It should not be passed during create database operation. It is only applicable on Serverless databases i.e. where is_dedicated is false.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Deprecated: The 'is_shrink_only' field has been deprecated. Please use 'shrink_adb_trigger' instead.

    KeyHistoryEntries List<AutonomousDatabaseKeyHistoryEntry>
    Key History Entry.
    KeyStoreId string
    The OCID of the key store of Oracle Vault. This is used in Autonomous Databases on Serverless instances and dedicated Exadata infrastructure.
    KeyStoreWalletName string
    The wallet name for Oracle Key Vault.
    KmsKeyId string
    The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
    KmsKeyLifecycleDetails string
    KMS key lifecycle details.
    KmsKeyVersionId 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.
    LicenseModel string
    (Updatable) 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 PaaS and IaaS services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using shared Exadata infrastructure, if a value is not specified, the system will supply the value of BRING_YOUR_OWN_LICENSE. It is a required field when db_workload is AJD and needs to be set to LICENSE_INCLUDED as AJD does not support default license_model value BRING_YOUR_OWN_LICENSE.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    LocalAdgAutoFailoverMaxDataLossLimit int
    Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard
    LocalDisasterRecoveryType string
    Indicates the local disaster recovery (DR) type of the Serverless Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based (BACKUP_BASED) DR type provides lower cost DR with a slower RTO during failover or switchover.
    LocalStandbyDbs List<AutonomousDatabaseLocalStandbyDb>
    Autonomous Data Guard local (same region) standby database details.
    LongTermBackupSchedules List<AutonomousDatabaseLongTermBackupSchedule>
    Details for the long-term backup schedule.
    MaxCpuCoreCount int
    (Updatable) Deprecated. The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.
    MemoryPerOracleComputeUnitInGbs int
    The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure for more details. This parameter is not used for Autonomous database Serverless.
    NcharacterSet string
    The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
    NetServicesArchitecture string
    Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
    NextLongTermBackupTimeStamp string
    The date and time when the next long-term backup would be created.
    NsgIds List<string>
    (Updatable) 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:

    • A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
    OcpuCount double

    (Updatable) The number of OCPU cores to be made available to the database.

    The following points apply:

    • For Autonomous Databases on Dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.)
    • To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure.
    • For Autonomous Database Serverless instances, this parameter is not used.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.

    For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Note: This parameter cannot be used with the cpuCoreCount parameter.

    OpenMode string
    Indicates the Autonomous Database mode. The database can be opened in READ_ONLY or READ_WRITE mode.
    OperationsInsightsStatus string
    (Updatable) Status of Operations Insights for this Autonomous Database. Values supported are ENABLED and NOT_ENABLED
    PeerDbIds List<string>
    The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.
    PermissionLevel string
    The Autonomous Database permission level. Restricted mode allows access only by admin users.
    PrivateEndpoint string
    The private endpoint for the resource. This parameter is not used in Autonomous Databases using Serverless infrastructure and Exadata Cloud@Customer infrastructure.
    PrivateEndpointIp string
    The private endpoint Ip address for the resource.
    PrivateEndpointLabel string
    (Updatable) (Optional) (Updatable) The resource's private endpoint label.

    • Setting the endpoint label to a non-empty string creates a private endpoint database.
    • Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database.
    • Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
    ProvisionableCpuses List<double>
    An array of CPU values that an Autonomous Database can be scaled to.
    RefreshableMode string
    (Updatable) The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
    RefreshableStatus string
    The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.
    RemoteDisasterRecoveryConfigurations List<AutonomousDatabaseRemoteDisasterRecoveryConfiguration>
    Configurations of a Disaster Recovery.
    RemoteDisasterRecoveryType string
    Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    ResourcePoolLeaderId string
    (Updatable) The unique identifier for leader autonomous database OCID OCID.
    ResourcePoolSummary AutonomousDatabaseResourcePoolSummary
    (Updatable) The configuration details for resource pool
    Role string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    RotateKeyTrigger bool
    (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where is_dedicated is true.
    ScheduledOperations List<AutonomousDatabaseScheduledOperation>

    (Updatable) The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    SecretId string

    (Updatable) The Oracle Cloud Infrastructure vault secret [/Content/General/Concepts/identifiers.htm]OCID.

    This cannot be used in conjunction with adminPassword.

    SecretVersionNumber int
    (Updatable) The version of the vault secret. If no version is specified, the latest version will be used.
    ServiceConsoleUrl string
    The URL of the Service Console for the Autonomous Database.
    ShrinkAdbTrigger int
    Source string

    The source of the database:

    • Use NONE for creating a new Autonomous Database.
    • Use DATABASE for creating a new Autonomous Database by cloning an existing running Autonomous Database from the latest timestamp, also provide the source database OCID in the source_id parameter.
    • Use CROSS_REGION_DATAGUARD to create a standby Data Guard database in another region, also provide the remote primary database OCID in the source_id parameter.
    • Use CLONE_TO_REFRESHABLE for creating a refreshable clone.

    For Autonomous Database Serverless instances, the following cloning options are available:

    • Use BACKUP_FROM_ID for creating a new Autonomous Database by cloning from a specified backup. Also provide the backup OCID in the autonomous_database_backup_id parameter.
    • Use BACKUP_FROM_TIMESTAMP for creating a point-in-time Autonomous Database clone using backups. Also provide the backup timestamp in the timestamp parameter. For more information, see Cloning and Moving an Autonomous Database.
    SourceId string
    The OCID of the source Autonomous Database that will be used to create a new standby database for the Data Guard association.
    StandbyDbs List<AutonomousDatabaseStandbyDb>
    Deprecated Autonomous Data Guard standby database details.
    StandbyWhitelistedIps List<string>

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses whitelisted_ips primary's IP access control list (ACL) as standbywhitelistedips for the disaster recovery peer.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    State string
    The current state of the Autonomous Database.
    SubnetId string

    (Updatable) The OCID of the subnet the resource is associated with. This the only parameter to configure private endpoint, VCN details are obtained from the subnet_id.

    Subnet Restrictions:

    • For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
    • For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20.
    • For Autonomous Database, setting this will disable public secure access to the database.

    These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.

    SupportedRegionsToCloneTos List<string>
    The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.
    SwitchoverTo string
    It is applicable only when is_local_data_guard_enabled is true. Could be set to PRIMARY or STANDBY. Default value is PRIMARY.
    SwitchoverToRemotePeerId string
    (Updatable) It is applicable only when dataguard_region_type and role are set, and is_dedicated is false. For Autonomous Database Serverless instances, Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. It takes the OCID of the remote peer to switchover to and the API is called from the remote region.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    TimeCreated string
    The date and time the Autonomous Database was created.
    TimeDataGuardRoleChanged string
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    TimeDeletionOfFreeAutonomousDatabase string
    The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.
    TimeDisasterRecoveryRoleChanged string
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    TimeLocalDataGuardEnabled string
    The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.
    TimeMaintenanceBegin string
    The date and time when maintenance will begin.
    TimeMaintenanceEnd string
    The date and time when maintenance will end.
    TimeOfAutoRefreshStart string
    The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds parameter.
    TimeOfJoiningResourcePool string
    TimeOfLastFailover string
    The timestamp of the last failover operation.
    TimeOfLastRefresh string
    The date and time when last refresh happened.
    TimeOfLastRefreshPoint string
    The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.
    TimeOfLastSwitchover string
    The timestamp of the last switchover operation for the Autonomous Database.
    TimeOfNextRefresh string
    The date and time of next refresh.
    TimeReclamationOfFreeAutonomousDatabase string
    The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.
    TimeUntilReconnectCloneEnabled string
    The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.
    Timestamp string
    The timestamp specified for the point-in-time clone of the source Autonomous Database. The timestamp must be in the past.
    TotalBackupStorageSizeInGbs double
    The backup storage to the database.
    UseLatestAvailableBackupTimeStamp bool
    Clone from latest available backup timestamp.
    UsedDataStorageSizeInGbs int
    The storage space consumed by Autonomous Database in GBs.
    UsedDataStorageSizeInTbs int
    The amount of storage that has been used, in terabytes.
    VaultId string
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    WhitelistedIps List<string>

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. To remove all whitelisted IPs, set the field to a list with an empty string [""].

    ActualUsedDataStorageSizeInTbs float64
    The current amount of storage in use for user and system data, in terabytes (TB).
    AdminPassword string
    (Updatable) The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. The password is mandatory if source value is "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "DATABASE" or "NONE".
    AllocatedStorageSizeInTbs float64
    The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs value. You can compare this value to the actualUsedDataStorageSizeInTBs value to determine if a manual shrink operation is appropriate for your allocated storage.
    ApexDetails []AutonomousDatabaseApexDetailArgs
    Information about Oracle APEX Application Development.
    ArePrimaryWhitelistedIpsUsed bool
    (Updatable) This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It's value would be TRUE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It's value would be FALSE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.
    AutoRefreshFrequencyInSeconds int
    (Updatable) The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the timeOfAutoRefreshStart parameter.
    AutoRefreshPointLagInSeconds int
    (Updatable) The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
    AutonomousContainerDatabaseId string
    The Autonomous Container Database OCID.
    AutonomousDatabaseBackupId string
    The OCID of the source Autonomous Database Backup that you will clone to create a new Autonomous Database.
    AutonomousDatabaseId string
    The OCID of the source Autonomous Database that you will clone to create a new Autonomous Database.
    AutonomousMaintenanceScheduleType string
    The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.
    AvailableUpgradeVersions []string
    List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
    BackupConfigs []AutonomousDatabaseBackupConfigArgs
    Autonomous Database configuration details for storing manual backups in the Object Storage service.
    BackupRetentionPeriodInDays int
    (Updatable) Retention period, in days, for backups.
    CharacterSet string

    The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by List Autonomous Database Character Sets

    For an Autonomous Database on dedicated infrastructure, the allowed values are:

    AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS

    CloneType string
    The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.
    CompartmentId string
    (Updatable) The OCID of the compartment of the Autonomous Database.
    ComputeCount float64
    (Updatable) Compute used by database tools.
    ComputeModel string
    (Updatable) The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
    ConnectionStrings []AutonomousDatabaseConnectionStringArgs
    The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.
    ConnectionUrls []AutonomousDatabaseConnectionUrlArgs
    The URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN. Note that these URLs are provided by the console only for databases on dedicated Exadata infrastructure. Example: {"sqlDevWebUrl": "https://<hostname>/ords...", "apexUrl", "https://<hostname>/ords..."}
    CpuCoreCount int
    (Updatable) The number of CPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. Note: This parameter cannot be used with the ocpuCount parameter. This input is ignored for Always Free resources.

    • The data type must be an integer.
    • The minimum number of cores for all types of autonomous database is 1
    • The maximum number of cores is as follows:
    • Autonomous Database Serverless instances: The maximum number of cores is 128.
    • Autonomous Databases on dedicated Exadata infrastructure: The maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.
    CustomerContacts []AutonomousDatabaseCustomerContactArgs
    (Updatable) Customer Contacts.
    DataSafeStatus string
    (Updatable) Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED.
    DataStorageSizeInGb int

    (Updatable) The size, in gigabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. The maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Notes

    • This parameter is only supported for dedicated Exadata infrastructure.
    • This parameter cannot be used with the dataStorageSizeInTBs parameter.
    DataStorageSizeInTbs int

    (Updatable) The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).

    Note: This parameter cannot be used with the dataStorageSizeInGBs parameter. This input is ignored for Always Free resources.

    DatabaseEdition string
    (Updatable) The Oracle Database Edition that applies to the Autonomous databases. It can be set to ENTERPRISE_EDITION or STANDARD_EDITION.
    DatabaseManagementStatus string
    Status of Database Management for this Autonomous Database.
    DataguardRegionType string
    Deprecated (Optional) The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless instances, Data Guard associations have designated primary (PRIMARY_DG_REGION) and standby (REMOTE_STANDBY_DG_REGION) regions, and these region types do not change when the database changes roles. The standby regions in Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Data Guard association, and cannot be performed when the database using the "primary" role is operating in a remote Data Guard standby region.
    DbName string
    The database name. The name must begin with an alphabetic character and can contain a maximum of 14 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 []AutonomousDatabaseDbToolsDetailArgs

    (Updatable) The list of database tools details.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.

    DbVersion string
    (Updatable) A valid Oracle Database version for Autonomous Database.db_workload AJD and APEX are only supported for db_version 19c and above.
    DbWorkload string

    (Updatable) The Autonomous Database workload type. The following values are valid:

    • OLTP - indicates an Autonomous Transaction Processing database
    • DW - indicates an Autonomous Data Warehouse database
    • AJD - indicates an Autonomous JSON Database
    • APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. *Note: db_workload can only be updated from AJD to OLTP or from a free OLTP to AJD.

    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    DisasterRecoveryRegionType string
    Deprecated The disaster recovery (DR) region type of the Autonomous Database. For Serverless Autonomous Databases, DR associations have designated primary (PRIMARY) and standby (REMOTE) regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region.
    DisplayName string
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    FailedDataRecoveryInSeconds int
    Indicates the number of seconds of data loss for a Data Guard failover.
    FreeformTags map[string]interface{}
    (Updatable) 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. Example: {"Department": "Finance"}
    InMemoryAreaInGbs int
    The area assigned to In-Memory tables in Autonomous Database.
    InMemoryPercentage int
    (Updatable) 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.
    InfrastructureType string
    The infrastructure type this resource belongs to.
    IsAccessControlEnabled bool

    (Updatable) 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 whitelistedIps property. While specifying whitelistedIps rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.

    This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, whitelistedIps is used.

    IsAutoScalingEnabled bool
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is TRUE.
    IsAutoScalingForStorageEnabled bool
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is FALSE.
    IsDataGuardEnabled bool
    (Updatable) 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 bool
    True if the database is on dedicated Exadata infrastructure.
    IsDevTier bool
    (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
    IsFreeTier bool
    (Updatable) 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. When db_workload is AJD or APEX it cannot be true.
    IsLocalDataGuardEnabled bool
    (Updatable) Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. It takes boolean values. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    IsMtlsConnectionRequired bool
    (Updatable) Indicates whether the Autonomous Database requires mTLS connections.
    IsPreview bool
    Indicates if the Autonomous Database version is a preview version.
    IsPreviewVersionWithServiceTermsAccepted bool
    If set to TRUE, indicates that an Autonomous Database preview version is being provisioned, and that the preview version's terms of service have been accepted. Note that preview version software is only available for databases on Autonomous Database Serverless.
    IsReconnectCloneEnabled bool
    Indicates if the refreshable clone can be reconnected to its source database.
    IsRefreshableClone bool
    (Updatable) True for creating a refreshable clone and False for detaching the clone from source Autonomous Database. Detaching is one time operation and clone becomes a regular Autonomous Database.
    IsRemoteDataGuardEnabled bool
    Indicates whether the Autonomous Database has Cross Region Data Guard enabled. It takes boolean values. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    IsReplicateAutomaticBackups bool
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    IsShrinkOnly bool

    (Updatable) An optional property when enabled triggers the Shrinking of Autonomous Database once. To trigger Shrinking of ADB once again, this flag needs to be disabled and re-enabled again. It should not be passed during create database operation. It is only applicable on Serverless databases i.e. where is_dedicated is false.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Deprecated: The 'is_shrink_only' field has been deprecated. Please use 'shrink_adb_trigger' instead.

    KeyHistoryEntries []AutonomousDatabaseKeyHistoryEntryArgs
    Key History Entry.
    KeyStoreId string
    The OCID of the key store of Oracle Vault. This is used in Autonomous Databases on Serverless instances and dedicated Exadata infrastructure.
    KeyStoreWalletName string
    The wallet name for Oracle Key Vault.
    KmsKeyId string
    The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
    KmsKeyLifecycleDetails string
    KMS key lifecycle details.
    KmsKeyVersionId 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.
    LicenseModel string
    (Updatable) 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 PaaS and IaaS services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using shared Exadata infrastructure, if a value is not specified, the system will supply the value of BRING_YOUR_OWN_LICENSE. It is a required field when db_workload is AJD and needs to be set to LICENSE_INCLUDED as AJD does not support default license_model value BRING_YOUR_OWN_LICENSE.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    LocalAdgAutoFailoverMaxDataLossLimit int
    Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard
    LocalDisasterRecoveryType string
    Indicates the local disaster recovery (DR) type of the Serverless Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based (BACKUP_BASED) DR type provides lower cost DR with a slower RTO during failover or switchover.
    LocalStandbyDbs []AutonomousDatabaseLocalStandbyDbArgs
    Autonomous Data Guard local (same region) standby database details.
    LongTermBackupSchedules []AutonomousDatabaseLongTermBackupScheduleArgs
    Details for the long-term backup schedule.
    MaxCpuCoreCount int
    (Updatable) Deprecated. The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.
    MemoryPerOracleComputeUnitInGbs int
    The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure for more details. This parameter is not used for Autonomous database Serverless.
    NcharacterSet string
    The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
    NetServicesArchitecture string
    Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
    NextLongTermBackupTimeStamp string
    The date and time when the next long-term backup would be created.
    NsgIds []string
    (Updatable) 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:

    • A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
    OcpuCount float64

    (Updatable) The number of OCPU cores to be made available to the database.

    The following points apply:

    • For Autonomous Databases on Dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.)
    • To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure.
    • For Autonomous Database Serverless instances, this parameter is not used.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.

    For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Note: This parameter cannot be used with the cpuCoreCount parameter.

    OpenMode string
    Indicates the Autonomous Database mode. The database can be opened in READ_ONLY or READ_WRITE mode.
    OperationsInsightsStatus string
    (Updatable) Status of Operations Insights for this Autonomous Database. Values supported are ENABLED and NOT_ENABLED
    PeerDbIds []string
    The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.
    PermissionLevel string
    The Autonomous Database permission level. Restricted mode allows access only by admin users.
    PrivateEndpoint string
    The private endpoint for the resource. This parameter is not used in Autonomous Databases using Serverless infrastructure and Exadata Cloud@Customer infrastructure.
    PrivateEndpointIp string
    The private endpoint Ip address for the resource.
    PrivateEndpointLabel string
    (Updatable) (Optional) (Updatable) The resource's private endpoint label.

    • Setting the endpoint label to a non-empty string creates a private endpoint database.
    • Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database.
    • Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
    ProvisionableCpuses []float64
    An array of CPU values that an Autonomous Database can be scaled to.
    RefreshableMode string
    (Updatable) The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
    RefreshableStatus string
    The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.
    RemoteDisasterRecoveryConfigurations []AutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs
    Configurations of a Disaster Recovery.
    RemoteDisasterRecoveryType string
    Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    ResourcePoolLeaderId string
    (Updatable) The unique identifier for leader autonomous database OCID OCID.
    ResourcePoolSummary AutonomousDatabaseResourcePoolSummaryArgs
    (Updatable) The configuration details for resource pool
    Role string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    RotateKeyTrigger bool
    (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where is_dedicated is true.
    ScheduledOperations []AutonomousDatabaseScheduledOperationArgs

    (Updatable) The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    SecretId string

    (Updatable) The Oracle Cloud Infrastructure vault secret [/Content/General/Concepts/identifiers.htm]OCID.

    This cannot be used in conjunction with adminPassword.

    SecretVersionNumber int
    (Updatable) The version of the vault secret. If no version is specified, the latest version will be used.
    ServiceConsoleUrl string
    The URL of the Service Console for the Autonomous Database.
    ShrinkAdbTrigger int
    Source string

    The source of the database:

    • Use NONE for creating a new Autonomous Database.
    • Use DATABASE for creating a new Autonomous Database by cloning an existing running Autonomous Database from the latest timestamp, also provide the source database OCID in the source_id parameter.
    • Use CROSS_REGION_DATAGUARD to create a standby Data Guard database in another region, also provide the remote primary database OCID in the source_id parameter.
    • Use CLONE_TO_REFRESHABLE for creating a refreshable clone.

    For Autonomous Database Serverless instances, the following cloning options are available:

    • Use BACKUP_FROM_ID for creating a new Autonomous Database by cloning from a specified backup. Also provide the backup OCID in the autonomous_database_backup_id parameter.
    • Use BACKUP_FROM_TIMESTAMP for creating a point-in-time Autonomous Database clone using backups. Also provide the backup timestamp in the timestamp parameter. For more information, see Cloning and Moving an Autonomous Database.
    SourceId string
    The OCID of the source Autonomous Database that will be used to create a new standby database for the Data Guard association.
    StandbyDbs []AutonomousDatabaseStandbyDbArgs
    Deprecated Autonomous Data Guard standby database details.
    StandbyWhitelistedIps []string

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses whitelisted_ips primary's IP access control list (ACL) as standbywhitelistedips for the disaster recovery peer.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    State string
    The current state of the Autonomous Database.
    SubnetId string

    (Updatable) The OCID of the subnet the resource is associated with. This the only parameter to configure private endpoint, VCN details are obtained from the subnet_id.

    Subnet Restrictions:

    • For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
    • For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20.
    • For Autonomous Database, setting this will disable public secure access to the database.

    These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.

    SupportedRegionsToCloneTos []string
    The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.
    SwitchoverTo string
    It is applicable only when is_local_data_guard_enabled is true. Could be set to PRIMARY or STANDBY. Default value is PRIMARY.
    SwitchoverToRemotePeerId string
    (Updatable) It is applicable only when dataguard_region_type and role are set, and is_dedicated is false. For Autonomous Database Serverless instances, Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. It takes the OCID of the remote peer to switchover to and the API is called from the remote region.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    TimeCreated string
    The date and time the Autonomous Database was created.
    TimeDataGuardRoleChanged string
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    TimeDeletionOfFreeAutonomousDatabase string
    The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.
    TimeDisasterRecoveryRoleChanged string
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    TimeLocalDataGuardEnabled string
    The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.
    TimeMaintenanceBegin string
    The date and time when maintenance will begin.
    TimeMaintenanceEnd string
    The date and time when maintenance will end.
    TimeOfAutoRefreshStart string
    The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds parameter.
    TimeOfJoiningResourcePool string
    TimeOfLastFailover string
    The timestamp of the last failover operation.
    TimeOfLastRefresh string
    The date and time when last refresh happened.
    TimeOfLastRefreshPoint string
    The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.
    TimeOfLastSwitchover string
    The timestamp of the last switchover operation for the Autonomous Database.
    TimeOfNextRefresh string
    The date and time of next refresh.
    TimeReclamationOfFreeAutonomousDatabase string
    The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.
    TimeUntilReconnectCloneEnabled string
    The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.
    Timestamp string
    The timestamp specified for the point-in-time clone of the source Autonomous Database. The timestamp must be in the past.
    TotalBackupStorageSizeInGbs float64
    The backup storage to the database.
    UseLatestAvailableBackupTimeStamp bool
    Clone from latest available backup timestamp.
    UsedDataStorageSizeInGbs int
    The storage space consumed by Autonomous Database in GBs.
    UsedDataStorageSizeInTbs int
    The amount of storage that has been used, in terabytes.
    VaultId string
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    WhitelistedIps []string

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. To remove all whitelisted IPs, set the field to a list with an empty string [""].

    actualUsedDataStorageSizeInTbs Double
    The current amount of storage in use for user and system data, in terabytes (TB).
    adminPassword String
    (Updatable) The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. The password is mandatory if source value is "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "DATABASE" or "NONE".
    allocatedStorageSizeInTbs Double
    The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs value. You can compare this value to the actualUsedDataStorageSizeInTBs value to determine if a manual shrink operation is appropriate for your allocated storage.
    apexDetails List<AutonomousApexDetail>
    Information about Oracle APEX Application Development.
    arePrimaryWhitelistedIpsUsed Boolean
    (Updatable) This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It's value would be TRUE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It's value would be FALSE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.
    autoRefreshFrequencyInSeconds Integer
    (Updatable) The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the timeOfAutoRefreshStart parameter.
    autoRefreshPointLagInSeconds Integer
    (Updatable) The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
    autonomousContainerDatabaseId String
    The Autonomous Container Database OCID.
    autonomousDatabaseBackupId String
    The OCID of the source Autonomous Database Backup that you will clone to create a new Autonomous Database.
    autonomousDatabaseId String
    The OCID of the source Autonomous Database that you will clone to create a new Autonomous Database.
    autonomousMaintenanceScheduleType String
    The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.
    availableUpgradeVersions List<String>
    List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
    backupConfigs List<AutonomousBackupConfig>
    Autonomous Database configuration details for storing manual backups in the Object Storage service.
    backupRetentionPeriodInDays Integer
    (Updatable) Retention period, in days, for backups.
    characterSet String

    The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by List Autonomous Database Character Sets

    For an Autonomous Database on dedicated infrastructure, the allowed values are:

    AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS

    cloneType String
    The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.
    compartmentId String
    (Updatable) The OCID of the compartment of the Autonomous Database.
    computeCount Double
    (Updatable) Compute used by database tools.
    computeModel String
    (Updatable) The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
    connectionStrings List<AutonomousConnectionString>
    The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.
    connectionUrls List<AutonomousConnectionUrl>
    The URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN. Note that these URLs are provided by the console only for databases on dedicated Exadata infrastructure. Example: {"sqlDevWebUrl": "https://<hostname>/ords...", "apexUrl", "https://<hostname>/ords..."}
    cpuCoreCount Integer
    (Updatable) The number of CPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. Note: This parameter cannot be used with the ocpuCount parameter. This input is ignored for Always Free resources.

    • The data type must be an integer.
    • The minimum number of cores for all types of autonomous database is 1
    • The maximum number of cores is as follows:
    • Autonomous Database Serverless instances: The maximum number of cores is 128.
    • Autonomous Databases on dedicated Exadata infrastructure: The maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.
    customerContacts List<AutonomousCustomerContact>
    (Updatable) Customer Contacts.
    dataSafeStatus String
    (Updatable) Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED.
    dataStorageSizeInGb Integer

    (Updatable) The size, in gigabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. The maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Notes

    • This parameter is only supported for dedicated Exadata infrastructure.
    • This parameter cannot be used with the dataStorageSizeInTBs parameter.
    dataStorageSizeInTbs Integer

    (Updatable) The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).

    Note: This parameter cannot be used with the dataStorageSizeInGBs parameter. This input is ignored for Always Free resources.

    databaseEdition String
    (Updatable) The Oracle Database Edition that applies to the Autonomous databases. It can be set to ENTERPRISE_EDITION or STANDARD_EDITION.
    databaseManagementStatus String
    Status of Database Management for this Autonomous Database.
    dataguardRegionType String
    Deprecated (Optional) The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless instances, Data Guard associations have designated primary (PRIMARY_DG_REGION) and standby (REMOTE_STANDBY_DG_REGION) regions, and these region types do not change when the database changes roles. The standby regions in Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Data Guard association, and cannot be performed when the database using the "primary" role is operating in a remote Data Guard standby region.
    dbName String
    The database name. The name must begin with an alphabetic character and can contain a maximum of 14 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 List<AutonomousDbToolsDetail>

    (Updatable) The list of database tools details.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.

    dbVersion String
    (Updatable) A valid Oracle Database version for Autonomous Database.db_workload AJD and APEX are only supported for db_version 19c and above.
    dbWorkload String

    (Updatable) The Autonomous Database workload type. The following values are valid:

    • OLTP - indicates an Autonomous Transaction Processing database
    • DW - indicates an Autonomous Data Warehouse database
    • AJD - indicates an Autonomous JSON Database
    • APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. *Note: db_workload can only be updated from AJD to OLTP or from a free OLTP to AJD.

    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    disasterRecoveryRegionType String
    Deprecated The disaster recovery (DR) region type of the Autonomous Database. For Serverless Autonomous Databases, DR associations have designated primary (PRIMARY) and standby (REMOTE) regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region.
    displayName String
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    failedDataRecoveryInSeconds Integer
    Indicates the number of seconds of data loss for a Data Guard failover.
    freeformTags Map<String,Object>
    (Updatable) 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. Example: {"Department": "Finance"}
    inMemoryAreaInGbs Integer
    The area assigned to In-Memory tables in Autonomous Database.
    inMemoryPercentage Integer
    (Updatable) 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.
    infrastructureType String
    The infrastructure type this resource belongs to.
    isAccessControlEnabled Boolean

    (Updatable) 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 whitelistedIps property. While specifying whitelistedIps rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.

    This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, whitelistedIps is used.

    isAutoScalingEnabled Boolean
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is TRUE.
    isAutoScalingForStorageEnabled Boolean
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is FALSE.
    isDataGuardEnabled Boolean
    (Updatable) 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 Boolean
    True if the database is on dedicated Exadata infrastructure.
    isDevTier Boolean
    (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
    isFreeTier Boolean
    (Updatable) 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. When db_workload is AJD or APEX it cannot be true.
    isLocalDataGuardEnabled Boolean
    (Updatable) Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. It takes boolean values. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    isMtlsConnectionRequired Boolean
    (Updatable) Indicates whether the Autonomous Database requires mTLS connections.
    isPreview Boolean
    Indicates if the Autonomous Database version is a preview version.
    isPreviewVersionWithServiceTermsAccepted Boolean
    If set to TRUE, indicates that an Autonomous Database preview version is being provisioned, and that the preview version's terms of service have been accepted. Note that preview version software is only available for databases on Autonomous Database Serverless.
    isReconnectCloneEnabled Boolean
    Indicates if the refreshable clone can be reconnected to its source database.
    isRefreshableClone Boolean
    (Updatable) True for creating a refreshable clone and False for detaching the clone from source Autonomous Database. Detaching is one time operation and clone becomes a regular Autonomous Database.
    isRemoteDataGuardEnabled Boolean
    Indicates whether the Autonomous Database has Cross Region Data Guard enabled. It takes boolean values. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    isReplicateAutomaticBackups Boolean
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    isShrinkOnly Boolean

    (Updatable) An optional property when enabled triggers the Shrinking of Autonomous Database once. To trigger Shrinking of ADB once again, this flag needs to be disabled and re-enabled again. It should not be passed during create database operation. It is only applicable on Serverless databases i.e. where is_dedicated is false.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Deprecated: The 'is_shrink_only' field has been deprecated. Please use 'shrink_adb_trigger' instead.

    keyHistoryEntries List<AutonomousKeyHistoryEntry>
    Key History Entry.
    keyStoreId String
    The OCID of the key store of Oracle Vault. This is used in Autonomous Databases on Serverless instances and dedicated Exadata infrastructure.
    keyStoreWalletName String
    The wallet name for Oracle Key Vault.
    kmsKeyId String
    The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
    kmsKeyLifecycleDetails String
    KMS key lifecycle details.
    kmsKeyVersionId 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.
    licenseModel String
    (Updatable) 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 PaaS and IaaS services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using shared Exadata infrastructure, if a value is not specified, the system will supply the value of BRING_YOUR_OWN_LICENSE. It is a required field when db_workload is AJD and needs to be set to LICENSE_INCLUDED as AJD does not support default license_model value BRING_YOUR_OWN_LICENSE.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    localAdgAutoFailoverMaxDataLossLimit Integer
    Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard
    localDisasterRecoveryType String
    Indicates the local disaster recovery (DR) type of the Serverless Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based (BACKUP_BASED) DR type provides lower cost DR with a slower RTO during failover or switchover.
    localStandbyDbs List<AutonomousLocalStandbyDb>
    Autonomous Data Guard local (same region) standby database details.
    longTermBackupSchedules List<AutonomousLongTermBackupSchedule>
    Details for the long-term backup schedule.
    maxCpuCoreCount Integer
    (Updatable) Deprecated. The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.
    memoryPerOracleComputeUnitInGbs Integer
    The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure for more details. This parameter is not used for Autonomous database Serverless.
    ncharacterSet String
    The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
    netServicesArchitecture String
    Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
    nextLongTermBackupTimeStamp String
    The date and time when the next long-term backup would be created.
    nsgIds List<String>
    (Updatable) 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:

    • A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
    ocpuCount Double

    (Updatable) The number of OCPU cores to be made available to the database.

    The following points apply:

    • For Autonomous Databases on Dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.)
    • To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure.
    • For Autonomous Database Serverless instances, this parameter is not used.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.

    For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Note: This parameter cannot be used with the cpuCoreCount parameter.

    openMode String
    Indicates the Autonomous Database mode. The database can be opened in READ_ONLY or READ_WRITE mode.
    operationsInsightsStatus String
    (Updatable) Status of Operations Insights for this Autonomous Database. Values supported are ENABLED and NOT_ENABLED
    peerDbIds List<String>
    The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.
    permissionLevel String
    The Autonomous Database permission level. Restricted mode allows access only by admin users.
    privateEndpoint String
    The private endpoint for the resource. This parameter is not used in Autonomous Databases using Serverless infrastructure and Exadata Cloud@Customer infrastructure.
    privateEndpointIp String
    The private endpoint Ip address for the resource.
    privateEndpointLabel String
    (Updatable) (Optional) (Updatable) The resource's private endpoint label.

    • Setting the endpoint label to a non-empty string creates a private endpoint database.
    • Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database.
    • Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
    provisionableCpuses List<Double>
    An array of CPU values that an Autonomous Database can be scaled to.
    refreshableMode String
    (Updatable) The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
    refreshableStatus String
    The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.
    remoteDisasterRecoveryConfigurations List<AutonomousRemoteDisasterRecoveryConfiguration>
    Configurations of a Disaster Recovery.
    remoteDisasterRecoveryType String
    Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    resourcePoolLeaderId String
    (Updatable) The unique identifier for leader autonomous database OCID OCID.
    resourcePoolSummary AutonomousResourcePoolSummary
    (Updatable) The configuration details for resource pool
    role String
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    rotateKeyTrigger Boolean
    (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where is_dedicated is true.
    scheduledOperations List<AutonomousScheduledOperation>

    (Updatable) The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    secretId String

    (Updatable) The Oracle Cloud Infrastructure vault secret [/Content/General/Concepts/identifiers.htm]OCID.

    This cannot be used in conjunction with adminPassword.

    secretVersionNumber Integer
    (Updatable) The version of the vault secret. If no version is specified, the latest version will be used.
    serviceConsoleUrl String
    The URL of the Service Console for the Autonomous Database.
    shrinkAdbTrigger Integer
    source String

    The source of the database:

    • Use NONE for creating a new Autonomous Database.
    • Use DATABASE for creating a new Autonomous Database by cloning an existing running Autonomous Database from the latest timestamp, also provide the source database OCID in the source_id parameter.
    • Use CROSS_REGION_DATAGUARD to create a standby Data Guard database in another region, also provide the remote primary database OCID in the source_id parameter.
    • Use CLONE_TO_REFRESHABLE for creating a refreshable clone.

    For Autonomous Database Serverless instances, the following cloning options are available:

    • Use BACKUP_FROM_ID for creating a new Autonomous Database by cloning from a specified backup. Also provide the backup OCID in the autonomous_database_backup_id parameter.
    • Use BACKUP_FROM_TIMESTAMP for creating a point-in-time Autonomous Database clone using backups. Also provide the backup timestamp in the timestamp parameter. For more information, see Cloning and Moving an Autonomous Database.
    sourceId String
    The OCID of the source Autonomous Database that will be used to create a new standby database for the Data Guard association.
    standbyDbs List<AutonomousStandbyDb>
    Deprecated Autonomous Data Guard standby database details.
    standbyWhitelistedIps List<String>

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses whitelisted_ips primary's IP access control list (ACL) as standbywhitelistedips for the disaster recovery peer.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    state String
    The current state of the Autonomous Database.
    subnetId String

    (Updatable) The OCID of the subnet the resource is associated with. This the only parameter to configure private endpoint, VCN details are obtained from the subnet_id.

    Subnet Restrictions:

    • For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
    • For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20.
    • For Autonomous Database, setting this will disable public secure access to the database.

    These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.

    supportedRegionsToCloneTos List<String>
    The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.
    switchoverTo String
    It is applicable only when is_local_data_guard_enabled is true. Could be set to PRIMARY or STANDBY. Default value is PRIMARY.
    switchoverToRemotePeerId String
    (Updatable) It is applicable only when dataguard_region_type and role are set, and is_dedicated is false. For Autonomous Database Serverless instances, Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. It takes the OCID of the remote peer to switchover to and the API is called from the remote region.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    timeCreated String
    The date and time the Autonomous Database was created.
    timeDataGuardRoleChanged String
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    timeDeletionOfFreeAutonomousDatabase String
    The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.
    timeDisasterRecoveryRoleChanged String
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    timeLocalDataGuardEnabled String
    The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.
    timeMaintenanceBegin String
    The date and time when maintenance will begin.
    timeMaintenanceEnd String
    The date and time when maintenance will end.
    timeOfAutoRefreshStart String
    The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds parameter.
    timeOfJoiningResourcePool String
    timeOfLastFailover String
    The timestamp of the last failover operation.
    timeOfLastRefresh String
    The date and time when last refresh happened.
    timeOfLastRefreshPoint String
    The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.
    timeOfLastSwitchover String
    The timestamp of the last switchover operation for the Autonomous Database.
    timeOfNextRefresh String
    The date and time of next refresh.
    timeReclamationOfFreeAutonomousDatabase String
    The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.
    timeUntilReconnectCloneEnabled String
    The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.
    timestamp String
    The timestamp specified for the point-in-time clone of the source Autonomous Database. The timestamp must be in the past.
    totalBackupStorageSizeInGbs Double
    The backup storage to the database.
    useLatestAvailableBackupTimeStamp Boolean
    Clone from latest available backup timestamp.
    usedDataStorageSizeInGbs Integer
    The storage space consumed by Autonomous Database in GBs.
    usedDataStorageSizeInTbs Integer
    The amount of storage that has been used, in terabytes.
    vaultId String
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    whitelistedIps List<String>

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. To remove all whitelisted IPs, set the field to a list with an empty string [""].

    actualUsedDataStorageSizeInTbs number
    The current amount of storage in use for user and system data, in terabytes (TB).
    adminPassword string
    (Updatable) The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. The password is mandatory if source value is "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "DATABASE" or "NONE".
    allocatedStorageSizeInTbs number
    The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs value. You can compare this value to the actualUsedDataStorageSizeInTBs value to determine if a manual shrink operation is appropriate for your allocated storage.
    apexDetails AutonomousDatabaseApexDetail[]
    Information about Oracle APEX Application Development.
    arePrimaryWhitelistedIpsUsed boolean
    (Updatable) This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It's value would be TRUE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It's value would be FALSE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.
    autoRefreshFrequencyInSeconds number
    (Updatable) The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the timeOfAutoRefreshStart parameter.
    autoRefreshPointLagInSeconds number
    (Updatable) The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
    autonomousContainerDatabaseId string
    The Autonomous Container Database OCID.
    autonomousDatabaseBackupId string
    The OCID of the source Autonomous Database Backup that you will clone to create a new Autonomous Database.
    autonomousDatabaseId string
    The OCID of the source Autonomous Database that you will clone to create a new Autonomous Database.
    autonomousMaintenanceScheduleType string
    The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.
    availableUpgradeVersions string[]
    List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
    backupConfigs AutonomousDatabaseBackupConfig[]
    Autonomous Database configuration details for storing manual backups in the Object Storage service.
    backupRetentionPeriodInDays number
    (Updatable) Retention period, in days, for backups.
    characterSet string

    The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by List Autonomous Database Character Sets

    For an Autonomous Database on dedicated infrastructure, the allowed values are:

    AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS

    cloneType string
    The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.
    compartmentId string
    (Updatable) The OCID of the compartment of the Autonomous Database.
    computeCount number
    (Updatable) Compute used by database tools.
    computeModel string
    (Updatable) The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
    connectionStrings AutonomousDatabaseConnectionString[]
    The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.
    connectionUrls AutonomousDatabaseConnectionUrl[]
    The URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN. Note that these URLs are provided by the console only for databases on dedicated Exadata infrastructure. Example: {"sqlDevWebUrl": "https://<hostname>/ords...", "apexUrl", "https://<hostname>/ords..."}
    cpuCoreCount number
    (Updatable) The number of CPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. Note: This parameter cannot be used with the ocpuCount parameter. This input is ignored for Always Free resources.

    • The data type must be an integer.
    • The minimum number of cores for all types of autonomous database is 1
    • The maximum number of cores is as follows:
    • Autonomous Database Serverless instances: The maximum number of cores is 128.
    • Autonomous Databases on dedicated Exadata infrastructure: The maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.
    customerContacts AutonomousDatabaseCustomerContact[]
    (Updatable) Customer Contacts.
    dataSafeStatus string
    (Updatable) Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED.
    dataStorageSizeInGb number

    (Updatable) The size, in gigabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. The maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Notes

    • This parameter is only supported for dedicated Exadata infrastructure.
    • This parameter cannot be used with the dataStorageSizeInTBs parameter.
    dataStorageSizeInTbs number

    (Updatable) The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).

    Note: This parameter cannot be used with the dataStorageSizeInGBs parameter. This input is ignored for Always Free resources.

    databaseEdition string
    (Updatable) The Oracle Database Edition that applies to the Autonomous databases. It can be set to ENTERPRISE_EDITION or STANDARD_EDITION.
    databaseManagementStatus string
    Status of Database Management for this Autonomous Database.
    dataguardRegionType string
    Deprecated (Optional) The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless instances, Data Guard associations have designated primary (PRIMARY_DG_REGION) and standby (REMOTE_STANDBY_DG_REGION) regions, and these region types do not change when the database changes roles. The standby regions in Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Data Guard association, and cannot be performed when the database using the "primary" role is operating in a remote Data Guard standby region.
    dbName string
    The database name. The name must begin with an alphabetic character and can contain a maximum of 14 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 AutonomousDatabaseDbToolsDetail[]

    (Updatable) The list of database tools details.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.

    dbVersion string
    (Updatable) A valid Oracle Database version for Autonomous Database.db_workload AJD and APEX are only supported for db_version 19c and above.
    dbWorkload string

    (Updatable) The Autonomous Database workload type. The following values are valid:

    • OLTP - indicates an Autonomous Transaction Processing database
    • DW - indicates an Autonomous Data Warehouse database
    • AJD - indicates an Autonomous JSON Database
    • APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. *Note: db_workload can only be updated from AJD to OLTP or from a free OLTP to AJD.

    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    disasterRecoveryRegionType string
    Deprecated The disaster recovery (DR) region type of the Autonomous Database. For Serverless Autonomous Databases, DR associations have designated primary (PRIMARY) and standby (REMOTE) regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region.
    displayName string
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    failedDataRecoveryInSeconds number
    Indicates the number of seconds of data loss for a Data Guard failover.
    freeformTags {[key: string]: any}
    (Updatable) 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. Example: {"Department": "Finance"}
    inMemoryAreaInGbs number
    The area assigned to In-Memory tables in Autonomous Database.
    inMemoryPercentage number
    (Updatable) 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.
    infrastructureType string
    The infrastructure type this resource belongs to.
    isAccessControlEnabled boolean

    (Updatable) 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 whitelistedIps property. While specifying whitelistedIps rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.

    This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, whitelistedIps is used.

    isAutoScalingEnabled boolean
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is TRUE.
    isAutoScalingForStorageEnabled boolean
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is FALSE.
    isDataGuardEnabled boolean
    (Updatable) 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 boolean
    True if the database is on dedicated Exadata infrastructure.
    isDevTier boolean
    (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
    isFreeTier boolean
    (Updatable) 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. When db_workload is AJD or APEX it cannot be true.
    isLocalDataGuardEnabled boolean
    (Updatable) Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. It takes boolean values. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    isMtlsConnectionRequired boolean
    (Updatable) Indicates whether the Autonomous Database requires mTLS connections.
    isPreview boolean
    Indicates if the Autonomous Database version is a preview version.
    isPreviewVersionWithServiceTermsAccepted boolean
    If set to TRUE, indicates that an Autonomous Database preview version is being provisioned, and that the preview version's terms of service have been accepted. Note that preview version software is only available for databases on Autonomous Database Serverless.
    isReconnectCloneEnabled boolean
    Indicates if the refreshable clone can be reconnected to its source database.
    isRefreshableClone boolean
    (Updatable) True for creating a refreshable clone and False for detaching the clone from source Autonomous Database. Detaching is one time operation and clone becomes a regular Autonomous Database.
    isRemoteDataGuardEnabled boolean
    Indicates whether the Autonomous Database has Cross Region Data Guard enabled. It takes boolean values. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    isReplicateAutomaticBackups boolean
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    isShrinkOnly boolean

    (Updatable) An optional property when enabled triggers the Shrinking of Autonomous Database once. To trigger Shrinking of ADB once again, this flag needs to be disabled and re-enabled again. It should not be passed during create database operation. It is only applicable on Serverless databases i.e. where is_dedicated is false.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Deprecated: The 'is_shrink_only' field has been deprecated. Please use 'shrink_adb_trigger' instead.

    keyHistoryEntries AutonomousDatabaseKeyHistoryEntry[]
    Key History Entry.
    keyStoreId string
    The OCID of the key store of Oracle Vault. This is used in Autonomous Databases on Serverless instances and dedicated Exadata infrastructure.
    keyStoreWalletName string
    The wallet name for Oracle Key Vault.
    kmsKeyId string
    The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
    kmsKeyLifecycleDetails string
    KMS key lifecycle details.
    kmsKeyVersionId 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.
    licenseModel string
    (Updatable) 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 PaaS and IaaS services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using shared Exadata infrastructure, if a value is not specified, the system will supply the value of BRING_YOUR_OWN_LICENSE. It is a required field when db_workload is AJD and needs to be set to LICENSE_INCLUDED as AJD does not support default license_model value BRING_YOUR_OWN_LICENSE.
    lifecycleDetails string
    Additional information about the current lifecycle state.
    localAdgAutoFailoverMaxDataLossLimit number
    Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard
    localDisasterRecoveryType string
    Indicates the local disaster recovery (DR) type of the Serverless Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based (BACKUP_BASED) DR type provides lower cost DR with a slower RTO during failover or switchover.
    localStandbyDbs AutonomousDatabaseLocalStandbyDb[]
    Autonomous Data Guard local (same region) standby database details.
    longTermBackupSchedules AutonomousDatabaseLongTermBackupSchedule[]
    Details for the long-term backup schedule.
    maxCpuCoreCount number
    (Updatable) Deprecated. The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.
    memoryPerOracleComputeUnitInGbs number
    The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure for more details. This parameter is not used for Autonomous database Serverless.
    ncharacterSet string
    The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
    netServicesArchitecture string
    Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
    nextLongTermBackupTimeStamp string
    The date and time when the next long-term backup would be created.
    nsgIds string[]
    (Updatable) 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:

    • A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
    ocpuCount number

    (Updatable) The number of OCPU cores to be made available to the database.

    The following points apply:

    • For Autonomous Databases on Dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.)
    • To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure.
    • For Autonomous Database Serverless instances, this parameter is not used.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.

    For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Note: This parameter cannot be used with the cpuCoreCount parameter.

    openMode string
    Indicates the Autonomous Database mode. The database can be opened in READ_ONLY or READ_WRITE mode.
    operationsInsightsStatus string
    (Updatable) Status of Operations Insights for this Autonomous Database. Values supported are ENABLED and NOT_ENABLED
    peerDbIds string[]
    The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.
    permissionLevel string
    The Autonomous Database permission level. Restricted mode allows access only by admin users.
    privateEndpoint string
    The private endpoint for the resource. This parameter is not used in Autonomous Databases using Serverless infrastructure and Exadata Cloud@Customer infrastructure.
    privateEndpointIp string
    The private endpoint Ip address for the resource.
    privateEndpointLabel string
    (Updatable) (Optional) (Updatable) The resource's private endpoint label.

    • Setting the endpoint label to a non-empty string creates a private endpoint database.
    • Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database.
    • Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
    provisionableCpuses number[]
    An array of CPU values that an Autonomous Database can be scaled to.
    refreshableMode string
    (Updatable) The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
    refreshableStatus string
    The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.
    remoteDisasterRecoveryConfigurations AutonomousDatabaseRemoteDisasterRecoveryConfiguration[]
    Configurations of a Disaster Recovery.
    remoteDisasterRecoveryType string
    Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    resourcePoolLeaderId string
    (Updatable) The unique identifier for leader autonomous database OCID OCID.
    resourcePoolSummary AutonomousDatabaseResourcePoolSummary
    (Updatable) The configuration details for resource pool
    role string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    rotateKeyTrigger boolean
    (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where is_dedicated is true.
    scheduledOperations AutonomousDatabaseScheduledOperation[]

    (Updatable) The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    secretId string

    (Updatable) The Oracle Cloud Infrastructure vault secret [/Content/General/Concepts/identifiers.htm]OCID.

    This cannot be used in conjunction with adminPassword.

    secretVersionNumber number
    (Updatable) The version of the vault secret. If no version is specified, the latest version will be used.
    serviceConsoleUrl string
    The URL of the Service Console for the Autonomous Database.
    shrinkAdbTrigger number
    source string

    The source of the database:

    • Use NONE for creating a new Autonomous Database.
    • Use DATABASE for creating a new Autonomous Database by cloning an existing running Autonomous Database from the latest timestamp, also provide the source database OCID in the source_id parameter.
    • Use CROSS_REGION_DATAGUARD to create a standby Data Guard database in another region, also provide the remote primary database OCID in the source_id parameter.
    • Use CLONE_TO_REFRESHABLE for creating a refreshable clone.

    For Autonomous Database Serverless instances, the following cloning options are available:

    • Use BACKUP_FROM_ID for creating a new Autonomous Database by cloning from a specified backup. Also provide the backup OCID in the autonomous_database_backup_id parameter.
    • Use BACKUP_FROM_TIMESTAMP for creating a point-in-time Autonomous Database clone using backups. Also provide the backup timestamp in the timestamp parameter. For more information, see Cloning and Moving an Autonomous Database.
    sourceId string
    The OCID of the source Autonomous Database that will be used to create a new standby database for the Data Guard association.
    standbyDbs AutonomousDatabaseStandbyDb[]
    Deprecated Autonomous Data Guard standby database details.
    standbyWhitelistedIps string[]

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses whitelisted_ips primary's IP access control list (ACL) as standbywhitelistedips for the disaster recovery peer.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    state string
    The current state of the Autonomous Database.
    subnetId string

    (Updatable) The OCID of the subnet the resource is associated with. This the only parameter to configure private endpoint, VCN details are obtained from the subnet_id.

    Subnet Restrictions:

    • For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
    • For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20.
    • For Autonomous Database, setting this will disable public secure access to the database.

    These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.

    supportedRegionsToCloneTos string[]
    The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.
    switchoverTo string
    It is applicable only when is_local_data_guard_enabled is true. Could be set to PRIMARY or STANDBY. Default value is PRIMARY.
    switchoverToRemotePeerId string
    (Updatable) It is applicable only when dataguard_region_type and role are set, and is_dedicated is false. For Autonomous Database Serverless instances, Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. It takes the OCID of the remote peer to switchover to and the API is called from the remote region.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    timeCreated string
    The date and time the Autonomous Database was created.
    timeDataGuardRoleChanged string
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    timeDeletionOfFreeAutonomousDatabase string
    The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.
    timeDisasterRecoveryRoleChanged string
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    timeLocalDataGuardEnabled string
    The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.
    timeMaintenanceBegin string
    The date and time when maintenance will begin.
    timeMaintenanceEnd string
    The date and time when maintenance will end.
    timeOfAutoRefreshStart string
    The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds parameter.
    timeOfJoiningResourcePool string
    timeOfLastFailover string
    The timestamp of the last failover operation.
    timeOfLastRefresh string
    The date and time when last refresh happened.
    timeOfLastRefreshPoint string
    The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.
    timeOfLastSwitchover string
    The timestamp of the last switchover operation for the Autonomous Database.
    timeOfNextRefresh string
    The date and time of next refresh.
    timeReclamationOfFreeAutonomousDatabase string
    The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.
    timeUntilReconnectCloneEnabled string
    The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.
    timestamp string
    The timestamp specified for the point-in-time clone of the source Autonomous Database. The timestamp must be in the past.
    totalBackupStorageSizeInGbs number
    The backup storage to the database.
    useLatestAvailableBackupTimeStamp boolean
    Clone from latest available backup timestamp.
    usedDataStorageSizeInGbs number
    The storage space consumed by Autonomous Database in GBs.
    usedDataStorageSizeInTbs number
    The amount of storage that has been used, in terabytes.
    vaultId string
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    whitelistedIps string[]

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. To remove all whitelisted IPs, set the field to a list with an empty string [""].

    actual_used_data_storage_size_in_tbs float
    The current amount of storage in use for user and system data, in terabytes (TB).
    admin_password str
    (Updatable) The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. The password is mandatory if source value is "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "DATABASE" or "NONE".
    allocated_storage_size_in_tbs float
    The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs value. You can compare this value to the actualUsedDataStorageSizeInTBs value to determine if a manual shrink operation is appropriate for your allocated storage.
    apex_details Sequence[database.AutonomousDatabaseApexDetailArgs]
    Information about Oracle APEX Application Development.
    are_primary_whitelisted_ips_used bool
    (Updatable) This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It's value would be TRUE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It's value would be FALSE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.
    auto_refresh_frequency_in_seconds int
    (Updatable) The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the timeOfAutoRefreshStart parameter.
    auto_refresh_point_lag_in_seconds int
    (Updatable) The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
    autonomous_container_database_id str
    The Autonomous Container Database OCID.
    autonomous_database_backup_id str
    The OCID of the source Autonomous Database Backup that you will clone to create a new Autonomous Database.
    autonomous_database_id str
    The OCID of the source Autonomous Database that you will clone to create a new Autonomous Database.
    autonomous_maintenance_schedule_type str
    The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.
    available_upgrade_versions Sequence[str]
    List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
    backup_configs Sequence[database.AutonomousDatabaseBackupConfigArgs]
    Autonomous Database configuration details for storing manual backups in the Object Storage service.
    backup_retention_period_in_days int
    (Updatable) Retention period, in days, for backups.
    character_set str

    The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by List Autonomous Database Character Sets

    For an Autonomous Database on dedicated infrastructure, the allowed values are:

    AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS

    clone_type str
    The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.
    compartment_id str
    (Updatable) The OCID of the compartment of the Autonomous Database.
    compute_count float
    (Updatable) Compute used by database tools.
    compute_model str
    (Updatable) The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
    connection_strings Sequence[database.AutonomousDatabaseConnectionStringArgs]
    The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.
    connection_urls Sequence[database.AutonomousDatabaseConnectionUrlArgs]
    The URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN. Note that these URLs are provided by the console only for databases on dedicated Exadata infrastructure. Example: {"sqlDevWebUrl": "https://<hostname>/ords...", "apexUrl", "https://<hostname>/ords..."}
    cpu_core_count int
    (Updatable) The number of CPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. Note: This parameter cannot be used with the ocpuCount parameter. This input is ignored for Always Free resources.

    • The data type must be an integer.
    • The minimum number of cores for all types of autonomous database is 1
    • The maximum number of cores is as follows:
    • Autonomous Database Serverless instances: The maximum number of cores is 128.
    • Autonomous Databases on dedicated Exadata infrastructure: The maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.
    customer_contacts Sequence[database.AutonomousDatabaseCustomerContactArgs]
    (Updatable) Customer Contacts.
    data_safe_status str
    (Updatable) Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED.
    data_storage_size_in_gb int

    (Updatable) The size, in gigabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. The maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Notes

    • This parameter is only supported for dedicated Exadata infrastructure.
    • This parameter cannot be used with the dataStorageSizeInTBs parameter.
    data_storage_size_in_tbs int

    (Updatable) The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).

    Note: This parameter cannot be used with the dataStorageSizeInGBs parameter. This input is ignored for Always Free resources.

    database_edition str
    (Updatable) The Oracle Database Edition that applies to the Autonomous databases. It can be set to ENTERPRISE_EDITION or STANDARD_EDITION.
    database_management_status str
    Status of Database Management for this Autonomous Database.
    dataguard_region_type str
    Deprecated (Optional) The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless instances, Data Guard associations have designated primary (PRIMARY_DG_REGION) and standby (REMOTE_STANDBY_DG_REGION) regions, and these region types do not change when the database changes roles. The standby regions in Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Data Guard association, and cannot be performed when the database using the "primary" role is operating in a remote Data Guard standby region.
    db_name str
    The database name. The name must begin with an alphabetic character and can contain a maximum of 14 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.
    db_tools_details Sequence[database.AutonomousDatabaseDbToolsDetailArgs]

    (Updatable) The list of database tools details.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.

    db_version str
    (Updatable) A valid Oracle Database version for Autonomous Database.db_workload AJD and APEX are only supported for db_version 19c and above.
    db_workload str

    (Updatable) The Autonomous Database workload type. The following values are valid:

    • OLTP - indicates an Autonomous Transaction Processing database
    • DW - indicates an Autonomous Data Warehouse database
    • AJD - indicates an Autonomous JSON Database
    • APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. *Note: db_workload can only be updated from AJD to OLTP or from a free OLTP to AJD.

    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    disaster_recovery_region_type str
    Deprecated The disaster recovery (DR) region type of the Autonomous Database. For Serverless Autonomous Databases, DR associations have designated primary (PRIMARY) and standby (REMOTE) regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region.
    display_name str
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    failed_data_recovery_in_seconds int
    Indicates the number of seconds of data loss for a Data Guard failover.
    freeform_tags Mapping[str, Any]
    (Updatable) 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. Example: {"Department": "Finance"}
    in_memory_area_in_gbs int
    The area assigned to In-Memory tables in Autonomous Database.
    in_memory_percentage int
    (Updatable) 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.
    infrastructure_type str
    The infrastructure type this resource belongs to.
    is_access_control_enabled bool

    (Updatable) 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 whitelistedIps property. While specifying whitelistedIps rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.

    This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, whitelistedIps is used.

    is_auto_scaling_enabled bool
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is TRUE.
    is_auto_scaling_for_storage_enabled bool
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is FALSE.
    is_data_guard_enabled bool
    (Updatable) 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.
    is_dedicated bool
    True if the database is on dedicated Exadata infrastructure.
    is_dev_tier bool
    (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
    is_free_tier bool
    (Updatable) 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. When db_workload is AJD or APEX it cannot be true.
    is_local_data_guard_enabled bool
    (Updatable) Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. It takes boolean values. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    is_mtls_connection_required bool
    (Updatable) Indicates whether the Autonomous Database requires mTLS connections.
    is_preview bool
    Indicates if the Autonomous Database version is a preview version.
    is_preview_version_with_service_terms_accepted bool
    If set to TRUE, indicates that an Autonomous Database preview version is being provisioned, and that the preview version's terms of service have been accepted. Note that preview version software is only available for databases on Autonomous Database Serverless.
    is_reconnect_clone_enabled bool
    Indicates if the refreshable clone can be reconnected to its source database.
    is_refreshable_clone bool
    (Updatable) True for creating a refreshable clone and False for detaching the clone from source Autonomous Database. Detaching is one time operation and clone becomes a regular Autonomous Database.
    is_remote_data_guard_enabled bool
    Indicates whether the Autonomous Database has Cross Region Data Guard enabled. It takes boolean values. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    is_replicate_automatic_backups bool
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    is_shrink_only bool

    (Updatable) An optional property when enabled triggers the Shrinking of Autonomous Database once. To trigger Shrinking of ADB once again, this flag needs to be disabled and re-enabled again. It should not be passed during create database operation. It is only applicable on Serverless databases i.e. where is_dedicated is false.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Deprecated: The 'is_shrink_only' field has been deprecated. Please use 'shrink_adb_trigger' instead.

    key_history_entries Sequence[database.AutonomousDatabaseKeyHistoryEntryArgs]
    Key History Entry.
    key_store_id str
    The OCID of the key store of Oracle Vault. This is used in Autonomous Databases on Serverless instances and dedicated Exadata infrastructure.
    key_store_wallet_name str
    The wallet name for Oracle Key Vault.
    kms_key_id str
    The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
    kms_key_lifecycle_details str
    KMS key lifecycle details.
    kms_key_version_id str
    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.
    license_model str
    (Updatable) 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 PaaS and IaaS services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using shared Exadata infrastructure, if a value is not specified, the system will supply the value of BRING_YOUR_OWN_LICENSE. It is a required field when db_workload is AJD and needs to be set to LICENSE_INCLUDED as AJD does not support default license_model value BRING_YOUR_OWN_LICENSE.
    lifecycle_details str
    Additional information about the current lifecycle state.
    local_adg_auto_failover_max_data_loss_limit int
    Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard
    local_disaster_recovery_type str
    Indicates the local disaster recovery (DR) type of the Serverless Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based (BACKUP_BASED) DR type provides lower cost DR with a slower RTO during failover or switchover.
    local_standby_dbs Sequence[database.AutonomousDatabaseLocalStandbyDbArgs]
    Autonomous Data Guard local (same region) standby database details.
    long_term_backup_schedules Sequence[database.AutonomousDatabaseLongTermBackupScheduleArgs]
    Details for the long-term backup schedule.
    max_cpu_core_count int
    (Updatable) Deprecated. The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.
    memory_per_oracle_compute_unit_in_gbs int
    The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure for more details. This parameter is not used for Autonomous database Serverless.
    ncharacter_set str
    The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
    net_services_architecture str
    Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
    next_long_term_backup_time_stamp str
    The date and time when the next long-term backup would be created.
    nsg_ids Sequence[str]
    (Updatable) 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:

    • A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
    ocpu_count float

    (Updatable) The number of OCPU cores to be made available to the database.

    The following points apply:

    • For Autonomous Databases on Dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.)
    • To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure.
    • For Autonomous Database Serverless instances, this parameter is not used.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.

    For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Note: This parameter cannot be used with the cpuCoreCount parameter.

    open_mode str
    Indicates the Autonomous Database mode. The database can be opened in READ_ONLY or READ_WRITE mode.
    operations_insights_status str
    (Updatable) Status of Operations Insights for this Autonomous Database. Values supported are ENABLED and NOT_ENABLED
    peer_db_ids Sequence[str]
    The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.
    permission_level str
    The Autonomous Database permission level. Restricted mode allows access only by admin users.
    private_endpoint str
    The private endpoint for the resource. This parameter is not used in Autonomous Databases using Serverless infrastructure and Exadata Cloud@Customer infrastructure.
    private_endpoint_ip str
    The private endpoint Ip address for the resource.
    private_endpoint_label str
    (Updatable) (Optional) (Updatable) The resource's private endpoint label.

    • Setting the endpoint label to a non-empty string creates a private endpoint database.
    • Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database.
    • Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
    provisionable_cpuses Sequence[float]
    An array of CPU values that an Autonomous Database can be scaled to.
    refreshable_mode str
    (Updatable) The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
    refreshable_status str
    The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.
    remote_disaster_recovery_configurations Sequence[database.AutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs]
    Configurations of a Disaster Recovery.
    remote_disaster_recovery_type str
    Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    resource_pool_leader_id str
    (Updatable) The unique identifier for leader autonomous database OCID OCID.
    resource_pool_summary database.AutonomousDatabaseResourcePoolSummaryArgs
    (Updatable) The configuration details for resource pool
    role str
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    rotate_key_trigger bool
    (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where is_dedicated is true.
    scheduled_operations Sequence[database.AutonomousDatabaseScheduledOperationArgs]

    (Updatable) The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    secret_id str

    (Updatable) The Oracle Cloud Infrastructure vault secret [/Content/General/Concepts/identifiers.htm]OCID.

    This cannot be used in conjunction with adminPassword.

    secret_version_number int
    (Updatable) The version of the vault secret. If no version is specified, the latest version will be used.
    service_console_url str
    The URL of the Service Console for the Autonomous Database.
    shrink_adb_trigger int
    source str

    The source of the database:

    • Use NONE for creating a new Autonomous Database.
    • Use DATABASE for creating a new Autonomous Database by cloning an existing running Autonomous Database from the latest timestamp, also provide the source database OCID in the source_id parameter.
    • Use CROSS_REGION_DATAGUARD to create a standby Data Guard database in another region, also provide the remote primary database OCID in the source_id parameter.
    • Use CLONE_TO_REFRESHABLE for creating a refreshable clone.

    For Autonomous Database Serverless instances, the following cloning options are available:

    • Use BACKUP_FROM_ID for creating a new Autonomous Database by cloning from a specified backup. Also provide the backup OCID in the autonomous_database_backup_id parameter.
    • Use BACKUP_FROM_TIMESTAMP for creating a point-in-time Autonomous Database clone using backups. Also provide the backup timestamp in the timestamp parameter. For more information, see Cloning and Moving an Autonomous Database.
    source_id str
    The OCID of the source Autonomous Database that will be used to create a new standby database for the Data Guard association.
    standby_dbs Sequence[database.AutonomousDatabaseStandbyDbArgs]
    Deprecated Autonomous Data Guard standby database details.
    standby_whitelisted_ips Sequence[str]

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses whitelisted_ips primary's IP access control list (ACL) as standbywhitelistedips for the disaster recovery peer.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    state str
    The current state of the Autonomous Database.
    subnet_id str

    (Updatable) The OCID of the subnet the resource is associated with. This the only parameter to configure private endpoint, VCN details are obtained from the subnet_id.

    Subnet Restrictions:

    • For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
    • For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20.
    • For Autonomous Database, setting this will disable public secure access to the database.

    These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.

    supported_regions_to_clone_tos Sequence[str]
    The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.
    switchover_to str
    It is applicable only when is_local_data_guard_enabled is true. Could be set to PRIMARY or STANDBY. Default value is PRIMARY.
    switchover_to_remote_peer_id str
    (Updatable) It is applicable only when dataguard_region_type and role are set, and is_dedicated is false. For Autonomous Database Serverless instances, Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. It takes the OCID of the remote peer to switchover to and the API is called from the remote region.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    time_created str
    The date and time the Autonomous Database was created.
    time_data_guard_role_changed str
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    time_deletion_of_free_autonomous_database str
    The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.
    time_disaster_recovery_role_changed str
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    time_local_data_guard_enabled str
    The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.
    time_maintenance_begin str
    The date and time when maintenance will begin.
    time_maintenance_end str
    The date and time when maintenance will end.
    time_of_auto_refresh_start str
    The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds parameter.
    time_of_joining_resource_pool str
    time_of_last_failover str
    The timestamp of the last failover operation.
    time_of_last_refresh str
    The date and time when last refresh happened.
    time_of_last_refresh_point str
    The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.
    time_of_last_switchover str
    The timestamp of the last switchover operation for the Autonomous Database.
    time_of_next_refresh str
    The date and time of next refresh.
    time_reclamation_of_free_autonomous_database str
    The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.
    time_until_reconnect_clone_enabled str
    The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.
    timestamp str
    The timestamp specified for the point-in-time clone of the source Autonomous Database. The timestamp must be in the past.
    total_backup_storage_size_in_gbs float
    The backup storage to the database.
    use_latest_available_backup_time_stamp bool
    Clone from latest available backup timestamp.
    used_data_storage_size_in_gbs int
    The storage space consumed by Autonomous Database in GBs.
    used_data_storage_size_in_tbs int
    The amount of storage that has been used, in terabytes.
    vault_id str
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    whitelisted_ips Sequence[str]

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. To remove all whitelisted IPs, set the field to a list with an empty string [""].

    actualUsedDataStorageSizeInTbs Number
    The current amount of storage in use for user and system data, in terabytes (TB).
    adminPassword String
    (Updatable) The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. The password is mandatory if source value is "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "DATABASE" or "NONE".
    allocatedStorageSizeInTbs Number
    The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs value. You can compare this value to the actualUsedDataStorageSizeInTBs value to determine if a manual shrink operation is appropriate for your allocated storage.
    apexDetails List<Property Map>
    Information about Oracle APEX Application Development.
    arePrimaryWhitelistedIpsUsed Boolean
    (Updatable) This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It's value would be TRUE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It's value would be FALSE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.
    autoRefreshFrequencyInSeconds Number
    (Updatable) The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the timeOfAutoRefreshStart parameter.
    autoRefreshPointLagInSeconds Number
    (Updatable) The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
    autonomousContainerDatabaseId String
    The Autonomous Container Database OCID.
    autonomousDatabaseBackupId String
    The OCID of the source Autonomous Database Backup that you will clone to create a new Autonomous Database.
    autonomousDatabaseId String
    The OCID of the source Autonomous Database that you will clone to create a new Autonomous Database.
    autonomousMaintenanceScheduleType String
    The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.
    availableUpgradeVersions List<String>
    List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
    backupConfigs List<Property Map>
    Autonomous Database configuration details for storing manual backups in the Object Storage service.
    backupRetentionPeriodInDays Number
    (Updatable) Retention period, in days, for backups.
    characterSet String

    The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database on Serverless infrastructure as returned by List Autonomous Database Character Sets

    For an Autonomous Database on dedicated infrastructure, the allowed values are:

    AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS

    cloneType String
    The Autonomous Database clone type. This parameter is not used to create a refreshable clone type, and for refreshable clones one must use the (source=CLONE_TO_REFRESHABLE) parameter.
    compartmentId String
    (Updatable) The OCID of the compartment of the Autonomous Database.
    computeCount Number
    (Updatable) Compute used by database tools.
    computeModel String
    (Updatable) The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
    connectionStrings List<Property Map>
    The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.
    connectionUrls List<Property Map>
    The URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN. Note that these URLs are provided by the console only for databases on dedicated Exadata infrastructure. Example: {"sqlDevWebUrl": "https://<hostname>/ords...", "apexUrl", "https://<hostname>/ords..."}
    cpuCoreCount Number
    (Updatable) The number of CPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. Note: This parameter cannot be used with the ocpuCount parameter. This input is ignored for Always Free resources.

    • The data type must be an integer.
    • The minimum number of cores for all types of autonomous database is 1
    • The maximum number of cores is as follows:
    • Autonomous Database Serverless instances: The maximum number of cores is 128.
    • Autonomous Databases on dedicated Exadata infrastructure: The maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.
    customerContacts List<Property Map>
    (Updatable) Customer Contacts.
    dataSafeStatus String
    (Updatable) Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED.
    dataStorageSizeInGb Number

    (Updatable) The size, in gigabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. The maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Notes

    • This parameter is only supported for dedicated Exadata infrastructure.
    • This parameter cannot be used with the dataStorageSizeInTBs parameter.
    dataStorageSizeInTbs Number

    (Updatable) The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).

    Note: This parameter cannot be used with the dataStorageSizeInGBs parameter. This input is ignored for Always Free resources.

    databaseEdition String
    (Updatable) The Oracle Database Edition that applies to the Autonomous databases. It can be set to ENTERPRISE_EDITION or STANDARD_EDITION.
    databaseManagementStatus String
    Status of Database Management for this Autonomous Database.
    dataguardRegionType String
    Deprecated (Optional) The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless instances, Data Guard associations have designated primary (PRIMARY_DG_REGION) and standby (REMOTE_STANDBY_DG_REGION) regions, and these region types do not change when the database changes roles. The standby regions in Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Data Guard association, and cannot be performed when the database using the "primary" role is operating in a remote Data Guard standby region.
    dbName String
    The database name. The name must begin with an alphabetic character and can contain a maximum of 14 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 List<Property Map>

    (Updatable) The list of database tools details.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.

    dbVersion String
    (Updatable) A valid Oracle Database version for Autonomous Database.db_workload AJD and APEX are only supported for db_version 19c and above.
    dbWorkload String

    (Updatable) The Autonomous Database workload type. The following values are valid:

    • OLTP - indicates an Autonomous Transaction Processing database
    • DW - indicates an Autonomous Data Warehouse database
    • AJD - indicates an Autonomous JSON Database
    • APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. *Note: db_workload can only be updated from AJD to OLTP or from a free OLTP to AJD.

    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    disasterRecoveryRegionType String
    Deprecated The disaster recovery (DR) region type of the Autonomous Database. For Serverless Autonomous Databases, DR associations have designated primary (PRIMARY) and standby (REMOTE) regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region.
    displayName String
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    failedDataRecoveryInSeconds Number
    Indicates the number of seconds of data loss for a Data Guard failover.
    freeformTags Map<Any>
    (Updatable) 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. Example: {"Department": "Finance"}
    inMemoryAreaInGbs Number
    The area assigned to In-Memory tables in Autonomous Database.
    inMemoryPercentage Number
    (Updatable) 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.
    infrastructureType String
    The infrastructure type this resource belongs to.
    isAccessControlEnabled Boolean

    (Updatable) 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 whitelistedIps property. While specifying whitelistedIps rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.

    This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, whitelistedIps is used.

    isAutoScalingEnabled Boolean
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is TRUE.
    isAutoScalingForStorageEnabled Boolean
    (Updatable) Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is FALSE.
    isDataGuardEnabled Boolean
    (Updatable) 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 Boolean
    True if the database is on dedicated Exadata infrastructure.
    isDevTier Boolean
    (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
    isFreeTier Boolean
    (Updatable) 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. When db_workload is AJD or APEX it cannot be true.
    isLocalDataGuardEnabled Boolean
    (Updatable) Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. It takes boolean values. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    isMtlsConnectionRequired Boolean
    (Updatable) Indicates whether the Autonomous Database requires mTLS connections.
    isPreview Boolean
    Indicates if the Autonomous Database version is a preview version.
    isPreviewVersionWithServiceTermsAccepted Boolean
    If set to TRUE, indicates that an Autonomous Database preview version is being provisioned, and that the preview version's terms of service have been accepted. Note that preview version software is only available for databases on Autonomous Database Serverless.
    isReconnectCloneEnabled Boolean
    Indicates if the refreshable clone can be reconnected to its source database.
    isRefreshableClone Boolean
    (Updatable) True for creating a refreshable clone and False for detaching the clone from source Autonomous Database. Detaching is one time operation and clone becomes a regular Autonomous Database.
    isRemoteDataGuardEnabled Boolean
    Indicates whether the Autonomous Database has Cross Region Data Guard enabled. It takes boolean values. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
    isReplicateAutomaticBackups Boolean
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    isShrinkOnly Boolean

    (Updatable) An optional property when enabled triggers the Shrinking of Autonomous Database once. To trigger Shrinking of ADB once again, this flag needs to be disabled and re-enabled again. It should not be passed during create database operation. It is only applicable on Serverless databases i.e. where is_dedicated is false.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Deprecated: The 'is_shrink_only' field has been deprecated. Please use 'shrink_adb_trigger' instead.

    keyHistoryEntries List<Property Map>
    Key History Entry.
    keyStoreId String
    The OCID of the key store of Oracle Vault. This is used in Autonomous Databases on Serverless instances and dedicated Exadata infrastructure.
    keyStoreWalletName String
    The wallet name for Oracle Key Vault.
    kmsKeyId String
    The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
    kmsKeyLifecycleDetails String
    KMS key lifecycle details.
    kmsKeyVersionId 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.
    licenseModel String
    (Updatable) 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 PaaS and IaaS services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using shared Exadata infrastructure, if a value is not specified, the system will supply the value of BRING_YOUR_OWN_LICENSE. It is a required field when db_workload is AJD and needs to be set to LICENSE_INCLUDED as AJD does not support default license_model value BRING_YOUR_OWN_LICENSE.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    localAdgAutoFailoverMaxDataLossLimit Number
    Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard
    localDisasterRecoveryType String
    Indicates the local disaster recovery (DR) type of the Serverless Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based (BACKUP_BASED) DR type provides lower cost DR with a slower RTO during failover or switchover.
    localStandbyDbs List<Property Map>
    Autonomous Data Guard local (same region) standby database details.
    longTermBackupSchedules List<Property Map>
    Details for the long-term backup schedule.
    maxCpuCoreCount Number
    (Updatable) Deprecated. The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.
    memoryPerOracleComputeUnitInGbs Number
    The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure for more details. This parameter is not used for Autonomous database Serverless.
    ncharacterSet String
    The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
    netServicesArchitecture String
    Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
    nextLongTermBackupTimeStamp String
    The date and time when the next long-term backup would be created.
    nsgIds List<String>
    (Updatable) 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:

    • A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
    ocpuCount Number

    (Updatable) The number of OCPU cores to be made available to the database.

    The following points apply:

    • For Autonomous Databases on Dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.)
    • To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure.
    • For Autonomous Database Serverless instances, this parameter is not used.
    • Providing computeModel and computeCount is the preferred method for setting CPUs for both OCPU and ECPU.

    For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

    Note: This parameter cannot be used with the cpuCoreCount parameter.

    openMode String
    Indicates the Autonomous Database mode. The database can be opened in READ_ONLY or READ_WRITE mode.
    operationsInsightsStatus String
    (Updatable) Status of Operations Insights for this Autonomous Database. Values supported are ENABLED and NOT_ENABLED
    peerDbIds List<String>
    The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.
    permissionLevel String
    The Autonomous Database permission level. Restricted mode allows access only by admin users.
    privateEndpoint String
    The private endpoint for the resource. This parameter is not used in Autonomous Databases using Serverless infrastructure and Exadata Cloud@Customer infrastructure.
    privateEndpointIp String
    The private endpoint Ip address for the resource.
    privateEndpointLabel String
    (Updatable) (Optional) (Updatable) The resource's private endpoint label.

    • Setting the endpoint label to a non-empty string creates a private endpoint database.
    • Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database.
    • Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
    provisionableCpuses List<Number>
    An array of CPU values that an Autonomous Database can be scaled to.
    refreshableMode String
    (Updatable) The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
    refreshableStatus String
    The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.
    remoteDisasterRecoveryConfigurations List<Property Map>
    Configurations of a Disaster Recovery.
    remoteDisasterRecoveryType String
    Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    resourcePoolLeaderId String
    (Updatable) The unique identifier for leader autonomous database OCID OCID.
    resourcePoolSummary Property Map
    (Updatable) The configuration details for resource pool
    role String
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    rotateKeyTrigger Boolean
    (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where is_dedicated is true.
    scheduledOperations List<Property Map>

    (Updatable) The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    secretId String

    (Updatable) The Oracle Cloud Infrastructure vault secret [/Content/General/Concepts/identifiers.htm]OCID.

    This cannot be used in conjunction with adminPassword.

    secretVersionNumber Number
    (Updatable) The version of the vault secret. If no version is specified, the latest version will be used.
    serviceConsoleUrl String
    The URL of the Service Console for the Autonomous Database.
    shrinkAdbTrigger Number
    source String

    The source of the database:

    • Use NONE for creating a new Autonomous Database.
    • Use DATABASE for creating a new Autonomous Database by cloning an existing running Autonomous Database from the latest timestamp, also provide the source database OCID in the source_id parameter.
    • Use CROSS_REGION_DATAGUARD to create a standby Data Guard database in another region, also provide the remote primary database OCID in the source_id parameter.
    • Use CLONE_TO_REFRESHABLE for creating a refreshable clone.

    For Autonomous Database Serverless instances, the following cloning options are available:

    • Use BACKUP_FROM_ID for creating a new Autonomous Database by cloning from a specified backup. Also provide the backup OCID in the autonomous_database_backup_id parameter.
    • Use BACKUP_FROM_TIMESTAMP for creating a point-in-time Autonomous Database clone using backups. Also provide the backup timestamp in the timestamp parameter. For more information, see Cloning and Moving an Autonomous Database.
    sourceId String
    The OCID of the source Autonomous Database that will be used to create a new standby database for the Data Guard association.
    standbyDbs List<Property Map>
    Deprecated Autonomous Data Guard standby database details.
    standbyWhitelistedIps List<String>

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses whitelisted_ips primary's IP access control list (ACL) as standbywhitelistedips for the disaster recovery peer.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

    state String
    The current state of the Autonomous Database.
    subnetId String

    (Updatable) The OCID of the subnet the resource is associated with. This the only parameter to configure private endpoint, VCN details are obtained from the subnet_id.

    Subnet Restrictions:

    • For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
    • For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20.
    • For Autonomous Database, setting this will disable public secure access to the database.

    These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.

    supportedRegionsToCloneTos List<String>
    The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.
    switchoverTo String
    It is applicable only when is_local_data_guard_enabled is true. Could be set to PRIMARY or STANDBY. Default value is PRIMARY.
    switchoverToRemotePeerId String
    (Updatable) It is applicable only when dataguard_region_type and role are set, and is_dedicated is false. For Autonomous Database Serverless instances, Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. It takes the OCID of the remote peer to switchover to and the API is called from the remote region.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    timeCreated String
    The date and time the Autonomous Database was created.
    timeDataGuardRoleChanged String
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    timeDeletionOfFreeAutonomousDatabase String
    The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.
    timeDisasterRecoveryRoleChanged String
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    timeLocalDataGuardEnabled String
    The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.
    timeMaintenanceBegin String
    The date and time when maintenance will begin.
    timeMaintenanceEnd String
    The date and time when maintenance will end.
    timeOfAutoRefreshStart String
    The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds parameter.
    timeOfJoiningResourcePool String
    timeOfLastFailover String
    The timestamp of the last failover operation.
    timeOfLastRefresh String
    The date and time when last refresh happened.
    timeOfLastRefreshPoint String
    The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.
    timeOfLastSwitchover String
    The timestamp of the last switchover operation for the Autonomous Database.
    timeOfNextRefresh String
    The date and time of next refresh.
    timeReclamationOfFreeAutonomousDatabase String
    The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.
    timeUntilReconnectCloneEnabled String
    The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.
    timestamp String
    The timestamp specified for the point-in-time clone of the source Autonomous Database. The timestamp must be in the past.
    totalBackupStorageSizeInGbs Number
    The backup storage to the database.
    useLatestAvailableBackupTimeStamp Boolean
    Clone from latest available backup timestamp.
    usedDataStorageSizeInGbs Number
    The storage space consumed by Autonomous Database in GBs.
    usedDataStorageSizeInTbs Number
    The amount of storage that has been used, in terabytes.
    vaultId String
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    whitelistedIps List<String>

    (Updatable) The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

    For Autonomous Database Serverless instances, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]

    For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

    This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. To remove all whitelisted IPs, set the field to a list with an empty string [""].

    Supporting Types

    AutonomousDatabaseApexDetail, AutonomousDatabaseApexDetailArgs

    ApexVersion string
    The Oracle APEX Application Development version.
    OrdsVersion string
    The Oracle REST Data Services (ORDS) version.
    ApexVersion string
    The Oracle APEX Application Development version.
    OrdsVersion string
    The Oracle REST Data Services (ORDS) version.
    apexVersion String
    The Oracle APEX Application Development version.
    ordsVersion String
    The Oracle REST Data Services (ORDS) version.
    apexVersion string
    The Oracle APEX Application Development version.
    ordsVersion string
    The Oracle REST Data Services (ORDS) version.
    apex_version str
    The Oracle APEX Application Development version.
    ords_version str
    The Oracle REST Data Services (ORDS) version.
    apexVersion String
    The Oracle APEX Application Development version.
    ordsVersion String
    The Oracle REST Data Services (ORDS) version.

    AutonomousDatabaseBackupConfig, AutonomousDatabaseBackupConfigArgs

    ManualBackupBucketName string
    Name of Object Storage bucket to use for storing manual backups.
    ManualBackupType string
    The manual backup destination type.
    ManualBackupBucketName string
    Name of Object Storage bucket to use for storing manual backups.
    ManualBackupType string
    The manual backup destination type.
    manualBackupBucketName String
    Name of Object Storage bucket to use for storing manual backups.
    manualBackupType String
    The manual backup destination type.
    manualBackupBucketName string
    Name of Object Storage bucket to use for storing manual backups.
    manualBackupType string
    The manual backup destination type.
    manual_backup_bucket_name str
    Name of Object Storage bucket to use for storing manual backups.
    manual_backup_type str
    The manual backup destination type.
    manualBackupBucketName String
    Name of Object Storage bucket to use for storing manual backups.
    manualBackupType String
    The manual backup destination type.

    AutonomousDatabaseConnectionString, AutonomousDatabaseConnectionStringArgs

    AllConnectionStrings Dictionary<string, object>
    Returns all connection strings that can be used to connect to the Autonomous Database. For more information, please see Predefined Database Service Names for Autonomous Transaction Processing
    Dedicated string
    The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.
    High string
    The High database service provides the highest level of resources to each SQL statement resulting in the highest performance, but supports the fewest number of concurrent SQL statements.
    Low string
    The Low database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.
    Medium string
    The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements.
    Profiles List<AutonomousDatabaseConnectionStringProfile>
    A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata.
    AllConnectionStrings map[string]interface{}
    Returns all connection strings that can be used to connect to the Autonomous Database. For more information, please see Predefined Database Service Names for Autonomous Transaction Processing
    Dedicated string
    The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.
    High string
    The High database service provides the highest level of resources to each SQL statement resulting in the highest performance, but supports the fewest number of concurrent SQL statements.
    Low string
    The Low database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.
    Medium string
    The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements.
    Profiles []AutonomousDatabaseConnectionStringProfile
    A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata.
    allConnectionStrings Map<String,Object>
    Returns all connection strings that can be used to connect to the Autonomous Database. For more information, please see Predefined Database Service Names for Autonomous Transaction Processing
    dedicated String
    The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.
    high String
    The High database service provides the highest level of resources to each SQL statement resulting in the highest performance, but supports the fewest number of concurrent SQL statements.
    low String
    The Low database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.
    medium String
    The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements.
    profiles List<AutonomousConnectionStringProfile>
    A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata.
    allConnectionStrings {[key: string]: any}
    Returns all connection strings that can be used to connect to the Autonomous Database. For more information, please see Predefined Database Service Names for Autonomous Transaction Processing
    dedicated string
    The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.
    high string
    The High database service provides the highest level of resources to each SQL statement resulting in the highest performance, but supports the fewest number of concurrent SQL statements.
    low string
    The Low database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.
    medium string
    The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements.
    profiles AutonomousDatabaseConnectionStringProfile[]
    A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata.
    all_connection_strings Mapping[str, Any]
    Returns all connection strings that can be used to connect to the Autonomous Database. For more information, please see Predefined Database Service Names for Autonomous Transaction Processing
    dedicated str
    The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.
    high str
    The High database service provides the highest level of resources to each SQL statement resulting in the highest performance, but supports the fewest number of concurrent SQL statements.
    low str
    The Low database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.
    medium str
    The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements.
    profiles Sequence[database.AutonomousDatabaseConnectionStringProfile]
    A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata.
    allConnectionStrings Map<Any>
    Returns all connection strings that can be used to connect to the Autonomous Database. For more information, please see Predefined Database Service Names for Autonomous Transaction Processing
    dedicated String
    The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.
    high String
    The High database service provides the highest level of resources to each SQL statement resulting in the highest performance, but supports the fewest number of concurrent SQL statements.
    low String
    The Low database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.
    medium String
    The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements.
    profiles List<Property Map>
    A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata.

    AutonomousDatabaseConnectionStringProfile, AutonomousDatabaseConnectionStringProfileArgs

    ConsumerGroup string
    Consumer group used by the connection.
    DisplayName string
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    HostFormat string
    Host format used in connection string.
    IsRegional bool
    True for a regional connection string, applicable to cross-region DG only.
    Protocol string
    Protocol used by the connection.
    SessionMode string
    Specifies whether the listener performs a direct hand-off of the session, or redirects the session. In RAC deployments where SCAN is used, sessions are redirected to a Node VIP. Use DIRECT for direct hand-offs. Use REDIRECT to redirect the session.
    SyntaxFormat string
    Specifies whether the connection string is using the long (LONG), Easy Connect (EZCONNECT), or Easy Connect Plus (EZCONNECTPLUS) format. Autonomous Database Serverless instances always use the long format.
    TlsAuthentication string
    Specifies whether the TLS handshake is using one-way (SERVER) or mutual (MUTUAL) authentication.
    Value string
    Connection string value.
    ConsumerGroup string
    Consumer group used by the connection.
    DisplayName string
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    HostFormat string
    Host format used in connection string.
    IsRegional bool
    True for a regional connection string, applicable to cross-region DG only.
    Protocol string
    Protocol used by the connection.
    SessionMode string
    Specifies whether the listener performs a direct hand-off of the session, or redirects the session. In RAC deployments where SCAN is used, sessions are redirected to a Node VIP. Use DIRECT for direct hand-offs. Use REDIRECT to redirect the session.
    SyntaxFormat string
    Specifies whether the connection string is using the long (LONG), Easy Connect (EZCONNECT), or Easy Connect Plus (EZCONNECTPLUS) format. Autonomous Database Serverless instances always use the long format.
    TlsAuthentication string
    Specifies whether the TLS handshake is using one-way (SERVER) or mutual (MUTUAL) authentication.
    Value string
    Connection string value.
    consumerGroup String
    Consumer group used by the connection.
    displayName String
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    hostFormat String
    Host format used in connection string.
    isRegional Boolean
    True for a regional connection string, applicable to cross-region DG only.
    protocol String
    Protocol used by the connection.
    sessionMode String
    Specifies whether the listener performs a direct hand-off of the session, or redirects the session. In RAC deployments where SCAN is used, sessions are redirected to a Node VIP. Use DIRECT for direct hand-offs. Use REDIRECT to redirect the session.
    syntaxFormat String
    Specifies whether the connection string is using the long (LONG), Easy Connect (EZCONNECT), or Easy Connect Plus (EZCONNECTPLUS) format. Autonomous Database Serverless instances always use the long format.
    tlsAuthentication String
    Specifies whether the TLS handshake is using one-way (SERVER) or mutual (MUTUAL) authentication.
    value String
    Connection string value.
    consumerGroup string
    Consumer group used by the connection.
    displayName string
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    hostFormat string
    Host format used in connection string.
    isRegional boolean
    True for a regional connection string, applicable to cross-region DG only.
    protocol string
    Protocol used by the connection.
    sessionMode string
    Specifies whether the listener performs a direct hand-off of the session, or redirects the session. In RAC deployments where SCAN is used, sessions are redirected to a Node VIP. Use DIRECT for direct hand-offs. Use REDIRECT to redirect the session.
    syntaxFormat string
    Specifies whether the connection string is using the long (LONG), Easy Connect (EZCONNECT), or Easy Connect Plus (EZCONNECTPLUS) format. Autonomous Database Serverless instances always use the long format.
    tlsAuthentication string
    Specifies whether the TLS handshake is using one-way (SERVER) or mutual (MUTUAL) authentication.
    value string
    Connection string value.
    consumer_group str
    Consumer group used by the connection.
    display_name str
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    host_format str
    Host format used in connection string.
    is_regional bool
    True for a regional connection string, applicable to cross-region DG only.
    protocol str
    Protocol used by the connection.
    session_mode str
    Specifies whether the listener performs a direct hand-off of the session, or redirects the session. In RAC deployments where SCAN is used, sessions are redirected to a Node VIP. Use DIRECT for direct hand-offs. Use REDIRECT to redirect the session.
    syntax_format str
    Specifies whether the connection string is using the long (LONG), Easy Connect (EZCONNECT), or Easy Connect Plus (EZCONNECTPLUS) format. Autonomous Database Serverless instances always use the long format.
    tls_authentication str
    Specifies whether the TLS handshake is using one-way (SERVER) or mutual (MUTUAL) authentication.
    value str
    Connection string value.
    consumerGroup String
    Consumer group used by the connection.
    displayName String
    (Updatable) The user-friendly name for the Autonomous Database. The name does not have to be unique.
    hostFormat String
    Host format used in connection string.
    isRegional Boolean
    True for a regional connection string, applicable to cross-region DG only.
    protocol String
    Protocol used by the connection.
    sessionMode String
    Specifies whether the listener performs a direct hand-off of the session, or redirects the session. In RAC deployments where SCAN is used, sessions are redirected to a Node VIP. Use DIRECT for direct hand-offs. Use REDIRECT to redirect the session.
    syntaxFormat String
    Specifies whether the connection string is using the long (LONG), Easy Connect (EZCONNECT), or Easy Connect Plus (EZCONNECTPLUS) format. Autonomous Database Serverless instances always use the long format.
    tlsAuthentication String
    Specifies whether the TLS handshake is using one-way (SERVER) or mutual (MUTUAL) authentication.
    value String
    Connection string value.

    AutonomousDatabaseConnectionUrl, AutonomousDatabaseConnectionUrlArgs

    ApexUrl string
    Oracle Application Express (APEX) URL.
    DatabaseTransformsUrl string
    The URL of the Database Transforms for the Autonomous Database.
    GraphStudioUrl string
    The URL of the Graph Studio for the Autonomous Database.
    MachineLearningNotebookUrl string
    The URL of the Oracle Machine Learning (OML) Notebook for the Autonomous Database.
    MachineLearningUserManagementUrl string
    Oracle Machine Learning user management URL.
    MongoDbUrl string
    The URL of the MongoDB API for the Autonomous Database.
    OrdsUrl string
    The Oracle REST Data Services (ORDS) URL of the Web Access for the Autonomous Database.
    SqlDevWebUrl string
    Oracle SQL Developer Web URL.
    ApexUrl string
    Oracle Application Express (APEX) URL.
    DatabaseTransformsUrl string
    The URL of the Database Transforms for the Autonomous Database.
    GraphStudioUrl string
    The URL of the Graph Studio for the Autonomous Database.
    MachineLearningNotebookUrl string
    The URL of the Oracle Machine Learning (OML) Notebook for the Autonomous Database.
    MachineLearningUserManagementUrl string
    Oracle Machine Learning user management URL.
    MongoDbUrl string
    The URL of the MongoDB API for the Autonomous Database.
    OrdsUrl string
    The Oracle REST Data Services (ORDS) URL of the Web Access for the Autonomous Database.
    SqlDevWebUrl string
    Oracle SQL Developer Web URL.
    apexUrl String
    Oracle Application Express (APEX) URL.
    databaseTransformsUrl String
    The URL of the Database Transforms for the Autonomous Database.
    graphStudioUrl String
    The URL of the Graph Studio for the Autonomous Database.
    machineLearningNotebookUrl String
    The URL of the Oracle Machine Learning (OML) Notebook for the Autonomous Database.
    machineLearningUserManagementUrl String
    Oracle Machine Learning user management URL.
    mongoDbUrl String
    The URL of the MongoDB API for the Autonomous Database.
    ordsUrl String
    The Oracle REST Data Services (ORDS) URL of the Web Access for the Autonomous Database.
    sqlDevWebUrl String
    Oracle SQL Developer Web URL.
    apexUrl string
    Oracle Application Express (APEX) URL.
    databaseTransformsUrl string
    The URL of the Database Transforms for the Autonomous Database.
    graphStudioUrl string
    The URL of the Graph Studio for the Autonomous Database.
    machineLearningNotebookUrl string
    The URL of the Oracle Machine Learning (OML) Notebook for the Autonomous Database.
    machineLearningUserManagementUrl string
    Oracle Machine Learning user management URL.
    mongoDbUrl string
    The URL of the MongoDB API for the Autonomous Database.
    ordsUrl string
    The Oracle REST Data Services (ORDS) URL of the Web Access for the Autonomous Database.
    sqlDevWebUrl string
    Oracle SQL Developer Web URL.
    apex_url str
    Oracle Application Express (APEX) URL.
    database_transforms_url str
    The URL of the Database Transforms for the Autonomous Database.
    graph_studio_url str
    The URL of the Graph Studio for the Autonomous Database.
    machine_learning_notebook_url str
    The URL of the Oracle Machine Learning (OML) Notebook for the Autonomous Database.
    machine_learning_user_management_url str
    Oracle Machine Learning user management URL.
    mongo_db_url str
    The URL of the MongoDB API for the Autonomous Database.
    ords_url str
    The Oracle REST Data Services (ORDS) URL of the Web Access for the Autonomous Database.
    sql_dev_web_url str
    Oracle SQL Developer Web URL.
    apexUrl String
    Oracle Application Express (APEX) URL.
    databaseTransformsUrl String
    The URL of the Database Transforms for the Autonomous Database.
    graphStudioUrl String
    The URL of the Graph Studio for the Autonomous Database.
    machineLearningNotebookUrl String
    The URL of the Oracle Machine Learning (OML) Notebook for the Autonomous Database.
    machineLearningUserManagementUrl String
    Oracle Machine Learning user management URL.
    mongoDbUrl String
    The URL of the MongoDB API for the Autonomous Database.
    ordsUrl String
    The Oracle REST Data Services (ORDS) URL of the Web Access for the Autonomous Database.
    sqlDevWebUrl String
    Oracle SQL Developer Web URL.

    AutonomousDatabaseCustomerContact, AutonomousDatabaseCustomerContactArgs

    Email string
    (Updatable) The email address used by Oracle to send notifications regarding databases and infrastructure.
    Email string
    (Updatable) The email address used by Oracle to send notifications regarding databases and infrastructure.
    email String
    (Updatable) The email address used by Oracle to send notifications regarding databases and infrastructure.
    email string
    (Updatable) The email address used by Oracle to send notifications regarding databases and infrastructure.
    email str
    (Updatable) The email address used by Oracle to send notifications regarding databases and infrastructure.
    email String
    (Updatable) The email address used by Oracle to send notifications regarding databases and infrastructure.

    AutonomousDatabaseDbToolsDetail, AutonomousDatabaseDbToolsDetailArgs

    Name string
    (Updatable) Name of the day of the week.
    ComputeCount double
    (Updatable) Compute used by database tools.
    IsEnabled bool
    (Updatable) Indicates whether tool is enabled.
    MaxIdleTimeInMinutes int
    (Updatable) The max idle time, in minutes, after which the VM used by database tools will be terminated.
    Name string
    (Updatable) Name of the day of the week.
    ComputeCount float64
    (Updatable) Compute used by database tools.
    IsEnabled bool
    (Updatable) Indicates whether tool is enabled.
    MaxIdleTimeInMinutes int
    (Updatable) The max idle time, in minutes, after which the VM used by database tools will be terminated.
    name String
    (Updatable) Name of the day of the week.
    computeCount Double
    (Updatable) Compute used by database tools.
    isEnabled Boolean
    (Updatable) Indicates whether tool is enabled.
    maxIdleTimeInMinutes Integer
    (Updatable) The max idle time, in minutes, after which the VM used by database tools will be terminated.
    name string
    (Updatable) Name of the day of the week.
    computeCount number
    (Updatable) Compute used by database tools.
    isEnabled boolean
    (Updatable) Indicates whether tool is enabled.
    maxIdleTimeInMinutes number
    (Updatable) The max idle time, in minutes, after which the VM used by database tools will be terminated.
    name str
    (Updatable) Name of the day of the week.
    compute_count float
    (Updatable) Compute used by database tools.
    is_enabled bool
    (Updatable) Indicates whether tool is enabled.
    max_idle_time_in_minutes int
    (Updatable) The max idle time, in minutes, after which the VM used by database tools will be terminated.
    name String
    (Updatable) Name of the day of the week.
    computeCount Number
    (Updatable) Compute used by database tools.
    isEnabled Boolean
    (Updatable) Indicates whether tool is enabled.
    maxIdleTimeInMinutes Number
    (Updatable) The max idle time, in minutes, after which the VM used by database tools will be terminated.

    AutonomousDatabaseKeyHistoryEntry, AutonomousDatabaseKeyHistoryEntryArgs

    Id string
    The id of the Autonomous Database Vault service key management history entry.
    KmsKeyVersionId 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.
    TimeActivated string
    The date and time the kms key activated.
    VaultId string
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    Id string
    The id of the Autonomous Database Vault service key management history entry.
    KmsKeyVersionId 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.
    TimeActivated string
    The date and time the kms key activated.
    VaultId string
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    id String
    The id of the Autonomous Database Vault service key management history entry.
    kmsKeyVersionId 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.
    timeActivated String
    The date and time the kms key activated.
    vaultId String
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    id string
    The id of the Autonomous Database Vault service key management history entry.
    kmsKeyVersionId 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.
    timeActivated string
    The date and time the kms key activated.
    vaultId string
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    id str
    The id of the Autonomous Database Vault service key management history entry.
    kms_key_version_id str
    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.
    time_activated str
    The date and time the kms key activated.
    vault_id str
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    id String
    The id of the Autonomous Database Vault service key management history entry.
    kmsKeyVersionId 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.
    timeActivated String
    The date and time the kms key activated.
    vaultId String
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.

    AutonomousDatabaseLocalStandbyDb, AutonomousDatabaseLocalStandbyDbArgs

    LagTimeInSeconds int
    The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    State string
    The current state of the Autonomous Database.
    TimeDataGuardRoleChanged string
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    TimeDisasterRecoveryRoleChanged string
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    LagTimeInSeconds int
    The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    State string
    The current state of the Autonomous Database.
    TimeDataGuardRoleChanged string
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    TimeDisasterRecoveryRoleChanged string
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    lagTimeInSeconds Integer
    The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    state String
    The current state of the Autonomous Database.
    timeDataGuardRoleChanged String
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    timeDisasterRecoveryRoleChanged String
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    lagTimeInSeconds number
    The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.
    lifecycleDetails string
    Additional information about the current lifecycle state.
    state string
    The current state of the Autonomous Database.
    timeDataGuardRoleChanged string
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    timeDisasterRecoveryRoleChanged string
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    lag_time_in_seconds int
    The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.
    lifecycle_details str
    Additional information about the current lifecycle state.
    state str
    The current state of the Autonomous Database.
    time_data_guard_role_changed str
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    time_disaster_recovery_role_changed str
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    lagTimeInSeconds Number
    The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    state String
    The current state of the Autonomous Database.
    timeDataGuardRoleChanged String
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    timeDisasterRecoveryRoleChanged String
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.

    AutonomousDatabaseLongTermBackupSchedule, AutonomousDatabaseLongTermBackupScheduleArgs

    IsDisabled bool
    (Updatable) Indicates if the resource pool should be deleted for the Autonomous Database.
    RepeatCadence string
    The frequency of the long-term backup schedule
    RetentionPeriodInDays int
    Retention period, in days, for long-term backups
    TimeOfBackup string
    The timestamp for the long-term backup schedule. For a MONTHLY cadence, months having fewer days than the provided date will have the backup taken on the last day of that month.
    IsDisabled bool
    (Updatable) Indicates if the resource pool should be deleted for the Autonomous Database.
    RepeatCadence string
    The frequency of the long-term backup schedule
    RetentionPeriodInDays int
    Retention period, in days, for long-term backups
    TimeOfBackup string
    The timestamp for the long-term backup schedule. For a MONTHLY cadence, months having fewer days than the provided date will have the backup taken on the last day of that month.
    isDisabled Boolean
    (Updatable) Indicates if the resource pool should be deleted for the Autonomous Database.
    repeatCadence String
    The frequency of the long-term backup schedule
    retentionPeriodInDays Integer
    Retention period, in days, for long-term backups
    timeOfBackup String
    The timestamp for the long-term backup schedule. For a MONTHLY cadence, months having fewer days than the provided date will have the backup taken on the last day of that month.
    isDisabled boolean
    (Updatable) Indicates if the resource pool should be deleted for the Autonomous Database.
    repeatCadence string
    The frequency of the long-term backup schedule
    retentionPeriodInDays number
    Retention period, in days, for long-term backups
    timeOfBackup string
    The timestamp for the long-term backup schedule. For a MONTHLY cadence, months having fewer days than the provided date will have the backup taken on the last day of that month.
    is_disabled bool
    (Updatable) Indicates if the resource pool should be deleted for the Autonomous Database.
    repeat_cadence str
    The frequency of the long-term backup schedule
    retention_period_in_days int
    Retention period, in days, for long-term backups
    time_of_backup str
    The timestamp for the long-term backup schedule. For a MONTHLY cadence, months having fewer days than the provided date will have the backup taken on the last day of that month.
    isDisabled Boolean
    (Updatable) Indicates if the resource pool should be deleted for the Autonomous Database.
    repeatCadence String
    The frequency of the long-term backup schedule
    retentionPeriodInDays Number
    Retention period, in days, for long-term backups
    timeOfBackup String
    The timestamp for the long-term backup schedule. For a MONTHLY cadence, months having fewer days than the provided date will have the backup taken on the last day of that month.

    AutonomousDatabaseRemoteDisasterRecoveryConfiguration, AutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs

    DisasterRecoveryType string
    Indicates the disaster recovery (DR) type of the Shared Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    IsReplicateAutomaticBackups bool
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    IsSnapshotStandby bool
    Indicates if user wants to convert to a snapshot standby. For example, true would set a standby database to snapshot standby database. False would set a snapshot standby database back to regular standby database.
    TimeSnapshotStandbyEnabledTill string
    Time and date stored as an RFC 3339 formatted timestamp string. For example, 2022-01-01T12:00:00.000Z would set a limit for the snapshot standby to be converted back to a cross-region standby database.
    DisasterRecoveryType string
    Indicates the disaster recovery (DR) type of the Shared Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    IsReplicateAutomaticBackups bool
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    IsSnapshotStandby bool
    Indicates if user wants to convert to a snapshot standby. For example, true would set a standby database to snapshot standby database. False would set a snapshot standby database back to regular standby database.
    TimeSnapshotStandbyEnabledTill string
    Time and date stored as an RFC 3339 formatted timestamp string. For example, 2022-01-01T12:00:00.000Z would set a limit for the snapshot standby to be converted back to a cross-region standby database.
    disasterRecoveryType String
    Indicates the disaster recovery (DR) type of the Shared Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    isReplicateAutomaticBackups Boolean
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    isSnapshotStandby Boolean
    Indicates if user wants to convert to a snapshot standby. For example, true would set a standby database to snapshot standby database. False would set a snapshot standby database back to regular standby database.
    timeSnapshotStandbyEnabledTill String
    Time and date stored as an RFC 3339 formatted timestamp string. For example, 2022-01-01T12:00:00.000Z would set a limit for the snapshot standby to be converted back to a cross-region standby database.
    disasterRecoveryType string
    Indicates the disaster recovery (DR) type of the Shared Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    isReplicateAutomaticBackups boolean
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    isSnapshotStandby boolean
    Indicates if user wants to convert to a snapshot standby. For example, true would set a standby database to snapshot standby database. False would set a snapshot standby database back to regular standby database.
    timeSnapshotStandbyEnabledTill string
    Time and date stored as an RFC 3339 formatted timestamp string. For example, 2022-01-01T12:00:00.000Z would set a limit for the snapshot standby to be converted back to a cross-region standby database.
    disaster_recovery_type str
    Indicates the disaster recovery (DR) type of the Shared Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    is_replicate_automatic_backups bool
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    is_snapshot_standby bool
    Indicates if user wants to convert to a snapshot standby. For example, true would set a standby database to snapshot standby database. False would set a snapshot standby database back to regular standby database.
    time_snapshot_standby_enabled_till str
    Time and date stored as an RFC 3339 formatted timestamp string. For example, 2022-01-01T12:00:00.000Z would set a limit for the snapshot standby to be converted back to a cross-region standby database.
    disasterRecoveryType String
    Indicates the disaster recovery (DR) type of the Shared Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
    isReplicateAutomaticBackups Boolean
    If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
    isSnapshotStandby Boolean
    Indicates if user wants to convert to a snapshot standby. For example, true would set a standby database to snapshot standby database. False would set a snapshot standby database back to regular standby database.
    timeSnapshotStandbyEnabledTill String
    Time and date stored as an RFC 3339 formatted timestamp string. For example, 2022-01-01T12:00:00.000Z would set a limit for the snapshot standby to be converted back to a cross-region standby database.

    AutonomousDatabaseResourcePoolSummary, AutonomousDatabaseResourcePoolSummaryArgs

    IsDisabled bool
    (Updatable) Indicates if the resource pool should be deleted for the Autonomous Database.
    PoolSize int
    (Updatable) Resource pool size.
    IsDisabled bool
    (Updatable) Indicates if the resource pool should be deleted for the Autonomous Database.
    PoolSize int
    (Updatable) Resource pool size.
    isDisabled Boolean
    (Updatable) Indicates if the resource pool should be deleted for the Autonomous Database.
    poolSize Integer
    (Updatable) Resource pool size.
    isDisabled boolean
    (Updatable) Indicates if the resource pool should be deleted for the Autonomous Database.
    poolSize number
    (Updatable) Resource pool size.
    is_disabled bool
    (Updatable) Indicates if the resource pool should be deleted for the Autonomous Database.
    pool_size int
    (Updatable) Resource pool size.
    isDisabled Boolean
    (Updatable) Indicates if the resource pool should be deleted for the Autonomous Database.
    poolSize Number
    (Updatable) Resource pool size.

    AutonomousDatabaseScheduledOperation, AutonomousDatabaseScheduledOperationArgs

    DayOfWeek AutonomousDatabaseScheduledOperationDayOfWeek
    (Updatable) Day of the week.
    ScheduledStartTime string
    (Updatable) auto start time. value must be of ISO-8601 format "HH:mm"
    ScheduledStopTime string
    (Updatable) auto stop time. value must be of ISO-8601 format "HH:mm"
    DayOfWeek AutonomousDatabaseScheduledOperationDayOfWeek
    (Updatable) Day of the week.
    ScheduledStartTime string
    (Updatable) auto start time. value must be of ISO-8601 format "HH:mm"
    ScheduledStopTime string
    (Updatable) auto stop time. value must be of ISO-8601 format "HH:mm"
    dayOfWeek AutonomousScheduledOperationDayOfWeek
    (Updatable) Day of the week.
    scheduledStartTime String
    (Updatable) auto start time. value must be of ISO-8601 format "HH:mm"
    scheduledStopTime String
    (Updatable) auto stop time. value must be of ISO-8601 format "HH:mm"
    dayOfWeek AutonomousDatabaseScheduledOperationDayOfWeek
    (Updatable) Day of the week.
    scheduledStartTime string
    (Updatable) auto start time. value must be of ISO-8601 format "HH:mm"
    scheduledStopTime string
    (Updatable) auto stop time. value must be of ISO-8601 format "HH:mm"
    day_of_week database.AutonomousDatabaseScheduledOperationDayOfWeek
    (Updatable) Day of the week.
    scheduled_start_time str
    (Updatable) auto start time. value must be of ISO-8601 format "HH:mm"
    scheduled_stop_time str
    (Updatable) auto stop time. value must be of ISO-8601 format "HH:mm"
    dayOfWeek Property Map
    (Updatable) Day of the week.
    scheduledStartTime String
    (Updatable) auto start time. value must be of ISO-8601 format "HH:mm"
    scheduledStopTime String
    (Updatable) auto stop time. value must be of ISO-8601 format "HH:mm"

    AutonomousDatabaseScheduledOperationDayOfWeek, AutonomousDatabaseScheduledOperationDayOfWeekArgs

    Name string
    (Updatable) Name of the day of the week.
    Name string
    (Updatable) Name of the day of the week.
    name String
    (Updatable) Name of the day of the week.
    name string
    (Updatable) Name of the day of the week.
    name str
    (Updatable) Name of the day of the week.
    name String
    (Updatable) Name of the day of the week.

    AutonomousDatabaseStandbyDb, AutonomousDatabaseStandbyDbArgs

    LagTimeInSeconds int
    The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    State string
    The current state of the Autonomous Database.
    TimeDataGuardRoleChanged string
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    TimeDisasterRecoveryRoleChanged string
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    LagTimeInSeconds int
    The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    State string
    The current state of the Autonomous Database.
    TimeDataGuardRoleChanged string
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    TimeDisasterRecoveryRoleChanged string
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    lagTimeInSeconds Integer
    The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    state String
    The current state of the Autonomous Database.
    timeDataGuardRoleChanged String
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    timeDisasterRecoveryRoleChanged String
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    lagTimeInSeconds number
    The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.
    lifecycleDetails string
    Additional information about the current lifecycle state.
    state string
    The current state of the Autonomous Database.
    timeDataGuardRoleChanged string
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    timeDisasterRecoveryRoleChanged string
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    lag_time_in_seconds int
    The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.
    lifecycle_details str
    Additional information about the current lifecycle state.
    state str
    The current state of the Autonomous Database.
    time_data_guard_role_changed str
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    time_disaster_recovery_role_changed str
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
    lagTimeInSeconds Number
    The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    state String
    The current state of the Autonomous Database.
    timeDataGuardRoleChanged String
    The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
    timeDisasterRecoveryRoleChanged String
    The date and time the Disaster Recovery role was switched for the standby Autonomous Database.

    Import

    AutonomousDatabases can be imported using the id, e.g.

    $ pulumi import oci:Database/autonomousDatabase:AutonomousDatabase test_autonomous_database "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi