RedisUpdateProperties Class
Patchable properties of the redis cache.
- Inheritance
-
azure.mgmt.redis.models._models_py3.RedisCommonPropertiesRedisUpdateProperties
Constructor
RedisUpdateProperties(*, redis_configuration: _models.RedisCommonPropertiesRedisConfiguration | None = None, redis_version: str | None = None, enable_non_ssl_port: bool = False, replicas_per_master: int | None = None, replicas_per_primary: int | None = None, tenant_settings: Dict[str, str] | None = None, shard_count: int | None = None, minimum_tls_version: str | _models.TlsVersion | None = None, public_network_access: str | _models.PublicNetworkAccess = 'Enabled', update_channel: str | _models.UpdateChannel | None = None, disable_access_key_authentication: bool = False, sku: _models.Sku | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
redis_configuration
|
All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc. |
redis_version
|
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'. |
enable_non_ssl_port
|
Specifies whether the non-ssl Redis server port (6379) is enabled. |
replicas_per_master
|
The number of replicas to be created per primary. |
replicas_per_primary
|
The number of replicas to be created per primary. |
tenant_settings
|
A dictionary of tenant settings. |
shard_count
|
The number of shards to be created on a Premium Cluster Cache. |
minimum_tls_version
|
str or
TlsVersion
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). Known values are: "1.0", "1.1", and "1.2". |
public_network_access
|
Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'. Known values are: "Enabled" and "Disabled". Default value: Enabled
|
update_channel
|
str or
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'. Known values are: "Stable" and "Preview". |
disable_access_key_authentication
|
Authentication to Redis through access keys is disabled when set as true. Default value is false. |
sku
|
The SKU of the Redis cache to deploy. |
Variables
Name | Description |
---|---|
redis_configuration
|
All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc. |
redis_version
|
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'. |
enable_non_ssl_port
|
Specifies whether the non-ssl Redis server port (6379) is enabled. |
replicas_per_master
|
The number of replicas to be created per primary. |
replicas_per_primary
|
The number of replicas to be created per primary. |
tenant_settings
|
A dictionary of tenant settings. |
shard_count
|
The number of shards to be created on a Premium Cluster Cache. |
minimum_tls_version
|
str or
TlsVersion
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). Known values are: "1.0", "1.1", and "1.2". |
public_network_access
|
Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'. Known values are: "Enabled" and "Disabled". |
update_channel
|
str or
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'. Known values are: "Stable" and "Preview". |
disable_access_key_authentication
|
Authentication to Redis through access keys is disabled when set as true. Default value is false. |
sku
|
The SKU of the Redis cache to deploy. |
Azure SDK for Python