Configuring an Automatic Minor Version Upgrade Policy for a DB Instance (RDS for PostgreSQL)
Function
This API is used to configure an automatic minor version upgrade policy for a DB instance.
- Before calling this API, learn how to authenticate it.
- Before calling this API, learn about request header parameters.
URI
- Parameter description
Table 1 Parameters Parameter
Mandatory
Type
Description
project_id
Yes
String
Definition
Project ID of a tenant in a region.
To obtain the value, see Obtaining a Project ID.
Constraints
The value cannot be empty.
Range
N/A
Default Value
N/A
instance_id
Yes
String
Definition
Instance ID.
Constraints
The value cannot be empty.
Range
N/A
Default Value
N/A
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
switch_option |
Yes |
Boolean |
Definition Whether to enable automatic minor version upgrade. Constraints N/A Range
Default Value N/A |
Example Request
Enable automatic minor version upgrade for a DB instance.
{ "switch_option" : true }
Response
- Normal response
Table 3 Parameters Parameter
Type
Description
resp
String
Definition
Response result.
Range
N/A
- Example normal response
{ "resp" : "successful" }
- Abnormal response
For details, see Abnormal Request Results.
Status Code
- Normal
- Abnormal
For details, see Status Codes.
Error Code
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot