Class AutoExpandReplicas
Inheritance
AutoExpandReplicas
Assembly: OpenSearch.Client.dll
Syntax
public class AutoExpandReplicas
Properties
|
Edit this page
View Source
Disabled
Declaration
public static AutoExpandReplicas Disabled { get; }
Property Value
|
Edit this page
View Source
Enabled
Whether auto expand replicas is enabled
Declaration
public bool Enabled { get; }
Property Value
|
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
|
Edit this page
View Source
MinReplicas
The lower bound of replicas
Declaration
public int? MinReplicas { get; }
Property Value
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
|
Edit this page
View Source
Create(int, int)
Declaration
public static AutoExpandReplicas Create(int minReplicas, int maxReplicas)
Parameters
| Type |
Name |
Description |
| int |
minReplicas |
|
| int |
maxReplicas |
|
Returns
|
Edit this page
View Source
Create(string)
Declaration
public static AutoExpandReplicas Create(string value)
Parameters
| Type |
Name |
Description |
| string |
value |
|
Returns
Examples
0-5
0-all
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
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
Extension Methods