1. Packages
  2. RedisCloud
  3. API Docs
  4. ActiveActiveSubscription
Redis Cloud v1.3.5 published on Wednesday, Dec 20, 2023 by RedisLabs

rediscloud.ActiveActiveSubscription

Explore with Pulumi AI

Import

rediscloud_active_active_subscription can be imported using the ID of the subscription, e.g.

 $ pulumi import rediscloud:index/activeActiveSubscription:ActiveActiveSubscription subscription-resource 12345678
Copy

~> Note: the creation_plan block will be ignored during imports.

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.ActiveActiveSubscription("subscription-resource", new()
    {
        PaymentMethodId = card.Apply(getPaymentMethodResult => getPaymentMethodResult.Id),
        CloudProvider = "AWS",
        CreationPlan = new Rediscloud.Inputs.ActiveActiveSubscriptionCreationPlanArgs
        {
            MemoryLimitInGb = 1,
            Quantity = 1,
            Regions = new[]
            {
                new Rediscloud.Inputs.ActiveActiveSubscriptionCreationPlanRegionArgs
                {
                    Region = "us-east-1",
                    NetworkingDeploymentCidr = "192.168.0.0/24",
                    WriteOperationsPerSecond = 1000,
                    ReadOperationsPerSecond = 1000,
                },
                new Rediscloud.Inputs.ActiveActiveSubscriptionCreationPlanRegionArgs
                {
                    Region = "us-east-2",
                    NetworkingDeploymentCidr = "10.0.1.0/24",
                    WriteOperationsPerSecond = 1000,
                    ReadOperationsPerSecond = 1000,
                },
            },
        },
    });

});
Copy
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.NewActiveActiveSubscription(ctx, "subscription-resource", &rediscloud.ActiveActiveSubscriptionArgs{
			PaymentMethodId: *pulumi.String(card.Id),
			CloudProvider:   pulumi.String("AWS"),
			CreationPlan: &rediscloud.ActiveActiveSubscriptionCreationPlanArgs{
				MemoryLimitInGb: pulumi.Float64(1),
				Quantity:        pulumi.Int(1),
				Regions: rediscloud.ActiveActiveSubscriptionCreationPlanRegionArray{
					&rediscloud.ActiveActiveSubscriptionCreationPlanRegionArgs{
						Region:                   pulumi.String("us-east-1"),
						NetworkingDeploymentCidr: pulumi.String("192.168.0.0/24"),
						WriteOperationsPerSecond: pulumi.Int(1000),
						ReadOperationsPerSecond:  pulumi.Int(1000),
					},
					&rediscloud.ActiveActiveSubscriptionCreationPlanRegionArgs{
						Region:                   pulumi.String("us-east-2"),
						NetworkingDeploymentCidr: pulumi.String("10.0.1.0/24"),
						WriteOperationsPerSecond: pulumi.Int(1000),
						ReadOperationsPerSecond:  pulumi.Int(1000),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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.ActiveActiveSubscription;
import com.pulumi.rediscloud.ActiveActiveSubscriptionArgs;
import com.pulumi.rediscloud.inputs.ActiveActiveSubscriptionCreationPlanArgs;
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 ActiveActiveSubscription("subscription-resource", ActiveActiveSubscriptionArgs.builder()        
            .paymentMethodId(card.applyValue(getPaymentMethodResult -> getPaymentMethodResult.id()))
            .cloudProvider("AWS")
            .creationPlan(ActiveActiveSubscriptionCreationPlanArgs.builder()
                .memoryLimitInGb(1)
                .quantity(1)
                .regions(                
                    ActiveActiveSubscriptionCreationPlanRegionArgs.builder()
                        .region("us-east-1")
                        .networkingDeploymentCidr("192.168.0.0/24")
                        .writeOperationsPerSecond(1000)
                        .readOperationsPerSecond(1000)
                        .build(),
                    ActiveActiveSubscriptionCreationPlanRegionArgs.builder()
                        .region("us-east-2")
                        .networkingDeploymentCidr("10.0.1.0/24")
                        .writeOperationsPerSecond(1000)
                        .readOperationsPerSecond(1000)
                        .build())
                .build())
            .build());

    }
}
Copy
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.ActiveActiveSubscription("subscription-resource", {
    paymentMethodId: card.then(card => card.id),
    cloudProvider: "AWS",
    creationPlan: {
        memoryLimitInGb: 1,
        quantity: 1,
        regions: [
            {
                region: "us-east-1",
                networkingDeploymentCidr: "192.168.0.0/24",
                writeOperationsPerSecond: 1000,
                readOperationsPerSecond: 1000,
            },
            {
                region: "us-east-2",
                networkingDeploymentCidr: "10.0.1.0/24",
                writeOperationsPerSecond: 1000,
                readOperationsPerSecond: 1000,
            },
        ],
    },
});
Copy
import pulumi
import pulumi_rediscloud as rediscloud

card = rediscloud.get_payment_method(card_type="Visa")
subscription_resource = rediscloud.ActiveActiveSubscription("subscription-resource",
    payment_method_id=card.id,
    cloud_provider="AWS",
    creation_plan=rediscloud.ActiveActiveSubscriptionCreationPlanArgs(
        memory_limit_in_gb=1,
        quantity=1,
        regions=[
            rediscloud.ActiveActiveSubscriptionCreationPlanRegionArgs(
                region="us-east-1",
                networking_deployment_cidr="192.168.0.0/24",
                write_operations_per_second=1000,
                read_operations_per_second=1000,
            ),
            rediscloud.ActiveActiveSubscriptionCreationPlanRegionArgs(
                region="us-east-2",
                networking_deployment_cidr="10.0.1.0/24",
                write_operations_per_second=1000,
                read_operations_per_second=1000,
            ),
        ],
    ))
Copy
resources:
  subscription-resource:
    type: rediscloud:ActiveActiveSubscription
    properties:
      paymentMethodId: ${card.id}
      cloudProvider: AWS
      creationPlan:
        memoryLimitInGb: 1
        quantity: 1
        regions:
          - region: us-east-1
            networkingDeploymentCidr: 192.168.0.0/24
            writeOperationsPerSecond: 1000
            readOperationsPerSecond: 1000
          - region: us-east-2
            networkingDeploymentCidr: 10.0.1.0/24
            writeOperationsPerSecond: 1000
            readOperationsPerSecond: 1000
variables:
  card:
    fn::invoke:
      Function: rediscloud:getPaymentMethod
      Arguments:
        cardType: Visa
Copy

Create ActiveActiveSubscription Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ActiveActiveSubscription(name: string, args?: ActiveActiveSubscriptionArgs, opts?: CustomResourceOptions);
@overload
def ActiveActiveSubscription(resource_name: str,
                             args: Optional[ActiveActiveSubscriptionArgs] = None,
                             opts: Optional[ResourceOptions] = None)

@overload
def ActiveActiveSubscription(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             cloud_provider: Optional[str] = None,
                             creation_plan: Optional[ActiveActiveSubscriptionCreationPlanArgs] = None,
                             name: Optional[str] = None,
                             payment_method: Optional[str] = None,
                             payment_method_id: Optional[str] = None)
func NewActiveActiveSubscription(ctx *Context, name string, args *ActiveActiveSubscriptionArgs, opts ...ResourceOption) (*ActiveActiveSubscription, error)
public ActiveActiveSubscription(string name, ActiveActiveSubscriptionArgs? args = null, CustomResourceOptions? opts = null)
public ActiveActiveSubscription(String name, ActiveActiveSubscriptionArgs args)
public ActiveActiveSubscription(String name, ActiveActiveSubscriptionArgs args, CustomResourceOptions options)
type: rediscloud:ActiveActiveSubscription
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ActiveActiveSubscriptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ActiveActiveSubscriptionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ActiveActiveSubscriptionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ActiveActiveSubscriptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ActiveActiveSubscriptionArgs
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 activeActiveSubscriptionResource = new Rediscloud.ActiveActiveSubscription("activeActiveSubscriptionResource", new()
{
    CloudProvider = "string",
    CreationPlan = new Rediscloud.Inputs.ActiveActiveSubscriptionCreationPlanArgs
    {
        MemoryLimitInGb = 0,
        Quantity = 0,
        Regions = new[]
        {
            new Rediscloud.Inputs.ActiveActiveSubscriptionCreationPlanRegionArgs
            {
                NetworkingDeploymentCidr = "string",
                ReadOperationsPerSecond = 0,
                Region = "string",
                WriteOperationsPerSecond = 0,
            },
        },
    },
    Name = "string",
    PaymentMethod = "string",
    PaymentMethodId = "string",
});
Copy
example, err := rediscloud.NewActiveActiveSubscription(ctx, "activeActiveSubscriptionResource", &rediscloud.ActiveActiveSubscriptionArgs{
	CloudProvider: pulumi.String("string"),
	CreationPlan: &rediscloud.ActiveActiveSubscriptionCreationPlanArgs{
		MemoryLimitInGb: pulumi.Float64(0),
		Quantity:        pulumi.Int(0),
		Regions: rediscloud.ActiveActiveSubscriptionCreationPlanRegionArray{
			&rediscloud.ActiveActiveSubscriptionCreationPlanRegionArgs{
				NetworkingDeploymentCidr: pulumi.String("string"),
				ReadOperationsPerSecond:  pulumi.Int(0),
				Region:                   pulumi.String("string"),
				WriteOperationsPerSecond: pulumi.Int(0),
			},
		},
	},
	Name:            pulumi.String("string"),
	PaymentMethod:   pulumi.String("string"),
	PaymentMethodId: pulumi.String("string"),
})
Copy
var activeActiveSubscriptionResource = new ActiveActiveSubscription("activeActiveSubscriptionResource", ActiveActiveSubscriptionArgs.builder()
    .cloudProvider("string")
    .creationPlan(ActiveActiveSubscriptionCreationPlanArgs.builder()
        .memoryLimitInGb(0)
        .quantity(0)
        .regions(ActiveActiveSubscriptionCreationPlanRegionArgs.builder()
            .networkingDeploymentCidr("string")
            .readOperationsPerSecond(0)
            .region("string")
            .writeOperationsPerSecond(0)
            .build())
        .build())
    .name("string")
    .paymentMethod("string")
    .paymentMethodId("string")
    .build());
Copy
active_active_subscription_resource = rediscloud.ActiveActiveSubscription("activeActiveSubscriptionResource",
    cloud_provider="string",
    creation_plan={
        "memory_limit_in_gb": 0,
        "quantity": 0,
        "regions": [{
            "networking_deployment_cidr": "string",
            "read_operations_per_second": 0,
            "region": "string",
            "write_operations_per_second": 0,
        }],
    },
    name="string",
    payment_method="string",
    payment_method_id="string")
Copy
const activeActiveSubscriptionResource = new rediscloud.ActiveActiveSubscription("activeActiveSubscriptionResource", {
    cloudProvider: "string",
    creationPlan: {
        memoryLimitInGb: 0,
        quantity: 0,
        regions: [{
            networkingDeploymentCidr: "string",
            readOperationsPerSecond: 0,
            region: "string",
            writeOperationsPerSecond: 0,
        }],
    },
    name: "string",
    paymentMethod: "string",
    paymentMethodId: "string",
});
Copy
type: rediscloud:ActiveActiveSubscription
properties:
    cloudProvider: string
    creationPlan:
        memoryLimitInGb: 0
        quantity: 0
        regions:
            - networkingDeploymentCidr: string
              readOperationsPerSecond: 0
              region: string
              writeOperationsPerSecond: 0
    name: string
    paymentMethod: string
    paymentMethodId: string
Copy

ActiveActiveSubscription 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 ActiveActiveSubscription resource accepts the following input properties:

CloudProvider Changes to this property will trigger replacement. string
The cloud provider to use with the subscription, (either AWS or GCP). Default: ‘AWS’. Modifying this attribute will force creation of a new resource.
CreationPlan RedisLabs.Rediscloud.Inputs.ActiveActiveSubscriptionCreationPlan
A creation plan object, documented below
Name string
A meaningful name to identify the subscription
PaymentMethod Changes to this property will trigger replacement. string
The payment method for the requested subscription, (either credit-card or marketplace). If credit-card is specified, payment_method_id must be defined. Default: 'credit-card'. Modifying this attribute will force creation of a new resource.
PaymentMethodId string
A valid payment method pre-defined in the current account. This value is Optional for AWS/GCP Marketplace accounts, but Required for all other account types
CloudProvider Changes to this property will trigger replacement. string
The cloud provider to use with the subscription, (either AWS or GCP). Default: ‘AWS’. Modifying this attribute will force creation of a new resource.
CreationPlan ActiveActiveSubscriptionCreationPlanArgs
A creation plan object, documented below
Name string
A meaningful name to identify the subscription
PaymentMethod Changes to this property will trigger replacement. string
The payment method for the requested subscription, (either credit-card or marketplace). If credit-card is specified, payment_method_id must be defined. Default: 'credit-card'. Modifying this attribute will force creation of a new resource.
PaymentMethodId string
A valid payment method pre-defined in the current account. This value is Optional for AWS/GCP Marketplace accounts, but Required for all other account types
cloudProvider Changes to this property will trigger replacement. String
The cloud provider to use with the subscription, (either AWS or GCP). Default: ‘AWS’. Modifying this attribute will force creation of a new resource.
creationPlan ActiveActiveSubscriptionCreationPlan
A creation plan object, documented below
name String
A meaningful name to identify the subscription
paymentMethod Changes to this property will trigger replacement. String
The payment method for the requested subscription, (either credit-card or marketplace). If credit-card is specified, payment_method_id must be defined. Default: 'credit-card'. Modifying this attribute will force creation of a new resource.
paymentMethodId String
A valid payment method pre-defined in the current account. This value is Optional for AWS/GCP Marketplace accounts, but Required for all other account types
cloudProvider Changes to this property will trigger replacement. string
The cloud provider to use with the subscription, (either AWS or GCP). Default: ‘AWS’. Modifying this attribute will force creation of a new resource.
creationPlan ActiveActiveSubscriptionCreationPlan
A creation plan object, documented below
name string
A meaningful name to identify the subscription
paymentMethod Changes to this property will trigger replacement. string
The payment method for the requested subscription, (either credit-card or marketplace). If credit-card is specified, payment_method_id must be defined. Default: 'credit-card'. Modifying this attribute will force creation of a new resource.
paymentMethodId string
A valid payment method pre-defined in the current account. This value is Optional for AWS/GCP Marketplace accounts, but Required for all other account types
cloud_provider Changes to this property will trigger replacement. str
The cloud provider to use with the subscription, (either AWS or GCP). Default: ‘AWS’. Modifying this attribute will force creation of a new resource.
creation_plan ActiveActiveSubscriptionCreationPlanArgs
A creation plan object, documented below
name str
A meaningful name to identify the subscription
payment_method Changes to this property will trigger replacement. str
The payment method for the requested subscription, (either credit-card or marketplace). If credit-card is specified, payment_method_id must be defined. Default: 'credit-card'. Modifying this attribute will force creation of a new resource.
payment_method_id str
A valid payment method pre-defined in the current account. This value is Optional for AWS/GCP Marketplace accounts, but Required for all other account types
cloudProvider Changes to this property will trigger replacement. String
The cloud provider to use with the subscription, (either AWS or GCP). Default: ‘AWS’. Modifying this attribute will force creation of a new resource.
creationPlan Property Map
A creation plan object, documented below
name String
A meaningful name to identify the subscription
paymentMethod Changes to this property will trigger replacement. String
The payment method for the requested subscription, (either credit-card or marketplace). If credit-card is specified, payment_method_id must be defined. Default: 'credit-card'. Modifying this attribute will force creation of a new resource.
paymentMethodId String
A valid payment method pre-defined in the current account. This value is Optional for AWS/GCP Marketplace accounts, but Required for all other account types

Outputs

All input properties are implicitly available as output properties. Additionally, the ActiveActiveSubscription resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ActiveActiveSubscription Resource

Get an existing ActiveActiveSubscription 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?: ActiveActiveSubscriptionState, opts?: CustomResourceOptions): ActiveActiveSubscription
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cloud_provider: Optional[str] = None,
        creation_plan: Optional[ActiveActiveSubscriptionCreationPlanArgs] = None,
        name: Optional[str] = None,
        payment_method: Optional[str] = None,
        payment_method_id: Optional[str] = None) -> ActiveActiveSubscription
func GetActiveActiveSubscription(ctx *Context, name string, id IDInput, state *ActiveActiveSubscriptionState, opts ...ResourceOption) (*ActiveActiveSubscription, error)
public static ActiveActiveSubscription Get(string name, Input<string> id, ActiveActiveSubscriptionState? state, CustomResourceOptions? opts = null)
public static ActiveActiveSubscription get(String name, Output<String> id, ActiveActiveSubscriptionState state, CustomResourceOptions options)
resources:  _:    type: rediscloud:ActiveActiveSubscription    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
CloudProvider Changes to this property will trigger replacement. string
The cloud provider to use with the subscription, (either AWS or GCP). Default: ‘AWS’. Modifying this attribute will force creation of a new resource.
CreationPlan RedisLabs.Rediscloud.Inputs.ActiveActiveSubscriptionCreationPlan
A creation plan object, documented below
Name string
A meaningful name to identify the subscription
PaymentMethod Changes to this property will trigger replacement. string
The payment method for the requested subscription, (either credit-card or marketplace). If credit-card is specified, payment_method_id must be defined. Default: 'credit-card'. Modifying this attribute will force creation of a new resource.
PaymentMethodId string
A valid payment method pre-defined in the current account. This value is Optional for AWS/GCP Marketplace accounts, but Required for all other account types
CloudProvider Changes to this property will trigger replacement. string
The cloud provider to use with the subscription, (either AWS or GCP). Default: ‘AWS’. Modifying this attribute will force creation of a new resource.
CreationPlan ActiveActiveSubscriptionCreationPlanArgs
A creation plan object, documented below
Name string
A meaningful name to identify the subscription
PaymentMethod Changes to this property will trigger replacement. string
The payment method for the requested subscription, (either credit-card or marketplace). If credit-card is specified, payment_method_id must be defined. Default: 'credit-card'. Modifying this attribute will force creation of a new resource.
PaymentMethodId string
A valid payment method pre-defined in the current account. This value is Optional for AWS/GCP Marketplace accounts, but Required for all other account types
cloudProvider Changes to this property will trigger replacement. String
The cloud provider to use with the subscription, (either AWS or GCP). Default: ‘AWS’. Modifying this attribute will force creation of a new resource.
creationPlan ActiveActiveSubscriptionCreationPlan
A creation plan object, documented below
name String
A meaningful name to identify the subscription
paymentMethod Changes to this property will trigger replacement. String
The payment method for the requested subscription, (either credit-card or marketplace). If credit-card is specified, payment_method_id must be defined. Default: 'credit-card'. Modifying this attribute will force creation of a new resource.
paymentMethodId String
A valid payment method pre-defined in the current account. This value is Optional for AWS/GCP Marketplace accounts, but Required for all other account types
cloudProvider Changes to this property will trigger replacement. string
The cloud provider to use with the subscription, (either AWS or GCP). Default: ‘AWS’. Modifying this attribute will force creation of a new resource.
creationPlan ActiveActiveSubscriptionCreationPlan
A creation plan object, documented below
name string
A meaningful name to identify the subscription
paymentMethod Changes to this property will trigger replacement. string
The payment method for the requested subscription, (either credit-card or marketplace). If credit-card is specified, payment_method_id must be defined. Default: 'credit-card'. Modifying this attribute will force creation of a new resource.
paymentMethodId string
A valid payment method pre-defined in the current account. This value is Optional for AWS/GCP Marketplace accounts, but Required for all other account types
cloud_provider Changes to this property will trigger replacement. str
The cloud provider to use with the subscription, (either AWS or GCP). Default: ‘AWS’. Modifying this attribute will force creation of a new resource.
creation_plan ActiveActiveSubscriptionCreationPlanArgs
A creation plan object, documented below
name str
A meaningful name to identify the subscription
payment_method Changes to this property will trigger replacement. str
The payment method for the requested subscription, (either credit-card or marketplace). If credit-card is specified, payment_method_id must be defined. Default: 'credit-card'. Modifying this attribute will force creation of a new resource.
payment_method_id str
A valid payment method pre-defined in the current account. This value is Optional for AWS/GCP Marketplace accounts, but Required for all other account types
cloudProvider Changes to this property will trigger replacement. String
The cloud provider to use with the subscription, (either AWS or GCP). Default: ‘AWS’. Modifying this attribute will force creation of a new resource.
creationPlan Property Map
A creation plan object, documented below
name String
A meaningful name to identify the subscription
paymentMethod Changes to this property will trigger replacement. String
The payment method for the requested subscription, (either credit-card or marketplace). If credit-card is specified, payment_method_id must be defined. Default: 'credit-card'. Modifying this attribute will force creation of a new resource.
paymentMethodId String
A valid payment method pre-defined in the current account. This value is Optional for AWS/GCP Marketplace accounts, but Required for all other account types

Supporting Types

ActiveActiveSubscriptionCreationPlan
, ActiveActiveSubscriptionCreationPlanArgs

MemoryLimitInGb This property is required. double
Maximum memory usage that will be used for your largest planned database, including replication and other overhead
Quantity This property is required. int
The planned number of databases in the subscription.
Regions This property is required. List<RedisLabs.Rediscloud.Inputs.ActiveActiveSubscriptionCreationPlanRegion>
MemoryLimitInGb This property is required. float64
Maximum memory usage that will be used for your largest planned database, including replication and other overhead
Quantity This property is required. int
The planned number of databases in the subscription.
Regions This property is required. []ActiveActiveSubscriptionCreationPlanRegion
memoryLimitInGb This property is required. Double
Maximum memory usage that will be used for your largest planned database, including replication and other overhead
quantity This property is required. Integer
The planned number of databases in the subscription.
regions This property is required. List<ActiveActiveSubscriptionCreationPlanRegion>
memoryLimitInGb This property is required. number
Maximum memory usage that will be used for your largest planned database, including replication and other overhead
quantity This property is required. number
The planned number of databases in the subscription.
regions This property is required. ActiveActiveSubscriptionCreationPlanRegion[]
memory_limit_in_gb This property is required. float
Maximum memory usage that will be used for your largest planned database, including replication and other overhead
quantity This property is required. int
The planned number of databases in the subscription.
regions This property is required. Sequence[ActiveActiveSubscriptionCreationPlanRegion]
memoryLimitInGb This property is required. Number
Maximum memory usage that will be used for your largest planned database, including replication and other overhead
quantity This property is required. Number
The planned number of databases in the subscription.
regions This property is required. List<Property Map>

ActiveActiveSubscriptionCreationPlanRegion
, ActiveActiveSubscriptionCreationPlanRegionArgs

NetworkingDeploymentCidr This property is required. string
Deployment CIDR mask. The total number of bits must be 24 (x.x.x.x/24)
ReadOperationsPerSecond This property is required. int

Throughput measurement for an active-active subscription

Note: If changes are made to attributes in the subscription which require the subscription to be recreated (such as cloud_provider or payment_method), the creation_plan will need to be defined in order to change these attributes. This is because the creation_plan is always required when a subscription is created.

Region This property is required. string
Deployment region as defined by cloud provider
WriteOperationsPerSecond This property is required. int
Throughput measurement for an active-active subscription
NetworkingDeploymentCidr This property is required. string
Deployment CIDR mask. The total number of bits must be 24 (x.x.x.x/24)
ReadOperationsPerSecond This property is required. int

Throughput measurement for an active-active subscription

Note: If changes are made to attributes in the subscription which require the subscription to be recreated (such as cloud_provider or payment_method), the creation_plan will need to be defined in order to change these attributes. This is because the creation_plan is always required when a subscription is created.

Region This property is required. string
Deployment region as defined by cloud provider
WriteOperationsPerSecond This property is required. int
Throughput measurement for an active-active subscription
networkingDeploymentCidr This property is required. String
Deployment CIDR mask. The total number of bits must be 24 (x.x.x.x/24)
readOperationsPerSecond This property is required. Integer

Throughput measurement for an active-active subscription

Note: If changes are made to attributes in the subscription which require the subscription to be recreated (such as cloud_provider or payment_method), the creation_plan will need to be defined in order to change these attributes. This is because the creation_plan is always required when a subscription is created.

region This property is required. String
Deployment region as defined by cloud provider
writeOperationsPerSecond This property is required. Integer
Throughput measurement for an active-active subscription
networkingDeploymentCidr This property is required. string
Deployment CIDR mask. The total number of bits must be 24 (x.x.x.x/24)
readOperationsPerSecond This property is required. number

Throughput measurement for an active-active subscription

Note: If changes are made to attributes in the subscription which require the subscription to be recreated (such as cloud_provider or payment_method), the creation_plan will need to be defined in order to change these attributes. This is because the creation_plan is always required when a subscription is created.

region This property is required. string
Deployment region as defined by cloud provider
writeOperationsPerSecond This property is required. number
Throughput measurement for an active-active subscription
networking_deployment_cidr This property is required. str
Deployment CIDR mask. The total number of bits must be 24 (x.x.x.x/24)
read_operations_per_second This property is required. int

Throughput measurement for an active-active subscription

Note: If changes are made to attributes in the subscription which require the subscription to be recreated (such as cloud_provider or payment_method), the creation_plan will need to be defined in order to change these attributes. This is because the creation_plan is always required when a subscription is created.

region This property is required. str
Deployment region as defined by cloud provider
write_operations_per_second This property is required. int
Throughput measurement for an active-active subscription
networkingDeploymentCidr This property is required. String
Deployment CIDR mask. The total number of bits must be 24 (x.x.x.x/24)
readOperationsPerSecond This property is required. Number

Throughput measurement for an active-active subscription

Note: If changes are made to attributes in the subscription which require the subscription to be recreated (such as cloud_provider or payment_method), the creation_plan will need to be defined in order to change these attributes. This is because the creation_plan is always required when a subscription is created.

region This property is required. String
Deployment region as defined by cloud provider
writeOperationsPerSecond This property is required. Number
Throughput measurement for an active-active subscription

Package Details

Repository
rediscloud RedisLabs/pulumi-rediscloud
License
Apache-2.0
Notes
This Pulumi package is based on the rediscloud Terraform Provider.