restart_db_instance
Restart an Alibaba Cloud RDS instance immediately, during a maintenance window, or at a scheduled time.
Instructions
Restart an RDS instance.
Args:
region_id (str): The region ID of the RDS instance.
dbinstance_id (str): The ID of the RDS instance.
effective_time (str, optional): When to restart the instance. Options:
- Immediate: Restart immediately
- MaintainTime: Restart during maintenance window
- ScheduleTime: Restart at specified time
Default: Immediate
switch_time (str, optional): The scheduled restart time in format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
Required when effective_time is ScheduleTime.
client_token (str, optional): Idempotency token, max 64 ASCII characters.
Returns:
Dict[str, Any]: Response containing the request ID.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region_id | Yes | ||
| dbinstance_id | Yes | ||
| effective_time | No | Immediate | |
| switch_time | No | ||
| client_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |