Belirtilen kaynakları anında veya planlanan bir zamanda toplu olarak yeniden dağıtır.
Operation description
Bu O&M işlemi şu anda yalnızca şu olay türlerini destekler: Instance:SystemFailure.Redeploy (sistem hataları nedeniyle örnek yeniden dağıtımı) ve Instance:SystemMaintenance.Redeploy (sistem bakımı nedeniyle örnek yeniden dağıtımı).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:BatchEventRedeployInstance |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EventInfos |
array<object> |
No |
Olay listesi. |
|
|
object |
No |
Olay. |
||
| EventId |
string |
No |
Sistem olayı kimliği. |
e-d71ff150945b9c02eb6ebc0016328468 |
| ResourceId |
string |
No |
Kaynak kimliği. |
i-55qi8m11rr53c4i964md8a00l |
| PlanTime |
integer |
No |
Planlanan çalıştırma zamanı. Değer, milisaniye cinsinden bir zaman damgasıdır. OpsType scheduled olarak ayarlandığında bu parametre zorunludur. Valid values:
|
immediate |
| OpsType |
string |
No |
O&M görev türü. Geçerli değerler:\n\n- immediate: Anında çalıştırma.\n- scheduled: Planlı çalıştırma. |
1742452232000 |
| PlanUtcTime |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt parametreleri. |
||
| RequestId |
string |
İstek kimliği. |
125B04C7-3D0D-4245-AF96-14E3758E3F06 |
| Results |
array<object> |
Sonuç listesi. |
|
|
object |
Sonuç. |
||
| Code |
integer |
Durum kodu. |
200 |
| EventId |
string |
Sistem olayı kimliği. |
e-d71ff150945b9c02eb6ebc0016328468 |
| Message |
string |
İşlem mesajı. Kod 200 olduğunda mesaj başarılıdır. |
success |
| ResourceId |
string |
Kaynak kimliği. |
i-55qi8m11rr53c4i964md8a00l |
Examples
Success response
JSON format
{
"RequestId": "125B04C7-3D0D-4245-AF96-14E3758E3F06",
"Results": [
{
"Code": 200,
"EventId": "e-d71ff150945b9c02eb6ebc0016328468",
"Message": "success",
"ResourceId": "i-55qi8m11rr53c4i964md8a00l\n"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.