Download OpenAPI specification:Download
The RESTful API for managing Network File Storage.
Retrieve Network File Storage clusters with pagination and optional filters.
offset | integer <int32> >= 0 Default: 0 The first element from 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 identifier 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 Network File Storage cluster.
The complete cluster configuration must be provided to create the resource. Optional data will be filled with default values 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 cluster details by ID.
clusterId required | string <uuid> Example: e69b22a5-8fee-56b1-b6fb-4a07e4205ead The identifier (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 identifier is created or modified. The complete cluster configuration must be provided to update or create the cluster. Any missing data will be filled with default values or left empty, without considering previous values.
clusterId required | string <uuid> Example: e69b22a5-8fee-56b1-b6fb-4a07e4205ead The ID (UUID) of the Cluster. |
Update Cluster
id required | string <uuid> The identifier (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 identifier (UUID) of the cluster. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "err-1234",
- "message": "Error message example"
}
]
}