package
4.42.0
Repository: https://github.com/pulumi/pulumi-azure.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetCache gets an existing Cache resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetEnterpriseCluster gets an existing EnterpriseCluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetEnterpriseDatabase gets an existing EnterpriseDatabase resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetFirewallRule gets an existing FirewallRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetLinkedServer gets an existing LinkedServer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
Use this data source to access information about an existing Redis Cache ## Example Usage ```go package main import ( "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/redis" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := redis.LookupCache(ctx, &redis.LookupCacheArgs{ Name: "myrediscache", ResourceGroupName: "redis-cache", }, nil) if err != nil { return err } ctx.Export("primaryAccessKey", example.PrimaryAccessKey) ctx.Export("hostname", example.Hostname) return nil }) } ```.
No description provided by the author
Use this data source to access information about an existing Redis Enterprise Database ## Example Usage ```go package main import ( "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/redis" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := redis.LookupEnterpriseDatabase(ctx, &redis.LookupEnterpriseDatabaseArgs{ Name: "default", ResourceGroupName: pulumi.StringRef(azurerm_resource_group.Example.Name), ClusterId: azurerm_redis_enterprise_cluster.Example.Id, }, nil) if err != nil { return err } ctx.Export("redisEnterpriseDatabasePrimaryKey", example.PrimaryAccessKey) ctx.Export("redisEnterpriseDatabaseSecondaryKey", example.SecondaryAccessKey) return nil }) } ```.
No description provided by the author
NewCache registers a new resource with the given unique name, arguments, and options.
NewEnterpriseCluster registers a new resource with the given unique name, arguments, and options.
NewEnterpriseDatabase registers a new resource with the given unique name, arguments, and options.
NewFirewallRule registers a new resource with the given unique name, arguments, and options.
NewLinkedServer registers a new resource with the given unique name, arguments, and options.

# Structs

Manages a Redis Cache.
The set of arguments for constructing a Cache resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Manages a Redis Enterprise Cluster.
The set of arguments for constructing a EnterpriseCluster resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Manages a Redis Enterprise Database.
The set of arguments for constructing a EnterpriseDatabase resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Manages a Firewall Rule associated with a Redis Cache.
The set of arguments for constructing a FirewallRule resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Manages a Redis Linked Server (ie Geo Location) ## Example Usage ```go package main import ( "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/redis" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := core.NewResourceGroup(ctx, "example-primaryResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("East US"), }) if err != nil { return err } _, err = redis.NewCache(ctx, "example-primaryCache", &redis.CacheArgs{ Location: example_primaryResourceGroup.Location, ResourceGroupName: example_primaryResourceGroup.Name, Capacity: pulumi.Int(1), Family: pulumi.String("P"), SkuName: pulumi.String("Premium"), EnableNonSslPort: pulumi.Bool(false), RedisConfiguration: &redis.CacheRedisConfigurationArgs{ MaxmemoryReserved: pulumi.Int(2), MaxmemoryDelta: pulumi.Int(2), MaxmemoryPolicy: pulumi.String("allkeys-lru"), }, }) if err != nil { return err } _, err = core.NewResourceGroup(ctx, "example-secondaryResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West US"), }) if err != nil { return err } _, err = redis.NewCache(ctx, "example-secondaryCache", &redis.CacheArgs{ Location: example_secondaryResourceGroup.Location, ResourceGroupName: example_secondaryResourceGroup.Name, Capacity: pulumi.Int(1), Family: pulumi.String("P"), SkuName: pulumi.String("Premium"), EnableNonSslPort: pulumi.Bool(false), RedisConfiguration: &redis.CacheRedisConfigurationArgs{ MaxmemoryReserved: pulumi.Int(2), MaxmemoryDelta: pulumi.Int(2), MaxmemoryPolicy: pulumi.String("allkeys-lru"), }, }) if err != nil { return err } _, err = redis.NewLinkedServer(ctx, "example-link", &redis.LinkedServerArgs{ TargetRedisCacheName: example_primaryCache.Name, ResourceGroupName: example_primaryCache.ResourceGroupName, LinkedRedisCacheId: example_secondaryCache.ID(), LinkedRedisCacheLocation: example_secondaryCache.Location, ServerRole: pulumi.String("Secondary"), }) if err != nil { return err } return nil }) } ``` ## Import Redis can be imported using the `resource id`, e.g.
The set of arguments for constructing a LinkedServer resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of arguments for invoking getCache.
A collection of arguments for invoking getCache.
A collection of values returned by getCache.
A collection of values returned by getCache.
A collection of arguments for invoking getEnterpriseDatabase.
A collection of arguments for invoking getEnterpriseDatabase.
A collection of values returned by getEnterpriseDatabase.
A collection of values returned by getEnterpriseDatabase.

# Interfaces

CacheArrayInput is an input type that accepts CacheArray and CacheArrayOutput values.
No description provided by the author
CacheMapInput is an input type that accepts CacheMap and CacheMapOutput values.
CachePatchScheduleArrayInput is an input type that accepts CachePatchScheduleArray and CachePatchScheduleArrayOutput values.
CachePatchScheduleInput is an input type that accepts CachePatchScheduleArgs and CachePatchScheduleOutput values.
CacheRedisConfigurationInput is an input type that accepts CacheRedisConfigurationArgs and CacheRedisConfigurationOutput values.
CacheRedisConfigurationPtrInput is an input type that accepts CacheRedisConfigurationArgs, CacheRedisConfigurationPtr and CacheRedisConfigurationPtrOutput values.
EnterpriseClusterArrayInput is an input type that accepts EnterpriseClusterArray and EnterpriseClusterArrayOutput values.
No description provided by the author
EnterpriseClusterMapInput is an input type that accepts EnterpriseClusterMap and EnterpriseClusterMapOutput values.
EnterpriseDatabaseArrayInput is an input type that accepts EnterpriseDatabaseArray and EnterpriseDatabaseArrayOutput values.
No description provided by the author
EnterpriseDatabaseMapInput is an input type that accepts EnterpriseDatabaseMap and EnterpriseDatabaseMapOutput values.
EnterpriseDatabaseModuleArrayInput is an input type that accepts EnterpriseDatabaseModuleArray and EnterpriseDatabaseModuleArrayOutput values.
EnterpriseDatabaseModuleInput is an input type that accepts EnterpriseDatabaseModuleArgs and EnterpriseDatabaseModuleOutput values.
FirewallRuleArrayInput is an input type that accepts FirewallRuleArray and FirewallRuleArrayOutput values.
No description provided by the author
FirewallRuleMapInput is an input type that accepts FirewallRuleMap and FirewallRuleMapOutput values.
GetCachePatchScheduleArrayInput is an input type that accepts GetCachePatchScheduleArray and GetCachePatchScheduleArrayOutput values.
GetCachePatchScheduleInput is an input type that accepts GetCachePatchScheduleArgs and GetCachePatchScheduleOutput values.
GetCacheRedisConfigurationArrayInput is an input type that accepts GetCacheRedisConfigurationArray and GetCacheRedisConfigurationArrayOutput values.
GetCacheRedisConfigurationInput is an input type that accepts GetCacheRedisConfigurationArgs and GetCacheRedisConfigurationOutput values.
LinkedServerArrayInput is an input type that accepts LinkedServerArray and LinkedServerArrayOutput values.
No description provided by the author
LinkedServerMapInput is an input type that accepts LinkedServerMap and LinkedServerMapOutput values.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author