Share via


Module Class

Definition

Specifies configuration of a redis module

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20240901Preview.ModuleTypeConverter))]
public class Module : Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20240901Preview.IModule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20240901Preview.ModuleTypeConverter))>]
type Module = class
    interface IModule
    interface IJsonSerializable
Public Class Module
Implements IModule
Inheritance
Module
Attributes
Implements

Constructors

Name Description
Module()

Creates an new Module instance.

Properties

Name Description
Arg

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

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Module.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Module.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20240901Preview.IModule.

FromJsonString(String)

Creates a new instance of Module, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Module into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to