import * as pulumi from "@pulumi/pulumi"; export declare class RedisDatabase extends pulumi.CustomResource { /** * Get an existing RedisDatabase 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?: RedisDatabaseState, opts?: pulumi.CustomResourceOptions): RedisDatabase; /** * Returns true if the given object is an instance of RedisDatabase. 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 RedisDatabase; /** * Upgrade to higher plans automatically when it hits quotas */ readonly autoScale: pulumi.Output; /** * Budget for the database (default $20). It is used to limit the cost of the database. If the budget is reached, the * database will be throttled until the next month. */ readonly budget: pulumi.Output; /** * When enabled, all writes are synchronously persisted to the disk. * * @deprecated Consistent option is deprecated. */ readonly consistent: pulumi.Output; /** * Creation time of the database */ readonly creationTime: pulumi.Output; /** * Unique Database ID for created database */ readonly databaseId: pulumi.Output; /** * Name of the database */ readonly databaseName: pulumi.Output; /** * Type of the database */ readonly databaseType: pulumi.Output; /** * Daily bandwidth limit for the database */ readonly dbDailyBandwidthLimit: pulumi.Output; /** * Disk threshold for the database */ readonly dbDiskThreshold: pulumi.Output; /** * Max clients for the database */ readonly dbMaxClients: pulumi.Output; /** * Max commands per second for the database */ readonly dbMaxCommandsPerSecond: pulumi.Output; /** * Max entry size for the database */ readonly dbMaxEntrySize: pulumi.Output; /** * Max request size for the database */ readonly dbMaxRequestSize: pulumi.Output; /** * Memory threshold for the database */ readonly dbMemoryThreshold: pulumi.Output; /** * Database URL for connection */ readonly endpoint: pulumi.Output; /** * Enable eviction, to evict keys when your database reaches the max size */ readonly eviction: pulumi.Output; /** * Ip CIDR allowlist for the database. If not set, all IPs are allowed to connect to the database. */ readonly ipAllowlists: pulumi.Output; /** * When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, * results in deletion and recreation of the resource) * * @deprecated Multizone option is deprecated. It is enabled by default for paid databases. */ readonly multizone: pulumi.Output; /** * Password of the database */ readonly password: pulumi.Output; /** * Port of the endpoint */ readonly port: pulumi.Output; /** * Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, * eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2]) */ readonly primaryRegion: pulumi.Output; /** * Whether Prod Pack is enabled for the database. */ readonly prodPack: pulumi.Output; /** * Rest Token for the database. */ readonly readOnlyRestToken: pulumi.Output; /** * Read regions for the database (Only works if region='global' and primaryRegion is set. Can be any combination of * [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one * given as primary.) */ readonly readRegions: pulumi.Output; /** * Region of the database. For global gcp regions, use `gcp-global`. For globals, check for primaryRegion and readRegions * fields */ readonly region: pulumi.Output; /** * Rest Token for the database. */ readonly restToken: pulumi.Output; /** * State of the database */ readonly state: pulumi.Output; /** * When enabled, data is encrypted in transit. TLS is enabled by default for newly created databases and cannot be * disabled. */ readonly tls: pulumi.Output; /** * User email for the database */ readonly userEmail: pulumi.Output; /** * Create a RedisDatabase 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: RedisDatabaseArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RedisDatabase resources. */ export interface RedisDatabaseState { /** * Upgrade to higher plans automatically when it hits quotas */ autoScale?: pulumi.Input; /** * Budget for the database (default $20). It is used to limit the cost of the database. If the budget is reached, the * database will be throttled until the next month. */ budget?: pulumi.Input; /** * When enabled, all writes are synchronously persisted to the disk. * * @deprecated Consistent option is deprecated. */ consistent?: pulumi.Input; /** * Creation time of the database */ creationTime?: pulumi.Input; /** * Unique Database ID for created database */ databaseId?: pulumi.Input; /** * Name of the database */ databaseName?: pulumi.Input; /** * Type of the database */ databaseType?: pulumi.Input; /** * Daily bandwidth limit for the database */ dbDailyBandwidthLimit?: pulumi.Input; /** * Disk threshold for the database */ dbDiskThreshold?: pulumi.Input; /** * Max clients for the database */ dbMaxClients?: pulumi.Input; /** * Max commands per second for the database */ dbMaxCommandsPerSecond?: pulumi.Input; /** * Max entry size for the database */ dbMaxEntrySize?: pulumi.Input; /** * Max request size for the database */ dbMaxRequestSize?: pulumi.Input; /** * Memory threshold for the database */ dbMemoryThreshold?: pulumi.Input; /** * Database URL for connection */ endpoint?: pulumi.Input; /** * Enable eviction, to evict keys when your database reaches the max size */ eviction?: pulumi.Input; /** * Ip CIDR allowlist for the database. If not set, all IPs are allowed to connect to the database. */ ipAllowlists?: pulumi.Input[]>; /** * When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, * results in deletion and recreation of the resource) * * @deprecated Multizone option is deprecated. It is enabled by default for paid databases. */ multizone?: pulumi.Input; /** * Password of the database */ password?: pulumi.Input; /** * Port of the endpoint */ port?: pulumi.Input; /** * Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, * eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2]) */ primaryRegion?: pulumi.Input; /** * Whether Prod Pack is enabled for the database. */ prodPack?: pulumi.Input; /** * Rest Token for the database. */ readOnlyRestToken?: pulumi.Input; /** * Read regions for the database (Only works if region='global' and primaryRegion is set. Can be any combination of * [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one * given as primary.) */ readRegions?: pulumi.Input[]>; /** * Region of the database. For global gcp regions, use `gcp-global`. For globals, check for primaryRegion and readRegions * fields */ region?: pulumi.Input; /** * Rest Token for the database. */ restToken?: pulumi.Input; /** * State of the database */ state?: pulumi.Input; /** * When enabled, data is encrypted in transit. TLS is enabled by default for newly created databases and cannot be * disabled. */ tls?: pulumi.Input; /** * User email for the database */ userEmail?: pulumi.Input; } /** * The set of arguments for constructing a RedisDatabase resource. */ export interface RedisDatabaseArgs { /** * Upgrade to higher plans automatically when it hits quotas */ autoScale?: pulumi.Input; /** * Budget for the database (default $20). It is used to limit the cost of the database. If the budget is reached, the * database will be throttled until the next month. */ budget?: pulumi.Input; /** * When enabled, all writes are synchronously persisted to the disk. * * @deprecated Consistent option is deprecated. */ consistent?: pulumi.Input; /** * Name of the database */ databaseName: pulumi.Input; /** * Enable eviction, to evict keys when your database reaches the max size */ eviction?: pulumi.Input; /** * Ip CIDR allowlist for the database. If not set, all IPs are allowed to connect to the database. */ ipAllowlists?: pulumi.Input[]>; /** * When enabled, database becomes highly available and is deployed in multiple zones. (If changed to false from true, * results in deletion and recreation of the resource) * * @deprecated Multizone option is deprecated. It is enabled by default for paid databases. */ multizone?: pulumi.Input; /** * Primary region for the database (Only works if region='global'. Can be one of [us-east-1, us-west-1, us-west-2, * eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2]) */ primaryRegion?: pulumi.Input; /** * Whether Prod Pack is enabled for the database. */ prodPack?: pulumi.Input; /** * Read regions for the database (Only works if region='global' and primaryRegion is set. Can be any combination of * [us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, sa-east-1, ap-southeast-1, ap-southeast-2], excluding the one * given as primary.) */ readRegions?: pulumi.Input[]>; /** * Region of the database. For global gcp regions, use `gcp-global`. For globals, check for primaryRegion and readRegions * fields */ region: pulumi.Input; /** * When enabled, data is encrypted in transit. TLS is enabled by default for newly created databases and cannot be * disabled. */ tls?: pulumi.Input; }