调用 RestartDBInstance 接口重启实例。
异步请求。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
InstanceId | String | 是 | postgres-21a3333b**** | 实例 ID。 |
ApplyScope | String | 否 | AllNode | 重启场景,取值:
|
CustomNodeIds | String[] | 否 | ["postgres-6a85fdfd****-ro30f7","postgres-6a85fdfd****-rod958"] | 要重启的只读节点的 ID。
|
null
POST /?Action=RestartDBInstance&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host: open.volcengineapi.com X-Date: 20231002T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458**** { "InstanceId": "postgres-21a3333b****", "ApplyScope": "CustomNode", "CustomNodeIds": [ "postgres-857a4a97****-rod301" ] }
{ "ResponseMetadata": { "RequestId": "202306192236493E0DA6BBDC4CB9AB1711", "Action": "RestartDBInstance", "Version": "2022-01-01", "Service": "rds_postgresql", "Region": "cn-beijing" }, "Result": null }