AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CopySnapshot operation. Copies a manual snapshot of an instance or disk as another manual snapshot, or copies an automatic snapshot of an instance or disk as a manual snapshot. This operation can also be used to copy a manual or automatic snapshot of an instance or a disk from one Amazon Web Services Region to another in Amazon Lightsail.
When copying a manual snapshot, be sure to define the source region
,
source snapshot name
, and target snapshot name
parameters.
When copying an automatic snapshot, be sure to define the source region
,
source resource name
, target snapshot name
, and either the restore
date
or the use latest restorable auto snapshot
parameters.
Namespace: Amazon.Lightsail.Model
Assembly: AWSSDK.Lightsail.dll
Version: 3.x.y.z
public class CopySnapshotRequest : AmazonLightsailRequest IAmazonWebServiceRequest
The CopySnapshotRequest type exposes the following members
Name | Description | |
---|---|---|
CopySnapshotRequest() |
Name | Type | Description | |
---|---|---|---|
RestoreDate | System.String |
Gets and sets the property RestoreDate.
The date of the source automatic snapshot to copy. Use the Constraints:
|
|
SourceRegion | Amazon.Lightsail.RegionName |
Gets and sets the property SourceRegion. The Amazon Web Services Region where the source manual or automatic snapshot is located. |
|
SourceResourceName | System.String |
Gets and sets the property SourceResourceName. The name of the source instance or disk from which the source automatic snapshot was created. Constraint:
|
|
SourceSnapshotName | System.String |
Gets and sets the property SourceSnapshotName. The name of the source manual snapshot to copy. Constraint:
|
|
TargetSnapshotName | System.String |
Gets and sets the property TargetSnapshotName. The name of the new manual snapshot to be created as a copy. |
|
UseLatestRestorableAutoSnapshot | System.Boolean |
Gets and sets the property UseLatestRestorableAutoSnapshot. A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source instance or disk. Constraints:
|
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5