import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Oci Cache Backup Export To Object Storage resource in Oracle Cloud Infrastructure Redis service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/ocicache/latest/OciCacheBackup/ExportToObjectStorage * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/redis * * Initiates an asynchronous export of the backup’s RDB file(s) to the specified Object Storage bucket. The service generates the object names. For sharded backups, one object is written per shard under the optional prefix. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOciCacheBackupExportToObjectStorage = new oci.redis.OciCacheBackupExportToObjectStorage("test_oci_cache_backup_export_to_object_storage", { * bucket: ociCacheBackupExportToObjectStorageBucket, * namespace: ociCacheBackupExportToObjectStorageNamespace, * ociCacheBackupId: testOciCacheBackup.id, * prefix: ociCacheBackupExportToObjectStoragePrefix, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class OciCacheBackupExportToObjectStorage extends pulumi.CustomResource { /** * Get an existing OciCacheBackupExportToObjectStorage resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: OciCacheBackupExportToObjectStorageState, opts?: pulumi.CustomResourceOptions): OciCacheBackupExportToObjectStorage; /** * Returns true if the given object is an instance of OciCacheBackupExportToObjectStorage. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OciCacheBackupExportToObjectStorage; /** * The target Object Storage bucket name. */ readonly bucket: pulumi.Output; /** * The Object Storage namespace name. */ readonly namespace: pulumi.Output; /** * Unique Oracle Cloud Infrastructure Cache Backup identifier. */ readonly ociCacheBackupId: pulumi.Output; /** * Optional prefix under which the service will place the exported object(s). * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly prefix: pulumi.Output; /** * Create a OciCacheBackupExportToObjectStorage resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: OciCacheBackupExportToObjectStorageArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OciCacheBackupExportToObjectStorage resources. */ export interface OciCacheBackupExportToObjectStorageState { /** * The target Object Storage bucket name. */ bucket?: pulumi.Input; /** * The Object Storage namespace name. */ namespace?: pulumi.Input; /** * Unique Oracle Cloud Infrastructure Cache Backup identifier. */ ociCacheBackupId?: pulumi.Input; /** * Optional prefix under which the service will place the exported object(s). * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ prefix?: pulumi.Input; } /** * The set of arguments for constructing a OciCacheBackupExportToObjectStorage resource. */ export interface OciCacheBackupExportToObjectStorageArgs { /** * The target Object Storage bucket name. */ bucket: pulumi.Input; /** * The Object Storage namespace name. */ namespace: pulumi.Input; /** * Unique Oracle Cloud Infrastructure Cache Backup identifier. */ ociCacheBackupId: pulumi.Input; /** * Optional prefix under which the service will place the exported object(s). * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ prefix?: pulumi.Input; } //# sourceMappingURL=ociCacheBackupExportToObjectStorage.d.ts.map