你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RedisCacheClient.CreateCache 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.
Overloads
CreateCache(String, String, String, String, Int32, String, Hashtable, Nullable<Boolean>, Hashtable, Nullable<Int32>, String, String, Hashtable, IList<String>)
public Microsoft.Azure.Management.Redis.Models.RedisResource CreateCache (string resourceGroupName, string cacheName, string location, string skuFamily, int skuCapacity, string skuName, System.Collections.Hashtable redisConfiguration, bool? enableNonSslPort, System.Collections.Hashtable tenantSettings, int? shardCount, string subnetId, string staticIP, System.Collections.Hashtable tags, System.Collections.Generic.IList<string> zones);
member this.CreateCache : string * string * string * string * int * string * System.Collections.Hashtable * Nullable<bool> * System.Collections.Hashtable * Nullable<int> * string * string * System.Collections.Hashtable * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Redis.Models.RedisResource
Public Function CreateCache (resourceGroupName As String, cacheName As String, location As String, skuFamily As String, skuCapacity As Integer, skuName As String, redisConfiguration As Hashtable, enableNonSslPort As Nullable(Of Boolean), tenantSettings As Hashtable, shardCount As Nullable(Of Integer), subnetId As String, staticIP As String, tags As Hashtable, zones As IList(Of String)) As RedisResource
Parameters
- resourceGroupName
- String
- cacheName
- String
- location
- String
- skuFamily
- String
- skuCapacity
- Int32
- skuName
- String
- redisConfiguration
- Hashtable
- tenantSettings
- Hashtable
- subnetId
- String
- staticIP
- String
- tags
- Hashtable
Returns
Applies to
CreateCache(String, String, String, String, Int32, String, Hashtable, Nullable<Boolean>, Hashtable, Nullable<Int32>, String, String, String, Hashtable, IList<String>, String, String, String[], String)
public Microsoft.Azure.Management.RedisCache.Models.RedisResource CreateCache (string resourceGroupName, string cacheName, string location, string skuFamily, int skuCapacity, string skuName, System.Collections.Hashtable redisConfiguration, bool? enableNonSslPort, System.Collections.Hashtable tenantSettings, int? shardCount, string minimumTlsVersion, string subnetId, string staticIP, System.Collections.Hashtable tags, System.Collections.Generic.IList<string> zones, string redisVersion, string identityType, string[] userAssignedIdentities, string updateChannel);
member this.CreateCache : string * string * string * string * int * string * System.Collections.Hashtable * Nullable<bool> * System.Collections.Hashtable * Nullable<int> * string * string * string * System.Collections.Hashtable * System.Collections.Generic.IList<string> * string * string * string[] * string -> Microsoft.Azure.Management.RedisCache.Models.RedisResource
Public Function CreateCache (resourceGroupName As String, cacheName As String, location As String, skuFamily As String, skuCapacity As Integer, skuName As String, redisConfiguration As Hashtable, enableNonSslPort As Nullable(Of Boolean), tenantSettings As Hashtable, shardCount As Nullable(Of Integer), minimumTlsVersion As String, subnetId As String, staticIP As String, tags As Hashtable, zones As IList(Of String), redisVersion As String, identityType As String, userAssignedIdentities As String(), updateChannel As String) As RedisResource
Parameters
- resourceGroupName
- String
- cacheName
- String
- location
- String
- skuFamily
- String
- skuCapacity
- Int32
- skuName
- String
- redisConfiguration
- Hashtable
- tenantSettings
- Hashtable
- minimumTlsVersion
- String
- subnetId
- String
- staticIP
- String
- tags
- Hashtable
- redisVersion
- String
- identityType
- String
- userAssignedIdentities
- String[]
- updateChannel
- String
Returns
Applies to
CreateCache(String, String, String, String, Int32, String, Hashtable, Nullable<Boolean>, Hashtable, Nullable<Int32>, String, Nullable<Boolean>, String, String, Hashtable, IList<String>, String, String, String[], String)
public Microsoft.Azure.Management.RedisCache.Models.RedisResource CreateCache (string resourceGroupName, string cacheName, string location, string skuFamily, int skuCapacity, string skuName, System.Collections.Hashtable redisConfiguration, bool? enableNonSslPort, System.Collections.Hashtable tenantSettings, int? shardCount, string minimumTlsVersion, bool? disableAccessKeyAuthentication, string subnetId, string staticIP, System.Collections.Hashtable tags, System.Collections.Generic.IList<string> zones, string redisVersion, string identityType, string[] userAssignedIdentities, string updateChannel);
member this.CreateCache : string * string * string * string * int * string * System.Collections.Hashtable * Nullable<bool> * System.Collections.Hashtable * Nullable<int> * string * Nullable<bool> * string * string * System.Collections.Hashtable * System.Collections.Generic.IList<string> * string * string * string[] * string -> Microsoft.Azure.Management.RedisCache.Models.RedisResource
Public Function CreateCache (resourceGroupName As String, cacheName As String, location As String, skuFamily As String, skuCapacity As Integer, skuName As String, redisConfiguration As Hashtable, enableNonSslPort As Nullable(Of Boolean), tenantSettings As Hashtable, shardCount As Nullable(Of Integer), minimumTlsVersion As String, disableAccessKeyAuthentication As Nullable(Of Boolean), subnetId As String, staticIP As String, tags As Hashtable, zones As IList(Of String), redisVersion As String, identityType As String, userAssignedIdentities As String(), updateChannel As String) As RedisResource
Parameters
- resourceGroupName
- String
- cacheName
- String
- location
- String
- skuFamily
- String
- skuCapacity
- Int32
- skuName
- String
- redisConfiguration
- Hashtable
- tenantSettings
- Hashtable
- minimumTlsVersion
- String
- subnetId
- String
- staticIP
- String
- tags
- Hashtable
- redisVersion
- String
- identityType
- String
- userAssignedIdentities
- String[]
- updateChannel
- String