import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * This data source provides details about a specific Backup resource in Oracle Cloud Infrastructure Psql service.
 *
 * Gets a backup by identifier.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testBackup = oci.psql.getBackup({
 *     backupId: testBackupOciPsqlBackup.id,
 * });
 * ```
 */
export declare function getBackup(args: GetBackupArgs, opts?: pulumi.InvokeOptions): Promise<GetBackupResult>;
/**
 * A collection of arguments for invoking getBackup.
 */
export interface GetBackupArgs {
    /**
     * A unique identifier for the backup.
     */
    backupId: string;
}
/**
 * A collection of values returned by getBackup.
 */
export interface GetBackupResult {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup in the source region
     */
    readonly backupId: string;
    /**
     * The size of the backup, in gigabytes.
     */
    readonly backupSize: number;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the backup.
     */
    readonly compartmentId: string;
    /**
     * List of status for Backup Copy
     */
    readonly copyStatuses: outputs.Psql.GetBackupCopyStatus[];
    /**
     * Information about the database system associated with a backup.
     */
    readonly dbSystemDetails: outputs.Psql.GetBackupDbSystemDetail[];
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup's source database system.
     */
    readonly dbSystemId: string;
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    readonly definedTags: {
        [key: string]: string;
    };
    /**
     * A description for the backup.
     */
    readonly description: string;
    /**
     * A user-friendly display name for the backup. Avoid entering confidential information.
     */
    readonly displayName: string;
    /**
     * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    readonly freeformTags: {
        [key: string]: string;
    };
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup.
     */
    readonly id: string;
    /**
     * lastAcceptedRequestToken from MP.
     */
    readonly lastAcceptedRequestToken: string;
    /**
     * lastCompletedRequestToken from MP.
     */
    readonly lastCompletedRequestToken: string;
    /**
     * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
     */
    readonly lifecycleDetails: string;
    /**
     * Backup retention period in days.
     */
    readonly retentionPeriod: number;
    /**
     * Information about the Source Backup associated with a backup.
     */
    readonly sourceBackupDetails: outputs.Psql.GetBackupSourceBackupDetail[];
    /**
     * Specifies whether the backup was created manually, taken on schedule defined in the a backup policy, or copied from the remote location.
     */
    readonly sourceType: string;
    /**
     * The current state of the backup.
     */
    readonly state: string;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: {
        [key: string]: string;
    };
    /**
     * The date and time the backup request was received, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.  Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeCreated: string;
    /**
     * The date and time the backup was created. This is the time the actual point-in-time data snapshot was taken, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.  Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeCreatedPrecise: string;
    /**
     * The date and time the backup was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.  Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeUpdated: string;
}
/**
 * This data source provides details about a specific Backup resource in Oracle Cloud Infrastructure Psql service.
 *
 * Gets a backup by identifier.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testBackup = oci.psql.getBackup({
 *     backupId: testBackupOciPsqlBackup.id,
 * });
 * ```
 */
export declare function getBackupOutput(args: GetBackupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBackupResult>;
/**
 * A collection of arguments for invoking getBackup.
 */
export interface GetBackupOutputArgs {
    /**
     * A unique identifier for the backup.
     */
    backupId: pulumi.Input<string>;
}
//# sourceMappingURL=getBackup.d.ts.map