Share via


RedisEnterpriseModule Class

Definition

Specifies configuration of a redis module.

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

Constructors

RedisEnterpriseModule(String)

Initializes a new instance of RedisEnterpriseModule.

Properties

Args

Configuration options for the module, e.g. 'ERROR_RATE 0.01 INITIAL_SIZE 400'.

Name

The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'.

Version

The version of the module, e.g. '1.0'.

Explicit Interface Implementations

IJsonModel<RedisEnterpriseModule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RedisEnterpriseModule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RedisEnterpriseModule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RedisEnterpriseModule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RedisEnterpriseModule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to