Interface ISnapshotEndpoint
Namespace: Consul
Assembly: Consul.dll
The interface for the Snapshot API Endpoints
public interface ISnapshotEndpoint
Methods
Restore(Stream, CancellationToken)
Task<WriteResult> Restore(Stream s, CancellationToken ct = default)
Parameters
s
Stream
Returns
Task <WriteResult >
Restore(Stream, WriteOptions, CancellationToken)
Task<WriteResult> Restore(Stream s, WriteOptions q, CancellationToken ct = default)
Parameters
s
Stream
Returns
Task <WriteResult >
Save(CancellationToken)
Task<QueryResult<Stream>> Save(CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <Stream >>
Save(QueryOptions, CancellationToken)
Task<QueryResult<Stream>> Save(QueryOptions q, CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <Stream >>