1. Packages
  2. Azure Native
  3. API Docs
  4. redis
  5. Redis
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

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",
        },
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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"],
});
Copy
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"])
Copy
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'
Copy

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,
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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,
});
Copy
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)
Copy
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
Copy

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",
        },
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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"],
});
Copy
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"])
Copy
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'
Copy

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",
        },
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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"],
});
Copy
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"])
Copy
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'
Copy

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,
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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,
});
Copy
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)
Copy
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
Copy

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",
        },
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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"],
});
Copy
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"])
Copy
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'
Copy

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)
public Redis(String name, RedisArgs args)
public Redis(String name, RedisArgs args, CustomResourceOptions options)
type: azure-native:redis:Redis
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. RedisArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. RedisArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. RedisArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
    },
});
Copy
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"),
	},
})
Copy
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());
Copy
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"])
Copy
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"],
});
Copy
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
Copy

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:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Sku This property is required. Pulumi.AzureNative.Redis.Inputs.Sku
The SKU of the Redis cache to deploy.
DisableAccessKeyAuthentication bool
Authentication to Redis through access keys is disabled when set as true. Default value is false.
EnableNonSslPort bool
Specifies whether the non-ssl Redis server port (6379) is enabled.
Identity Pulumi.AzureNative.Redis.Inputs.ManagedServiceIdentity
The identity of the resource.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
MinimumTlsVersion string | Pulumi.AzureNative.Redis.TlsVersion
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
Name Changes to this property will trigger replacement. string
The name of the Redis cache.
PublicNetworkAccess string | Pulumi.AzureNative.Redis.PublicNetworkAccess
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'
RedisConfiguration Pulumi.AzureNative.Redis.Inputs.RedisCommonPropertiesRedisConfiguration
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.
RedisVersion 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'.
ReplicasPerMaster int
The number of replicas to be created per primary.
ReplicasPerPrimary int
The number of replicas to be created per primary.
ShardCount int
The number of shards to be created on a Premium Cluster Cache.
StaticIP Changes to this property will trigger replacement. string
Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
SubnetId 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
Tags Dictionary<string, string>
Resource tags.
TenantSettings Dictionary<string, string>
A dictionary of tenant settings
UpdateChannel string | Pulumi.AzureNative.Redis.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'.
ZonalAllocationPolicy string | Pulumi.AzureNative.Redis.ZonalAllocationPolicy
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.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Sku This property is required. SkuArgs
The SKU of the Redis cache to deploy.
DisableAccessKeyAuthentication bool
Authentication to Redis through access keys is disabled when set as true. Default value is false.
EnableNonSslPort bool
Specifies whether the non-ssl Redis server port (6379) is enabled.
Identity ManagedServiceIdentityArgs
The identity of the resource.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
MinimumTlsVersion string | TlsVersion
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
Name Changes to this property will trigger replacement. string
The name of the Redis cache.
PublicNetworkAccess string | PublicNetworkAccess
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'
RedisConfiguration RedisCommonPropertiesRedisConfigurationArgs
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.
RedisVersion 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'.
ReplicasPerMaster int
The number of replicas to be created per primary.
ReplicasPerPrimary int
The number of replicas to be created per primary.
ShardCount int
The number of shards to be created on a Premium Cluster Cache.
StaticIP Changes to this property will trigger replacement. string
Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
SubnetId 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
Tags map[string]string
Resource tags.
TenantSettings map[string]string
A dictionary of tenant settings
UpdateChannel 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'.
ZonalAllocationPolicy string | ZonalAllocationPolicy
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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
sku This property is required. Sku
The SKU of the Redis cache to deploy.
disableAccessKeyAuthentication Boolean
Authentication to Redis through access keys is disabled when set as true. Default value is false.
enableNonSslPort Boolean
Specifies whether the non-ssl Redis server port (6379) is enabled.
identity ManagedServiceIdentity
The identity of the resource.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
minimumTlsVersion String | TlsVersion
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
name Changes to this property will trigger replacement. String
The name of the Redis cache.
publicNetworkAccess String | PublicNetworkAccess
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'
redisConfiguration RedisCommonPropertiesRedisConfiguration
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.
redisVersion 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'.
replicasPerMaster Integer
The number of replicas to be created per primary.
replicasPerPrimary Integer
The number of replicas to be created per primary.
shardCount Integer
The number of shards to be created on a Premium Cluster Cache.
staticIP Changes to this property will trigger replacement. String
Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
subnetId 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
tags Map<String,String>
Resource tags.
tenantSettings Map<String,String>
A dictionary of tenant settings
updateChannel 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'.
zonalAllocationPolicy String | ZonalAllocationPolicy
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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
sku This property is required. Sku
The SKU of the Redis cache to deploy.
disableAccessKeyAuthentication boolean
Authentication to Redis through access keys is disabled when set as true. Default value is false.
enableNonSslPort boolean
Specifies whether the non-ssl Redis server port (6379) is enabled.
identity ManagedServiceIdentity
The identity of the resource.
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
minimumTlsVersion string | TlsVersion
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
name Changes to this property will trigger replacement. string
The name of the Redis cache.
publicNetworkAccess string | PublicNetworkAccess
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'
redisConfiguration RedisCommonPropertiesRedisConfiguration
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.
redisVersion 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'.
replicasPerMaster number
The number of replicas to be created per primary.
replicasPerPrimary number
The number of replicas to be created per primary.
shardCount number
The number of shards to be created on a Premium Cluster Cache.
staticIP Changes to this property will trigger replacement. string
Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
subnetId 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
tags {[key: string]: string}
Resource tags.
tenantSettings {[key: string]: string}
A dictionary of tenant settings
updateChannel 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'.
zonalAllocationPolicy string | ZonalAllocationPolicy
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_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
sku This property is required. SkuArgs
The SKU of the Redis cache to deploy.
disable_access_key_authentication bool
Authentication to Redis through access keys is disabled when set as true. Default value is false.
enable_non_ssl_port bool
Specifies whether the non-ssl Redis server port (6379) is enabled.
identity ManagedServiceIdentityArgs
The identity of the resource.
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
minimum_tls_version str | TlsVersion
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
name Changes to this property will trigger replacement. str
The name of the Redis cache.
public_network_access str | PublicNetworkAccess
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 RedisCommonPropertiesRedisConfigurationArgs
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_master int
The number of replicas to be created per primary.
replicas_per_primary int
The number of replicas to be created per primary.
shard_count int
The number of shards to be created on a Premium Cluster Cache.
static_ip Changes to this property will trigger replacement. 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
tags 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_policy str | ZonalAllocationPolicy
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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
sku This property is required. Property Map
The SKU of the Redis cache to deploy.
disableAccessKeyAuthentication Boolean
Authentication to Redis through access keys is disabled when set as true. Default value is false.
enableNonSslPort Boolean
Specifies whether the non-ssl Redis server port (6379) is enabled.
identity Property Map
The identity of the resource.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
minimumTlsVersion String | "1.0" | "1.1" | "1.2"
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
name Changes to this property will trigger replacement. String
The name of the Redis cache.
publicNetworkAccess String | "Enabled" | "Disabled"
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'
redisConfiguration 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.
redisVersion 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'.
replicasPerMaster Number
The number of replicas to be created per primary.
replicasPerPrimary Number
The number of replicas to be created per primary.
shardCount Number
The number of shards to be created on a Premium Cluster Cache.
staticIP Changes to this property will trigger replacement. String
Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
subnetId 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
tags Map<String>
Resource tags.
tenantSettings Map<String>
A dictionary of tenant settings
updateChannel 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'.
zonalAllocationPolicy String | "Automatic" | "UserDefined" | "NoZones"
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:

