ArmRedisModelFactory.RedisPatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Redis.Models.RedisPatch RedisPatch(Azure.ResourceManager.Redis.Models.RedisCommonConfiguration redisConfiguration = default, string redisVersion = default, bool? enableNonSslPort = default, int? replicasPerMaster = default, int? replicasPerPrimary = default, System.Collections.Generic.IDictionary<string,string> tenantSettings = default, int? shardCount = default, Azure.ResourceManager.Redis.Models.RedisTlsVersion? minimumTlsVersion = default, Azure.ResourceManager.Redis.Models.RedisPublicNetworkAccess? publicNetworkAccess = default, Azure.ResourceManager.Redis.Models.UpdateChannel? updateChannel = default, bool? isAccessKeyAuthenticationDisabled = default, Azure.ResourceManager.Redis.Models.ZonalAllocationPolicy? zonalAllocationPolicy = default, Azure.ResourceManager.Redis.Models.RedisSku sku = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member RedisPatch : Azure.ResourceManager.Redis.Models.RedisCommonConfiguration * string * Nullable<bool> * Nullable<int> * Nullable<int> * System.Collections.Generic.IDictionary<string, string> * Nullable<int> * Nullable<Azure.ResourceManager.Redis.Models.RedisTlsVersion> * Nullable<Azure.ResourceManager.Redis.Models.RedisPublicNetworkAccess> * Nullable<Azure.ResourceManager.Redis.Models.UpdateChannel> * Nullable<bool> * Nullable<Azure.ResourceManager.Redis.Models.ZonalAllocationPolicy> * Azure.ResourceManager.Redis.Models.RedisSku * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.Redis.Models.RedisPatch
Public Shared Function RedisPatch (Optional redisConfiguration As RedisCommonConfiguration = Nothing, Optional redisVersion As String = Nothing, Optional enableNonSslPort As Nullable(Of Boolean) = Nothing, Optional replicasPerMaster As Nullable(Of Integer) = Nothing, Optional replicasPerPrimary As Nullable(Of Integer) = Nothing, Optional tenantSettings As IDictionary(Of String, String) = Nothing, Optional shardCount As Nullable(Of Integer) = Nothing, Optional minimumTlsVersion As Nullable(Of RedisTlsVersion) = Nothing, Optional publicNetworkAccess As Nullable(Of RedisPublicNetworkAccess) = Nothing, Optional updateChannel As Nullable(Of UpdateChannel) = Nothing, Optional isAccessKeyAuthenticationDisabled As Nullable(Of Boolean) = Nothing, Optional zonalAllocationPolicy As Nullable(Of ZonalAllocationPolicy) = Nothing, Optional sku As RedisSku = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As RedisPatch
Parameters
- redisConfiguration
- RedisCommonConfiguration
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'.
Specifies whether the non-ssl Redis server port (6379) is enabled.
- tenantSettings
- IDictionary<String,String>
A dictionary of tenant settings.
- minimumTlsVersion
- Nullable<RedisTlsVersion>
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2').
- publicNetworkAccess
- Nullable<RedisPublicNetworkAccess>
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.
- updateChannel
- Nullable<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'.
Authentication to Redis through access keys is disabled when set as true. Default value is false.
- zonalAllocationPolicy
- Nullable<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.
- sku
- RedisSku
The SKU of the Redis cache to deploy.
- tags
- IDictionary<String,String>
Resource tags.
- identity
- ManagedServiceIdentity
The identity of the resource.
Returns
A new RedisPatch instance for mocking.