Struct rusoto_ec2::ImportImageRequest [−][src]
pub struct ImportImageRequest { pub architecture: Option<String>, pub client_data: Option<ClientData>, pub client_token: Option<String>, pub description: Option<String>, pub disk_containers: Option<Vec<ImageDiskContainer>>, pub dry_run: Option<bool>, pub hypervisor: Option<String>, pub license_type: Option<String>, pub platform: Option<String>, pub role_name: Option<String>, }
Contains the parameters for ImportImage.
Fields
architecture: Option<String>
The architecture of the virtual machine.
Valid values: i386
| x86_64
client_data: Option<ClientData>
The client-specific data.
client_token: Option<String>
The token to enable idempotency for VM import requests.
description: Option<String>
A description string for the import image task.
disk_containers: Option<Vec<ImageDiskContainer>>
Information about the disk containers.
dry_run: Option<bool>
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
.
hypervisor: Option<String>
The target hypervisor platform.
Valid values: xen
license_type: Option<String>
The license type to be used for the Amazon Machine Image (AMI) after importing.
Note: You may only use BYOL if you have existing licenses with rights to use these licenses in a third party cloud like AWS. For more information, see Prerequisites in the VM Import/Export User Guide.
Valid values: AWS
| BYOL
platform: Option<String>
The operating system of the virtual machine.
Valid values: Windows
| Linux
role_name: Option<String>
The name of the role to use when not using the default role, 'vmimport'.
Trait Implementations
impl Default for ImportImageRequest
[src]
impl Default for ImportImageRequest
fn default() -> ImportImageRequest
[src]
fn default() -> ImportImageRequest
Returns the "default value" for a type. Read more
impl Debug for ImportImageRequest
[src]
impl Debug for ImportImageRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ImportImageRequest
[src]
impl Clone for ImportImageRequest
fn clone(&self) -> ImportImageRequest
[src]
fn clone(&self) -> ImportImageRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for ImportImageRequest
[src]
impl PartialEq for ImportImageRequest
fn eq(&self, other: &ImportImageRequest) -> bool
[src]
fn eq(&self, other: &ImportImageRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ImportImageRequest) -> bool
[src]
fn ne(&self, other: &ImportImageRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ImportImageRequest
impl Send for ImportImageRequest
impl Sync for ImportImageRequest
impl Sync for ImportImageRequest