Starts an instance in a dedicated cluster.
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
rds:StartDBInstance | Write |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | No | The region ID of the instance. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
DedicatedHostGroupId | string | No | The ID of the dedicated cluster. You can call the DescribeDedicatedHostGroups operation to query the ID of the dedicated cluster. NoteOnly the instances that are created in dedicated clusters are supported. | dhg-39**** |
DBInstanceId | string | Yes | The ID of the instance. You can call the DescribeDBInstances operation to query the ID of the instance. | rm-bp**** |
TargetDedicatedHostIdForMaster | string | No | The ID of the host on which the primary instance is created. Note
| dh-bp**** |
TargetDedicatedHostIdForSlave | string | No | The ID of the host on which the secondary instance is created. Note
| dh-bp**** |
TargetDedicatedHostIdForLog | string | No | The ID of the host on which the logger instance is created. Note
| dh-bp**** |
EffectiveTime | string | No | The time at which you want the change to take effect. Valid values:
Default value: MaintainTime. NoteOnly the instances that are created in dedicated clusters are supported. | Immediate |
SpecifiedTime | string | No | The custom time at which you want the change to take effect. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Note
| 2019-10-21T10:00:00Z |
TargetDBInstanceClass | string | No | The instance type of the instance. NoteOnly the instances that are created in dedicated clusters are supported. | rds.ebmhfc6.20xlarge |
EngineVersion | string | No | The database engine version of the instance. NoteOnly the instances that are created in dedicated clusters are supported. | 5.7 |
DBInstanceTransType | integer | No | The policy based on which the system migrates the data of the instance. Valid values:
NoteOnly the instances that are created in dedicated clusters are supported. | 0 |
Storage | integer | No | The storage capacity of the instance. Valid values: 5 to 2000. Unit: GB. If you do not specify this parameter, the storage capacity of the instance remains unchanged. NoteOnly the instances that are created in dedicated clusters are supported. | 1000 |
VSwitchId | string | No | The ID of the vSwitch. NoteOnly the instances that are created in dedicated clusters are supported. | vsw-**** |
ZoneId | string | No | The zone ID of the instance. NoteOnly the instances that are created in dedicated clusters are supported. | cn-hangzhou-a |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "A417FB41-A3D9-464E-AD0A-C7FE05C72E98",
"TaskId": 238028563,
"MigrationId": 740
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | InvalidStatus.Format | Specified Status is not valid |
For a list of error codes, visit the Service error codes.