Skip to main content

ack trigger

Manage ACK application redeploy triggers

Run ecctl ack trigger <action> -h for usage, or ecctl schema ack.trigger.<action> --full for the complete, agent-readable spec of every parameter and behavior.

create

ecctl ack trigger create [flags]

Create trigger

  • Kind: mutation · Risk: medium
APIWhen calledPurpose
CreateTriggerEvery time the command runs.Perform the resource operation.
ParameterTypeRequiredDescription
--actionstringtrigger action
--clusterstringACK cluster ID
--projectstringtrigger project in namespace/name form
--regionstringAlibaba Cloud region
--typestringtrigger type

delete

ecctl ack trigger delete <id> [flags]

Delete trigger

  • Kind: mutation · Risk: high
APIWhen calledPurpose
DeleteTriggerEvery time the command runs.Perform the resource operation.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--regionstringAlibaba Cloud region

get

ecctl ack trigger get <id> [flags]

Get trigger details

  • Kind: read · Risk: low
APIWhen calledPurpose
DescribeTriggerEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--namestringapplication name
--namespacestringapplication namespace
--regionstringAlibaba Cloud region
--actionstringtrigger action
--fieldsstringcomma-separated resource fields to include
--typestringtrigger type

list

ecctl ack trigger list [flags]

List triggers for an ACK application

  • Kind: read · Risk: low
APIWhen calledPurpose
DescribeTriggerEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--namestringapplication name
--namespacestringapplication namespace
--regionstringAlibaba Cloud region
--actionstringtrigger action
--fieldsstringcomma-separated resource fields to include
--filterkey_valuefilter expression key=value
--typestringtrigger type