升级数据库引擎版本

最近更新时间:2019-05-28 15:15:30

UpgradeDBInstanceEngineVersion 升级数据库引擎版本

请求参数

英文名称 中文名称 类型 是否必须 备注
Action 调用接口名称 String 取固定值:UpgradeDBInstanceEngineVersion
Version API版本号 String 取固定值:2016-07-01
DBInstanceIdentifier 实例Id String
Engine 实例中数据库引擎的名称 String 区分大小写、取值范围:mysql、percona
EngineVersion 实例中数据库引擎的版本 String 取值范围:5.5、5.6、5.7

返回值

英文名称 中文名称 类型 备注
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_bb0b4cbff280227c",
            "Disk": 15,
            "Ram": 1
        },
        "DBInstanceIdentifier": "e241cd9f-c38c-467f-8b5e-2463c1e38b77",
        "DBSource": {
            "DBInstanceIdentifier": "61409224-d626-4359-a173-1c80538d4cab",
            "DBInstanceName": "krds_20170309155954",
            "PointInTime": "2017-03-10T00:00:00+0800"
        },
        "DBInstanceName": "krds_20170309155954_20170310000000",
        "DBInstanceStatus": "MODIFYING_TYPE",
        "DBInstanceType": "TEMP",
        "DBParameterGroupId": "f79e9e87-7602-4c97-b5f9-fdebe828e23f",
        "GroupId": "b1ce7501-fa67-4004-b4f3-acd81920e486",
        "SecurityGroupId": "2645",
        "Vip": "10.0.1.131",
        "Port": 3306,
        "Engine": "mysql",
        "EngineVersion": "5.6",
        "InstanceCreateTime": "2017-03-10T16:19:54+0800",
        "MasterUserName": "master",
        "DatastoreVersionId": "bbecae24-e321-41ca-858a-f48937acbebc",
        "Region": "cn-shanghai-3",
        "VpcId": "c808395d-8c93-4974-8991-e9b4647bd003",
        "SubnetId": "4a2843ed-c562-4958-bcbd-b2699abc70ee",
        "PubliclyAccessible": true,
        "ReadReplicaDBInstanceIdentifiers": [],
        "PMALink": "krds-pma-shpbsvpc.console.ksyun.com/b6b99a26-59ef-48d5-9d22-6e0170951918",
        "BillType": "YEAR_MONTH",
        "ProductId": "743d670a-707c-4546-9dd7-ac2f82d02e31",
        "ServiceEndTime": "2017-03-13T23:59:59.000+08:00",
        "DiskUsed": 0.27148438
    }]
    },
    "RequestId": "4648540391553350599"
}

金山云,开启您的云计算之旅

注册有礼