Updates the settings of the canary release feature for agent upgrade. If you want to use the feature, contact technical support.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:UpdatePublishGraySwitch |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GraySwitchStatus |
integer |
Yes |
Specifies whether to enable the canary release feature. Valid values:
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
231A8A81-CBB4-5AB3-A624-98A501****** |
Examples
Success response
JSON format
{
"RequestId": "231A8A81-CBB4-5AB3-A624-98A501******"
}
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.