Changes a resource from managed mode to unmanaged mode.
Operation description
-
Applies only to managed Global Accelerator (GA) instances.
-
After a GA instance is changed to unmanaged mode, you cannot revert it to managed mode.
-
After a GA instance is changed to unmanaged mode, you obtain full operation permissions on the instance.
Warning Modifying or deleting a configuration on an unmanaged GA instance may cause dependent cloud services to malfunction. Proceed with caution.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:UpdateServiceManagedControl |
update |
*Accelerator
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the GA instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| ClientToken |
string |
No |
The client token that ensures the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the value of RequestId as the value of ClientToken. The request ID may be different for each request. |
123e4567**** |
| ResourceType |
string |
Yes |
The type of the resource whose control mode you want to change. Set the value to Accelerator, which indicates a standard GA instance. |
Accelerator |
| ResourceId |
string |
Yes |
The ID of the resource whose control mode you want to change. |
ga-bp149u6o36qt1as9b**** |
| ServiceManaged |
boolean |
No |
The control mode of the resource. Set the value to false to change the resource from managed mode to unmanaged mode. Note
You can change the control mode only from managed mode to unmanaged mode. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
B7770CB9-9745-4FE5-9EDA-D14B01A12A50 |
Examples
Success response
JSON format
{
"RequestId": "B7770CB9-9745-4FE5-9EDA-D14B01A12A50"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NotSupportResourceType.ServiceManaged | Only accelerator resource type is supported. | Only specific resource types can be accelerated. |
| 400 | NotSupportServiceManagedMode.ServiceManaged | Only unmanaged mode is supported. | You can only unmanage the resource. |
| 400 | ResourceNotManaged.ServiceManaged | The instance %s is not yet managed. | The current resource %s is not managed. |
| 400 | NoPermissionResourceUnmanaged.ServiceManaged | You do not have permission to cancel service managed mode for %s. | You are not authorized to unmanage the current instance. |
| 400 | NoPermission.ServiceManaged | You do not have permission to %s %s in the service managed instance. | You do not have the permissions to %s %s the managed instance. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.