Class CacheArgs
Inherited Members
Namespace: Pulumi.Azure.Redis
Assembly: Pulumi.Azure.dll
Syntax
public sealed class CacheArgs : ResourceArgs
Constructors
View SourceCacheArgs()
Declaration
public CacheArgs()
Properties
View SourceCapacity
The size of the Redis cache to deploy. Valid values for a SKU family of C (Basic/Standard) are 0, 1, 2, 3, 4, 5, 6, and for P (Premium) family are 1, 2, 3, 4.
Declaration
public Input<int> Capacity { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
EnableNonSslPort
Enable the non-SSL port (6379) - disabled by default.
Declaration
public Input<bool> EnableNonSslPort { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Family
The SKU family/pricing group to use. Valid values are C (for Basic/Standard SKU family) and P (for Premium)
Declaration
public Input<string> Family { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Location
The location of the resource group.
Declaration
public Input<string> Location { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MinimumTlsVersion
The minimum TLS version. Defaults to 1.0.
Declaration
public Input<string> MinimumTlsVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the Redis instance. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PatchSchedules
A list of patch_schedule blocks as defined below - only available for Premium SKU's.
Declaration
public InputList<CachePatchScheduleArgs> PatchSchedules { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<CachePatchScheduleArgs> |
PrivateStaticIpAddress
The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. Changing this forces a new resource to be created.
Declaration
public Input<string> PrivateStaticIpAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RedisConfiguration
A redis_configuration as defined below - with some limitations by SKU - defaults/details are shown below.
Declaration
public Input<CacheRedisConfigurationArgs> RedisConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<CacheRedisConfigurationArgs> |
ResourceGroupName
The name of the resource group in which to create the Redis instance.
Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ShardCount
Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.
Declaration
public Input<int> ShardCount { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SkuName
The SKU of Redis to use. Possible values are Basic, Standard and Premium.
Declaration
public Input<string> SkuName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SubnetId
Only available when using the Premium SKU The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created.
Declaration
public Input<string> SubnetId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public InputMap<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
Zones
A list of a single item of the Availability Zone which the Redis Cache should be allocated in.
Declaration
public Input<string> Zones { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |