Queries the configuration of a common switch.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Type | string | No | The type of the common switch. Note
You can call the ListClientUserDefineRules or ListSystemClientRules operation to obtain the switch type from the response parameter SwitchId.
| USER-DEFINE-RULE-SWITCH-TYPE_180**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "24A20733-10A0-4AF6-BE6B-E3322413****",
"Data": {
"TargetSyncStatus": "valid",
"TargetDefault": "add"
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.