Modifies the advanced configurations.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
PUT /openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
instanceId | string | Yes | The instance ID. | ha-cn-2r42ostoc01 |
configName | string | Yes | The configuration name. | ha-cn-zvp2ou1h801_online_config_edit |
fileName | string | Yes | The name of the file. | /qrs.json |
body | object | No | The request body. | |
content | string | No | The file content. | "ha3" |
variables | object | No | The variables. | |
object | No | The variable information. | ||
disableModify | boolean | No | Specifies whether the variable is not allowed to be modified. | false |
isModify | boolean | No | Specifies whether the variable is modified. | false |
value | string | No | The variable value. | "" |
description | string | No | The description of the variable. | "" |
templateValue | string | No | The template value of the variable. | "" |
type | string | No | The variable type. Valid values:
| NORMAL |
funcValue | object | No | The function variables. | |
funcClassName | string | No | The class name of the function variable. | "" |
template | string | No | The template of the function variable. | "" |
Response parameters
Sample responses
Sample success responses
{
"requestId": "65911539-5a8b-4bce-96a5-4d608900dc46",
"result": []
}
For more information, see Response structure.
Examples
Sample success responses
JSON
format
{
"requestId": "93A9E542-8CF8-5BA6-99AB-94C0FE520429",
"result": {}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-01-12 | Add Operation | View Change Details |