import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Autonomous Database resource in Oracle Cloud Infrastructure Database service. * * Gets the details of the specified Autonomous AI Database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAutonomousDatabase = oci.database.getAutonomousDatabase({ * autonomousDatabaseId: testAutonomousDatabaseOciDatabaseAutonomousDatabase.id, * }); * ``` */ export declare function getAutonomousDatabase(args: GetAutonomousDatabaseArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAutonomousDatabase. */ export interface GetAutonomousDatabaseArgs { /** * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ autonomousDatabaseId: string; } /** * A collection of values returned by getAutonomousDatabase. */ export interface GetAutonomousDatabaseResult { /** * The current amount of storage in use for user and system data, in terabytes (TB). */ readonly actualUsedDataStorageSizeInTbs: number; /** * The Availability Domain which is planned for Scheduled Update */ readonly adScheduledForUpdate: string; /** * Additional attributes for this resource. Each attribute is a simple key-value pair with no predefined name, type, or namespace. Example: `{ "gcpAccountName": "gcpName" }` */ readonly additionalAttributes: { [key: string]: string; }; readonly adminPassword: string; /** * 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. */ readonly allocatedStorageSizeInTbs: number; /** * Information about Oracle APEX AI Application Development. */ readonly apexDetails: outputs.Database.GetAutonomousDatabaseApexDetail[]; /** * This field will be null if the Autonomous AI Database is not Data Guard enabled or Access Control is disabled. It's value would be `TRUE` if Autonomous AI Database is Data Guard enabled and Access Control is enabled and if the Autonomous AI Database uses primary IP access control list (ACL) for standby. It's value would be `FALSE` if Autonomous AI Database is Data Guard enabled and Access Control is enabled and if the Autonomous AI Database uses different IP access control list (ACL) for standby compared to primary. */ readonly arePrimaryWhitelistedIpsUsed: boolean; /** * 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. */ readonly autoRefreshFrequencyInSeconds: number; /** * 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. */ readonly autoRefreshPointLagInSeconds: number; /** * The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Used only by Autonomous AI Database on Dedicated Exadata Infrastructure. */ readonly autonomousContainerDatabaseId: string; readonly autonomousDatabaseBackupId: string; readonly autonomousDatabaseId: string; /** * Autonomous Database maintenance window. The maintenance window can be configured during database creation. To change the maintenance window of an existing Autonomous Database Serverless instance, clone the database and specify the maintenance window for the new cloned instance. */ readonly autonomousDatabaseMaintenanceWindows: outputs.Database.GetAutonomousDatabaseAutonomousDatabaseMaintenanceWindow[]; /** * The maintenance schedule type of the Autonomous AI Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle */ readonly autonomousMaintenanceScheduleType: string; /** * The availability domain of a local Autonomous Data Guard standby database of an Autonomous AI Database Serverless instance. */ readonly availabilityDomain: string; /** * List of Oracle AI Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. */ readonly availableUpgradeVersions: string[]; /** * Autonomous AI Database configuration details for storing [manual backups](https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/backup-restore.html#GUID-9035DFB8-4702-4CEB-8281-C2A303820809) in the [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) service. */ readonly backupConfigs: outputs.Database.GetAutonomousDatabaseBackupConfig[]; /** * Retention period, in days, for long-term backups */ readonly backupRetentionPeriodInDays: number; /** * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered as License Included and billed. */ readonly byolComputeCountLimit: number; /** * The character set for the Autonomous AI Database. The default is AL32UTF8. Allowed values are: */ readonly characterSet: string; /** * A list of the source Autonomous AI Database's table space number(s) used to create this partial clone from the backup. */ readonly cloneTableSpaceLists: number[]; readonly cloneType: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. */ readonly clusterPlacementGroupId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * Compute used by database tools. */ readonly computeCount: number; /** * The compute model of the Autonomous AI 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. */ readonly computeModel: string; /** * The connection string used to connect to the Autonomous AI Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous AI Database for the password value. */ readonly connectionStrings: outputs.Database.GetAutonomousDatabaseConnectionString[]; /** * 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](https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html). Example: `{"sqlDevWebUrl": "https:///ords...", "apexUrl", "https:///ords..."}` */ readonly connectionUrls: outputs.Database.GetAutonomousDatabaseConnectionUrl[]; /** * The number of CPU cores to be made available to the database. When the ECPU is selected, the value for cpuCoreCount is 0. For Autonomous AI Database on Dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbde/) for shape details. */ readonly cpuCoreCount: number; /** * Customer Contacts. */ readonly customerContacts: outputs.Database.GetAutonomousDatabaseCustomerContact[]; /** * Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED. */ readonly dataSafeStatus: string; /** * The quantity of data in the database, in gigabytes. */ readonly dataStorageSizeInGb: number; /** * The quantity of data in the database, in terabytes. */ readonly dataStorageSizeInTbs: number; /** * The Oracle AI Database Edition that applies to the Autonomous AI databases. */ readonly databaseEdition: string; /** * Status of Database Management for this Autonomous AI Database. */ readonly databaseManagementStatus: string; /** * **Deprecated.** The Autonomous Data Guard region type of the Autonomous AI Database. For Autonomous AI Database Serverless, Autonomous Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. The standby regions in Autonomous 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 Autonomous Data Guard association, and cannot be performed when the database using the primary role is operating in a remote Autonomous Data Guard standby region. */ readonly dataguardRegionType: string; /** * The database name. */ readonly dbName: string; /** * The list of database tools details. */ readonly dbToolsDetails: outputs.Database.GetAutonomousDatabaseDbToolsDetail[]; /** * A valid Oracle AI Database version for Autonomous AI Database. When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai. When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected. For new databases, it is recommended to use either 19c or 26ai. */ readonly dbVersion: string; /** * The Autonomous AI Database workload type. The following values are valid: * * OLTP - indicates an Autonomous AI Transaction Processing database * * DW - indicates an Autonomous AI Lakehouse database * * AJD - indicates an Autonomous AI JSON Database * * APEX - indicates an Autonomous AI Database with the Oracle APEX AI Application Development workload type. * * LH - indicates an Oracle Autonomous AI Lakehouse database */ readonly dbWorkload: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly definedTags: { [key: string]: string; }; /** * **Deprecated.** The disaster recovery (DR) region type of the Autonomous AI Database. For Autonomous AI Database Serverless instances, DR associations have designated primary and standby 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. */ readonly disasterRecoveryRegionType: string; /** * Indicates the disaster recovery (DR) type of the Autonomous AI 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. */ readonly disasterRecoveryType: string; /** * The user-friendly name for the Autonomous AI Database. The name does not have to be unique. */ readonly displayName: string; /** * If omitted or set to false the provider will not delete scheduledOperations from the Autonomous AI Database. If set to true, provider will delete scheduledOperations from the Autonomous AI Database. */ readonly enableDeleteScheduledOperations: boolean; /** * Key History Entry. */ readonly encryptionKeyHistoryEntries: outputs.Database.GetAutonomousDatabaseEncryptionKeyHistoryEntry[]; /** * Types of providers supported for managing database encryption keys */ readonly encryptionKeyLocationDetails: outputs.Database.GetAutonomousDatabaseEncryptionKeyLocationDetail[]; /** * Details of the Autonomous AI Database encryption key. */ readonly encryptionKeys: outputs.Database.GetAutonomousDatabaseEncryptionKey[]; /** * The external logical zone where the local Autonomous Data Guard is located (Intended for multicloud use). */ readonly externalLocationZone: string; /** * Indicates the number of seconds of data loss for a Data Guard failover. */ readonly failedDataRecoveryInSeconds: number; /** * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The id of the Autonomous AI Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. */ readonly id: string; /** * The area assigned to In-Memory tables in Autonomous AI Database. */ readonly inMemoryAreaInGbs: number; /** * The percentage of the System Global Area(SGA) assigned to In-Memory tables in Autonomous AI Database. This property is applicable only to Autonomous AI Databases on the Exadata Cloud@Customer platform. */ readonly inMemoryPercentage: number; /** * The infrastructure type this resource belongs to. */ readonly infrastructureType: string; /** * 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. */ readonly isAccessControlEnabled: boolean; /** * Indicates if auto scaling is enabled for the Autonomous AI Database CPU core count. The default value is `TRUE`. */ readonly isAutoScalingEnabled: boolean; /** * Indicates if auto scaling is enabled for the Autonomous AI Database storage. The default value is `FALSE`. */ readonly isAutoScalingForStorageEnabled: boolean; /** * Indicates if the Autonomous AI Database is backup retention locked. */ readonly isBackupRetentionLocked: boolean; /** * **Deprecated.** Indicates whether the Autonomous AI Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous AI Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. */ readonly isDataGuardEnabled: boolean; /** * True if the database uses [dedicated Exadata infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html). */ readonly isDedicated: boolean; /** * Autonomous AI Database for Developers are fixed-shape Autonomous AI Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database. */ readonly isDevTier: boolean; readonly isDisableAdUpdateSchedule: boolean; readonly isDisableDbVersionUpgradeSchedule: boolean; readonly isDisconnectPeer: boolean; /** * Indicates if this is an Always Free resource. The default value is false. Note that Always Free Autonomous AI Databases have 1 CPU and 20GB of memory. For Always Free databases, memory and CPU cannot be scaled. */ readonly isFreeTier: boolean; /** * Indicates whether the Autonomous AI Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous AI Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. */ readonly isLocalDataGuardEnabled: boolean; /** * Specifies if the Autonomous AI Database requires mTLS connections. */ readonly isMtlsConnectionRequired: boolean; /** * Indicates if the Autonomous AI Database version is a preview version. */ readonly isPreview: boolean; readonly isPreviewVersionWithServiceTermsAccepted: boolean; /** * Indicates if the refreshable clone can be reconnected to its source database. */ readonly isReconnectCloneEnabled: boolean; /** * Indicates if the Autonomous AI Database is a refreshable clone. */ readonly isRefreshableClone: boolean; /** * Indicates whether the Autonomous AI Database has Cross Region Data Guard enabled. Not applicable to Autonomous AI Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. */ readonly isRemoteDataGuardEnabled: 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. */ readonly isReplicateAutomaticBackups: boolean; readonly isScheduleAdUpdateToEarliest: boolean; readonly isScheduleDbVersionUpgradeToEarliest: boolean; /** * @deprecated The 'is_shrink_only' field has been deprecated. Please use 'shrink_adb_trigger' instead. */ readonly isShrinkOnly: boolean; /** * Key History Entry. */ readonly keyHistoryEntries: outputs.Database.GetAutonomousDatabaseKeyHistoryEntry[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key store of Oracle Vault. */ readonly keyStoreId: string; /** * The wallet name for Oracle Key Vault. */ readonly keyStoreWalletName: string; readonly keyVersionId: string; /** * The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations. */ readonly kmsKeyId: string; /** * KMS key lifecycle details. */ readonly kmsKeyLifecycleDetails: 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 AI Database Serverless does not use key versions, hence is not applicable for Autonomous AI Database Serverless instances. */ readonly kmsKeyVersionId: string; /** * The Oracle license model that applies to the Oracle Autonomous AI Database. Bring your own license (BYOL) allows you to apply your current on-premises Oracle software licenses to equivalent, highly automated Oracle services in the cloud. License Included allows you to subscribe to new Oracle AI Database software licenses and the Oracle AI Database service. Note that when provisioning an [Autonomous AI Database on dedicated Exadata infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html), this attribute must be null. It is already set at the Autonomous Exadata Infrastructure level. When provisioning an [Autonomous AI Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) database, if a value is not specified, the system defaults the value to `BRING_YOUR_OWN_LICENSE`. Bring your own license (BYOL) also allows you to select the DB edition using the optional parameter. */ readonly licenseModel: string; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: string; /** * 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 */ readonly localAdgAutoFailoverMaxDataLossLimit: number; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated resource pool leader Autonomous Database in the same region, associated with local Autonomous Data Guard for a dedicated resource pool member. */ readonly localAdgResourcePoolLeaderId: string; /** * Indicates the local disaster recovery (DR) type of the Autonomous AI 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. */ readonly localDisasterRecoveryType: string; /** * Autonomous Data Guard standby database details. */ readonly localStandbyDbs: outputs.Database.GetAutonomousDatabaseLocalStandbyDb[]; /** * Details for the long-term backup schedule. */ readonly longTermBackupSchedules: outputs.Database.GetAutonomousDatabaseLongTermBackupSchedule[]; /** * The component chosen for maintenance. */ readonly maintenanceTargetComponent: string; readonly maxCpuCoreCount: number; /** * The amount of memory (in GBs) to be enabled per OCPU or ECPU. */ readonly memoryPerComputeUnitInGbs: number; /** * The amount of memory (in GBs) to be enabled per OCPU or ECPU. */ readonly memoryPerOracleComputeUnitInGbs: number; /** * The national character set for the Autonomous AI Database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8. */ readonly ncharacterSet: 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. */ readonly netServicesArchitecture: string; /** * The date and time when the next long-term backup would be created. */ readonly nextLongTermBackupTimeStamp: string; /** * The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). **NsgIds restrictions:** * * A network security group (NSG) is optional for Autonomous AI Databases with private access. The nsgIds list can be empty. */ readonly nsgIds: string[]; /** * The number of OCPU cores to be made available to the database. */ readonly ocpuCount: number; /** * Indicates the Autonomous AI Database mode. The database can be opened in `READ_ONLY` or `READ_WRITE` mode. */ readonly openMode: string; /** * Status of Operations Insights for this Autonomous AI Database. */ readonly operationsInsightsStatus: string; readonly peerDbId: string; /** * The list of [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous AI Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs. */ readonly peerDbIds: string[]; /** * The Autonomous AI Database permission level. Restricted mode allows access only by admin users. */ readonly permissionLevel: string; /** * The private endpoint for the resource. */ readonly privateEndpoint: string; /** * The private endpoint Ip address for the resource. */ readonly privateEndpointIp: string; /** * The private endpoint label for the resource. */ readonly privateEndpointLabel: string; /** * An array of CPU values that an Autonomous AI Database can be scaled to. */ readonly provisionableCpuses: number[]; /** * The Public URLs of Private Endpoint database 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. */ readonly publicConnectionUrls: outputs.Database.GetAutonomousDatabasePublicConnectionUrl[]; /** * The public endpoint for the private endpoint enabled resource. */ readonly publicEndpoint: string; /** * The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous AI Database. */ readonly refreshableMode: string; /** * The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous AI Database. */ readonly refreshableStatus: string; /** * Configurations of a Disaster Recovery. */ readonly remoteDisasterRecoveryConfigurations: outputs.Database.GetAutonomousDatabaseRemoteDisasterRecoveryConfiguration[]; readonly remoteDisasterRecoveryType: string; /** * The unique identifier for leader Autonomous AI Database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly resourcePoolLeaderId: string; /** * The configuration details for resource pool */ readonly resourcePoolSummaries: outputs.Database.GetAutonomousDatabaseResourcePoolSummary[]; /** * The Data Guard role of the Autonomous Container Database or Autonomous AI Database, if Autonomous Data Guard is enabled. */ readonly role: string; readonly rotateKeyTrigger: boolean; /** * The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime. */ readonly scheduledOperations: outputs.Database.GetAutonomousDatabaseScheduledOperation[]; readonly secretId: string; readonly secretVersionNumber: number; /** * Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` */ readonly securityAttributes: { [key: string]: string; }; /** * The URL of the Service Console for the Autonomous AI Database. */ readonly serviceConsoleUrl: string; readonly shrinkAdbTrigger: number; readonly source: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source Autonomous AI Database that was cloned to create the current Autonomous AI Database. */ readonly sourceId: string; /** * **Deprecated** Autonomous Data Guard standby database details. */ readonly standbyDbs: outputs.Database.GetAutonomousDatabaseStandbyDb[]; /** * The client IP access control list (ACL). This feature is available for [Autonomous AI 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 AI Database instance. If `arePrimaryWhitelistedIpsUsed` is 'TRUE' then Autonomous AI Database uses this primary's IP access control list (ACL) for the disaster recovery peer called `standbywhitelistedips`. */ readonly standbyWhitelistedIps: string[]; /** * The current state of the Autonomous AI Database. */ readonly state: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with. */ readonly subnetId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. */ readonly subscriptionId: string; /** * The list of regions that support the creation of an Autonomous AI Database clone or an Autonomous Data Guard standby database. */ readonly supportedRegionsToCloneTos: string[]; readonly switchoverTo: string; readonly switchoverToRemotePeerId: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly systemTags: { [key: string]: string; }; /** * The date and time the Autonomous AI Database was created. */ readonly timeCreated: string; /** * The date and time the Autonomous Data Guard role was switched for the Autonomous AI 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. */ readonly timeDataGuardRoleChanged: 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. */ readonly timeDeletionOfFreeAutonomousDatabase: string; /** * The date and time the Disaster Recovery role was switched for the standby Autonomous AI Database. */ readonly timeDisasterRecoveryRoleChanged: string; /** * The earliest date and time to which you can schedule an Autonomous Database availability domain update. */ readonly timeEarliestAvailableAdUpdate: string; /** * The earliest(min) date and time the Autonomous AI Database can be scheduled to upgrade to 26ai. */ readonly timeEarliestAvailableDbVersionUpgrade: string; /** * The latest date and time to which you can schedule an Autonomous Database availability domain update. */ readonly timeLatestAvailableAdUpdate: string; /** * The max date and time the Autonomous AI Database can be scheduled to upgrade to 26ai. */ readonly timeLatestAvailableDbVersionUpgrade: string; /** * The date and time that Autonomous Data Guard was enabled for an Autonomous AI Database where the standby was provisioned in the same region as the primary database. */ readonly timeLocalDataGuardEnabled: string; /** * The date and time when maintenance will begin. */ readonly timeMaintenanceBegin: string; /** * The date and time when maintenance will end. */ readonly timeMaintenanceEnd: string; /** * The date until which maintenance of Autonomous Database is temporarily paused. */ readonly timeMaintenancePauseUntil: string; /** * The the date and time that auto-refreshing will begin for an Autonomous AI 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. */ readonly timeOfAutoRefreshStart: string; /** * The time the member joined the resource pool. */ readonly timeOfJoiningResourcePool: string; /** * The timestamp of the last failover operation. */ readonly timeOfLastFailover: string; /** * The date and time when last refresh happened. */ readonly timeOfLastRefresh: 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. */ readonly timeOfLastRefreshPoint: string; /** * The timestamp of the last switchover operation for the Autonomous AI Database. */ readonly timeOfLastSwitchover: string; /** * The date and time of next refresh. */ readonly timeOfNextRefresh: 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. */ readonly timeReclamationOfFreeAutonomousDatabase: string; /** * The date and time to which the Autonomous Database availability domain update is scheduled. */ readonly timeScheduledAdUpdate: string; /** * The date and time the Autonomous AI Database scheduled to upgrade to 26ai. */ readonly timeScheduledDbVersionUpgrade: string; /** * The date and time the Autonomous AI Database was most recently undeleted. */ readonly timeUndeleted: 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. */ readonly timeUntilReconnectCloneEnabled: string; readonly timestamp: string; /** * The backup storage to the database. */ readonly totalBackupStorageSizeInGbs: number; readonly transportableTablespaces: outputs.Database.GetAutonomousDatabaseTransportableTablespace[]; readonly useLatestAvailableBackupTimeStamp: boolean; /** * The storage space consumed by Autonomous AI Database in GBs. */ readonly usedDataStorageSizeInGbs: number; /** * The amount of storage that has been used for Autonomous AI Databases in dedicated infrastructure, in terabytes. */ readonly usedDataStorageSizeInTbs: number; /** * 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](https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html). Example: `{"sqlDevWebUrl": "https:///ords...", "apexUrl", "https:///ords..."}` */ readonly vanityConnectionUrls: outputs.Database.GetAutonomousDatabaseVanityConnectionUrl[]; /** * Details for api gateway and vanity url(custom url) for dbTools. */ readonly vanityUrlDetails: outputs.Database.GetAutonomousDatabaseVanityUrlDetail[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). This parameter and `secretId` are required for Customer Managed Keys. */ readonly vaultId: string; /** * The client IP access control list (ACL). This feature is available for [Autonomous AI 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 AI Database instance. If `arePrimaryWhitelistedIpsUsed` is 'TRUE' then Autonomous AI Database uses this primary's IP access control list (ACL) for the disaster recovery peer called `standbywhitelistedips`. */ readonly whitelistedIps: string[]; } /** * This data source provides details about a specific Autonomous Database resource in Oracle Cloud Infrastructure Database service. * * Gets the details of the specified Autonomous AI Database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAutonomousDatabase = oci.database.getAutonomousDatabase({ * autonomousDatabaseId: testAutonomousDatabaseOciDatabaseAutonomousDatabase.id, * }); * ``` */ export declare function getAutonomousDatabaseOutput(args: GetAutonomousDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAutonomousDatabase. */ export interface GetAutonomousDatabaseOutputArgs { /** * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ autonomousDatabaseId: pulumi.Input; } //# sourceMappingURL=getAutonomousDatabase.d.ts.map