AccessKeys Pulumi.AzureNative.Redis.Outputs.RedisAccessKeysResponse
The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
AzureApiVersion string
The Azure API version of the resource.
HostName string
Redis host name.
Id string
The provider-assigned unique ID for this managed resource.
Instances List<Pulumi.AzureNative.Redis.Outputs.RedisInstanceDetailsResponse>
List of the Redis instances associated with the cache
LinkedServers List<Pulumi.AzureNative.Redis.Outputs.RedisLinkedServerResponse>
List of the linked servers associated with the cache
Port int
Redis non-SSL port.
PrivateEndpointConnections List<Pulumi.AzureNative.Redis.Outputs.PrivateEndpointConnectionResponse>
List of private endpoint connection associated with the specified redis cache
ProvisioningState string
Redis instance provisioning status.
SslPort int
Redis SSL port.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
AccessKeys RedisAccessKeysResponse
The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
AzureApiVersion string
The Azure API version of the resource.
HostName string
Redis host name.
Id string
The provider-assigned unique ID for this managed resource.
Instances []RedisInstanceDetailsResponse
List of the Redis instances associated with the cache
LinkedServers []RedisLinkedServerResponse
List of the linked servers associated with the cache
Port int
Redis non-SSL port.
PrivateEndpointConnections []PrivateEndpointConnectionResponse
List of private endpoint connection associated with the specified redis cache
ProvisioningState string
Redis instance provisioning status.
SslPort int
Redis SSL port.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
accessKeys RedisAccessKeysResponse
The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
azureApiVersion String
The Azure API version of the resource.
hostName String
Redis host name.
id String
The provider-assigned unique ID for this managed resource.
instances List<RedisInstanceDetailsResponse>
List of the Redis instances associated with the cache
linkedServers List<RedisLinkedServerResponse>
List of the linked servers associated with the cache
port Integer
Redis non-SSL port.
privateEndpointConnections List<PrivateEndpointConnectionResponse>
List of private endpoint connection associated with the specified redis cache
provisioningState String
Redis instance provisioning status.
sslPort Integer
Redis SSL port.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
accessKeys RedisAccessKeysResponse
The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
azureApiVersion string
The Azure API version of the resource.
hostName string
Redis host name.
id string
The provider-assigned unique ID for this managed resource.
instances RedisInstanceDetailsResponse[]
List of the Redis instances associated with the cache
linkedServers RedisLinkedServerResponse[]
List of the linked servers associated with the cache
port number
Redis non-SSL port.
privateEndpointConnections PrivateEndpointConnectionResponse[]
List of private endpoint connection associated with the specified redis cache
provisioningState string
Redis instance provisioning status.
sslPort number
Redis SSL port.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
access_keys RedisAccessKeysResponse
The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
azure_api_version str
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[RedisInstanceDetailsResponse]
List of the Redis instances associated with the cache
linked_servers Sequence[RedisLinkedServerResponse]
List of the linked servers associated with the cache
port int
Redis non-SSL port.
private_endpoint_connections Sequence[PrivateEndpointConnectionResponse]
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"
accessKeys Property Map
The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
azureApiVersion String
The Azure API version of the resource.
hostName 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
linkedServers List<Property Map>
List of the linked servers associated with the cache
port Number
Redis non-SSL port.
privateEndpointConnections List<Property Map>
List of private endpoint connection associated with the specified redis cache
provisioningState String
Redis instance provisioning status.
sslPort 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 This property is required. string | Pulumi.AzureNative.Redis.ManagedServiceIdentityType
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
UserAssignedIdentities List<string>
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 This property is required. string | ManagedServiceIdentityType
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
UserAssignedIdentities []string
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 This property is required. String | ManagedServiceIdentityType
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
userAssignedIdentities List<String>
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 This property is required. string | ManagedServiceIdentityType
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
userAssignedIdentities string[]
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 This property is required. str | ManagedServiceIdentityType
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
user_assigned_identities Sequence[str]
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 This property is required. String | "None" | "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned"
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
userAssignedIdentities List<String>
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

