Class CatSnapshotsRequestParameters
Request options for Snapshots
<p>https://docs.opensearch.org/latest/api-reference/cat/cat-snapshots/</p>
Implements
Inherited Members
Namespace: OpenSearch.Net.Specification.CatApi
Assembly: OpenSearch.Net.dll
Syntax
public class CatSnapshotsRequestParameters : RequestParameters<CatSnapshotsRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceClusterManagerTimeout
The amount of time allowed to establish a connection to the cluster manager node.
Declaration
public TimeSpan ClusterManagerTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| HttpMethod |
Overrides
| Edit this page View SourceFormat
A short version of the Accept header, such as json or yaml.
Declaration
public CatResponseFormat? Format { get; set; }
Property Value
| Type | Description |
|---|---|
| CatResponseFormat? |
Headers
A comma-separated list of column names to display.
Declaration
public string[] Headers { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
Help
Returns help information.
Declaration
public bool? Help { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
IgnoreUnavailable
When true, the response does not include information from unavailable snapshots.
Declaration
public bool? IgnoreUnavailable { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
MasterTimeout
The amount of time allowed to establish a connection to the cluster manager node.
Declaration
[Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use `cluster_manager_timeout` instead.")]
public TimeSpan MasterTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
OperationName
The OpenSearch REST API operation name this request maps to (for example search or
indices.create), used as the OpenTelemetry span name and db.operation tag.
null for requests that do not correspond to a named API operation.
Declaration
public override string OperationName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
| Edit this page View SourceRepository
A comma-separated list of snapshot repositories used to limit the request. Accepts wildcard expressions. _all returns all
repositories. If any repository fails during the request, OpenSearch returns an error.
Declaration
public string[] Repository { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
SortByColumns
A comma-separated list of column names or column aliases to sort by.
Declaration
public string[] SortByColumns { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
| Edit this page View SourceVerbose
Enables verbose mode, which displays column headers.
Declaration
public bool? Verbose { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |