paws.compute (version 0.1.0)

ec2_import_volume: Creates an import volume task using metadata from the specified disk image

Description

Creates an import volume task using metadata from the specified disk image.For more information, see Importing Disks to Amazon EBS.

Usage

ec2_import_volume(AvailabilityZone, Description, DryRun, Image, Volume)

Arguments

AvailabilityZone

[required] The Availability Zone for the resulting EBS volume.

Description

A description of the volume.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Image

[required] The disk image.

Volume

[required] The volume size.

Request syntax

svc$import_volume(
  AvailabilityZone = "string",
  Description = "string",
  DryRun = TRUE|FALSE,
  Image = list(
    Bytes = 123,
    Format = "VMDK"|"RAW"|"VHD",
    ImportManifestUrl = "string"
  ),
  Volume = list(
    Size = 123
  )
)

Details

For information about the import manifest referenced by this API action, see VM Import Manifest.