다음을 통해 공유


ClusteringPolicy Struct

Definition

Clustering policy - default is OSSCluster. This property must be chosen at create time, and cannot be changed without deleting the database.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.ClusteringPolicyTypeConverter))]
public struct ClusteringPolicy : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.ClusteringPolicy>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Support.ClusteringPolicyTypeConverter))>]
type ClusteringPolicy = struct
    interface IArgumentCompleter
Public Structure ClusteringPolicy
Implements IArgumentCompleter, IEquatable(Of ClusteringPolicy)
Inheritance
ClusteringPolicy
Attributes
Implements

Fields

EnterpriseCluster

Enterprise clustering policy uses only the classic redis protocol, which does not support redis cluster commands.

OssCluster

OSS clustering policy follows the redis cluster specification, and requires all clients to support redis clustering.

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(ClusteringPolicy)

Compares values of enum type ClusteringPolicy

Equals(Object)

Compares values of enum type ClusteringPolicy (override for Object)

GetHashCode()

Returns hashCode for enum ClusteringPolicy

ToString()

Returns string representation for ClusteringPolicy

Operators

Equality(ClusteringPolicy, ClusteringPolicy)

Overriding == operator for enum ClusteringPolicy

Implicit(ClusteringPolicy to String)

Implicit operator to convert ClusteringPolicy to string

Implicit(String to ClusteringPolicy)

Implicit operator to convert string to ClusteringPolicy

Inequality(ClusteringPolicy, ClusteringPolicy)

Overriding != operator for enum ClusteringPolicy

Applies to