RedisEnterpriseArgs

data class RedisEnterpriseArgs(val clusterName: Output<String>? = null, val location: Output<String>? = null, val minimumTlsVersion: Output<Either<String, TlsVersion>>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<EnterpriseSkuArgs>? = null, val tags: Output<Map<String, String>>? = null, val zones: Output<List<String>>? = null) : ConvertibleToJava<RedisEnterpriseArgs>

Describes the RedisEnterprise cluster API Version: 2021-03-01.

Example Usage

RedisEnterpriseCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var redisEnterprise = new AzureNative.Cache.RedisEnterprise("redisEnterprise", new()
{
ClusterName = "cache1",
Location = "West US",
MinimumTlsVersion = "1.2",
ResourceGroupName = "rg1",
Sku = new AzureNative.Cache.Inputs.EnterpriseSkuArgs
{
Capacity = 3,
Name = "EnterpriseFlash_F300",
},
Tags =
{
{ "tag1", "value1" },
},
Zones = new[]
{
"1",
"2",
"3",
},
});
});
package main
import (
cache "github.com/pulumi/pulumi-azure-native-sdk/cache"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cache.NewRedisEnterprise(ctx, "redisEnterprise", &cache.RedisEnterpriseArgs{
ClusterName: pulumi.String("cache1"),
Location: pulumi.String("West US"),
MinimumTlsVersion: pulumi.String("1.2"),
ResourceGroupName: pulumi.String("rg1"),
Sku: &cache.EnterpriseSkuArgs{
Capacity: pulumi.Int(3),
Name: pulumi.String("EnterpriseFlash_F300"),
},
Tags: pulumi.StringMap{
"tag1": pulumi.String("value1"),
},
Zones: pulumi.StringArray{
pulumi.String("1"),
pulumi.String("2"),
pulumi.String("3"),
},
})
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.azurenative.cache.RedisEnterprise;
import com.pulumi.azurenative.cache.RedisEnterpriseArgs;
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) {
var redisEnterprise = new RedisEnterprise("redisEnterprise", RedisEnterpriseArgs.builder()
.clusterName("cache1")
.location("West US")
.minimumTlsVersion("1.2")
.resourceGroupName("rg1")
.sku(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "EnterpriseFlash_F300")
))
.tags(Map.of("tag1", "value1"))
.zones(
"1",
"2",
"3")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:cache:RedisEnterprise cache1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1

Constructors

Link copied to clipboard
constructor(clusterName: Output<String>? = null, location: Output<String>? = null, minimumTlsVersion: Output<Either<String, TlsVersion>>? = null, resourceGroupName: Output<String>? = null, sku: Output<EnterpriseSkuArgs>? = null, tags: Output<Map<String, String>>? = null, zones: Output<List<String>>? = null)

Properties

Link copied to clipboard
val clusterName: Output<String>? = null

The name of the RedisEnterprise cluster.

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard
val minimumTlsVersion: Output<Either<String, TlsVersion>>? = null

The minimum TLS version for the cluster to support, e.g. '1.2'

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val sku: Output<EnterpriseSkuArgs>? = null

The SKU to create, which affects price, performance, and features.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Link copied to clipboard
val zones: Output<List<String>>? = null

The Availability Zones where this cluster will be deployed.

Functions

Link copied to clipboard
open override fun toJava(): RedisEnterpriseArgs