cloud_insts_imgs_upl
Upload an image from a URL, configuring properties such as OS type, architecture, and tags for use in Gcore Cloud.
Instructions
Upload an image from a URL.
The image can be configured with various properties like OS type, architecture, and tags.
Args: name: Image name
url: URL
architecture: Image CPU architecture type: aarch64, x86_64
cow_format: When True, image cannot be deleted unless all volumes, created from it, are deleted.
hw_firmware_type: Specifies the type of firmware with which to boot the guest.
hw_machine_type: A virtual chipset type.
is_baremetal: Set to true if the image will be used by bare metal servers. Defaults to false.
os_distro: OS Distribution, i.e. Debian, CentOS, Ubuntu, CoreOS etc.
os_type: The operating system installed on the image.
os_version: OS version, i.e. 22.04 (for Ubuntu) or 9.4 for Debian
ssh_key: Whether the image supports SSH key or not
tags: Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
extra_headers: Send extra headers
extra_query: Add additional query parameters to the request
extra_body: Add additional JSON properties to the request
timeout: Override the client-level default timeout for this request, in seconds
Note: Pass the numeric project_id. When a project name is provided, resolve it via cloud.projects.list/cloud.projects.get. If nothing is specified, fetch the account's default project first and use that ID. Pass the numeric region_id. Resolve region names with cloud.regions.list or cloud.regions.get. If no region is mentioned, obtain the default region ID before calling this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| region_id | Yes | ||
| name | Yes | ||
| url | Yes | ||
| architecture | No | ||
| cow_format | No | ||
| hw_firmware_type | No | ||
| hw_machine_type | No | ||
| is_baremetal | No | ||
| os_distro | No | ||
| os_type | No | ||
| os_version | No | ||
| ssh_key | No | ||
| tags | No | ||
| extra_headers | No | ||
| extra_query | No | ||
| extra_body | No | ||
| timeout | No |