Download OpenAPI specification:Download
The RESTful API for managing Network File Storage.
This endpoint enables retrieving all Clusters using pagination and optional filters.
offset | integer <int32> >= 0 Default: 0 The first element (of the total list of elements) to include in the response. Use this parameter together with the limit for pagination. |
limit | integer <int32> [ 1 .. 1000 ] Default: 100 Example: limit=100 The maximum number of elements to return. Use this parameter together with the offset for pagination. |
filter.datacenterId | string <uuid> The datacenter ID to filter by. |
{- "id": "ed17eb1f-ac43-5670-9e63-8be33c475449",
- "type": "collection",
- "href": "/clusters",
- "items": [
- {
- "id": "e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "type": "cluster",
- "href": "/clusters/e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "status": "AVAILABLE",
- "statusMessage": null
}, - "properties": {
- "name": "Cluster 1",
- "connections": [
- {
- "datacenterId": "123e4567-e89b-12d3-a456-426614174001",
- "lan": "1",
- "ipAddress": "10.254.64.1/24"
}
], - "nfs": {
- "minVersion": "4.2"
}, - "size": 5
}
}
], - "offset": 0,
- "limit": 42,
- "_links": {
}
}
Creates a new Cluster.
The full Cluster needs to be provided to create the object. Optional data will be filled with defaults or left empty.
Cluster to create.
object Metadata | |
required | object (Cluster) Network File Storage cluster |
{- "metadata": { },
- "properties": {
- "name": "Cluster 1",
- "connections": [
- {
- "datacenterId": "123e4567-e89b-12d3-a456-426614174001",
- "lan": "1",
- "ipAddress": "10.254.64.1/24"
}
], - "nfs": {
- "minVersion": "4.2"
}, - "size": 5
}
}
{- "id": "e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "type": "cluster",
- "href": "/clusters/e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "status": "AVAILABLE",
- "statusMessage": null
}, - "properties": {
- "name": "Cluster 1",
- "connections": [
- {
- "datacenterId": "123e4567-e89b-12d3-a456-426614174001",
- "lan": "1",
- "ipAddress": "10.254.64.1/24"
}
], - "nfs": {
- "minVersion": "4.2"
}, - "size": 5
}
}
Returns the Cluster by ID.
clusterId required | string <uuid> Example: e69b22a5-8fee-56b1-b6fb-4a07e4205ead The ID (UUID) of the Cluster. |
{- "id": "e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "type": "cluster",
- "href": "/clusters/e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "status": "AVAILABLE",
- "statusMessage": null
}, - "properties": {
- "name": "Cluster 1",
- "connections": [
- {
- "datacenterId": "123e4567-e89b-12d3-a456-426614174001",
- "lan": "1",
- "ipAddress": "10.254.64.1/24"
}
], - "nfs": {
- "minVersion": "4.2"
}, - "size": 5
}
}
Ensures that the Cluster with the provided ID is created or modified. The full Cluster needs to be provided to ensure (either update or create) the Cluster. Non present data will only be filled with defaults or left empty, but not take previous values into consideration.
clusterId required | string <uuid> Example: e69b22a5-8fee-56b1-b6fb-4a07e4205ead The ID (UUID) of the Cluster. |
update Cluster
id required | string <uuid> The ID (UUID) of the Cluster. |
object Metadata | |
required | object (Cluster) Network File Storage cluster |
{- "id": "e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "metadata": { },
- "properties": {
- "name": "Cluster 1",
- "connections": [
- {
- "datacenterId": "123e4567-e89b-12d3-a456-426614174001",
- "lan": "1",
- "ipAddress": "10.254.64.1/24"
}
], - "nfs": {
- "minVersion": "4.2"
}, - "size": 5
}
}
{- "id": "e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "type": "cluster",
- "href": "/clusters/e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "status": "AVAILABLE",
- "statusMessage": null
}, - "properties": {
- "name": "Cluster 1",
- "connections": [
- {
- "datacenterId": "123e4567-e89b-12d3-a456-426614174001",
- "lan": "1",
- "ipAddress": "10.254.64.1/24"
}
], - "nfs": {
- "minVersion": "4.2"
}, - "size": 5
}
}
Deletes the specified Cluster.
clusterId required | string <uuid> Example: e69b22a5-8fee-56b1-b6fb-4a07e4205ead The ID (UUID) of the Cluster. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "err-1234",
- "message": "Error message example"
}
]
}