Create an NIC Multi-Queue enabled Virtual Machine (VM)

To create a VM with the NIC Multi-Queue feature enabled using Cloud API, you will need to set the nicMultiQueue boolean property to true in your /server API request.

Endpoint

Use the following endpoint to create an NIC Multi-Queue enabled Virtual Machine (VM): https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/servers.

Prerequisite: Remember to update the datacenterId and the server-uuid with relevant values.

Request

curl --location \
--request POST 'https://api.ionos.com/cloudapi/v6/datacenters/fd16-e4-44-b9-daaaaah75/servers' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJraWQiO' \
--header 'Content-Type: application/json' \
--data-raw '{
    "properties": {
        "name": "My resource",
        "hostname": "myHostname",
        "cores": 4,
        "ram": 4096,
        "availabilityZone": "AUTO",
        "cpuFamily": "INTEL_ICELAKE",
        "type": "ENTERPRISE",
        "nicMultiQueue": true
    }
}'

Remember to update the datacenterId value with your data center's ID:

Path Parameter

Type

Description

Example

datacenterId

string

The ID (UUID) of the data center.

fd16-e4-44-b9-daaaaah75

Response

201 Successful operation

Last updated

Was this helpful?