Download OpenAPI specification:Download
API description for the IONOS In-Memory DB
In-Memory DB replica set with support for a single instance or a In-Memory DB replication in leader follower mode. The mode is determined by the number of replicas. One replica is standalone, everything else an In-Memory DB replication as leader follower mode with one active and n-1 passive replicas.
This tag groups all operations for replicaset.
This endpoint enables retrieving all ReplicaSet 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 together with limit for pagination. |
limit | integer <int32> [ 1 .. 1000 ] Default: 100 Example: limit=100 The maximum number of elements to return. Use together with offset for pagination. |
filter.name | string Response filter to list only items contain the specified name. The value is case insensitive and matched on the 'displayName' field. |
{- "id": "2ec26f24-9fca-5576-8cda-03d6a0156bbc",
- "type": "collection",
- "href": "/replicasets",
- "items": [
- {
- "id": "1046e9bf-dbc0-5bd3-9291-713d36ab77e9",
- "type": "replicaset",
- "href": "/replicasets/1046e9bf-dbc0-5bd3-9291-713d36ab77e9",
- "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>",
- "state": "AVAILABLE",
- "message": "In progress.",
- "dnsName": "imdb01.example.com"
}, - "properties": {
- "displayName": "In-Memory DB replica set",
- "version": "7.2",
- "replicas": 2,
- "resources": {
- "cores": 4,
- "ram": 4,
- "storage": 0
}, - "persistenceMode": "None",
- "evictionPolicy": "allkeys-lru",
- "connections": [
- {
- "datacenterId": "5a029f4a-72e5-11ec-90d6-0242ac120003",
- "lanId": "2",
- "cidr": "192.168.1.100/24"
}
], - "maintenanceWindow": {
- "time": "16:30:59",
- "dayOfTheWeek": "Monday"
}, - "credentials": {
- "username": "DatabaseAdmin"
}, - "initialSnapshotId": "12345678-1234-1234-1234-123456789012"
}
}
], - "offset": 0,
- "limit": 42,
- "_links": {
}
}
Creates a new ReplicaSet.
The full ReplicaSet needs to be provided to create the object. Optional data will be filled with defaults or left empty.
ReplicaSet to create.
object Metadata | |
required | object (ReplicaSet) Properties with all data needed to create a new In-Memory DB replication. |
{- "metadata": { },
- "properties": {
- "displayName": "In-Memory DB replica set",
- "version": "7.2",
- "replicas": 2,
- "resources": {
- "cores": 4,
- "ram": 4
}, - "persistenceMode": "None",
- "evictionPolicy": "allkeys-lru",
- "connections": [
- {
- "datacenterId": "5a029f4a-72e5-11ec-90d6-0242ac120003",
- "lanId": "2",
- "cidr": "192.168.1.100/24"
}
], - "maintenanceWindow": {
- "time": "16:30:59",
- "dayOfTheWeek": "Monday"
}, - "credentials": {
- "username": "DatabaseAdmin",
- "password": "my-t0p-secret-password"
}, - "initialSnapshotId": "12345678-1234-1234-1234-123456789012"
}
}
{- "id": "1046e9bf-dbc0-5bd3-9291-713d36ab77e9",
- "type": "replicaset",
- "href": "/replicasets/1046e9bf-dbc0-5bd3-9291-713d36ab77e9",
- "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>",
- "state": "AVAILABLE",
- "message": "In progress.",
- "dnsName": "imdb01.example.com"
}, - "properties": {
- "displayName": "In-Memory DB replica set",
- "version": "7.2",
- "replicas": 2,
- "resources": {
- "cores": 4,
- "ram": 4,
- "storage": 0
}, - "persistenceMode": "None",
- "evictionPolicy": "allkeys-lru",
- "connections": [
- {
- "datacenterId": "5a029f4a-72e5-11ec-90d6-0242ac120003",
- "lanId": "2",
- "cidr": "192.168.1.100/24"
}
], - "maintenanceWindow": {
- "time": "16:30:59",
- "dayOfTheWeek": "Monday"
}, - "credentials": {
- "username": "DatabaseAdmin"
}, - "initialSnapshotId": "12345678-1234-1234-1234-123456789012"
}
}
Returns the ReplicaSet by ID.
replicasetId required | string <uuid> Example: 1046e9bf-dbc0-5bd3-9291-713d36ab77e9 The ID (UUID) of the ReplicaSet. |
{- "id": "1046e9bf-dbc0-5bd3-9291-713d36ab77e9",
- "type": "replicaset",
- "href": "/replicasets/1046e9bf-dbc0-5bd3-9291-713d36ab77e9",
- "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>",
- "state": "AVAILABLE",
- "message": "In progress.",
- "dnsName": "imdb01.example.com"
}, - "properties": {
- "displayName": "In-Memory DB replica set",
- "version": "7.2",
- "replicas": 2,
- "resources": {
- "cores": 4,
- "ram": 4,
- "storage": 0
}, - "persistenceMode": "None",
- "evictionPolicy": "allkeys-lru",
- "connections": [
- {
- "datacenterId": "5a029f4a-72e5-11ec-90d6-0242ac120003",
- "lanId": "2",
- "cidr": "192.168.1.100/24"
}
], - "maintenanceWindow": {
- "time": "16:30:59",
- "dayOfTheWeek": "Monday"
}, - "credentials": {
- "username": "DatabaseAdmin"
}, - "initialSnapshotId": "12345678-1234-1234-1234-123456789012"
}
}
Ensures that the ReplicaSet with the provided ID is created or modified. The full ReplicaSet needs to be provided to ensure (either update or create) the ReplicaSet. Non present data will only be filled with defaults or left empty, but not take previous values into consideration.
replicasetId required | string <uuid> Example: 1046e9bf-dbc0-5bd3-9291-713d36ab77e9 The ID (UUID) of the ReplicaSet. |
update ReplicaSet
id required | string <uuid> The ID (UUID) of the ReplicaSet. |
object Metadata | |
required | object (ReplicaSet) Properties with all data needed to create a new In-Memory DB replication. |
{- "id": "1046e9bf-dbc0-5bd3-9291-713d36ab77e9",
- "metadata": { },
- "properties": {
- "displayName": "In-Memory DB replica set",
- "version": "7.2",
- "replicas": 2,
- "resources": {
- "cores": 4,
- "ram": 4
}, - "persistenceMode": "None",
- "evictionPolicy": "allkeys-lru",
- "connections": [
- {
- "datacenterId": "5a029f4a-72e5-11ec-90d6-0242ac120003",
- "lanId": "2",
- "cidr": "192.168.1.100/24"
}
], - "maintenanceWindow": {
- "time": "16:30:59",
- "dayOfTheWeek": "Monday"
}, - "credentials": {
- "username": "DatabaseAdmin",
- "password": "my-t0p-secret-password"
}, - "initialSnapshotId": "12345678-1234-1234-1234-123456789012"
}
}
{- "id": "1046e9bf-dbc0-5bd3-9291-713d36ab77e9",
- "type": "replicaset",
- "href": "/replicasets/1046e9bf-dbc0-5bd3-9291-713d36ab77e9",
- "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>",
- "state": "AVAILABLE",
- "message": "In progress.",
- "dnsName": "imdb01.example.com"
}, - "properties": {
- "displayName": "In-Memory DB replica set",
- "version": "7.2",
- "replicas": 2,
- "resources": {
- "cores": 4,
- "ram": 4,
- "storage": 0
}, - "persistenceMode": "None",
- "evictionPolicy": "allkeys-lru",
- "connections": [
- {
- "datacenterId": "5a029f4a-72e5-11ec-90d6-0242ac120003",
- "lanId": "2",
- "cidr": "192.168.1.100/24"
}
], - "maintenanceWindow": {
- "time": "16:30:59",
- "dayOfTheWeek": "Monday"
}, - "credentials": {
- "username": "DatabaseAdmin"
}, - "initialSnapshotId": "12345678-1234-1234-1234-123456789012"
}
}
Deletes the specified ReplicaSet.
replicasetId required | string <uuid> Example: 1046e9bf-dbc0-5bd3-9291-713d36ab77e9 The ID (UUID) of the ReplicaSet. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "err-1234",
- "message": "Error message example"
}
]
}
Operations to create and manage point in time snapshots for your In-Memory DB replica sets.
This tag groups all operations for snapshot.
This endpoint enables retrieving all Snapshot 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 together with limit for pagination. |
limit | integer <int32> [ 1 .. 1000 ] Default: 100 Example: limit=100 The maximum number of elements to return. Use together with offset for pagination. |
{- "id": "b9cb6c65-8997-58bb-b7d1-93e5da5a6525",
- "type": "collection",
- "href": "/snapshots",
- "items": [
- {
- "id": "a8784665-3d99-5464-af32-30a2967f58e7",
- "type": "snapshot",
- "href": "/snapshots/a8784665-3d99-5464-af32-30a2967f58e7",
- "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>",
- "state": "AVAILABLE",
- "message": "In progress.",
- "replicasetId": "12345678-1234-1234-1234-123456789012",
- "snapshotTime": "2019-08-24T14:15:22Z",
- "datacenterId": "b51b184c-478e-4341-bf40-fcc0ee580c11"
}, - "properties": { }
}
], - "offset": 0,
- "limit": 42,
- "_links": {
}
}
Returns the Snapshot by ID.
snapshotId required | string <uuid> Example: a8784665-3d99-5464-af32-30a2967f58e7 The ID (UUID) of the Snapshot. |
{- "id": "a8784665-3d99-5464-af32-30a2967f58e7",
- "type": "snapshot",
- "href": "/snapshots/a8784665-3d99-5464-af32-30a2967f58e7",
- "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>",
- "state": "AVAILABLE",
- "message": "In progress.",
- "replicasetId": "12345678-1234-1234-1234-123456789012",
- "snapshotTime": "2019-08-24T14:15:22Z",
- "datacenterId": "b51b184c-478e-4341-bf40-fcc0ee580c11"
}, - "properties": { }
}
This endpoint enables retrieving all Restore using pagination and optional filters.
snapshotId required | string <uuid> Example: a8784665-3d99-5464-af32-30a2967f58e7 The ID (UUID) of the Snapshot. |
offset | integer <int32> >= 0 Default: 0 The first element (of the total list of elements) to include in the response. Use together with limit for pagination. |
limit | integer <int32> [ 1 .. 1000 ] Default: 100 Example: limit=100 The maximum number of elements to return. Use together with offset for pagination. |
filter.name | string Response filter to list only items contain the specified name. The value is case insensitive and matched on the 'displayName' field. |
{- "id": "5348fe6c-5e4a-5ff3-aa3c-d5232987f9d5",
- "type": "collection",
- "href": "/snapshots/{snapshotId}/restores",
- "items": [
- {
- "id": "39fe1580-552b-5182-8939-a3ac6c38f94c",
- "type": "restore",
- "href": "/snapshots/{snapshotId}/restores/39fe1580-552b-5182-8939-a3ac6c38f94c",
- "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>",
- "state": "AVAILABLE",
- "message": "In progress.",
- "restoreTime": "2019-08-24T14:15:22Z",
- "restoredSnapshotId": "9733371c-eda4-48fc-a669-945e2406db45"
}, - "properties": {
- "replicasetId": "ac71d588-f2bb-481c-8905-52d37b5cb3b4",
- "displayName": "In-Memory DB snapshot",
- "description": "Snapshot of the In-Memory DB replica set."
}
}
], - "offset": 0,
- "limit": 42,
- "_links": {
}
}
Creates a new Restore.
The full Restore needs to be provided to create the object. Optional data will be filled with defaults or left empty.
snapshotId required | string <uuid> Example: a8784665-3d99-5464-af32-30a2967f58e7 The ID (UUID) of the Snapshot. |
Restore to create.
object Metadata | |
required | object (Restore) A point in time snapshot of a In-Memory DB replica set. |
{- "metadata": { },
- "properties": {
- "replicasetId": "ac71d588-f2bb-481c-8905-52d37b5cb3b4",
- "displayName": "In-Memory DB snapshot",
- "description": "Snapshot of the In-Memory DB replica set."
}
}
{- "id": "39fe1580-552b-5182-8939-a3ac6c38f94c",
- "type": "restore",
- "href": "/snapshots/{snapshotId}/restores/39fe1580-552b-5182-8939-a3ac6c38f94c",
- "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>",
- "state": "AVAILABLE",
- "message": "In progress.",
- "restoreTime": "2019-08-24T14:15:22Z",
- "restoredSnapshotId": "9733371c-eda4-48fc-a669-945e2406db45"
}, - "properties": {
- "replicasetId": "ac71d588-f2bb-481c-8905-52d37b5cb3b4",
- "displayName": "In-Memory DB snapshot",
- "description": "Snapshot of the In-Memory DB replica set."
}
}
Returns the Restore by ID.
snapshotId required | string <uuid> Example: a8784665-3d99-5464-af32-30a2967f58e7 The ID (UUID) of the Snapshot. |
restoreId required | string <uuid> Example: 39fe1580-552b-5182-8939-a3ac6c38f94c The ID (UUID) of the Restore. |
{- "id": "39fe1580-552b-5182-8939-a3ac6c38f94c",
- "type": "restore",
- "href": "/snapshots/{snapshotId}/restores/39fe1580-552b-5182-8939-a3ac6c38f94c",
- "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>",
- "state": "AVAILABLE",
- "message": "In progress.",
- "restoreTime": "2019-08-24T14:15:22Z",
- "restoredSnapshotId": "9733371c-eda4-48fc-a669-945e2406db45"
}, - "properties": {
- "replicasetId": "ac71d588-f2bb-481c-8905-52d37b5cb3b4",
- "displayName": "In-Memory DB snapshot",
- "description": "Snapshot of the In-Memory DB replica set."
}
}