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)


30122
30123
30124
30125
30126
30127
30128
30129
30130
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30122

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

#descriptionString

A description of the volume.

Returns:

  • (String)


30122
30123
30124
30125
30126
30127
30128
30129
30130
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30122

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)


30122
30123
30124
30125
30126
30127
30128
30129
30130
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30122

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

#imageTypes::DiskImageDetail

The disk image.



30122
30123
30124
30125
30126
30127
30128
30129
30130
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30122

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

#volumeTypes::VolumeDetail

The volume size.

Returns:



30122
30123
30124
30125
30126
30127
30128
30129
30130
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30122

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