RedisEnterprise

class RedisEnterprise : KotlinCustomResource

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

Properties

Link copied to clipboard
val hostName: Output<String>

DNS name of the cluster endpoint

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard

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

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

List of private endpoint connections associated with the specified RedisEnterprise cluster

Link copied to clipboard

Current provisioning status of the cluster

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val redisVersion: Output<String>

Version of redis the cluster supports, e.g. '6'

Link copied to clipboard
val resourceState: Output<String>

Current resource status of the cluster

Link copied to clipboard

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

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

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

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

The Availability Zones where this cluster will be deployed.