Class CatSnapshotsRequest
Request for Snapshots
https://opensearch.org/docs/latest/api-reference/cat/cat-snapshots/
Inheritance
CatSnapshotsRequest
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class CatSnapshotsRequest : PlainRequestBase<CatSnapshotsRequestParameters>, ICatSnapshotsRequest, IRequest<CatSnapshotsRequestParameters>, IRequest
Constructors
| Edit this page View SourceCatSnapshotsRequest()
/_cat/snapshots
Declaration
public CatSnapshotsRequest()
CatSnapshotsRequest(Names)
/_cat/snapshots/{repository}
Declaration
public CatSnapshotsRequest(Names repository)
Parameters
Type | Name | Description |
---|---|---|
Names | repository | Optional, accepts null |
Properties
| Edit this page View SourceClusterManagerTimeout
Operation timeout for connection to cluster-manager node.
Declaration
public Time ClusterManagerTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
Format
A short version of the Accept header (for example, json
, yaml
).
Declaration
public string Format { get; set; }
Property Value
Type | Description |
---|---|
string |
Headers
Comma-separated list of column names to display.
Declaration
public string[] Headers { get; set; }
Property Value
Type | Description |
---|---|
string[] |
Help
Return help information.
Declaration
public bool? Help { get; set; }
Property Value
Type | Description |
---|---|
bool? |
IgnoreUnavailable
If true
, the response does not include information from unavailable snapshots.
Declaration
public bool? IgnoreUnavailable { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MasterTimeout
Operation timeout for connection to cluster-manager node.
Declaration
[Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use `cluster_manager_timeout` instead.")]
public Time MasterTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Self
Declaration
protected ICatSnapshotsRequest Self { get; }
Property Value
Type | Description |
---|---|
ICatSnapshotsRequest |
SortByColumns
Comma-separated list of column names or column aliases to sort by.
Declaration
public string[] SortByColumns { get; set; }
Property Value
Type | Description |
---|---|
string[] |
Verbose
Verbose mode. Display column headers.
Declaration
public bool? Verbose { get; set; }
Property Value
Type | Description |
---|---|
bool? |