You need to enable JavaScript to run this app.
云数据库 PostgreSQL 版

云数据库 PostgreSQL 版

复制全文
实例管理
ModifyDBInstanceMaintenanceWindow
复制全文
ModifyDBInstanceMaintenanceWindow

调用 ModifyDBInstanceMaintenanceWindow 接口修改实例的可维护时间窗。

请求类型

同步请求。

调试

请求参数

参数
类型
是否必选
示例值
描述
InstanceId
String
postgres-ca7b7019****
实例 ID。
DayKind
String
Week
可维护周期的粒度,取值为 Week,周。
DayOfWeekMaintenanceTime
Object[]
请参见请求示例。
实例的可维护时间段设置。

返回参数

null

示例

请求示例

POST /?Action=ModifyDBInstanceMaintenanceWindow&Version=2022-01-01 HTTP/1.1
Content-Type: application/json
Host: rds-postgresql.cn-beijing.volcengineapi.com
X-Date: 20231002T101010Z
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****
{
    "InstanceId": "postgres-ca7b7019****",
    "DayKind": "Week",
    "DayOfWeekMaintenanceTime": [
        {
            "Period": 6,
            "DayOfWeek": "Monday,Tuesday",
            "MaintenanceWindowStartTime": "16:00Z"
        }
    ]
}

返回示例

{
    "ResponseMetadata": {
        "RequestId": "20251010125538DD78BB60C53C19A6A9D8-7fca2b",
        "Action": "ModifyDBInstanceMaintenanceWindow",
        "Version": "2022-01-01",
        "Service": "rds_postgresql",
        "Region": "cn-beijing"
    },
    "Result": null
}
最近更新时间:2026.01.19 21:25:40
这个页面对您有帮助吗?
有用
有用
无用
无用