Class: Aws::EC2::Types::ImportVolumeRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass ImportVolumeRequest data as a hash:

{
  availability_zone: "String", # required
  description: "String",
  dry_run: false,
  image: { # required
    bytes: 1, # required
    format: "VMDK", # required, accepts VMDK, RAW, VHD
    import_manifest_url: "String", # required
  },
  volume: { # required
    size: 1, # required
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone for the resulting EBS volume.

Returns:

  • (String)


34483
34484
34485
34486
34487
34488
34489
34490
34491
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 34483

class ImportVolumeRequest < Struct.new(
  :availability_zone,
  :description,
  :dry_run,
  :image,
  :volume)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the volume.

Returns:

  • (String)


34483
34484
34485
34486
34487
34488
34489
34490
34491
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 34483

class ImportVolumeRequest < Struct.new(
  :availability_zone,
  :description,
  :dry_run,
  :image,
  :volume)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

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.

Returns:

  • (Boolean)


34483
34484
34485
34486
34487
34488
34489
34490
34491
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 34483

class ImportVolumeRequest < Struct.new(
  :availability_zone,
  :description,
  :dry_run,
  :image,
  :volume)
  SENSITIVE = []
  include Aws::Structure
end

#imageTypes::DiskImageDetail

The disk image.



34483
34484
34485
34486
34487
34488
34489
34490
34491
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 34483

class ImportVolumeRequest < Struct.new(
  :availability_zone,
  :description,
  :dry_run,
  :image,
  :volume)
  SENSITIVE = []
  include Aws::Structure
end

#volumeTypes::VolumeDetail

The volume size.

Returns:



34483
34484
34485
34486
34487
34488
34489
34490
34491
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 34483

class ImportVolumeRequest < Struct.new(
  :availability_zone,
  :description,
  :dry_run,
  :image,
  :volume)
  SENSITIVE = []
  include Aws::Structure
end