全部文档
当前文档

暂无内容

如果没有找到您期望的内容,请尝试其他搜索词

文档中心

修改自动备份时间

最近更新时间:2021-10-19 16:38:06

ModifyDBInstance 修改数据库自动备份的时间

修改数据库备份中自动备份时间。

请求方式

GET

请求参数

英文名称 中文名称 类型 是否必须 备注
Action 调用接口名称 String 取固定值:ModifyDBInstance
Version API版本号 String 取固定值:2016-07-01
DBInstanceIdentifier 实例id String 例如:f241bdf4-ee5a-4974-ac5d-4f5f256b339a
PreferredBackupTime 备份时间段 String 例如:02:00-03:00,范围取值:[00:00-01:00,23:00-24:00], 间隔一小时的整点时刻

返回值

英文名称 中文名称 类型 备注
RequestId 请求id String
Data.Instances 实例信息 List

请求示例

http://krds.{{region}}.api.ksyun.com/?Action=ModifyDBInstance&Version=2016-07-01&PreferredBackupTime=02:00-03:00&DBInstanceIdentifier=f241bdf4-ee5a-4974-ac5d-4f5f256b339a

示例返回

{
    "Data": {
        "Instances": [
            {
                "DBInstanceClass": {
                    "Id": "RDSOpenAPI_43e19b9291d6b519",
                    "Iops": 1200,
                    "Vcpus": 1,
                    "Disk": 5,OverrideDBInstanceByPointInTime
                    "Ram": 1,
                    "Mem": 1,
                    "MaxConn": 200
                },
                "DBInstanceIdentifier": "f241bdf4-ee5a-4974-ac5d-4f5f256b339a",
                "DBInstanceName": "lyl_test_202108031451",
                "DBInstanceStatus": "ACTIVE",
                "DBInstanceType": "HRDS",
                "DBParameterGroupId": "66d13969-bdcc-4408-9981-4a363c4546ef",
                "PreferredBackupTime": "02:00-03:00",
                "GroupId": "9be54af7-1bf0-4227-b122-ac9cc908b8c2",
                "Vip": "10.0.1.87",
                "Port": 3306,
                "Engine": "mysql",
                "EngineVersion": "5.7",
                "InstanceCreateTime": "2021-08-03T12:01:07+0800",
                "MasterUserName": "admin",
                "DatastoreVersionId": "771a9409-56ae-4b55-87b4-e087a4a59437",
                "VpcId": "6ae1b03b-182c-41ea-bba2-d8157fea129d",
                "SubnetId": "782249ad-da15-4f81-99e4-708842bdd85d",
                "PubliclyAccessible": true,
                "BillType": "DAY",
                "OrderType": "REGULAR",
                "MultiAvailabilityZone": false,
                "MasterAvailabilityZone": "cn-beijing-6a",
                "SlaveAvailabilityZone": "cn-beijing-6a",
                "AvailabilityZoneList": [
                    {
                        "MemberType": "master",
                        "AzCode": "cn-beijing-6a"
                    },
                    {
                        "MemberType": "standby",
                        "AzCode": "cn-beijing-6a"
                    }
                ],
                "DiskUsed": 0.6035156,
                "InnerAzCode": "cn-beijing-6a",
                "Audit": true,
                "ReadReplicaDBInstanceIdentifiers": [],
                "ProductId": "55d36cce-e421-4d39-b166-69d33652b438",
                "ProductWhat": 1,
                "ProjectId": 0,
                "ProjectName": "默认项目",
                "Region": "cn-beijing-6",
                "ServiceStartTime": "2021-08-03T12:01:07+0800",
                "SubOrderId": "HRDS2S21080311565978036S5WV",
                "SecurityGroups": [],
                "SupportIPV6": false,
                "BillTypeId": 5
            }
        ]
    },
    "RequestId": "864c2c0a-a079-48a3-807a-c7224c300a29"
}
文档导读
纯净模式常规模式

纯净模式

点击可全屏预览文档内容
文档反馈