你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RedisSku(RedisSkuName, RedisSkuFamily, Int32) Constructor
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 RedisSku.
public RedisSku(Azure.ResourceManager.Redis.Models.RedisSkuName name, Azure.ResourceManager.Redis.Models.RedisSkuFamily family, int capacity);
new Azure.ResourceManager.Redis.Models.RedisSku : Azure.ResourceManager.Redis.Models.RedisSkuName * Azure.ResourceManager.Redis.Models.RedisSkuFamily * int -> Azure.ResourceManager.Redis.Models.RedisSku
Public Sub New (name As RedisSkuName, family As RedisSkuFamily, capacity As Integer)
Parameters
- name
- RedisSkuName
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium).
- family
- RedisSkuFamily
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
- capacity
- Int32
The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).