Create an Instance
Endpoint
Request
curl -X 'POST' \
'https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/servers' \
-H 'accept: application/json'Response
Last updated
Was this helpful?
curl -X 'POST' \
'https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/servers' \
-H 'accept: application/json'Last updated
Was this helpful?
Was this helpful?
{
"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": {
"templateUuid": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"name": "My resource",
"hostname": "myHostname",
"cores": 4,
"ram": 4096,
"availabilityZone": "AUTO",
"vmState": "RUNNING",
"bootCdrom": {
"id": "string",
"type": "resource",
"href": "<RESOURCE-URI>"
},
"bootVolume": {
"id": "string",
"type": "resource",
"href": "<RESOURCE-URI>"
},
"cpuFamily": "INTEL_ICELAKE",
"type": "CUBE",
"nicMultiQueue": true
},
"entities": {
"volumes": {
"items": [
{
"properties": {
"name": "My resource",
"type": "DAS",
"licenceType": "LINUX"
}
}
]
}
}
}