Class LowLevelRemoteStoreNamespace
Remote Store APIs.
Not intended to be instantiated directly. Use the RemoteStore property on IOpenSearchLowLevelClient.
Inherited Members
Namespace: OpenSearch.Net.Specification.RemoteStoreApi
Assembly: OpenSearch.Net.dll
Syntax
public class LowLevelRemoteStoreNamespace : NamespacedClientProxy
Methods
| Edit this page View SourceRestoreAsync<TResponse>(PostData, RestoreRequestParameters, CancellationToken)
POST on /_remotestore/_restore
https://opensearch.org/docs/latest/opensearch/remote/#restoring-from-a-backup
Declaration
public Task<TResponse> RestoreAsync<TResponse>(PostData body, RestoreRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
PostData | body | Comma-separated list of index IDs. |
RestoreRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
CancellationToken | ctx |
Returns
Type | Description |
---|---|
Task<TResponse> |
Type Parameters
Name | Description |
---|---|
TResponse |
Restore<TResponse>(PostData, RestoreRequestParameters)
POST on /_remotestore/_restore
https://opensearch.org/docs/latest/opensearch/remote/#restoring-from-a-backup
Declaration
public TResponse Restore<TResponse>(PostData body, RestoreRequestParameters requestParameters = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
PostData | body | Comma-separated list of index IDs. |
RestoreRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
Returns
Type | Description |
---|---|
TResponse |
Type Parameters
Name | Description |
---|---|
TResponse |