import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to access information about an existing Autonomous Database.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = azure.oracle.getAutonomousDatabase({
 *     name: "existing",
 *     resourceGroupName: "existing",
 * });
 * export const id = example.then(example => example.id);
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This data source uses the following Azure API Providers:
 *
 * * `Oracle.Database` - 2025-09-01
 */
export declare function getAutonomousDatabase(args: GetAutonomousDatabaseArgs, opts?: pulumi.InvokeOptions): Promise<GetAutonomousDatabaseResult>;
/**
 * A collection of arguments for invoking getAutonomousDatabase.
 */
export interface GetAutonomousDatabaseArgs {
    /**
     * The name of this Autonomous Database.
     */
    name: string;
    /**
     * The name of the Resource Group where the Autonomous Database exists.
     */
    resourceGroupName: 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 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;
    /**
     * 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`.
     */
    readonly allowedIps: number[];
    /**
     * Indicates if auto scaling is enabled for the Autonomous Database CPU core count.
     */
    readonly autoScalingEnabled: boolean;
    /**
     * Indicates if auto scaling is enabled for the Autonomous Database storage.
     */
    readonly autoScalingForStorageEnabled: boolean;
    /**
     * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    readonly autonomousDatabaseId: string;
    /**
     * List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
     */
    readonly availableUpgradeVersions: string[];
    /**
     * Retention period, in days, for backups.
     */
    readonly backupRetentionPeriodInDays: number;
    /**
     * The character set for the autonomous database.
     */
    readonly characterSet: string;
    /**
     * The compute amount (CPUs) available to the database.
     */
    readonly computeCount: number;
    /**
     * 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 Database on Dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes](https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details.
     */
    readonly cpuCoreCount: number;
    /**
     * The quantity of data in the database, in gigabytes.
     */
    readonly dataStorageSizeInGbs: number;
    /**
     * The maximum storage that can be allocated for the database, in terabytes.
     */
    readonly dataStorageSizeInTbs: number;
    /**
     * The DB node storage size in, in gigabytes.
     */
    readonly dbNodeStorageSizeInGbs: number;
    /**
     * A valid Oracle Database version for Autonomous Database.
     */
    readonly dbVersion: string;
    /**
     * The user-friendly name for the Autonomous Database. The name does not have to be unique.
     */
    readonly displayName: string;
    /**
     * Indicates the number of seconds of data loss for a Data Guard failover.
     */
    readonly failedDataRecoveryInSeconds: number;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * The area assigned to In-Memory tables in Autonomous Database.
     */
    readonly inMemoryAreaInGbs: number;
    /**
     * 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;
    /**
     * 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.
     */
    readonly localDataGuardEnabled: boolean;
    /**
     * The Azure Region where the Autonomous Database exists.
     */
    readonly location: string;
    /**
     * A `longTermBackupSchedule` block as defined below
     */
    readonly longTermBackupSchedules: outputs.oracle.GetAutonomousDatabaseLongTermBackupSchedule[];
    /**
     * The amount of memory (in GBs) enabled per ECPU or OCPU.
     */
    readonly memoryPerOracleComputeUnitInGbs: number;
    /**
     * Specifies if the Autonomous Database requires mTLS connections.
     */
    readonly mtlsConnectionRequired: boolean;
    readonly name: string;
    /**
     * The national character set for the autonomous database.  The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
     */
    readonly nationalCharacterSet: string;
    /**
     * The date and time when the next long-term backup would be created.
     */
    readonly nextLongTermBackupTimeStamp: string;
    /**
     * The URL of the resource in the OCI console.
     */
    readonly ociUrl: string;
    /**
     * The [OCID](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm) of the autonomous database.
     */
    readonly ocid: 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 Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.
     */
    readonly peerDbIds: string[];
    /**
     * Indicates if the Autonomous Database version is a preview version.
     */
    readonly preview: boolean;
    /**
     * Indicates if the Autonomous Database version is a preview version with service terms accepted.
     */
    readonly previewVersionWithServiceTermsAccepted: boolean;
    /**
     * 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 Database can be scaled to.
     */
    readonly provisionableCpuses: number[];
    /**
     * Indicates whether the Autonomous Database has Cross Region Data Guard enabled. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
     */
    readonly remoteDataGuardEnabled: boolean;
    readonly resourceGroupName: string;
    /**
     * The URL of the Service Console for the Autonomous Database.
     */
    readonly serviceConsoleUrl: string;
    /**
     * The URL of the SQL web developer.
     */
    readonly sqlWebDeveloperUrl: 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 list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.
     */
    readonly supportedRegionsToCloneTos: string[];
    /**
     * A mapping of tags assigned to the Autonomous Database.
     */
    readonly tags: {
        [key: string]: string;
    };
    /**
     * The date and time the Autonomous Database was created.
     */
    readonly timeCreated: 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.
     */
    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 that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.
     */
    readonly timeLocalDataGuardEnabledOn: string;
    /**
     * The date and time when maintenance will begin.
     */
    readonly timeMaintenanceBegin: string;
    /**
     * The date and time when maintenance will end.
     */
    readonly timeMaintenanceEnd: 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 Database.
     */
    readonly timeOfLastSwitchover: 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 storage space consumed by Autonomous Database in GBs.
     */
    readonly usedDataStorageSizeInGbs: number;
    /**
     * The amount of storage that has been used, in terabytes.
     */
    readonly usedDataStorageSizeInTbs: number;
    /**
     * The ID to an Azure Resource Manager vnet resource.
     */
    readonly virtualNetworkId: string;
}
/**
 * Use this data source to access information about an existing Autonomous Database.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = azure.oracle.getAutonomousDatabase({
 *     name: "existing",
 *     resourceGroupName: "existing",
 * });
 * export const id = example.then(example => example.id);
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This data source uses the following Azure API Providers:
 *
 * * `Oracle.Database` - 2025-09-01
 */
export declare function getAutonomousDatabaseOutput(args: GetAutonomousDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAutonomousDatabaseResult>;
/**
 * A collection of arguments for invoking getAutonomousDatabase.
 */
export interface GetAutonomousDatabaseOutputArgs {
    /**
     * The name of this Autonomous Database.
     */
    name: pulumi.Input<string>;
    /**
     * The name of the Resource Group where the Autonomous Database exists.
     */
    resourceGroupName: pulumi.Input<string>;
}
//# sourceMappingURL=getAutonomousDatabase.d.ts.map