Süresi dolmuş veya ödenmemiş borç nedeniyle geri dönüşüme alınmış bir kullandıkça öde ECS örneğini yeniden başlatır.
Operation description
Kullandıkça öde bir örnek için gecikmiş faturayı ödedikten sonra, örneği etkinleştirmek için bu işlemi çağırmanıza gerek yoktur. Sistem, örneği otomatik olarak yeniden başlatır ve ödenmemiş borçtan önceki durumuna geri yükler. Otomatik yeniden başlatmalar zaman zaman başarısız olabilir. Otomatik yeniden başlatmanın başarılı olup olmadığını kontrol edin. Otomatik yeniden başlatma başarısız olursa, örneği el ile yeniden başlatmak için bu işlemi çağırın.
-
Örneğin süresi dolmuş (
Stopped) durumunda olması gerekir. -
Güvenlik nedenleriyle kilitlenen örnekler, bu işlem çağrılarak başlatılamaz. Daha fazla bilgi için Kaynak güvenlik kilitlerinin API çağrıları üzerindeki etkisi konusuna bakın.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:ReActivateInstances |
update |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
Örneğin bölge kimliği. En son bölge listesini sorgulamak için DescribeRegions işlemini çağırabilirsiniz. |
cn-hangzhou |
| InstanceId |
string |
Yes |
Yeniden başlatmak istediğiniz örneğin kimliği. |
i-bp67acfmxazb4p**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
İstek kimliği. |
51AB7717-6E1A-4D1D-A44D-54CB123ABC |
Examples
Success response
JSON format
{
"RequestId": "51AB7717-6E1A-4D1D-A44D-54CB123ABC"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ReopenInstance.InstanceNotEnoughBalance | Reopen instance must have enough account balance. | The account balance is insufficient. |
| 400 | ReopenInstance.ImageNotEnoughBalance | Reopen instance must have enough cash balance. | |
| 400 | ReopenInstance.InstanceStatusNotValid | Instance status is not Expired, ImageExpired or EcsAndImageExpired. | The instance cannot be restarted because the instance or its image has expired. |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | IncorrectInstanceStatus | The current status of the resource does not support this operation. | |
| 403 | InstanceLockedForSecurity | The specified operation is denied as your instance is locked for security reasons. | The instance is locked for security reasons. Contact security technical support. |
| 403 | InsufficientBalance | Your account does not have enough balance. | |
| 404 | InvalidInstanceId.NotFound | The specified InstanceId does not exist. | The specified instanceId is invalid. |
| 404 | InvalidPayType.NotSupport | The specified pre pay instance not support. | Subscription instances do not support the operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.