PrincipalId This property is required. string
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
TenantId This property is required. string
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
Type This property is required. string
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.Redis.Inputs.UserAssignedIdentityResponse>
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.
PrincipalId This property is required. string
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
TenantId This property is required. string
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
Type This property is required. string
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
UserAssignedIdentities map[string]UserAssignedIdentityResponse
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.
principalId This property is required. String
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. String
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. String
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
userAssignedIdentities Map<String,UserAssignedIdentityResponse>
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.
principalId This property is required. string
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. string
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. string
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}
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 This property is required. str
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenant_id This property is required. str
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. str
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
user_assigned_identities Mapping[str, UserAssignedIdentityResponse]
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.
principalId This property is required. String
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. String
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. String
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
userAssignedIdentities Map<Property Map>
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
SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned, UserAssigned
ManagedServiceIdentityTypeNone
None
ManagedServiceIdentityTypeSystemAssigned
SystemAssigned
ManagedServiceIdentityTypeUserAssigned
UserAssigned
ManagedServiceIdentityType_SystemAssigned_UserAssigned
SystemAssigned, UserAssigned
None
None
SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned, UserAssigned
None
None
SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned, UserAssigned
NONE
None
SYSTEM_ASSIGNED
SystemAssigned
USER_ASSIGNED
UserAssigned
SYSTEM_ASSIGNED_USER_ASSIGNED
SystemAssigned, UserAssigned
"None"
None
"SystemAssigned"
SystemAssigned
"UserAssigned"
UserAssigned
"SystemAssigned, UserAssigned"
SystemAssigned, UserAssigned

PrivateEndpointConnectionResponse
, PrivateEndpointConnectionResponseArgs

