共用方式為


RedisCreateParametersInner Constructors

Definition

Overloads

RedisCreateParametersInner()

Initializes a new instance of the RedisCreateParametersInner class.

RedisCreateParametersInner(Sku, String, IDictionary<String,String>, Nullable<Boolean>, IDictionary<String,String>, Nullable<Int32>, String, String, String, IList<String>, IDictionary<String,String>)

Initializes a new instance of the RedisCreateParametersInner class.

RedisCreateParametersInner()

Initializes a new instance of the RedisCreateParametersInner class.

public RedisCreateParametersInner ();
Public Sub New ()

Applies to

RedisCreateParametersInner(Sku, String, IDictionary<String,String>, Nullable<Boolean>, IDictionary<String,String>, Nullable<Int32>, String, String, String, IList<String>, IDictionary<String,String>)

Initializes a new instance of the RedisCreateParametersInner class.

public RedisCreateParametersInner (Microsoft.Azure.Management.Redis.Fluent.Models.Sku sku, string location, System.Collections.Generic.IDictionary<string,string> redisConfiguration = default, bool? enableNonSslPort = default, System.Collections.Generic.IDictionary<string,string> tenantSettings = default, int? shardCount = default, string minimumTlsVersion = default, string subnetId = default, string staticIP = default, System.Collections.Generic.IList<string> zones = default, System.Collections.Generic.IDictionary<string,string> tags = default);
new Microsoft.Azure.Management.Redis.Fluent.Models.RedisCreateParametersInner : Microsoft.Azure.Management.Redis.Fluent.Models.Sku * string * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * System.Collections.Generic.IDictionary<string, string> * Nullable<int> * string * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.Redis.Fluent.Models.RedisCreateParametersInner
Public Sub New (sku As Sku, location As String, Optional redisConfiguration As IDictionary(Of String, String) = Nothing, Optional enableNonSslPort As Nullable(Of Boolean) = Nothing, Optional tenantSettings As IDictionary(Of String, String) = Nothing, Optional shardCount As Nullable(Of Integer) = Nothing, Optional minimumTlsVersion As String = Nothing, Optional subnetId As String = Nothing, Optional staticIP As String = Nothing, Optional zones As IList(Of String) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing)

Parameters

sku
Sku

The SKU of the Redis cache to deploy.

location
String

The geo-location where the resource lives

redisConfiguration
IDictionary<String,String>

All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc.

enableNonSslPort
Nullable<Boolean>

Specifies whether the non-ssl Redis server port (6379) is enabled.

tenantSettings
IDictionary<String,String>

A dictionary of tenant settings

shardCount
Nullable<Int32>

The number of shards to be created on a Premium Cluster Cache.

minimumTlsVersion
String

Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). Possible values include: '1.0', '1.1', '1.2'

subnetId
String

The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1

staticIP
String

Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network.

zones
IList<String>

A list of availability zones denoting where the resource needs to come from.

tags
IDictionary<String,String>

Resource tags.

Applies to