rediscloud.SubscriptionDatabase
Explore with Pulumi AI
Creates a Database within a specified Subscription in your Redis Enterprise Cloud Account.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rediscloud = Pulumi.Rediscloud;
using Rediscloud = RedisLabs.Rediscloud;
return await Deployment.RunAsync(() => 
{
    var card = Rediscloud.GetPaymentMethod.Invoke(new()
    {
        CardType = "Visa",
    });
    var subscription_resource = new Rediscloud.Subscription("subscription-resource", new()
    {
        PaymentMethod = "credit-card",
        PaymentMethodId = card.Apply(getPaymentMethodResult => getPaymentMethodResult.Id),
        MemoryStorage = "ram",
        CloudProvider = new Rediscloud.Inputs.SubscriptionCloudProviderArgs
        {
            Provider = data.Rediscloud_cloud_account.Account.Provider_type,
            Regions = new[]
            {
                new Rediscloud.Inputs.SubscriptionCloudProviderRegionArgs
                {
                    Region = "eu-west-1",
                    MultipleAvailabilityZones = true,
                    NetworkingDeploymentCidr = "10.0.0.0/24",
                    PreferredAvailabilityZones = new[]
                    {
                        "euw1-az1, euw1-az2, euw1-az3",
                    },
                },
            },
        },
        CreationPlan = new Rediscloud.Inputs.SubscriptionCreationPlanArgs
        {
            MemoryLimitInGb = 15,
            Quantity = 1,
            Replication = true,
            ThroughputMeasurementBy = "operations-per-second",
            ThroughputMeasurementValue = 20000,
            Modules = new[]
            {
                "RedisJSON",
            },
        },
    });
    // The primary database to provision
    var database_resource = new Rediscloud.SubscriptionDatabase("database-resource", new()
    {
        SubscriptionId = subscription_resource.Id,
        MemoryLimitInGb = 15,
        DataPersistence = "aof-every-write",
        ThroughputMeasurementBy = "operations-per-second",
        ThroughputMeasurementValue = 20000,
        Replication = true,
        Modules = new[]
        {
            new Rediscloud.Inputs.SubscriptionDatabaseModuleArgs
            {
                Name = "RedisJSON",
            },
        },
        Alerts = new[]
        {
            new Rediscloud.Inputs.SubscriptionDatabaseAlertArgs
            {
                Name = "dataset-size",
                Value = 40,
            },
        },
    }, new CustomResourceOptions
    {
        DependsOn = new[]
        {
            subscription_resource,
        },
    });
});
package main
import (
	"github.com/RedisLabs/pulumi-rediscloud/sdk/go/rediscloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		card, err := rediscloud.GetPaymentMethod(ctx, &rediscloud.GetPaymentMethodArgs{
			CardType: pulumi.StringRef("Visa"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = rediscloud.NewSubscription(ctx, "subscription-resource", &rediscloud.SubscriptionArgs{
			PaymentMethod:   pulumi.String("credit-card"),
			PaymentMethodId: *pulumi.String(card.Id),
			MemoryStorage:   pulumi.String("ram"),
			CloudProvider: &rediscloud.SubscriptionCloudProviderArgs{
				Provider: pulumi.Any(data.Rediscloud_cloud_account.Account.Provider_type),
				Regions: rediscloud.SubscriptionCloudProviderRegionArray{
					&rediscloud.SubscriptionCloudProviderRegionArgs{
						Region:                    pulumi.String("eu-west-1"),
						MultipleAvailabilityZones: pulumi.Bool(true),
						NetworkingDeploymentCidr:  pulumi.String("10.0.0.0/24"),
						PreferredAvailabilityZones: pulumi.StringArray{
							pulumi.String("euw1-az1, euw1-az2, euw1-az3"),
						},
					},
				},
			},
			CreationPlan: &rediscloud.SubscriptionCreationPlanArgs{
				MemoryLimitInGb:            pulumi.Float64(15),
				Quantity:                   pulumi.Int(1),
				Replication:                pulumi.Bool(true),
				ThroughputMeasurementBy:    pulumi.String("operations-per-second"),
				ThroughputMeasurementValue: pulumi.Int(20000),
				Modules: pulumi.StringArray{
					pulumi.String("RedisJSON"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = rediscloud.NewSubscriptionDatabase(ctx, "database-resource", &rediscloud.SubscriptionDatabaseArgs{
			SubscriptionId:             subscription_resource.ID(),
			MemoryLimitInGb:            pulumi.Float64(15),
			DataPersistence:            pulumi.String("aof-every-write"),
			ThroughputMeasurementBy:    pulumi.String("operations-per-second"),
			ThroughputMeasurementValue: pulumi.Int(20000),
			Replication:                pulumi.Bool(true),
			Modules: rediscloud.SubscriptionDatabaseModuleArray{
				&rediscloud.SubscriptionDatabaseModuleArgs{
					Name: pulumi.String("RedisJSON"),
				},
			},
			Alerts: rediscloud.SubscriptionDatabaseAlertArray{
				&rediscloud.SubscriptionDatabaseAlertArgs{
					Name:  pulumi.String("dataset-size"),
					Value: pulumi.Int(40),
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			subscription_resource,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rediscloud.RediscloudFunctions;
import com.pulumi.rediscloud.inputs.GetPaymentMethodArgs;
import com.pulumi.rediscloud.Subscription;
import com.pulumi.rediscloud.SubscriptionArgs;
import com.pulumi.rediscloud.inputs.SubscriptionCloudProviderArgs;
import com.pulumi.rediscloud.inputs.SubscriptionCreationPlanArgs;
import com.pulumi.rediscloud.SubscriptionDatabase;
import com.pulumi.rediscloud.SubscriptionDatabaseArgs;
import com.pulumi.rediscloud.inputs.SubscriptionDatabaseModuleArgs;
import com.pulumi.rediscloud.inputs.SubscriptionDatabaseAlertArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var card = RediscloudFunctions.getPaymentMethod(GetPaymentMethodArgs.builder()
            .cardType("Visa")
            .build());
        var subscription_resource = new Subscription("subscription-resource", SubscriptionArgs.builder()        
            .paymentMethod("credit-card")
            .paymentMethodId(card.applyValue(getPaymentMethodResult -> getPaymentMethodResult.id()))
            .memoryStorage("ram")
            .cloudProvider(SubscriptionCloudProviderArgs.builder()
                .provider(data.rediscloud_cloud_account().account().provider_type())
                .regions(SubscriptionCloudProviderRegionArgs.builder()
                    .region("eu-west-1")
                    .multipleAvailabilityZones(true)
                    .networkingDeploymentCidr("10.0.0.0/24")
                    .preferredAvailabilityZones("euw1-az1, euw1-az2, euw1-az3")
                    .build())
                .build())
            .creationPlan(SubscriptionCreationPlanArgs.builder()
                .memoryLimitInGb(15)
                .quantity(1)
                .replication(true)
                .throughputMeasurementBy("operations-per-second")
                .throughputMeasurementValue(20000)
                .modules("RedisJSON")
                .build())
            .build());
        var database_resource = new SubscriptionDatabase("database-resource", SubscriptionDatabaseArgs.builder()        
            .subscriptionId(subscription_resource.id())
            .memoryLimitInGb(15)
            .dataPersistence("aof-every-write")
            .throughputMeasurementBy("operations-per-second")
            .throughputMeasurementValue(20000)
            .replication(true)
            .modules(SubscriptionDatabaseModuleArgs.builder()
                .name("RedisJSON")
                .build())
            .alerts(SubscriptionDatabaseAlertArgs.builder()
                .name("dataset-size")
                .value(40)
                .build())
            .build(), CustomResourceOptions.builder()
                .dependsOn(subscription_resource)
                .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as rediscloud from "@pulumi/rediscloud";
import * as rediscloud from "@rediscloud/pulumi-rediscloud";
const card = rediscloud.getPaymentMethod({
    cardType: "Visa",
});
const subscription_resource = new rediscloud.Subscription("subscription-resource", {
    paymentMethod: "credit-card",
    paymentMethodId: card.then(card => card.id),
    memoryStorage: "ram",
    cloudProvider: {
        provider: data.rediscloud_cloud_account.account.provider_type,
        regions: [{
            region: "eu-west-1",
            multipleAvailabilityZones: true,
            networkingDeploymentCidr: "10.0.0.0/24",
            preferredAvailabilityZones: ["euw1-az1, euw1-az2, euw1-az3"],
        }],
    },
    creationPlan: {
        memoryLimitInGb: 15,
        quantity: 1,
        replication: true,
        throughputMeasurementBy: "operations-per-second",
        throughputMeasurementValue: 20000,
        modules: ["RedisJSON"],
    },
});
// The primary database to provision
const database_resource = new rediscloud.SubscriptionDatabase("database-resource", {
    subscriptionId: subscription_resource.id,
    memoryLimitInGb: 15,
    dataPersistence: "aof-every-write",
    throughputMeasurementBy: "operations-per-second",
    throughputMeasurementValue: 20000,
    replication: true,
    modules: [{
        name: "RedisJSON",
    }],
    alerts: [{
        name: "dataset-size",
        value: 40,
    }],
}, {
    dependsOn: [subscription_resource],
});
import pulumi
import pulumi_rediscloud as rediscloud
card = rediscloud.get_payment_method(card_type="Visa")
subscription_resource = rediscloud.Subscription("subscription-resource",
    payment_method="credit-card",
    payment_method_id=card.id,
    memory_storage="ram",
    cloud_provider=rediscloud.SubscriptionCloudProviderArgs(
        provider=data["rediscloud_cloud_account"]["account"]["provider_type"],
        regions=[rediscloud.SubscriptionCloudProviderRegionArgs(
            region="eu-west-1",
            multiple_availability_zones=True,
            networking_deployment_cidr="10.0.0.0/24",
            preferred_availability_zones=["euw1-az1, euw1-az2, euw1-az3"],
        )],
    ),
    creation_plan=rediscloud.SubscriptionCreationPlanArgs(
        memory_limit_in_gb=15,
        quantity=1,
        replication=True,
        throughput_measurement_by="operations-per-second",
        throughput_measurement_value=20000,
        modules=["RedisJSON"],
    ))
# The primary database to provision
database_resource = rediscloud.SubscriptionDatabase("database-resource",
    subscription_id=subscription_resource.id,
    memory_limit_in_gb=15,
    data_persistence="aof-every-write",
    throughput_measurement_by="operations-per-second",
    throughput_measurement_value=20000,
    replication=True,
    modules=[rediscloud.SubscriptionDatabaseModuleArgs(
        name="RedisJSON",
    )],
    alerts=[rediscloud.SubscriptionDatabaseAlertArgs(
        name="dataset-size",
        value=40,
    )],
    opts=pulumi.ResourceOptions(depends_on=[subscription_resource]))
resources:
  subscription-resource:
    type: rediscloud:Subscription
    properties:
      paymentMethod: credit-card
      paymentMethodId: ${card.id}
      memoryStorage: ram
      cloudProvider:
        provider: ${data.rediscloud_cloud_account.account.provider_type}
        regions:
          - region: eu-west-1
            multipleAvailabilityZones: true
            networkingDeploymentCidr: 10.0.0.0/24
            preferredAvailabilityZones:
              - euw1-az1, euw1-az2, euw1-az3
      creationPlan:
        memoryLimitInGb: 15
        quantity: 1
        replication: true
        throughputMeasurementBy: operations-per-second
        throughputMeasurementValue: 20000
        modules:
          - RedisJSON
  # The primary database to provision
  database-resource:
    type: rediscloud:SubscriptionDatabase
    properties:
      subscriptionId: ${["subscription-resource"].id}
      memoryLimitInGb: 15
      dataPersistence: aof-every-write
      throughputMeasurementBy: operations-per-second
      throughputMeasurementValue: 20000
      replication: true
      modules:
        - name: RedisJSON
      alerts:
        - name: dataset-size
          value: 40
    options:
      dependson:
        - ${["subscription-resource"]}
variables:
  card:
    fn::invoke:
      Function: rediscloud:getPaymentMethod
      Arguments:
        cardType: Visa
Create SubscriptionDatabase Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SubscriptionDatabase(name: string, args: SubscriptionDatabaseArgs, opts?: CustomResourceOptions);@overload
def SubscriptionDatabase(resource_name: str,
                         args: SubscriptionDatabaseArgs,
                         opts: Optional[ResourceOptions] = None)
@overload
def SubscriptionDatabase(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         memory_limit_in_gb: Optional[float] = None,
                         throughput_measurement_value: Optional[int] = None,
                         throughput_measurement_by: Optional[str] = None,
                         subscription_id: Optional[str] = None,
                         name: Optional[str] = None,
                         port: Optional[int] = None,
                         external_endpoint_for_oss_cluster_api: Optional[bool] = None,
                         hashing_policies: Optional[Sequence[str]] = None,
                         data_persistence: Optional[str] = None,
                         modules: Optional[Sequence[SubscriptionDatabaseModuleArgs]] = None,
                         alerts: Optional[Sequence[SubscriptionDatabaseAlertArgs]] = None,
                         password: Optional[str] = None,
                         periodic_backup_path: Optional[str] = None,
                         enable_tls: Optional[bool] = None,
                         protocol: Optional[str] = None,
                         remote_backup: Optional[SubscriptionDatabaseRemoteBackupArgs] = None,
                         replica_ofs: Optional[Sequence[str]] = None,
                         replication: Optional[bool] = None,
                         source_ips: Optional[Sequence[str]] = None,
                         data_eviction: Optional[str] = None,
                         support_oss_cluster_api: Optional[bool] = None,
                         client_ssl_certificate: Optional[str] = None,
                         average_item_size_in_bytes: Optional[int] = None)func NewSubscriptionDatabase(ctx *Context, name string, args SubscriptionDatabaseArgs, opts ...ResourceOption) (*SubscriptionDatabase, error)public SubscriptionDatabase(string name, SubscriptionDatabaseArgs args, CustomResourceOptions? opts = null)
public SubscriptionDatabase(String name, SubscriptionDatabaseArgs args)
public SubscriptionDatabase(String name, SubscriptionDatabaseArgs args, CustomResourceOptions options)
type: rediscloud:SubscriptionDatabase
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SubscriptionDatabaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SubscriptionDatabaseArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SubscriptionDatabaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubscriptionDatabaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SubscriptionDatabaseArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var subscriptionDatabaseResource = new Rediscloud.SubscriptionDatabase("subscriptionDatabaseResource", new()
{
    MemoryLimitInGb = 0,
    ThroughputMeasurementValue = 0,
    ThroughputMeasurementBy = "string",
    SubscriptionId = "string",
    Name = "string",
    Port = 0,
    ExternalEndpointForOssClusterApi = false,
    HashingPolicies = new[]
    {
        "string",
    },
    DataPersistence = "string",
    Modules = new[]
    {
        new Rediscloud.Inputs.SubscriptionDatabaseModuleArgs
        {
            Name = "string",
        },
    },
    Alerts = new[]
    {
        new Rediscloud.Inputs.SubscriptionDatabaseAlertArgs
        {
            Name = "string",
            Value = 0,
        },
    },
    Password = "string",
    EnableTls = false,
    Protocol = "string",
    RemoteBackup = new Rediscloud.Inputs.SubscriptionDatabaseRemoteBackupArgs
    {
        Interval = "string",
        StoragePath = "string",
        StorageType = "string",
        TimeUtc = "string",
    },
    ReplicaOfs = new[]
    {
        "string",
    },
    Replication = false,
    SourceIps = new[]
    {
        "string",
    },
    DataEviction = "string",
    SupportOssClusterApi = false,
    ClientSslCertificate = "string",
    AverageItemSizeInBytes = 0,
});
example, err := rediscloud.NewSubscriptionDatabase(ctx, "subscriptionDatabaseResource", &rediscloud.SubscriptionDatabaseArgs{
	MemoryLimitInGb:                  pulumi.Float64(0),
	ThroughputMeasurementValue:       pulumi.Int(0),
	ThroughputMeasurementBy:          pulumi.String("string"),
	SubscriptionId:                   pulumi.String("string"),
	Name:                             pulumi.String("string"),
	Port:                             pulumi.Int(0),
	ExternalEndpointForOssClusterApi: pulumi.Bool(false),
	HashingPolicies: pulumi.StringArray{
		pulumi.String("string"),
	},
	DataPersistence: pulumi.String("string"),
	Modules: rediscloud.SubscriptionDatabaseModuleArray{
		&rediscloud.SubscriptionDatabaseModuleArgs{
			Name: pulumi.String("string"),
		},
	},
	Alerts: rediscloud.SubscriptionDatabaseAlertArray{
		&rediscloud.SubscriptionDatabaseAlertArgs{
			Name:  pulumi.String("string"),
			Value: pulumi.Int(0),
		},
	},
	Password:  pulumi.String("string"),
	EnableTls: pulumi.Bool(false),
	Protocol:  pulumi.String("string"),
	RemoteBackup: &rediscloud.SubscriptionDatabaseRemoteBackupArgs{
		Interval:    pulumi.String("string"),
		StoragePath: pulumi.String("string"),
		StorageType: pulumi.String("string"),
		TimeUtc:     pulumi.String("string"),
	},
	ReplicaOfs: pulumi.StringArray{
		pulumi.String("string"),
	},
	Replication: pulumi.Bool(false),
	SourceIps: pulumi.StringArray{
		pulumi.String("string"),
	},
	DataEviction:           pulumi.String("string"),
	SupportOssClusterApi:   pulumi.Bool(false),
	ClientSslCertificate:   pulumi.String("string"),
	AverageItemSizeInBytes: pulumi.Int(0),
})
var subscriptionDatabaseResource = new SubscriptionDatabase("subscriptionDatabaseResource", SubscriptionDatabaseArgs.builder()
    .memoryLimitInGb(0.0)
    .throughputMeasurementValue(0)
    .throughputMeasurementBy("string")
    .subscriptionId("string")
    .name("string")
    .port(0)
    .externalEndpointForOssClusterApi(false)
    .hashingPolicies("string")
    .dataPersistence("string")
    .modules(SubscriptionDatabaseModuleArgs.builder()
        .name("string")
        .build())
    .alerts(SubscriptionDatabaseAlertArgs.builder()
        .name("string")
        .value(0)
        .build())
    .password("string")
    .enableTls(false)
    .protocol("string")
    .remoteBackup(SubscriptionDatabaseRemoteBackupArgs.builder()
        .interval("string")
        .storagePath("string")
        .storageType("string")
        .timeUtc("string")
        .build())
    .replicaOfs("string")
    .replication(false)
    .sourceIps("string")
    .dataEviction("string")
    .supportOssClusterApi(false)
    .clientSslCertificate("string")
    .averageItemSizeInBytes(0)
    .build());
subscription_database_resource = rediscloud.SubscriptionDatabase("subscriptionDatabaseResource",
    memory_limit_in_gb=0,
    throughput_measurement_value=0,
    throughput_measurement_by="string",
    subscription_id="string",
    name="string",
    port=0,
    external_endpoint_for_oss_cluster_api=False,
    hashing_policies=["string"],
    data_persistence="string",
    modules=[{
        "name": "string",
    }],
    alerts=[{
        "name": "string",
        "value": 0,
    }],
    password="string",
    enable_tls=False,
    protocol="string",
    remote_backup={
        "interval": "string",
        "storage_path": "string",
        "storage_type": "string",
        "time_utc": "string",
    },
    replica_ofs=["string"],
    replication=False,
    source_ips=["string"],
    data_eviction="string",
    support_oss_cluster_api=False,
    client_ssl_certificate="string",
    average_item_size_in_bytes=0)
const subscriptionDatabaseResource = new rediscloud.SubscriptionDatabase("subscriptionDatabaseResource", {
    memoryLimitInGb: 0,
    throughputMeasurementValue: 0,
    throughputMeasurementBy: "string",
    subscriptionId: "string",
    name: "string",
    port: 0,
    externalEndpointForOssClusterApi: false,
    hashingPolicies: ["string"],
    dataPersistence: "string",
    modules: [{
        name: "string",
    }],
    alerts: [{
        name: "string",
        value: 0,
    }],
    password: "string",
    enableTls: false,
    protocol: "string",
    remoteBackup: {
        interval: "string",
        storagePath: "string",
        storageType: "string",
        timeUtc: "string",
    },
    replicaOfs: ["string"],
    replication: false,
    sourceIps: ["string"],
    dataEviction: "string",
    supportOssClusterApi: false,
    clientSslCertificate: "string",
    averageItemSizeInBytes: 0,
});
type: rediscloud:SubscriptionDatabase
properties:
    alerts:
        - name: string
          value: 0
    averageItemSizeInBytes: 0
    clientSslCertificate: string
    dataEviction: string
    dataPersistence: string
    enableTls: false
    externalEndpointForOssClusterApi: false
    hashingPolicies:
        - string
    memoryLimitInGb: 0
    modules:
        - name: string
    name: string
    password: string
    port: 0
    protocol: string
    remoteBackup:
        interval: string
        storagePath: string
        storageType: string
        timeUtc: string
    replicaOfs:
        - string
    replication: false
    sourceIps:
        - string
    subscriptionId: string
    supportOssClusterApi: false
    throughputMeasurementBy: string
    throughputMeasurementValue: 0
SubscriptionDatabase Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SubscriptionDatabase resource accepts the following input properties:
- MemoryLimit doubleIn Gb 
- Maximum memory usage for this specific database
- SubscriptionId string
- The ID of the subscription to create the database in. Modifying this attribute will force creation of a new resource.
- ThroughputMeasurement stringBy 
- Throughput measurement method, (either ‘number-of-shards’ or ‘operations-per-second’)
- ThroughputMeasurement intValue 
- Throughput value (as applies to selected measurement method)
- Alerts
List<RedisLabs. Rediscloud. Inputs. Subscription Database Alert> 
- A block defining Redis database alert, documented below, can be specified multiple times
- AverageItem intSize In Bytes 
- Relevant only to ram-and-flash clusters. Estimated average size (measured in bytes) of the items stored in the database. Default: 1000
- ClientSsl stringCertificate 
- SSL certificate to authenticate user connections
- DataEviction string
- The data items eviction policy (either: 'allkeys-lru', 'allkeys-lfu', 'allkeys-random', 'volatile-lru', 'volatile-lfu', 'volatile-random', 'volatile-ttl' or 'noeviction'). Default: 'volatile-lru'
- DataPersistence string
- Rate of database's storage data persistence (either: 'none', 'aof-every-1-second', 'aof-every-write', 'snapshot-every-1-hour', 'snapshot-every-6-hours' or 'snapshot-every-12-hours'). Default: ‘none’
- EnableTls bool
- Use TLS for authentication. Default: ‘false’
- ExternalEndpoint boolFor Oss Cluster Api 
- Should use the external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Default: 'false'
- HashingPolicies List<string>
- List of regular expression rules to shard the database by. See
the documentation on clustering for more information on the
hashing policy. This cannot be set when support_oss_cluster_apiis set to true.
- Modules
List<RedisLabs. Rediscloud. Inputs. Subscription Database Module> 
- A list of modules objects, documented below. Modifying this attribute will force creation of a new resource.
- Name string
- A meaningful name to identify the database
- Password string
- Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated
- PeriodicBackup stringPath 
- Path that will be used to store database backup files. Deprecated: Use remote_backupblock instead
- Port int
- TCP port on which the database is available - must be between 10000 and 19999. Modifying this attribute will force creation of a new resource.
- Protocol string
- The protocol that will be used to access the database, (either ‘redis’ or ‘memcached’) Default: ‘redis’. Modifying this attribute will force creation of a new resource.
- RemoteBackup RedisLabs. Rediscloud. Inputs. Subscription Database Remote Backup 
- Specifies the backup options for the database, documented below
- ReplicaOfs List<string>
- Set of Redis database URIs, in the format redis://user:password@host:port, that this database will be a replica of. If the URI provided is Redis Labs Cloud instance, only host and port should be provided. Cannot be enabled whensupport_oss_cluster_apiis enabled.
- Replication bool
- Databases replication. Default: ‘true’
- SourceIps List<string>
- List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges (example: [‘192.168.10.0/32’, ‘192.168.12.0/24’])
- SupportOss boolCluster Api 
- Support Redis open-source (OSS) Cluster API. Default: ‘false’
- MemoryLimit float64In Gb 
- Maximum memory usage for this specific database
- SubscriptionId string
- The ID of the subscription to create the database in. Modifying this attribute will force creation of a new resource.
- ThroughputMeasurement stringBy 
- Throughput measurement method, (either ‘number-of-shards’ or ‘operations-per-second’)
- ThroughputMeasurement intValue 
- Throughput value (as applies to selected measurement method)
- Alerts
[]SubscriptionDatabase Alert Args 
- A block defining Redis database alert, documented below, can be specified multiple times
- AverageItem intSize In Bytes 
- Relevant only to ram-and-flash clusters. Estimated average size (measured in bytes) of the items stored in the database. Default: 1000
- ClientSsl stringCertificate 
- SSL certificate to authenticate user connections
- DataEviction string
- The data items eviction policy (either: 'allkeys-lru', 'allkeys-lfu', 'allkeys-random', 'volatile-lru', 'volatile-lfu', 'volatile-random', 'volatile-ttl' or 'noeviction'). Default: 'volatile-lru'
- DataPersistence string
- Rate of database's storage data persistence (either: 'none', 'aof-every-1-second', 'aof-every-write', 'snapshot-every-1-hour', 'snapshot-every-6-hours' or 'snapshot-every-12-hours'). Default: ‘none’
- EnableTls bool
- Use TLS for authentication. Default: ‘false’
- ExternalEndpoint boolFor Oss Cluster Api 
- Should use the external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Default: 'false'
- HashingPolicies []string
- List of regular expression rules to shard the database by. See
the documentation on clustering for more information on the
hashing policy. This cannot be set when support_oss_cluster_apiis set to true.
- Modules
[]SubscriptionDatabase Module Args 
- A list of modules objects, documented below. Modifying this attribute will force creation of a new resource.
- Name string
- A meaningful name to identify the database
- Password string
- Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated
- PeriodicBackup stringPath 
- Path that will be used to store database backup files. Deprecated: Use remote_backupblock instead
- Port int
- TCP port on which the database is available - must be between 10000 and 19999. Modifying this attribute will force creation of a new resource.
- Protocol string
- The protocol that will be used to access the database, (either ‘redis’ or ‘memcached’) Default: ‘redis’. Modifying this attribute will force creation of a new resource.
- RemoteBackup SubscriptionDatabase Remote Backup Args 
- Specifies the backup options for the database, documented below
- ReplicaOfs []string
- Set of Redis database URIs, in the format redis://user:password@host:port, that this database will be a replica of. If the URI provided is Redis Labs Cloud instance, only host and port should be provided. Cannot be enabled whensupport_oss_cluster_apiis enabled.
- Replication bool
- Databases replication. Default: ‘true’
- SourceIps []string
- List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges (example: [‘192.168.10.0/32’, ‘192.168.12.0/24’])
- SupportOss boolCluster Api 
- Support Redis open-source (OSS) Cluster API. Default: ‘false’
- memoryLimit DoubleIn Gb 
- Maximum memory usage for this specific database
- subscriptionId String
- The ID of the subscription to create the database in. Modifying this attribute will force creation of a new resource.
- throughputMeasurement StringBy 
- Throughput measurement method, (either ‘number-of-shards’ or ‘operations-per-second’)
- throughputMeasurement IntegerValue 
- Throughput value (as applies to selected measurement method)
- alerts
List<SubscriptionDatabase Alert> 
- A block defining Redis database alert, documented below, can be specified multiple times
- averageItem IntegerSize In Bytes 
- Relevant only to ram-and-flash clusters. Estimated average size (measured in bytes) of the items stored in the database. Default: 1000
- clientSsl StringCertificate 
- SSL certificate to authenticate user connections
- dataEviction String
- The data items eviction policy (either: 'allkeys-lru', 'allkeys-lfu', 'allkeys-random', 'volatile-lru', 'volatile-lfu', 'volatile-random', 'volatile-ttl' or 'noeviction'). Default: 'volatile-lru'
- dataPersistence String
- Rate of database's storage data persistence (either: 'none', 'aof-every-1-second', 'aof-every-write', 'snapshot-every-1-hour', 'snapshot-every-6-hours' or 'snapshot-every-12-hours'). Default: ‘none’
- enableTls Boolean
- Use TLS for authentication. Default: ‘false’
- externalEndpoint BooleanFor Oss Cluster Api 
- Should use the external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Default: 'false'
- hashingPolicies List<String>
- List of regular expression rules to shard the database by. See
the documentation on clustering for more information on the
hashing policy. This cannot be set when support_oss_cluster_apiis set to true.
- modules
List<SubscriptionDatabase Module> 
- A list of modules objects, documented below. Modifying this attribute will force creation of a new resource.
- name String
- A meaningful name to identify the database
- password String
- Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated
- periodicBackup StringPath 
- Path that will be used to store database backup files. Deprecated: Use remote_backupblock instead
- port Integer
- TCP port on which the database is available - must be between 10000 and 19999. Modifying this attribute will force creation of a new resource.
- protocol String
- The protocol that will be used to access the database, (either ‘redis’ or ‘memcached’) Default: ‘redis’. Modifying this attribute will force creation of a new resource.
- remoteBackup SubscriptionDatabase Remote Backup 
- Specifies the backup options for the database, documented below
- replicaOfs List<String>
- Set of Redis database URIs, in the format redis://user:password@host:port, that this database will be a replica of. If the URI provided is Redis Labs Cloud instance, only host and port should be provided. Cannot be enabled whensupport_oss_cluster_apiis enabled.
- replication Boolean
- Databases replication. Default: ‘true’
- sourceIps List<String>
- List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges (example: [‘192.168.10.0/32’, ‘192.168.12.0/24’])
- supportOss BooleanCluster Api 
- Support Redis open-source (OSS) Cluster API. Default: ‘false’
- memoryLimit numberIn Gb 
- Maximum memory usage for this specific database
- subscriptionId string
- The ID of the subscription to create the database in. Modifying this attribute will force creation of a new resource.
- throughputMeasurement stringBy 
- Throughput measurement method, (either ‘number-of-shards’ or ‘operations-per-second’)
- throughputMeasurement numberValue 
- Throughput value (as applies to selected measurement method)
- alerts
SubscriptionDatabase Alert[] 
- A block defining Redis database alert, documented below, can be specified multiple times
- averageItem numberSize In Bytes 
- Relevant only to ram-and-flash clusters. Estimated average size (measured in bytes) of the items stored in the database. Default: 1000
- clientSsl stringCertificate 
- SSL certificate to authenticate user connections
- dataEviction string
- The data items eviction policy (either: 'allkeys-lru', 'allkeys-lfu', 'allkeys-random', 'volatile-lru', 'volatile-lfu', 'volatile-random', 'volatile-ttl' or 'noeviction'). Default: 'volatile-lru'
- dataPersistence string
- Rate of database's storage data persistence (either: 'none', 'aof-every-1-second', 'aof-every-write', 'snapshot-every-1-hour', 'snapshot-every-6-hours' or 'snapshot-every-12-hours'). Default: ‘none’
- enableTls boolean
- Use TLS for authentication. Default: ‘false’
- externalEndpoint booleanFor Oss Cluster Api 
- Should use the external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Default: 'false'
- hashingPolicies string[]
- List of regular expression rules to shard the database by. See
the documentation on clustering for more information on the
hashing policy. This cannot be set when support_oss_cluster_apiis set to true.
- modules
SubscriptionDatabase Module[] 
- A list of modules objects, documented below. Modifying this attribute will force creation of a new resource.
- name string
- A meaningful name to identify the database
- password string
- Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated
- periodicBackup stringPath 
- Path that will be used to store database backup files. Deprecated: Use remote_backupblock instead
- port number
- TCP port on which the database is available - must be between 10000 and 19999. Modifying this attribute will force creation of a new resource.
- protocol string
- The protocol that will be used to access the database, (either ‘redis’ or ‘memcached’) Default: ‘redis’. Modifying this attribute will force creation of a new resource.
- remoteBackup SubscriptionDatabase Remote Backup 
- Specifies the backup options for the database, documented below
- replicaOfs string[]
- Set of Redis database URIs, in the format redis://user:password@host:port, that this database will be a replica of. If the URI provided is Redis Labs Cloud instance, only host and port should be provided. Cannot be enabled whensupport_oss_cluster_apiis enabled.
- replication boolean
- Databases replication. Default: ‘true’
- sourceIps string[]
- List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges (example: [‘192.168.10.0/32’, ‘192.168.12.0/24’])
- supportOss booleanCluster Api 
- Support Redis open-source (OSS) Cluster API. Default: ‘false’
- memory_limit_ floatin_ gb 
- Maximum memory usage for this specific database
- subscription_id str
- The ID of the subscription to create the database in. Modifying this attribute will force creation of a new resource.
- throughput_measurement_ strby 
- Throughput measurement method, (either ‘number-of-shards’ or ‘operations-per-second’)
- throughput_measurement_ intvalue 
- Throughput value (as applies to selected measurement method)
- alerts
Sequence[SubscriptionDatabase Alert Args] 
- A block defining Redis database alert, documented below, can be specified multiple times
- average_item_ intsize_ in_ bytes 
- Relevant only to ram-and-flash clusters. Estimated average size (measured in bytes) of the items stored in the database. Default: 1000
- client_ssl_ strcertificate 
- SSL certificate to authenticate user connections
- data_eviction str
- The data items eviction policy (either: 'allkeys-lru', 'allkeys-lfu', 'allkeys-random', 'volatile-lru', 'volatile-lfu', 'volatile-random', 'volatile-ttl' or 'noeviction'). Default: 'volatile-lru'
- data_persistence str
- Rate of database's storage data persistence (either: 'none', 'aof-every-1-second', 'aof-every-write', 'snapshot-every-1-hour', 'snapshot-every-6-hours' or 'snapshot-every-12-hours'). Default: ‘none’
- enable_tls bool
- Use TLS for authentication. Default: ‘false’
- external_endpoint_ boolfor_ oss_ cluster_ api 
- Should use the external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Default: 'false'
- hashing_policies Sequence[str]
- List of regular expression rules to shard the database by. See
the documentation on clustering for more information on the
hashing policy. This cannot be set when support_oss_cluster_apiis set to true.
- modules
Sequence[SubscriptionDatabase Module Args] 
- A list of modules objects, documented below. Modifying this attribute will force creation of a new resource.
- name str
- A meaningful name to identify the database
- password str
- Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated
- periodic_backup_ strpath 
- Path that will be used to store database backup files. Deprecated: Use remote_backupblock instead
- port int
- TCP port on which the database is available - must be between 10000 and 19999. Modifying this attribute will force creation of a new resource.
- protocol str
- The protocol that will be used to access the database, (either ‘redis’ or ‘memcached’) Default: ‘redis’. Modifying this attribute will force creation of a new resource.
- remote_backup SubscriptionDatabase Remote Backup Args 
- Specifies the backup options for the database, documented below
- replica_ofs Sequence[str]
- Set of Redis database URIs, in the format redis://user:password@host:port, that this database will be a replica of. If the URI provided is Redis Labs Cloud instance, only host and port should be provided. Cannot be enabled whensupport_oss_cluster_apiis enabled.
- replication bool
- Databases replication. Default: ‘true’
- source_ips Sequence[str]
- List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges (example: [‘192.168.10.0/32’, ‘192.168.12.0/24’])
- support_oss_ boolcluster_ api 
- Support Redis open-source (OSS) Cluster API. Default: ‘false’
- memoryLimit NumberIn Gb 
- Maximum memory usage for this specific database
- subscriptionId String
- The ID of the subscription to create the database in. Modifying this attribute will force creation of a new resource.
- throughputMeasurement StringBy 
- Throughput measurement method, (either ‘number-of-shards’ or ‘operations-per-second’)
- throughputMeasurement NumberValue 
- Throughput value (as applies to selected measurement method)
- alerts List<Property Map>
- A block defining Redis database alert, documented below, can be specified multiple times
- averageItem NumberSize In Bytes 
- Relevant only to ram-and-flash clusters. Estimated average size (measured in bytes) of the items stored in the database. Default: 1000
- clientSsl StringCertificate 
- SSL certificate to authenticate user connections
- dataEviction String
- The data items eviction policy (either: 'allkeys-lru', 'allkeys-lfu', 'allkeys-random', 'volatile-lru', 'volatile-lfu', 'volatile-random', 'volatile-ttl' or 'noeviction'). Default: 'volatile-lru'
- dataPersistence String
- Rate of database's storage data persistence (either: 'none', 'aof-every-1-second', 'aof-every-write', 'snapshot-every-1-hour', 'snapshot-every-6-hours' or 'snapshot-every-12-hours'). Default: ‘none’
- enableTls Boolean
- Use TLS for authentication. Default: ‘false’
- externalEndpoint BooleanFor Oss Cluster Api 
- Should use the external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Default: 'false'
- hashingPolicies List<String>
- List of regular expression rules to shard the database by. See
the documentation on clustering for more information on the
hashing policy. This cannot be set when support_oss_cluster_apiis set to true.
- modules List<Property Map>
- A list of modules objects, documented below. Modifying this attribute will force creation of a new resource.
- name String
- A meaningful name to identify the database
- password String
- Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated
- periodicBackup StringPath 
- Path that will be used to store database backup files. Deprecated: Use remote_backupblock instead
- port Number
- TCP port on which the database is available - must be between 10000 and 19999. Modifying this attribute will force creation of a new resource.
- protocol String
- The protocol that will be used to access the database, (either ‘redis’ or ‘memcached’) Default: ‘redis’. Modifying this attribute will force creation of a new resource.
- remoteBackup Property Map
- Specifies the backup options for the database, documented below
- replicaOfs List<String>
- Set of Redis database URIs, in the format redis://user:password@host:port, that this database will be a replica of. If the URI provided is Redis Labs Cloud instance, only host and port should be provided. Cannot be enabled whensupport_oss_cluster_apiis enabled.
- replication Boolean
- Databases replication. Default: ‘true’
- sourceIps List<String>
- List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges (example: [‘192.168.10.0/32’, ‘192.168.12.0/24’])
- supportOss BooleanCluster Api 
- Support Redis open-source (OSS) Cluster API. Default: ‘false’
Outputs
All input properties are implicitly available as output properties. Additionally, the SubscriptionDatabase resource produces the following output properties:
- DbId int
- Identifier of the database created
- Id string
- The provider-assigned unique ID for this managed resource.
- PrivateEndpoint string
- Private endpoint to access the database
- PublicEndpoint string
- Public endpoint to access the database
- DbId int
- Identifier of the database created
- Id string
- The provider-assigned unique ID for this managed resource.
- PrivateEndpoint string
- Private endpoint to access the database
- PublicEndpoint string
- Public endpoint to access the database
- dbId Integer
- Identifier of the database created
- id String
- The provider-assigned unique ID for this managed resource.
- privateEndpoint String
- Private endpoint to access the database
- publicEndpoint String
- Public endpoint to access the database
- dbId number
- Identifier of the database created
- id string
- The provider-assigned unique ID for this managed resource.
- privateEndpoint string
- Private endpoint to access the database
- publicEndpoint string
- Public endpoint to access the database
- db_id int
- Identifier of the database created
- id str
- The provider-assigned unique ID for this managed resource.
- private_endpoint str
- Private endpoint to access the database
- public_endpoint str
- Public endpoint to access the database
- dbId Number
- Identifier of the database created
- id String
- The provider-assigned unique ID for this managed resource.
- privateEndpoint String
- Private endpoint to access the database
- publicEndpoint String
- Public endpoint to access the database
Look up Existing SubscriptionDatabase Resource
Get an existing SubscriptionDatabase resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SubscriptionDatabaseState, opts?: CustomResourceOptions): SubscriptionDatabase@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        alerts: Optional[Sequence[SubscriptionDatabaseAlertArgs]] = None,
        average_item_size_in_bytes: Optional[int] = None,
        client_ssl_certificate: Optional[str] = None,
        data_eviction: Optional[str] = None,
        data_persistence: Optional[str] = None,
        db_id: Optional[int] = None,
        enable_tls: Optional[bool] = None,
        external_endpoint_for_oss_cluster_api: Optional[bool] = None,
        hashing_policies: Optional[Sequence[str]] = None,
        memory_limit_in_gb: Optional[float] = None,
        modules: Optional[Sequence[SubscriptionDatabaseModuleArgs]] = None,
        name: Optional[str] = None,
        password: Optional[str] = None,
        periodic_backup_path: Optional[str] = None,
        port: Optional[int] = None,
        private_endpoint: Optional[str] = None,
        protocol: Optional[str] = None,
        public_endpoint: Optional[str] = None,
        remote_backup: Optional[SubscriptionDatabaseRemoteBackupArgs] = None,
        replica_ofs: Optional[Sequence[str]] = None,
        replication: Optional[bool] = None,
        source_ips: Optional[Sequence[str]] = None,
        subscription_id: Optional[str] = None,
        support_oss_cluster_api: Optional[bool] = None,
        throughput_measurement_by: Optional[str] = None,
        throughput_measurement_value: Optional[int] = None) -> SubscriptionDatabasefunc GetSubscriptionDatabase(ctx *Context, name string, id IDInput, state *SubscriptionDatabaseState, opts ...ResourceOption) (*SubscriptionDatabase, error)public static SubscriptionDatabase Get(string name, Input<string> id, SubscriptionDatabaseState? state, CustomResourceOptions? opts = null)public static SubscriptionDatabase get(String name, Output<String> id, SubscriptionDatabaseState state, CustomResourceOptions options)resources:  _:    type: rediscloud:SubscriptionDatabase    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Alerts
List<RedisLabs. Rediscloud. Inputs. Subscription Database Alert> 
- A block defining Redis database alert, documented below, can be specified multiple times
- AverageItem intSize In Bytes 
- Relevant only to ram-and-flash clusters. Estimated average size (measured in bytes) of the items stored in the database. Default: 1000
- ClientSsl stringCertificate 
- SSL certificate to authenticate user connections
- DataEviction string
- The data items eviction policy (either: 'allkeys-lru', 'allkeys-lfu', 'allkeys-random', 'volatile-lru', 'volatile-lfu', 'volatile-random', 'volatile-ttl' or 'noeviction'). Default: 'volatile-lru'
- DataPersistence string
- Rate of database's storage data persistence (either: 'none', 'aof-every-1-second', 'aof-every-write', 'snapshot-every-1-hour', 'snapshot-every-6-hours' or 'snapshot-every-12-hours'). Default: ‘none’
- DbId int
- Identifier of the database created
- EnableTls bool
- Use TLS for authentication. Default: ‘false’
- ExternalEndpoint boolFor Oss Cluster Api 
- Should use the external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Default: 'false'
- HashingPolicies List<string>
- List of regular expression rules to shard the database by. See
the documentation on clustering for more information on the
hashing policy. This cannot be set when support_oss_cluster_apiis set to true.
- MemoryLimit doubleIn Gb 
- Maximum memory usage for this specific database
- Modules
List<RedisLabs. Rediscloud. Inputs. Subscription Database Module> 
- A list of modules objects, documented below. Modifying this attribute will force creation of a new resource.
- Name string
- A meaningful name to identify the database
- Password string
- Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated
- PeriodicBackup stringPath 
- Path that will be used to store database backup files. Deprecated: Use remote_backupblock instead
- Port int
- TCP port on which the database is available - must be between 10000 and 19999. Modifying this attribute will force creation of a new resource.
- PrivateEndpoint string
- Private endpoint to access the database
- Protocol string
- The protocol that will be used to access the database, (either ‘redis’ or ‘memcached’) Default: ‘redis’. Modifying this attribute will force creation of a new resource.
- PublicEndpoint string
- Public endpoint to access the database
- RemoteBackup RedisLabs. Rediscloud. Inputs. Subscription Database Remote Backup 
- Specifies the backup options for the database, documented below
- ReplicaOfs List<string>
- Set of Redis database URIs, in the format redis://user:password@host:port, that this database will be a replica of. If the URI provided is Redis Labs Cloud instance, only host and port should be provided. Cannot be enabled whensupport_oss_cluster_apiis enabled.
- Replication bool
- Databases replication. Default: ‘true’
- SourceIps List<string>
- List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges (example: [‘192.168.10.0/32’, ‘192.168.12.0/24’])
- SubscriptionId string
- The ID of the subscription to create the database in. Modifying this attribute will force creation of a new resource.
- SupportOss boolCluster Api 
- Support Redis open-source (OSS) Cluster API. Default: ‘false’
- ThroughputMeasurement stringBy 
- Throughput measurement method, (either ‘number-of-shards’ or ‘operations-per-second’)
- ThroughputMeasurement intValue 
- Throughput value (as applies to selected measurement method)
- Alerts
[]SubscriptionDatabase Alert Args 
- A block defining Redis database alert, documented below, can be specified multiple times
- AverageItem intSize In Bytes 
- Relevant only to ram-and-flash clusters. Estimated average size (measured in bytes) of the items stored in the database. Default: 1000
- ClientSsl stringCertificate 
- SSL certificate to authenticate user connections
- DataEviction string
- The data items eviction policy (either: 'allkeys-lru', 'allkeys-lfu', 'allkeys-random', 'volatile-lru', 'volatile-lfu', 'volatile-random', 'volatile-ttl' or 'noeviction'). Default: 'volatile-lru'
- DataPersistence string
- Rate of database's storage data persistence (either: 'none', 'aof-every-1-second', 'aof-every-write', 'snapshot-every-1-hour', 'snapshot-every-6-hours' or 'snapshot-every-12-hours'). Default: ‘none’
- DbId int
- Identifier of the database created
- EnableTls bool
- Use TLS for authentication. Default: ‘false’
- ExternalEndpoint boolFor Oss Cluster Api 
- Should use the external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Default: 'false'
- HashingPolicies []string
- List of regular expression rules to shard the database by. See
the documentation on clustering for more information on the
hashing policy. This cannot be set when support_oss_cluster_apiis set to true.
- MemoryLimit float64In Gb 
- Maximum memory usage for this specific database
- Modules
[]SubscriptionDatabase Module Args 
- A list of modules objects, documented below. Modifying this attribute will force creation of a new resource.
- Name string
- A meaningful name to identify the database
- Password string
- Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated
- PeriodicBackup stringPath 
- Path that will be used to store database backup files. Deprecated: Use remote_backupblock instead
- Port int
- TCP port on which the database is available - must be between 10000 and 19999. Modifying this attribute will force creation of a new resource.
- PrivateEndpoint string
- Private endpoint to access the database
- Protocol string
- The protocol that will be used to access the database, (either ‘redis’ or ‘memcached’) Default: ‘redis’. Modifying this attribute will force creation of a new resource.
- PublicEndpoint string
- Public endpoint to access the database
- RemoteBackup SubscriptionDatabase Remote Backup Args 
- Specifies the backup options for the database, documented below
- ReplicaOfs []string
- Set of Redis database URIs, in the format redis://user:password@host:port, that this database will be a replica of. If the URI provided is Redis Labs Cloud instance, only host and port should be provided. Cannot be enabled whensupport_oss_cluster_apiis enabled.
- Replication bool
- Databases replication. Default: ‘true’
- SourceIps []string
- List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges (example: [‘192.168.10.0/32’, ‘192.168.12.0/24’])
- SubscriptionId string
- The ID of the subscription to create the database in. Modifying this attribute will force creation of a new resource.
- SupportOss boolCluster Api 
- Support Redis open-source (OSS) Cluster API. Default: ‘false’
- ThroughputMeasurement stringBy 
- Throughput measurement method, (either ‘number-of-shards’ or ‘operations-per-second’)
- ThroughputMeasurement intValue 
- Throughput value (as applies to selected measurement method)
- alerts
List<SubscriptionDatabase Alert> 
- A block defining Redis database alert, documented below, can be specified multiple times
- averageItem IntegerSize In Bytes 
- Relevant only to ram-and-flash clusters. Estimated average size (measured in bytes) of the items stored in the database. Default: 1000
- clientSsl StringCertificate 
- SSL certificate to authenticate user connections
- dataEviction String
- The data items eviction policy (either: 'allkeys-lru', 'allkeys-lfu', 'allkeys-random', 'volatile-lru', 'volatile-lfu', 'volatile-random', 'volatile-ttl' or 'noeviction'). Default: 'volatile-lru'
- dataPersistence String
- Rate of database's storage data persistence (either: 'none', 'aof-every-1-second', 'aof-every-write', 'snapshot-every-1-hour', 'snapshot-every-6-hours' or 'snapshot-every-12-hours'). Default: ‘none’
- dbId Integer
- Identifier of the database created
- enableTls Boolean
- Use TLS for authentication. Default: ‘false’
- externalEndpoint BooleanFor Oss Cluster Api 
- Should use the external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Default: 'false'
- hashingPolicies List<String>
- List of regular expression rules to shard the database by. See
the documentation on clustering for more information on the
hashing policy. This cannot be set when support_oss_cluster_apiis set to true.
- memoryLimit DoubleIn Gb 
- Maximum memory usage for this specific database
- modules
List<SubscriptionDatabase Module> 
- A list of modules objects, documented below. Modifying this attribute will force creation of a new resource.
- name String
- A meaningful name to identify the database
- password String
- Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated
- periodicBackup StringPath 
- Path that will be used to store database backup files. Deprecated: Use remote_backupblock instead
- port Integer
- TCP port on which the database is available - must be between 10000 and 19999. Modifying this attribute will force creation of a new resource.
- privateEndpoint String
- Private endpoint to access the database
- protocol String
- The protocol that will be used to access the database, (either ‘redis’ or ‘memcached’) Default: ‘redis’. Modifying this attribute will force creation of a new resource.
- publicEndpoint String
- Public endpoint to access the database
- remoteBackup SubscriptionDatabase Remote Backup 
- Specifies the backup options for the database, documented below
- replicaOfs List<String>
- Set of Redis database URIs, in the format redis://user:password@host:port, that this database will be a replica of. If the URI provided is Redis Labs Cloud instance, only host and port should be provided. Cannot be enabled whensupport_oss_cluster_apiis enabled.
- replication Boolean
- Databases replication. Default: ‘true’
- sourceIps List<String>
- List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges (example: [‘192.168.10.0/32’, ‘192.168.12.0/24’])
- subscriptionId String
- The ID of the subscription to create the database in. Modifying this attribute will force creation of a new resource.
- supportOss BooleanCluster Api 
- Support Redis open-source (OSS) Cluster API. Default: ‘false’
- throughputMeasurement StringBy 
- Throughput measurement method, (either ‘number-of-shards’ or ‘operations-per-second’)
- throughputMeasurement IntegerValue 
- Throughput value (as applies to selected measurement method)
- alerts
SubscriptionDatabase Alert[] 
- A block defining Redis database alert, documented below, can be specified multiple times
- averageItem numberSize In Bytes 
- Relevant only to ram-and-flash clusters. Estimated average size (measured in bytes) of the items stored in the database. Default: 1000
- clientSsl stringCertificate 
- SSL certificate to authenticate user connections
- dataEviction string
- The data items eviction policy (either: 'allkeys-lru', 'allkeys-lfu', 'allkeys-random', 'volatile-lru', 'volatile-lfu', 'volatile-random', 'volatile-ttl' or 'noeviction'). Default: 'volatile-lru'
- dataPersistence string
- Rate of database's storage data persistence (either: 'none', 'aof-every-1-second', 'aof-every-write', 'snapshot-every-1-hour', 'snapshot-every-6-hours' or 'snapshot-every-12-hours'). Default: ‘none’
- dbId number
- Identifier of the database created
- enableTls boolean
- Use TLS for authentication. Default: ‘false’
- externalEndpoint booleanFor Oss Cluster Api 
- Should use the external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Default: 'false'
- hashingPolicies string[]
- List of regular expression rules to shard the database by. See
the documentation on clustering for more information on the
hashing policy. This cannot be set when support_oss_cluster_apiis set to true.
- memoryLimit numberIn Gb 
- Maximum memory usage for this specific database
- modules
SubscriptionDatabase Module[] 
- A list of modules objects, documented below. Modifying this attribute will force creation of a new resource.
- name string
- A meaningful name to identify the database
- password string
- Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated
- periodicBackup stringPath 
- Path that will be used to store database backup files. Deprecated: Use remote_backupblock instead
- port number
- TCP port on which the database is available - must be between 10000 and 19999. Modifying this attribute will force creation of a new resource.
- privateEndpoint string
- Private endpoint to access the database
- protocol string
- The protocol that will be used to access the database, (either ‘redis’ or ‘memcached’) Default: ‘redis’. Modifying this attribute will force creation of a new resource.
- publicEndpoint string
- Public endpoint to access the database
- remoteBackup SubscriptionDatabase Remote Backup 
- Specifies the backup options for the database, documented below
- replicaOfs string[]
- Set of Redis database URIs, in the format redis://user:password@host:port, that this database will be a replica of. If the URI provided is Redis Labs Cloud instance, only host and port should be provided. Cannot be enabled whensupport_oss_cluster_apiis enabled.
- replication boolean
- Databases replication. Default: ‘true’
- sourceIps string[]
- List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges (example: [‘192.168.10.0/32’, ‘192.168.12.0/24’])
- subscriptionId string
- The ID of the subscription to create the database in. Modifying this attribute will force creation of a new resource.
- supportOss booleanCluster Api 
- Support Redis open-source (OSS) Cluster API. Default: ‘false’
- throughputMeasurement stringBy 
- Throughput measurement method, (either ‘number-of-shards’ or ‘operations-per-second’)
- throughputMeasurement numberValue 
- Throughput value (as applies to selected measurement method)
- alerts
Sequence[SubscriptionDatabase Alert Args] 
- A block defining Redis database alert, documented below, can be specified multiple times
- average_item_ intsize_ in_ bytes 
- Relevant only to ram-and-flash clusters. Estimated average size (measured in bytes) of the items stored in the database. Default: 1000
- client_ssl_ strcertificate 
- SSL certificate to authenticate user connections
- data_eviction str
- The data items eviction policy (either: 'allkeys-lru', 'allkeys-lfu', 'allkeys-random', 'volatile-lru', 'volatile-lfu', 'volatile-random', 'volatile-ttl' or 'noeviction'). Default: 'volatile-lru'
- data_persistence str
- Rate of database's storage data persistence (either: 'none', 'aof-every-1-second', 'aof-every-write', 'snapshot-every-1-hour', 'snapshot-every-6-hours' or 'snapshot-every-12-hours'). Default: ‘none’
- db_id int
- Identifier of the database created
- enable_tls bool
- Use TLS for authentication. Default: ‘false’
- external_endpoint_ boolfor_ oss_ cluster_ api 
- Should use the external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Default: 'false'
- hashing_policies Sequence[str]
- List of regular expression rules to shard the database by. See
the documentation on clustering for more information on the
hashing policy. This cannot be set when support_oss_cluster_apiis set to true.
- memory_limit_ floatin_ gb 
- Maximum memory usage for this specific database
- modules
Sequence[SubscriptionDatabase Module Args] 
- A list of modules objects, documented below. Modifying this attribute will force creation of a new resource.
- name str
- A meaningful name to identify the database
- password str
- Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated
- periodic_backup_ strpath 
- Path that will be used to store database backup files. Deprecated: Use remote_backupblock instead
- port int
- TCP port on which the database is available - must be between 10000 and 19999. Modifying this attribute will force creation of a new resource.
- private_endpoint str
- Private endpoint to access the database
- protocol str
- The protocol that will be used to access the database, (either ‘redis’ or ‘memcached’) Default: ‘redis’. Modifying this attribute will force creation of a new resource.
- public_endpoint str
- Public endpoint to access the database
- remote_backup SubscriptionDatabase Remote Backup Args 
- Specifies the backup options for the database, documented below
- replica_ofs Sequence[str]
- Set of Redis database URIs, in the format redis://user:password@host:port, that this database will be a replica of. If the URI provided is Redis Labs Cloud instance, only host and port should be provided. Cannot be enabled whensupport_oss_cluster_apiis enabled.
- replication bool
- Databases replication. Default: ‘true’
- source_ips Sequence[str]
- List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges (example: [‘192.168.10.0/32’, ‘192.168.12.0/24’])
- subscription_id str
- The ID of the subscription to create the database in. Modifying this attribute will force creation of a new resource.
- support_oss_ boolcluster_ api 
- Support Redis open-source (OSS) Cluster API. Default: ‘false’
- throughput_measurement_ strby 
- Throughput measurement method, (either ‘number-of-shards’ or ‘operations-per-second’)
- throughput_measurement_ intvalue 
- Throughput value (as applies to selected measurement method)
- alerts List<Property Map>
- A block defining Redis database alert, documented below, can be specified multiple times
- averageItem NumberSize In Bytes 
- Relevant only to ram-and-flash clusters. Estimated average size (measured in bytes) of the items stored in the database. Default: 1000
- clientSsl StringCertificate 
- SSL certificate to authenticate user connections
- dataEviction String
- The data items eviction policy (either: 'allkeys-lru', 'allkeys-lfu', 'allkeys-random', 'volatile-lru', 'volatile-lfu', 'volatile-random', 'volatile-ttl' or 'noeviction'). Default: 'volatile-lru'
- dataPersistence String
- Rate of database's storage data persistence (either: 'none', 'aof-every-1-second', 'aof-every-write', 'snapshot-every-1-hour', 'snapshot-every-6-hours' or 'snapshot-every-12-hours'). Default: ‘none’
- dbId Number
- Identifier of the database created
- enableTls Boolean
- Use TLS for authentication. Default: ‘false’
- externalEndpoint BooleanFor Oss Cluster Api 
- Should use the external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Default: 'false'
- hashingPolicies List<String>
- List of regular expression rules to shard the database by. See
the documentation on clustering for more information on the
hashing policy. This cannot be set when support_oss_cluster_apiis set to true.
- memoryLimit NumberIn Gb 
- Maximum memory usage for this specific database
- modules List<Property Map>
- A list of modules objects, documented below. Modifying this attribute will force creation of a new resource.
- name String
- A meaningful name to identify the database
- password String
- Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated
- periodicBackup StringPath 
- Path that will be used to store database backup files. Deprecated: Use remote_backupblock instead
- port Number
- TCP port on which the database is available - must be between 10000 and 19999. Modifying this attribute will force creation of a new resource.
- privateEndpoint String
- Private endpoint to access the database
- protocol String
- The protocol that will be used to access the database, (either ‘redis’ or ‘memcached’) Default: ‘redis’. Modifying this attribute will force creation of a new resource.
- publicEndpoint String
- Public endpoint to access the database
- remoteBackup Property Map
- Specifies the backup options for the database, documented below
- replicaOfs List<String>
- Set of Redis database URIs, in the format redis://user:password@host:port, that this database will be a replica of. If the URI provided is Redis Labs Cloud instance, only host and port should be provided. Cannot be enabled whensupport_oss_cluster_apiis enabled.
- replication Boolean
- Databases replication. Default: ‘true’
- sourceIps List<String>
- List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges (example: [‘192.168.10.0/32’, ‘192.168.12.0/24’])
- subscriptionId String
- The ID of the subscription to create the database in. Modifying this attribute will force creation of a new resource.
- supportOss BooleanCluster Api 
- Support Redis open-source (OSS) Cluster API. Default: ‘false’
- throughputMeasurement StringBy 
- Throughput measurement method, (either ‘number-of-shards’ or ‘operations-per-second’)
- throughputMeasurement NumberValue 
- Throughput value (as applies to selected measurement method)
Supporting Types
SubscriptionDatabaseAlert, SubscriptionDatabaseAlertArgs      
SubscriptionDatabaseModule, SubscriptionDatabaseModuleArgs      
- Name string
- Name of the Redis database module to enable. Modifying this attribute will force creation of a new resource. - Example: - import * as pulumi from "@pulumi/pulumi";- const modules = [ { name: "RedisJSON", }, { name: "RedisBloom", }, ]; - import pulumi modules = [ { "name": "RedisJSON", }, { "name": "RedisBloom", }, ]- using System.Collections.Generic; using System.Linq; using Pulumi; return await Deployment.RunAsync(() => { var modules = new[] { { { "name", "RedisJSON" }, }, { { "name", "RedisBloom" }, }, }; });- package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _ := []map[string]interface{}{ map[string]interface{}{ "name": "RedisJSON", }, map[string]interface{}{ "name": "RedisBloom", }, } return nil }) }- package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var modules = %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference), %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); } }- variables: modules: - name: RedisJSON - name: RedisBloom
- Name string
- Name of the Redis database module to enable. Modifying this attribute will force creation of a new resource. - Example: - import * as pulumi from "@pulumi/pulumi";- const modules = [ { name: "RedisJSON", }, { name: "RedisBloom", }, ]; - import pulumi modules = [ { "name": "RedisJSON", }, { "name": "RedisBloom", }, ]- using System.Collections.Generic; using System.Linq; using Pulumi; return await Deployment.RunAsync(() => { var modules = new[] { { { "name", "RedisJSON" }, }, { { "name", "RedisBloom" }, }, }; });- package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _ := []map[string]interface{}{ map[string]interface{}{ "name": "RedisJSON", }, map[string]interface{}{ "name": "RedisBloom", }, } return nil }) }- package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var modules = %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference), %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); } }- variables: modules: - name: RedisJSON - name: RedisBloom
- name String
- Name of the Redis database module to enable. Modifying this attribute will force creation of a new resource. - Example: - import * as pulumi from "@pulumi/pulumi";- const modules = [ { name: "RedisJSON", }, { name: "RedisBloom", }, ]; - import pulumi modules = [ { "name": "RedisJSON", }, { "name": "RedisBloom", }, ]- using System.Collections.Generic; using System.Linq; using Pulumi; return await Deployment.RunAsync(() => { var modules = new[] { { { "name", "RedisJSON" }, }, { { "name", "RedisBloom" }, }, }; });- package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _ := []map[string]interface{}{ map[string]interface{}{ "name": "RedisJSON", }, map[string]interface{}{ "name": "RedisBloom", }, } return nil }) }- package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var modules = %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference), %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); } }- variables: modules: - name: RedisJSON - name: RedisBloom
- name string
- Name of the Redis database module to enable. Modifying this attribute will force creation of a new resource. - Example: - import * as pulumi from "@pulumi/pulumi";- const modules = [ { name: "RedisJSON", }, { name: "RedisBloom", }, ]; - import pulumi modules = [ { "name": "RedisJSON", }, { "name": "RedisBloom", }, ]- using System.Collections.Generic; using System.Linq; using Pulumi; return await Deployment.RunAsync(() => { var modules = new[] { { { "name", "RedisJSON" }, }, { { "name", "RedisBloom" }, }, }; });- package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _ := []map[string]interface{}{ map[string]interface{}{ "name": "RedisJSON", }, map[string]interface{}{ "name": "RedisBloom", }, } return nil }) }- package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var modules = %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference), %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); } }- variables: modules: - name: RedisJSON - name: RedisBloom
- name str
- Name of the Redis database module to enable. Modifying this attribute will force creation of a new resource. - Example: - import * as pulumi from "@pulumi/pulumi";- const modules = [ { name: "RedisJSON", }, { name: "RedisBloom", }, ]; - import pulumi modules = [ { "name": "RedisJSON", }, { "name": "RedisBloom", }, ]- using System.Collections.Generic; using System.Linq; using Pulumi; return await Deployment.RunAsync(() => { var modules = new[] { { { "name", "RedisJSON" }, }, { { "name", "RedisBloom" }, }, }; });- package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _ := []map[string]interface{}{ map[string]interface{}{ "name": "RedisJSON", }, map[string]interface{}{ "name": "RedisBloom", }, } return nil }) }- package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var modules = %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference), %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); } }- variables: modules: - name: RedisJSON - name: RedisBloom
- name String
- Name of the Redis database module to enable. Modifying this attribute will force creation of a new resource. - Example: - import * as pulumi from "@pulumi/pulumi";- const modules = [ { name: "RedisJSON", }, { name: "RedisBloom", }, ]; - import pulumi modules = [ { "name": "RedisJSON", }, { "name": "RedisBloom", }, ]- using System.Collections.Generic; using System.Linq; using Pulumi; return await Deployment.RunAsync(() => { var modules = new[] { { { "name", "RedisJSON" }, }, { { "name", "RedisBloom" }, }, }; });- package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _ := []map[string]interface{}{ map[string]interface{}{ "name": "RedisJSON", }, map[string]interface{}{ "name": "RedisBloom", }, } return nil }) }- package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var modules = %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference), %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); } }- variables: modules: - name: RedisJSON - name: RedisBloom
SubscriptionDatabaseRemoteBackup, SubscriptionDatabaseRemoteBackupArgs        
- Interval string
- Defines the interval between backups. Should be in the following format 'every-x-hours'. x is one of [24,12,6,4,2,1]. For example: 'every-4-hours'
- StoragePath string
- Defines a URI representing the backup storage location
- StorageType string
- Defines the provider of the storage location
- TimeUtc string
- Defines the hour automatic backups are made - only applicable when the interval is every-12-hoursorevery-24-hours. For example: '14:00'
- Interval string
- Defines the interval between backups. Should be in the following format 'every-x-hours'. x is one of [24,12,6,4,2,1]. For example: 'every-4-hours'
- StoragePath string
- Defines a URI representing the backup storage location
- StorageType string
- Defines the provider of the storage location
- TimeUtc string
- Defines the hour automatic backups are made - only applicable when the interval is every-12-hoursorevery-24-hours. For example: '14:00'
- interval String
- Defines the interval between backups. Should be in the following format 'every-x-hours'. x is one of [24,12,6,4,2,1]. For example: 'every-4-hours'
- storagePath String
- Defines a URI representing the backup storage location
- storageType String
- Defines the provider of the storage location
- timeUtc String
- Defines the hour automatic backups are made - only applicable when the interval is every-12-hoursorevery-24-hours. For example: '14:00'
- interval string
- Defines the interval between backups. Should be in the following format 'every-x-hours'. x is one of [24,12,6,4,2,1]. For example: 'every-4-hours'
- storagePath string
- Defines a URI representing the backup storage location
- storageType string
- Defines the provider of the storage location
- timeUtc string
- Defines the hour automatic backups are made - only applicable when the interval is every-12-hoursorevery-24-hours. For example: '14:00'
- interval str
- Defines the interval between backups. Should be in the following format 'every-x-hours'. x is one of [24,12,6,4,2,1]. For example: 'every-4-hours'
- storage_path str
- Defines a URI representing the backup storage location
- storage_type str
- Defines the provider of the storage location
- time_utc str
- Defines the hour automatic backups are made - only applicable when the interval is every-12-hoursorevery-24-hours. For example: '14:00'
- interval String
- Defines the interval between backups. Should be in the following format 'every-x-hours'. x is one of [24,12,6,4,2,1]. For example: 'every-4-hours'
- storagePath String
- Defines a URI representing the backup storage location
- storageType String
- Defines the provider of the storage location
- timeUtc String
- Defines the hour automatic backups are made - only applicable when the interval is every-12-hoursorevery-24-hours. For example: '14:00'
Import
rediscloud_subscription_database can be imported using the ID of the subscription and the ID of the database in the format {subscription ID}/{database ID}, e.g.
 $ pulumi import rediscloud:index/subscriptionDatabase:SubscriptionDatabase database-resource 123456/12345678
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- rediscloud RedisLabs/pulumi-rediscloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the rediscloudTerraform Provider.