Interface ISnapshotService
Interface for snapshot service.
Namespace: Cireson.Core.Interfaces.DataAccess
Assembly: Cireson.Core.Interfaces.dll
Syntax
public interface ISnapshotService
Remarks
Admin, 8/24/2017.
Methods
View SourceCreateSystemSnapshotShot(String)
Creates system snapshot.
Declaration
Task<string> CreateSystemSnapshotShot(string description)
Parameters
Type | Name | Description |
---|---|---|
System.String | description | The description. |
Returns
Type | Description |
---|---|
Task<System.String> | An asynchronous result that yields the new system snapshot. |
CreateUserSnapshotShot(String)
Creates user snapshot.
Declaration
Task<string> CreateUserSnapshotShot(string description)
Parameters
Type | Name | Description |
---|---|---|
System.String | description | The description. |
Returns
Type | Description |
---|---|
Task<System.String> | An asynchronous result that yields the new user snapshot. |
DeleteSnapshot(String)
Deletes the snapshot described by snapshotName.
Declaration
Task DeleteSnapshot(string snapshotName)
Parameters
Type | Name | Description |
---|---|---|
System.String | snapshotName | Name of the snapshot. |
Returns
Type | Description |
---|---|
Task | An asynchronous result. |
GetSnapshotList()
Gets snapshot list.
Declaration
Task<IList<SnapshotInfo>> GetSnapshotList()
Returns
Type | Description |
---|---|
Task<IList<SnapshotInfo>> | An asynchronous result that yields the snapshot list. |
RevertToSnapshot(String)
Revert to snapshot.
Declaration
Task RevertToSnapshot(string snapshotName)
Parameters
Type | Name | Description |
---|---|---|
System.String | snapshotName | Name of the snapshot. |
Returns
Type | Description |
---|---|
Task | An asynchronous result. |