最近更新时间:2021-10-14 10:42:10
修改实例的实例名,或mysql管理员账户密码,或自动备份时间,或参数组。
英文名称 | 中文名称 | 类型 | 是否必须 | 备注 |
---|---|---|---|---|
Action | 调用接口名称 | String | 是 | 取固定值:ModifyDBInstance |
Version | API版本号 | String | 是 | 取固定值:2016-07-01 |
DBInstanceIdentifier | 实例Id | String | 是 | |
DBInstanceName | 实例新名称 | String | 否 | 不超过256个字节,仅支持中文、大小写字母、数字、减号和下划线 |
MasterUserPassword | 数据库用户密码 | String | 否 | 8-30个字符,必须包含大小写字母和数字,支持的特殊字符为!@#$%^&*()_+=- |
PreferredBackupTime | 自动备份发起时间范围 | String | 否 | 格式(hh:mm-hh:mm,如:01:00-02:00) |
DBParameterGroupId | 租户的参数组id或者是官方的默认参数组id | String | 否 | 租户的参数组id或者是官方的默认参数组id |
英文名称 | 中文名称 | 类型 | 备注 |
---|---|---|---|
RequestId | 请求ID | String | – |
DBInstance | RDS实例信息 | DBInstance | – |
http://krds.api.ksyun.com/?Action=ModifyDBInstance&DBInstanceIdentifier=e122560f-5400-4f50-b913-5f1f6ae781d0&DBInstanceName=test_202107291429
{
"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": 2.0058594,
"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": "020b1c0b-386a-4101-a8a0-54a5ae7e5ac7"
}
纯净模式