重启数据库实例

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

RebootDBInstance 重启数据库实例

重启指定的实例,包括高可用实例、只读实例及临时实例。

请求参数

英文名称 中文名称 类型 是否必须 备注
Action 调用接口名称 String 取固定值:RebootDBInstance
Version API版本号 String 取固定值:2016-07-01
DBInstanceIdentifier 实例Id String

返回值

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

请求示例

http://krds.api.ksyun.com/?Action=RebootDBInstance&Version=2016-07-01&DBInstanceIdentifier=bb2d111a-af44-41ee-b10d-754f23bc59e1

示例返回

{
    "Data": {
        "DBInstance": {
            "DBInstanceClass": {
                "Id": "RDSOpenAPI_0772c82ea87c666d",
                "Vcpus": 1,
                "Disk": 10,
                "Ram": 1
            },
            "DBInstanceIdentifier": "bb2d111a-af44-41ee-b10d-754f23bc59e1",
            "PreferredBackupWindow": 1440,
            "BackupRetentionPeriod": 30,
            "PreferredBackupTime": "02:00-03:00",
            "DBInstanceName": "test-modify-name",
            "DBInstanceStatus": "REBOOTING",
            "DBInstanceType": "HA",
            "DBParameterGroupId": "3b9aeb7b-552b-4707-92b2-15f0278bb73e",
            "GroupId": "71e2bd82-423d-41ae-a9e6-2131a447d780",
            "SecurityGroupId": "55705",
            "Vip": "10.69.59.242",
            "Port": 3306,
            "Engine": "mysql",
            "EngineVersion": "5.6",
            "InstanceCreateTime": "2018-03-20T11:03:22+0800",
            "MasterUserName": "test",
            "DatastoreVersionId": "96867ed6-6f6a-4006-bbc5-46c1f22d63a9",
            "Region": "cn-beijing-6",
            "VpcId": "0f71c616-6f5e-4f24-b809-59eb84016367",
            "PubliclyAccessible": false,
            "ReadReplicaDBInstanceIdentifiers": [
                {
                    "id": "8e706675-3e5f-4f9c-a642-c9da21744d27",
                    "Vip": "10.69.56.2",
                    "ReadReplicaDBInstanceIdentifier": "488fcb98-8706-4954-aaf8-050d79b3ea9e"
                }
            ],
            "BillType": "DAY",
            "OrderType": "REGULAR",
            "OrderSource": "OPENAPI",
            "MultiAvailabilityZone": false,
            "MasterAvailabilityZone": "cn-beijing-6b",
            "SlaveAvailabilityZone": "cn-beijing-6a",
            "ProductId": "ed8b94df-68e0-47dc-a86b-017d1426a8cd",
            "DiskUsed": 0,
            "OrderUse": "BUY",
            "ProjectId": 0,
            "ProjectName": "默认项目"
        }
    },
    "RequestId": "c43a763d-911a-4702-aede-fd3ee812795b"
}

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

注册有礼