import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Provides details about an Oracle Database@AWS Autonomous Database Serverless (ADB-S) instance by its unique identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.odb.getAutonomousDatabase({ * id: exampleAwsOdbAutonomousDatabase.id, * }); * ``` */ export declare function getAutonomousDatabase(args: GetAutonomousDatabaseArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAutonomousDatabase. */ export interface GetAutonomousDatabaseArgs { /** * Unique Autonomous Database identifier. * * The following arguments are optional: */ id: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; } /** * A collection of values returned by getAutonomousDatabase. */ export interface GetAutonomousDatabaseResult { /** * Actual data storage currently in use, in TB. */ readonly actualUsedDataStorageSizeInTbs: number; /** * Source of the ADMIN password. See `adminPasswordSource` Block below. */ readonly adminPasswordSources: outputs.odb.GetAutonomousDatabaseAdminPasswordSource[]; /** * Storage currently allocated, in TB. */ readonly allocatedStorageSizeInTbs: number; /** * IP addresses allowed to access the database. */ readonly allowlistedIps: string[]; /** * ARN of the Autonomous Database. */ readonly arn: string; /** * Automatic refresh frequency in seconds. */ readonly autoRefreshFrequencyInSeconds: number; /** * Refresh lag from the source in seconds. */ readonly autoRefreshPointLagInSeconds: number; /** * Maintenance schedule type. */ readonly autonomousMaintenanceScheduleType: string; /** * Availability Zone of the database. */ readonly availabilityZone: string; /** * Availability Zone ID of the database. */ readonly availabilityZoneId: string; /** * Oracle Database versions available for upgrade. */ readonly availableUpgradeVersions: string[]; /** * Automatic backup retention period in days. */ readonly backupRetentionPeriodInDays: number; /** * Maximum BYOL compute capacity. */ readonly byolComputeCountLimit: number; /** * Database character set. */ readonly characterSet: string; /** * Compute capacity allocated to the database tool. */ readonly computeCount: number; /** * Compute model, either `ECPU` or `OCPU`. */ readonly computeModel: string; /** * Allocated CPU core count. */ readonly cpuCoreCount: number; /** * Creation date and time. */ readonly createdAt: string; /** * Customer contacts that receive operational notifications from OCI. */ readonly customerContactsToSendToOcis: outputs.odb.GetAutonomousDatabaseCustomerContactsToSendToOci[]; /** * Data volume size in GB. */ readonly dataStorageSizeInGbs: number; /** * Data volume size in TB. */ readonly dataStorageSizeInTbs: number; /** * Oracle Database edition. */ readonly databaseEdition: string; /** * Autonomous Database type. */ readonly databaseType: string; /** * Database name. */ readonly dbName: string; /** * Database management tools enabled for the database. */ readonly dbToolsDetails: outputs.odb.GetAutonomousDatabaseDbToolsDetail[]; /** * Oracle Database software version. */ readonly dbVersion: string; /** * Database workload. */ readonly dbWorkload: string; /** * User-friendly database name. */ readonly displayName: string; /** * Encryption key provider. */ readonly encryptionKeyProvider: string; readonly id: string; /** * Whether automatic compute scaling is enabled. */ readonly isAutoScalingEnabled: boolean; /** * Whether automatic storage scaling is enabled. */ readonly isAutoScalingForStorageEnabled: boolean; /** * Whether the backup retention period is locked. */ readonly isBackupRetentionLocked: boolean; /** * Whether local Oracle Data Guard is enabled. */ readonly isLocalDataGuardEnabled: boolean; /** * Whether mutual TLS is required. */ readonly isMtlsConnectionRequired: boolean; /** * Whether the database is a refreshable clone. */ readonly isRefreshableClone: boolean; /** * ARN of the AWS KMS encryption key, when configured. */ readonly kmsKeyId: string; /** * Oracle license model. */ readonly licenseModel: string; /** * Maximum automatic-failover data-loss limit in seconds. */ readonly localAdgAutoFailoverMaxDataLossLimit: number; /** * Long-term backup schedule. */ readonly longTermBackupSchedules: outputs.odb.GetAutonomousDatabaseLongTermBackupSchedule[]; /** * National character set. */ readonly ncharacterSet: string; /** * OCI resource anchor name. */ readonly ociResourceAnchorName: string; /** * OCI console URL. */ readonly ociUrl: string; /** * Oracle Cloud Identifier. */ readonly ocid: string; /** * ARN of the associated ODB network. */ readonly odbNetworkArn: string; /** * ID of the associated ODB network. */ readonly odbNetworkId: string; /** * Database open mode. */ readonly openMode: string; /** * Progress of the current operation. */ readonly percentProgress: number; /** * Database permission level. */ readonly permissionLevel: string; /** * Private endpoint hostname. */ readonly privateEndpoint: string; /** * Private endpoint IP address. */ readonly privateEndpointIp: string; /** * Private endpoint label. */ readonly privateEndpointLabel: string; /** * Refresh mode of a refreshable clone. */ readonly refreshableMode: string; readonly region: string; /** * Resource-pool leader database ID. */ readonly resourcePoolLeaderId: string; /** * Resource pool configuration. */ readonly resourcePoolSummaries: outputs.odb.GetAutonomousDatabaseResourcePoolSummary[]; /** * Scheduled database start and stop times. */ readonly scheduledOperations: outputs.odb.GetAutonomousDatabaseScheduledOperation[]; /** * Oracle service console URL. */ readonly serviceConsoleUrl: string; /** * ID of the source database or backup. */ readonly sourceId: string; /** * Oracle SQL Developer Web URL. */ readonly sqlWebDeveloperUrl: string; /** * IP addresses allowed to access the standby database. */ readonly standbyAllowlistedIps: string[]; /** * Source of standby allowlisted IPs. */ readonly standbyAllowlistedIpsSource: string; /** * Current database lifecycle status. */ readonly status: string; /** * Additional lifecycle status information. */ readonly statusReason: string; /** * Map of tags assigned to the Autonomous Database. */ readonly tags: { [key: string]: string; }; /** * Automatic refresh start date and time. */ readonly timeOfAutoRefreshStart: string; } /** * Provides details about an Oracle Database@AWS Autonomous Database Serverless (ADB-S) instance by its unique identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.odb.getAutonomousDatabase({ * id: exampleAwsOdbAutonomousDatabase.id, * }); * ``` */ export declare function getAutonomousDatabaseOutput(args: GetAutonomousDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAutonomousDatabase. */ export interface GetAutonomousDatabaseOutputArgs { /** * Unique Autonomous Database identifier. * * The following arguments are optional: */ id: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; } //# sourceMappingURL=getAutonomousDatabase.d.ts.map