Id This property is required. string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name This property is required. string
The name of the resource
PrivateLinkServiceConnectionState This property is required. Pulumi.AzureNative.Redis.Inputs.PrivateLinkServiceConnectionStateResponse
A collection of information about the state of the connection between service consumer and provider.
ProvisioningState This property is required. string
The provisioning state of the private endpoint connection resource.
Type This property is required. string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
PrivateEndpoint Pulumi.AzureNative.Redis.Inputs.PrivateEndpointResponse
The resource of private end point.
Id This property is required. string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name This property is required. string
The name of the resource
PrivateLinkServiceConnectionState This property is required. PrivateLinkServiceConnectionStateResponse
A collection of information about the state of the connection between service consumer and provider.
ProvisioningState This property is required. string
The provisioning state of the private endpoint connection resource.
Type This property is required. string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
PrivateEndpoint PrivateEndpointResponse
The resource of private end point.
id This property is required. String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name This property is required. String
The name of the resource
privateLinkServiceConnectionState This property is required. PrivateLinkServiceConnectionStateResponse
A collection of information about the state of the connection between service consumer and provider.
provisioningState This property is required. String
The provisioning state of the private endpoint connection resource.
type This property is required. String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
privateEndpoint PrivateEndpointResponse
The resource of private end point.
id This property is required. string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name This property is required. string
The name of the resource
privateLinkServiceConnectionState This property is required. PrivateLinkServiceConnectionStateResponse
A collection of information about the state of the connection between service consumer and provider.
provisioningState This property is required. string
The provisioning state of the private endpoint connection resource.
type This property is required. string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
privateEndpoint PrivateEndpointResponse
The resource of private end point.
id This property is required. str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name This property is required. str
The name of the resource
private_link_service_connection_state This property is required. PrivateLinkServiceConnectionStateResponse
A collection of information about the state of the connection between service consumer and provider.
provisioning_state This property is required. str
The provisioning state of the private endpoint connection resource.
type This property is required. str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
private_endpoint PrivateEndpointResponse
The resource of private end point.
id This property is required. String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name This property is required. String
The name of the resource
privateLinkServiceConnectionState This property is required. Property Map
A collection of information about the state of the connection between service consumer and provider.
provisioningState This property is required. String
The provisioning state of the private endpoint connection resource.
type This property is required. String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
privateEndpoint Property Map
The resource of private end point.

PrivateEndpointResponse
, PrivateEndpointResponseArgs

Id This property is required. string
The ARM identifier for Private Endpoint
Id This property is required. string
The ARM identifier for Private Endpoint
id This property is required. String
The ARM identifier for Private Endpoint
id This property is required. string
The ARM identifier for Private Endpoint
id This property is required. str
The ARM identifier for Private Endpoint
id This property is required. String
The ARM identifier for Private Endpoint

PrivateLinkServiceConnectionStateResponse
, PrivateLinkServiceConnectionStateResponseArgs

ActionsRequired 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.
ActionsRequired 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.
actionsRequired 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.
actionsRequired 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.
actionsRequired 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
PublicNetworkAccessEnabled
Enabled
PublicNetworkAccessDisabled
Disabled
Enabled
Enabled
Disabled
Disabled
Enabled
Enabled
Disabled
Disabled
ENABLED
Enabled
DISABLED
Disabled
"Enabled"
Enabled
"Disabled"
Disabled

RedisAccessKeysResponse
, RedisAccessKeysResponseArgs

PrimaryKey This property is required. string
The current primary key that clients can use to authenticate with Redis cache.
SecondaryKey This property is required. string
The current secondary key that clients can use to authenticate with Redis cache.
PrimaryKey This property is required. string
The current primary key that clients can use to authenticate with Redis cache.
SecondaryKey This property is required. string
The current secondary key that clients can use to authenticate with Redis cache.
primaryKey This property is required. String
The current primary key that clients can use to authenticate with Redis cache.
secondaryKey This property is required. String
The current secondary key that clients can use to authenticate with Redis cache.
primaryKey This property is required. string
The current primary key that clients can use to authenticate with Redis cache.
secondaryKey This property is required. string
The current secondary key that clients can use to authenticate with Redis cache.
primary_key This property is required. str
The current primary key that clients can use to authenticate with Redis cache.
secondary_key This property is required. str
The current secondary key that clients can use to authenticate with Redis cache.
primaryKey This property is required. String
The current primary key that clients can use to authenticate with Redis cache.
secondaryKey This property is required. String
The current secondary key that clients can use to authenticate with Redis cache.

RedisCommonPropertiesRedisConfiguration
, RedisCommonPropertiesRedisConfigurationArgs

