Managed Service for PostgreSQL API, REST: Database methods
Статья создана
Обновлена 26 мая 2023 г.
A set of methods for managing PostgreSQL Database resources.
JSON Representation
{
"name": "string",
"clusterId": "string",
"owner": "string",
"lcCollate": "string",
"lcCtype": "string",
"extensions": [
{
"name": "string",
"version": "string"
}
],
"templateDb": "string",
"deletionProtection": true
}
Field | Description |
---|---|
name | string Name of the database. |
clusterId | string ID of the PostgreSQL cluster that the database belongs to. |
owner | string Name of the user assigned as the owner of the database. |
lcCollate | string POSIX locale for string sorting order. Can only be set at creation time. |
lcCtype | string POSIX locale for character classification. Can only be set at creation time. |
extensions[] | object PostgreSQL extensions enabled for the database. |
extensions[]. name |
string Name of the extension, e.g. |
extensions[]. version |
string Version of the extension. |
templateDb | string Name of the database template. |
deletionProtection | boolean (boolean) Deletion Protection inhibits deletion of the database Default value: |
Methods
Method | Description |
---|---|
create | Creates a new PostgreSQL database in the specified cluster. |
delete | Deletes the specified PostgreSQL database. |
get | Returns the specified PostgreSQL Database resource. |
list | Retrieves the list of PostgreSQL Database resources in the specified cluster. |
update | Updates the specified PostgreSQL database. |