import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Oci Cache Backups in Oracle Cloud Infrastructure Redis service. * * Returns a list of Oracle Cloud Infrastructure Cache Backups. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOciCacheBackups = oci.redis.getOciCacheBackups({ * compartmentId: compartmentId, * displayName: ociCacheBackupDisplayName, * ociCacheBackupId: testOciCacheBackup.id, * sourceClusterId: testRedisCluster.id, * state: ociCacheBackupState, * }); * ``` */ export declare function getOciCacheBackups(args?: GetOciCacheBackupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOciCacheBackups. */ export interface GetOciCacheBackupsArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.Redis.GetOciCacheBackupsFilter[]; /** * Unique Oracle Cloud Infrastructure Cache Backup identifier. */ ociCacheBackupId?: string; /** * A filter to return the Oracle Cloud Infrastructure Cache Backup resources, whose source cluster ID matches with the given source cluster ID. */ sourceClusterId?: string; /** * A filter to return the Oracle Cloud Infrastructure Cache Backup resources, whose lifecycle state matches with the given lifecycle state. */ state?: string; } /** * A collection of values returned by getOciCacheBackups. */ export interface GetOciCacheBackupsResult { /** * Backup compartment identifier */ readonly compartmentId?: string; /** * Backup display name */ readonly displayName?: string; readonly filters?: outputs.Redis.GetOciCacheBackupsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of oci_cache_backup_collection. */ readonly ociCacheBackupCollections: outputs.Redis.GetOciCacheBackupsOciCacheBackupCollection[]; readonly ociCacheBackupId?: string; /** * The source Oracle Cloud Infrastructure Cache Cluster OCID. */ readonly sourceClusterId?: string; /** * The current state of the backup. */ readonly state?: string; } /** * This data source provides the list of Oci Cache Backups in Oracle Cloud Infrastructure Redis service. * * Returns a list of Oracle Cloud Infrastructure Cache Backups. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOciCacheBackups = oci.redis.getOciCacheBackups({ * compartmentId: compartmentId, * displayName: ociCacheBackupDisplayName, * ociCacheBackupId: testOciCacheBackup.id, * sourceClusterId: testRedisCluster.id, * state: ociCacheBackupState, * }); * ``` */ export declare function getOciCacheBackupsOutput(args?: GetOciCacheBackupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOciCacheBackups. */ export interface GetOciCacheBackupsOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique Oracle Cloud Infrastructure Cache Backup identifier. */ ociCacheBackupId?: pulumi.Input; /** * A filter to return the Oracle Cloud Infrastructure Cache Backup resources, whose source cluster ID matches with the given source cluster ID. */ sourceClusterId?: pulumi.Input; /** * A filter to return the Oracle Cloud Infrastructure Cache Backup resources, whose lifecycle state matches with the given lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getOciCacheBackups.d.ts.map