AadEnabled string
Specifies whether AAD based authentication has been enabled or disabled for the cache
AofBackupEnabled string
Specifies whether the aof backup is enabled
AofStorageConnectionString0 string
First storage account connection string
AofStorageConnectionString1 string
Second storage account connection string
Authnotrequired string
Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
MaxfragmentationmemoryReserved string
Value in megabytes reserved for fragmentation per shard
MaxmemoryDelta string
Value in megabytes reserved for non-cache usage per shard e.g. failover.
MaxmemoryPolicy string
The eviction strategy used when your data won't fit within its memory limit.
MaxmemoryReserved string
Value in megabytes reserved for non-cache usage per shard e.g. failover.
NotifyKeyspaceEvents string
The keyspace events which should be monitored.
PreferredDataPersistenceAuthMethod string
Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
RdbBackupEnabled string
Specifies whether the rdb backup is enabled
RdbBackupFrequency string
Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
RdbBackupMaxSnapshotCount string
Specifies the maximum number of snapshots for rdb backup
RdbStorageConnectionString string
The storage account connection string for storing rdb file
StorageSubscriptionId string
SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
AadEnabled string
Specifies whether AAD based authentication has been enabled or disabled for the cache
AofBackupEnabled string
Specifies whether the aof backup is enabled
AofStorageConnectionString0 string
First storage account connection string
AofStorageConnectionString1 string
Second storage account connection string
Authnotrequired string
Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
MaxfragmentationmemoryReserved string
Value in megabytes reserved for fragmentation per shard
MaxmemoryDelta string
Value in megabytes reserved for non-cache usage per shard e.g. failover.
MaxmemoryPolicy string
The eviction strategy used when your data won't fit within its memory limit.
MaxmemoryReserved string
Value in megabytes reserved for non-cache usage per shard e.g. failover.
NotifyKeyspaceEvents string
The keyspace events which should be monitored.
PreferredDataPersistenceAuthMethod string
Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
RdbBackupEnabled string
Specifies whether the rdb backup is enabled
RdbBackupFrequency string
Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
RdbBackupMaxSnapshotCount string
Specifies the maximum number of snapshots for rdb backup
RdbStorageConnectionString string
The storage account connection string for storing rdb file
StorageSubscriptionId string
SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
aadEnabled String
Specifies whether AAD based authentication has been enabled or disabled for the cache
aofBackupEnabled String
Specifies whether the aof backup is enabled
aofStorageConnectionString0 String
First storage account connection string
aofStorageConnectionString1 String
Second storage account connection string
authnotrequired String
Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
maxfragmentationmemoryReserved String
Value in megabytes reserved for fragmentation per shard
maxmemoryDelta String
Value in megabytes reserved for non-cache usage per shard e.g. failover.
maxmemoryPolicy String
The eviction strategy used when your data won't fit within its memory limit.
maxmemoryReserved String
Value in megabytes reserved for non-cache usage per shard e.g. failover.
notifyKeyspaceEvents String
The keyspace events which should be monitored.
preferredDataPersistenceAuthMethod String
Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
rdbBackupEnabled String
Specifies whether the rdb backup is enabled
rdbBackupFrequency String
Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
rdbBackupMaxSnapshotCount String
Specifies the maximum number of snapshots for rdb backup
rdbStorageConnectionString String
The storage account connection string for storing rdb file
storageSubscriptionId String
SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
aadEnabled string
Specifies whether AAD based authentication has been enabled or disabled for the cache
aofBackupEnabled string
Specifies whether the aof backup is enabled
aofStorageConnectionString0 string
First storage account connection string
aofStorageConnectionString1 string
Second storage account connection string
authnotrequired string
Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
maxfragmentationmemoryReserved string
Value in megabytes reserved for fragmentation per shard
maxmemoryDelta string
Value in megabytes reserved for non-cache usage per shard e.g. failover.
maxmemoryPolicy string
The eviction strategy used when your data won't fit within its memory limit.
maxmemoryReserved string
Value in megabytes reserved for non-cache usage per shard e.g. failover.
notifyKeyspaceEvents string
The keyspace events which should be monitored.
preferredDataPersistenceAuthMethod string
Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
rdbBackupEnabled string
Specifies whether the rdb backup is enabled
rdbBackupFrequency string
Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
rdbBackupMaxSnapshotCount string
Specifies the maximum number of snapshots for rdb backup
rdbStorageConnectionString string
The storage account connection string for storing rdb file
storageSubscriptionId string
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_enabled str
Specifies whether the aof backup is enabled
aof_storage_connection_string0 str
First storage account connection string
aof_storage_connection_string1 str
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_events str
The keyspace events which should be monitored.
preferred_data_persistence_auth_method str
Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
rdb_backup_enabled str
Specifies whether the rdb backup is enabled
rdb_backup_frequency str
Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
rdb_backup_max_snapshot_count str
Specifies the maximum number of snapshots for rdb backup
rdb_storage_connection_string str
The storage account connection string for storing rdb file
storage_subscription_id str
SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
aadEnabled String
Specifies whether AAD based authentication has been enabled or disabled for the cache
aofBackupEnabled String
Specifies whether the aof backup is enabled
aofStorageConnectionString0 String
First storage account connection string
aofStorageConnectionString1 String
Second storage account connection string
authnotrequired String
Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
maxfragmentationmemoryReserved String
Value in megabytes reserved for fragmentation per shard
maxmemoryDelta String
Value in megabytes reserved for non-cache usage per shard e.g. failover.
maxmemoryPolicy String
The eviction strategy used when your data won't fit within its memory limit.
maxmemoryReserved String
Value in megabytes reserved for non-cache usage per shard e.g. failover.
notifyKeyspaceEvents String
The keyspace events which should be monitored.
preferredDataPersistenceAuthMethod String
Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
rdbBackupEnabled String
Specifies whether the rdb backup is enabled
rdbBackupFrequency String
Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
rdbBackupMaxSnapshotCount String
Specifies the maximum number of snapshots for rdb backup
rdbStorageConnectionString String
The storage account connection string for storing rdb file
storageSubscriptionId String
SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.

