DeregisterManagedInstance_云服务器 ECS_API文档

Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Quotas Info

The current API request rate is 1000/60(s).

Authorization Information

The following table shows the authorization information corresponding to this API, which can be used in the Action policy element to grant a RAM user or RAM role the permissions to call the API. Please use RAM to set up these permissions and refer to RAM documentation for more instructions.

Description:View Details...

ActionsAccess levelResource typeCondition keyAssociated operation
ecs:DeregisterManagedInstance
Update
Instance
acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}
NoneNone

Request Parameters

Field NameField Details
RegionIdstring

The region ID. Supported regions: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu), China (Hong Kong), Singapore, Japan (Tokyo), US (Silicon Valley), and US (Virginia).View Details...

Example:cn-hangzhouReference Value Source:
    DescribeRegions
InstanceIdstring

The managed instance ID.

Example:mi-hz01axdfas****Reference Value Source:
    RunInstances
    StopInstances
    StartInstances
    CreateInstance
    RebootInstances
    DescribeInstances
    ModifyManagedInstance
    RenewReservedInstances
    AttachInstanceRamRole
    DetachInstanceRamRole
    PurchaseReservedInstancesOffering

Response Parameters

Field NameField Details
RequestIdstring

The request ID.

Example:4ECEEE12-56F1-4FBC-9AB1-890F74942176
Instanceobject

Details of the managed instances.

Sample Response

Error Codes

Global Error Codes
HTTP Status CodeError CodesError MessageActions
400
RegionId.ApiNotSupported
The api is not supported in this region.Diagnose
403
Operation.Forbidden
The operation is not permitted.Diagnose
404
InvalidRegionId.NotFound
The RegionId provided does not exist in our records.Diagnose
404
InvalidInstance.NotFound
The specified instance id does not exist.Diagnose
500
InternalError.Dispatch
An error occurred when you dispatched the request.Diagnose

Change History

Change timeChange content summaryoperation
2023-11-23
changeresponse parameters
2022-02-25
addError code 403
changeError code 404

Examples