Class CatSegmentReplicationDescriptor
Descriptor for SegmentReplication
https://opensearch.org/docs/latest/api-reference/cat/cat-segment-replication/
Inheritance
CatSegmentReplicationDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class CatSegmentReplicationDescriptor : RequestDescriptorBase<CatSegmentReplicationDescriptor, CatSegmentReplicationRequestParameters, ICatSegmentReplicationRequest>, IDescriptor, ICatSegmentReplicationRequest, IRequest<CatSegmentReplicationRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
CatSegmentReplicationDescriptor()
/_cat/segment_replication
Declaration
public CatSegmentReplicationDescriptor()
|
Edit this page
View Source
CatSegmentReplicationDescriptor(Indices)
/_cat/segment_replication/{index}
Declaration
public CatSegmentReplicationDescriptor(Indices index)
Parameters
Type |
Name |
Description |
Indices |
index |
Optional, accepts null
|
Methods
|
Edit this page
View Source
ActiveOnly(bool?)
If true
, the response only includes ongoing segment replication events.
Declaration
public CatSegmentReplicationDescriptor ActiveOnly(bool? activeonly = true)
Parameters
Type |
Name |
Description |
bool? |
activeonly |
|
Returns
|
Edit this page
View Source
AllIndices()
A shortcut into calling Index(Indices.All)
Declaration
public CatSegmentReplicationDescriptor AllIndices()
Returns
|
Edit this page
View Source
AllowNoIndices(bool?)
Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes _all
string or when no indices have been specified).
Declaration
public CatSegmentReplicationDescriptor AllowNoIndices(bool? allownoindices = true)
Parameters
Type |
Name |
Description |
bool? |
allownoindices |
|
Returns
|
Edit this page
View Source
Bytes(ByteUnit?)
The unit in which to display byte values.
Declaration
public CatSegmentReplicationDescriptor Bytes(ByteUnit? bytes)
Parameters
Returns
|
Edit this page
View Source
CompletedOnly(bool?)
If true
, the response only includes latest completed segment replication events.
Declaration
public CatSegmentReplicationDescriptor CompletedOnly(bool? completedonly = true)
Parameters
Type |
Name |
Description |
bool? |
completedonly |
|
Returns
|
Edit this page
View Source
Detailed(bool?)
If true
, the response includes detailed information about segment replications.
Declaration
public CatSegmentReplicationDescriptor Detailed(bool? detailed = true)
Parameters
Type |
Name |
Description |
bool? |
detailed |
|
Returns
|
Edit this page
View Source
ExpandWildcards(ExpandWildcards?)
Whether to expand wildcard expression to concrete indices that are open, closed or both.
Declaration
public CatSegmentReplicationDescriptor ExpandWildcards(ExpandWildcards? expandwildcards)
Parameters
Returns
|
Edit this page
View Source
A short version of the Accept header, e.g. json, yaml.
Declaration
public CatSegmentReplicationDescriptor Format(string format)
Parameters
Type |
Name |
Description |
string |
format |
|
Returns
|
Edit this page
View Source
Comma-separated list of column names to display.
Declaration
public CatSegmentReplicationDescriptor Headers(params string[] headers)
Parameters
Type |
Name |
Description |
string[] |
headers |
|
Returns
|
Edit this page
View Source
Help(bool?)
Declaration
public CatSegmentReplicationDescriptor Help(bool? help = true)
Parameters
Type |
Name |
Description |
bool? |
help |
|
Returns
|
Edit this page
View Source
IgnoreThrottled(bool?)
Whether specified concrete, expanded or aliased indices should be ignored when throttled.
Declaration
public CatSegmentReplicationDescriptor IgnoreThrottled(bool? ignorethrottled = true)
Parameters
Type |
Name |
Description |
bool? |
ignorethrottled |
|
Returns
|
Edit this page
View Source
IgnoreUnavailable(bool?)
Whether specified concrete indices should be ignored when unavailable (missing or closed).
Declaration
public CatSegmentReplicationDescriptor IgnoreUnavailable(bool? ignoreunavailable = true)
Parameters
Type |
Name |
Description |
bool? |
ignoreunavailable |
|
Returns
|
Edit this page
View Source
Index(Indices)
Comma-separated list or wildcard expression of index names to limit the returned information.
Declaration
public CatSegmentReplicationDescriptor Index(Indices index)
Parameters
Type |
Name |
Description |
Indices |
index |
|
Returns
|
Edit this page
View Source
Index<TOther>()
a shortcut into calling Index(typeof(TOther))
Declaration
public CatSegmentReplicationDescriptor Index<TOther>() where TOther : class
Returns
Type Parameters
|
Edit this page
View Source
Shards(params string[])
Comma-separated list of shards to display.
Declaration
public CatSegmentReplicationDescriptor Shards(params string[] shards)
Parameters
Type |
Name |
Description |
string[] |
shards |
|
Returns
|
Edit this page
View Source
SortByColumns(params string[])
Comma-separated list of column names or column aliases to sort by.
Declaration
public CatSegmentReplicationDescriptor SortByColumns(params string[] sortbycolumns)
Parameters
Type |
Name |
Description |
string[] |
sortbycolumns |
|
Returns
|
Edit this page
View Source
Timeout(Time)
Declaration
public CatSegmentReplicationDescriptor Timeout(Time timeout)
Parameters
Type |
Name |
Description |
Time |
timeout |
|
Returns
|
Edit this page
View Source
Verbose(bool?)
Verbose mode. Display column headers.
Declaration
public CatSegmentReplicationDescriptor Verbose(bool? verbose = true)
Parameters
Type |
Name |
Description |
bool? |
verbose |
|
Returns
Implements
Extension Methods