Bir veya daha fazla ECS örneğinde Çalışıyor durumundaki bir Cloud Assistant komutunu durdurur.
Operation description
İşlem açıklaması
Tek seferlik bir komutu durdurduktan sonra, komutu çalıştırmaya başlamış olan örnekler komutu çalıştırmaya devam eder ve komutu çalıştırmaya başlamamış olan örnekler komutu çalıştırmaz.
Dönemsel bir komutu durdurduktan sonra, komutu çalıştırmaya başlamış olan örnekler komutu çalıştırmaya devam eder, ancak komut bir sonraki döngüde çalıştırılmaz.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:StopInvocation |
update |
Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
Bölge kimliği. En son bölge listesini sorgulamak için DescribeRegions API'sini çağırabilirsiniz. |
cn-hangzhou |
| InvokeId |
string |
Yes |
Komut çalıştırma kimliği. Tüm InvokeId değerlerini sorgulamak için DescribeInvocations API'sini çağırabilirsiniz. |
t-7d2a745b412b4601b2d47f6a768d**** |
| InstanceId |
array |
No |
Komutu durdurmak istediğiniz örneklerin kimlikleri. En fazla 50 örnek kimliği belirtebilirsiniz. N için geçerli değerler: 1 ila 50. |
i-bp67acfmxazb4p**** |
|
string |
No |
Komutu durdurmak istediğiniz örneklerin kimlikleri. En fazla 50 örnek kimliği belirtebilirsiniz. N için geçerli değerler: 1 ila 50. |
i-bp67acfmxazb4p**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
İstek kimliği. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RegionId.ApiNotSupported | The api is not supported in this region. | |
| 500 | InternalError.Dispatch | An error occurred when you dispatched the request. | |
| 403 | InvalidParameterCharacter | The specified parameter %s contains illegal characters. | |
| 403 | InstanceIds.ExceedLimit | The number of instance IDs exceeds the upper limit. | |
| 403 | Operation.Forbidden | The operation is not permitted. | |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | |
| 404 | InvalidInvokeId.NotFound | The specified invoke ID does not exist. | |
| 404 | InvalidInstanceId.NotFound | The specified parameter InstanceId does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.