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.
The architecture of the virtual machine.
Valid values: i386
| x86_64
The client-specific data.
The token to enable idempotency for VM import requests.
A description string for the import image task.
Information about the disk containers.
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
.
The target hypervisor platform.
Valid values: xen
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
The operating system of the virtual machine.
Valid values: Windows
| Linux
The name of the role to use when not using the default role, 'vmimport'.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static