azure-native.redis.Redis
Explore with Pulumi AI
A single Redis item in List or Get Operation.
Uses Azure REST API version 2024-11-01.
Other available API versions: 2015-08-01, 2016-04-01, 2017-02-01, 2017-10-01, 2018-03-01, 2019-07-01, 2020-06-01, 2020-12-01, 2021-06-01, 2022-05-01, 2022-06-01, 2023-04-01, 2023-05-01-preview, 2023-08-01, 2024-03-01, 2024-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native redis [ApiVersion]
. See the version guide for details.
Example Usage
RedisCacheCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var redis = new AzureNative.Redis.Redis("redis", new()
{
EnableNonSslPort = true,
Location = "East US",
MinimumTlsVersion = AzureNative.Redis.TlsVersion.TlsVersion_1_2,
Name = "cache1",
RedisConfiguration = new AzureNative.Redis.Inputs.RedisCommonPropertiesRedisConfigurationArgs
{
MaxmemoryPolicy = "allkeys-lru",
},
RedisVersion = "4",
ReplicasPerPrimary = 2,
ResourceGroupName = "rg1",
ShardCount = 2,
Sku = new AzureNative.Redis.Inputs.SkuArgs
{
Capacity = 1,
Family = AzureNative.Redis.SkuFamily.P,
Name = AzureNative.Redis.SkuName.Premium,
},
StaticIP = "192.168.0.5",
SubnetId = "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
Zones = new[]
{
"1",
},
});
});
package main
import (
redis "github.com/pulumi/pulumi-azure-native-sdk/redis/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := redis.NewRedis(ctx, "redis", &redis.RedisArgs{
EnableNonSslPort: pulumi.Bool(true),
Location: pulumi.String("East US"),
MinimumTlsVersion: pulumi.String(redis.TlsVersion_1_2),
Name: pulumi.String("cache1"),
RedisConfiguration: &redis.RedisCommonPropertiesRedisConfigurationArgs{
MaxmemoryPolicy: pulumi.String("allkeys-lru"),
},
RedisVersion: pulumi.String("4"),
ReplicasPerPrimary: pulumi.Int(2),
ResourceGroupName: pulumi.String("rg1"),
ShardCount: pulumi.Int(2),
Sku: &redis.SkuArgs{
Capacity: pulumi.Int(1),
Family: pulumi.String(redis.SkuFamilyP),
Name: pulumi.String(redis.SkuNamePremium),
},
StaticIP: pulumi.String("192.168.0.5"),
SubnetId: pulumi.String("/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1"),
Zones: pulumi.StringArray{
pulumi.String("1"),
},
})
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.redis.Redis;
import com.pulumi.azurenative.redis.RedisArgs;
import com.pulumi.azurenative.redis.inputs.RedisCommonPropertiesRedisConfigurationArgs;
import com.pulumi.azurenative.redis.inputs.SkuArgs;
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 redis = new Redis("redis", RedisArgs.builder()
.enableNonSslPort(true)
.location("East US")
.minimumTlsVersion("1.2")
.name("cache1")
.redisConfiguration(RedisCommonPropertiesRedisConfigurationArgs.builder()
.maxmemoryPolicy("allkeys-lru")
.build())
.redisVersion("4")
.replicasPerPrimary(2)
.resourceGroupName("rg1")
.shardCount(2)
.sku(SkuArgs.builder()
.capacity(1)
.family("P")
.name("Premium")
.build())
.staticIP("192.168.0.5")
.subnetId("/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1")
.zones("1")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const redis = new azure_native.redis.Redis("redis", {
enableNonSslPort: true,
location: "East US",
minimumTlsVersion: azure_native.redis.TlsVersion.TlsVersion_1_2,
name: "cache1",
redisConfiguration: {
maxmemoryPolicy: "allkeys-lru",
},
redisVersion: "4",
replicasPerPrimary: 2,
resourceGroupName: "rg1",
shardCount: 2,
sku: {
capacity: 1,
family: azure_native.redis.SkuFamily.P,
name: azure_native.redis.SkuName.Premium,
},
staticIP: "192.168.0.5",
subnetId: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
zones: ["1"],
});
import pulumi
import pulumi_azure_native as azure_native
redis = azure_native.redis.Redis("redis",
enable_non_ssl_port=True,
location="East US",
minimum_tls_version=azure_native.redis.TlsVersion.TLS_VERSION_1_2,
name="cache1",
redis_configuration={
"maxmemory_policy": "allkeys-lru",
},
redis_version="4",
replicas_per_primary=2,
resource_group_name="rg1",
shard_count=2,
sku={
"capacity": 1,
"family": azure_native.redis.SkuFamily.P,
"name": azure_native.redis.SkuName.PREMIUM,
},
static_ip="192.168.0.5",
subnet_id="/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
zones=["1"])
resources:
redis:
type: azure-native:redis:Redis
properties:
enableNonSslPort: true
location: East US
minimumTlsVersion: '1.2'
name: cache1
redisConfiguration:
maxmemoryPolicy: allkeys-lru
redisVersion: '4'
replicasPerPrimary: 2
resourceGroupName: rg1
shardCount: 2
sku:
capacity: 1
family: P
name: Premium
staticIP: 192.168.0.5
subnetId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1
zones:
- '1'
RedisCacheCreateAutomaticZonalAllocationPolicy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var redis = new AzureNative.Redis.Redis("redis", new()
{
EnableNonSslPort = true,
Location = "East US",
MinimumTlsVersion = AzureNative.Redis.TlsVersion.TlsVersion_1_2,
Name = "cache1",
RedisConfiguration = new AzureNative.Redis.Inputs.RedisCommonPropertiesRedisConfigurationArgs
{
MaxmemoryPolicy = "allkeys-lru",
},
ReplicasPerPrimary = 2,
ResourceGroupName = "rg1",
ShardCount = 2,
Sku = new AzureNative.Redis.Inputs.SkuArgs
{
Capacity = 1,
Family = AzureNative.Redis.SkuFamily.P,
Name = AzureNative.Redis.SkuName.Premium,
},
StaticIP = "192.168.0.5",
SubnetId = "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
ZonalAllocationPolicy = AzureNative.Redis.ZonalAllocationPolicy.Automatic,
});
});
package main
import (
redis "github.com/pulumi/pulumi-azure-native-sdk/redis/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := redis.NewRedis(ctx, "redis", &redis.RedisArgs{
EnableNonSslPort: pulumi.Bool(true),
Location: pulumi.String("East US"),
MinimumTlsVersion: pulumi.String(redis.TlsVersion_1_2),
Name: pulumi.String("cache1"),
RedisConfiguration: &redis.RedisCommonPropertiesRedisConfigurationArgs{
MaxmemoryPolicy: pulumi.String("allkeys-lru"),
},
ReplicasPerPrimary: pulumi.Int(2),
ResourceGroupName: pulumi.String("rg1"),
ShardCount: pulumi.Int(2),
Sku: &redis.SkuArgs{
Capacity: pulumi.Int(1),
Family: pulumi.String(redis.SkuFamilyP),
Name: pulumi.String(redis.SkuNamePremium),
},
StaticIP: pulumi.String("192.168.0.5"),
SubnetId: pulumi.String("/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1"),
ZonalAllocationPolicy: pulumi.String(redis.ZonalAllocationPolicyAutomatic),
})
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.redis.Redis;
import com.pulumi.azurenative.redis.RedisArgs;
import com.pulumi.azurenative.redis.inputs.RedisCommonPropertiesRedisConfigurationArgs;
import com.pulumi.azurenative.redis.inputs.SkuArgs;
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 redis = new Redis("redis", RedisArgs.builder()
.enableNonSslPort(true)
.location("East US")
.minimumTlsVersion("1.2")
.name("cache1")
.redisConfiguration(RedisCommonPropertiesRedisConfigurationArgs.builder()
.maxmemoryPolicy("allkeys-lru")
.build())
.replicasPerPrimary(2)
.resourceGroupName("rg1")
.shardCount(2)
.sku(SkuArgs.builder()
.capacity(1)
.family("P")
.name("Premium")
.build())
.staticIP("192.168.0.5")
.subnetId("/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1")
.zonalAllocationPolicy("Automatic")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const redis = new azure_native.redis.Redis("redis", {
enableNonSslPort: true,
location: "East US",
minimumTlsVersion: azure_native.redis.TlsVersion.TlsVersion_1_2,
name: "cache1",
redisConfiguration: {
maxmemoryPolicy: "allkeys-lru",
},
replicasPerPrimary: 2,
resourceGroupName: "rg1",
shardCount: 2,
sku: {
capacity: 1,
family: azure_native.redis.SkuFamily.P,
name: azure_native.redis.SkuName.Premium,
},
staticIP: "192.168.0.5",
subnetId: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
zonalAllocationPolicy: azure_native.redis.ZonalAllocationPolicy.Automatic,
});
import pulumi
import pulumi_azure_native as azure_native
redis = azure_native.redis.Redis("redis",
enable_non_ssl_port=True,
location="East US",
minimum_tls_version=azure_native.redis.TlsVersion.TLS_VERSION_1_2,
name="cache1",
redis_configuration={
"maxmemory_policy": "allkeys-lru",
},
replicas_per_primary=2,
resource_group_name="rg1",
shard_count=2,
sku={
"capacity": 1,
"family": azure_native.redis.SkuFamily.P,
"name": azure_native.redis.SkuName.PREMIUM,
},
static_ip="192.168.0.5",
subnet_id="/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
zonal_allocation_policy=azure_native.redis.ZonalAllocationPolicy.AUTOMATIC)
resources:
redis:
type: azure-native:redis:Redis
properties:
enableNonSslPort: true
location: East US
minimumTlsVersion: '1.2'
name: cache1
redisConfiguration:
maxmemoryPolicy: allkeys-lru
replicasPerPrimary: 2
resourceGroupName: rg1
shardCount: 2
sku:
capacity: 1
family: P
name: Premium
staticIP: 192.168.0.5
subnetId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1
zonalAllocationPolicy: Automatic
RedisCacheCreateDefaultVersion
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var redis = new AzureNative.Redis.Redis("redis", new()
{
EnableNonSslPort = true,
Location = "East US",
MinimumTlsVersion = AzureNative.Redis.TlsVersion.TlsVersion_1_2,
Name = "cache1",
RedisConfiguration = new AzureNative.Redis.Inputs.RedisCommonPropertiesRedisConfigurationArgs
{
MaxmemoryPolicy = "allkeys-lru",
},
ReplicasPerPrimary = 2,
ResourceGroupName = "rg1",
ShardCount = 2,
Sku = new AzureNative.Redis.Inputs.SkuArgs
{
Capacity = 1,
Family = AzureNative.Redis.SkuFamily.P,
Name = AzureNative.Redis.SkuName.Premium,
},
StaticIP = "192.168.0.5",
SubnetId = "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
Zones = new[]
{
"1",
},
});
});
package main
import (
redis "github.com/pulumi/pulumi-azure-native-sdk/redis/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := redis.NewRedis(ctx, "redis", &redis.RedisArgs{
EnableNonSslPort: pulumi.Bool(true),
Location: pulumi.String("East US"),
MinimumTlsVersion: pulumi.String(redis.TlsVersion_1_2),
Name: pulumi.String("cache1"),
RedisConfiguration: &redis.RedisCommonPropertiesRedisConfigurationArgs{
MaxmemoryPolicy: pulumi.String("allkeys-lru"),
},
ReplicasPerPrimary: pulumi.Int(2),
ResourceGroupName: pulumi.String("rg1"),
ShardCount: pulumi.Int(2),
Sku: &redis.SkuArgs{
Capacity: pulumi.Int(1),
Family: pulumi.String(redis.SkuFamilyP),
Name: pulumi.String(redis.SkuNamePremium),
},
StaticIP: pulumi.String("192.168.0.5"),
SubnetId: pulumi.String("/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1"),
Zones: pulumi.StringArray{
pulumi.String("1"),
},
})
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.redis.Redis;
import com.pulumi.azurenative.redis.RedisArgs;
import com.pulumi.azurenative.redis.inputs.RedisCommonPropertiesRedisConfigurationArgs;
import com.pulumi.azurenative.redis.inputs.SkuArgs;
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 redis = new Redis("redis", RedisArgs.builder()
.enableNonSslPort(true)
.location("East US")
.minimumTlsVersion("1.2")
.name("cache1")
.redisConfiguration(RedisCommonPropertiesRedisConfigurationArgs.builder()
.maxmemoryPolicy("allkeys-lru")
.build())
.replicasPerPrimary(2)
.resourceGroupName("rg1")
.shardCount(2)
.sku(SkuArgs.builder()
.capacity(1)
.family("P")
.name("Premium")
.build())
.staticIP("192.168.0.5")
.subnetId("/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1")
.zones("1")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const redis = new azure_native.redis.Redis("redis", {
enableNonSslPort: true,
location: "East US",
minimumTlsVersion: azure_native.redis.TlsVersion.TlsVersion_1_2,
name: "cache1",
redisConfiguration: {
maxmemoryPolicy: "allkeys-lru",
},
replicasPerPrimary: 2,
resourceGroupName: "rg1",
shardCount: 2,
sku: {
capacity: 1,
family: azure_native.redis.SkuFamily.P,
name: azure_native.redis.SkuName.Premium,
},
staticIP: "192.168.0.5",
subnetId: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
zones: ["1"],
});
import pulumi
import pulumi_azure_native as azure_native
redis = azure_native.redis.Redis("redis",
enable_non_ssl_port=True,
location="East US",
minimum_tls_version=azure_native.redis.TlsVersion.TLS_VERSION_1_2,
name="cache1",
redis_configuration={
"maxmemory_policy": "allkeys-lru",
},
replicas_per_primary=2,
resource_group_name="rg1",
shard_count=2,
sku={
"capacity": 1,
"family": azure_native.redis.SkuFamily.P,
"name": azure_native.redis.SkuName.PREMIUM,
},
static_ip="192.168.0.5",
subnet_id="/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
zones=["1"])
resources:
redis:
type: azure-native:redis:Redis
properties:
enableNonSslPort: true
location: East US
minimumTlsVersion: '1.2'
name: cache1
redisConfiguration:
maxmemoryPolicy: allkeys-lru
replicasPerPrimary: 2
resourceGroupName: rg1
shardCount: 2
sku:
capacity: 1
family: P
name: Premium
staticIP: 192.168.0.5
subnetId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1
zones:
- '1'
RedisCacheCreateLatestVersion
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var redis = new AzureNative.Redis.Redis("redis", new()
{
EnableNonSslPort = true,
Location = "East US",
MinimumTlsVersion = AzureNative.Redis.TlsVersion.TlsVersion_1_2,
Name = "cache1",
RedisConfiguration = new AzureNative.Redis.Inputs.RedisCommonPropertiesRedisConfigurationArgs
{
MaxmemoryPolicy = "allkeys-lru",
},
RedisVersion = "Latest",
ReplicasPerPrimary = 2,
ResourceGroupName = "rg1",
ShardCount = 2,
Sku = new AzureNative.Redis.Inputs.SkuArgs
{
Capacity = 1,
Family = AzureNative.Redis.SkuFamily.P,
Name = AzureNative.Redis.SkuName.Premium,
},
StaticIP = "192.168.0.5",
SubnetId = "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
Zones = new[]
{
"1",
},
});
});
package main
import (
redis "github.com/pulumi/pulumi-azure-native-sdk/redis/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := redis.NewRedis(ctx, "redis", &redis.RedisArgs{
EnableNonSslPort: pulumi.Bool(true),
Location: pulumi.String("East US"),
MinimumTlsVersion: pulumi.String(redis.TlsVersion_1_2),
Name: pulumi.String("cache1"),
RedisConfiguration: &redis.RedisCommonPropertiesRedisConfigurationArgs{
MaxmemoryPolicy: pulumi.String("allkeys-lru"),
},
RedisVersion: pulumi.String("Latest"),
ReplicasPerPrimary: pulumi.Int(2),
ResourceGroupName: pulumi.String("rg1"),
ShardCount: pulumi.Int(2),
Sku: &redis.SkuArgs{
Capacity: pulumi.Int(1),
Family: pulumi.String(redis.SkuFamilyP),
Name: pulumi.String(redis.SkuNamePremium),
},
StaticIP: pulumi.String("192.168.0.5"),
SubnetId: pulumi.String("/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1"),
Zones: pulumi.StringArray{
pulumi.String("1"),
},
})
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.redis.Redis;
import com.pulumi.azurenative.redis.RedisArgs;
import com.pulumi.azurenative.redis.inputs.RedisCommonPropertiesRedisConfigurationArgs;
import com.pulumi.azurenative.redis.inputs.SkuArgs;
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 redis = new Redis("redis", RedisArgs.builder()
.enableNonSslPort(true)
.location("East US")
.minimumTlsVersion("1.2")
.name("cache1")
.redisConfiguration(RedisCommonPropertiesRedisConfigurationArgs.builder()
.maxmemoryPolicy("allkeys-lru")
.build())
.redisVersion("Latest")
.replicasPerPrimary(2)
.resourceGroupName("rg1")
.shardCount(2)
.sku(SkuArgs.builder()
.capacity(1)
.family("P")
.name("Premium")
.build())
.staticIP("192.168.0.5")
.subnetId("/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1")
.zones("1")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const redis = new azure_native.redis.Redis("redis", {
enableNonSslPort: true,
location: "East US",
minimumTlsVersion: azure_native.redis.TlsVersion.TlsVersion_1_2,
name: "cache1",
redisConfiguration: {
maxmemoryPolicy: "allkeys-lru",
},
redisVersion: "Latest",
replicasPerPrimary: 2,
resourceGroupName: "rg1",
shardCount: 2,
sku: {
capacity: 1,
family: azure_native.redis.SkuFamily.P,
name: azure_native.redis.SkuName.Premium,
},
staticIP: "192.168.0.5",
subnetId: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
zones: ["1"],
});
import pulumi
import pulumi_azure_native as azure_native
redis = azure_native.redis.Redis("redis",
enable_non_ssl_port=True,
location="East US",
minimum_tls_version=azure_native.redis.TlsVersion.TLS_VERSION_1_2,
name="cache1",
redis_configuration={
"maxmemory_policy": "allkeys-lru",
},
redis_version="Latest",
replicas_per_primary=2,
resource_group_name="rg1",
shard_count=2,
sku={
"capacity": 1,
"family": azure_native.redis.SkuFamily.P,
"name": azure_native.redis.SkuName.PREMIUM,
},
static_ip="192.168.0.5",
subnet_id="/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
zones=["1"])
resources:
redis:
type: azure-native:redis:Redis
properties:
enableNonSslPort: true
location: East US
minimumTlsVersion: '1.2'
name: cache1
redisConfiguration:
maxmemoryPolicy: allkeys-lru
redisVersion: Latest
replicasPerPrimary: 2
resourceGroupName: rg1
shardCount: 2
sku:
capacity: 1
family: P
name: Premium
staticIP: 192.168.0.5
subnetId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1
zones:
- '1'
RedisCacheCreateNoZonesZonalAllocationPolicy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var redis = new AzureNative.Redis.Redis("redis", new()
{
EnableNonSslPort = true,
Location = "East US",
MinimumTlsVersion = AzureNative.Redis.TlsVersion.TlsVersion_1_2,
Name = "cache1",
RedisConfiguration = new AzureNative.Redis.Inputs.RedisCommonPropertiesRedisConfigurationArgs
{
MaxmemoryPolicy = "allkeys-lru",
},
ReplicasPerPrimary = 2,
ResourceGroupName = "rg1",
ShardCount = 2,
Sku = new AzureNative.Redis.Inputs.SkuArgs
{
Capacity = 1,
Family = AzureNative.Redis.SkuFamily.P,
Name = AzureNative.Redis.SkuName.Premium,
},
StaticIP = "192.168.0.5",
SubnetId = "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
ZonalAllocationPolicy = AzureNative.Redis.ZonalAllocationPolicy.NoZones,
});
});
package main
import (
redis "github.com/pulumi/pulumi-azure-native-sdk/redis/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := redis.NewRedis(ctx, "redis", &redis.RedisArgs{
EnableNonSslPort: pulumi.Bool(true),
Location: pulumi.String("East US"),
MinimumTlsVersion: pulumi.String(redis.TlsVersion_1_2),
Name: pulumi.String("cache1"),
RedisConfiguration: &redis.RedisCommonPropertiesRedisConfigurationArgs{
MaxmemoryPolicy: pulumi.String("allkeys-lru"),
},
ReplicasPerPrimary: pulumi.Int(2),
ResourceGroupName: pulumi.String("rg1"),
ShardCount: pulumi.Int(2),
Sku: &redis.SkuArgs{
Capacity: pulumi.Int(1),
Family: pulumi.String(redis.SkuFamilyP),
Name: pulumi.String(redis.SkuNamePremium),
},
StaticIP: pulumi.String("192.168.0.5"),
SubnetId: pulumi.String("/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1"),
ZonalAllocationPolicy: pulumi.String(redis.ZonalAllocationPolicyNoZones),
})
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.redis.Redis;
import com.pulumi.azurenative.redis.RedisArgs;
import com.pulumi.azurenative.redis.inputs.RedisCommonPropertiesRedisConfigurationArgs;
import com.pulumi.azurenative.redis.inputs.SkuArgs;
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 redis = new Redis("redis", RedisArgs.builder()
.enableNonSslPort(true)
.location("East US")
.minimumTlsVersion("1.2")
.name("cache1")
.redisConfiguration(RedisCommonPropertiesRedisConfigurationArgs.builder()
.maxmemoryPolicy("allkeys-lru")
.build())
.replicasPerPrimary(2)
.resourceGroupName("rg1")
.shardCount(2)
.sku(SkuArgs.builder()
.capacity(1)
.family("P")
.name("Premium")
.build())
.staticIP("192.168.0.5")
.subnetId("/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1")
.zonalAllocationPolicy("NoZones")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const redis = new azure_native.redis.Redis("redis", {
enableNonSslPort: true,
location: "East US",
minimumTlsVersion: azure_native.redis.TlsVersion.TlsVersion_1_2,
name: "cache1",
redisConfiguration: {
maxmemoryPolicy: "allkeys-lru",
},
replicasPerPrimary: 2,
resourceGroupName: "rg1",
shardCount: 2,
sku: {
capacity: 1,
family: azure_native.redis.SkuFamily.P,
name: azure_native.redis.SkuName.Premium,
},
staticIP: "192.168.0.5",
subnetId: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
zonalAllocationPolicy: azure_native.redis.ZonalAllocationPolicy.NoZones,
});
import pulumi
import pulumi_azure_native as azure_native
redis = azure_native.redis.Redis("redis",
enable_non_ssl_port=True,
location="East US",
minimum_tls_version=azure_native.redis.TlsVersion.TLS_VERSION_1_2,
name="cache1",
redis_configuration={
"maxmemory_policy": "allkeys-lru",
},
replicas_per_primary=2,
resource_group_name="rg1",
shard_count=2,
sku={
"capacity": 1,
"family": azure_native.redis.SkuFamily.P,
"name": azure_native.redis.SkuName.PREMIUM,
},
static_ip="192.168.0.5",
subnet_id="/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
zonal_allocation_policy=azure_native.redis.ZonalAllocationPolicy.NO_ZONES)
resources:
redis:
type: azure-native:redis:Redis
properties:
enableNonSslPort: true
location: East US
minimumTlsVersion: '1.2'
name: cache1
redisConfiguration:
maxmemoryPolicy: allkeys-lru
replicasPerPrimary: 2
resourceGroupName: rg1
shardCount: 2
sku:
capacity: 1
family: P
name: Premium
staticIP: 192.168.0.5
subnetId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1
zonalAllocationPolicy: NoZones
RedisCacheCreateUserDefinedZonalAllocationPolicy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var redis = new AzureNative.Redis.Redis("redis", new()
{
EnableNonSslPort = true,
Location = "East US",
MinimumTlsVersion = AzureNative.Redis.TlsVersion.TlsVersion_1_2,
Name = "cache1",
RedisConfiguration = new AzureNative.Redis.Inputs.RedisCommonPropertiesRedisConfigurationArgs
{
MaxmemoryPolicy = "allkeys-lru",
},
RedisVersion = "Latest",
ReplicasPerPrimary = 2,
ResourceGroupName = "rg1",
ShardCount = 2,
Sku = new AzureNative.Redis.Inputs.SkuArgs
{
Capacity = 1,
Family = AzureNative.Redis.SkuFamily.P,
Name = AzureNative.Redis.SkuName.Premium,
},
StaticIP = "192.168.0.5",
SubnetId = "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
ZonalAllocationPolicy = AzureNative.Redis.ZonalAllocationPolicy.UserDefined,
Zones = new[]
{
"1",
},
});
});
package main
import (
redis "github.com/pulumi/pulumi-azure-native-sdk/redis/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := redis.NewRedis(ctx, "redis", &redis.RedisArgs{
EnableNonSslPort: pulumi.Bool(true),
Location: pulumi.String("East US"),
MinimumTlsVersion: pulumi.String(redis.TlsVersion_1_2),
Name: pulumi.String("cache1"),
RedisConfiguration: &redis.RedisCommonPropertiesRedisConfigurationArgs{
MaxmemoryPolicy: pulumi.String("allkeys-lru"),
},
RedisVersion: pulumi.String("Latest"),
ReplicasPerPrimary: pulumi.Int(2),
ResourceGroupName: pulumi.String("rg1"),
ShardCount: pulumi.Int(2),
Sku: &redis.SkuArgs{
Capacity: pulumi.Int(1),
Family: pulumi.String(redis.SkuFamilyP),
Name: pulumi.String(redis.SkuNamePremium),
},
StaticIP: pulumi.String("192.168.0.5"),
SubnetId: pulumi.String("/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1"),
ZonalAllocationPolicy: pulumi.String(redis.ZonalAllocationPolicyUserDefined),
Zones: pulumi.StringArray{
pulumi.String("1"),
},
})
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.redis.Redis;
import com.pulumi.azurenative.redis.RedisArgs;
import com.pulumi.azurenative.redis.inputs.RedisCommonPropertiesRedisConfigurationArgs;
import com.pulumi.azurenative.redis.inputs.SkuArgs;
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 redis = new Redis("redis", RedisArgs.builder()
.enableNonSslPort(true)
.location("East US")
.minimumTlsVersion("1.2")
.name("cache1")
.redisConfiguration(RedisCommonPropertiesRedisConfigurationArgs.builder()
.maxmemoryPolicy("allkeys-lru")
.build())
.redisVersion("Latest")
.replicasPerPrimary(2)
.resourceGroupName("rg1")
.shardCount(2)
.sku(SkuArgs.builder()
.capacity(1)
.family("P")
.name("Premium")
.build())
.staticIP("192.168.0.5")
.subnetId("/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1")
.zonalAllocationPolicy("UserDefined")
.zones("1")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const redis = new azure_native.redis.Redis("redis", {
enableNonSslPort: true,
location: "East US",
minimumTlsVersion: azure_native.redis.TlsVersion.TlsVersion_1_2,
name: "cache1",
redisConfiguration: {
maxmemoryPolicy: "allkeys-lru",
},
redisVersion: "Latest",
replicasPerPrimary: 2,
resourceGroupName: "rg1",
shardCount: 2,
sku: {
capacity: 1,
family: azure_native.redis.SkuFamily.P,
name: azure_native.redis.SkuName.Premium,
},
staticIP: "192.168.0.5",
subnetId: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
zonalAllocationPolicy: azure_native.redis.ZonalAllocationPolicy.UserDefined,
zones: ["1"],
});
import pulumi
import pulumi_azure_native as azure_native
redis = azure_native.redis.Redis("redis",
enable_non_ssl_port=True,
location="East US",
minimum_tls_version=azure_native.redis.TlsVersion.TLS_VERSION_1_2,
name="cache1",
redis_configuration={
"maxmemory_policy": "allkeys-lru",
},
redis_version="Latest",
replicas_per_primary=2,
resource_group_name="rg1",
shard_count=2,
sku={
"capacity": 1,
"family": azure_native.redis.SkuFamily.P,
"name": azure_native.redis.SkuName.PREMIUM,
},
static_ip="192.168.0.5",
subnet_id="/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
zonal_allocation_policy=azure_native.redis.ZonalAllocationPolicy.USER_DEFINED,
zones=["1"])
resources:
redis:
type: azure-native:redis:Redis
properties:
enableNonSslPort: true
location: East US
minimumTlsVersion: '1.2'
name: cache1
redisConfiguration:
maxmemoryPolicy: allkeys-lru
redisVersion: Latest
replicasPerPrimary: 2
resourceGroupName: rg1
shardCount: 2
sku:
capacity: 1
family: P
name: Premium
staticIP: 192.168.0.5
subnetId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1
zonalAllocationPolicy: UserDefined
zones:
- '1'
Create Redis Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Redis(name: string, args: RedisArgs, opts?: CustomResourceOptions);
@overload
def Redis(resource_name: str,
args: RedisArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Redis(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
sku: Optional[SkuArgs] = None,
replicas_per_primary: Optional[int] = None,
identity: Optional[ManagedServiceIdentityArgs] = None,
minimum_tls_version: Optional[Union[str, TlsVersion]] = None,
name: Optional[str] = None,
public_network_access: Optional[Union[str, PublicNetworkAccess]] = None,
redis_configuration: Optional[RedisCommonPropertiesRedisConfigurationArgs] = None,
redis_version: Optional[str] = None,
replicas_per_master: Optional[int] = None,
disable_access_key_authentication: Optional[bool] = None,
location: Optional[str] = None,
shard_count: Optional[int] = None,
enable_non_ssl_port: Optional[bool] = None,
static_ip: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tenant_settings: Optional[Mapping[str, str]] = None,
update_channel: Optional[Union[str, UpdateChannel]] = None,
zonal_allocation_policy: Optional[Union[str, ZonalAllocationPolicy]] = None,
zones: Optional[Sequence[str]] = None)
func NewRedis(ctx *Context, name string, args RedisArgs, opts ...ResourceOption) (*Redis, error)
public Redis(string name, RedisArgs args, CustomResourceOptions? opts = null)
type: azure-native:redis:Redis
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 RedisArgs
- 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 RedisArgs
- 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 RedisArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RedisArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RedisArgs
- 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 redisResource = new AzureNative.Redis.Redis("redisResource", new()
{
ResourceGroupName = "string",
Sku = new AzureNative.Redis.Inputs.SkuArgs
{
Capacity = 0,
Family = "string",
Name = "string",
},
ReplicasPerPrimary = 0,
Identity = new AzureNative.Redis.Inputs.ManagedServiceIdentityArgs
{
Type = "string",
UserAssignedIdentities = new[]
{
"string",
},
},
MinimumTlsVersion = "string",
Name = "string",
PublicNetworkAccess = "string",
RedisConfiguration = new AzureNative.Redis.Inputs.RedisCommonPropertiesRedisConfigurationArgs
{
AadEnabled = "string",
AofBackupEnabled = "string",
AofStorageConnectionString0 = "string",
AofStorageConnectionString1 = "string",
Authnotrequired = "string",
MaxfragmentationmemoryReserved = "string",
MaxmemoryDelta = "string",
MaxmemoryPolicy = "string",
MaxmemoryReserved = "string",
NotifyKeyspaceEvents = "string",
PreferredDataPersistenceAuthMethod = "string",
RdbBackupEnabled = "string",
RdbBackupFrequency = "string",
RdbBackupMaxSnapshotCount = "string",
RdbStorageConnectionString = "string",
StorageSubscriptionId = "string",
},
RedisVersion = "string",
ReplicasPerMaster = 0,
DisableAccessKeyAuthentication = false,
Location = "string",
ShardCount = 0,
EnableNonSslPort = false,
StaticIP = "string",
SubnetId = "string",
Tags =
{
{ "string", "string" },
},
TenantSettings =
{
{ "string", "string" },
},
UpdateChannel = "string",
ZonalAllocationPolicy = "string",
Zones = new[]
{
"string",
},
});
example, err := redis.NewRedis(ctx, "redisResource", &redis.RedisArgs{
ResourceGroupName: pulumi.String("string"),
Sku: &redis.SkuArgs{
Capacity: pulumi.Int(0),
Family: pulumi.String("string"),
Name: pulumi.String("string"),
},
ReplicasPerPrimary: pulumi.Int(0),
Identity: &redis.ManagedServiceIdentityArgs{
Type: pulumi.String("string"),
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
MinimumTlsVersion: pulumi.String("string"),
Name: pulumi.String("string"),
PublicNetworkAccess: pulumi.String("string"),
RedisConfiguration: &redis.RedisCommonPropertiesRedisConfigurationArgs{
AadEnabled: pulumi.String("string"),
AofBackupEnabled: pulumi.String("string"),
AofStorageConnectionString0: pulumi.String("string"),
AofStorageConnectionString1: pulumi.String("string"),
Authnotrequired: pulumi.String("string"),
MaxfragmentationmemoryReserved: pulumi.String("string"),
MaxmemoryDelta: pulumi.String("string"),
MaxmemoryPolicy: pulumi.String("string"),
MaxmemoryReserved: pulumi.String("string"),
NotifyKeyspaceEvents: pulumi.String("string"),
PreferredDataPersistenceAuthMethod: pulumi.String("string"),
RdbBackupEnabled: pulumi.String("string"),
RdbBackupFrequency: pulumi.String("string"),
RdbBackupMaxSnapshotCount: pulumi.String("string"),
RdbStorageConnectionString: pulumi.String("string"),
StorageSubscriptionId: pulumi.String("string"),
},
RedisVersion: pulumi.String("string"),
ReplicasPerMaster: pulumi.Int(0),
DisableAccessKeyAuthentication: pulumi.Bool(false),
Location: pulumi.String("string"),
ShardCount: pulumi.Int(0),
EnableNonSslPort: pulumi.Bool(false),
StaticIP: pulumi.String("string"),
SubnetId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TenantSettings: pulumi.StringMap{
"string": pulumi.String("string"),
},
UpdateChannel: pulumi.String("string"),
ZonalAllocationPolicy: pulumi.String("string"),
Zones: pulumi.StringArray{
pulumi.String("string"),
},
})
var redisResource = new Redis("redisResource", RedisArgs.builder()
.resourceGroupName("string")
.sku(SkuArgs.builder()
.capacity(0)
.family("string")
.name("string")
.build())
.replicasPerPrimary(0)
.identity(ManagedServiceIdentityArgs.builder()
.type("string")
.userAssignedIdentities("string")
.build())
.minimumTlsVersion("string")
.name("string")
.publicNetworkAccess("string")
.redisConfiguration(RedisCommonPropertiesRedisConfigurationArgs.builder()
.aadEnabled("string")
.aofBackupEnabled("string")
.aofStorageConnectionString0("string")
.aofStorageConnectionString1("string")
.authnotrequired("string")
.maxfragmentationmemoryReserved("string")
.maxmemoryDelta("string")
.maxmemoryPolicy("string")
.maxmemoryReserved("string")
.notifyKeyspaceEvents("string")
.preferredDataPersistenceAuthMethod("string")
.rdbBackupEnabled("string")
.rdbBackupFrequency("string")
.rdbBackupMaxSnapshotCount("string")
.rdbStorageConnectionString("string")
.storageSubscriptionId("string")
.build())
.redisVersion("string")
.replicasPerMaster(0)
.disableAccessKeyAuthentication(false)
.location("string")
.shardCount(0)
.enableNonSslPort(false)
.staticIP("string")
.subnetId("string")
.tags(Map.of("string", "string"))
.tenantSettings(Map.of("string", "string"))
.updateChannel("string")
.zonalAllocationPolicy("string")
.zones("string")
.build());
redis_resource = azure_native.redis.Redis("redisResource",
resource_group_name="string",
sku={
"capacity": 0,
"family": "string",
"name": "string",
},
replicas_per_primary=0,
identity={
"type": "string",
"user_assigned_identities": ["string"],
},
minimum_tls_version="string",
name="string",
public_network_access="string",
redis_configuration={
"aad_enabled": "string",
"aof_backup_enabled": "string",
"aof_storage_connection_string0": "string",
"aof_storage_connection_string1": "string",
"authnotrequired": "string",
"maxfragmentationmemory_reserved": "string",
"maxmemory_delta": "string",
"maxmemory_policy": "string",
"maxmemory_reserved": "string",
"notify_keyspace_events": "string",
"preferred_data_persistence_auth_method": "string",
"rdb_backup_enabled": "string",
"rdb_backup_frequency": "string",
"rdb_backup_max_snapshot_count": "string",
"rdb_storage_connection_string": "string",
"storage_subscription_id": "string",
},
redis_version="string",
replicas_per_master=0,
disable_access_key_authentication=False,
location="string",
shard_count=0,
enable_non_ssl_port=False,
static_ip="string",
subnet_id="string",
tags={
"string": "string",
},
tenant_settings={
"string": "string",
},
update_channel="string",
zonal_allocation_policy="string",
zones=["string"])
const redisResource = new azure_native.redis.Redis("redisResource", {
resourceGroupName: "string",
sku: {
capacity: 0,
family: "string",
name: "string",
},
replicasPerPrimary: 0,
identity: {
type: "string",
userAssignedIdentities: ["string"],
},
minimumTlsVersion: "string",
name: "string",
publicNetworkAccess: "string",
redisConfiguration: {
aadEnabled: "string",
aofBackupEnabled: "string",
aofStorageConnectionString0: "string",
aofStorageConnectionString1: "string",
authnotrequired: "string",
maxfragmentationmemoryReserved: "string",
maxmemoryDelta: "string",
maxmemoryPolicy: "string",
maxmemoryReserved: "string",
notifyKeyspaceEvents: "string",
preferredDataPersistenceAuthMethod: "string",
rdbBackupEnabled: "string",
rdbBackupFrequency: "string",
rdbBackupMaxSnapshotCount: "string",
rdbStorageConnectionString: "string",
storageSubscriptionId: "string",
},
redisVersion: "string",
replicasPerMaster: 0,
disableAccessKeyAuthentication: false,
location: "string",
shardCount: 0,
enableNonSslPort: false,
staticIP: "string",
subnetId: "string",
tags: {
string: "string",
},
tenantSettings: {
string: "string",
},
updateChannel: "string",
zonalAllocationPolicy: "string",
zones: ["string"],
});
type: azure-native:redis:Redis
properties:
disableAccessKeyAuthentication: false
enableNonSslPort: false
identity:
type: string
userAssignedIdentities:
- string
location: string
minimumTlsVersion: string
name: string
publicNetworkAccess: string
redisConfiguration:
aadEnabled: string
aofBackupEnabled: string
aofStorageConnectionString0: string
aofStorageConnectionString1: string
authnotrequired: string
maxfragmentationmemoryReserved: string
maxmemoryDelta: string
maxmemoryPolicy: string
maxmemoryReserved: string
notifyKeyspaceEvents: string
preferredDataPersistenceAuthMethod: string
rdbBackupEnabled: string
rdbBackupFrequency: string
rdbBackupMaxSnapshotCount: string
rdbStorageConnectionString: string
storageSubscriptionId: string
redisVersion: string
replicasPerMaster: 0
replicasPerPrimary: 0
resourceGroupName: string
shardCount: 0
sku:
capacity: 0
family: string
name: string
staticIP: string
subnetId: string
tags:
string: string
tenantSettings:
string: string
updateChannel: string
zonalAllocationPolicy: string
zones:
- string
Redis 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 Redis resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Sku
Pulumi.
Azure Native. Redis. Inputs. Sku - The SKU of the Redis cache to deploy.
- Disable
Access boolKey Authentication - Authentication to Redis through access keys is disabled when set as true. Default value is false.
- Enable
Non boolSsl Port - Specifies whether the non-ssl Redis server port (6379) is enabled.
- Identity
Pulumi.
Azure Native. Redis. Inputs. Managed Service Identity - The identity of the resource.
- Location string
- The geo-location where the resource lives
- Minimum
Tls string | Pulumi.Version Azure Native. Redis. Tls Version - Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
- Name string
- The name of the Redis cache.
- Public
Network string | Pulumi.Access Azure Native. Redis. Public Network Access - Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'
- Redis
Configuration Pulumi.Azure Native. Redis. Inputs. Redis Common Properties Redis Configuration - All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc.
- Redis
Version string - Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'.
- Replicas
Per intMaster - The number of replicas to be created per primary.
- Replicas
Per intPrimary - The number of replicas to be created per primary.
- int
- The number of shards to be created on a Premium Cluster Cache.
- Static
IP string - Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
- Subnet
Id string - The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
- Dictionary<string, string>
- Resource tags.
- Tenant
Settings Dictionary<string, string> - A dictionary of tenant settings
- Update
Channel string | Pulumi.Azure Native. Redis. Update Channel - Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'.
- Zonal
Allocation string | Pulumi.Policy Azure Native. Redis. Zonal Allocation Policy - Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported.
- Zones List<string>
- A list of availability zones denoting where the resource needs to come from.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Sku
Sku
Args - The SKU of the Redis cache to deploy.
- Disable
Access boolKey Authentication - Authentication to Redis through access keys is disabled when set as true. Default value is false.
- Enable
Non boolSsl Port - Specifies whether the non-ssl Redis server port (6379) is enabled.
- Identity
Managed
Service Identity Args - The identity of the resource.
- Location string
- The geo-location where the resource lives
- Minimum
Tls string | TlsVersion Version - Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
- Name string
- The name of the Redis cache.
- Public
Network string | PublicAccess Network Access - Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'
- Redis
Configuration RedisCommon Properties Redis Configuration Args - All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc.
- Redis
Version string - Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'.
- Replicas
Per intMaster - The number of replicas to be created per primary.
- Replicas
Per intPrimary - The number of replicas to be created per primary.
- int
- The number of shards to be created on a Premium Cluster Cache.
- Static
IP string - Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
- Subnet
Id string - The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
- map[string]string
- Resource tags.
- Tenant
Settings map[string]string - A dictionary of tenant settings
- Update
Channel string | UpdateChannel - Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'.
- Zonal
Allocation string | ZonalPolicy Allocation Policy - Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported.
- Zones []string
- A list of availability zones denoting where the resource needs to come from.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- sku Sku
- The SKU of the Redis cache to deploy.
- disable
Access BooleanKey Authentication - Authentication to Redis through access keys is disabled when set as true. Default value is false.
- enable
Non BooleanSsl Port - Specifies whether the non-ssl Redis server port (6379) is enabled.
- identity
Managed
Service Identity - The identity of the resource.
- location String
- The geo-location where the resource lives
- minimum
Tls String | TlsVersion Version - Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
- name String
- The name of the Redis cache.
- public
Network String | PublicAccess Network Access - Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'
- redis
Configuration RedisCommon Properties Redis Configuration - All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc.
- redis
Version String - Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'.
- replicas
Per IntegerMaster - The number of replicas to be created per primary.
- replicas
Per IntegerPrimary - The number of replicas to be created per primary.
- Integer
- The number of shards to be created on a Premium Cluster Cache.
- static
IP String - Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
- subnet
Id String - The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
- Map<String,String>
- Resource tags.
- tenant
Settings Map<String,String> - A dictionary of tenant settings
- update
Channel String | UpdateChannel - Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'.
- zonal
Allocation String | ZonalPolicy Allocation Policy - Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported.
- zones List<String>
- A list of availability zones denoting where the resource needs to come from.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- sku Sku
- The SKU of the Redis cache to deploy.
- disable
Access booleanKey Authentication - Authentication to Redis through access keys is disabled when set as true. Default value is false.
- enable
Non booleanSsl Port - Specifies whether the non-ssl Redis server port (6379) is enabled.
- identity
Managed
Service Identity - The identity of the resource.
- location string
- The geo-location where the resource lives
- minimum
Tls string | TlsVersion Version - Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
- name string
- The name of the Redis cache.
- public
Network string | PublicAccess Network Access - Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'
- redis
Configuration RedisCommon Properties Redis Configuration - All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc.
- redis
Version string - Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'.
- replicas
Per numberMaster - The number of replicas to be created per primary.
- replicas
Per numberPrimary - The number of replicas to be created per primary.
- number
- The number of shards to be created on a Premium Cluster Cache.
- static
IP string - Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
- subnet
Id string - The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
- {[key: string]: string}
- Resource tags.
- tenant
Settings {[key: string]: string} - A dictionary of tenant settings
- update
Channel string | UpdateChannel - Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'.
- zonal
Allocation string | ZonalPolicy Allocation Policy - Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported.
- zones string[]
- A list of availability zones denoting where the resource needs to come from.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- sku
Sku
Args - The SKU of the Redis cache to deploy.
- disable_
access_ boolkey_ authentication - Authentication to Redis through access keys is disabled when set as true. Default value is false.
- enable_
non_ boolssl_ port - Specifies whether the non-ssl Redis server port (6379) is enabled.
- identity
Managed
Service Identity Args - The identity of the resource.
- location str
- The geo-location where the resource lives
- minimum_
tls_ str | Tlsversion Version - Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
- name str
- The name of the Redis cache.
- public_
network_ str | Publicaccess Network Access - Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'
- redis_
configuration RedisCommon Properties Redis Configuration Args - All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc.
- redis_
version str - Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'.
- replicas_
per_ intmaster - The number of replicas to be created per primary.
- replicas_
per_ intprimary - The number of replicas to be created per primary.
- int
- The number of shards to be created on a Premium Cluster Cache.
- static_
ip str - Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
- subnet_
id str - The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
- Mapping[str, str]
- Resource tags.
- tenant_
settings Mapping[str, str] - A dictionary of tenant settings
- update_
channel str | UpdateChannel - Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'.
- zonal_
allocation_ str | Zonalpolicy Allocation Policy - Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported.
- zones Sequence[str]
- A list of availability zones denoting where the resource needs to come from.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- sku Property Map
- The SKU of the Redis cache to deploy.
- disable
Access BooleanKey Authentication - Authentication to Redis through access keys is disabled when set as true. Default value is false.
- enable
Non BooleanSsl Port - Specifies whether the non-ssl Redis server port (6379) is enabled.
- identity Property Map
- The identity of the resource.
- location String
- The geo-location where the resource lives
- minimum
Tls String | "1.0" | "1.1" | "1.2"Version - Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
- name String
- The name of the Redis cache.
- public
Network String | "Enabled" | "Disabled"Access - Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'
- redis
Configuration Property Map - All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc.
- redis
Version String - Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'.
- replicas
Per NumberMaster - The number of replicas to be created per primary.
- replicas
Per NumberPrimary - The number of replicas to be created per primary.
- Number
- The number of shards to be created on a Premium Cluster Cache.
- static
IP String - Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
- subnet
Id String - The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
- Map<String>
- Resource tags.
- tenant
Settings Map<String> - A dictionary of tenant settings
- update
Channel String | "Stable" | "Preview" - Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'.
- zonal
Allocation String | "Automatic" | "UserPolicy Defined" | "No Zones" - Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported.
- zones List<String>
- A list of availability zones denoting where the resource needs to come from.
Outputs
All input properties are implicitly available as output properties. Additionally, the Redis resource produces the following output properties:
- Access
Keys Pulumi.Azure Native. Redis. Outputs. Redis Access Keys Response - The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
- Azure
Api stringVersion - The Azure API version of the resource.
- Host
Name string - Redis host name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instances
List<Pulumi.
Azure Native. Redis. Outputs. Redis Instance Details Response> - List of the Redis instances associated with the cache
- Linked
Servers List<Pulumi.Azure Native. Redis. Outputs. Redis Linked Server Response> - List of the linked servers associated with the cache
- Port int
- Redis non-SSL port.
- Private
Endpoint List<Pulumi.Connections Azure Native. Redis. Outputs. Private Endpoint Connection Response> - List of private endpoint connection associated with the specified redis cache
- Provisioning
State string - Redis instance provisioning status.
- Ssl
Port int - Redis SSL port.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Access
Keys RedisAccess Keys Response - The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
- Azure
Api stringVersion - The Azure API version of the resource.
- Host
Name string - Redis host name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instances
[]Redis
Instance Details Response - List of the Redis instances associated with the cache
- Linked
Servers []RedisLinked Server Response - List of the linked servers associated with the cache
- Port int
- Redis non-SSL port.
- Private
Endpoint []PrivateConnections Endpoint Connection Response - List of private endpoint connection associated with the specified redis cache
- Provisioning
State string - Redis instance provisioning status.
- Ssl
Port int - Redis SSL port.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- access
Keys RedisAccess Keys Response - The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
- azure
Api StringVersion - The Azure API version of the resource.
- host
Name String - Redis host name.
- id String
- The provider-assigned unique ID for this managed resource.
- instances
List<Redis
Instance Details Response> - List of the Redis instances associated with the cache
- linked
Servers List<RedisLinked Server Response> - List of the linked servers associated with the cache
- port Integer
- Redis non-SSL port.
- private
Endpoint List<PrivateConnections Endpoint Connection Response> - List of private endpoint connection associated with the specified redis cache
- provisioning
State String - Redis instance provisioning status.
- ssl
Port Integer - Redis SSL port.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- access
Keys RedisAccess Keys Response - The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
- azure
Api stringVersion - The Azure API version of the resource.
- host
Name string - Redis host name.
- id string
- The provider-assigned unique ID for this managed resource.
- instances
Redis
Instance Details Response[] - List of the Redis instances associated with the cache
- linked
Servers RedisLinked Server Response[] - List of the linked servers associated with the cache
- port number
- Redis non-SSL port.
- private
Endpoint PrivateConnections Endpoint Connection Response[] - List of private endpoint connection associated with the specified redis cache
- provisioning
State string - Redis instance provisioning status.
- ssl
Port number - Redis SSL port.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- access_
keys RedisAccess Keys Response - The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
- azure_
api_ strversion - The Azure API version of the resource.
- host_
name str - Redis host name.
- id str
- The provider-assigned unique ID for this managed resource.
- instances
Sequence[Redis
Instance Details Response] - List of the Redis instances associated with the cache
- linked_
servers Sequence[RedisLinked Server Response] - List of the linked servers associated with the cache
- port int
- Redis non-SSL port.
- private_
endpoint_ Sequence[Privateconnections Endpoint Connection Response] - List of private endpoint connection associated with the specified redis cache
- provisioning_
state str - Redis instance provisioning status.
- ssl_
port int - Redis SSL port.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- access
Keys Property Map - The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
- azure
Api StringVersion - The Azure API version of the resource.
- host
Name String - Redis host name.
- id String
- The provider-assigned unique ID for this managed resource.
- instances List<Property Map>
- List of the Redis instances associated with the cache
- linked
Servers List<Property Map> - List of the linked servers associated with the cache
- port Number
- Redis non-SSL port.
- private
Endpoint List<Property Map>Connections - List of private endpoint connection associated with the specified redis cache
- provisioning
State String - Redis instance provisioning status.
- ssl
Port Number - Redis SSL port.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ManagedServiceIdentity, ManagedServiceIdentityArgs
- Type
string | Pulumi.
Azure Native. Redis. Managed Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned List<string>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned []stringIdentities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned string[]Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
str | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Sequence[str]identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | "None" | "System
Assigned" | "User Assigned" | "System Assigned, User Assigned" - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityResponse, ManagedServiceIdentityResponseArgs
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Redis. Inputs. User Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned map[string]UserIdentities Assigned Identity Response - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal_
id str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<Property Map>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- Managed
Service Identity Type None - None
- Managed
Service Identity Type System Assigned - SystemAssigned
- Managed
Service Identity Type User Assigned - UserAssigned
- Managed
Service Identity Type_System Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- NONE
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned, UserAssigned
- "None"
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned, User Assigned" - SystemAssigned, UserAssigned
PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Private
Link Pulumi.Service Connection State Azure Native. Redis. Inputs. Private Link Service Connection State Response - A collection of information about the state of the connection between service consumer and provider.
- Provisioning
State string - The provisioning state of the private endpoint connection resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Private
Endpoint Pulumi.Azure Native. Redis. Inputs. Private Endpoint Response - The resource of private end point.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Private
Link PrivateService Connection State Link Service Connection State Response - A collection of information about the state of the connection between service consumer and provider.
- Provisioning
State string - The provisioning state of the private endpoint connection resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Private
Endpoint PrivateEndpoint Response - The resource of private end point.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- private
Link PrivateService Connection State Link Service Connection State Response - A collection of information about the state of the connection between service consumer and provider.
- provisioning
State String - The provisioning state of the private endpoint connection resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- private
Endpoint PrivateEndpoint Response - The resource of private end point.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
- The name of the resource
- private
Link PrivateService Connection State Link Service Connection State Response - A collection of information about the state of the connection between service consumer and provider.
- provisioning
State string - The provisioning state of the private endpoint connection resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- private
Endpoint PrivateEndpoint Response - The resource of private end point.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- private_
link_ Privateservice_ connection_ state Link Service Connection State Response - A collection of information about the state of the connection between service consumer and provider.
- provisioning_
state str - The provisioning state of the private endpoint connection resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- private_
endpoint PrivateEndpoint Response - The resource of private end point.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- private
Link Property MapService Connection State - A collection of information about the state of the connection between service consumer and provider.
- provisioning
State String - The provisioning state of the private endpoint connection resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- private
Endpoint Property Map - The resource of private end point.
PrivateEndpointResponse, PrivateEndpointResponseArgs
- Id string
- The ARM identifier for Private Endpoint
- Id string
- The ARM identifier for Private Endpoint
- id String
- The ARM identifier for Private Endpoint
- id string
- The ARM identifier for Private Endpoint
- id str
- The ARM identifier for Private Endpoint
- id String
- The ARM identifier for Private Endpoint
PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs
- Actions
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- Description string
- The reason for approval/rejection of the connection.
- Status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- Actions
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- Description string
- The reason for approval/rejection of the connection.
- Status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
Required String - A message indicating if changes on the service provider require any updates on the consumer.
- description String
- The reason for approval/rejection of the connection.
- status String
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- description string
- The reason for approval/rejection of the connection.
- status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions_
required str - A message indicating if changes on the service provider require any updates on the consumer.
- description str
- The reason for approval/rejection of the connection.
- status str
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
Required String - A message indicating if changes on the service provider require any updates on the consumer.
- description String
- The reason for approval/rejection of the connection.
- status String
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
PublicNetworkAccess, PublicNetworkAccessArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Public
Network Access Enabled - Enabled
- Public
Network Access Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
RedisAccessKeysResponse, RedisAccessKeysResponseArgs
- Primary
Key string - The current primary key that clients can use to authenticate with Redis cache.
- Secondary
Key string - The current secondary key that clients can use to authenticate with Redis cache.
- Primary
Key string - The current primary key that clients can use to authenticate with Redis cache.
- Secondary
Key string - The current secondary key that clients can use to authenticate with Redis cache.
- primary
Key String - The current primary key that clients can use to authenticate with Redis cache.
- secondary
Key String - The current secondary key that clients can use to authenticate with Redis cache.
- primary
Key string - The current primary key that clients can use to authenticate with Redis cache.
- secondary
Key string - The current secondary key that clients can use to authenticate with Redis cache.
- primary_
key str - The current primary key that clients can use to authenticate with Redis cache.
- secondary_
key str - The current secondary key that clients can use to authenticate with Redis cache.
- primary
Key String - The current primary key that clients can use to authenticate with Redis cache.
- secondary
Key String - The current secondary key that clients can use to authenticate with Redis cache.
RedisCommonPropertiesRedisConfiguration, RedisCommonPropertiesRedisConfigurationArgs
- Aad
Enabled string - Specifies whether AAD based authentication has been enabled or disabled for the cache
- Aof
Backup stringEnabled - Specifies whether the aof backup is enabled
- Aof
Storage stringConnection String0 - First storage account connection string
- Aof
Storage stringConnection String1 - Second storage account connection string
- Authnotrequired string
- Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
- Maxfragmentationmemory
Reserved string - Value in megabytes reserved for fragmentation per shard
- Maxmemory
Delta string - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- Maxmemory
Policy string - The eviction strategy used when your data won't fit within its memory limit.
- Maxmemory
Reserved string - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- Notify
Keyspace stringEvents - The keyspace events which should be monitored.
- Preferred
Data stringPersistence Auth Method - Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
- Rdb
Backup stringEnabled - Specifies whether the rdb backup is enabled
- Rdb
Backup stringFrequency - Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
- Rdb
Backup stringMax Snapshot Count - Specifies the maximum number of snapshots for rdb backup
- Rdb
Storage stringConnection String - The storage account connection string for storing rdb file
- Storage
Subscription stringId - SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
- Aad
Enabled string - Specifies whether AAD based authentication has been enabled or disabled for the cache
- Aof
Backup stringEnabled - Specifies whether the aof backup is enabled
- Aof
Storage stringConnection String0 - First storage account connection string
- Aof
Storage stringConnection String1 - Second storage account connection string
- Authnotrequired string
- Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
- Maxfragmentationmemory
Reserved string - Value in megabytes reserved for fragmentation per shard
- Maxmemory
Delta string - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- Maxmemory
Policy string - The eviction strategy used when your data won't fit within its memory limit.
- Maxmemory
Reserved string - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- Notify
Keyspace stringEvents - The keyspace events which should be monitored.
- Preferred
Data stringPersistence Auth Method - Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
- Rdb
Backup stringEnabled - Specifies whether the rdb backup is enabled
- Rdb
Backup stringFrequency - Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
- Rdb
Backup stringMax Snapshot Count - Specifies the maximum number of snapshots for rdb backup
- Rdb
Storage stringConnection String - The storage account connection string for storing rdb file
- Storage
Subscription stringId - SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
- aad
Enabled String - Specifies whether AAD based authentication has been enabled or disabled for the cache
- aof
Backup StringEnabled - Specifies whether the aof backup is enabled
- aof
Storage StringConnection String0 - First storage account connection string
- aof
Storage StringConnection String1 - Second storage account connection string
- authnotrequired String
- Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
- maxfragmentationmemory
Reserved String - Value in megabytes reserved for fragmentation per shard
- maxmemory
Delta String - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- maxmemory
Policy String - The eviction strategy used when your data won't fit within its memory limit.
- maxmemory
Reserved String - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- notify
Keyspace StringEvents - The keyspace events which should be monitored.
- preferred
Data StringPersistence Auth Method - Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
- rdb
Backup StringEnabled - Specifies whether the rdb backup is enabled
- rdb
Backup StringFrequency - Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
- rdb
Backup StringMax Snapshot Count - Specifies the maximum number of snapshots for rdb backup
- rdb
Storage StringConnection String - The storage account connection string for storing rdb file
- storage
Subscription StringId - SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
- aad
Enabled string - Specifies whether AAD based authentication has been enabled or disabled for the cache
- aof
Backup stringEnabled - Specifies whether the aof backup is enabled
- aof
Storage stringConnection String0 - First storage account connection string
- aof
Storage stringConnection String1 - Second storage account connection string
- authnotrequired string
- Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
- maxfragmentationmemory
Reserved string - Value in megabytes reserved for fragmentation per shard
- maxmemory
Delta string - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- maxmemory
Policy string - The eviction strategy used when your data won't fit within its memory limit.
- maxmemory
Reserved string - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- notify
Keyspace stringEvents - The keyspace events which should be monitored.
- preferred
Data stringPersistence Auth Method - Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
- rdb
Backup stringEnabled - Specifies whether the rdb backup is enabled
- rdb
Backup stringFrequency - Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
- rdb
Backup stringMax Snapshot Count - Specifies the maximum number of snapshots for rdb backup
- rdb
Storage stringConnection String - The storage account connection string for storing rdb file
- storage
Subscription stringId - SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
- aad_
enabled str - Specifies whether AAD based authentication has been enabled or disabled for the cache
- aof_
backup_ strenabled - Specifies whether the aof backup is enabled
- aof_
storage_ strconnection_ string0 - First storage account connection string
- aof_
storage_ strconnection_ string1 - Second storage account connection string
- authnotrequired str
- Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
- maxfragmentationmemory_
reserved str - Value in megabytes reserved for fragmentation per shard
- maxmemory_
delta str - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- maxmemory_
policy str - The eviction strategy used when your data won't fit within its memory limit.
- maxmemory_
reserved str - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- notify_
keyspace_ strevents - The keyspace events which should be monitored.
- preferred_
data_ strpersistence_ auth_ method - Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
- rdb_
backup_ strenabled - Specifies whether the rdb backup is enabled
- rdb_
backup_ strfrequency - Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
- rdb_
backup_ strmax_ snapshot_ count - Specifies the maximum number of snapshots for rdb backup
- rdb_
storage_ strconnection_ string - The storage account connection string for storing rdb file
- storage_
subscription_ strid - SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
- aad
Enabled String - Specifies whether AAD based authentication has been enabled or disabled for the cache
- aof
Backup StringEnabled - Specifies whether the aof backup is enabled
- aof
Storage StringConnection String0 - First storage account connection string
- aof
Storage StringConnection String1 - Second storage account connection string
- authnotrequired String
- Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
- maxfragmentationmemory
Reserved String - Value in megabytes reserved for fragmentation per shard
- maxmemory
Delta String - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- maxmemory
Policy String - The eviction strategy used when your data won't fit within its memory limit.
- maxmemory
Reserved String - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- notify
Keyspace StringEvents - The keyspace events which should be monitored.
- preferred
Data StringPersistence Auth Method - Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
- rdb
Backup StringEnabled - Specifies whether the rdb backup is enabled
- rdb
Backup StringFrequency - Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
- rdb
Backup StringMax Snapshot Count - Specifies the maximum number of snapshots for rdb backup
- rdb
Storage StringConnection String - The storage account connection string for storing rdb file
- storage
Subscription StringId - SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
RedisCommonPropertiesResponseRedisConfiguration, RedisCommonPropertiesResponseRedisConfigurationArgs
- Maxclients string
- The max clients config
- Preferred
Data stringArchive Auth Method - Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS
- Zonal
Configuration string - Zonal Configuration
- Aad
Enabled string - Specifies whether AAD based authentication has been enabled or disabled for the cache
- Aof
Backup stringEnabled - Specifies whether the aof backup is enabled
- Aof
Storage stringConnection String0 - First storage account connection string
- Aof
Storage stringConnection String1 - Second storage account connection string
- Authnotrequired string
- Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
- Maxfragmentationmemory
Reserved string - Value in megabytes reserved for fragmentation per shard
- Maxmemory
Delta string - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- Maxmemory
Policy string - The eviction strategy used when your data won't fit within its memory limit.
- Maxmemory
Reserved string - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- Notify
Keyspace stringEvents - The keyspace events which should be monitored.
- Preferred
Data stringPersistence Auth Method - Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
- Rdb
Backup stringEnabled - Specifies whether the rdb backup is enabled
- Rdb
Backup stringFrequency - Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
- Rdb
Backup stringMax Snapshot Count - Specifies the maximum number of snapshots for rdb backup
- Rdb
Storage stringConnection String - The storage account connection string for storing rdb file
- Storage
Subscription stringId - SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
- Maxclients string
- The max clients config
- Preferred
Data stringArchive Auth Method - Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS
- Zonal
Configuration string - Zonal Configuration
- Aad
Enabled string - Specifies whether AAD based authentication has been enabled or disabled for the cache
- Aof
Backup stringEnabled - Specifies whether the aof backup is enabled
- Aof
Storage stringConnection String0 - First storage account connection string
- Aof
Storage stringConnection String1 - Second storage account connection string
- Authnotrequired string
- Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
- Maxfragmentationmemory
Reserved string - Value in megabytes reserved for fragmentation per shard
- Maxmemory
Delta string - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- Maxmemory
Policy string - The eviction strategy used when your data won't fit within its memory limit.
- Maxmemory
Reserved string - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- Notify
Keyspace stringEvents - The keyspace events which should be monitored.
- Preferred
Data stringPersistence Auth Method - Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
- Rdb
Backup stringEnabled - Specifies whether the rdb backup is enabled
- Rdb
Backup stringFrequency - Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
- Rdb
Backup stringMax Snapshot Count - Specifies the maximum number of snapshots for rdb backup
- Rdb
Storage stringConnection String - The storage account connection string for storing rdb file
- Storage
Subscription stringId - SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
- maxclients String
- The max clients config
- preferred
Data StringArchive Auth Method - Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS
- zonal
Configuration String - Zonal Configuration
- aad
Enabled String - Specifies whether AAD based authentication has been enabled or disabled for the cache
- aof
Backup StringEnabled - Specifies whether the aof backup is enabled
- aof
Storage StringConnection String0 - First storage account connection string
- aof
Storage StringConnection String1 - Second storage account connection string
- authnotrequired String
- Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
- maxfragmentationmemory
Reserved String - Value in megabytes reserved for fragmentation per shard
- maxmemory
Delta String - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- maxmemory
Policy String - The eviction strategy used when your data won't fit within its memory limit.
- maxmemory
Reserved String - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- notify
Keyspace StringEvents - The keyspace events which should be monitored.
- preferred
Data StringPersistence Auth Method - Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
- rdb
Backup StringEnabled - Specifies whether the rdb backup is enabled
- rdb
Backup StringFrequency - Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
- rdb
Backup StringMax Snapshot Count - Specifies the maximum number of snapshots for rdb backup
- rdb
Storage StringConnection String - The storage account connection string for storing rdb file
- storage
Subscription StringId - SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
- maxclients string
- The max clients config
- preferred
Data stringArchive Auth Method - Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS
- zonal
Configuration string - Zonal Configuration
- aad
Enabled string - Specifies whether AAD based authentication has been enabled or disabled for the cache
- aof
Backup stringEnabled - Specifies whether the aof backup is enabled
- aof
Storage stringConnection String0 - First storage account connection string
- aof
Storage stringConnection String1 - Second storage account connection string
- authnotrequired string
- Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
- maxfragmentationmemory
Reserved string - Value in megabytes reserved for fragmentation per shard
- maxmemory
Delta string - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- maxmemory
Policy string - The eviction strategy used when your data won't fit within its memory limit.
- maxmemory
Reserved string - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- notify
Keyspace stringEvents - The keyspace events which should be monitored.
- preferred
Data stringPersistence Auth Method - Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
- rdb
Backup stringEnabled - Specifies whether the rdb backup is enabled
- rdb
Backup stringFrequency - Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
- rdb
Backup stringMax Snapshot Count - Specifies the maximum number of snapshots for rdb backup
- rdb
Storage stringConnection String - The storage account connection string for storing rdb file
- storage
Subscription stringId - SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
- maxclients str
- The max clients config
- preferred_
data_ strarchive_ auth_ method - Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS
- zonal_
configuration str - Zonal Configuration
- aad_
enabled str - Specifies whether AAD based authentication has been enabled or disabled for the cache
- aof_
backup_ strenabled - Specifies whether the aof backup is enabled
- aof_
storage_ strconnection_ string0 - First storage account connection string
- aof_
storage_ strconnection_ string1 - Second storage account connection string
- authnotrequired str
- Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
- maxfragmentationmemory_
reserved str - Value in megabytes reserved for fragmentation per shard
- maxmemory_
delta str - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- maxmemory_
policy str - The eviction strategy used when your data won't fit within its memory limit.
- maxmemory_
reserved str - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- notify_
keyspace_ strevents - The keyspace events which should be monitored.
- preferred_
data_ strpersistence_ auth_ method - Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
- rdb_
backup_ strenabled - Specifies whether the rdb backup is enabled
- rdb_
backup_ strfrequency - Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
- rdb_
backup_ strmax_ snapshot_ count - Specifies the maximum number of snapshots for rdb backup
- rdb_
storage_ strconnection_ string - The storage account connection string for storing rdb file
- storage_
subscription_ strid - SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
- maxclients String
- The max clients config
- preferred
Data StringArchive Auth Method - Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS
- zonal
Configuration String - Zonal Configuration
- aad
Enabled String - Specifies whether AAD based authentication has been enabled or disabled for the cache
- aof
Backup StringEnabled - Specifies whether the aof backup is enabled
- aof
Storage StringConnection String0 - First storage account connection string
- aof
Storage StringConnection String1 - Second storage account connection string
- authnotrequired String
- Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
- maxfragmentationmemory
Reserved String - Value in megabytes reserved for fragmentation per shard
- maxmemory
Delta String - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- maxmemory
Policy String - The eviction strategy used when your data won't fit within its memory limit.
- maxmemory
Reserved String - Value in megabytes reserved for non-cache usage per shard e.g. failover.
- notify
Keyspace StringEvents - The keyspace events which should be monitored.
- preferred
Data StringPersistence Auth Method - Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
- rdb
Backup StringEnabled - Specifies whether the rdb backup is enabled
- rdb
Backup StringFrequency - Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
- rdb
Backup StringMax Snapshot Count - Specifies the maximum number of snapshots for rdb backup
- rdb
Storage StringConnection String - The storage account connection string for storing rdb file
- storage
Subscription StringId - SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
RedisInstanceDetailsResponse, RedisInstanceDetailsResponseArgs
- Is
Master bool - Specifies whether the instance is a primary node.
- Is
Primary bool - Specifies whether the instance is a primary node.
- Non
Ssl intPort - If enableNonSslPort is true, provides Redis instance Non-SSL port.
- int
- If clustering is enabled, the Shard ID of Redis Instance
- Ssl
Port int - Redis instance SSL port.
- Zone string
- If the Cache uses availability zones, specifies availability zone where this instance is located.
- Is
Master bool - Specifies whether the instance is a primary node.
- Is
Primary bool - Specifies whether the instance is a primary node.
- Non
Ssl intPort - If enableNonSslPort is true, provides Redis instance Non-SSL port.
- int
- If clustering is enabled, the Shard ID of Redis Instance
- Ssl
Port int - Redis instance SSL port.
- Zone string
- If the Cache uses availability zones, specifies availability zone where this instance is located.
- is
Master Boolean - Specifies whether the instance is a primary node.
- is
Primary Boolean - Specifies whether the instance is a primary node.
- non
Ssl IntegerPort - If enableNonSslPort is true, provides Redis instance Non-SSL port.
- Integer
- If clustering is enabled, the Shard ID of Redis Instance
- ssl
Port Integer - Redis instance SSL port.
- zone String
- If the Cache uses availability zones, specifies availability zone where this instance is located.
- is
Master boolean - Specifies whether the instance is a primary node.
- is
Primary boolean - Specifies whether the instance is a primary node.
- non
Ssl numberPort - If enableNonSslPort is true, provides Redis instance Non-SSL port.
- number
- If clustering is enabled, the Shard ID of Redis Instance
- ssl
Port number - Redis instance SSL port.
- zone string
- If the Cache uses availability zones, specifies availability zone where this instance is located.
- is_
master bool - Specifies whether the instance is a primary node.
- is_
primary bool - Specifies whether the instance is a primary node.
- non_
ssl_ intport - If enableNonSslPort is true, provides Redis instance Non-SSL port.
- int
- If clustering is enabled, the Shard ID of Redis Instance
- ssl_
port int - Redis instance SSL port.
- zone str
- If the Cache uses availability zones, specifies availability zone where this instance is located.
- is
Master Boolean - Specifies whether the instance is a primary node.
- is
Primary Boolean - Specifies whether the instance is a primary node.
- non
Ssl NumberPort - If enableNonSslPort is true, provides Redis instance Non-SSL port.
- Number
- If clustering is enabled, the Shard ID of Redis Instance
- ssl
Port Number - Redis instance SSL port.
- zone String
- If the Cache uses availability zones, specifies availability zone where this instance is located.
RedisLinkedServerResponse, RedisLinkedServerResponseArgs
- Id string
- Linked server Id.
- Id string
- Linked server Id.
- id String
- Linked server Id.
- id string
- Linked server Id.
- id str
- Linked server Id.
- id String
- Linked server Id.
Sku, SkuArgs
- Capacity int
- The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
- Family
string | Pulumi.
Azure Native. Redis. Sku Family - The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
- Name
string | Pulumi.
Azure Native. Redis. Sku Name - The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
- Capacity int
- The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
- Family
string | Sku
Family - The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
- Name
string | Sku
Name - The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
- capacity Integer
- The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
- family
String | Sku
Family - The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
- name
String | Sku
Name - The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
- capacity number
- The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
- family
string | Sku
Family - The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
- name
string | Sku
Name - The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
- capacity int
- The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
- family
str | Sku
Family - The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
- name
str | Sku
Name - The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
- capacity Number
- The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
- family String | "C" | "P"
- The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
- name String | "Basic" | "Standard" | "Premium"
- The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
SkuFamily, SkuFamilyArgs
- C
- C
- P
- P
- Sku
Family C - C
- Sku
Family P - P
- C
- C
- P
- P
- C
- C
- P
- P
- C
- C
- P
- P
- "C"
- C
- "P"
- P
SkuName, SkuNameArgs
- Basic
- Basic
- Standard
- Standard
- Premium
- Premium
- Sku
Name Basic - Basic
- Sku
Name Standard - Standard
- Sku
Name Premium - Premium
- Basic
- Basic
- Standard
- Standard
- Premium
- Premium
- Basic
- Basic
- Standard
- Standard
- Premium
- Premium
- BASIC
- Basic
- STANDARD
- Standard
- PREMIUM
- Premium
- "Basic"
- Basic
- "Standard"
- Standard
- "Premium"
- Premium
SkuResponse, SkuResponseArgs
- Capacity int
- The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
- Family string
- The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
- Name string
- The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
- Capacity int
- The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
- Family string
- The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
- Name string
- The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
- capacity Integer
- The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
- family String
- The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
- name String
- The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
- capacity number
- The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
- family string
- The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
- name string
- The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
- capacity int
- The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
- family str
- The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
- name str
- The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
- capacity Number
- The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
- family String
- The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
- name String
- The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
TlsVersion, TlsVersionArgs
- Tls
Version_1_0 - 1.0
- Tls
Version_1_1 - 1.1
- Tls
Version_1_2 - 1.2
- Tls
Version_1_0 - 1.0
- Tls
Version_1_1 - 1.1
- Tls
Version_1_2 - 1.2
- _1_0
- 1.0
- _1_1
- 1.1
- _1_2
- 1.2
- Tls
Version_1_0 - 1.0
- Tls
Version_1_1 - 1.1
- Tls
Version_1_2 - 1.2
- TLS_VERSION_1_0
- 1.0
- TLS_VERSION_1_1
- 1.1
- TLS_VERSION_1_2
- 1.2
- "1.0"
- 1.0
- "1.1"
- 1.1
- "1.2"
- 1.2
UpdateChannel, UpdateChannelArgs
- Stable
- Stable
- Preview
- Preview
- Update
Channel Stable - Stable
- Update
Channel Preview - Preview
- Stable
- Stable
- Preview
- Preview
- Stable
- Stable
- Preview
- Preview
- STABLE
- Stable
- PREVIEW
- Preview
- "Stable"
- Stable
- "Preview"
- Preview
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id string - The principal ID of the assigned identity.
- client_
id str - The client ID of the assigned identity.
- principal_
id str - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
ZonalAllocationPolicy, ZonalAllocationPolicyArgs
- Automatic
- Automatic
- User
Defined - UserDefined
- No
Zones - NoZones
- Zonal
Allocation Policy Automatic - Automatic
- Zonal
Allocation Policy User Defined - UserDefined
- Zonal
Allocation Policy No Zones - NoZones
- Automatic
- Automatic
- User
Defined - UserDefined
- No
Zones - NoZones
- Automatic
- Automatic
- User
Defined - UserDefined
- No
Zones - NoZones
- AUTOMATIC
- Automatic
- USER_DEFINED
- UserDefined
- NO_ZONES
- NoZones
- "Automatic"
- Automatic
- "User
Defined" - UserDefined
- "No
Zones" - NoZones
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:redis:Redis cache1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0