AmazonEC2Client.CreateSnapshot Method (CreateSnapshotRequest)

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

Create a snapshot of the volume identified by volume ID. A volume does not have to be detached at the time the snapshot is taken.

NOTE: Snapshot creation requires that the system is in a consistent state. For instance, this means that if taking a snapshot of a database, the tables must be read-only locked to ensure that the snapshot will not contain a corrupted version of the database. Therefore, be careful when using this API to ensure that the system remains in the consistent state until the create snapshot status has returned.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public virtual CreateSnapshotResponse CreateSnapshot(
         CreateSnapshotRequest request
)

Parameters

request
Type: Amazon.EC2.Model.CreateSnapshotRequest

Return Value
Type: Amazon.EC2.Model.CreateSnapshotResponse
The response from the CreateSnapshot service method, as returned by AmazonEC2.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5