Managed Service for MySQL API, gRPC: DatabaseService.Get
Статья создана
Обновлена 17 октября 2024 г.
Retrieves information about the specified database.
gRPC request
rpc Get (GetDatabaseRequest) returns (Database)
GetDatabaseRequest
{
"clusterId": "string",
"databaseName": "string"
}
Field |
Description |
clusterId |
string Required field. ID of the cluster that the database belongs to. To get this ID, make a ClusterService.List request. |
databaseName |
string Required field. Name of the database to return information about. To get this name, make a DatabaseService.List request. |
Database
{
"name": "string",
"clusterId": "string"
}
An object that represents MySQL database.
See the documentation for details.
Field |
Description |
name |
string Name of the database. |
clusterId |
string ID of the cluster that the database belongs to. |