Mengirim body paket ke eksekusi tugas pemicu event, pemicu alarm, atau pemicu timer, yang menyebabkan tugas event, alarm, atau timer membuat eksekusi anak baru.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:TriggerExecution |
update |
*execution
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. |
cn-hangzhou |
| ExecutionId |
string |
Yes |
ID eksekusi EventTrigger, AlarmTrigger, atau TimerTrigger target. |
exec-sadw3f23rsad |
| Type |
string |
Yes |
Tipe pemicu. Nilai valid:
|
Event |
| Content |
string |
No |
Body paket yang akan dikirim ke tugas pemicu. |
{"eventTime": "20181226T220114.058+0800", "id": "9435EAD6-3CF6-4494-8F7A-3A********77","level": "INFO","name": "Instance:StateChange","product": "ECS","regionId":"Wilayah","resourceId": "acs:ecs:Wilayah:169070********30:instance/i-bp1ecr********5go2go","userId": "169070********30","ver": "1.0","content": {"resourceId": "i-bp1ecr********5go2go", "resourceType": "ALIYUN::ECS::Instance","state": "Stopping"} } |
| ClientToken |
string |
No |
Token untuk memastikan idempotensi. |
dswe2-3i0-029 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
14A07460-EBE7-47CA-9757-12CC4761D47A |
Contoh
Respons sukses
JSONformat
{
"RequestId": "14A07460-EBE7-47CA-9757-12CC4761D47A"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.