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 RestoreSnapshotTier operation. Restores an archived Amazon EBS snapshot for use temporarily or permanently, or modifies the restore period or restore type for a snapshot that was previously temporarily restored.
For more information see Restore an archived snapshot and modify the restore period or restore type for a temporarily restored snapshot in the Amazon EBS User Guide.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class RestoreSnapshotTierRequest : AmazonEC2Request IAmazonWebServiceRequest
The RestoreSnapshotTierRequest type exposes the following members
Name | Description | |
---|---|---|
RestoreSnapshotTierRequest() |
Name | Type | Description | |
---|---|---|---|
PermanentRestore | System.Boolean |
Gets and sets the property PermanentRestore.
Indicates whether to permanently restore an archived snapshot. To permanently restore
an archived snapshot, specify |
|
SnapshotId | System.String |
Gets and sets the property SnapshotId. The ID of the snapshot to restore. |
|
TemporaryRestoreDays | System.Int32 |
Gets and sets the property TemporaryRestoreDays. Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
To temporarily restore an archived snapshot, specify the number of days and omit the
PermanentRestore parameter or set it to |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5