最近更新时间:2021-10-14 10:42:04
英文名称 | 中文名称 | 类型 | 是否必须 | 备注 |
---|---|---|---|---|
Action | 调用接口名称 | String | 是 | 取固定值:UpgradeDBInstanceEngineVersion |
Version | API版本号 | String | 是 | 取固定值:2016-07-01 |
DBInstanceIdentifier | 实例Id | String | 是 | |
Engine | 实例中数据库引擎的名称 | String | 是 | 区分大小写、取值范围:mysql、percona |
EngineVersion | 实例中数据库引擎的版本 | String | 是 | 取值范围:5.5、5.6、5.7 mysql暂时不支持由5.7升级到8.0 |
英文名称 | 中文名称 | 类型 | 备注 |
---|---|---|---|
RequestId | 请求ID | String | – |
DBInstance | 实例model | DBInstance | – |
https://krds.api.ksyun.com/?Action=UpgradeDBInstanceEngineVersion&Version=2016-07-01&DBInstanceIdentifier=4ea8d563-a536-4f7d-9fc0-2523ee921d80&Engine=mysql&EngineVersion=5.6
{
"Data": {
"Instances": [
{
"DBInstanceClass": {
"Id": "RDSOpenAPI_43e19b9291d6b519",
"Iops": 1200,
"Vcpus": 1,
"Disk": 5,
"Ram": 1,
"Mem": 1,
"MaxConn": 200
},
"DBInstanceIdentifier": "e122560f-5400-4f50-b913-5f1f6ae781d0",
"DBInstanceName": "lyl_HA_test_202107291429",
"DBInstanceStatus": "ACTIVE",
"DBInstanceType": "HRDS",
"DBParameterGroupId": "81023470-0899-4474-88ee-2daa1ee54590",
"PreferredBackupTime": "01:00-02:00",
"GroupId": "b1ffc74b-879d-40b5-ac9f-08242612df4a",
"SecurityGroupId": "64236",
"Vip": "10.0.1.199",
"Port": 3306,
"Engine": "mysql",
"EngineVersion": "5.7",
"InstanceCreateTime": "2021-06-24T18:55:15+0800",
"MasterUserName": "admin",
"DatastoreVersionId": "771a9409-56ae-4b55-87b4-e087a4a59437",
"VpcId": "632fdf95-d221-4406-8e40-f6857de272ad",
"SubnetId": "afb19016-ff11-4313-93fe-17261958d37c",
"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": 1.8984375,
"InnerAzCode": "cn-beijing-6a",
"Audit": false,
"ReadReplicaDBInstanceIdentifiers": [],
"ProductId": "87ac6891-29cb-49fe-ac75-94464d10345f",
"ProductWhat": 1,
"ProjectId": 103800,
"ProjectName": "测试部",
"Region": "cn-beijing-6",
"ServiceStartTime": "2021-06-24T18:55:15+0800",
"SubOrderId": "HRDS2S2106241851071983J1PAF",
"SecurityGroups": [
{
"SecurityGroupId": "64236",
"SecurityGroupName": "lzs-security-group-11",
"SecurityGroupType": "IPV4"
}
],
"SupportIPV6": false,
"BillTypeId": 5
}
]
},
"RequestId": "ea06d868-3dc4-4cda-9280-7d21fb176ddb"
}
纯净模式