EnterpriseClusterArgs

data class EnterpriseClusterArgs(val location: Output<String>? = null, val minimumTlsVersion: Output<String>? = null, val name: Output<String>? = null, val resourceGroupName: Output<String>? = null, val skuName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val zones: Output<List<String>>? = null) : ConvertibleToJava<EnterpriseClusterArgs>

Manages a Redis Enterprise Cluster.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example-redisenterprise",
location: "West Europe",
});
const exampleEnterpriseCluster = new azure.redis.EnterpriseCluster("example", {
name: "example-redisenterprise",
resourceGroupName: example.name,
location: example.location,
skuName: "EnterpriseFlash_F300-3",
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-redisenterprise",
location="West Europe")
example_enterprise_cluster = azure.redis.EnterpriseCluster("example",
name="example-redisenterprise",
resource_group_name=example.name,
location=example.location,
sku_name="EnterpriseFlash_F300-3")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-redisenterprise",
Location = "West Europe",
});
var exampleEnterpriseCluster = new Azure.Redis.EnterpriseCluster("example", new()
{
Name = "example-redisenterprise",
ResourceGroupName = example.Name,
Location = example.Location,
SkuName = "EnterpriseFlash_F300-3",
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/redis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-redisenterprise"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = redis.NewEnterpriseCluster(ctx, "example", &redis.EnterpriseClusterArgs{
Name: pulumi.String("example-redisenterprise"),
ResourceGroupName: example.Name,
Location: example.Location,
SkuName: pulumi.String("EnterpriseFlash_F300-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.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.redis.EnterpriseCluster;
import com.pulumi.azure.redis.EnterpriseClusterArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-redisenterprise")
.location("West Europe")
.build());
var exampleEnterpriseCluster = new EnterpriseCluster("exampleEnterpriseCluster", EnterpriseClusterArgs.builder()
.name("example-redisenterprise")
.resourceGroupName(example.name())
.location(example.location())
.skuName("EnterpriseFlash_F300-3")
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-redisenterprise
location: West Europe
exampleEnterpriseCluster:
type: azure:redis:EnterpriseCluster
name: example
properties:
name: example-redisenterprise
resourceGroupName: ${example.name}
location: ${example.location}
skuName: EnterpriseFlash_F300-3

Import

Redis Enterprise Clusters can be imported using the resource id, e.g.

$ pulumi import azure:redis/enterpriseCluster:EnterpriseCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Cache/redisEnterprise/cluster1

Constructors

Link copied to clipboard
constructor(location: Output<String>? = null, minimumTlsVersion: Output<String>? = null, name: Output<String>? = null, resourceGroupName: Output<String>? = null, skuName: Output<String>? = null, tags: Output<Map<String, String>>? = null, zones: Output<List<String>>? = null)

Properties

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

The Azure Region where the Redis Enterprise Cluster should exist. Changing this forces a new Redis Enterprise Cluster to be created.

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

The minimum TLS version. Possible values are 1.0, 1.1 and 1.2. Defaults to 1.2. Changing this forces a new Redis Enterprise Cluster to be created.

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

The name which should be used for this Redis Enterprise Cluster. Changing this forces a new Redis Enterprise Cluster to be created.

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

The name of the Resource Group where the Redis Enterprise Cluster should exist. Changing this forces a new Redis Enterprise Cluster to be created.

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

The sku_name is comprised of two segments separated by a hyphen (e.g. Enterprise_E10-2). The first segment of the sku_name defines the name of the SKU, possible values are Enterprise_E5, Enterprise_E10, Enterprise_E20, Enterprise_E50, Enterprise_E100, Enterprise_E200, Enterprise_E400, EnterpriseFlash_F300, EnterpriseFlash_F700 or EnterpriseFlash_F1500. The second segment defines the capacity of the sku_name, possible values for Enteprise SKUs are (2, 4, 6, ...). Possible values for EnterpriseFlash SKUs are (3, 9, 15, ...). Changing this forces a new Redis Enterprise Cluster to be created.

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

A mapping of tags which should be assigned to the Redis Enterprise Cluster.

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

Specifies a list of Availability Zones in which this Redis Enterprise Cluster should be located. Changing this forces a new Redis Enterprise Cluster to be created.

Functions

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