Learn R Programming

paws.compute (version 0.7.0)

imagebuilder_import_vm_image: When you export your virtual machine (VM) from its virtualization environment, that process creates a set of one or more disk container files that act as snapshots of your VM’s environment, settings, and data

Description

When you export your virtual machine (VM) from its virtualization environment, that process creates a set of one or more disk container files that act as snapshots of your VM’s environment, settings, and data. The Amazon EC2 API ImportImage action uses those files to import your VM and create an AMI. To import using the CLI command, see import-image

See https://www.paws-r-sdk.com/docs/imagebuilder_import_vm_image/ for full documentation.

Usage

imagebuilder_import_vm_image(
  name,
  semanticVersion,
  description = NULL,
  platform,
  osVersion = NULL,
  vmImportTaskId,
  tags = NULL,
  clientToken
)

Arguments

name

[required] The name of the base image that is created by the import process.

semanticVersion

[required] The semantic version to attach to the base image that was created during the import process. This version follows the semantic version syntax.

The semantic version has four nodes: \<major\>.\<minor\>.\<patch\>/\<build\>. You can assign values for the first three, and can filter on all of them.

Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.

Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.

description

The description for the base image that is created by the import process.

platform

[required] The operating system platform for the imported VM.

osVersion

The operating system version for the imported VM.

vmImportTaskId

[required] The importTaskId (API) or ImportTaskId (CLI) from the Amazon EC2 VM import process. Image Builder retrieves information from the import process to pull in the AMI that is created from the VM source as the base image for your recipe.

tags

Tags that are attached to the import resources.

clientToken

[required] Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.