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

{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "server",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "My resource",
"hostname": "myHostname",
"cores": 4,
"ram": 4096,
"availabilityZone": "AUTO",
"vmState": "RUNNING",
"cpuFamily": "INTEL_ICELAKE",
"type": "ENTERPRISE",
"nicMultiQueue": true
}
}

Last updated

Was this helpful?