import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Oci Cache Backup resource in Oracle Cloud Infrastructure Redis service. * * Gets an Oracle Cloud Infrastructure Cache Backup by identifier * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOciCacheBackup = oci.redis.getOciCacheBackup({ * ociCacheBackupId: testOciCacheBackupOciRedisOciCacheBackup.id, * }); * ``` */ export declare function getOciCacheBackup(args: GetOciCacheBackupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOciCacheBackup. */ export interface GetOciCacheBackupArgs { /** * Unique Oracle Cloud Infrastructure Cache Backup identifier. */ ociCacheBackupId: string; } /** * A collection of values returned by getOciCacheBackup. */ export interface GetOciCacheBackupResult { /** * Backup size in GB. */ readonly backupSizeInGbs: number; /** * Specifies whether the backup was created from a replica or primary node */ readonly backupSource: string; /** * Backup Type. */ readonly backupType: string; /** * The amount of memory allocated to the cluster, in gigabytes. */ readonly clusterMemoryInGbs: number; /** * Specifies whether the cluster is sharded or non-sharded. */ readonly clusterMode: string; /** * Backup compartment identifier */ readonly compartmentId: 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; }; /** * Backup description */ readonly description: string; /** * Backup display name */ readonly displayName: string; readonly exportToObjectStorageTrigger: number; /** * 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; }; /** * Unique identifier that is immutable on creation */ readonly id: string; readonly ociCacheBackupId: string; /** * Backup retention period in days. */ readonly retentionPeriodInDays: number; /** * The number of shards in a sharded cluster. Only applicable when clusterMode is SHARDED. */ readonly shardCount: number; /** * The Oracle Cloud Infrastructure Cache engine version that the cluster is running. */ readonly softwareVersion: string; /** * The source Oracle Cloud Infrastructure Cache Cluster OCID. */ readonly sourceClusterId: string; /** * The current state of the backup. */ readonly state: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the backup was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. */ readonly timeCreated: string; /** * The date and time the backup was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Oci Cache Backup resource in Oracle Cloud Infrastructure Redis service. * * Gets an Oracle Cloud Infrastructure Cache Backup by identifier * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOciCacheBackup = oci.redis.getOciCacheBackup({ * ociCacheBackupId: testOciCacheBackupOciRedisOciCacheBackup.id, * }); * ``` */ export declare function getOciCacheBackupOutput(args: GetOciCacheBackupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOciCacheBackup. */ export interface GetOciCacheBackupOutputArgs { /** * Unique Oracle Cloud Infrastructure Cache Backup identifier. */ ociCacheBackupId: pulumi.Input; } //# sourceMappingURL=getOciCacheBackup.d.ts.map