Method get
Returns the specified SQL Server database.
To get the list of available SQL Server databases, make a list request.
HTTP request
GET https://mdb.api.cloud.yandex.net/mdb/sqlserver/v1alpha/clusters/{clusterId}/databases/{databaseName}
Path parameters
Parameter | Description |
---|---|
clusterId | Required. ID of the SQL Server cluster the database belongs to. To get the cluster ID, use a list request. The maximum string length in characters is 50. |
databaseName | Required. Name of the SQL Server database to return. To get the name of the database use a list request. The maximum string length in characters is 63. Value must match the regular expression [a-zA-Z0-9_-]* . |
Response
HTTP Code: 200 - OK
{
"name": "string",
"clusterId": "string"
}
An SQL Server database.
For more information, see the Concepts section of the documentation.
Field | Description |
---|---|
name | string Name of the database. |
clusterId | string ID of the SQL Server cluster the database belongs to. |