ArmRedisModelFactory.RedisCreateOrUpdateContent 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.
Initializes a new instance of RedisCreateOrUpdateContent.
public static Azure.ResourceManager.Redis.Models.RedisCreateOrUpdateContent RedisCreateOrUpdateContent (System.Collections.Generic.IEnumerable<string> zones = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, 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.RedisSku sku = default, Azure.Core.ResourceIdentifier subnetId = default, System.Net.IPAddress staticIP = default);
static member RedisCreateOrUpdateContent : seq<string> * Azure.Core.AzureLocation * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Models.ManagedServiceIdentity * 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> * Azure.ResourceManager.Redis.Models.RedisSku * Azure.Core.ResourceIdentifier * System.Net.IPAddress -> Azure.ResourceManager.Redis.Models.RedisCreateOrUpdateContent
Public Shared Function RedisCreateOrUpdateContent (Optional zones As IEnumerable(Of String) = Nothing, Optional location As AzureLocation = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, 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 sku As RedisSku = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional staticIP As IPAddress = Nothing) As RedisCreateOrUpdateContent
Parameters
- zones
- IEnumerable<String>
A list of availability zones denoting where the resource needs to come from.
- location
- AzureLocation
The geo-location where the resource lives.
- tags
- IDictionary<String,String>
Resource tags.
- identity
- ManagedServiceIdentity
The identity of the resource.
- 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. Default value is 'Enabled'.
- 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.
- sku
- RedisSku
The SKU of the Redis cache to deploy.
- subnetId
- ResourceIdentifier
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.
- staticIP
- IPAddress
Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
Returns
A new RedisCreateOrUpdateContent instance for mocking.
Applies to
Azure SDK for .NET