你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RedisSku Class

Definition

SKU parameters supplied to the create Redis operation.

public class RedisSku : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Redis.Models.RedisSku>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Redis.Models.RedisSku>
public class RedisSku
type RedisSku = class
    interface IJsonModel<RedisSku>
    interface IPersistableModel<RedisSku>
type RedisSku = class
Public Class RedisSku
Implements IJsonModel(Of RedisSku), IPersistableModel(Of RedisSku)
Public Class RedisSku
Inheritance
RedisSku
Implements

Constructors

RedisSku(RedisSkuName, RedisSkuFamily, Int32)

Initializes a new instance of RedisSku.

Properties

Capacity

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).

Family

The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).

Name

The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium).

Explicit Interface Implementations

IJsonModel<RedisSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RedisSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RedisSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RedisSku>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RedisSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to