ImportSnapshot#

Description#

Creates a task to import a snapshot.

Request Parameters#

Required parameters#

Optional parameters#

  • Description — The description of the import task.

    • Type: String

    • Required: No

    • Length constraint: Up to 255 symbols

  • Email — The email address for notification.

    • Type: String

    • Required: No

  • Notify — Notify about the task status via email.

    • Type: Boolean

    • Required: No

Response Elements#

  • description — The description of the task.

  • importTaskId — The ID of the import task.

  • snapshotDetails

    • description — The description of the snapshot.

    • diskImageSize — The size of the volume.

    • format — The format of the volume.

    • progress — The progress of the snapshot creation process.

    • snapshotId — The ID of the snapshot.

    • status — The state of the snapshot import task.

    • statusMessage — The description of the current step.

    • userBucket

      • s3Bucket — The bucket used.

      • s3Key — The S3 key name of the imported image

Examples#

c2-ec2 ImportSnapshot Description "description" DiskContainer.Description "snap description" DiskContainer.Format "VMDK" DiskContainer.UserBucket.S3Bucket "snap description" DiskContainer.UserBucket.S3Key "snap.vmdk" Notify True Email test@test.test