Search Results for

    Show / Hide Table of Contents

    Class AutoExpandReplicas

    Inheritance
    object
    AutoExpandReplicas
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class AutoExpandReplicas

    Properties

    | Edit this page View Source

    Disabled

    Declaration
    public static AutoExpandReplicas Disabled { get; }
    Property Value
    Type Description
    AutoExpandReplicas
    | Edit this page View Source

    Enabled

    Whether auto expand replicas is enabled

    Declaration
    public bool Enabled { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    MaxReplicas

    The upper bound of replicas. Can be an integer value or a string value of "all"

    Declaration
    public Union<int?, string> MaxReplicas { get; }
    Property Value
    Type Description
    Union<int?, string>
    | Edit this page View Source

    MinReplicas

    The lower bound of replicas

    Declaration
    public int? MinReplicas { get; }
    Property Value
    Type Description
    int?

    Methods

    | Edit this page View Source

    Create(int)

    Creates an AutoExpandReplicas with the specified lower bound of replicas and an "all" upper bound of replicas

    Declaration
    public static AutoExpandReplicas Create(int minReplicas)
    Parameters
    Type Name Description
    int minReplicas
    Returns
    Type Description
    AutoExpandReplicas
    | Edit this page View Source

    Create(int, int)

    Creates an AutoExpandReplicas with the specified lower and upper bounds of replicas

    Declaration
    public static AutoExpandReplicas Create(int minReplicas, int maxReplicas)
    Parameters
    Type Name Description
    int minReplicas
    int maxReplicas
    Returns
    Type Description
    AutoExpandReplicas
    | Edit this page View Source

    Create(string)

    Creates an AutoExpandReplicas with the specified lower and upper bounds of replicas.

    Declaration
    public static AutoExpandReplicas Create(string value)
    Parameters
    Type Name Description
    string value
    Returns
    Type Description
    AutoExpandReplicas
    Examples

    0-5

    0-all

    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Operators

    | Edit this page View Source

    implicit operator AutoExpandReplicas(string)

    Declaration
    public static implicit operator AutoExpandReplicas(string value)
    Parameters
    Type Name Description
    string value
    Returns
    Type Description
    AutoExpandReplicas

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Disabled
      • Enabled
      • MaxReplicas
      • MinReplicas
    • Methods
      • Create(int)
      • Create(int, int)
      • Create(string)
      • ToString()
    • Operators
      • implicit operator AutoExpandReplicas(string)
    • Extension Methods
    Back to top Generated by DocFX