全部文档
当前文档

暂无内容

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

文档中心

变更数据库实例规格

最近更新时间:2023-10-11 17:40:47

ModifyDBInstanceSpec 变更数据库实例规格

请求参数

英文名称 中文名称 类型 是否必须 备注
Action 调用接口名称 String 取固定值:ModifyDBInstanceSpec
Version API版本号 String 取固定值:2016-07-01
DBInstanceIdentifier 实例Id String
Mem 内存规格 Integer
Disk 磁盘规格 Integer

返回值

英文名称 中文名称 类型 备注
RequestId 请求ID String
DBInstance RDS实例信息 DBInstance

请求示例

http://krds.api.ksyun.com?Action=ModifyDBInstanceSpec&Version=2016-07-01&DBInstanceIdentifier=af82c47e-d1e9-4e8e-91dd-951d535b3209&Disk=5&Mem=2

示例返回

{
    "Data": {
        "Instances": [
            {
                "DBInstanceClass": {
                    "Id": "RDSOpenAPI_43e19b9291d6b519",
                    "Iops": 1200,
                    "Vcpus": 1,
                    "Disk": 5,
                    "Ram": 1,
                    "Mem": 1,
                    "MaxConn": 200
                },
                "DBInstanceIdentifier": "af82c47e-d1e9-4e8e-91dd-951d535b3209",
                "DBInstanceName": "KingSoft_Test",
                "DBInstanceStatus": "MODIFYING_SPEC",
                "DBInstanceType": "HRDS",
                "DBParameterGroupId": "d401a14a-9048-466d-a3a3-a47aa97c324f",
                "PreferredBackupTime": "00:00-01:00",
                "GroupId": "b91a58d0-2400-483e-8a70-a6e442cc5531",
                "Vip": "10.0.1.7",
                "Port": 3306,
                "Engine": "mysql",
                "EngineVersion": "8.0",
                "InstanceCreateTime": "2021-08-31T11:16:52+0800",
                "MasterUserName": "admin",
                "DatastoreVersionId": "9699c2fc-ea14-4de4-9d75-bf81023c86f1",
                "VpcId": "530b5d42-1c88-4ea0-adad-1993c9902751",
                "SubnetId": "953b854b-099c-41dd-9f4f-18f31ccb3936",
                "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.8330078,
                "InnerAzCode": "cn-beijing-6a",
                "Audit": true,
                "ReadReplicaDBInstanceIdentifiers": [],
                "ProductId": "a6b58ad8-0177-492d-b9e6-a47d1a95552c",
                "ProductWhat": 1,
                "ProjectId": 0,
                "ProjectName": "默认项目",
                "Region": "cn-beijing-6",
                "ServiceStartTime": "2021-08-31T11:16:52+0800",
                "SubOrderId": "HRDS2S2108311108439001C1X4A",
                "SecurityGroups": [],
                "SupportIPV6": false,
                "BillTypeId": 5
            }
        ]
    },
    "RequestId": "0956b610-6a4d-42d2-b100-5d3637581721"
}
文档导读
纯净模式常规模式

纯净模式

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