RedisResourceInner Constructors
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.
Overloads
RedisResourceInner() |
Initializes a new instance of the RedisResourceInner class. |
RedisResourceInner(String, Sku, String, String, String, IDictionary<String, String>, IDictionary<String,String>, Nullable<Boolean>, IDictionary<String, String>, Nullable<Int32>, String, String, String, String, String, String, Nullable<Int32>, Nullable<Int32>, RedisAccessKeysInner, IList<RedisLinkedServer>, IList<String>) |
Initializes a new instance of the RedisResourceInner class. |
RedisResourceInner()
Initializes a new instance of the RedisResourceInner class.
public RedisResourceInner ();
Public Sub New ()
Applies to
RedisResourceInner(String, Sku, String, String, String, IDictionary<String, String>, IDictionary<String,String>, Nullable<Boolean>, IDictionary<String, String>, Nullable<Int32>, String, String, String, String, String, String, Nullable<Int32>, Nullable<Int32>, RedisAccessKeysInner, IList<RedisLinkedServer>, IList<String>)
Initializes a new instance of the RedisResourceInner class.
public RedisResourceInner (string location, Microsoft.Azure.Management.Redis.Fluent.Models.Sku sku, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, 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, string redisVersion = default, string provisioningState = default, string hostName = default, int? port = default, int? sslPort = default, Microsoft.Azure.Management.Redis.Fluent.Models.RedisAccessKeysInner accessKeys = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Redis.Fluent.Models.RedisLinkedServer> linkedServers = default, System.Collections.Generic.IList<string> zones = default);
new Microsoft.Azure.Management.Redis.Fluent.Models.RedisResourceInner : string * Microsoft.Azure.Management.Redis.Fluent.Models.Sku * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * System.Collections.Generic.IDictionary<string, string> * Nullable<int> * string * string * string * string * string * string * Nullable<int> * Nullable<int> * Microsoft.Azure.Management.Redis.Fluent.Models.RedisAccessKeysInner * System.Collections.Generic.IList<Microsoft.Azure.Management.Redis.Fluent.Models.RedisLinkedServer> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Redis.Fluent.Models.RedisResourceInner
Public Sub New (location As String, sku As Sku, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, 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 redisVersion As String = Nothing, Optional provisioningState As String = Nothing, Optional hostName As String = Nothing, Optional port As Nullable(Of Integer) = Nothing, Optional sslPort As Nullable(Of Integer) = Nothing, Optional accessKeys As RedisAccessKeysInner = Nothing, Optional linkedServers As IList(Of RedisLinkedServer) = Nothing, Optional zones As IList(Of String) = Nothing)
Parameters
- location
- String
The geo-location where the resource lives
- sku
- Sku
The SKU of the Redis cache to deploy.
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
Resource tags.
- 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.
Specifies whether the non-ssl Redis server port (6379) is enabled.
- tenantSettings
- IDictionary<String,String>
A dictionary of tenant settings
- 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.
- redisVersion
- String
Redis version.
- provisioningState
- String
Redis instance provisioning status. Possible values include: 'Creating', 'Deleting', 'Disabled', 'Failed', 'Linking', 'Provisioning', 'RecoveringScaleFailure', 'Scaling', 'Succeeded', 'Unlinking', 'Unprovisioning', 'Updating'
- hostName
- String
Redis host name.
- accessKeys
- RedisAccessKeysInner
The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
- linkedServers
- IList<RedisLinkedServer>
List of the linked servers associated with the cache
Applies to
Azure SDK for .NET