Call the ModifyDBNodeTemporarySpec API to temporarily upgrade the configuration of an instance.
Asynchronous request.
Temporary specification upgrade is currently an invitational feature, and there are still a small number of experience optimization points. These optimization points will not affect the normal operation of the instance. If your business has special requirements for this feature, please submit a workorderto apply for access.
Name | Type | Required | Example | Description |
|---|---|---|---|---|
InstanceId | String | Yes | mysql-db6d920e**** | Instance ID. |
NodeInfo | Object[] | Yes | Refer to the request example. | Node configuration change information of the instance. |
NodeId | String | No | mysql-050b3e08****-r6e25 | Node ID. tip It is not required to pass in when creating an instance or adding a new node, and it is required to pass in when changing the node configuration or deleting a node. |
NodeType | String | Yes | Primary | Node type, with the following values:
tip
|
NodeSpec | String | Yes | rds.mysql.1c2g | Node Specifications. For detailed information about node specifications, please refer to Product Specifications. tip
|
ZoneId | String | Yes | cn-beijing-a | The availability zone where the node is located can be queried by calling the DescribeAvailabilityZones interface. It must be passed when creating an instance and adding a new node, and it may not be passed when changing the node configuration or deleting a node. tip
|
NodeOperateType | String | No | Modify | Operation type. It is not required to be passed in when creating an instance, but is required to be passed in when modifying the node configuration. Value range:
tip
|
RollbackTime | String | Yes | 2024-10-16T03:59:10.000Z | The restore time for the temporary upgrade. The restore time can be set to any time between 5 to 30 days after the current time. The time format is yyyy-MM-ddTHH:mm:ss.sssZ(UTC time). |
SwitchType | String | No | MaintainTime | Execution time, options:
tip
|
RequestSource | String | No | EventType_Web | The source of the request. Valid values:
|
EstimateOnly | Boolean | No | true | Whether to initiate a configuration change evaluation. Valid values:
tip If initiated, the configuration change evaluation will be performed based on the specifications determined by other fields, but no actual configuration change will be executed. After initiating the evaluation, the |
SpecifiedSwitchStartTime | String | No | 2024-12-25T14:00:00Z | The start time of the specified time period for execution. The time format is tip This parameter is required when |
SpecifiedSwitchEndTime | String | No | 2024-12-25T15:59:00Z | The end time of the specified time period for execution. The time format is tip
|
Name | Type | Example | Description |
|---|---|---|---|
InstanceId | String | mysql-db6d920e**** | Instance ID. |
OrderId | String | Order71220115095297**** | Order ID. tip This field returns empty when |
EstimationResult | Object | Refer to the response example. | The estimated impact on the instance after the configuration change based on the current settings. tip This field is not returned when |
Plans | String[] | [
"AddNode"
] | Estimated impact on the instance after configuration changes based on current settings. Possible values:
|
Effects | String[] | [
"ReadWriteConnectionTransientError",
"ReadOnlyConnectionTransientError"
] | Estimated impact on instance read/write connections after configuration changes based on current settings. Possible values:
|
POST /?Action=ModifyDBNodeTemporarySpec&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host: rds-mysql.cn-beijing.volcengineapi.com X-Date: 20211202T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_mysql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458**** { "InstanceId": "mysql-66347599****", "NodeInfo": [ { "NodeId": "mysql-66347599****-rd49e", "ZoneId": "cn-beijing-a", "NodeType": "ReadOnly", "NodeSpec": "rds.mysql.d1.n.2c8g", "NodeOperateType": "Modify" } ], "RollbackTime": "2024-11-28T10:59:10.000Z" }
{ "ResponseMetadata": { "RequestId": "2024112020583642C7DB9CF0747D184FAA-f990a2", "Action": "ModifyDBNodeTemporarySpec", "Version": "2022-01-01", "Service": "rds_mysql", "Region": "cn-beijing" }, "Result": { "InstanceId": "mysql-c9b0dce8****", "OrderId": "Order2180008796437128674" } }
For more details, refer to Error codes.