doc-exports/docs/opengauss/api-ref/opengauss_newapi_0001.html
Ru, Li Yi d97aea4dd2 opengauss_api
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com>
Co-authored-by: Ru, Li Yi <liyiru7@huawei.com>
Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
2024-09-06 09:04:21 +00:00

9.2 KiB

Rebooting a DB Instance

Function

This API is used to reboot a DB instance. Before calling this API:

Constraints

The instance cannot reboot when it is being created, scaled, backed up, and restored.

URI

  • URI format

    POST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/restart

Request

None

Response

  • Normal response
    Table 2 Parameter description

    Parameter

    Type

    Description

    job_id

    String

    Task ID.

  • Example normal response
    {
    	"job_id": "2b414788a6004883a02390e2eb0ea227"
    }

Status Code

Error Code

For details, see Error Codes.