Class Snapshot
Namespace: Consul
Assembly: Consul.dll
public class Snapshot : ISnapshotEndpoint
Inheritance
Implements
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Methods
Restore(Stream, CancellationToken)
public Task<WriteResult> Restore(Stream s, CancellationToken ct = default)
Parameters
s
Stream
Returns
Task <WriteResult >
Restore(Stream, WriteOptions, CancellationToken)
public Task<WriteResult> Restore(Stream s, WriteOptions q, CancellationToken ct = default)
Parameters
s
Stream
Returns
Task <WriteResult >
Save(CancellationToken)
public Task<QueryResult<Stream>> Save(CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <Stream >>
Save(QueryOptions, CancellationToken)
public Task<QueryResult<Stream>> Save(QueryOptions q, CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <Stream >>