RedisCommonPropertiesResponseRedisConfiguration
, RedisCommonPropertiesResponseRedisConfigurationArgs

Maxclients This property is required. string
The max clients config
PreferredDataArchiveAuthMethod This property is required. string
Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS
ZonalConfiguration This property is required. string
Zonal Configuration
AadEnabled string
Specifies whether AAD based authentication has been enabled or disabled for the cache
AofBackupEnabled string
Specifies whether the aof backup is enabled
AofStorageConnectionString0 string
First storage account connection string
AofStorageConnectionString1 string
Second storage account connection string
Authnotrequired string
Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
MaxfragmentationmemoryReserved string
Value in megabytes reserved for fragmentation per shard
MaxmemoryDelta string
Value in megabytes reserved for non-cache usage per shard e.g. failover.
MaxmemoryPolicy string
The eviction strategy used when your data won't fit within its memory limit.
MaxmemoryReserved string
Value in megabytes reserved for non-cache usage per shard e.g. failover.
NotifyKeyspaceEvents string
The keyspace events which should be monitored.
PreferredDataPersistenceAuthMethod string
Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
RdbBackupEnabled string
Specifies whether the rdb backup is enabled
RdbBackupFrequency string
Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
RdbBackupMaxSnapshotCount string
Specifies the maximum number of snapshots for rdb backup
RdbStorageConnectionString string
The storage account connection string for storing rdb file
StorageSubscriptionId string
SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
Maxclients This property is required. string
The max clients config
PreferredDataArchiveAuthMethod This property is required. string
Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS
ZonalConfiguration This property is required. string
Zonal Configuration
AadEnabled string
Specifies whether AAD based authentication has been enabled or disabled for the cache
AofBackupEnabled string
Specifies whether the aof backup is enabled
AofStorageConnectionString0 string
First storage account connection string
AofStorageConnectionString1 string
Second storage account connection string
Authnotrequired string
Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
MaxfragmentationmemoryReserved string
Value in megabytes reserved for fragmentation per shard
MaxmemoryDelta string
Value in megabytes reserved for non-cache usage per shard e.g. failover.
MaxmemoryPolicy string
The eviction strategy used when your data won't fit within its memory limit.
MaxmemoryReserved string
Value in megabytes reserved for non-cache usage per shard e.g. failover.
NotifyKeyspaceEvents string
The keyspace events which should be monitored.
PreferredDataPersistenceAuthMethod string
Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
RdbBackupEnabled string
Specifies whether the rdb backup is enabled
RdbBackupFrequency string
Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
RdbBackupMaxSnapshotCount string
Specifies the maximum number of snapshots for rdb backup
RdbStorageConnectionString string
The storage account connection string for storing rdb file
StorageSubscriptionId string
SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
maxclients This property is required. String
The max clients config
preferredDataArchiveAuthMethod This property is required. String
Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS
zonalConfiguration This property is required. String
Zonal Configuration
aadEnabled String
Specifies whether AAD based authentication has been enabled or disabled for the cache
aofBackupEnabled String
Specifies whether the aof backup is enabled
aofStorageConnectionString0 String
First storage account connection string
aofStorageConnectionString1 String
Second storage account connection string
authnotrequired String
Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
maxfragmentationmemoryReserved String
Value in megabytes reserved for fragmentation per shard
maxmemoryDelta String
Value in megabytes reserved for non-cache usage per shard e.g. failover.
maxmemoryPolicy String
The eviction strategy used when your data won't fit within its memory limit.
maxmemoryReserved String
Value in megabytes reserved for non-cache usage per shard e.g. failover.
notifyKeyspaceEvents String
The keyspace events which should be monitored.
preferredDataPersistenceAuthMethod String
Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
rdbBackupEnabled String
Specifies whether the rdb backup is enabled
rdbBackupFrequency String
Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
rdbBackupMaxSnapshotCount String
Specifies the maximum number of snapshots for rdb backup
rdbStorageConnectionString String
The storage account connection string for storing rdb file
storageSubscriptionId String
SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
maxclients This property is required. string
The max clients config
preferredDataArchiveAuthMethod This property is required. string
Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS
zonalConfiguration This property is required. string
Zonal Configuration
aadEnabled string
Specifies whether AAD based authentication has been enabled or disabled for the cache
aofBackupEnabled string
Specifies whether the aof backup is enabled
aofStorageConnectionString0 string
First storage account connection string
aofStorageConnectionString1 string
Second storage account connection string
authnotrequired string
Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
maxfragmentationmemoryReserved string
Value in megabytes reserved for fragmentation per shard
maxmemoryDelta string
Value in megabytes reserved for non-cache usage per shard e.g. failover.
maxmemoryPolicy string
The eviction strategy used when your data won't fit within its memory limit.
maxmemoryReserved string
Value in megabytes reserved for non-cache usage per shard e.g. failover.
notifyKeyspaceEvents string
The keyspace events which should be monitored.
preferredDataPersistenceAuthMethod string
Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
rdbBackupEnabled string
Specifies whether the rdb backup is enabled
rdbBackupFrequency string
Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
rdbBackupMaxSnapshotCount string
Specifies the maximum number of snapshots for rdb backup
rdbStorageConnectionString string
The storage account connection string for storing rdb file
storageSubscriptionId string
SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
maxclients This property is required. str
The max clients config
preferred_data_archive_auth_method This property is required. str
Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS
zonal_configuration This property is required. str
Zonal Configuration
aad_enabled str
Specifies whether AAD based authentication has been enabled or disabled for the cache
aof_backup_enabled str
Specifies whether the aof backup is enabled
aof_storage_connection_string0 str
First storage account connection string
aof_storage_connection_string1 str
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_events str
The keyspace events which should be monitored.
preferred_data_persistence_auth_method str
Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
rdb_backup_enabled str
Specifies whether the rdb backup is enabled
rdb_backup_frequency str
Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
rdb_backup_max_snapshot_count str
Specifies the maximum number of snapshots for rdb backup
rdb_storage_connection_string str
The storage account connection string for storing rdb file
storage_subscription_id str
SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
maxclients This property is required. String
The max clients config
preferredDataArchiveAuthMethod This property is required. String
Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS
zonalConfiguration This property is required. String
Zonal Configuration
aadEnabled String
Specifies whether AAD based authentication has been enabled or disabled for the cache
aofBackupEnabled String
Specifies whether the aof backup is enabled
aofStorageConnectionString0 String
First storage account connection string
aofStorageConnectionString1 String
Second storage account connection string
authnotrequired String
Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
maxfragmentationmemoryReserved String
Value in megabytes reserved for fragmentation per shard
maxmemoryDelta String
Value in megabytes reserved for non-cache usage per shard e.g. failover.
maxmemoryPolicy String
The eviction strategy used when your data won't fit within its memory limit.
maxmemoryReserved String
Value in megabytes reserved for non-cache usage per shard e.g. failover.
notifyKeyspaceEvents String
The keyspace events which should be monitored.
preferredDataPersistenceAuthMethod String
Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS
rdbBackupEnabled String
Specifies whether the rdb backup is enabled
rdbBackupFrequency String
Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)
rdbBackupMaxSnapshotCount String
Specifies the maximum number of snapshots for rdb backup
rdbStorageConnectionString String
The storage account connection string for storing rdb file
storageSubscriptionId String
SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.

