Redis Enterprise
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",
},
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Properties
Link copied to clipboard
The minimum TLS version for the cluster to support, e.g. '1.2'
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Version of redis the cluster supports, e.g. '6'
Link copied to clipboard
Current resource status of the cluster
Link copied to clipboard
The SKU to create, which affects price, performance, and features.