Updates the settings of common switches.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:UpdateCommonSwitchConfig |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
No |
The type of the switch. Note
You can call the ListClientUserDefineRules or ListSystemClientRules operation to obtain the type from the response parameter SwitchId. |
USER-DEFINE-RULE-SWITCH-TYPE_190**** |
| TargetDefault |
string |
No |
Specifies whether to turn on the switch for newly added servers. Valid values:
|
add |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
655B538A-A31B-58F2-A3FB-2EF4390D**** |
Examples
Success response
JSON format
{
"RequestId": "655B538A-A31B-58F2-A3FB-2EF4390D****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.