最近更新时间:2021-10-19 16:38:06
恢复到指定时间点(本实例/临时实例)。
恢复到临时实例,即基于时间点创建临时实例,每个高可用实例只能有一个临时实例。
GET
英文名称 | 中文名称 | 类型 | 是否必须 | 备注 |
---|---|---|---|---|
Action | 调用接口名称 | String | 是 | 取固定值:RestoreDBInstanceToPointInTime |
Version | API版本号 | String | 是 | 取固定值:2016-07-01 |
DBInstanceIdentifier | 实例id | String | 是 | |
RestorableTime | 恢复到时间点 | String | 是 | 例如:2021-09-09 00:00:00 |
英文名称 | 中文名称 | 类型 | 备注 |
---|---|---|---|
RequestId | 请求id | String | |
Data.DBInstance | 实例基本信息 | Object |
http://krds.{{region}}.api.ksyun.com/?Action=OverrideDBInstance&Version=2016-07-01&DBInstanceIdentifier=70eab7b3-3759-4eb3-b47a-c34a85df0949&DBBackupIdentifier=4e7d172b-5393-4398-bdd4-7341748dd2e0
{
"Data": {
"Instances": [
{
"DBInstanceClass": {
"Id": "RDSOpenAPI_43e19b9291d6b519",
"Iops": 1200,
"Vcpus": 1,
"Disk": 5,
"Ram": 1,
"Mem": 1,
"MaxConn": 200
},
"DBInstanceIdentifier": "70eab7b3-3759-4eb3-b47a-c34a85df0949",
"DBInstanceName": "Kingsoft_create_2",
"DBInstanceStatus": "RESTORING",
"DBInstanceType": "HRDS",
"DBParameterGroupId": "091124eb-95dc-4d3d-b220-abfce86ce999",
"PreferredBackupTime": "02:00-03:00",
"GroupId": "2d7bf240-247d-4a95-a8f2-5b349420136e",
"Vip": "10.0.1.214",
"Port": 3306,
"Engine": "mysql",
"EngineVersion": "5.7",
"InstanceCreateTime": "2021-08-04T17:39:06+0800",
"MasterUserName": "admin",
"DatastoreVersionId": "771a9409-56ae-4b55-87b4-e087a4a59437",
"VpcId": "6ae1b03b-182c-41ea-bba2-d8157fea129d",
"SubnetId": "782249ad-da15-4f81-99e4-708842bdd85d",
"PubliclyAccessible": true,
"BillType": "YEAR_MONTH",
"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.3466797,
"InnerAzCode": "cn-beijing-6a",
"Audit": false,
"ReadReplicaDBInstanceIdentifiers": [],
"DBSource": {
"DBInstanceIdentifier": "4d97f65f-5603-4373-b870-48a280ecc464",
"DBInstanceName": "zhebin_test",
"DBInstanceType": "HRDS",
"DBBackupIdentifier": "a80dab24-b6ab-4f11-b37e-16acb14db50a"
},
"ProductId": "710c4291-2054-4298-8729-9619d7f85724",
"ProductWhat": 1,
"ProjectId": 0,
"ProjectName": "默认项目",
"Region": "cn-beijing-6",
"ServiceEndTime": "2021-09-04T23:59:59+0800",
"ServiceStartTime": "2021-08-04T17:39:06+0800",
"SubOrderId": "HRDS2S2108041732583310HARBX",
"SecurityGroups": [],
"SupportIPV6": false,
"BillTypeId": 1
}
]
},
"RequestId": "FE0924c400-f508-11eb-8bf0-cde1c46f7302"
}
纯净模式