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 ImportSnapshot operation. Imports a disk into an EBS snapshot.
For more information, see Importing a disk as a snapshot using VM Import/Export in the VM Import/Export User Guide.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class ImportSnapshotRequest : AmazonEC2Request IAmazonWebServiceRequest
The ImportSnapshotRequest type exposes the following members
Name | Description | |
---|---|---|
ImportSnapshotRequest() |
Name | Type | Description | |
---|---|---|---|
ClientData | Amazon.EC2.Model.ClientData |
Gets and sets the property ClientData. The client-specific data. |
|
ClientToken | System.String |
Gets and sets the property ClientToken. Token to enable idempotency for VM import requests. |
|
Description | System.String |
Gets and sets the property Description. The description string for the import snapshot task. |
|
DiskContainer | Amazon.EC2.Model.SnapshotDiskContainer |
Gets and sets the property DiskContainer. Information about the disk container. |
|
Encrypted | System.Boolean |
Gets and sets the property Encrypted.
Specifies whether the destination snapshot of the imported image should be encrypted.
The default KMS key for EBS is used unless you specify a non-default KMS key using
|
|
KmsKeyId | System.String |
Gets and sets the property KmsKeyId.
An identifier for the symmetric KMS key to use when creating the encrypted snapshot.
This parameter is only required if you want to use a non-default KMS key; if this
parameter is not specified, the default KMS key for EBS is used. If a The KMS key identifier may be provided in any of the following formats:
Amazon Web Services parses The specified KMS key must exist in the Region that the snapshot is being copied to. Amazon EBS does not support asymmetric KMS keys. |
|
RoleName | System.String |
Gets and sets the property RoleName. The name of the role to use when not using the default role, 'vmimport'. |
|
TagSpecifications | System.Collections.Generic.List<Amazon.EC2.Model.TagSpecification> |
Gets and sets the property TagSpecifications. The tags to apply to the import snapshot task during creation. |
.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