Download OpenAPI specification:Download
IONOS Enterprise-grade Infrastructure as a Service (IaaS) solutions can be managed through the Cloud API, in addition or as an alternative to the "Data Center Designer" (DCD) browser-based tool.
Both methods employ consistent concepts and features, deliver similar power and flexibility, and can be used to perform a multitude of management tasks, including adding servers, volumes, configuring networks, and so on.
Retrieves the API information such as API version.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "name": "CLOUD API",
- "version": "6.0"
}
List the data centers for your account. Default limit is the first 100 items; use pagination query parameters for listing more items.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "datacenter",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "Production datacenter",
- "description": "My Production Datacenter",
- "location": "us/las",
- "version": 8,
- "features": [
- "SSD"
], - "secAuthProtection": true,
- "cpuArchitecture": [
- {
- "cpuFamily": "INTEL_ICELAKE",
- "maxCores": 62,
- "maxRam": 245760,
- "vendor": "AuthenticAMD"
}
], - "ipv6CidrBlock": "2001:db8:b06d:8f00::/56",
- "defaultSecurityGroupId": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
}, - "entities": {
- "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "loadbalancers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "loadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ip": "22.231.113.64",
- "dhcp": true
}, - "entities": {
- "balancednics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "lans": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "5",
- "type": "lan",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ipFailover": [
- {
- "ip": null,
- "nicUuid": null
}
], - "ipv4CidrBlock": "10.8.130.0/23",
- "ipv6CidrBlock": "2001:db8:b06d:8f5a::/64",
- "pcc": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec",
- "public": true
}, - "entities": {
- "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "networkloadbalancers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "networkloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "natgateways": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway",
- "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "lans": [
- {
- "id": null,
- "gatewayIps": [ ]
}
]
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
]
}, - "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Creates new data centers, and data centers that already contain elements, such as servers and storage volumes.
Virtual data centers are the foundation of the platform; they act as logical containers for all other objects you create, such as servers and storage volumes. You can provision as many data centers as needed. Data centers have their own private networks and are logically segmented from each other to create isolation.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The data center to create.
required | object (DatacenterPropertiesPost) |
object (DatacenterEntities) |
{- "properties": {
- "name": "Production Datacenter",
- "description": "My Production Datacenter",
- "location": "us/las",
- "secAuthProtection": true,
- "createDefaultSecurityGroup": true
}, - "entities": {
- "servers": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "volumes": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "loadbalancers": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "lans": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "networkloadbalancers": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "natgateways": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "securitygroups": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "datacenter",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "Production datacenter",
- "description": "My Production Datacenter",
- "location": "us/las",
- "version": 8,
- "features": [
- "SSD"
], - "secAuthProtection": true,
- "cpuArchitecture": [
- {
- "cpuFamily": "INTEL_ICELAKE",
- "maxCores": 62,
- "maxRam": 245760,
- "vendor": "AuthenticAMD"
}
], - "ipv6CidrBlock": "2001:db8:b06d:8f00::/56",
- "defaultSecurityGroupId": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
}, - "entities": {
- "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null,
- "location": null,
- "size": null,
- "cpuHotPlug": null,
- "cpuHotUnplug": null,
- "ramHotPlug": null,
- "ramHotUnplug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "discScsiHotPlug": null,
- "discScsiHotUnplug": null,
- "exposeSerial": null,
- "licenceType": null,
- "imageType": null,
- "public": null,
- "imageAliases": [ ],
- "cloudInit": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "type": null,
- "size": null,
- "availabilityZone": null,
- "image": null,
- "imagePassword": null,
- "imageAlias": null,
- "sshKeys": [ ],
- "bus": null,
- "licenceType": null,
- "cpuHotPlug": null,
- "ramHotPlug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "exposeSerial": null,
- "deviceNumber": null,
- "pciSlot": null,
- "backupunitId": null,
- "userData": null,
- "bootServer": null,
- "bootOrder": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "loadbalancers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "loadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ip": "22.231.113.64",
- "dhcp": true
}, - "entities": {
- "balancednics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "lans": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "5",
- "type": "lan",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ipFailover": [
- {
- "ip": "192.18.2.231",
- "nicUuid": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec"
}
], - "ipv4CidrBlock": "10.8.130.0/23",
- "ipv6CidrBlock": "2001:db8:b06d:8f5a::/64",
- "pcc": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec",
- "public": true
}, - "entities": {
- "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "networkloadbalancers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "networkloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "algorithm": null,
- "protocol": null,
- "listenerIp": null,
- "listenerPort": null,
- "healthCheck": null,
- "targets": [ ]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "natgateways": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway",
- "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "lans": [
- {
- "id": 3,
- "gatewayIps": [
- "10.12.1.2/24",
- "10.11.2.5/24",
- "10.11.2.4"
]
}
]
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "type": null,
- "protocol": null,
- "sourceSubnet": null,
- "publicIp": null,
- "targetSubnet": null,
- "targetPortRange": null
}
}
]
}, - "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "templateUuid": null,
- "name": null,
- "hostname": null,
- "cores": null,
- "ram": null,
- "availabilityZone": null,
- "vmState": null,
- "bootCdrom": null,
- "bootVolume": null,
- "cpuFamily": null,
- "type": null,
- "nicMultiQueue": null
}, - "entities": {
- "cdroms": null,
- "volumes": null,
- "nics": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Retrieve data centers by resource ID. This value is in the response body when the data center is created, and in the list of the data centers, returned by GET.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "datacenter",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "Production datacenter",
- "description": "My Production Datacenter",
- "location": "us/las",
- "version": 8,
- "features": [
- "SSD"
], - "secAuthProtection": true,
- "cpuArchitecture": [
- {
- "cpuFamily": "INTEL_ICELAKE",
- "maxCores": 62,
- "maxRam": 245760,
- "vendor": "AuthenticAMD"
}
], - "ipv6CidrBlock": "2001:db8:b06d:8f00::/56",
- "defaultSecurityGroupId": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
}, - "entities": {
- "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null,
- "location": null,
- "size": null,
- "cpuHotPlug": null,
- "cpuHotUnplug": null,
- "ramHotPlug": null,
- "ramHotUnplug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "discScsiHotPlug": null,
- "discScsiHotUnplug": null,
- "exposeSerial": null,
- "licenceType": null,
- "imageType": null,
- "public": null,
- "imageAliases": [ ],
- "cloudInit": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "type": null,
- "size": null,
- "availabilityZone": null,
- "image": null,
- "imagePassword": null,
- "imageAlias": null,
- "sshKeys": [ ],
- "bus": null,
- "licenceType": null,
- "cpuHotPlug": null,
- "ramHotPlug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "exposeSerial": null,
- "deviceNumber": null,
- "pciSlot": null,
- "backupunitId": null,
- "userData": null,
- "bootServer": null,
- "bootOrder": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "loadbalancers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "loadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ip": "22.231.113.64",
- "dhcp": true
}, - "entities": {
- "balancednics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "lans": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "5",
- "type": "lan",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ipFailover": [
- {
- "ip": "192.18.2.231",
- "nicUuid": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec"
}
], - "ipv4CidrBlock": "10.8.130.0/23",
- "ipv6CidrBlock": "2001:db8:b06d:8f5a::/64",
- "pcc": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec",
- "public": true
}, - "entities": {
- "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "networkloadbalancers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "networkloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "algorithm": null,
- "protocol": null,
- "listenerIp": null,
- "listenerPort": null,
- "healthCheck": null,
- "targets": [ ]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "natgateways": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway",
- "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "lans": [
- {
- "id": 3,
- "gatewayIps": [
- "10.12.1.2/24",
- "10.11.2.5/24",
- "10.11.2.4"
]
}
]
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "type": null,
- "protocol": null,
- "sourceSubnet": null,
- "publicIp": null,
- "targetSubnet": null,
- "targetPortRange": null
}
}
]
}, - "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "templateUuid": null,
- "name": null,
- "hostname": null,
- "cores": null,
- "ram": null,
- "availabilityZone": null,
- "vmState": null,
- "bootCdrom": null,
- "bootVolume": null,
- "cpuFamily": null,
- "type": null,
- "nicMultiQueue": null
}, - "entities": {
- "cdroms": null,
- "volumes": null,
- "nics": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Modifies the properties of the specified data center, rename it, or change the description.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified data center.
required | object (DatacenterPropertiesPut) |
object (DatacenterEntities) |
{- "properties": {
- "name": "Production Datacenter",
- "description": "My Production Datacenter",
- "location": "us/las",
- "secAuthProtection": true,
- "defaultSecurityGroupId": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "createDefaultSecurityGroup": true
}, - "entities": {
- "servers": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "volumes": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "loadbalancers": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "lans": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "networkloadbalancers": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "natgateways": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "securitygroups": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "datacenter",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "Production datacenter",
- "description": "My Production Datacenter",
- "location": "us/las",
- "version": 8,
- "features": [
- "SSD"
], - "secAuthProtection": true,
- "cpuArchitecture": [
- {
- "cpuFamily": "INTEL_ICELAKE",
- "maxCores": 62,
- "maxRam": 245760,
- "vendor": "AuthenticAMD"
}
], - "ipv6CidrBlock": "2001:db8:b06d:8f00::/56",
- "defaultSecurityGroupId": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
}, - "entities": {
- "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null,
- "location": null,
- "size": null,
- "cpuHotPlug": null,
- "cpuHotUnplug": null,
- "ramHotPlug": null,
- "ramHotUnplug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "discScsiHotPlug": null,
- "discScsiHotUnplug": null,
- "exposeSerial": null,
- "licenceType": null,
- "imageType": null,
- "public": null,
- "imageAliases": [ ],
- "cloudInit": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "type": null,
- "size": null,
- "availabilityZone": null,
- "image": null,
- "imagePassword": null,
- "imageAlias": null,
- "sshKeys": [ ],
- "bus": null,
- "licenceType": null,
- "cpuHotPlug": null,
- "ramHotPlug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "exposeSerial": null,
- "deviceNumber": null,
- "pciSlot": null,
- "backupunitId": null,
- "userData": null,
- "bootServer": null,
- "bootOrder": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "loadbalancers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "loadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ip": "22.231.113.64",
- "dhcp": true
}, - "entities": {
- "balancednics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "lans": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "5",
- "type": "lan",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ipFailover": [
- {
- "ip": "192.18.2.231",
- "nicUuid": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec"
}
], - "ipv4CidrBlock": "10.8.130.0/23",
- "ipv6CidrBlock": "2001:db8:b06d:8f5a::/64",
- "pcc": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec",
- "public": true
}, - "entities": {
- "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "networkloadbalancers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "networkloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "algorithm": null,
- "protocol": null,
- "listenerIp": null,
- "listenerPort": null,
- "healthCheck": null,
- "targets": [ ]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "natgateways": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway",
- "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "lans": [
- {
- "id": 3,
- "gatewayIps": [
- "10.12.1.2/24",
- "10.11.2.5/24",
- "10.11.2.4"
]
}
]
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "type": null,
- "protocol": null,
- "sourceSubnet": null,
- "publicIp": null,
- "targetSubnet": null,
- "targetPortRange": null
}
}
]
}, - "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "templateUuid": null,
- "name": null,
- "hostname": null,
- "cores": null,
- "ram": null,
- "availabilityZone": null,
- "vmState": null,
- "bootCdrom": null,
- "bootVolume": null,
- "cpuFamily": null,
- "type": null,
- "nicMultiQueue": null
}, - "entities": {
- "cdroms": null,
- "volumes": null,
- "nics": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Delete the specified data center and all the elements it contains. This method is destructive and should be used carefully.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Updates the properties of the specified data center, rename it, or change the description.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the data center to be updated.
name | string The name of the resource. |
description | string A description for the datacenter, such as staging, production. |
location required | string The physical location where the datacenter will be created. This will be where all of your servers live. Property cannot be modified after datacenter creation (disallowed in update requests). |
secAuthProtection | boolean Boolean value representing if the data center requires extra protection, such as two-step verification. |
defaultSecurityGroupId | string <uuid> This will become the default security group for the datacenter, replacing the old one if already exists. This security group must already exists prior to this request. Provide this field only if the |
createDefaultSecurityGroup | boolean If this field is set on true and this datacenter has no default security group then a default security group, with predefined rules, will be created for this datacenter. Default value is false. Provide this field only if the |
{- "name": "Production Datacenter",
- "description": "My Production Datacenter",
- "location": "us/las",
- "secAuthProtection": true,
- "defaultSecurityGroupId": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "createDefaultSecurityGroup": true
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "datacenter",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "Production datacenter",
- "description": "My Production Datacenter",
- "location": "us/las",
- "version": 8,
- "features": [
- "SSD"
], - "secAuthProtection": true,
- "cpuArchitecture": [
- {
- "cpuFamily": "INTEL_ICELAKE",
- "maxCores": 62,
- "maxRam": 245760,
- "vendor": "AuthenticAMD"
}
], - "ipv6CidrBlock": "2001:db8:b06d:8f00::/56",
- "defaultSecurityGroupId": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
}, - "entities": {
- "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null,
- "location": null,
- "size": null,
- "cpuHotPlug": null,
- "cpuHotUnplug": null,
- "ramHotPlug": null,
- "ramHotUnplug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "discScsiHotPlug": null,
- "discScsiHotUnplug": null,
- "exposeSerial": null,
- "licenceType": null,
- "imageType": null,
- "public": null,
- "imageAliases": [ ],
- "cloudInit": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "type": null,
- "size": null,
- "availabilityZone": null,
- "image": null,
- "imagePassword": null,
- "imageAlias": null,
- "sshKeys": [ ],
- "bus": null,
- "licenceType": null,
- "cpuHotPlug": null,
- "ramHotPlug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "exposeSerial": null,
- "deviceNumber": null,
- "pciSlot": null,
- "backupunitId": null,
- "userData": null,
- "bootServer": null,
- "bootOrder": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "loadbalancers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "loadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ip": "22.231.113.64",
- "dhcp": true
}, - "entities": {
- "balancednics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "lans": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "5",
- "type": "lan",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ipFailover": [
- {
- "ip": "192.18.2.231",
- "nicUuid": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec"
}
], - "ipv4CidrBlock": "10.8.130.0/23",
- "ipv6CidrBlock": "2001:db8:b06d:8f5a::/64",
- "pcc": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec",
- "public": true
}, - "entities": {
- "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "networkloadbalancers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "networkloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "algorithm": null,
- "protocol": null,
- "listenerIp": null,
- "listenerPort": null,
- "healthCheck": null,
- "targets": [ ]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "natgateways": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway",
- "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "lans": [
- {
- "id": 3,
- "gatewayIps": [
- "10.12.1.2/24",
- "10.11.2.5/24",
- "10.11.2.4"
]
}
]
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "type": null,
- "protocol": null,
- "sourceSubnet": null,
- "publicIp": null,
- "targetSubnet": null,
- "targetPortRange": null
}
}
]
}, - "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "templateUuid": null,
- "name": null,
- "hostname": null,
- "cores": null,
- "ram": null,
- "availabilityZone": null,
- "vmState": null,
- "bootCdrom": null,
- "bootVolume": null,
- "cpuFamily": null,
- "type": null,
- "nicMultiQueue": null
}, - "entities": {
- "cdroms": null,
- "volumes": null,
- "nics": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Retrieves the available physical locations where you can deploy cloud resources in a VDC.
A location is identified by a combination of the following characters:
a two-character regionId, which represents a country (example: 'de')
a three-character locationId, which represents a city. The 'locationId' is typically based on the IATA code of the city's airport (example: 'txl').
Note that 'locations' are read-only and cannot be changed.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "location",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "berlin",
- "features": [
- "cloud-init-private-image",
- "ssd",
- "vnf-nat"
], - "imageAliases": [
- "windows:2012r2_iso",
- "windows:2019_iso",
- "ubuntu:18.04_iso"
], - "cpuArchitecture": [
- {
- "cpuFamily": "INTEL_ICELAKE",
- "maxCores": 62,
- "maxRam": 245760,
- "vendor": "AuthenticAMD"
}
]
}
}
]
}
Retrieves the available locations in a region specified by its ID. The 'regionId' consists of the two character identifier of the region (country), e.g., 'de'.
regionId required | string The unique ID of the region. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "location",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "berlin",
- "features": [
- "cloud-init-private-image",
- "ssd",
- "vnf-nat"
], - "imageAliases": [
- "windows:2012r2_iso",
- "windows:2019_iso",
- "ubuntu:18.04_iso"
], - "cpuArchitecture": [
- {
- "cpuFamily": "INTEL_ICELAKE",
- "maxCores": 62,
- "maxRam": 245760,
- "vendor": "AuthenticAMD"
}
]
}
}
]
}
Retrieves the information about the location specified by its ID. The 'locationId' consists of the three-digit identifier of the city according to the IATA code.
regionId required | string The unique ID of the region. |
locationId required | string The unique ID of the location. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "location",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "berlin",
- "features": [
- "cloud-init-private-image",
- "ssd",
- "vnf-nat"
], - "imageAliases": [
- "windows:2012r2_iso",
- "windows:2019_iso",
- "ubuntu:18.04_iso"
], - "cpuArchitecture": [
- {
- "cpuFamily": "INTEL_ICELAKE",
- "maxCores": 62,
- "maxRam": 245760,
- "vendor": "AuthenticAMD"
}
]
}
}
List all servers within the data center.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "imageType": "HDD",
- "public": true,
- "imageAliases": [
- "string"
], - "cloudInit": "V1"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "servers": { }
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Creates a server within the specified data center. You can also use this request to configure the boot volumes and connect to existing LANs at the same time.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The server to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (ServerProperties) |
object (ServerEntities) |
{- "type": "server",
- "metadata": { },
- "properties": {
- "templateUuid": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "name": "My resource",
- "hostname": "myHostname",
- "cores": 4,
- "ram": 4096,
- "availabilityZone": "AUTO",
- "bootCdrom": {
- "id": "string",
- "type": "resource"
}, - "bootVolume": {
- "id": "string",
- "type": "resource"
}, - "cpuFamily": "INTEL_ICELAKE",
- "type": "CUBE",
- "nicMultiQueue": true
}, - "entities": {
- "cdroms": {
- "type": "collection",
- "items": [
- {
- "type": "image",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "cloudInit": "V1"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "volumes": {
- "type": "collection",
- "items": [
- {
- "type": "volume",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootOrder": "AUTO"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "nics": {
- "type": "collection",
- "items": [
- {
- "type": "nic",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS"
}, - "entities": {
- "flowlogs": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "firewallrules": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "securitygroups": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "securitygroups": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "imageType": "HDD",
- "public": true,
- "imageAliases": [
- "string"
], - "cloudInit": "V1"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Retrieve information about the specified server within the data center, such as its configuration, provisioning status, and so on.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "imageType": "HDD",
- "public": true,
- "imageAliases": [
- "string"
], - "cloudInit": "V1"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Modifies the properties of the specified server within the data center.
Starting with v5, the 'allowReboot' attribute is retired; while previously required for changing certain server properties, this behavior is now implicit, and the backend will perform this automatically. For example, in earlier versions, when the CPU family is changed, 'allowReboot' had to be set to 'true'; this is no longer required, the reboot will be performed automatically.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified server
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (ServerProperties) |
object (ServerEntities) |
{- "type": "server",
- "metadata": { },
- "properties": {
- "templateUuid": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "name": "My resource",
- "hostname": "myHostname",
- "cores": 4,
- "ram": 4096,
- "availabilityZone": "AUTO",
- "bootCdrom": {
- "id": "string",
- "type": "resource"
}, - "bootVolume": {
- "id": "string",
- "type": "resource"
}, - "cpuFamily": "INTEL_ICELAKE",
- "type": "CUBE",
- "nicMultiQueue": true
}, - "entities": {
- "cdroms": {
- "type": "collection",
- "items": [
- {
- "type": "image",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "cloudInit": "V1"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "volumes": {
- "type": "collection",
- "items": [
- {
- "type": "volume",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootOrder": "AUTO"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "nics": {
- "type": "collection",
- "items": [
- {
- "type": "nic",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS"
}, - "entities": {
- "flowlogs": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "firewallrules": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "securitygroups": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "securitygroups": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "imageType": "HDD",
- "public": true,
- "imageAliases": [
- "string"
], - "cloudInit": "V1"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Delete the specified server in your data center. The attached storage volumes will also be removed if the query parameter is set to true otherwise a separate API call must be made for these actions.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
deleteVolumes | boolean If true, all attached storage volumes will also be deleted. |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified server within the data center.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the server to be updated.
templateUuid | string The ID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource. |
name | string The name of the resource. |
hostname | string The hostname of the resource. Allowed characters are a-z, 0-9 and - (minus). Hostname should not start with minus and should not be longer than 63 characters. |
cores | integer <int32> The total number of cores for the enterprise server. |
ram | integer <int32> The memory size for the enterprise server in MB, such as 2048. Size must be specified in multiples of 256 MB with a minimum of 256 MB; however, if you set ramHotPlug to TRUE then you must use a minimum of 1024 MB. If you set the RAM size more than 240GB, then ramHotPlug will be set to FALSE and can not be set to TRUE unless RAM size not set to less than 240GB. |
availabilityZone | string Enum: "AUTO" "ZONE_1" "ZONE_2" The availability zone in which the server should be provisioned. |
object (ResourceReference) | |
object (ResourceReference) | |
cpuFamily | string CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource; must not be provided for CUBE and VCPU servers. |
type | string Server type: CUBE, ENTERPRISE or VCPU. |
nicMultiQueue | boolean Default: false Activate or deactivate the Multi Queue feature on all NICs of this server. This feature is beneficial to enable when the NICs are experiencing performance issues (e.g. low throughput). Toggling this feature will also initiate a restart of the server. If the specified value is |
{- "templateUuid": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "name": "My resource",
- "hostname": "myHostname",
- "cores": 4,
- "ram": 4096,
- "availabilityZone": "AUTO",
- "bootCdrom": {
- "id": "string",
- "type": "resource"
}, - "bootVolume": {
- "id": "string",
- "type": "resource"
}, - "cpuFamily": "INTEL_ICELAKE",
- "type": "CUBE",
- "nicMultiQueue": true
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "imageType": "HDD",
- "public": true,
- "imageAliases": [
- "string"
], - "cloudInit": "V1"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Lists all volumes attached to the specified server.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Attachs an existing storage volume to the specified server.
You can attach an existing volume in the VDC to a server. To move a volume from one server to another, you must first detach the volume from the first server and attach it to the second server.
It is also possible to create and attach a volume in one step by simply providing a new volume description as a payload. The only difference is the URL; see 'Creating a Volume' for details about volumes.
Note that the combined total of attached volumes and NICs cannot exceed 24 per server.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The volume to be attached (or created and attached).
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (VolumeProperties) |
{- "type": "volume",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootOrder": "AUTO"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
Retrieves the properties of the volume attached to the specified server.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
volumeId required | string The unique ID of the volume. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
Detachs the specified volume from the server.
Note that only the volume's connection to the specified server is disconnected. If you want to delete the volume, you must submit a separate request to perform the deletion.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
volumeId required | string The unique ID of the volume. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Lists all CD-ROMs attached to the specified server.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "imageType": "HDD",
- "public": true,
- "imageAliases": [
- "string"
], - "cloudInit": "V1"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Attachs a CD-ROM to an existing server specified by its ID.
CD-ROMs cannot be created stand-alone like volumes. They are either attached to a server or do not exist. They always have an ISO-Image associated; empty CD-ROMs can not be provisioned. It is possible to attach up to two CD-ROMs to the same server.
Note that attaching a CD-ROM leads to a reset of the server.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The CD-ROM to be attached.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (ImageProperties) |
{- "type": "image",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "cloudInit": "V1"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "imageType": "HDD",
- "public": true,
- "imageAliases": [
- "string"
], - "cloudInit": "V1"
}
}
Retrieves the properties of the CD-ROM attached to the specified server.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
cdromId required | string The unique ID of the CD-ROM. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "imageType": "HDD",
- "public": true,
- "imageAliases": [
- "string"
], - "cloudInit": "V1"
}
}
Detachs the specified CD-ROM from the server.
Detaching a CD-ROM deletes the CD-ROM. The image will not be deleted.
Note that detaching a CD-ROM leads to a reset of the server.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
cdromId required | string The unique ID of the CD-ROM. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Force a hard reboot of the specified server within the data center. Don't use this method if you wish to reboot gracefully. This is an equivalent of powering down a computer and turning it back on.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Starts the Enterprise Server specified by its ID.
Note that you cannot use this method to start a Cube Server.
By starting the Enterprise Server, cores and RAM are provisioned, and the billing continues.
If the server's public IPv4 address has been deallocated, a new IPv4 address will be assigned. IPv6 blocks and addresses will remain unchanged when stopping and starting a server.
To check the status of the request, you can use the 'Location' HTTP header in the response (see 'Requests' for more information).
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Stops the Enterprise Server specified by its ID.
Note that you cannot use this method to stop a Cube Server.
By stopping the Enterprise Server, cores and RAM are freed and no longer charged.
Public IPv4 IPs that are not reserved are returned to the IPv4 pool. IPv6 blocks and addresses will remain unchanged when stopping and starting a server.
To check the status of the request, you can use the 'Location' HTTP header in the response (see 'Requests' for more information).
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Suspends the specified Cubes instance within the data center.
The instance is not deleted and allocated resources continue to be billed. You can perform this operation only for Cube Servers.
To check the status of the request, you can use the 'Location' HTTP header in the response (see 'Requests' for more information).
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Resumes a suspended Cube Server specified by its ID.
Since the suspended instance was not deleted the allocated resources continue to be billed. You can perform this operation only for Cube Servers.
To check the status of the request, you can use the 'Location' HTTP header in the response (see 'Requests' for more information).
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Upgrades the server version.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Retrieve a JSON Web Token from the server for use in login operations (such as accessing the server's console).
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "token": "eyJ0eXAiOiJKV1QiLCJraWQiOiI0MWM1MDFlNC03NGY3LTQwYjctYmMxMi1lZWIzMTAzNThlZDkiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJpb25vc2Nsb3VkIiwiaWF0IjoxNjAyNDg5NTkzMDcxLCJzZXJ2ZXIiOnsidXVpZCI6IjMwNGEwZGVlLWE3OTgtNDNhNi04MzIyLTk3M2NiYzc3Yjg4ZCIsIm5hbWUiOiJTZXJ2ZXIifX0.TND9kJd8GXM39XP5PMH_LnF_99al4MEkI_eoEowPvPztirgM50aZEdg6SuLYQzg-R7vrA7hEFaK4NJb2BUUsIZYVMhjl1QmKUE5TnP0Q2zYnIfNQNZFDu2rKrOydPCkPQwlMVvvZLeBSz7lrKYujF-qZ_yY_6SHlFtt-rg6IznRtup8AFziXtl-9cEsWU92_GCTd5LiriQrsnFAiGRbb0p2_6OYAQAH9FeWu4cxrbSwUmeR7Q4klJyZqFd0fv6UTFBtpSiyci7rsB142MXyLcqM4PrBkgd9P5OFbJYf5lbsb9pW04wLSl9rqoWGgZvWsqpuzosUkQRZt_O5yuYmT9w"
}
Retrieve a link with a JSON Web Token for accessing the server's Remote Console.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
List all the images within the data center.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "imageType": "HDD",
- "public": true,
- "imageAliases": [
- "string"
], - "cloudInit": "V1"
}
}
]
}
Retrieve the properties of the specified image.
imageId required | string The unique ID of the image. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "imageType": "HDD",
- "public": true,
- "imageAliases": [
- "string"
], - "cloudInit": "V1"
}
}
Modifies the properties of the specified image.
imageId required | string The unique ID of the image. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified image
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (ImageProperties) |
{- "type": "image",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "cloudInit": "V1"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "imageType": "HDD",
- "public": true,
- "imageAliases": [
- "string"
], - "cloudInit": "V1"
}
}
Delete the specified image; this operation is only supported for private images.
imageId required | string The unique ID of the image. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified image.
imageId required | string The unique ID of the image. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The image properties to be updated.
name | string The resource name. |
description | string Human-readable description. |
cpuHotPlug | boolean Hot-plug capable CPU (no reboot required). |
cpuHotUnplug | boolean Hot-unplug capable CPU (no reboot required). |
ramHotPlug | boolean Hot-plug capable RAM (no reboot required). |
ramHotUnplug | boolean Hot-unplug capable RAM (no reboot required). |
nicHotPlug | boolean Hot-plug capable NIC (no reboot required). |
nicHotUnplug | boolean Hot-unplug capable NIC (no reboot required). |
discVirtioHotPlug | boolean Hot-plug capable Virt-IO drive (no reboot required). |
discVirtioHotUnplug | boolean Hot-unplug capable Virt-IO drive (no reboot required). Not supported with Windows VMs. |
discScsiHotPlug | boolean Hot-plug capable SCSI drive (no reboot required). |
discScsiHotUnplug | boolean Hot-unplug capable SCSI drive (no reboot required). Not supported with Windows VMs. |
exposeSerial | boolean (ExposeSerial) Default: false If set to |
licenceType required | string Enum: "UNKNOWN" "WINDOWS" "WINDOWS2016" "WINDOWS2022" "RHEL" "LINUX" "OTHER" The OS type of this image. |
cloudInit | string Enum: "NONE" "V1" Cloud init compatibility. |
{- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "cloudInit": "V1"
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "The image/snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "discScsiHotUnplug": true,
- "exposeSerial": true,
- "licenceType": "LINUX",
- "imageType": "HDD",
- "public": true,
- "imageAliases": [
- "string"
], - "cloudInit": "V1"
}
}
List all the volumes within the data center.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Creates a storage volume within the specified data center. The volume will not be attached! Attaching volumes is described in the Servers section.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The volume to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (VolumeProperties) |
{- "type": "volume",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootOrder": "AUTO"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
Retrieve the properties of the specified volume within the data center.
datacenterId required | string The unique ID of the data center. |
volumeId required | string The unique ID of the volume. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
Modifies the properties of the specified volume within the data center.
datacenterId required | string The unique ID of the data center. |
volumeId required | string The unique ID of the volume. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified volume
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (VolumeProperties) |
{- "type": "volume",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootOrder": "AUTO"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
Delete the specified volume within the data center. Use with caution, the volume will be permanently removed!
datacenterId required | string The unique ID of the data center. |
volumeId required | string The unique ID of the volume. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified storage volume within the data center.
datacenterId required | string The unique ID of the data center. |
volumeId required | string The unique ID of the volume. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the volume to be updated.
name | string The name of the resource. |
type | string Enum: "HDD" "SSD" "SSD Standard" "SSD Premium" "DAS" "ISO" Hardware type of the volume. DAS (Direct Attached Storage) could be used only in a composite call with a Cube server. |
size required | number The size of the volume in GB. |
availabilityZone | string Enum: "AUTO" "ZONE_1" "ZONE_2" "ZONE_3" The availability zone in which the volume should be provisioned. The storage volume will be provisioned on as few physical storage devices as possible, but this cannot be guaranteed upfront. This is uavailable for DAS (Direct Attached Storage), and subject to availability for SSD. |
image | string Image or snapshot ID to be used as template for this volume. |
imagePassword | string Initial password to be set for installed OS. Works with public images only. Not modifiable, forbidden in update requests. Password rules allows all characters from a-z, A-Z, 0-9. |
imageAlias | string |
sshKeys | Array of strings Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. |
bus | string Enum: "VIRTIO" "IDE" "UNKNOWN" The bus type for this volume; default is VIRTIO. |
licenceType | string Enum: "UNKNOWN" "WINDOWS" "WINDOWS2016" "WINDOWS2022" "RHEL" "LINUX" "OTHER" OS type for this volume. |
cpuHotPlug | boolean Hot-plug capable CPU (no reboot required). |
ramHotPlug | boolean Hot-plug capable RAM (no reboot required). |
nicHotPlug | boolean Hot-plug capable NIC (no reboot required). |
nicHotUnplug | boolean Hot-unplug capable NIC (no reboot required). |
discVirtioHotPlug | boolean Hot-plug capable Virt-IO drive (no reboot required). |
discVirtioHotUnplug | boolean Hot-unplug capable Virt-IO drive (no reboot required). Not supported with Windows VMs. |
exposeSerial | boolean (ExposeSerial) Default: false If set to |
backupunitId | string <uuid> The ID of the backup unit that the user has access to. The property is immutable and is only allowed to be set on creation of a new a volume. It is mandatory to provide either 'public image' or 'imageAlias' in conjunction with this property. |
userData | string The cloud-init configuration for the volume as base64 encoded string. The property is immutable and is only allowed to be set on creation of a new a volume. It is mandatory to provide either 'public image' or 'imageAlias' that has cloud-init compatibility in conjunction with this property. |
bootOrder | string or null Default: "AUTO" Enum: "AUTO" "NONE" "PRIMARY" Determines whether the volume will be used as a boot volume. Set to |
{- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootOrder": "AUTO"
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "type": "HDD",
- "size": 100,
- "availabilityZone": "AUTO",
- "image": "d6ad1576-fde9-4696-aa41-1ebd75bdaf49",
- "imagePassword": "mypass123",
- "imageAlias": "string",
- "sshKeys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345",
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43"
], - "bus": "VIRTIO",
- "licenceType": "LINUX",
- "cpuHotPlug": true,
- "ramHotPlug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "exposeSerial": true,
- "deviceNumber": 3,
- "pciSlot": 7,
- "backupunitId": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "userData": "string",
- "bootServer": "25f67991-0f51-4efc-a8ad-ef1fb31a481c",
- "bootOrder": "AUTO"
}
}
Restore a snapshot for the specified volume within the data center. A snapshot is an image of a volume, which can be used to restore this volume at a later time.
datacenterId required | string The unique ID of the data center. |
volumeId required | string The unique ID of the volume. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The payload used to restore a snapshot.
object (RestoreSnapshotProperties) |
{- "properties": {
- "snapshotId": "string"
}
}
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Create a snapshot of the specified volume within the data center; this snapshot can later be used to restore this volume.
datacenterId required | string The unique ID of the data center. |
volumeId required | string The unique ID of the volume. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The payload of the snapshot.
object (CreateSnapshotProperties) |
{- "properties": {
- "name": "string",
- "description": "string",
- "secAuthProtection": true,
- "licenceType": "LINUX"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "snapshot",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "Image/Snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "secAuthProtection": true,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "exposeSerial": true,
- "discScsiHotUnplug": true,
- "licenceType": "LINUX"
}
}
List all available snapshots.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "snapshot",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "Image/Snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "secAuthProtection": true,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "exposeSerial": true,
- "discScsiHotUnplug": true,
- "licenceType": "LINUX"
}
}
]
}
Retrieve the properties of the specified snapshot.
snapshotId required | string The unique ID of the snapshot. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "snapshot",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "Image/Snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "secAuthProtection": true,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "exposeSerial": true,
- "discScsiHotUnplug": true,
- "licenceType": "LINUX"
}
}
Modifies the properties of the specified snapshot.
snapshotId required | string The unique ID of the snapshot. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified snapshot
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (SnapshotProperties) |
{- "type": "snapshot",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "description": "Image/Snapshot of Ubuntu ",
- "secAuthProtection": true,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "exposeSerial": true,
- "discScsiHotUnplug": true,
- "licenceType": "LINUX"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "snapshot",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "Image/Snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "secAuthProtection": true,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "exposeSerial": true,
- "discScsiHotUnplug": true,
- "licenceType": "LINUX"
}
}
Deletes the specified snapshot.
snapshotId required | string The unique ID of the snapshot. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified snapshot.
snapshotId required | string The unique ID of the snapshot. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the snapshot to be updated.
name | string The name of the resource. |
description | string Human-readable description. |
secAuthProtection | boolean Boolean value representing if the snapshot requires extra protection, such as two-step verification. |
cpuHotPlug | boolean Hot-plug capable CPU (no reboot required). |
cpuHotUnplug | boolean Hot-unplug capable CPU (no reboot required). |
ramHotPlug | boolean Hot-plug capable RAM (no reboot required). |
ramHotUnplug | boolean Hot-unplug capable RAM (no reboot required). |
nicHotPlug | boolean Hot-plug capable NIC (no reboot required). |
nicHotUnplug | boolean Hot-unplug capable NIC (no reboot required). |
discVirtioHotPlug | boolean Hot-plug capable Virt-IO drive (no reboot required). |
discVirtioHotUnplug | boolean Hot-unplug capable Virt-IO drive (no reboot required). Not supported with Windows VMs. |
discScsiHotPlug | boolean Hot-plug capable SCSI drive (no reboot required). |
exposeSerial | boolean (ExposeSerial) Default: false If set to |
discScsiHotUnplug | boolean Is capable of SCSI drive hot unplug (no reboot required). This works only for non-Windows virtual Machines. |
licenceType | string Enum: "UNKNOWN" "WINDOWS" "WINDOWS2016" "WINDOWS2022" "RHEL" "LINUX" "OTHER" OS type of this snapshot |
{- "name": "My resource",
- "description": "Image/Snapshot of Ubuntu ",
- "secAuthProtection": true,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "exposeSerial": true,
- "discScsiHotUnplug": true,
- "licenceType": "LINUX"
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "snapshot",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "Image/Snapshot of Ubuntu ",
- "location": "us/las",
- "size": 100,
- "secAuthProtection": true,
- "cpuHotPlug": true,
- "cpuHotUnplug": true,
- "ramHotPlug": true,
- "ramHotUnplug": true,
- "nicHotPlug": true,
- "nicHotUnplug": true,
- "discVirtioHotPlug": true,
- "discVirtioHotUnplug": true,
- "discScsiHotPlug": true,
- "exposeSerial": true,
- "discScsiHotUnplug": true,
- "licenceType": "LINUX"
}
}
List all reserved IP blocks.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 1000 ] Default: 100 The maximum number of elements to return (use together with offset for pagination). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "ipblock",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "ips": [
- "22.231.113.64",
- "22.231.113.65",
- "22.231.113.66"
], - "location": "us/las",
- "size": 5,
- "name": "My resource",
- "ipConsumers": [
- {
- "ip": "192.18.2.11",
- "mac": "02:01:3f:52:6e:57",
- "nicId": "0e8ee463-1174-46f2-87ba-a5c79c14d8e5",
- "serverId": "e6a3466f-8d6e-4cb6-8001-f4e245f222b7",
- "serverName": "Unnamed Server",
- "datacenterId": "6e54a9ec-aace-4176-8ee4-1c3a704fccfc",
- "datacenterName": "IpConsumerDC",
- "k8sNodePoolUuid": "6e54a9ec-aace-4176-8ee4-1c3a704fcc12",
- "k8sClusterUuid": "6e54a9ec-aace-4176-8ee4-1c3a704fcc23"
}
]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Reserves a new IP block.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The IP block to be reserved.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (IpBlockProperties) |
{- "type": "ipblock",
- "metadata": { },
- "properties": {
- "location": "us/las",
- "size": 5,
- "name": "My resource"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "ipblock",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "ips": [
- "22.231.113.64",
- "22.231.113.65",
- "22.231.113.66"
], - "location": "us/las",
- "size": 5,
- "name": "My resource",
- "ipConsumers": [
- {
- "ip": "192.18.2.11",
- "mac": "02:01:3f:52:6e:57",
- "nicId": "0e8ee463-1174-46f2-87ba-a5c79c14d8e5",
- "serverId": "e6a3466f-8d6e-4cb6-8001-f4e245f222b7",
- "serverName": "Unnamed Server",
- "datacenterId": "6e54a9ec-aace-4176-8ee4-1c3a704fccfc",
- "datacenterName": "IpConsumerDC",
- "k8sNodePoolUuid": "6e54a9ec-aace-4176-8ee4-1c3a704fcc12",
- "k8sClusterUuid": "6e54a9ec-aace-4176-8ee4-1c3a704fcc23"
}
]
}
}
Retrieve the properties of the specified IP block.
ipblockId required | string The unique ID of the IP block. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "ipblock",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "ips": [
- "22.231.113.64",
- "22.231.113.65",
- "22.231.113.66"
], - "location": "us/las",
- "size": 5,
- "name": "My resource",
- "ipConsumers": [
- {
- "ip": "192.18.2.11",
- "mac": "02:01:3f:52:6e:57",
- "nicId": "0e8ee463-1174-46f2-87ba-a5c79c14d8e5",
- "serverId": "e6a3466f-8d6e-4cb6-8001-f4e245f222b7",
- "serverName": "Unnamed Server",
- "datacenterId": "6e54a9ec-aace-4176-8ee4-1c3a704fccfc",
- "datacenterName": "IpConsumerDC",
- "k8sNodePoolUuid": "6e54a9ec-aace-4176-8ee4-1c3a704fcc12",
- "k8sClusterUuid": "6e54a9ec-aace-4176-8ee4-1c3a704fcc23"
}
]
}
}
Modifies the properties of the specified IP block.
ipblockId required | string The unique ID of the IP block. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified IP block.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (IpBlockProperties) |
{- "type": "ipblock",
- "metadata": { },
- "properties": {
- "location": "us/las",
- "size": 5,
- "name": "My resource"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "ipblock",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "ips": [
- "22.231.113.64",
- "22.231.113.65",
- "22.231.113.66"
], - "location": "us/las",
- "size": 5,
- "name": "My resource",
- "ipConsumers": [
- {
- "ip": "192.18.2.11",
- "mac": "02:01:3f:52:6e:57",
- "nicId": "0e8ee463-1174-46f2-87ba-a5c79c14d8e5",
- "serverId": "e6a3466f-8d6e-4cb6-8001-f4e245f222b7",
- "serverName": "Unnamed Server",
- "datacenterId": "6e54a9ec-aace-4176-8ee4-1c3a704fccfc",
- "datacenterName": "IpConsumerDC",
- "k8sNodePoolUuid": "6e54a9ec-aace-4176-8ee4-1c3a704fcc12",
- "k8sClusterUuid": "6e54a9ec-aace-4176-8ee4-1c3a704fcc23"
}
]
}
}
Remove the specified IP block.
ipblockId required | string The unique ID of the IP block. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified IP block.
ipblockId required | string The unique ID of the IP block. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the IP block to be updated.
location required | string Location of that IP block. Property cannot be modified after it is created (disallowed in update requests). |
size required | integer <int32> The size of the IP block. |
name | string The name of the resource. |
{- "location": "us/las",
- "size": 5,
- "name": "My resource"
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "ipblock",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "ips": [
- "22.231.113.64",
- "22.231.113.65",
- "22.231.113.66"
], - "location": "us/las",
- "size": 5,
- "name": "My resource",
- "ipConsumers": [
- {
- "ip": "192.18.2.11",
- "mac": "02:01:3f:52:6e:57",
- "nicId": "0e8ee463-1174-46f2-87ba-a5c79c14d8e5",
- "serverId": "e6a3466f-8d6e-4cb6-8001-f4e245f222b7",
- "serverName": "Unnamed Server",
- "datacenterId": "6e54a9ec-aace-4176-8ee4-1c3a704fccfc",
- "datacenterName": "IpConsumerDC",
- "k8sNodePoolUuid": "6e54a9ec-aace-4176-8ee4-1c3a704fcc12",
- "k8sClusterUuid": "6e54a9ec-aace-4176-8ee4-1c3a704fcc23"
}
]
}
}
List all LANs within the data center.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "5",
- "type": "lan",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ipFailover": [
- {
- "ip": "192.18.2.231",
- "nicUuid": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec"
}
], - "ipv4CidrBlock": "10.8.130.0/23",
- "ipv6CidrBlock": "2001:db8:b06d:8f5a::/64",
- "pcc": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec",
- "public": true
}, - "entities": {
- "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Creates a LAN within the data center.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The LAN to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (LanProperties) |
object (LanEntities) |
{- "type": "lan",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "ipFailover": [
- {
- "ip": "192.18.2.231",
- "nicUuid": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec"
}
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a::/64",
- "pcc": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec",
- "public": true
}, - "entities": {
- "nics": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "5",
- "type": "lan",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ipFailover": [
- {
- "ip": "192.18.2.231",
- "nicUuid": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec"
}
], - "ipv4CidrBlock": "10.8.130.0/23",
- "ipv6CidrBlock": "2001:db8:b06d:8f5a::/64",
- "pcc": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec",
- "public": true
}, - "entities": {
- "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Retrieve the properties of the specified LAN within the data center.
datacenterId required | string The unique ID of the data center. |
lanId required | string The unique ID of the LAN. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "5",
- "type": "lan",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ipFailover": [
- {
- "ip": "192.18.2.231",
- "nicUuid": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec"
}
], - "ipv4CidrBlock": "10.8.130.0/23",
- "ipv6CidrBlock": "2001:db8:b06d:8f5a::/64",
- "pcc": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec",
- "public": true
}, - "entities": {
- "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Modify the properties of the specified LAN within the data center.
datacenterId required | string The unique ID of the data center. |
lanId required | string The unique ID of the LAN. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified LAN
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (LanProperties) |
object (LanEntities) |
{- "type": "lan",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "ipFailover": [
- {
- "ip": "192.18.2.231",
- "nicUuid": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec"
}
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a::/64",
- "pcc": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec",
- "public": true
}, - "entities": {
- "nics": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "5",
- "type": "lan",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ipFailover": [
- {
- "ip": "192.18.2.231",
- "nicUuid": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec"
}
], - "ipv4CidrBlock": "10.8.130.0/23",
- "ipv6CidrBlock": "2001:db8:b06d:8f5a::/64",
- "pcc": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec",
- "public": true
}, - "entities": {
- "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Delete the specified LAN within the data center.
datacenterId required | string The unique ID of the data center. |
lanId required | string The unique ID of the LAN. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified LAN within the data center.
datacenterId required | string The unique ID of the data center. |
lanId required | string The unique ID of the LAN. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the LAN to be updated.
name | string The name of the resource. |
Array of objects (IPFailover) IP failover configurations for lan | |
ipv6CidrBlock | string or null For a GET request, this value is either 'null' or contains the LAN's /64 IPv6 CIDR block if this LAN is IPv6 enabled. For POST/PUT/PATCH requests, 'AUTO' will result in enabling this LAN for IPv6 and automatically assign a /64 IPv6 CIDR block to this LAN and /80 IPv6 CIDR blocks to the NICs and one /128 IPv6 address to each connected NIC. If you choose the IPv6 CIDR block for the LAN on your own, then you must provide a /64 block, which is inside the IPv6 CIDR block of the virtual datacenter and unique inside all LANs from this virtual datacenter. If you enable IPv6 on a LAN with NICs, those NICs will get a /80 IPv6 CIDR block and one IPv6 address assigned to each automatically, unless you specify them explicitly on the LAN and on the NICs. A virtual data center is limited to a maximum of 256 IPv6-enabled LANs. |
pcc | string The unique identifier of the Cross Connect the LAN is connected to, if any. It needs to be ensured that IP addresses of the NICs of all LANs connected to a given Cross Connect is not duplicated and belongs to the same subnet range. |
public | boolean Indicates if the LAN is connected to the internet or not. |
{- "name": "My resource",
- "ipFailover": [
- {
- "ip": "192.18.2.231",
- "nicUuid": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec"
}
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a::/64",
- "pcc": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec",
- "public": true
}
{- "id": "5",
- "type": "lan",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ipFailover": [
- {
- "ip": "192.18.2.231",
- "nicUuid": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec"
}
], - "ipv4CidrBlock": "10.8.130.0/23",
- "ipv6CidrBlock": "2001:db8:b06d:8f5a::/64",
- "pcc": "3c11273c-b3e1-4ca3-8134-84fd2dd4ebec",
- "public": true
}, - "entities": {
- "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
List all NICs, attached to the specified LAN.
datacenterId required | string The unique ID of the data center. |
lanId required | string The unique ID of the LAN. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Attach an existing NIC to the specified LAN.
datacenterId required | string The unique ID of the data center. |
lanId required | string The unique ID of the LAN. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The NIC to be attached.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (NicProperties) |
object (NicEntities) |
{- "type": "nic",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS"
}, - "entities": {
- "flowlogs": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "firewallrules": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "securitygroups": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "templateUuid": null,
- "name": null,
- "hostname": null,
- "cores": null,
- "ram": null,
- "availabilityZone": null,
- "vmState": null,
- "bootCdrom": null,
- "bootVolume": null,
- "cpuFamily": null,
- "type": null,
- "nicMultiQueue": null
}, - "entities": {
- "cdroms": null,
- "volumes": null,
- "nics": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Retrieve the properties of the NIC, attached to the specified LAN.
datacenterId required | string The unique ID of the data center. |
lanId required | string The unique ID of the LAN. |
nicId required | string The unique ID of the NIC. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "templateUuid": null,
- "name": null,
- "hostname": null,
- "cores": null,
- "ram": null,
- "availabilityZone": null,
- "vmState": null,
- "bootCdrom": null,
- "bootVolume": null,
- "cpuFamily": null,
- "type": null,
- "nicMultiQueue": null
}, - "entities": {
- "cdroms": null,
- "volumes": null,
- "nics": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
List all NICs, attached to the specified server.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "nics": { },
- "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Adds a NIC to the specified server. The combined total of NICs and attached volumes cannot exceed 24 per server.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The NIC to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (NicProperties) |
object (NicEntities) |
{- "type": "nic",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS"
}, - "entities": {
- "flowlogs": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "firewallrules": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "securitygroups": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "templateUuid": null,
- "name": null,
- "hostname": null,
- "cores": null,
- "ram": null,
- "availabilityZone": null,
- "vmState": null,
- "bootCdrom": null,
- "bootVolume": null,
- "cpuFamily": null,
- "type": null,
- "nicMultiQueue": null
}, - "entities": {
- "cdroms": null,
- "volumes": null,
- "nics": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Retrieve the properties of the specified NIC.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "templateUuid": null,
- "name": null,
- "hostname": null,
- "cores": null,
- "ram": null,
- "availabilityZone": null,
- "vmState": null,
- "bootCdrom": null,
- "bootVolume": null,
- "cpuFamily": null,
- "type": null,
- "nicMultiQueue": null
}, - "entities": {
- "cdroms": null,
- "volumes": null,
- "nics": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Modify the properties of the specified NIC.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified NIC
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
required | object (NicProperties) |
{- "type": "nic",
- "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "templateUuid": null,
- "name": null,
- "hostname": null,
- "cores": null,
- "ram": null,
- "availabilityZone": null,
- "vmState": null,
- "bootCdrom": null,
- "bootVolume": null,
- "cpuFamily": null,
- "type": null,
- "nicMultiQueue": null
}, - "entities": {
- "cdroms": null,
- "volumes": null,
- "nics": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Remove the specified NIC.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified NIC.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the NIC to be updated.
name | string The name of the resource. |
mac | string The MAC address of the NIC. |
ips | Array of strings or null Collection of IP addresses, assigned to the NIC. Explicitly assigned public IPs need to come from reserved IP blocks. Passing value null or empty array will assign an IP address automatically. |
dhcp | boolean Default: true Indicates if the NIC will reserve an IP using DHCP. |
ipv6Ips | Array of strings or null If this NIC is connected to an IPv6 enabled LAN then this property contains the IPv6 IP addresses of the NIC. The maximum number of IPv6 IP addresses per NIC is 50, if you need more, contact support. If you leave this property 'null' when adding a NIC, when changing the NIC's IPv6 CIDR block, when changing the LAN's IPv6 CIDR block or when moving the NIC to a different IPv6 enabled LAN, then we will automatically assign the same number of IPv6 addresses which you had before from the NICs new CIDR block. If you leave this property 'null' while not changing the CIDR block, the IPv6 IP addresses won't be changed either. You can also provide your own self choosen IPv6 addresses, which then must be inside the IPv6 CIDR block of this NIC. |
ipv6CidrBlock | string or null If this NIC is connected to an IPv6 enabled LAN then this property contains the /80 IPv6 CIDR block of the NIC. If you leave this property 'null' when adding a NIC to an IPv6-enabled LAN, then an IPv6 CIDR block will automatically be assigned to the NIC, but you can also specify an /80 IPv6 CIDR block for the NIC on your own, which must be inside the /64 IPv6 CIDR block of the LAN and unique. This value can only be set, if the LAN already has an IPv6 CIDR block assigned. An IPv6-enabled LAN is limited to a maximum of 65,536 NICs. |
dhcpv6 | boolean or null Default: true Indicates if the NIC will receive an IPv6 using DHCP. It can be set to 'true' or 'false' only if this NIC is connected to an IPv6 enabled LAN. |
lan required | integer <int32> The LAN ID the NIC will be on. If the LAN ID does not exist, it will be implicitly created. |
firewallActive | boolean Activate or deactivate the firewall. By default, an active firewall without any defined rules will block all incoming network traffic except for the firewall rules that explicitly allows certain protocols, IP addresses and ports. |
firewallType | string Enum: "INGRESS" "EGRESS" "BIDIRECTIONAL" The type of firewall rules that will be allowed on the NIC. If not specified, the default INGRESS value is used. |
{- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS"
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "templateUuid": null,
- "name": null,
- "hostname": null,
- "cores": null,
- "ram": null,
- "availabilityZone": null,
- "vmState": null,
- "bootCdrom": null,
- "bootVolume": null,
- "cpuFamily": null,
- "type": null,
- "nicMultiQueue": null
}, - "entities": {
- "cdroms": null,
- "volumes": null,
- "nics": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
List all firewall rules for the specified NIC.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Creates a firewall rule for the specified NIC.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The firewall rule to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (FirewallruleProperties) |
{- "type": "firewall-rule",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
Retrieve the properties of the specified firewall rule.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
firewallruleId required | string The unique ID of the firewall rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
Modifies the properties of the specified firewall rule.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
firewallruleId required | string The unique ID of the firewall rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified firewall rule.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (FirewallruleProperties) |
{- "type": "firewall-rule",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
Delete the specified firewall rule.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
firewallruleId required | string The unique ID of the firewall rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified firewall rule.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
firewallruleId required | string The unique ID of the firewall rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the firewall rule to be updated.
name | string The name of the resource. |
protocol required | string Enum: "TCP" "UDP" "ICMP" "ICMPv6" "GRE" "VRRP" "ESP" "AH" "ANY" The protocol for the rule. Property cannot be modified after it is created (disallowed in update requests). |
sourceMac | string or null Only traffic originating from the respective MAC address is allowed. Valid format: aa:bb:cc:dd:ee:ff. Value null allows traffic from any MAC address. |
ipVersion | string or null Enum: "IPv4" "IPv6" The IP version for this rule. If sourceIp or targetIp are specified, you can omit this value - the IP version will then be deduced from the IP address(es) used; if you specify it anyway, it must match the specified IP address(es). If neither sourceIp nor targetIp are specified, this rule allows traffic only for the specified IP version. If neither sourceIp, targetIp nor ipVersion are specified, this rule will only allow IPv4 traffic. |
sourceIp | string or null Only traffic originating from the respective IP address (or CIDR block) is allowed. Value null allows traffic from any IP address (according to the selected ipVersion). |
targetIp | string or null If the target NIC has multiple IP addresses, only the traffic directed to the respective IP address (or CIDR block) of the NIC is allowed. Value null allows traffic to any target IP address (according to the selected ipVersion). |
icmpCode | integer or null <int32> [ 0 .. 254 ] Defines the allowed code (from 0 to 254) if protocol ICMP or ICMPv6 is chosen. Value null allows all codes. |
icmpType | integer or null <int32> [ 0 .. 254 ] Defines the allowed type (from 0 to 254) if the protocol ICMP or ICMPv6 is chosen. Value null allows all types. |
portRangeStart | integer <int32> [ 1 .. 65535 ] Defines the start range of the allowed port (from 1 to 65535) if protocol TCP or UDP is chosen. Leave portRangeStart and portRangeEnd value null to allow all ports. |
portRangeEnd | integer <int32> [ 1 .. 65535 ] Defines the end range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is chosen. Leave portRangeStart and portRangeEnd null to allow all ports. |
type | string Enum: "INGRESS" "EGRESS" The type of the firewall rule. If not specified, the default INGRESS value is used. |
{- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
Retrieve a list of available security groups.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID]
|
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "securitygroups": { }
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "securitygroups": { }
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Creates a security group within the data center. This will allow you to define which IP addresses and networks have access to your servers.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID]
|
The security group to be created
required | object (SecurityGroupProperties) |
object (SecurityGroupEntitiesRequest) |
{- "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null,
- "location": null,
- "size": null,
- "cpuHotPlug": null,
- "cpuHotUnplug": null,
- "ramHotPlug": null,
- "ramHotUnplug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "discScsiHotPlug": null,
- "discScsiHotUnplug": null,
- "exposeSerial": null,
- "licenceType": null,
- "imageType": null,
- "public": null,
- "imageAliases": [ ],
- "cloudInit": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "type": null,
- "size": null,
- "availabilityZone": null,
- "image": null,
- "imagePassword": null,
- "imageAlias": null,
- "sshKeys": [ ],
- "bus": null,
- "licenceType": null,
- "cpuHotPlug": null,
- "ramHotPlug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "exposeSerial": null,
- "deviceNumber": null,
- "pciSlot": null,
- "backupunitId": null,
- "userData": null,
- "bootServer": null,
- "bootOrder": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Retrieves the attributes of a given Security Group.
datacenterId required | string The unique ID of the data center |
securityGroupId required | string The unique ID of the security group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID]
|
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null,
- "location": null,
- "size": null,
- "cpuHotPlug": null,
- "cpuHotUnplug": null,
- "ramHotPlug": null,
- "ramHotUnplug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "discScsiHotPlug": null,
- "discScsiHotUnplug": null,
- "exposeSerial": null,
- "licenceType": null,
- "imageType": null,
- "public": null,
- "imageAliases": [ ],
- "cloudInit": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "type": null,
- "size": null,
- "availabilityZone": null,
- "image": null,
- "imagePassword": null,
- "imageAlias": null,
- "sshKeys": [ ],
- "bus": null,
- "licenceType": null,
- "cpuHotPlug": null,
- "ramHotPlug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "exposeSerial": null,
- "deviceNumber": null,
- "pciSlot": null,
- "backupunitId": null,
- "userData": null,
- "bootServer": null,
- "bootOrder": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Modify the properties of the specified Security Group within the data center.
datacenterId required | string The unique ID of the data center. |
securityGroupId required | string The unique ID of the Security Group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID]
|
The modified Security Group
required | object (SecurityGroupProperties) |
object (SecurityGroupEntitiesRequest) |
{- "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null,
- "location": null,
- "size": null,
- "cpuHotPlug": null,
- "cpuHotUnplug": null,
- "ramHotPlug": null,
- "ramHotUnplug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "discScsiHotPlug": null,
- "discScsiHotUnplug": null,
- "exposeSerial": null,
- "licenceType": null,
- "imageType": null,
- "public": null,
- "imageAliases": [ ],
- "cloudInit": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "type": null,
- "size": null,
- "availabilityZone": null,
- "image": null,
- "imagePassword": null,
- "imageAlias": null,
- "sshKeys": [ ],
- "bus": null,
- "licenceType": null,
- "cpuHotPlug": null,
- "ramHotPlug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "exposeSerial": null,
- "deviceNumber": null,
- "pciSlot": null,
- "backupunitId": null,
- "userData": null,
- "bootServer": null,
- "bootOrder": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Modify the properties of the specified Security Group within the data center.
datacenterId required | string The unique ID of the data center. |
securityGroupId required | string The unique ID of the Security Group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID]
|
The modified Security Group
name required | string <= 60 characters The name of the security group. |
description | string <= 300 characters The description of the security group. |
{- "name": "My security group",
- "description": "My security group description"
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "image",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null,
- "location": null,
- "size": null,
- "cpuHotPlug": null,
- "cpuHotUnplug": null,
- "ramHotPlug": null,
- "ramHotUnplug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "discScsiHotPlug": null,
- "discScsiHotUnplug": null,
- "exposeSerial": null,
- "licenceType": null,
- "imageType": null,
- "public": null,
- "imageAliases": [ ],
- "cloudInit": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "volume",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "type": null,
- "size": null,
- "availabilityZone": null,
- "image": null,
- "imagePassword": null,
- "imageAlias": null,
- "sshKeys": [ ],
- "bus": null,
- "licenceType": null,
- "cpuHotPlug": null,
- "ramHotPlug": null,
- "nicHotPlug": null,
- "nicHotUnplug": null,
- "discVirtioHotPlug": null,
- "discVirtioHotUnplug": null,
- "exposeSerial": null,
- "deviceNumber": null,
- "pciSlot": null,
- "backupunitId": null,
- "userData": null,
- "bootServer": null,
- "bootOrder": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "mac": null,
- "ips": [ ],
- "dhcp": null,
- "ipv6Ips": [ ],
- "ipv6CidrBlock": null,
- "dhcpv6": null,
- "lan": null,
- "firewallActive": null,
- "firewallType": null,
- "deviceNumber": null,
- "pciSlot": null
}, - "entities": {
- "flowlogs": null,
- "firewallrules": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Deletes the specified Security Group.
datacenterId required | string The unique ID of the data center. |
securityGroupId required | string The unique ID of the Security Group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
List all rules for the specified Security Group.
datacenterId required | string The unique ID of the data center. |
securityGroupId required | string The unique ID of the security group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID]
|
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Create one firewall rule and attach it to the existing security group
datacenterId required | string The unique ID of the data center |
securityGroupId required | string The unique ID of the security group. |
The firewall to be attached (or created and attached).
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (FirewallruleProperties) |
{- "type": "firewall-rule",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
Retrieve the properties of the specified Security Group rule.
datacenterId required | string The unique ID of the data center. |
securityGroupId required | string The unique ID of the Security Group. |
ruleId required | string The unique ID of the Security Group rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID]
|
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
Modifies the properties of the specified Security Group Rule.
datacenterId required | string The unique ID of the data center. |
securityGroupId required | string The unique ID of the security group. |
ruleId required | string The unique ID of the Security Group Rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID]
|
The modified Security Group Rule.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (FirewallruleProperties) |
{- "type": "firewall-rule",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
Removes the specific Firewall Rule from the Security Group and delete the Firewall rule
datacenterId required | string The unique ID of the data center |
securityGroupId required | string The unique ID of the security group. |
ruleId required | string The unique ID of the firewall rule. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified Security Group rule.
datacenterId required | string The unique ID of the data center. |
securityGroupId required | string The unique ID of the security group. |
ruleId required | string The unique ID of the Security Group Rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID]
|
The properties of the Security Group Rule to be updated.
name | string The name of the resource. |
protocol required | string Enum: "TCP" "UDP" "ICMP" "ICMPv6" "GRE" "VRRP" "ESP" "AH" "ANY" The protocol for the rule. Property cannot be modified after it is created (disallowed in update requests). |
sourceMac | string or null Only traffic originating from the respective MAC address is allowed. Valid format: aa:bb:cc:dd:ee:ff. Value null allows traffic from any MAC address. |
ipVersion | string or null Enum: "IPv4" "IPv6" The IP version for this rule. If sourceIp or targetIp are specified, you can omit this value - the IP version will then be deduced from the IP address(es) used; if you specify it anyway, it must match the specified IP address(es). If neither sourceIp nor targetIp are specified, this rule allows traffic only for the specified IP version. If neither sourceIp, targetIp nor ipVersion are specified, this rule will only allow IPv4 traffic. |
sourceIp | string or null Only traffic originating from the respective IP address (or CIDR block) is allowed. Value null allows traffic from any IP address (according to the selected ipVersion). |
targetIp | string or null If the target NIC has multiple IP addresses, only the traffic directed to the respective IP address (or CIDR block) of the NIC is allowed. Value null allows traffic to any target IP address (according to the selected ipVersion). |
icmpCode | integer or null <int32> [ 0 .. 254 ] Defines the allowed code (from 0 to 254) if protocol ICMP or ICMPv6 is chosen. Value null allows all codes. |
icmpType | integer or null <int32> [ 0 .. 254 ] Defines the allowed type (from 0 to 254) if the protocol ICMP or ICMPv6 is chosen. Value null allows all types. |
portRangeStart | integer <int32> [ 1 .. 65535 ] Defines the start range of the allowed port (from 1 to 65535) if protocol TCP or UDP is chosen. Leave portRangeStart and portRangeEnd value null to allow all ports. |
portRangeEnd | integer <int32> [ 1 .. 65535 ] Defines the end range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is chosen. Leave portRangeStart and portRangeEnd null to allow all ports. |
type | string Enum: "INGRESS" "EGRESS" The type of the firewall rule. If not specified, the default INGRESS value is used. |
{- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
Updating the list of Security Groups attached to an existing server specified by its ID. Security Groups should already exist as part of the datacenter.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID]
|
The list of server attached Security Groups IDs.
ids required | Array of strings <uuid> The list of IDs |
{- "ids": [
- "ac51b8e4-050c-4941-b7cd-43923422fe6e",
- "ea737d87-8754-4a42-b97c-0b1a8f619de5"
]
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "securitygroups": { }
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "securitygroups": { }
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Updating the list of Security Groups attached to an existing NIC specified by its ID. Security Groups should already exist as part of the datacenter.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID]
|
The list of NIC attached Security Groups IDs.
ids required | Array of strings <uuid> The list of IDs |
{- "ids": [
- "ac51b8e4-050c-4941-b7cd-43923422fe6e",
- "ea737d87-8754-4a42-b97c-0b1a8f619de5"
]
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "securitygroups": { }
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "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": {
- "cdroms": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "volumes": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "securitygroups": { }
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
List all the Flow Logs for the specified NIC.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Adds a new Flow Log for the specified NIC.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
The Flow Log to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (FlowLogProperties) |
{- "type": "flow-log",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
Retrieve the properties of the specified Flow Log.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
flowlogId required | string The unique ID of the Flow Log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
Modify the specified Flow Log record.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
flowlogId required | string The unique ID of the Flow Log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
The modified Flow Log.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
required | object (FlowLogProperties) |
{- "type": "flow-log",
- "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
Delete the specified Flow Log.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
flowlogId required | string The unique ID of the Flow Log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the specified Flow Log record.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
nicId required | string The unique ID of the NIC. |
flowlogId required | string The unique ID of the Flow Log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
The Flow Log record to be updated.
name required | string The resource name. |
action required | string Enum: "ACCEPTED" "REJECTED" "ALL" Specifies the traffic action pattern. |
direction required | string Enum: "INGRESS" "EGRESS" "BIDIRECTIONAL" Specifies the traffic direction pattern. |
bucket required | string The bucket name of an existing IONOS Cloud Object storage bucket. |
{- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
List all the Load Balancers within the data center.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "loadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ip": "22.231.113.64",
- "dhcp": true
}, - "entities": {
- "balancednics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Creates a Load Balancer within the data center.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The Load Balancer to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (LoadbalancerProperties) |
object (LoadbalancerEntities) |
{- "type": "loadbalancer",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "ip": "22.231.113.64",
- "dhcp": true
}, - "entities": {
- "balancednics": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "loadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ip": "22.231.113.64",
- "dhcp": true
}, - "entities": {
- "balancednics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Retrieve the properties of the specified Load Balancer within the data center.
datacenterId required | string The unique ID of the data center. |
loadbalancerId required | string The unique ID of the Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "loadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ip": "22.231.113.64",
- "dhcp": true
}, - "entities": {
- "balancednics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Modifies the properties of the specified Load Balancer within the data center.
datacenterId required | string The unique ID of the data center. |
loadbalancerId required | string The unique ID of the Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified Load Balancer.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (LoadbalancerProperties) |
object (LoadbalancerEntities) |
{- "type": "loadbalancer",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "ip": "22.231.113.64",
- "dhcp": true
}, - "entities": {
- "balancednics": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "loadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ip": "22.231.113.64",
- "dhcp": true
}, - "entities": {
- "balancednics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Remove the specified Load Balancer from the data center.
datacenterId required | string The unique ID of the data center. |
loadbalancerId required | string The unique ID of the Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified Load Balancer within the data center.
datacenterId required | string The unique ID of the data center. |
loadbalancerId required | string The unique ID of the Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the Load Balancer to be updated.
name | string The name of the resource. |
ip | string or null IPv4 address of the loadbalancer. All attached NICs will inherit this IP. Leaving value null will assign IP automatically. |
dhcp | boolean Indicates if the loadbalancer will reserve an IP using DHCP. |
{- "name": "My resource",
- "ip": "22.231.113.64",
- "dhcp": true
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "loadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "ip": "22.231.113.64",
- "dhcp": true
}, - "entities": {
- "balancednics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "action": null,
- "direction": null,
- "bucket": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "description": null
}, - "entities": {
- "rules": null,
- "nics": null,
- "servers": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
List all NICs, attached to the specified Load Balancer.
datacenterId required | string The unique ID of the data center. |
loadbalancerId required | string The unique ID of the Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- null
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": null,
- "self": null,
- "next": null
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Attachs an existing NIC to the specified Load Balancer.
datacenterId required | string The unique ID of the data center. |
loadbalancerId required | string The unique ID of the Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The NIC to be attached.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (NicProperties) |
object (NicEntities) |
{- "type": "nic",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS"
}, - "entities": {
- "flowlogs": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "firewallrules": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "securitygroups": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "templateUuid": null,
- "name": null,
- "hostname": null,
- "cores": null,
- "ram": null,
- "availabilityZone": null,
- "vmState": null,
- "bootCdrom": null,
- "bootVolume": null,
- "cpuFamily": null,
- "type": null,
- "nicMultiQueue": null
}, - "entities": {
- "cdroms": null,
- "volumes": null,
- "nics": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Retrieve the properties of the specified NIC, attached to the Load Balancer.
datacenterId required | string The unique ID of the data center. |
loadbalancerId required | string The unique ID of the Load Balancer. |
nicId required | string The unique ID of the NIC. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "nic",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "mac": "00:0a:95:9d:68:16",
- "ips": [
- "10.160.12.12"
], - "dhcp": true,
- "ipv6Ips": [
- "2001:db8:b06d:8f5a:0609::1"
], - "ipv6CidrBlock": "2001:db8:b06d:8f5a:0609::/80",
- "dhcpv6": true,
- "lan": 2,
- "firewallActive": false,
- "firewallType": "INGRESS",
- "deviceNumber": 3,
- "pciSlot": 7
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "firewallrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "protocol": "TCP",
- "sourceMac": "00:0a:95:9d:68:16",
- "ipVersion": "IPv4",
- "sourceIp": "22.231.113.64",
- "targetIp": "22.231.113.64",
- "icmpCode": 0,
- "icmpType": 8,
- "portRangeStart": 8,
- "portRangeEnd": 8,
- "type": "INGRESS"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "securitygroups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "security-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My security group",
- "description": "My security group description"
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "firewall-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "protocol": null,
- "sourceMac": null,
- "ipVersion": null,
- "sourceIp": null,
- "targetIp": null,
- "icmpCode": null,
- "icmpType": null,
- "portRangeStart": null,
- "portRangeEnd": null,
- "type": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "nics": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- { }
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "servers": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "server",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "templateUuid": null,
- "name": null,
- "hostname": null,
- "cores": null,
- "ram": null,
- "availabilityZone": null,
- "vmState": null,
- "bootCdrom": null,
- "bootVolume": null,
- "cpuFamily": null,
- "type": null,
- "nicMultiQueue": null
}, - "entities": {
- "cdroms": null,
- "volumes": null,
- "nics": null,
- "securitygroups": null
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Detach the specified NIC from the Load Balancer.
datacenterId required | string The unique ID of the data center. |
loadbalancerId required | string The unique ID of the Load Balancer. |
nicId required | string The unique ID of the NIC. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
List all NAT Gateways within the data center.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway",
- "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "lans": [
- {
- "id": 3,
- "gatewayIps": [
- "10.12.1.2/24",
- "10.11.2.5/24",
- "10.11.2.4"
]
}
]
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway rule",
- "type": "SNAT",
- "protocol": "TCP",
- "sourceSubnet": "10.0.1.0/24",
- "publicIp": "192.18.7.17",
- "targetSubnet": "10.0.1.0/24",
- "targetPortRange": {
- "start": 10000,
- "end": 20000
}
}
}
]
}, - "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Creates a NAT Gateway within the data center.
This operation is restricted to contract owner, admin, and users with 'createInternetAccess' privileges.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The NAT Gateway to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (NatGatewayProperties) |
object (NatGatewayEntities) |
{- "type": "natgateway",
- "metadata": { },
- "properties": {
- "name": "My NAT Gateway",
- "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "lans": [
- {
- "id": 3,
- "gatewayIps": [
- "10.12.1.2/24",
- "10.11.2.5/24",
- "10.11.2.4"
]
}
]
}, - "entities": {
- "rules": {
- "type": "collection"
}, - "flowlogs": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway",
- "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "lans": [
- {
- "id": 3,
- "gatewayIps": [
- "10.12.1.2/24",
- "10.11.2.5/24",
- "10.11.2.4"
]
}
]
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway rule",
- "type": "SNAT",
- "protocol": "TCP",
- "sourceSubnet": "10.0.1.0/24",
- "publicIp": "192.18.7.17",
- "targetSubnet": "10.0.1.0/24",
- "targetPortRange": {
- "start": 10000,
- "end": 20000
}
}
}
]
}, - "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Retrieve the properties of the specified NAT Gateway within the data center.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway",
- "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "lans": [
- {
- "id": 3,
- "gatewayIps": [
- "10.12.1.2/24",
- "10.11.2.5/24",
- "10.11.2.4"
]
}
]
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway rule",
- "type": "SNAT",
- "protocol": "TCP",
- "sourceSubnet": "10.0.1.0/24",
- "publicIp": "192.18.7.17",
- "targetSubnet": "10.0.1.0/24",
- "targetPortRange": {
- "start": 10000,
- "end": 20000
}
}
}
]
}, - "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Modify the properties of the specified NAT Gateway within the data center.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified NAT Gateway.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
required | object (NatGatewayProperties) |
{- "type": "natgateway",
- "properties": {
- "name": "My NAT Gateway",
- "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "lans": [
- {
- "id": 3,
- "gatewayIps": [
- "10.12.1.2/24",
- "10.11.2.5/24",
- "10.11.2.4"
]
}
]
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway",
- "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "lans": [
- {
- "id": 3,
- "gatewayIps": [
- "10.12.1.2/24",
- "10.11.2.5/24",
- "10.11.2.4"
]
}
]
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway rule",
- "type": "SNAT",
- "protocol": "TCP",
- "sourceSubnet": "10.0.1.0/24",
- "publicIp": "192.18.7.17",
- "targetSubnet": "10.0.1.0/24",
- "targetPortRange": {
- "start": 10000,
- "end": 20000
}
}
}
]
}, - "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Remove the specified NAT Gateway from the data center.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified NAT Gateway within the data center.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the NAT Gateway to be updated.
name required | string Name of the NAT Gateway. |
publicIps required | Array of strings Collection of public IP addresses of the NAT Gateway. Should be customer reserved IP addresses in that location. |
Array of objects (NatGatewayLanProperties) Collection of LANs connected to the NAT Gateway. IPs must contain a valid subnet mask. If no IP is provided, the system will generate an IP with /24 subnet. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway",
- "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "lans": [
- {
- "id": 3,
- "gatewayIps": [
- "10.12.1.2/24",
- "10.11.2.5/24",
- "10.11.2.4"
]
}
]
}, - "entities": {
- "rules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway rule",
- "type": "SNAT",
- "protocol": "TCP",
- "sourceSubnet": "10.0.1.0/24",
- "publicIp": "192.18.7.17",
- "targetSubnet": "10.0.1.0/24",
- "targetPortRange": {
- "start": 10000,
- "end": 20000
}
}
}
]
}, - "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
List all rules for the specified NAT Gateway.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway rule",
- "type": "SNAT",
- "protocol": "TCP",
- "sourceSubnet": "10.0.1.0/24",
- "publicIp": "192.18.7.17",
- "targetSubnet": "10.0.1.0/24",
- "targetPortRange": {
- "start": 10000,
- "end": 20000
}
}
}
]
}
Creates a rule for the specified NAT Gateway.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The NAT Gateway rule to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (NatGatewayRuleProperties) |
{- "type": "natgateway-rule",
- "metadata": { },
- "properties": {
- "name": "My NAT Gateway rule",
- "type": "SNAT",
- "protocol": "TCP",
- "sourceSubnet": "10.0.1.0/24",
- "publicIp": "192.18.7.17",
- "targetSubnet": "10.0.1.0/24",
- "targetPortRange": {
- "start": 10000,
- "end": 20000
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway rule",
- "type": "SNAT",
- "protocol": "TCP",
- "sourceSubnet": "10.0.1.0/24",
- "publicIp": "192.18.7.17",
- "targetSubnet": "10.0.1.0/24",
- "targetPortRange": {
- "start": 10000,
- "end": 20000
}
}
}
Retrieve the properties of the specified NAT Gateway rule.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
natGatewayRuleId required | string The unique ID of the NAT Gateway rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway rule",
- "type": "SNAT",
- "protocol": "TCP",
- "sourceSubnet": "10.0.1.0/24",
- "publicIp": "192.18.7.17",
- "targetSubnet": "10.0.1.0/24",
- "targetPortRange": {
- "start": 10000,
- "end": 20000
}
}
}
Modify the specified NAT Gateway rule.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
natGatewayRuleId required | string The unique ID of the NAT Gateway rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified NAT Gateway rule.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
required | object (NatGatewayRuleProperties) |
{- "type": "natgateway-rule",
- "properties": {
- "name": "My NAT Gateway rule",
- "type": "SNAT",
- "protocol": "TCP",
- "sourceSubnet": "10.0.1.0/24",
- "publicIp": "192.18.7.17",
- "targetSubnet": "10.0.1.0/24",
- "targetPortRange": {
- "start": 10000,
- "end": 20000
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway rule",
- "type": "SNAT",
- "protocol": "TCP",
- "sourceSubnet": "10.0.1.0/24",
- "publicIp": "192.18.7.17",
- "targetSubnet": "10.0.1.0/24",
- "targetPortRange": {
- "start": 10000,
- "end": 20000
}
}
}
Delete the specified NAT Gateway rule.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
natGatewayRuleId required | string The unique ID of the NAT Gateway rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Updates the properties of the specified NAT Gateway rule.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
natGatewayRuleId required | string The unique ID of the NAT Gateway rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the NAT Gateway rule to be updated.
name required | string The name of the NAT Gateway rule. |
type | string Value: "SNAT" Type of the NAT Gateway rule. |
protocol | string Enum: "TCP" "UDP" "ICMP" "ALL" Protocol of the NAT Gateway rule. Defaults to ALL. If protocol is 'ICMP' then targetPortRange start and end cannot be set. |
sourceSubnet required | string Source subnet of the NAT Gateway rule. For SNAT rules it specifies which packets this translation rule applies to based on the packets source IP address. |
publicIp required | string Public IP address of the NAT Gateway rule. Specifies the address used for masking outgoing packets source address field. Should be one of the customer reserved IP address already configured on the NAT Gateway resource |
targetSubnet | string Target or destination subnet of the NAT Gateway rule. For SNAT rules it specifies which packets this translation rule applies to based on the packets destination IP address. If none is provided, rule will match any address. |
object (TargetPortRange) |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "natgateway-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My NAT Gateway rule",
- "type": "SNAT",
- "protocol": "TCP",
- "sourceSubnet": "10.0.1.0/24",
- "publicIp": "192.18.7.17",
- "targetSubnet": "10.0.1.0/24",
- "targetPortRange": {
- "start": 10000,
- "end": 20000
}
}
}
List all the Flow Logs for the specified NAT Gateway.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Adds a new Flow Log to the specified NAT Gateway.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
The Flow Log to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (FlowLogProperties) |
{- "type": "flow-log",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
Retrieve the specified NAT Gateway Flow Log.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
flowLogId required | string The unique ID of the Flow Log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
Modify the specified NAT Gateway Flow Log.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
flowLogId required | string The unique ID of the Flow Log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
The modified NAT Gateway Flow Log.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
required | object (FlowLogProperties) |
{- "type": "flow-log",
- "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
Delete the specified NAT Gateway Flow Log.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
flowLogId required | string The unique ID of the Flow Log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified NAT Gateway Flow Log.
datacenterId required | string The unique ID of the data center. |
natGatewayId required | string The unique ID of the NAT Gateway. |
flowLogId required | string The unique ID of the Flow Log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
The properties of the Flow Log to be updated.
name required | string The resource name. |
action required | string Enum: "ACCEPTED" "REJECTED" "ALL" Specifies the traffic action pattern. |
direction required | string Enum: "INGRESS" "EGRESS" "BIDIRECTIONAL" Specifies the traffic direction pattern. |
bucket required | string The bucket name of an existing IONOS Cloud Object storage bucket. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
List all the Network Load Balancers within the data center.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "networkloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer forwarding rule",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "healthCheck": {
- "clientTimeout": 50,
- "connectTimeout": 5000,
- "targetTimeout": 50000,
- "retries": 3
}, - "targets": [
- {
- "ip": null,
- "port": null,
- "weight": null,
- "proxyProtocol": null,
- "healthCheck": null
}
]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Creates a Network Load Balancer within the data center.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The Network Load Balancer to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (NetworkLoadBalancerProperties) |
object (NetworkLoadBalancerEntities) |
{- "type": "networkloadbalancer",
- "metadata": { },
- "properties": {
- "name": "My Network Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "flowlogs": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}, - "forwardingrules": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "networkloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer forwarding rule",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "healthCheck": {
- "clientTimeout": 50,
- "connectTimeout": 5000,
- "targetTimeout": 50000,
- "retries": 3
}, - "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheck": {
- "check": true,
- "checkInterval": 2000,
- "maintenance": true
}
}
]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Retrieve the properties of the specified Network Load Balancer within the data center.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "networkloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer forwarding rule",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "healthCheck": {
- "clientTimeout": 50,
- "connectTimeout": 5000,
- "targetTimeout": 50000,
- "retries": 3
}, - "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheck": {
- "check": true,
- "checkInterval": 2000,
- "maintenance": true
}
}
]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Modify the properties of the specified Network Load Balancer within the data center.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified Network Load Balancer.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
required | object (NetworkLoadBalancerProperties) |
{- "type": "networkloadbalancer",
- "properties": {
- "name": "My Network Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "networkloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer forwarding rule",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "healthCheck": {
- "clientTimeout": 50,
- "connectTimeout": 5000,
- "targetTimeout": 50000,
- "retries": 3
}, - "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheck": {
- "check": true,
- "checkInterval": 2000,
- "maintenance": true
}
}
]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Remove the specified Network Load Balancer from the data center.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified Network Load Balancer within the data center.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the Network Load Balancer to be updated.
name required | string The name of the Network Load Balancer. |
listenerLan required | integer ID of the listening LAN (inbound). |
ips | Array of strings Collection of the Network Load Balancer IP addresses. (Inbound and outbound) IPs of the listenerLan must be customer-reserved IPs for public Load Balancers, and private IPs for private Load Balancers. |
targetLan required | integer ID of the balanced private target LAN (outbound). |
lbPrivateIps | Array of strings Collection of private IP addresses with subnet mask of the Network Load Balancer. IPs must contain a valid subnet mask. If no IP is provided, the system will generate an IP with /24 subnet. |
centralLogging | boolean Turn logging on and off for this product. Default value is 'false'. |
loggingFormat | string Specifies the format of the logs. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "networkloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "flowlogs": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}, - "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer forwarding rule",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "healthCheck": {
- "clientTimeout": 50,
- "connectTimeout": 5000,
- "targetTimeout": 50000,
- "retries": 3
}, - "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheck": {
- "check": true,
- "checkInterval": 2000,
- "maintenance": true
}
}
]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
List all the Flow Logs for the specified Network Load Balancer.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Adds a new Flow Log for the Network Load Balancer.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The Flow Log to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (FlowLogProperties) |
{- "type": "flow-log",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
Retrieve the specified Network Load Balancer Flow Log.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
flowLogId required | string The unique ID of the Flow Log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
Modify the specified Network Load Balancer Flow Log.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
flowLogId required | string The unique ID of the Flow Log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified NLB Flow Log.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
required | object (FlowLogProperties) |
{- "type": "flow-log",
- "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
Delete the specified Network Load Balancer Flow Log.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
flowLogId required | string The unique ID of the Flow Log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified Network Load Balancer Flow Log.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
flowLogId required | string The unique ID of the Flow Log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the Flow Log to be updated.
name required | string The resource name. |
action required | string Enum: "ACCEPTED" "REJECTED" "ALL" Specifies the traffic action pattern. |
direction required | string Enum: "INGRESS" "EGRESS" "BIDIRECTIONAL" Specifies the traffic direction pattern. |
bucket required | string The bucket name of an existing IONOS Cloud Object storage bucket. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
List the forwarding rules for the specified Network Load Balancer.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer forwarding rule",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "healthCheck": {
- "clientTimeout": 50,
- "connectTimeout": 5000,
- "targetTimeout": 50000,
- "retries": 3
}, - "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheck": {
- "check": true,
- "checkInterval": 2000,
- "maintenance": true
}
}
]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Creates a forwarding rule for the specified Network Load Balancer.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The forwarding rule to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (NetworkLoadBalancerForwardingRuleProperties) |
{- "type": "forwarding-rule",
- "metadata": { },
- "properties": {
- "name": "My Network Load Balancer forwarding rule",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "healthCheck": {
- "clientTimeout": 50,
- "connectTimeout": 5000,
- "targetTimeout": 50000,
- "retries": 3
}, - "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheck": {
- "check": true,
- "checkInterval": 2000,
- "maintenance": true
}
}
]
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer forwarding rule",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "healthCheck": {
- "clientTimeout": 50,
- "connectTimeout": 5000,
- "targetTimeout": 50000,
- "retries": 3
}, - "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheck": {
- "check": true,
- "checkInterval": 2000,
- "maintenance": true
}
}
]
}
}
Retrieve the specified Network Load Balance forwarding rule.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
forwardingRuleId required | string The unique ID of the forwarding rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer forwarding rule",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "healthCheck": {
- "clientTimeout": 50,
- "connectTimeout": 5000,
- "targetTimeout": 50000,
- "retries": 3
}, - "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheck": {
- "check": true,
- "checkInterval": 2000,
- "maintenance": true
}
}
]
}
}
Modify the specified Network Load Balancer forwarding rule.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
forwardingRuleId required | string The unique ID of the forwarding rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified NLB forwarding rule.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
required | object (NetworkLoadBalancerForwardingRuleProperties) |
{- "type": "forwarding-rule",
- "properties": {
- "name": "My Network Load Balancer forwarding rule",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "healthCheck": {
- "clientTimeout": 50,
- "connectTimeout": 5000,
- "targetTimeout": 50000,
- "retries": 3
}, - "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheck": {
- "check": true,
- "checkInterval": 2000,
- "maintenance": true
}
}
]
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer forwarding rule",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "healthCheck": {
- "clientTimeout": 50,
- "connectTimeout": 5000,
- "targetTimeout": 50000,
- "retries": 3
}, - "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheck": {
- "check": true,
- "checkInterval": 2000,
- "maintenance": true
}
}
]
}
}
Delete the specified Network Load Balancer forwarding rule.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
forwardingRuleId required | string The unique ID of the forwarding rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified Network Load Balancer forwarding rule.
datacenterId required | string The unique ID of the data center. |
networkLoadBalancerId required | string The unique ID of the Network Load Balancer. |
forwardingRuleId required | string The unique ID of the forwarding rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the forwarding rule to be updated.
name required | string The name of the Network Load Balancer forwarding rule. |
algorithm required | string Enum: "ROUND_ROBIN" "LEAST_CONNECTION" "RANDOM" "SOURCE_IP" Balancing algorithm |
protocol required | string Enum: "HTTP" "TCP" Balancing protocol |
listenerIp required | string Listening (inbound) IP. |
listenerPort required | integer <int32> Listening (inbound) port number; valid range is 1 to 65535. |
object (NetworkLoadBalancerForwardingRuleHealthCheck) | |
required | Array of objects (NetworkLoadBalancerForwardingRuleTarget) Array of items in the collection. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Network Load Balancer forwarding rule",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "healthCheck": {
- "clientTimeout": 50,
- "connectTimeout": 5000,
- "targetTimeout": 50000,
- "retries": 3
}, - "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheck": {
- "check": true,
- "checkInterval": 2000,
- "maintenance": true
}
}
]
}
}
Lists all Application Load Balancers within a data center.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "applicationloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer forwarding rule",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "clientTimeout": 50,
- "serverCertificates": [
- "3839d24f-57bd-408e-96ee-8da3d2db5a03",
- "a6b4f7d5-b23a-4f53-b83e-8a6528ab4612"
], - "httpRules": [
- {
- "name": null,
- "type": null,
- "targetGroup": null,
- "dropQuery": null,
- "location": null,
- "statusCode": null,
- "responseMessage": null,
- "contentType": null,
- "conditions": [ ]
}
]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Creates an Application Load Balancer within the data center.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The Application Load Balancer to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (ApplicationLoadBalancerProperties) |
object (ApplicationLoadBalancerEntities) |
{- "type": "applicationloadbalancer",
- "metadata": { },
- "properties": {
- "name": "My Application Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "forwardingrules": {
- "type": "collection",
- "offset": 0,
- "limit": 1000,
- "_links": { }
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "applicationloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer forwarding rule",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "clientTimeout": 50,
- "serverCertificates": [
- "3839d24f-57bd-408e-96ee-8da3d2db5a03",
- "a6b4f7d5-b23a-4f53-b83e-8a6528ab4612"
], - "httpRules": [
- {
- "name": "My Application Load Balancer HTTP rule",
- "type": "FORWARD",
- "targetGroup": "96e514d0-73e4-4abd-8fbc-c0f53b79bfae",
- "dropQuery": true,
- "location": "www.ionos.com",
- "statusCode": 301,
- "responseMessage": "Application Down",
- "contentType": "text/html",
- "conditions": [
- {
- "type": null,
- "condition": null,
- "negate": null,
- "key": null,
- "value": null
}
]
}
]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Retrieves the properties of the specified Application Load Balancer within the data center.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "applicationloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer forwarding rule",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "clientTimeout": 50,
- "serverCertificates": [
- "3839d24f-57bd-408e-96ee-8da3d2db5a03",
- "a6b4f7d5-b23a-4f53-b83e-8a6528ab4612"
], - "httpRules": [
- {
- "name": "My Application Load Balancer HTTP rule",
- "type": "FORWARD",
- "targetGroup": "96e514d0-73e4-4abd-8fbc-c0f53b79bfae",
- "dropQuery": true,
- "location": "www.ionos.com",
- "statusCode": 301,
- "responseMessage": "Application Down",
- "contentType": "text/html",
- "conditions": [
- {
- "type": null,
- "condition": null,
- "negate": null,
- "key": null,
- "value": null
}
]
}
]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Modifies the properties of the specified Application Load Balancer within the data center.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified Application Load Balancer.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
required | object (ApplicationLoadBalancerProperties) |
{- "type": "applicationloadbalancer",
- "properties": {
- "name": "My Application Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "applicationloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer forwarding rule",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "clientTimeout": 50,
- "serverCertificates": [
- "3839d24f-57bd-408e-96ee-8da3d2db5a03",
- "a6b4f7d5-b23a-4f53-b83e-8a6528ab4612"
], - "httpRules": [
- {
- "name": "My Application Load Balancer HTTP rule",
- "type": "FORWARD",
- "targetGroup": "96e514d0-73e4-4abd-8fbc-c0f53b79bfae",
- "dropQuery": true,
- "location": "www.ionos.com",
- "statusCode": 301,
- "responseMessage": "Application Down",
- "contentType": "text/html",
- "conditions": [
- {
- "type": null,
- "condition": null,
- "negate": null,
- "key": null,
- "value": null
}
]
}
]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Removes the specified Application Load Balancer from the data center.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Updates the properties of the specified Application Load Balancer within the data center.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The Application Load Balancer properties to be updated.
name required | string The Application Load Balancer name. |
listenerLan required | integer The ID of the listening (inbound) LAN. |
ips | Array of strings Collection of the Application Load Balancer IP addresses. (Inbound and outbound) IPs of the 'listenerLan' are customer-reserved public IPs for the public load balancers, and private IPs for the private load balancers. |
targetLan required | integer The ID of the balanced private target LAN (outbound). |
lbPrivateIps | Array of strings Collection of private IP addresses with the subnet mask of the Application Load Balancer. IPs must contain valid a subnet mask. If no IP is provided, the system will generate an IP with /24 subnet. |
centralLogging | boolean Turn logging on and off for this product. Default value is 'false'. |
loggingFormat | string Specifies the format of the logs. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "applicationloadbalancer",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer",
- "listenerLan": 1,
- "ips": [
- "81.173.1.2",
- "22.231.2.2",
- "22.231.2.3"
], - "targetLan": 2,
- "lbPrivateIps": [
- "81.173.1.5/24",
- "22.231.2.5/24"
], - "centralLogging": true,
- "loggingFormat": "%{+Q}o %{-Q}ci - - [%trg] %r %ST %B \"\" \"\" %cp %ms %ft %b %s %TR %Tw %Tc %Tr %Ta %tsc %ac %fc %bc %sc %rc %sq %bq %CC %CS %hrl %hsl"
}, - "entities": {
- "forwardingrules": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer forwarding rule",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "clientTimeout": 50,
- "serverCertificates": [
- "3839d24f-57bd-408e-96ee-8da3d2db5a03",
- "a6b4f7d5-b23a-4f53-b83e-8a6528ab4612"
], - "httpRules": [
- {
- "name": "My Application Load Balancer HTTP rule",
- "type": "FORWARD",
- "targetGroup": "96e514d0-73e4-4abd-8fbc-c0f53b79bfae",
- "dropQuery": true,
- "location": "www.ionos.com",
- "statusCode": 301,
- "responseMessage": "Application Down",
- "contentType": "text/html",
- "conditions": [
- {
- "type": null,
- "condition": null,
- "negate": null,
- "key": null,
- "value": null
}
]
}
]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
}
}
Lists the forwarding rules of the specified Application Load Balancer.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer forwarding rule",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "clientTimeout": 50,
- "serverCertificates": [
- "3839d24f-57bd-408e-96ee-8da3d2db5a03",
- "a6b4f7d5-b23a-4f53-b83e-8a6528ab4612"
], - "httpRules": [
- {
- "name": "My Application Load Balancer HTTP rule",
- "type": "FORWARD",
- "targetGroup": "96e514d0-73e4-4abd-8fbc-c0f53b79bfae",
- "dropQuery": true,
- "location": "www.ionos.com",
- "statusCode": 301,
- "responseMessage": "Application Down",
- "contentType": "text/html",
- "conditions": [
- {
- "type": "HEADER",
- "condition": "STARTS_WITH",
- "negate": false,
- "key": "forward-at",
- "value": "Friday"
}
]
}
]
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Creates a forwarding rule for the specified Application Load Balancer.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The forwarding rule to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (ApplicationLoadBalancerForwardingRuleProperties) |
{- "type": "forwarding-rule",
- "metadata": { },
- "properties": {
- "name": "My Application Load Balancer forwarding rule",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "clientTimeout": 50,
- "serverCertificates": [
- "3839d24f-57bd-408e-96ee-8da3d2db5a03",
- "a6b4f7d5-b23a-4f53-b83e-8a6528ab4612"
], - "httpRules": [
- {
- "name": "My Application Load Balancer HTTP rule",
- "type": "FORWARD",
- "targetGroup": "96e514d0-73e4-4abd-8fbc-c0f53b79bfae",
- "dropQuery": true,
- "location": "www.ionos.com",
- "statusCode": 301,
- "responseMessage": "Application Down",
- "contentType": "text/html",
- "conditions": [
- {
- "type": "HEADER",
- "condition": "STARTS_WITH",
- "negate": false,
- "key": "forward-at",
- "value": "Friday"
}
]
}
]
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer forwarding rule",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "clientTimeout": 50,
- "serverCertificates": [
- "3839d24f-57bd-408e-96ee-8da3d2db5a03",
- "a6b4f7d5-b23a-4f53-b83e-8a6528ab4612"
], - "httpRules": [
- {
- "name": "My Application Load Balancer HTTP rule",
- "type": "FORWARD",
- "targetGroup": "96e514d0-73e4-4abd-8fbc-c0f53b79bfae",
- "dropQuery": true,
- "location": "www.ionos.com",
- "statusCode": 301,
- "responseMessage": "Application Down",
- "contentType": "text/html",
- "conditions": [
- {
- "type": "HEADER",
- "condition": "STARTS_WITH",
- "negate": false,
- "key": "forward-at",
- "value": "Friday"
}
]
}
]
}
}
Retrieves the Application Load Balancer forwarding rule specified by its ID.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
forwardingRuleId required | string The unique ID of the forwarding rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer forwarding rule",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "clientTimeout": 50,
- "serverCertificates": [
- "3839d24f-57bd-408e-96ee-8da3d2db5a03",
- "a6b4f7d5-b23a-4f53-b83e-8a6528ab4612"
], - "httpRules": [
- {
- "name": "My Application Load Balancer HTTP rule",
- "type": "FORWARD",
- "targetGroup": "96e514d0-73e4-4abd-8fbc-c0f53b79bfae",
- "dropQuery": true,
- "location": "www.ionos.com",
- "statusCode": 301,
- "responseMessage": "Application Down",
- "contentType": "text/html",
- "conditions": [
- {
- "type": "HEADER",
- "condition": "STARTS_WITH",
- "negate": false,
- "key": "forward-at",
- "value": "Friday"
}
]
}
]
}
}
Modifies the Application Load Balancer forwarding rule specified by its ID.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
forwardingRuleId required | string The unique ID of the forwarding rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified ALB forwarding rule.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
required | object (ApplicationLoadBalancerForwardingRuleProperties) |
{- "type": "forwarding-rule",
- "properties": {
- "name": "My Application Load Balancer forwarding rule",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "clientTimeout": 50,
- "serverCertificates": [
- "3839d24f-57bd-408e-96ee-8da3d2db5a03",
- "a6b4f7d5-b23a-4f53-b83e-8a6528ab4612"
], - "httpRules": [
- {
- "name": "My Application Load Balancer HTTP rule",
- "type": "FORWARD",
- "targetGroup": "96e514d0-73e4-4abd-8fbc-c0f53b79bfae",
- "dropQuery": true,
- "location": "www.ionos.com",
- "statusCode": 301,
- "responseMessage": "Application Down",
- "contentType": "text/html",
- "conditions": [
- {
- "type": "HEADER",
- "condition": "STARTS_WITH",
- "negate": false,
- "key": "forward-at",
- "value": "Friday"
}
]
}
]
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer forwarding rule",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "clientTimeout": 50,
- "serverCertificates": [
- "3839d24f-57bd-408e-96ee-8da3d2db5a03",
- "a6b4f7d5-b23a-4f53-b83e-8a6528ab4612"
], - "httpRules": [
- {
- "name": "My Application Load Balancer HTTP rule",
- "type": "FORWARD",
- "targetGroup": "96e514d0-73e4-4abd-8fbc-c0f53b79bfae",
- "dropQuery": true,
- "location": "www.ionos.com",
- "statusCode": 301,
- "responseMessage": "Application Down",
- "contentType": "text/html",
- "conditions": [
- {
- "type": "HEADER",
- "condition": "STARTS_WITH",
- "negate": false,
- "key": "forward-at",
- "value": "Friday"
}
]
}
]
}
}
Deletes the Application Load Balancer forwarding rule specified by its ID.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
forwardingRuleId required | string The unique ID of the forwarding rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Updates the properties of the Application Load Balancer forwarding rule specified by its ID.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
forwardingRuleId required | string The unique ID of the forwarding rule. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the forwarding rule to be updated.
name required | string The name of the Application Load Balancer forwarding rule. |
protocol required | string Value: "HTTP" The balancing protocol. |
listenerIp required | string The listening (inbound) IP. |
listenerPort required | integer <int32> The listening (inbound) port number; the valid range is 1 to 65535. |
clientTimeout | integer <int32> The maximum time in milliseconds to wait for the client to acknowledge or send data; default is 50,000 (50 seconds). |
serverCertificates | Array of strings <uuid> Array of items in the collection. |
Array of objects (ApplicationLoadBalancerHttpRule) An array of items in the collection. The original order of rules is preserved during processing, except that rules of the 'FORWARD' type are processed after the rules with other defined actions. The relative order of the 'FORWARD' type rules is also preserved during the processing. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "forwarding-rule",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My Application Load Balancer forwarding rule",
- "protocol": "HTTP",
- "listenerIp": "81.173.1.2",
- "listenerPort": 8080,
- "clientTimeout": 50,
- "serverCertificates": [
- "3839d24f-57bd-408e-96ee-8da3d2db5a03",
- "a6b4f7d5-b23a-4f53-b83e-8a6528ab4612"
], - "httpRules": [
- {
- "name": "My Application Load Balancer HTTP rule",
- "type": "FORWARD",
- "targetGroup": "96e514d0-73e4-4abd-8fbc-c0f53b79bfae",
- "dropQuery": true,
- "location": "www.ionos.com",
- "statusCode": 301,
- "responseMessage": "Application Down",
- "contentType": "text/html",
- "conditions": [
- {
- "type": "HEADER",
- "condition": "STARTS_WITH",
- "negate": false,
- "key": "forward-at",
- "value": "Friday"
}
]
}
]
}
}
Retrieves the flow logs for the specified Application Load Balancer.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Creates a flow log for the Application Load Balancer specified by ID.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The flow log to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (FlowLogProperties) |
{- "type": "flow-log",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
Retrieves the Application Load Balancer flow log specified by its ID.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
flowLogId required | string The unique ID of the flow log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
Modifies the Application Load Balancer flow log specified by its ID.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
flowLogId required | string The unique ID of the flow log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified ALB flow log.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
required | object (FlowLogProperties) |
{- "type": "flow-log",
- "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
Deletes the Application Load Balancer flow log specified by its ID.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
flowLogId required | string The unique ID of the flow log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Updates the properties of the Application Load Balancer flow log specified by its ID.
datacenterId required | string The unique ID of the data center. |
applicationLoadBalancerId required | string The unique ID of the Application Load Balancer. |
flowLogId required | string The unique ID of the flow log. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the ALB flow log to be updated.
name required | string The resource name. |
action required | string Enum: "ACCEPTED" "REJECTED" "ALL" Specifies the traffic action pattern. |
direction required | string Enum: "INGRESS" "EGRESS" "BIDIRECTIONAL" Specifies the traffic direction pattern. |
bucket required | string The bucket name of an existing IONOS Cloud Object storage bucket. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "flow-log",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "action": "ACCEPTED",
- "direction": "INGRESS",
- "bucket": "bucketName/key"
}
}
Lists target groups.
A target group is a set of one or more registered targets. You must specify an IP address, a port number, and a weight for each target. Any object with an IP address in your VDC can be a target, for example, a VM, another load balancer, etc. You can register a target with multiple target groups.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 200 ] Default: 100 The maximum number of elements to return (used together with offset for pagination). It must not exceed 200. |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "target-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My target group",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "protocolVersion": "HTTP1",
- "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheckEnabled": true,
- "maintenanceEnabled": true
}
], - "healthCheck": {
- "checkTimeout": 2000,
- "checkInterval": 2000,
- "retries": 3
}, - "httpHealthCheck": {
- "path": "/monitoring",
- "method": "GET",
- "matchType": "STATUS_CODE",
- "response": "200",
- "regex": false,
- "negate": false
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Creates a target group.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The target group to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (TargetGroupProperties) |
{- "type": "target-group",
- "metadata": { },
- "properties": {
- "name": "My target group",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "protocolVersion": "HTTP1",
- "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheckEnabled": true,
- "maintenanceEnabled": true
}
], - "healthCheck": {
- "checkTimeout": 2000,
- "checkInterval": 2000,
- "retries": 3
}, - "httpHealthCheck": {
- "path": "/monitoring",
- "method": "GET",
- "matchType": "STATUS_CODE",
- "response": "200",
- "regex": false,
- "negate": false
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "target-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My target group",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "protocolVersion": "HTTP1",
- "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheckEnabled": true,
- "maintenanceEnabled": true
}
], - "healthCheck": {
- "checkTimeout": 2000,
- "checkInterval": 2000,
- "retries": 3
}, - "httpHealthCheck": {
- "path": "/monitoring",
- "method": "GET",
- "matchType": "STATUS_CODE",
- "response": "200",
- "regex": false,
- "negate": false
}
}
}
Retrieves the properties of the target group specified by its ID.
targetGroupId required | string The unique ID of the target group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "target-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My target group",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "protocolVersion": "HTTP1",
- "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheckEnabled": true,
- "maintenanceEnabled": true
}
], - "healthCheck": {
- "checkTimeout": 2000,
- "checkInterval": 2000,
- "retries": 3
}, - "httpHealthCheck": {
- "path": "/monitoring",
- "method": "GET",
- "matchType": "STATUS_CODE",
- "response": "200",
- "regex": false,
- "negate": false
}
}
}
Modifies the properties of the target group specified by its ID.
targetGroupId required | string The unique ID of the target group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified target group.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
required | object (TargetGroupProperties) |
{- "type": "applicationloadbalancer",
- "properties": {
- "name": "My target group",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "protocolVersion": "HTTP1",
- "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheckEnabled": true,
- "maintenanceEnabled": true
}
], - "healthCheck": {
- "checkTimeout": 2000,
- "checkInterval": 2000,
- "retries": 3
}, - "httpHealthCheck": {
- "path": "/monitoring",
- "method": "GET",
- "matchType": "STATUS_CODE",
- "response": "200",
- "regex": false,
- "negate": false
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "target-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My target group",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "protocolVersion": "HTTP1",
- "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheckEnabled": true,
- "maintenanceEnabled": true
}
], - "healthCheck": {
- "checkTimeout": 2000,
- "checkInterval": 2000,
- "retries": 3
}, - "httpHealthCheck": {
- "path": "/monitoring",
- "method": "GET",
- "matchType": "STATUS_CODE",
- "response": "200",
- "regex": false,
- "negate": false
}
}
}
Deletes the target group specified by its ID.
targetGroupId required | string The unique ID of the target group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Updates the properties of the target group specified by its ID.
targetGroupId required | string The unique ID of the target group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The target group properties to be updated.
name required | string The target group name. |
algorithm required | string Enum: "ROUND_ROBIN" "LEAST_CONNECTION" "RANDOM" "SOURCE_IP" The balancing algorithm. A balancing algorithm consists of predefined rules with the logic that a load balancer uses to distribute network traffic between servers.
|
protocol required | string Value: "HTTP" The forwarding protocol. Only the value 'HTTP' is allowed. |
protocolVersion | string Enum: "HTTP1" "HTTP2" The forwarding protocol version. Value is ignored when protocol is not 'HTTP'. |
Array of objects (TargetGroupTarget) Array of items in the collection. | |
object (TargetGroupHealthCheck) | |
object (TargetGroupHttpHealthCheck) |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "target-group",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My target group",
- "algorithm": "ROUND_ROBIN",
- "protocol": "HTTP",
- "protocolVersion": "HTTP1",
- "targets": [
- {
- "ip": "22.231.2.2",
- "port": 8080,
- "weight": 123,
- "proxyProtocol": "v1",
- "healthCheckEnabled": true,
- "maintenanceEnabled": true
}
], - "healthCheck": {
- "checkTimeout": 2000,
- "checkInterval": 2000,
- "retries": 3
}, - "httpHealthCheck": {
- "path": "/monitoring",
- "method": "GET",
- "matchType": "STATUS_CODE",
- "response": "200",
- "regex": false,
- "negate": false
}
}
}
Retrieve the properties of the specified request.
requestId required | string The unique ID of the request. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "request",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "requestStatus": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "request-status",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "status": "QUEUED",
- "message": "string",
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "targets": [
- {
- "target": {
- "id": "string",
- "type": "resource",
- "href": "<RESOURCE-URI>"
}, - "status": "QUEUED"
}
]
}
}
}, - "properties": {
- "method": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "body": "string",
- "url": "string"
}
}
List all API requests.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
filter.status | string Filter the list by request status [QUEUED, RUNNING, DONE, FAILED]. Filter is not affected by the depth query parameter. |
filter.createdAfter | string Filter the list to only include the requests created after the date, specified in the yyyy-MM-dd HH:mm:ss format. Filter is not affected by the depth query parameter. |
filter.createdBefore | string Filter the list to only include the requests created before the date, specified in the yyyy-MM-dd HH:mm:ss format. Filter is not affected by the depth query parameter. |
filter.createdDate | string Filter the list to only include the requests that contain the createdDate, specified in the yyyy-MM-dd HH:mm:ss format. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. |
filter.createdBy | string Filter the list to only include the requests that contain the createdBy, specified in the yyyy-MM-dd HH:mm:ss format. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. |
filter.etag | string Filter the list to only include the requests that contain the specified etag. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. |
filter.requestStatus | string Filter the list to only include the requests that contain the specified requestStatus. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. |
filter.method | string Filter the list to only include the requests that contain the specified method. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. |
filter.headers | string Filter the list to only include the requests that contain the specified headers. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. |
filter.body | string Filter the list to only include the requests that contain the specified body. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. |
filter.url | string Filter the list to only include the requests that contain the specified URL. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 10000 ] Default: 1000 The maximum number of elements to return (use together with offset for pagination). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "requests",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "request",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "requestStatus": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "request-status",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "status": "QUEUED",
- "message": "string",
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "targets": [
- {
- "target": {
- "id": "string",
- "type": "resource",
- "href": "<RESOURCE-URI>"
}, - "status": "QUEUED"
}
]
}
}
}, - "properties": {
- "method": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "body": "string",
- "url": "string"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Retrieve the status of the specified request.
requestId required | string The unique ID of the request. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "request-status",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "status": "QUEUED",
- "message": "string",
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "targets": [
- {
- "target": {
- "id": "string",
- "type": "resource",
- "href": "<RESOURCE-URI>"
}, - "status": "QUEUED"
}
]
}
}
Retrieves the properties of the user's contract. This operation allows you to obtain the resource limits and the general contract information.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "contracts",
- "type": "collection",
- "items": [
- {
- "type": "resource",
- "properties": {
- "contractNumber": 12345,
- "owner": "user@example.com",
- "status": "BILLABLE",
- "regDomain": "ionos.de",
- "resourceLimits": {
- "coresPerServer": 4,
- "coresPerContract": 8,
- "coresProvisioned": 7,
- "ramPerServer": 20480,
- "ramPerContract": 20480,
- "ramProvisioned": 14336,
- "hddLimitPerVolume": 614400,
- "hddLimitPerContract": 61440,
- "hddVolumeProvisioned": 10240,
- "ssdLimitPerVolume": 614400,
- "ssdLimitPerContract": 614400,
- "ssdVolumeProvisioned": 204800,
- "dasVolumeProvisioned": 51200,
- "reservableIps": 1,
- "reservedIpsOnContract": 1,
- "reservedIpsInUse": 0,
- "k8sClusterLimitTotal": 5,
- "k8sClustersProvisioned": 0,
- "nlbLimitTotal": 5,
- "nlbProvisioned": 0,
- "natGatewayLimitTotal": 5,
- "natGatewayProvisioned": 0,
- "securityGroupsPerVdc": 200,
- "securityGroupsPerResource": 10,
- "rulesPerSecurityGroup": 100
}
}
}
]
}
List all the users in your account.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 100 ] Default: 100 The maximum number of elements to return (use together with |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "user",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastLogin": "2015-12-04T14:34:09.809Z"
}, - "properties": {
- "firstname": "string",
- "lastname": "string",
- "email": "string",
- "administrator": true,
- "forceSecAuth": true,
- "secAuthActive": true,
- "s3CanonicalUserId": "string",
- "active": true
}, - "entities": {
- "owns": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- null
]
}
}
}
]
}, - "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "properties": {
- "name": "My resource",
- "createDatacenter": true,
- "createSnapshot": true,
- "reserveIp": true,
- "accessActivityLog": true,
- "createPcc": true,
- "s3Privilege": true,
- "createBackupUnit": true,
- "createInternetAccess": true,
- "createK8sCluster": true,
- "createFlowLog": true,
- "accessAndManageMonitoring": true,
- "accessAndManageCertificates": true,
- "manageDBaaS": true,
- "accessAndManageDns": true,
- "manageRegistry": true,
- "manageDataplatform": true
}, - "entities": {
- "users": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- null
]
}, - "resources": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- null
]
}
}
}
]
}
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Create a user.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The user to create.
required | object (UserPropertiesPost) |
{- "properties": {
- "firstname": "string",
- "lastname": "string",
- "email": "string",
- "administrator": true,
- "forceSecAuth": true,
- "secAuthActive": true,
- "password": "string",
- "active": true
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "user",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastLogin": "2015-12-04T14:34:09.809Z"
}, - "properties": {
- "firstname": "string",
- "lastname": "string",
- "email": "string",
- "administrator": true,
- "forceSecAuth": true,
- "secAuthActive": true,
- "s3CanonicalUserId": "string",
- "active": true
}, - "entities": {
- "owns": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- { }
]
}
}
}
]
}, - "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "properties": {
- "name": "My resource",
- "createDatacenter": true,
- "createSnapshot": true,
- "reserveIp": true,
- "accessActivityLog": true,
- "createPcc": true,
- "s3Privilege": true,
- "createBackupUnit": true,
- "createInternetAccess": true,
- "createK8sCluster": true,
- "createFlowLog": true,
- "accessAndManageMonitoring": true,
- "accessAndManageCertificates": true,
- "manageDBaaS": true,
- "accessAndManageDns": true,
- "manageRegistry": true,
- "manageDataplatform": true
}, - "entities": {
- "users": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- { }
]
}, - "resources": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "secAuthProtection": null
}, - "entities": {
- "groups": null
}
}
]
}
}
}
]
}
}
}
Retrieve user properties by user ID. The user ID is in the response body when the user is created, and in the list of the users, returned by GET.
userId required | string The unique ID of the user. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "user",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastLogin": "2015-12-04T14:34:09.809Z"
}, - "properties": {
- "firstname": "string",
- "lastname": "string",
- "email": "string",
- "administrator": true,
- "forceSecAuth": true,
- "secAuthActive": true,
- "s3CanonicalUserId": "string",
- "active": true
}, - "entities": {
- "owns": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- { }
]
}
}
}
]
}, - "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "properties": {
- "name": "My resource",
- "createDatacenter": true,
- "createSnapshot": true,
- "reserveIp": true,
- "accessActivityLog": true,
- "createPcc": true,
- "s3Privilege": true,
- "createBackupUnit": true,
- "createInternetAccess": true,
- "createK8sCluster": true,
- "createFlowLog": true,
- "accessAndManageMonitoring": true,
- "accessAndManageCertificates": true,
- "manageDBaaS": true,
- "accessAndManageDns": true,
- "manageRegistry": true,
- "manageDataplatform": true
}, - "entities": {
- "users": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- { }
]
}, - "resources": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "secAuthProtection": null
}, - "entities": {
- "groups": null
}
}
]
}
}
}
]
}
}
}
Modify the properties of the specified user.
userId required | string The unique ID of the user. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified user
id | string The resource's unique identifier. |
required | object (UserPropertiesPut) |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "properties": {
- "firstname": "string",
- "lastname": "string",
- "email": "string",
- "password": "string",
- "administrator": true,
- "forceSecAuth": true,
- "secAuthActive": true,
- "active": true
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "user",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastLogin": "2015-12-04T14:34:09.809Z"
}, - "properties": {
- "firstname": "string",
- "lastname": "string",
- "email": "string",
- "administrator": true,
- "forceSecAuth": true,
- "secAuthActive": true,
- "s3CanonicalUserId": "string",
- "active": true
}, - "entities": {
- "owns": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- { }
]
}
}
}
]
}, - "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "properties": {
- "name": "My resource",
- "createDatacenter": true,
- "createSnapshot": true,
- "reserveIp": true,
- "accessActivityLog": true,
- "createPcc": true,
- "s3Privilege": true,
- "createBackupUnit": true,
- "createInternetAccess": true,
- "createK8sCluster": true,
- "createFlowLog": true,
- "accessAndManageMonitoring": true,
- "accessAndManageCertificates": true,
- "manageDBaaS": true,
- "accessAndManageDns": true,
- "manageRegistry": true,
- "manageDataplatform": true
}, - "entities": {
- "users": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- { }
]
}, - "resources": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "secAuthProtection": null
}, - "entities": {
- "groups": null
}
}
]
}
}
}
]
}
}
}
Delete the specified user.
userId required | string The unique ID of the user. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Retrieve group resources of the user by user ID. The user ID is in the response body when the user is created, and in the list of the users, returned by GET.
userId required | string The unique ID of the user. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": { }
}
}
]
}
Retrieve own resources of the user by user ID. The user ID is in the response body when the user is created, and in the list of the users, returned by GET.
userId required | string The unique ID of the user. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- { }
]
}
}
}
]
}
List all the available user groups.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "properties": {
- "name": "My resource",
- "createDatacenter": true,
- "createSnapshot": true,
- "reserveIp": true,
- "accessActivityLog": true,
- "createPcc": true,
- "s3Privilege": true,
- "createBackupUnit": true,
- "createInternetAccess": true,
- "createK8sCluster": true,
- "createFlowLog": true,
- "accessAndManageMonitoring": true,
- "accessAndManageCertificates": true,
- "manageDBaaS": true,
- "accessAndManageDns": true,
- "manageRegistry": true,
- "manageDataplatform": true
}, - "entities": {
- "users": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "user",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastLogin": "2015-12-04T14:34:09.809Z"
}, - "properties": {
- "firstname": "string",
- "lastname": "string",
- "email": "string",
- "administrator": true,
- "forceSecAuth": true,
- "secAuthActive": true,
- "s3CanonicalUserId": "string",
- "active": true
}, - "entities": {
- "owns": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- null
]
}, - "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "items": [
- null
]
}
}
}
]
}, - "resources": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": { }
}
}
]
}
}
}
]
}
Create a group.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The group to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of the resource. |
required | object (GroupProperties) |
object (GroupEntities) |
{- "type": "group",
- "properties": {
- "name": "My resource",
- "createDatacenter": true,
- "createSnapshot": true,
- "reserveIp": true,
- "accessActivityLog": true,
- "createPcc": true,
- "s3Privilege": true,
- "createBackupUnit": true,
- "createInternetAccess": true,
- "createK8sCluster": true,
- "createFlowLog": true,
- "accessAndManageMonitoring": true,
- "accessAndManageCertificates": true,
- "manageDBaaS": true,
- "accessAndManageDns": true,
- "manageRegistry": true,
- "manageDataplatform": true
}, - "entities": {
- "users": {
- "type": "collection"
}, - "resources": {
- "type": "collection"
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "properties": {
- "name": "My resource",
- "createDatacenter": true,
- "createSnapshot": true,
- "reserveIp": true,
- "accessActivityLog": true,
- "createPcc": true,
- "s3Privilege": true,
- "createBackupUnit": true,
- "createInternetAccess": true,
- "createK8sCluster": true,
- "createFlowLog": true,
- "accessAndManageMonitoring": true,
- "accessAndManageCertificates": true,
- "manageDBaaS": true,
- "accessAndManageDns": true,
- "manageRegistry": true,
- "manageDataplatform": true
}, - "entities": {
- "users": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "user",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastLogin": "2015-12-04T14:34:09.809Z"
}, - "properties": {
- "firstname": "string",
- "lastname": "string",
- "email": "string",
- "administrator": true,
- "forceSecAuth": true,
- "secAuthActive": true,
- "s3CanonicalUserId": "string",
- "active": true
}, - "entities": {
- "owns": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "secAuthProtection": null
}, - "entities": {
- "groups": null
}
}
]
}, - "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "items": [
- { }
]
}
}
}
]
}, - "resources": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": { }
}
}
]
}
}
}
Retrieve a group by the group ID. This value is in the response body when the group is created, and in the list of the groups, returned by GET.
groupId required | string The unique ID of the group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "properties": {
- "name": "My resource",
- "createDatacenter": true,
- "createSnapshot": true,
- "reserveIp": true,
- "accessActivityLog": true,
- "createPcc": true,
- "s3Privilege": true,
- "createBackupUnit": true,
- "createInternetAccess": true,
- "createK8sCluster": true,
- "createFlowLog": true,
- "accessAndManageMonitoring": true,
- "accessAndManageCertificates": true,
- "manageDBaaS": true,
- "accessAndManageDns": true,
- "manageRegistry": true,
- "manageDataplatform": true
}, - "entities": {
- "users": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "user",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastLogin": "2015-12-04T14:34:09.809Z"
}, - "properties": {
- "firstname": "string",
- "lastname": "string",
- "email": "string",
- "administrator": true,
- "forceSecAuth": true,
- "secAuthActive": true,
- "s3CanonicalUserId": "string",
- "active": true
}, - "entities": {
- "owns": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "secAuthProtection": null
}, - "entities": {
- "groups": null
}
}
]
}, - "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "items": [
- { }
]
}
}
}
]
}, - "resources": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": { }
}
}
]
}
}
}
Modify the properties of the specified group.
groupId required | string The unique ID of the group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified group.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of the resource. |
required | object (GroupProperties) |
object (GroupEntities) |
{- "type": "group",
- "properties": {
- "name": "My resource",
- "createDatacenter": true,
- "createSnapshot": true,
- "reserveIp": true,
- "accessActivityLog": true,
- "createPcc": true,
- "s3Privilege": true,
- "createBackupUnit": true,
- "createInternetAccess": true,
- "createK8sCluster": true,
- "createFlowLog": true,
- "accessAndManageMonitoring": true,
- "accessAndManageCertificates": true,
- "manageDBaaS": true,
- "accessAndManageDns": true,
- "manageRegistry": true,
- "manageDataplatform": true
}, - "entities": {
- "users": {
- "type": "collection"
}, - "resources": {
- "type": "collection"
}
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "properties": {
- "name": "My resource",
- "createDatacenter": true,
- "createSnapshot": true,
- "reserveIp": true,
- "accessActivityLog": true,
- "createPcc": true,
- "s3Privilege": true,
- "createBackupUnit": true,
- "createInternetAccess": true,
- "createK8sCluster": true,
- "createFlowLog": true,
- "accessAndManageMonitoring": true,
- "accessAndManageCertificates": true,
- "manageDBaaS": true,
- "accessAndManageDns": true,
- "manageRegistry": true,
- "manageDataplatform": true
}, - "entities": {
- "users": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "user",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastLogin": "2015-12-04T14:34:09.809Z"
}, - "properties": {
- "firstname": "string",
- "lastname": "string",
- "email": "string",
- "administrator": true,
- "forceSecAuth": true,
- "secAuthActive": true,
- "s3CanonicalUserId": "string",
- "active": true
}, - "entities": {
- "owns": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "secAuthProtection": null
}, - "entities": {
- "groups": null
}
}
]
}, - "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "items": [
- { }
]
}
}
}
]
}, - "resources": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": { }
}
}
]
}
}
}
Remove the specified group.
groupId required | string The unique ID of the group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
List the resources assigned to the group, by group ID.
groupId required | string The unique ID of the group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": { }
}
}
]
}
List all members of the specified user group.
groupId required | string The unique ID of the group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "user",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastLogin": "2015-12-04T14:34:09.809Z"
}, - "properties": {
- "firstname": "string",
- "lastname": "string",
- "email": "string",
- "administrator": true,
- "forceSecAuth": true,
- "secAuthActive": true,
- "s3CanonicalUserId": "string",
- "active": true
}, - "entities": {
- "owns": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- null
]
}
}
}
]
}, - "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "properties": {
- "name": "My resource",
- "createDatacenter": true,
- "createSnapshot": true,
- "reserveIp": true,
- "accessActivityLog": true,
- "createPcc": true,
- "s3Privilege": true,
- "createBackupUnit": true,
- "createInternetAccess": true,
- "createK8sCluster": true,
- "createFlowLog": true,
- "accessAndManageMonitoring": true,
- "accessAndManageCertificates": true,
- "manageDBaaS": true,
- "accessAndManageDns": true,
- "manageRegistry": true,
- "manageDataplatform": true
}, - "entities": {
- "users": { },
- "resources": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- null
]
}
}
}
]
}
}
}
]
}
Adds an existing user to the specified group.
groupId required | string The unique ID of the group. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The user to add.
id required | string The resource's unique identifier. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "user",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastLogin": "2015-12-04T14:34:09.809Z"
}, - "properties": {
- "firstname": "string",
- "lastname": "string",
- "email": "string",
- "administrator": true,
- "forceSecAuth": true,
- "secAuthActive": true,
- "s3CanonicalUserId": "string",
- "active": true
}, - "entities": {
- "owns": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- { }
]
}
}
}
]
}, - "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "properties": {
- "name": "My resource",
- "createDatacenter": true,
- "createSnapshot": true,
- "reserveIp": true,
- "accessActivityLog": true,
- "createPcc": true,
- "s3Privilege": true,
- "createBackupUnit": true,
- "createInternetAccess": true,
- "createK8sCluster": true,
- "createFlowLog": true,
- "accessAndManageMonitoring": true,
- "accessAndManageCertificates": true,
- "manageDBaaS": true,
- "accessAndManageDns": true,
- "manageRegistry": true,
- "manageDataplatform": true
}, - "entities": {
- "users": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- { }
]
}, - "resources": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": null,
- "createdDate": null,
- "createdBy": null,
- "createdByUserId": null,
- "lastModifiedDate": null,
- "lastModifiedBy": null,
- "lastModifiedByUserId": null,
- "state": null
}, - "properties": {
- "name": null,
- "secAuthProtection": null
}, - "entities": {
- "groups": null
}
}
]
}
}
}
]
}
}
}
Remove the specified user from the group.
groupId required | string The unique ID of the group. |
userId required | string The unique ID of the user. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
List all the available resources.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- { }
]
}
}
}
]
}
List all resources of the specified type.
Resource types are: {datacenter, snapshot, image, ipblock, pcc, backupunit, k8s}
Resource types are in the list of resources, returned by GET.
resourceType required | string The resource type |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- { }
]
}
}
}
]
}
Retrieve a resource by the resource type and resource ID.
Resource types are: {datacenter, snapshot, image, ipblock, pcc, backupunit, k8s}
Resource types are in the list of resources, returned by GET.
resourceType required | string The resource type |
resourceId required | string The resource ID |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "string",
- "secAuthProtection": true
}, - "entities": {
- "groups": {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- { }
]
}
}
}
List Object storage keys by user ID. The user ID is in the response body when the user is created, and in the list of the users, returned by GET.
userId required | string The unique ID of the user. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "secretKey": "tFVkUARsoeCdntQs2jVSyGG6TMPfPZ+ghnsWj/gG",
- "active": true
}
}
]
}
Create an Object storage key for the specified user. The user ID is in the response body when the user is created, and in the list of the users, returned by GET. A maximum of five keys per user can be generated.
userId required | string The unique ID of the user. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "secretKey": "tFVkUARsoeCdntQs2jVSyGG6TMPfPZ+ghnsWj/gG",
- "active": true
}
}
Retrieve the specified user Object storage key. The user ID is in the response body when the user is created, and in the list of the users, returned by GET. The key ID is in the response body when the Object storage key is created, and in the list of all user Object storage keys, returned by GET.
userId required | string The unique ID of the user. |
keyId required | string The unique ID of the Object storage key. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "secretKey": "tFVkUARsoeCdntQs2jVSyGG6TMPfPZ+ghnsWj/gG",
- "active": true
}
}
Enables or disables the specified user Object storage key.
userId required | string The unique ID of the user. |
keyId required | string The unique ID of the Object storage key. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified Object storage key.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of the resource. |
object (S3KeyMetadata) | |
required | object (S3KeyProperties) |
{- "type": "group",
- "metadata": { },
- "properties": {
- "active": true
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "group",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "secretKey": "tFVkUARsoeCdntQs2jVSyGG6TMPfPZ+ghnsWj/gG",
- "active": true
}
}
Delete the specified user Object storage key.
userId required | string The unique ID of the user. |
keyId required | string The unique ID of the Object storage key. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Retrieve Ionos Object Storage single sign-on URLs for the the specified user. The user ID is in the response body when the user is created, and in the list of the users, returned by GET.
userId required | string The unique ID of the user. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
List all available backup units.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "backupunit",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "BackupUnitName",
- "password": "mypass123",
- "email": "email@email.com"
}
}
]
}
Create a backup unit. Backup units are resources, same as storage volumes or snapshots; they can be shared through groups in User management.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The backup unit to create.
object (DatacenterElementMetadata) | |
required | object (BackupUnitProperties) |
{- "metadata": { },
- "properties": {
- "name": "BackupUnitName",
- "password": "mypass123",
- "email": "email@email.com"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "backupunit",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "BackupUnitName",
- "password": "mypass123",
- "email": "email@email.com"
}
}
Retrieve the properties of the specified backup unit.
backupunitId required | string The unique ID of the backup unit. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "backupunit",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "BackupUnitName",
- "password": "mypass123",
- "email": "email@email.com"
}
}
Modify the properties of the specified backup unit.
backupunitId required | string The unique ID of the backup unit. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified backup unit.
object (DatacenterElementMetadata) | |
required | object (BackupUnitProperties) |
{- "metadata": { },
- "properties": {
- "name": "BackupUnitName",
- "password": "mypass123",
- "email": "email@email.com"
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "backupunit",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "BackupUnitName",
- "password": "mypass123",
- "email": "email@email.com"
}
}
Remove the specified backup unit.
This process will delete:
backupunitId required | string The unique ID of the backup unit. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified backup unit.
backupunitId required | string The unique ID of the backup unit. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the backup unit to be updated.
name required | string The name of the resource (alphanumeric characters only). |
password | string The password associated with that resource. |
string The email associated with the backup unit. Bear in mind that this email does not be the same email as of the user. |
{- "name": "BackupUnitName",
- "password": "mypass123",
- "email": "email@email.com"
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "backupunit",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "BackupUnitName",
- "password": "mypass123",
- "email": "email@email.com"
}
}
Retrieve a single sign-on URL for the specified backup unit.
backupunitId required | string The unique ID of the backup unit. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{
}
IONOS' Managed Kubernetes (K8s) consist of two central building blocks:
First, the Kubernetes cluster provides the control plane, although it is not directly visible.
Second, the node pools provide the worker nodes. While these are visible in a VDC, as Kubernetes is built on top of the compute engine, i.e., servers, volumes, etc.
Retrieves a list of all K8s clusters provisioned under your account.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "k8s",
- "type": "collection",
- "items": [
- {
- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527",
- "type": "k8s",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "k8s",
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "availableUpgradeVersions": [
- "1.16.4",
- "1.17.7"
], - "viableNodePoolVersions": [
- "1.17.7",
- "1.18.2"
], - "public": true,
- "location": "de/fra",
- "natGatewayIp": "198.51.100.100",
- "nodeSubnet": "192.168.0.0/16",
- "apiSubnetAllowList": [
- "1.2.3.4/32",
- "2002::1234:abcd:ffff:c0a8:101/64",
- "1.2.3.4",
- "2002::1234:abcd:ffff:c0a8:101"
], - "s3Buckets": [
- {
- "name": "My Bucket"
}
]
}, - "entities": {
- "nodepools": {
- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527/nodepools",
- "type": "collection",
- "items": [
- {
- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527",
- "type": "nodepool",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "K8s-node-pool",
- "datacenterId": "1e072e52-2ed3-492f-b6b6-c6b116907521",
- "nodeCount": 2,
- "cpuFamily": "INTEL_ICELAKE",
- "coresCount": 4,
- "ramSize": 2048,
- "availabilityZone": "AUTO",
- "storageType": "HDD",
- "storageSize": 100,
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "autoScaling": {
- "minNodeCount": 1,
- "maxNodeCount": 3
}, - "lans": [
- {
- "id": null,
- "dhcp": null,
- "routes": [ ]
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "availableUpgradeVersions": [
- "1.16.4",
- "1.17.7"
]
}
}
]
}
}
}
]
}
Creates a K8s cluster provisioned under your account.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The Kubernetes cluster to create.
object (DatacenterElementMetadata) | |
required | object (KubernetesClusterPropertiesForPost) |
object (KubernetesClusterEntities) |
{- "metadata": { },
- "properties": {
- "name": "k8s",
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "public": true,
- "location": "de/fra",
- "natGatewayIp": "198.51.100.100",
- "nodeSubnet": "192.168.0.0/16",
- "apiSubnetAllowList": [
- "1.2.3.4/32",
- "2002::1234:abcd:ffff:c0a8:101/64",
- "1.2.3.4",
- "2002::1234:abcd:ffff:c0a8:101"
], - "s3Buckets": [
- {
- "name": "My Bucket"
}
]
}, - "entities": {
- "nodepools": { }
}
}
{- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527",
- "type": "k8s",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "k8s",
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "availableUpgradeVersions": [
- "1.16.4",
- "1.17.7"
], - "viableNodePoolVersions": [
- "1.17.7",
- "1.18.2"
], - "public": true,
- "location": "de/fra",
- "natGatewayIp": "198.51.100.100",
- "nodeSubnet": "192.168.0.0/16",
- "apiSubnetAllowList": [
- "1.2.3.4/32",
- "2002::1234:abcd:ffff:c0a8:101/64",
- "1.2.3.4",
- "2002::1234:abcd:ffff:c0a8:101"
], - "s3Buckets": [
- {
- "name": "My Bucket"
}
]
}, - "entities": {
- "nodepools": {
- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527/nodepools",
- "type": "collection",
- "items": [
- {
- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527",
- "type": "nodepool",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "K8s-node-pool",
- "datacenterId": "1e072e52-2ed3-492f-b6b6-c6b116907521",
- "nodeCount": 2,
- "cpuFamily": "INTEL_ICELAKE",
- "coresCount": 4,
- "ramSize": 2048,
- "availabilityZone": "AUTO",
- "storageType": "HDD",
- "storageSize": 100,
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "autoScaling": {
- "minNodeCount": 1,
- "maxNodeCount": 3
}, - "lans": [
- {
- "id": 3,
- "dhcp": true,
- "routes": [
- {
- "network": null,
- "gatewayIp": null
}
]
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "availableUpgradeVersions": [
- "1.16.4",
- "1.17.7"
]
}
}
]
}
}
}
Retrieves the K8s cluster specified by its ID.
k8sClusterId required | string The unique ID of the K8s cluster to be retrieved. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527",
- "type": "k8s",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "k8s",
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "availableUpgradeVersions": [
- "1.16.4",
- "1.17.7"
], - "viableNodePoolVersions": [
- "1.17.7",
- "1.18.2"
], - "public": true,
- "location": "de/fra",
- "natGatewayIp": "198.51.100.100",
- "nodeSubnet": "192.168.0.0/16",
- "apiSubnetAllowList": [
- "1.2.3.4/32",
- "2002::1234:abcd:ffff:c0a8:101/64",
- "1.2.3.4",
- "2002::1234:abcd:ffff:c0a8:101"
], - "s3Buckets": [
- {
- "name": "My Bucket"
}
]
}, - "entities": {
- "nodepools": {
- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527/nodepools",
- "type": "collection",
- "items": [
- {
- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527",
- "type": "nodepool",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "K8s-node-pool",
- "datacenterId": "1e072e52-2ed3-492f-b6b6-c6b116907521",
- "nodeCount": 2,
- "cpuFamily": "INTEL_ICELAKE",
- "coresCount": 4,
- "ramSize": 2048,
- "availabilityZone": "AUTO",
- "storageType": "HDD",
- "storageSize": 100,
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "autoScaling": {
- "minNodeCount": 1,
- "maxNodeCount": 3
}, - "lans": [
- {
- "id": 3,
- "dhcp": true,
- "routes": [
- {
- "network": null,
- "gatewayIp": null
}
]
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "availableUpgradeVersions": [
- "1.16.4",
- "1.17.7"
]
}
}
]
}
}
}
Modifies the K8s cluster specified by its ID.
k8sClusterId required | string The unique ID of the Kubernetes cluster. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified Kubernetes cluster.
object (DatacenterElementMetadata) | |
required | object (KubernetesClusterPropertiesForPut) |
object (KubernetesClusterEntities) |
{- "metadata": { },
- "properties": {
- "name": "k8s",
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "apiSubnetAllowList": [
- "1.2.3.4/32",
- "2002::1234:abcd:ffff:c0a8:101/64",
- "1.2.3.4",
- "2002::1234:abcd:ffff:c0a8:101"
], - "s3Buckets": [
- {
- "name": "My Bucket"
}
]
}, - "entities": {
- "nodepools": { }
}
}
{- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527",
- "type": "k8s",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "k8s",
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "availableUpgradeVersions": [
- "1.16.4",
- "1.17.7"
], - "viableNodePoolVersions": [
- "1.17.7",
- "1.18.2"
], - "public": true,
- "location": "de/fra",
- "natGatewayIp": "198.51.100.100",
- "nodeSubnet": "192.168.0.0/16",
- "apiSubnetAllowList": [
- "1.2.3.4/32",
- "2002::1234:abcd:ffff:c0a8:101/64",
- "1.2.3.4",
- "2002::1234:abcd:ffff:c0a8:101"
], - "s3Buckets": [
- {
- "name": "My Bucket"
}
]
}, - "entities": {
- "nodepools": {
- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527/nodepools",
- "type": "collection",
- "items": [
- {
- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527",
- "type": "nodepool",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "K8s-node-pool",
- "datacenterId": "1e072e52-2ed3-492f-b6b6-c6b116907521",
- "nodeCount": 2,
- "cpuFamily": "INTEL_ICELAKE",
- "coresCount": 4,
- "ramSize": 2048,
- "availabilityZone": "AUTO",
- "storageType": "HDD",
- "storageSize": 100,
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "autoScaling": {
- "minNodeCount": 1,
- "maxNodeCount": 3
}, - "lans": [
- {
- "id": 3,
- "dhcp": true,
- "routes": [
- {
- "network": null,
- "gatewayIp": null
}
]
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "availableUpgradeVersions": [
- "1.16.4",
- "1.17.7"
]
}
}
]
}
}
}
Deletes the K8s cluster specified by its ID.
k8sClusterId required | string The unique ID of the Kubernetes cluster. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Retrieves the configuration file for the specified K8s cluster. You can define the format (YAML or JSON) of the returned file in the Accept header. By default, 'application/yaml' is specified.
k8sClusterId required | string The unique ID of the Kubernetes cluster. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
Retrieves a list of K8s node pools of a cluster specified by its ID.
k8sClusterId required | string The unique ID of the Kubernetes cluster. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527/nodepools",
- "type": "collection",
- "items": [
- {
- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527",
- "type": "nodepool",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "K8s-node-pool",
- "datacenterId": "1e072e52-2ed3-492f-b6b6-c6b116907521",
- "nodeCount": 2,
- "cpuFamily": "INTEL_ICELAKE",
- "coresCount": 4,
- "ramSize": 2048,
- "availabilityZone": "AUTO",
- "storageType": "HDD",
- "storageSize": 100,
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "autoScaling": {
- "minNodeCount": 1,
- "maxNodeCount": 3
}, - "lans": [
- {
- "id": 3,
- "dhcp": true,
- "routes": [
- {
- "network": "1.2.3.4/24",
- "gatewayIp": "10.1.5.16"
}
]
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "availableUpgradeVersions": [
- "1.16.4",
- "1.17.7"
]
}
}
]
}
Creates a node pool inside the specified K8s cluster.
k8sClusterId required | string The unique ID of the Kubernetes cluster. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The Kubernetes node pool to create.
object (DatacenterElementMetadata) | |
required | object (KubernetesNodePoolPropertiesForPost) |
{- "metadata": { },
- "properties": {
- "name": "K8s-node-pool",
- "datacenterId": "1e072e52-2ed3-492f-b6b6-c6b116907521",
- "nodeCount": 2,
- "cpuFamily": "INTEL_ICELAKE",
- "coresCount": 4,
- "ramSize": 2048,
- "availabilityZone": "AUTO",
- "storageType": "HDD",
- "storageSize": 100,
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "autoScaling": {
- "minNodeCount": 1,
- "maxNodeCount": 3
}, - "lans": [
- {
- "id": 3,
- "dhcp": true,
- "routes": [
- {
- "network": "1.2.3.4/24",
- "gatewayIp": "10.1.5.16"
}
]
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
]
}
}
{- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527",
- "type": "nodepool",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "K8s-node-pool",
- "datacenterId": "1e072e52-2ed3-492f-b6b6-c6b116907521",
- "nodeCount": 2,
- "cpuFamily": "INTEL_ICELAKE",
- "coresCount": 4,
- "ramSize": 2048,
- "availabilityZone": "AUTO",
- "storageType": "HDD",
- "storageSize": 100,
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "autoScaling": {
- "minNodeCount": 1,
- "maxNodeCount": 3
}, - "lans": [
- {
- "id": 3,
- "dhcp": true,
- "routes": [
- {
- "network": "1.2.3.4/24",
- "gatewayIp": "10.1.5.16"
}
]
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "availableUpgradeVersions": [
- "1.16.4",
- "1.17.7"
]
}
}
Retrieves the K8s node pool specified by its ID.
k8sClusterId required | string The unique ID of the Kubernetes cluster. |
nodepoolId required | string The unique ID of the Kubernetes node pool. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527",
- "type": "nodepool",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "K8s-node-pool",
- "datacenterId": "1e072e52-2ed3-492f-b6b6-c6b116907521",
- "nodeCount": 2,
- "cpuFamily": "INTEL_ICELAKE",
- "coresCount": 4,
- "ramSize": 2048,
- "availabilityZone": "AUTO",
- "storageType": "HDD",
- "storageSize": 100,
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "autoScaling": {
- "minNodeCount": 1,
- "maxNodeCount": 3
}, - "lans": [
- {
- "id": 3,
- "dhcp": true,
- "routes": [
- {
- "network": "1.2.3.4/24",
- "gatewayIp": "10.1.5.16"
}
]
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "availableUpgradeVersions": [
- "1.16.4",
- "1.17.7"
]
}
}
Modifies the K8s node pool specified by its ID.
k8sClusterId required | string The unique ID of the Kubernetes cluster. |
nodepoolId required | string The unique ID of the Kubernetes node pool. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
Details of the Kubernetes Node Pool
object (DatacenterElementMetadata) | |
required | object (KubernetesNodePoolPropertiesForPut) |
{- "metadata": { },
- "properties": {
- "name": "k8s-node-pool",
- "nodeCount": 2,
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "autoScaling": {
- "minNodeCount": 1,
- "maxNodeCount": 3
}, - "lans": [
- {
- "id": 3,
- "dhcp": true,
- "routes": [
- {
- "network": "1.2.3.4/24",
- "gatewayIp": "10.1.5.16"
}
]
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
]
}
}
{- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527",
- "type": "nodepool",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "K8s-node-pool",
- "datacenterId": "1e072e52-2ed3-492f-b6b6-c6b116907521",
- "nodeCount": 2,
- "cpuFamily": "INTEL_ICELAKE",
- "coresCount": 4,
- "ramSize": 2048,
- "availabilityZone": "AUTO",
- "storageType": "HDD",
- "storageSize": 100,
- "k8sVersion": "1.15.4",
- "maintenanceWindow": {
- "dayOfTheWeek": "Monday",
- "time": "13:00:00"
}, - "autoScaling": {
- "minNodeCount": 1,
- "maxNodeCount": 3
}, - "lans": [
- {
- "id": 3,
- "dhcp": true,
- "routes": [
- {
- "network": "1.2.3.4/24",
- "gatewayIp": "10.1.5.16"
}
]
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "publicIps": [
- "81.173.1.2",
- "82.231.2.5",
- "92.221.2.4"
], - "availableUpgradeVersions": [
- "1.16.4",
- "1.17.7"
]
}
}
Deletes the K8s node pool specified by its ID.
k8sClusterId required | string The unique ID of the Kubernetes cluster. |
nodepoolId required | string The unique ID of the Kubernetes node pool. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Retrieves the list of all K8s nodes of the specified node pool.
k8sClusterId required | string The unique ID of the Kubernetes cluster. |
nodepoolId required | string The unique ID of the Kubernetes node pool. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527/nodepools",
- "type": "collection",
- "items": [
- {
- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527",
- "type": "node",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "state": "READY",
- "lastSoftwareUpdatedDate": "2015-12-04T14:34:09.809Z"
}, - "properties": {
- "name": "K8s-node",
- "publicIP": "192.168.23.2",
- "privateIP": "192.168.23.2",
- "k8sVersion": "1.15.4"
}
}
]
}
Retrieves the K8s node specified by its ID.
k8sClusterId required | string The unique ID of the Kubernetes cluster. |
nodepoolId required | string The unique ID of the Kubernetes node pool. |
nodeId required | string The unique ID of the Kubernetes node. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "1e072e52-2ed3-492f-b6b6-c6b116907527",
- "type": "node",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "state": "READY",
- "lastSoftwareUpdatedDate": "2015-12-04T14:34:09.809Z"
}, - "properties": {
- "name": "K8s-node",
- "publicIP": "192.168.23.2",
- "privateIP": "192.168.23.2",
- "k8sVersion": "1.15.4"
}
}
Deletes the K8s node specified by its ID.
k8sClusterId required | string The unique ID of the Kubernetes cluster. |
nodepoolId required | string The unique ID of the Kubernetes node pool. |
nodeId required | string The unique ID of the Kubernetes node. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Recreates the K8s node specified by its ID.
If a node becomes unusable, Managed Kubernetes allows you to recreate it with a configuration based on the node pool template. Once the status is 'Active,' all the pods from the failed node will be migrated to the new node. The node pool has an additional billable 'active' node during this process.
k8sClusterId required | string The unique ID of the Kubernetes cluster. |
nodepoolId required | string The unique ID of the Kubernetes node pool. |
nodeId required | string The unique ID of the Kubernetes node. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Cross Connect allows you to connect virtual data centers (VDC) with each other using a private LAN. The VDCs to be connected need to belong to the same IONOS Cloud contract and location. You can only use private LANs for a Cross Connect connection. A LAN can only be a part of one Cross Connect.
The IP addresses of the NICs used for the Cross Connect connection may not be used in more than one NIC and they need to belong to the same IP range.
List all Cross Connects. For contract owner and administrators it returns all cross connects in your contract. For non administrator users it only returns the cross connects you are granted access via the user groups you are member of.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "pcc",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "Cross Connect between datacenter 'A' and datacenter 'B' ",
- "peers": [
- {
- "id": "<lan-id>",
- "name": "<lan-name>",
- "datacenterId": "<dc-uuid>",
- "datacenterName": "<dc-name>",
- "location": "<de/fra>"
}
], - "connectableDatacenters": [
- {
- "id": "<dc-id>",
- "name": "<dc-name>",
- "location": "<de/fra>"
}
]
}
}
]
}
Creates a Cross-Connect. Only contract owners, administrators and users with createPcc user privilege can create a cross connect. Please note that connecting a LAN to a cross connect is to be done via the /lan endpoint.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The Cross Connect to create.
type | string Enum: "datacenter" "server" "volume" "nic" "loadbalancer" "location" "firewall-rule" "flow-log" "image" "snapshot" "lan" "ipblock" "pcc" "contract" "user" "group" "collection" "resource" "request" "request-status" "s3key" "backupunit" "label" "k8s" "nodepool" "template" "networkloadbalancer" "forwarding-rule" "natgateway" "natgateway-rule" "node" "applicationloadbalancer" "target-group" "security-group" The type of object that has been created. |
object (DatacenterElementMetadata) | |
required | object (PrivateCrossConnectProperties) |
{- "type": "pcc",
- "metadata": { },
- "properties": {
- "name": "My resource",
- "description": "Cross Connect between datacenter 'A' and datacenter 'B' "
}
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "pcc",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "Cross Connect between datacenter 'A' and datacenter 'B' ",
- "peers": [
- {
- "id": "<lan-id>",
- "name": "<lan-name>",
- "datacenterId": "<dc-uuid>",
- "datacenterName": "<dc-name>",
- "location": "<de/fra>"
}
], - "connectableDatacenters": [
- {
- "id": "<dc-id>",
- "name": "<dc-name>",
- "location": "<de/fra>"
}
]
}
}
Retrieve a Cross Connect by the resource ID. Cross Connect ID is in the response body when the Cross Connect is created and in the list of Cross Connects, returned by GET. For contract owner and administrators all cross connects in your contract can be retrieved. For non administrator users it only returns the cross connects you are granted access via the user groups you are member of.
pccId required | string The unique ID of the Cross Connect. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "pcc",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "Cross Connect between datacenter 'A' and datacenter 'B' ",
- "peers": [
- {
- "id": "<lan-id>",
- "name": "<lan-name>",
- "datacenterId": "<dc-uuid>",
- "datacenterName": "<dc-name>",
- "location": "<de/fra>"
}
], - "connectableDatacenters": [
- {
- "id": "<dc-id>",
- "name": "<dc-name>",
- "location": "<de/fra>"
}
]
}
}
Remove the specified Cross Connect. Cross connect can be deleted only if it is not connected to any LANs. For non administrator users a cross connect can be deleted only if you are granted access via the user groups you are member of.
pccId required | string The unique ID of the Cross Connect. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Update the properties of the specified Cross Connect.For non administrator users you can only update the cross connects you are granted access via the user groups you are member of
pccId required | string The unique ID of the Cross Connect. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The properties of the Cross Connect to be updated.
name | string The name of the Cross Connect. |
description | string Human-readable description of the Cross Connect. |
{- "name": "My resource",
- "description": "Cross Connect between datacenter 'A' and datacenter 'B' "
}
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "pcc",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "description": "Cross Connect between datacenter 'A' and datacenter 'B' ",
- "peers": [
- {
- "id": "<lan-id>",
- "name": "<lan-name>",
- "datacenterId": "<dc-uuid>",
- "datacenterName": "<dc-name>",
- "location": "<de/fra>"
}
], - "connectableDatacenters": [
- {
- "id": "<dc-id>",
- "name": "<dc-name>",
- "location": "<de/fra>"
}
]
}
}
List all available labels.
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "labels",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "urn:label:datacenter:700e1cab-99b2-4c30-ba8c-1d273ddba022:environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production",
- "resourceId": "700e1cab-99b2-4c30-ba8c-1d273ddba022",
- "resourceType": "datacenter",
}
}
]
}
Retrieve a label by label URN.
The URN is unique for each label, and consists of:
urn:label:
labelurn required | string The label URN; URN is unique for each label, and consists of: urn:label: |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "urn:label:datacenter:700e1cab-99b2-4c30-ba8c-1d273ddba022:environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production",
- "resourceId": "700e1cab-99b2-4c30-ba8c-1d273ddba022",
- "resourceType": "datacenter",
}
}
List all the the labels for the specified data center.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "labels",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Adds a new label to the specified data center.
datacenterId required | string The unique ID of the data center. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The label to create.
object (NoStateMetaData) | |
required | object (LabelResourceProperties) |
{- "metadata": { },
- "properties": {
- "key": "environment",
- "value": "production"
}
}
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Retrieve the properties of the specified data center label.
datacenterId required | string The unique ID of the data center. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Modifies the specified data center label.
datacenterId required | string The unique ID of the data center. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified label
object (NoStateMetaData) | |
required | object (LabelResourceProperties) |
{- "metadata": { },
- "properties": {
- "key": "environment",
- "value": "production"
}
}
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Delete the specified data center label.
datacenterId required | string The unique ID of the data center. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
List all the the labels for the specified server.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "labels",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Adds a new label to the specified server.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The label to create.
object (NoStateMetaData) | |
required | object (LabelResourceProperties) |
{- "metadata": { },
- "properties": {
- "key": "environment",
- "value": "production"
}
}
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Retrieve the properties of the specified server label.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Modifies the specified server label.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified label
object (NoStateMetaData) | |
required | object (LabelResourceProperties) |
{- "metadata": { },
- "properties": {
- "key": "environment",
- "value": "production"
}
}
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Delete the specified server label.
datacenterId required | string The unique ID of the data center. |
serverId required | string The unique ID of the server. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
List all the the labels for the specified volume.
datacenterId required | string The unique ID of the data center. |
volumeId required | string The unique ID of the volume. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "labels",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Adds a new label to the specified volume.
datacenterId required | string The unique ID of the data center. |
volumeId required | string The unique ID of the volume. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The label to create.
object (NoStateMetaData) | |
required | object (LabelResourceProperties) |
{- "metadata": { },
- "properties": {
- "key": "environment",
- "value": "production"
}
}
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Retrieve the properties of the specified volume label.
datacenterId required | string The unique ID of the data center. |
volumeId required | string The unique ID of the volume. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Modifies the specified volume label.
datacenterId required | string The unique ID of the data center. |
volumeId required | string The unique ID of the volume. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified label
object (NoStateMetaData) | |
required | object (LabelResourceProperties) |
{- "metadata": { },
- "properties": {
- "key": "environment",
- "value": "production"
}
}
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Delete the specified volume label.
datacenterId required | string The unique ID of the data center. |
volumeId required | string The unique ID of the volume. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
List all the the labels for the specified snapshot.
snapshotId required | string The unique ID of the snapshot. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "labels",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Adds a new label to the specified snapshot.
snapshotId required | string The unique ID of the snapshot. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The label to create.
object (NoStateMetaData) | |
required | object (LabelResourceProperties) |
{- "metadata": { },
- "properties": {
- "key": "environment",
- "value": "production"
}
}
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Retrieve the properties of the specified snapshot label.
snapshotId required | string The unique ID of the snapshot. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Modifies the specified snapshot label.
snapshotId required | string The unique ID of the snapshot. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified label
object (NoStateMetaData) | |
required | object (LabelResourceProperties) |
{- "metadata": { },
- "properties": {
- "key": "environment",
- "value": "production"
}
}
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Delete the specified snapshot label.
snapshotId required | string The unique ID of the snapshot. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
List all the the labels for the specified IP block.
ipblockId required | string The unique ID of the IP block. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "labels",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Add a new label to the specified IP block.
ipblockId required | string The unique ID of the IP block. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The label to create.
object (NoStateMetaData) | |
required | object (LabelResourceProperties) |
{- "metadata": { },
- "properties": {
- "key": "environment",
- "value": "production"
}
}
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Retrieve the properties of the specified IP block label.
ipblockId required | string The unique ID of the IP block. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Modifies the specified IP block label.
ipblockId required | string The unique ID of the IP block. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified label
object (NoStateMetaData) | |
required | object (LabelResourceProperties) |
{- "metadata": { },
- "properties": {
- "key": "environment",
- "value": "production"
}
}
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Delete the specified IP block label.
ipblockId required | string The unique ID of the IP block. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
List all the the labels for the specified image.
imageId required | string The unique ID of the image. |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "labels",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
], - "offset": 0,
- "limit": 1000,
- "_links": {
- "prev": "<PREVIOUS-PAGE-URI>",
- "self": "<THIS-PAGE-URI>",
- "next": "<NEXT-PAGE-URI>"
}
}
Adds a new label to the specified image.
imageId required | string The unique ID of the image |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The label to create.
object (NoStateMetaData) | |
required | object (LabelResourceProperties) |
{- "metadata": { },
- "properties": {
- "key": "environment",
- "value": "production"
}
}
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Retrieve the properties of the specified image label.
imageId required | string The unique ID of the image. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Modifies the specified data center label.
imageId required | string The unique ID of the image. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
The modified label
object (NoStateMetaData) | |
required | object (LabelResourceProperties) |
{- "metadata": { },
- "properties": {
- "key": "environment",
- "value": "production"
}
}
{- "id": "environment",
- "type": "label",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
}, - "properties": {
- "key": "environment",
- "value": "production"
}
}
Delete the specified image label.
imageId required | string The unique ID of the image. |
key required | string The label key |
pretty | boolean Default: true Controls whether the response is pretty-printed (with indentations and new lines). |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
X-Contract-Number | integer <int32> Users with multiple contracts must provide the contract number, for which all API requests are to be executed. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "Error message example."
}
]
}
Retrieves all available templates.
Templates provide a pre-defined configuration for Cube servers.
Templates are read-only and cannot be created, modified, or deleted by users.
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "collection",
- "href": "<RESOURCE-URI>",
- "items": [
- {
- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "template",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "cores": 2,
- "ram": 2048,
- "storageSize": 10,
- "category": "Template category"
}
}
]
}
Retrieves the properties of the Cubes template specified by its ID.
templateId required | string The unique template ID. |
depth | integer <int32> [ 0 .. 10 ] Default: 0 Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on |
{- "id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
- "type": "template",
- "href": "<RESOURCE-URI>",
- "metadata": {
- "etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
- "createdDate": "2015-12-04T14:34:09.809Z",
- "createdBy": "user@example.com",
- "createdByUserId": "user@example.com",
- "lastModifiedDate": "2015-12-04T14:34:09.809Z",
- "lastModifiedBy": "user@example.com",
- "lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
- "state": "AVAILABLE"
}, - "properties": {
- "name": "My resource",
- "cores": 2,
- "ram": 2048,
- "storageSize": 10,
- "category": "Template category"
}
}