Updates gateway configurations.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UpdateGatewayConfig |
update |
*Gateway
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GatewayUniqueId |
string |
Yes |
The unique ID of the gateway. |
gw-b525dc1adf3c486ab96224a6346***** |
| ConfigName |
string |
Yes |
The configuration name of the parameter. Valid values:
|
EnableK8sSourceWorkloadFilter |
| ConfigValue |
string |
Yes |
The configuration value of the parameter. Examples:
|
{"enable":true,"filterOpt":"EQUAL","labelKey":"key","labelValue":"value"} |
| AcceptLanguage |
string |
No |
The language in which you want to display the results. Valid values: zh (default): Chinese. en: English. |
zh |
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
RestResult |
||
| RequestId |
string |
The request ID. |
AF21683A-29C7-4853-AC0F-B5ADEE4D**** |
Examples
Success response
JSON format
{
"RequestId": "AF21683A-29C7-4853-AC0F-B5ADEE4D****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.