Managed Service for ClickHouse API, gRPC: DatabaseService.Get
Статья создана
Обновлена 17 октября 2024 г.
Returns the specified ClickHouse Database resource.
To get the list of available ClickHouse Database resources, make a List request.
gRPC request
rpc Get (GetDatabaseRequest) returns (Database)
GetDatabaseRequest
{
"clusterId": "string",
"databaseName": "string"
}
Field |
Description |
clusterId |
string Required field. ID of the ClickHouse cluster that the database belongs to. |
databaseName |
string Required field. Name of the ClickHouse Database resource to return. |
Database
{
"name": "string",
"clusterId": "string"
}
A ClickHouse Database resource. For more information, see the
Developer's Guide.
Field |
Description |
name |
string Name of the database. |
clusterId |
string ID of the ClickHouse cluster that the database belongs to. |