RedisInstanceDetailsResponse
, RedisInstanceDetailsResponseArgs

IsMaster This property is required. bool
Specifies whether the instance is a primary node.
IsPrimary This property is required. bool
Specifies whether the instance is a primary node.
NonSslPort This property is required. int
If enableNonSslPort is true, provides Redis instance Non-SSL port.
ShardId This property is required. int
If clustering is enabled, the Shard ID of Redis Instance
SslPort This property is required. int
Redis instance SSL port.
Zone This property is required. string
If the Cache uses availability zones, specifies availability zone where this instance is located.
IsMaster This property is required. bool
Specifies whether the instance is a primary node.
IsPrimary This property is required. bool
Specifies whether the instance is a primary node.
NonSslPort This property is required. int
If enableNonSslPort is true, provides Redis instance Non-SSL port.
ShardId This property is required. int
If clustering is enabled, the Shard ID of Redis Instance
SslPort This property is required. int
Redis instance SSL port.
Zone This property is required. string
If the Cache uses availability zones, specifies availability zone where this instance is located.
isMaster This property is required. Boolean
Specifies whether the instance is a primary node.
isPrimary This property is required. Boolean
Specifies whether the instance is a primary node.
nonSslPort This property is required. Integer
If enableNonSslPort is true, provides Redis instance Non-SSL port.
shardId This property is required. Integer
If clustering is enabled, the Shard ID of Redis Instance
sslPort This property is required. Integer
Redis instance SSL port.
zone This property is required. String
If the Cache uses availability zones, specifies availability zone where this instance is located.
isMaster This property is required. boolean
Specifies whether the instance is a primary node.
isPrimary This property is required. boolean
Specifies whether the instance is a primary node.
nonSslPort This property is required. number
If enableNonSslPort is true, provides Redis instance Non-SSL port.
shardId This property is required. number
If clustering is enabled, the Shard ID of Redis Instance
sslPort This property is required. number
Redis instance SSL port.
zone This property is required. string
If the Cache uses availability zones, specifies availability zone where this instance is located.
is_master This property is required. bool
Specifies whether the instance is a primary node.
is_primary This property is required. bool
Specifies whether the instance is a primary node.
non_ssl_port This property is required. int
If enableNonSslPort is true, provides Redis instance Non-SSL port.
shard_id This property is required. int
If clustering is enabled, the Shard ID of Redis Instance
ssl_port This property is required. int
Redis instance SSL port.
zone This property is required. str
If the Cache uses availability zones, specifies availability zone where this instance is located.
isMaster This property is required. Boolean
Specifies whether the instance is a primary node.
isPrimary This property is required. Boolean
Specifies whether the instance is a primary node.
nonSslPort This property is required. Number
If enableNonSslPort is true, provides Redis instance Non-SSL port.
shardId This property is required. Number
If clustering is enabled, the Shard ID of Redis Instance
sslPort This property is required. Number
Redis instance SSL port.
zone This property is required. String
If the Cache uses availability zones, specifies availability zone where this instance is located.

