Applying a Parameter Template
Function
This API is used to apply a parameter template to one or more DB instances.
Constraints
- This API supports the following DB instances:
- GaussDB(for Cassandra)
- GaussDB(for Mongo) cluster 3.4 and replica set 4.0
- GaussDB(for Influx)
- This API is an asynchronous API. A successful response does not indicate that the parameter template is successfully applied.
URI
Requests
- Parameter description
Table 2 Parameter description Name
Mandatory
Type
Description
instance_ids
Yes
Array of strings
Specifies the instance IDs.
- Request header
PUT https://GaussDB NoSQL_Endpoint/v3/{project_id}/configurations/{config_id}/apply - Example request
{ "instance_ids": ["73ea2bf70c73497f89ee0ad4ee008aa2in06"] }
Responses
- Parameter description
Table 3 Parameter description Name
Type
Description
job_id
String
Indicates the asynchronous task ID of the application parameter template.
success
Boolean
Indicates whether the parameter template application task is successfully submitted.
- If the value is true, the task is successfully submitted.
- If the value is false, the task fails to be submitted.
- Response example
{ "job_id": "69cb9fc2-441d-40b0-8b03-388e711b0f17", "success": false }
Status Code
For more information, see Status Code.
Error Code
For more information, see Error Code.
Last Article: Modifying Parameters in a Parameter Template
Next Article: Modifying Parameters of a Specified DB Instance
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.