const response = await client.containers.list({ space: '', includeGlobal: true });
const response = await client.containers.retrieve([
{
space: "my_space",
externalId: "my_external_id"
}
]);
const containerDefinition = {
"space": "string",
"externalId": "string",
"name": "string",
"description": "string",
"usedFor": "node",
"properties": {
"containerPropertyIdentifier1": {},
"containerPropertyIdentifier2": {}
},
"constraints": {
"constraint-identifier1": {},
"constraint-identifier2": {}
},
"indexes": {
"index-identifier1": {},
"index-identifier2": {}
}
}
const response = await client.containers.upsert([
containerDefinition
]);
Delete containers
const response = await client.containers.delete([{ space: "my_space", externalId: "my_external_id" }]);