RedisLinkedServerResponse
, RedisLinkedServerResponseArgs

Id This property is required. string
Linked server Id.
Id This property is required. string
Linked server Id.
id This property is required. String
Linked server Id.
id This property is required. string
Linked server Id.
id This property is required. str
Linked server Id.
id This property is required. String
Linked server Id.

Sku
, SkuArgs

Capacity This property is required. 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 This property is required. string | Pulumi.AzureNative.Redis.SkuFamily
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
Name This property is required. string | Pulumi.AzureNative.Redis.SkuName
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
Capacity This property is required. 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 This property is required. string | SkuFamily
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
Name This property is required. string | SkuName
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
capacity This property is required. 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 This property is required. String | SkuFamily
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
name This property is required. String | SkuName
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
capacity This property is required. 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 This property is required. string | SkuFamily
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
name This property is required. string | SkuName
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
capacity This property is required. 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 This property is required. str | SkuFamily
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
name This property is required. str | SkuName
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
capacity This property is required. 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 This property is required. String | "C" | "P"
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
name This property is required. String | "Basic" | "Standard" | "Premium"
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)

SkuFamily
, SkuFamilyArgs

C
C
P
P
SkuFamilyC
C
SkuFamilyP
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
SkuNameBasic
Basic
SkuNameStandard
Standard
SkuNamePremium
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 This property is required. 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 This property is required. string
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
Name This property is required. string
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
Capacity This property is required. 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 This property is required. string
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
Name This property is required. string
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
capacity This property is required. 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 This property is required. String
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
name This property is required. String
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
capacity This property is required. 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 This property is required. string
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
name This property is required. string
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
capacity This property is required. 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 This property is required. str
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
name This property is required. str
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
capacity This property is required. 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 This property is required. String
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
name This property is required. String
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)

TlsVersion
, TlsVersionArgs

TlsVersion_1_0
1.0
TlsVersion_1_1
1.1
TlsVersion_1_2
1.2
TlsVersion_1_0
1.0
TlsVersion_1_1
1.1
TlsVersion_1_2
1.2
_1_0
1.0
_1_1
1.1
_1_2
1.2
TlsVersion_1_0
1.0
TlsVersion_1_1
1.1
TlsVersion_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
UpdateChannelStable
Stable
UpdateChannelPreview
Preview
Stable
Stable
Preview
Preview
Stable
Stable
Preview
Preview
STABLE
Stable
PREVIEW
Preview
"Stable"
Stable
"Preview"
Preview

UserAssignedIdentityResponse
, UserAssignedIdentityResponseArgs

ClientId This property is required. string
The client ID of the assigned identity.
PrincipalId This property is required. string
The principal ID of the assigned identity.
ClientId This property is required. string
The client ID of the assigned identity.
PrincipalId This property is required. string
The principal ID of the assigned identity.
clientId This property is required. String
The client ID of the assigned identity.
principalId This property is required. String
The principal ID of the assigned identity.
clientId This property is required. string
The client ID of the assigned identity.
principalId This property is required. string
The principal ID of the assigned identity.
client_id This property is required. str
The client ID of the assigned identity.
principal_id This property is required. str
The principal ID of the assigned identity.
clientId This property is required. String
The client ID of the assigned identity.
principalId This property is required. String
The principal ID of the assigned identity.

ZonalAllocationPolicy
, ZonalAllocationPolicyArgs

Automatic
Automatic
UserDefined
UserDefined
NoZones
NoZones
ZonalAllocationPolicyAutomatic
Automatic
ZonalAllocationPolicyUserDefined
UserDefined
ZonalAllocationPolicyNoZones
NoZones
Automatic
Automatic
UserDefined
UserDefined
NoZones
NoZones
Automatic
Automatic
UserDefined
UserDefined
NoZones
NoZones
AUTOMATIC
Automatic
USER_DEFINED
UserDefined
NO_ZONES
NoZones
"Automatic"
Automatic
"UserDefined"
UserDefined
"NoZones"
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} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0