yandex.MdbRedisCluster
Explore with Pulumi AI
Manages a Redis cluster within the Yandex.Cloud. For more information, see the official documentation.
Example Usage
Example of creating a Standalone Redis.
using Pulumi;
using Yandex = Pulumi.Yandex;
class MyStack : Stack
{
    public MyStack()
    {
        var fooVpcNetwork = new Yandex.VpcNetwork("fooVpcNetwork", new Yandex.VpcNetworkArgs
        {
        });
        var fooVpcSubnet = new Yandex.VpcSubnet("fooVpcSubnet", new Yandex.VpcSubnetArgs
        {
            NetworkId = fooVpcNetwork.Id,
            V4CidrBlocks = 
            {
                "10.5.0.0/24",
            },
            Zone = "ru-central1-a",
        });
        var fooMdbRedisCluster = new Yandex.MdbRedisCluster("fooMdbRedisCluster", new Yandex.MdbRedisClusterArgs
        {
            Config = new Yandex.Inputs.MdbRedisClusterConfigArgs
            {
                Password = "your_password",
                Version = "6.0",
            },
            Environment = "PRESTABLE",
            Hosts = 
            {
                new Yandex.Inputs.MdbRedisClusterHostArgs
                {
                    SubnetId = fooVpcSubnet.Id,
                    Zone = "ru-central1-a",
                },
            },
            MaintenanceWindow = new Yandex.Inputs.MdbRedisClusterMaintenanceWindowArgs
            {
                Type = "ANYTIME",
            },
            NetworkId = fooVpcNetwork.Id,
            Resources = new Yandex.Inputs.MdbRedisClusterResourcesArgs
            {
                DiskSize = 16,
                ResourcePresetId = "hm1.nano",
            },
        });
    }
}
package main
import (
	"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVpcNetwork, err := yandex.NewVpcNetwork(ctx, "fooVpcNetwork", nil)
		if err != nil {
			return err
		}
		fooVpcSubnet, err := yandex.NewVpcSubnet(ctx, "fooVpcSubnet", &yandex.VpcSubnetArgs{
			NetworkId: fooVpcNetwork.ID(),
			V4CidrBlocks: pulumi.StringArray{
				pulumi.String("10.5.0.0/24"),
			},
			Zone: pulumi.String("ru-central1-a"),
		})
		if err != nil {
			return err
		}
		_, err = yandex.NewMdbRedisCluster(ctx, "fooMdbRedisCluster", &yandex.MdbRedisClusterArgs{
			Config: &MdbRedisClusterConfigArgs{
				Password: pulumi.String("your_password"),
				Version:  pulumi.String("6.0"),
			},
			Environment: pulumi.String("PRESTABLE"),
			Hosts: MdbRedisClusterHostArray{
				&MdbRedisClusterHostArgs{
					SubnetId: fooVpcSubnet.ID(),
					Zone:     pulumi.String("ru-central1-a"),
				},
			},
			MaintenanceWindow: &MdbRedisClusterMaintenanceWindowArgs{
				Type: pulumi.String("ANYTIME"),
			},
			NetworkId: fooVpcNetwork.ID(),
			Resources: &MdbRedisClusterResourcesArgs{
				DiskSize:         pulumi.Int(16),
				ResourcePresetId: pulumi.String("hm1.nano"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";
const fooVpcNetwork = new yandex.VpcNetwork("foo", {});
const fooVpcSubnet = new yandex.VpcSubnet("foo", {
    networkId: fooVpcNetwork.id,
    v4CidrBlocks: ["10.5.0.0/24"],
    zone: "ru-central1-a",
});
const fooMdbRedisCluster = new yandex.MdbRedisCluster("foo", {
    config: {
        password: "your_password",
        version: "6.0",
    },
    environment: "PRESTABLE",
    hosts: [{
        subnetId: fooVpcSubnet.id,
        zone: "ru-central1-a",
    }],
    maintenanceWindow: {
        type: "ANYTIME",
    },
    networkId: fooVpcNetwork.id,
    resources: {
        diskSize: 16,
        resourcePresetId: "hm1.nano",
    },
});
import pulumi
import pulumi_yandex as yandex
foo_vpc_network = yandex.VpcNetwork("fooVpcNetwork")
foo_vpc_subnet = yandex.VpcSubnet("fooVpcSubnet",
    network_id=foo_vpc_network.id,
    v4_cidr_blocks=["10.5.0.0/24"],
    zone="ru-central1-a")
foo_mdb_redis_cluster = yandex.MdbRedisCluster("fooMdbRedisCluster",
    config=yandex.MdbRedisClusterConfigArgs(
        password="your_password",
        version="6.0",
    ),
    environment="PRESTABLE",
    hosts=[yandex.MdbRedisClusterHostArgs(
        subnet_id=foo_vpc_subnet.id,
        zone="ru-central1-a",
    )],
    maintenance_window=yandex.MdbRedisClusterMaintenanceWindowArgs(
        type="ANYTIME",
    ),
    network_id=foo_vpc_network.id,
    resources=yandex.MdbRedisClusterResourcesArgs(
        disk_size=16,
        resource_preset_id="hm1.nano",
    ))
Coming soon!
Example of creating a sharded Redis Cluster.
using Pulumi;
using Yandex = Pulumi.Yandex;
class MyStack : Stack
{
    public MyStack()
    {
        var fooVpcNetwork = new Yandex.VpcNetwork("fooVpcNetwork", new Yandex.VpcNetworkArgs
        {
        });
        var fooVpcSubnet = new Yandex.VpcSubnet("fooVpcSubnet", new Yandex.VpcSubnetArgs
        {
            NetworkId = fooVpcNetwork.Id,
            V4CidrBlocks = 
            {
                "10.1.0.0/24",
            },
            Zone = "ru-central1-a",
        });
        var bar = new Yandex.VpcSubnet("bar", new Yandex.VpcSubnetArgs
        {
            NetworkId = fooVpcNetwork.Id,
            V4CidrBlocks = 
            {
                "10.2.0.0/24",
            },
            Zone = "ru-central1-b",
        });
        var baz = new Yandex.VpcSubnet("baz", new Yandex.VpcSubnetArgs
        {
            NetworkId = fooVpcNetwork.Id,
            V4CidrBlocks = 
            {
                "10.3.0.0/24",
            },
            Zone = "ru-central1-c",
        });
        var fooMdbRedisCluster = new Yandex.MdbRedisCluster("fooMdbRedisCluster", new Yandex.MdbRedisClusterArgs
        {
            Config = new Yandex.Inputs.MdbRedisClusterConfigArgs
            {
                Password = "your_password",
                Version = "6.0",
            },
            Environment = "PRESTABLE",
            Hosts = 
            {
                new Yandex.Inputs.MdbRedisClusterHostArgs
                {
                    ShardName = "first",
                    SubnetId = fooVpcSubnet.Id,
                    Zone = "ru-central1-a",
                },
                new Yandex.Inputs.MdbRedisClusterHostArgs
                {
                    ShardName = "second",
                    SubnetId = bar.Id,
                    Zone = "ru-central1-b",
                },
                new Yandex.Inputs.MdbRedisClusterHostArgs
                {
                    ShardName = "third",
                    SubnetId = baz.Id,
                    Zone = "ru-central1-c",
                },
            },
            NetworkId = fooVpcNetwork.Id,
            Resources = new Yandex.Inputs.MdbRedisClusterResourcesArgs
            {
                DiskSize = 16,
                ResourcePresetId = "hm1.nano",
            },
            Sharded = true,
        });
    }
}
package main
import (
	"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVpcNetwork, err := yandex.NewVpcNetwork(ctx, "fooVpcNetwork", nil)
		if err != nil {
			return err
		}
		fooVpcSubnet, err := yandex.NewVpcSubnet(ctx, "fooVpcSubnet", &yandex.VpcSubnetArgs{
			NetworkId: fooVpcNetwork.ID(),
			V4CidrBlocks: pulumi.StringArray{
				pulumi.String("10.1.0.0/24"),
			},
			Zone: pulumi.String("ru-central1-a"),
		})
		if err != nil {
			return err
		}
		bar, err := yandex.NewVpcSubnet(ctx, "bar", &yandex.VpcSubnetArgs{
			NetworkId: fooVpcNetwork.ID(),
			V4CidrBlocks: pulumi.StringArray{
				pulumi.String("10.2.0.0/24"),
			},
			Zone: pulumi.String("ru-central1-b"),
		})
		if err != nil {
			return err
		}
		baz, err := yandex.NewVpcSubnet(ctx, "baz", &yandex.VpcSubnetArgs{
			NetworkId: fooVpcNetwork.ID(),
			V4CidrBlocks: pulumi.StringArray{
				pulumi.String("10.3.0.0/24"),
			},
			Zone: pulumi.String("ru-central1-c"),
		})
		if err != nil {
			return err
		}
		_, err = yandex.NewMdbRedisCluster(ctx, "fooMdbRedisCluster", &yandex.MdbRedisClusterArgs{
			Config: &MdbRedisClusterConfigArgs{
				Password: pulumi.String("your_password"),
				Version:  pulumi.String("6.0"),
			},
			Environment: pulumi.String("PRESTABLE"),
			Hosts: MdbRedisClusterHostArray{
				&MdbRedisClusterHostArgs{
					ShardName: pulumi.String("first"),
					SubnetId:  fooVpcSubnet.ID(),
					Zone:      pulumi.String("ru-central1-a"),
				},
				&MdbRedisClusterHostArgs{
					ShardName: pulumi.String("second"),
					SubnetId:  bar.ID(),
					Zone:      pulumi.String("ru-central1-b"),
				},
				&MdbRedisClusterHostArgs{
					ShardName: pulumi.String("third"),
					SubnetId:  baz.ID(),
					Zone:      pulumi.String("ru-central1-c"),
				},
			},
			NetworkId: fooVpcNetwork.ID(),
			Resources: &MdbRedisClusterResourcesArgs{
				DiskSize:         pulumi.Int(16),
				ResourcePresetId: pulumi.String("hm1.nano"),
			},
			Sharded: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";
const fooVpcNetwork = new yandex.VpcNetwork("foo", {});
const fooVpcSubnet = new yandex.VpcSubnet("foo", {
    networkId: fooVpcNetwork.id,
    v4CidrBlocks: ["10.1.0.0/24"],
    zone: "ru-central1-a",
});
const bar = new yandex.VpcSubnet("bar", {
    networkId: fooVpcNetwork.id,
    v4CidrBlocks: ["10.2.0.0/24"],
    zone: "ru-central1-b",
});
const baz = new yandex.VpcSubnet("baz", {
    networkId: fooVpcNetwork.id,
    v4CidrBlocks: ["10.3.0.0/24"],
    zone: "ru-central1-c",
});
const fooMdbRedisCluster = new yandex.MdbRedisCluster("foo", {
    config: {
        password: "your_password",
        version: "6.0",
    },
    environment: "PRESTABLE",
    hosts: [
        {
            shardName: "first",
            subnetId: fooVpcSubnet.id,
            zone: "ru-central1-a",
        },
        {
            shardName: "second",
            subnetId: bar.id,
            zone: "ru-central1-b",
        },
        {
            shardName: "third",
            subnetId: baz.id,
            zone: "ru-central1-c",
        },
    ],
    networkId: fooVpcNetwork.id,
    resources: {
        diskSize: 16,
        resourcePresetId: "hm1.nano",
    },
    sharded: true,
});
import pulumi
import pulumi_yandex as yandex
foo_vpc_network = yandex.VpcNetwork("fooVpcNetwork")
foo_vpc_subnet = yandex.VpcSubnet("fooVpcSubnet",
    network_id=foo_vpc_network.id,
    v4_cidr_blocks=["10.1.0.0/24"],
    zone="ru-central1-a")
bar = yandex.VpcSubnet("bar",
    network_id=foo_vpc_network.id,
    v4_cidr_blocks=["10.2.0.0/24"],
    zone="ru-central1-b")
baz = yandex.VpcSubnet("baz",
    network_id=foo_vpc_network.id,
    v4_cidr_blocks=["10.3.0.0/24"],
    zone="ru-central1-c")
foo_mdb_redis_cluster = yandex.MdbRedisCluster("fooMdbRedisCluster",
    config=yandex.MdbRedisClusterConfigArgs(
        password="your_password",
        version="6.0",
    ),
    environment="PRESTABLE",
    hosts=[
        yandex.MdbRedisClusterHostArgs(
            shard_name="first",
            subnet_id=foo_vpc_subnet.id,
            zone="ru-central1-a",
        ),
        yandex.MdbRedisClusterHostArgs(
            shard_name="second",
            subnet_id=bar.id,
            zone="ru-central1-b",
        ),
        yandex.MdbRedisClusterHostArgs(
            shard_name="third",
            subnet_id=baz.id,
            zone="ru-central1-c",
        ),
    ],
    network_id=foo_vpc_network.id,
    resources=yandex.MdbRedisClusterResourcesArgs(
        disk_size=16,
        resource_preset_id="hm1.nano",
    ),
    sharded=True)
Coming soon!
Create MdbRedisCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MdbRedisCluster(name: string, args: MdbRedisClusterArgs, opts?: CustomResourceOptions);@overload
def MdbRedisCluster(resource_name: str,
                    args: MdbRedisClusterArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def MdbRedisCluster(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    network_id: Optional[str] = None,
                    hosts: Optional[Sequence[MdbRedisClusterHostArgs]] = None,
                    resources: Optional[MdbRedisClusterResourcesArgs] = None,
                    environment: Optional[str] = None,
                    config: Optional[MdbRedisClusterConfigArgs] = None,
                    folder_id: Optional[str] = None,
                    name: Optional[str] = None,
                    sharded: Optional[bool] = None,
                    deletion_protection: Optional[bool] = None,
                    labels: Optional[Mapping[str, str]] = None,
                    description: Optional[str] = None,
                    security_group_ids: Optional[Sequence[str]] = None,
                    maintenance_window: Optional[MdbRedisClusterMaintenanceWindowArgs] = None,
                    tls_enabled: Optional[bool] = None)func NewMdbRedisCluster(ctx *Context, name string, args MdbRedisClusterArgs, opts ...ResourceOption) (*MdbRedisCluster, error)public MdbRedisCluster(string name, MdbRedisClusterArgs args, CustomResourceOptions? opts = null)
public MdbRedisCluster(String name, MdbRedisClusterArgs args)
public MdbRedisCluster(String name, MdbRedisClusterArgs args, CustomResourceOptions options)
type: yandex:MdbRedisCluster
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 MdbRedisClusterArgs
- 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 MdbRedisClusterArgs
- 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 MdbRedisClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MdbRedisClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MdbRedisClusterArgs
- 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 mdbRedisClusterResource = new Yandex.MdbRedisCluster("mdbRedisClusterResource", new()
{
    NetworkId = "string",
    Hosts = new[]
    {
        new Yandex.Inputs.MdbRedisClusterHostArgs
        {
            Zone = "string",
            Fqdn = "string",
            ShardName = "string",
            SubnetId = "string",
        },
    },
    Resources = new Yandex.Inputs.MdbRedisClusterResourcesArgs
    {
        DiskSize = 0,
        ResourcePresetId = "string",
        DiskTypeId = "string",
    },
    Environment = "string",
    Config = new Yandex.Inputs.MdbRedisClusterConfigArgs
    {
        Password = "string",
        Version = "string",
        Databases = 0,
        MaxmemoryPolicy = "string",
        NotifyKeyspaceEvents = "string",
        SlowlogLogSlowerThan = 0,
        SlowlogMaxLen = 0,
        Timeout = 0,
    },
    FolderId = "string",
    Name = "string",
    Sharded = false,
    DeletionProtection = false,
    Labels = 
    {
        { "string", "string" },
    },
    Description = "string",
    SecurityGroupIds = new[]
    {
        "string",
    },
    MaintenanceWindow = new Yandex.Inputs.MdbRedisClusterMaintenanceWindowArgs
    {
        Type = "string",
        Day = "string",
        Hour = 0,
    },
    TlsEnabled = false,
});
example, err := yandex.NewMdbRedisCluster(ctx, "mdbRedisClusterResource", &yandex.MdbRedisClusterArgs{
	NetworkId: pulumi.String("string"),
	Hosts: yandex.MdbRedisClusterHostArray{
		&yandex.MdbRedisClusterHostArgs{
			Zone:      pulumi.String("string"),
			Fqdn:      pulumi.String("string"),
			ShardName: pulumi.String("string"),
			SubnetId:  pulumi.String("string"),
		},
	},
	Resources: &yandex.MdbRedisClusterResourcesArgs{
		DiskSize:         pulumi.Int(0),
		ResourcePresetId: pulumi.String("string"),
		DiskTypeId:       pulumi.String("string"),
	},
	Environment: pulumi.String("string"),
	Config: &yandex.MdbRedisClusterConfigArgs{
		Password:             pulumi.String("string"),
		Version:              pulumi.String("string"),
		Databases:            pulumi.Int(0),
		MaxmemoryPolicy:      pulumi.String("string"),
		NotifyKeyspaceEvents: pulumi.String("string"),
		SlowlogLogSlowerThan: pulumi.Int(0),
		SlowlogMaxLen:        pulumi.Int(0),
		Timeout:              pulumi.Int(0),
	},
	FolderId:           pulumi.String("string"),
	Name:               pulumi.String("string"),
	Sharded:            pulumi.Bool(false),
	DeletionProtection: pulumi.Bool(false),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	SecurityGroupIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	MaintenanceWindow: &yandex.MdbRedisClusterMaintenanceWindowArgs{
		Type: pulumi.String("string"),
		Day:  pulumi.String("string"),
		Hour: pulumi.Int(0),
	},
	TlsEnabled: pulumi.Bool(false),
})
var mdbRedisClusterResource = new MdbRedisCluster("mdbRedisClusterResource", MdbRedisClusterArgs.builder()
    .networkId("string")
    .hosts(MdbRedisClusterHostArgs.builder()
        .zone("string")
        .fqdn("string")
        .shardName("string")
        .subnetId("string")
        .build())
    .resources(MdbRedisClusterResourcesArgs.builder()
        .diskSize(0)
        .resourcePresetId("string")
        .diskTypeId("string")
        .build())
    .environment("string")
    .config(MdbRedisClusterConfigArgs.builder()
        .password("string")
        .version("string")
        .databases(0)
        .maxmemoryPolicy("string")
        .notifyKeyspaceEvents("string")
        .slowlogLogSlowerThan(0)
        .slowlogMaxLen(0)
        .timeout(0)
        .build())
    .folderId("string")
    .name("string")
    .sharded(false)
    .deletionProtection(false)
    .labels(Map.of("string", "string"))
    .description("string")
    .securityGroupIds("string")
    .maintenanceWindow(MdbRedisClusterMaintenanceWindowArgs.builder()
        .type("string")
        .day("string")
        .hour(0)
        .build())
    .tlsEnabled(false)
    .build());
mdb_redis_cluster_resource = yandex.MdbRedisCluster("mdbRedisClusterResource",
    network_id="string",
    hosts=[{
        "zone": "string",
        "fqdn": "string",
        "shard_name": "string",
        "subnet_id": "string",
    }],
    resources={
        "disk_size": 0,
        "resource_preset_id": "string",
        "disk_type_id": "string",
    },
    environment="string",
    config={
        "password": "string",
        "version": "string",
        "databases": 0,
        "maxmemory_policy": "string",
        "notify_keyspace_events": "string",
        "slowlog_log_slower_than": 0,
        "slowlog_max_len": 0,
        "timeout": 0,
    },
    folder_id="string",
    name="string",
    sharded=False,
    deletion_protection=False,
    labels={
        "string": "string",
    },
    description="string",
    security_group_ids=["string"],
    maintenance_window={
        "type": "string",
        "day": "string",
        "hour": 0,
    },
    tls_enabled=False)
const mdbRedisClusterResource = new yandex.MdbRedisCluster("mdbRedisClusterResource", {
    networkId: "string",
    hosts: [{
        zone: "string",
        fqdn: "string",
        shardName: "string",
        subnetId: "string",
    }],
    resources: {
        diskSize: 0,
        resourcePresetId: "string",
        diskTypeId: "string",
    },
    environment: "string",
    config: {
        password: "string",
        version: "string",
        databases: 0,
        maxmemoryPolicy: "string",
        notifyKeyspaceEvents: "string",
        slowlogLogSlowerThan: 0,
        slowlogMaxLen: 0,
        timeout: 0,
    },
    folderId: "string",
    name: "string",
    sharded: false,
    deletionProtection: false,
    labels: {
        string: "string",
    },
    description: "string",
    securityGroupIds: ["string"],
    maintenanceWindow: {
        type: "string",
        day: "string",
        hour: 0,
    },
    tlsEnabled: false,
});
type: yandex:MdbRedisCluster
properties:
    config:
        databases: 0
        maxmemoryPolicy: string
        notifyKeyspaceEvents: string
        password: string
        slowlogLogSlowerThan: 0
        slowlogMaxLen: 0
        timeout: 0
        version: string
    deletionProtection: false
    description: string
    environment: string
    folderId: string
    hosts:
        - fqdn: string
          shardName: string
          subnetId: string
          zone: string
    labels:
        string: string
    maintenanceWindow:
        day: string
        hour: 0
        type: string
    name: string
    networkId: string
    resources:
        diskSize: 0
        diskTypeId: string
        resourcePresetId: string
    securityGroupIds:
        - string
    sharded: false
    tlsEnabled: false
MdbRedisCluster 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 MdbRedisCluster resource accepts the following input properties:
- Config
MdbRedis Cluster Config 
- Configuration of the Redis cluster. The structure is documented below.
- Environment string
- Deployment environment of the Redis cluster. Can be either PRESTABLEorPRODUCTION.
- Hosts
List<MdbRedis Cluster Host> 
- A host of the Redis cluster. The structure is documented below.
- NetworkId string
- ID of the network, to which the Redis cluster belongs.
- Resources
MdbRedis Cluster Resources 
- Resources allocated to hosts of the Redis cluster. The structure is documented below.
- DeletionProtection bool
- Inhibits deletion of the cluster. Can be either trueorfalse.
- Description string
- Description of the Redis cluster.
- FolderId string
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Labels Dictionary<string, string>
- A set of key/value label pairs to assign to the Redis cluster.
- MaintenanceWindow MdbRedis Cluster Maintenance Window 
- Name string
- Name of the Redis cluster. Provided by the client when the cluster is created.
- SecurityGroup List<string>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- bool
- Redis Cluster mode enabled/disabled.
- TlsEnabled bool
- tls support mode enabled/disabled.
- Config
MdbRedis Cluster Config Args 
- Configuration of the Redis cluster. The structure is documented below.
- Environment string
- Deployment environment of the Redis cluster. Can be either PRESTABLEorPRODUCTION.
- Hosts
[]MdbRedis Cluster Host Args 
- A host of the Redis cluster. The structure is documented below.
- NetworkId string
- ID of the network, to which the Redis cluster belongs.
- Resources
MdbRedis Cluster Resources Args 
- Resources allocated to hosts of the Redis cluster. The structure is documented below.
- DeletionProtection bool
- Inhibits deletion of the cluster. Can be either trueorfalse.
- Description string
- Description of the Redis cluster.
- FolderId string
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Labels map[string]string
- A set of key/value label pairs to assign to the Redis cluster.
- MaintenanceWindow MdbRedis Cluster Maintenance Window Args 
- Name string
- Name of the Redis cluster. Provided by the client when the cluster is created.
- SecurityGroup []stringIds 
- A set of ids of security groups assigned to hosts of the cluster.
- bool
- Redis Cluster mode enabled/disabled.
- TlsEnabled bool
- tls support mode enabled/disabled.
- config
MdbRedis Cluster Config 
- Configuration of the Redis cluster. The structure is documented below.
- environment String
- Deployment environment of the Redis cluster. Can be either PRESTABLEorPRODUCTION.
- hosts
List<MdbRedis Cluster Host> 
- A host of the Redis cluster. The structure is documented below.
- networkId String
- ID of the network, to which the Redis cluster belongs.
- resources
MdbRedis Cluster Resources 
- Resources allocated to hosts of the Redis cluster. The structure is documented below.
- deletionProtection Boolean
- Inhibits deletion of the cluster. Can be either trueorfalse.
- description String
- Description of the Redis cluster.
- folderId String
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels Map<String,String>
- A set of key/value label pairs to assign to the Redis cluster.
- maintenanceWindow MdbRedis Cluster Maintenance Window 
- name String
- Name of the Redis cluster. Provided by the client when the cluster is created.
- securityGroup List<String>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- Boolean
- Redis Cluster mode enabled/disabled.
- tlsEnabled Boolean
- tls support mode enabled/disabled.
- config
MdbRedis Cluster Config 
- Configuration of the Redis cluster. The structure is documented below.
- environment string
- Deployment environment of the Redis cluster. Can be either PRESTABLEorPRODUCTION.
- hosts
MdbRedis Cluster Host[] 
- A host of the Redis cluster. The structure is documented below.
- networkId string
- ID of the network, to which the Redis cluster belongs.
- resources
MdbRedis Cluster Resources 
- Resources allocated to hosts of the Redis cluster. The structure is documented below.
- deletionProtection boolean
- Inhibits deletion of the cluster. Can be either trueorfalse.
- description string
- Description of the Redis cluster.
- folderId string
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels {[key: string]: string}
- A set of key/value label pairs to assign to the Redis cluster.
- maintenanceWindow MdbRedis Cluster Maintenance Window 
- name string
- Name of the Redis cluster. Provided by the client when the cluster is created.
- securityGroup string[]Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- boolean
- Redis Cluster mode enabled/disabled.
- tlsEnabled boolean
- tls support mode enabled/disabled.
- config
MdbRedis Cluster Config Args 
- Configuration of the Redis cluster. The structure is documented below.
- environment str
- Deployment environment of the Redis cluster. Can be either PRESTABLEorPRODUCTION.
- hosts
Sequence[MdbRedis Cluster Host Args] 
- A host of the Redis cluster. The structure is documented below.
- network_id str
- ID of the network, to which the Redis cluster belongs.
- resources
MdbRedis Cluster Resources Args 
- Resources allocated to hosts of the Redis cluster. The structure is documented below.
- deletion_protection bool
- Inhibits deletion of the cluster. Can be either trueorfalse.
- description str
- Description of the Redis cluster.
- folder_id str
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels Mapping[str, str]
- A set of key/value label pairs to assign to the Redis cluster.
- maintenance_window MdbRedis Cluster Maintenance Window Args 
- name str
- Name of the Redis cluster. Provided by the client when the cluster is created.
- security_group_ Sequence[str]ids 
- A set of ids of security groups assigned to hosts of the cluster.
- bool
- Redis Cluster mode enabled/disabled.
- tls_enabled bool
- tls support mode enabled/disabled.
- config Property Map
- Configuration of the Redis cluster. The structure is documented below.
- environment String
- Deployment environment of the Redis cluster. Can be either PRESTABLEorPRODUCTION.
- hosts List<Property Map>
- A host of the Redis cluster. The structure is documented below.
- networkId String
- ID of the network, to which the Redis cluster belongs.
- resources Property Map
- Resources allocated to hosts of the Redis cluster. The structure is documented below.
- deletionProtection Boolean
- Inhibits deletion of the cluster. Can be either trueorfalse.
- description String
- Description of the Redis cluster.
- folderId String
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels Map<String>
- A set of key/value label pairs to assign to the Redis cluster.
- maintenanceWindow Property Map
- name String
- Name of the Redis cluster. Provided by the client when the cluster is created.
- securityGroup List<String>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- Boolean
- Redis Cluster mode enabled/disabled.
- tlsEnabled Boolean
- tls support mode enabled/disabled.
Outputs
All input properties are implicitly available as output properties. Additionally, the MdbRedisCluster resource produces the following output properties:
- CreatedAt string
- Creation timestamp of the key.
- Health string
- Aggregated health of the cluster. Can be either ALIVE,DEGRADED,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- CreatedAt string
- Creation timestamp of the key.
- Health string
- Aggregated health of the cluster. Can be either ALIVE,DEGRADED,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- createdAt String
- Creation timestamp of the key.
- health String
- Aggregated health of the cluster. Can be either ALIVE,DEGRADED,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- createdAt string
- Creation timestamp of the key.
- health string
- Aggregated health of the cluster. Can be either ALIVE,DEGRADED,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- created_at str
- Creation timestamp of the key.
- health str
- Aggregated health of the cluster. Can be either ALIVE,DEGRADED,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- createdAt String
- Creation timestamp of the key.
- health String
- Aggregated health of the cluster. Can be either ALIVE,DEGRADED,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
Look up Existing MdbRedisCluster Resource
Get an existing MdbRedisCluster 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?: MdbRedisClusterState, opts?: CustomResourceOptions): MdbRedisCluster@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        config: Optional[MdbRedisClusterConfigArgs] = None,
        created_at: Optional[str] = None,
        deletion_protection: Optional[bool] = None,
        description: Optional[str] = None,
        environment: Optional[str] = None,
        folder_id: Optional[str] = None,
        health: Optional[str] = None,
        hosts: Optional[Sequence[MdbRedisClusterHostArgs]] = None,
        labels: Optional[Mapping[str, str]] = None,
        maintenance_window: Optional[MdbRedisClusterMaintenanceWindowArgs] = None,
        name: Optional[str] = None,
        network_id: Optional[str] = None,
        resources: Optional[MdbRedisClusterResourcesArgs] = None,
        security_group_ids: Optional[Sequence[str]] = None,
        sharded: Optional[bool] = None,
        status: Optional[str] = None,
        tls_enabled: Optional[bool] = None) -> MdbRedisClusterfunc GetMdbRedisCluster(ctx *Context, name string, id IDInput, state *MdbRedisClusterState, opts ...ResourceOption) (*MdbRedisCluster, error)public static MdbRedisCluster Get(string name, Input<string> id, MdbRedisClusterState? state, CustomResourceOptions? opts = null)public static MdbRedisCluster get(String name, Output<String> id, MdbRedisClusterState state, CustomResourceOptions options)resources:  _:    type: yandex:MdbRedisCluster    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.
- Config
MdbRedis Cluster Config 
- Configuration of the Redis cluster. The structure is documented below.
- CreatedAt string
- Creation timestamp of the key.
- DeletionProtection bool
- Inhibits deletion of the cluster. Can be either trueorfalse.
- Description string
- Description of the Redis cluster.
- Environment string
- Deployment environment of the Redis cluster. Can be either PRESTABLEorPRODUCTION.
- FolderId string
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Health string
- Aggregated health of the cluster. Can be either ALIVE,DEGRADED,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- Hosts
List<MdbRedis Cluster Host> 
- A host of the Redis cluster. The structure is documented below.
- Labels Dictionary<string, string>
- A set of key/value label pairs to assign to the Redis cluster.
- MaintenanceWindow MdbRedis Cluster Maintenance Window 
- Name string
- Name of the Redis cluster. Provided by the client when the cluster is created.
- NetworkId string
- ID of the network, to which the Redis cluster belongs.
- Resources
MdbRedis Cluster Resources 
- Resources allocated to hosts of the Redis cluster. The structure is documented below.
- SecurityGroup List<string>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- Sharded bool
- Redis Cluster mode enabled/disabled.
- Status string
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- TlsEnabled bool
- tls support mode enabled/disabled.
- Config
MdbRedis Cluster Config Args 
- Configuration of the Redis cluster. The structure is documented below.
- CreatedAt string
- Creation timestamp of the key.
- DeletionProtection bool
- Inhibits deletion of the cluster. Can be either trueorfalse.
- Description string
- Description of the Redis cluster.
- Environment string
- Deployment environment of the Redis cluster. Can be either PRESTABLEorPRODUCTION.
- FolderId string
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Health string
- Aggregated health of the cluster. Can be either ALIVE,DEGRADED,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- Hosts
[]MdbRedis Cluster Host Args 
- A host of the Redis cluster. The structure is documented below.
- Labels map[string]string
- A set of key/value label pairs to assign to the Redis cluster.
- MaintenanceWindow MdbRedis Cluster Maintenance Window Args 
- Name string
- Name of the Redis cluster. Provided by the client when the cluster is created.
- NetworkId string
- ID of the network, to which the Redis cluster belongs.
- Resources
MdbRedis Cluster Resources Args 
- Resources allocated to hosts of the Redis cluster. The structure is documented below.
- SecurityGroup []stringIds 
- A set of ids of security groups assigned to hosts of the cluster.
- Sharded bool
- Redis Cluster mode enabled/disabled.
- Status string
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- TlsEnabled bool
- tls support mode enabled/disabled.
- config
MdbRedis Cluster Config 
- Configuration of the Redis cluster. The structure is documented below.
- createdAt String
- Creation timestamp of the key.
- deletionProtection Boolean
- Inhibits deletion of the cluster. Can be either trueorfalse.
- description String
- Description of the Redis cluster.
- environment String
- Deployment environment of the Redis cluster. Can be either PRESTABLEorPRODUCTION.
- folderId String
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- health String
- Aggregated health of the cluster. Can be either ALIVE,DEGRADED,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- hosts
List<MdbRedis Cluster Host> 
- A host of the Redis cluster. The structure is documented below.
- labels Map<String,String>
- A set of key/value label pairs to assign to the Redis cluster.
- maintenanceWindow MdbRedis Cluster Maintenance Window 
- name String
- Name of the Redis cluster. Provided by the client when the cluster is created.
- networkId String
- ID of the network, to which the Redis cluster belongs.
- resources
MdbRedis Cluster Resources 
- Resources allocated to hosts of the Redis cluster. The structure is documented below.
- securityGroup List<String>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- sharded Boolean
- Redis Cluster mode enabled/disabled.
- status String
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- tlsEnabled Boolean
- tls support mode enabled/disabled.
- config
MdbRedis Cluster Config 
- Configuration of the Redis cluster. The structure is documented below.
- createdAt string
- Creation timestamp of the key.
- deletionProtection boolean
- Inhibits deletion of the cluster. Can be either trueorfalse.
- description string
- Description of the Redis cluster.
- environment string
- Deployment environment of the Redis cluster. Can be either PRESTABLEorPRODUCTION.
- folderId string
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- health string
- Aggregated health of the cluster. Can be either ALIVE,DEGRADED,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- hosts
MdbRedis Cluster Host[] 
- A host of the Redis cluster. The structure is documented below.
- labels {[key: string]: string}
- A set of key/value label pairs to assign to the Redis cluster.
- maintenanceWindow MdbRedis Cluster Maintenance Window 
- name string
- Name of the Redis cluster. Provided by the client when the cluster is created.
- networkId string
- ID of the network, to which the Redis cluster belongs.
- resources
MdbRedis Cluster Resources 
- Resources allocated to hosts of the Redis cluster. The structure is documented below.
- securityGroup string[]Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- sharded boolean
- Redis Cluster mode enabled/disabled.
- status string
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- tlsEnabled boolean
- tls support mode enabled/disabled.
- config
MdbRedis Cluster Config Args 
- Configuration of the Redis cluster. The structure is documented below.
- created_at str
- Creation timestamp of the key.
- deletion_protection bool
- Inhibits deletion of the cluster. Can be either trueorfalse.
- description str
- Description of the Redis cluster.
- environment str
- Deployment environment of the Redis cluster. Can be either PRESTABLEorPRODUCTION.
- folder_id str
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- health str
- Aggregated health of the cluster. Can be either ALIVE,DEGRADED,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- hosts
Sequence[MdbRedis Cluster Host Args] 
- A host of the Redis cluster. The structure is documented below.
- labels Mapping[str, str]
- A set of key/value label pairs to assign to the Redis cluster.
- maintenance_window MdbRedis Cluster Maintenance Window Args 
- name str
- Name of the Redis cluster. Provided by the client when the cluster is created.
- network_id str
- ID of the network, to which the Redis cluster belongs.
- resources
MdbRedis Cluster Resources Args 
- Resources allocated to hosts of the Redis cluster. The structure is documented below.
- security_group_ Sequence[str]ids 
- A set of ids of security groups assigned to hosts of the cluster.
- sharded bool
- Redis Cluster mode enabled/disabled.
- status str
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- tls_enabled bool
- tls support mode enabled/disabled.
- config Property Map
- Configuration of the Redis cluster. The structure is documented below.
- createdAt String
- Creation timestamp of the key.
- deletionProtection Boolean
- Inhibits deletion of the cluster. Can be either trueorfalse.
- description String
- Description of the Redis cluster.
- environment String
- Deployment environment of the Redis cluster. Can be either PRESTABLEorPRODUCTION.
- folderId String
- The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- health String
- Aggregated health of the cluster. Can be either ALIVE,DEGRADED,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- hosts List<Property Map>
- A host of the Redis cluster. The structure is documented below.
- labels Map<String>
- A set of key/value label pairs to assign to the Redis cluster.
- maintenanceWindow Property Map
- name String
- Name of the Redis cluster. Provided by the client when the cluster is created.
- networkId String
- ID of the network, to which the Redis cluster belongs.
- resources Property Map
- Resources allocated to hosts of the Redis cluster. The structure is documented below.
- securityGroup List<String>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- sharded Boolean
- Redis Cluster mode enabled/disabled.
- status String
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- tlsEnabled Boolean
- tls support mode enabled/disabled.
Supporting Types
MdbRedisClusterConfig, MdbRedisClusterConfigArgs        
- Password string
- Password for the Redis cluster.
- Version string
- Version of Redis (5.0, 6.0 or 6.2).
- Databases int
- Number of databases (changing requires redis-server restart).
- MaxmemoryPolicy string
- Redis key eviction policy for a dataset that reaches maximum memory. Can be any of the listed in the official RedisDB documentation.
- NotifyKeyspace stringEvents 
- Select the events that Redis will notify among a set of classes.
- SlowlogLog intSlower Than 
- Log slow queries below this number in microseconds.
- SlowlogMax intLen 
- Slow queries log length.
- Timeout int
- Close the connection after a client is idle for N seconds.
- Password string
- Password for the Redis cluster.
- Version string
- Version of Redis (5.0, 6.0 or 6.2).
- Databases int
- Number of databases (changing requires redis-server restart).
- MaxmemoryPolicy string
- Redis key eviction policy for a dataset that reaches maximum memory. Can be any of the listed in the official RedisDB documentation.
- NotifyKeyspace stringEvents 
- Select the events that Redis will notify among a set of classes.
- SlowlogLog intSlower Than 
- Log slow queries below this number in microseconds.
- SlowlogMax intLen 
- Slow queries log length.
- Timeout int
- Close the connection after a client is idle for N seconds.
- password String
- Password for the Redis cluster.
- version String
- Version of Redis (5.0, 6.0 or 6.2).
- databases Integer
- Number of databases (changing requires redis-server restart).
- maxmemoryPolicy String
- Redis key eviction policy for a dataset that reaches maximum memory. Can be any of the listed in the official RedisDB documentation.
- notifyKeyspace StringEvents 
- Select the events that Redis will notify among a set of classes.
- slowlogLog IntegerSlower Than 
- Log slow queries below this number in microseconds.
- slowlogMax IntegerLen 
- Slow queries log length.
- timeout Integer
- Close the connection after a client is idle for N seconds.
- password string
- Password for the Redis cluster.
- version string
- Version of Redis (5.0, 6.0 or 6.2).
- databases number
- Number of databases (changing requires redis-server restart).
- maxmemoryPolicy string
- Redis key eviction policy for a dataset that reaches maximum memory. Can be any of the listed in the official RedisDB documentation.
- notifyKeyspace stringEvents 
- Select the events that Redis will notify among a set of classes.
- slowlogLog numberSlower Than 
- Log slow queries below this number in microseconds.
- slowlogMax numberLen 
- Slow queries log length.
- timeout number
- Close the connection after a client is idle for N seconds.
- password str
- Password for the Redis cluster.
- version str
- Version of Redis (5.0, 6.0 or 6.2).
- databases int
- Number of databases (changing requires redis-server restart).
- maxmemory_policy str
- Redis key eviction policy for a dataset that reaches maximum memory. Can be any of the listed in the official RedisDB documentation.
- notify_keyspace_ strevents 
- Select the events that Redis will notify among a set of classes.
- slowlog_log_ intslower_ than 
- Log slow queries below this number in microseconds.
- slowlog_max_ intlen 
- Slow queries log length.
- timeout int
- Close the connection after a client is idle for N seconds.
- password String
- Password for the Redis cluster.
- version String
- Version of Redis (5.0, 6.0 or 6.2).
- databases Number
- Number of databases (changing requires redis-server restart).
- maxmemoryPolicy String
- Redis key eviction policy for a dataset that reaches maximum memory. Can be any of the listed in the official RedisDB documentation.
- notifyKeyspace StringEvents 
- Select the events that Redis will notify among a set of classes.
- slowlogLog NumberSlower Than 
- Log slow queries below this number in microseconds.
- slowlogMax NumberLen 
- Slow queries log length.
- timeout Number
- Close the connection after a client is idle for N seconds.
MdbRedisClusterHost, MdbRedisClusterHostArgs        
- Zone string
- The availability zone where the Redis host will be created. For more information see the official documentation.
- Fqdn string
- The fully qualified domain name of the host.
- string
- The name of the shard to which the host belongs.
- SubnetId string
- The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- Zone string
- The availability zone where the Redis host will be created. For more information see the official documentation.
- Fqdn string
- The fully qualified domain name of the host.
- string
- The name of the shard to which the host belongs.
- SubnetId string
- The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- zone String
- The availability zone where the Redis host will be created. For more information see the official documentation.
- fqdn String
- The fully qualified domain name of the host.
- String
- The name of the shard to which the host belongs.
- subnetId String
- The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- zone string
- The availability zone where the Redis host will be created. For more information see the official documentation.
- fqdn string
- The fully qualified domain name of the host.
- string
- The name of the shard to which the host belongs.
- subnetId string
- The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- zone str
- The availability zone where the Redis host will be created. For more information see the official documentation.
- fqdn str
- The fully qualified domain name of the host.
- str
- The name of the shard to which the host belongs.
- subnet_id str
- The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
- zone String
- The availability zone where the Redis host will be created. For more information see the official documentation.
- fqdn String
- The fully qualified domain name of the host.
- String
- The name of the shard to which the host belongs.
- subnetId String
- The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
MdbRedisClusterMaintenanceWindow, MdbRedisClusterMaintenanceWindowArgs          
- Type string
- Type of maintenance window. Can be either ANYTIMEorWEEKLY. A day and hour of window need to be specified with weekly window.
- Day string
- Day of week for maintenance window if window type is weekly. Possible values: MON,TUE,WED,THU,FRI,SAT,SUN.
- Hour int
- Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
- Type string
- Type of maintenance window. Can be either ANYTIMEorWEEKLY. A day and hour of window need to be specified with weekly window.
- Day string
- Day of week for maintenance window if window type is weekly. Possible values: MON,TUE,WED,THU,FRI,SAT,SUN.
- Hour int
- Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
- type String
- Type of maintenance window. Can be either ANYTIMEorWEEKLY. A day and hour of window need to be specified with weekly window.
- day String
- Day of week for maintenance window if window type is weekly. Possible values: MON,TUE,WED,THU,FRI,SAT,SUN.
- hour Integer
- Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
- type string
- Type of maintenance window. Can be either ANYTIMEorWEEKLY. A day and hour of window need to be specified with weekly window.
- day string
- Day of week for maintenance window if window type is weekly. Possible values: MON,TUE,WED,THU,FRI,SAT,SUN.
- hour number
- Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
- type str
- Type of maintenance window. Can be either ANYTIMEorWEEKLY. A day and hour of window need to be specified with weekly window.
- day str
- Day of week for maintenance window if window type is weekly. Possible values: MON,TUE,WED,THU,FRI,SAT,SUN.
- hour int
- Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
- type String
- Type of maintenance window. Can be either ANYTIMEorWEEKLY. A day and hour of window need to be specified with weekly window.
- day String
- Day of week for maintenance window if window type is weekly. Possible values: MON,TUE,WED,THU,FRI,SAT,SUN.
- hour Number
- Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
MdbRedisClusterResources, MdbRedisClusterResourcesArgs        
- DiskSize int
- Volume of the storage available to a host, in gigabytes.
- ResourcePreset stringId 
- DiskType stringId 
- Type of the storage of Redis hosts - environment default is used if missing.
- DiskSize int
- Volume of the storage available to a host, in gigabytes.
- ResourcePreset stringId 
- DiskType stringId 
- Type of the storage of Redis hosts - environment default is used if missing.
- diskSize Integer
- Volume of the storage available to a host, in gigabytes.
- resourcePreset StringId 
- diskType StringId 
- Type of the storage of Redis hosts - environment default is used if missing.
- diskSize number
- Volume of the storage available to a host, in gigabytes.
- resourcePreset stringId 
- diskType stringId 
- Type of the storage of Redis hosts - environment default is used if missing.
- disk_size int
- Volume of the storage available to a host, in gigabytes.
- resource_preset_ strid 
- disk_type_ strid 
- Type of the storage of Redis hosts - environment default is used if missing.
- diskSize Number
- Volume of the storage available to a host, in gigabytes.
- resourcePreset StringId 
- diskType StringId 
- Type of the storage of Redis hosts - environment default is used if missing.
Import
A cluster can be imported using the id of the resource, e.g.
 $ pulumi import yandex:index/mdbRedisCluster:MdbRedisCluster foo cluster_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the yandexTerraform Provider.