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
--actionstring✓trigger action
--clusterstring✓ACK cluster ID
--projectstring✓trigger project in namespace/name form
--regionstring✓Alibaba 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
--clusterstring✓ACK cluster ID
--regionstring✓Alibaba 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
--clusterstring✓ACK cluster ID
--namestring✓application name
--namespacestring✓application namespace
--regionstring✓Alibaba 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
--clusterstring✓ACK cluster ID
--namestring✓application name
--namespacestring✓application namespace
--regionstring✓Alibaba Cloud region
--actionstringtrigger action
--fieldsstringcomma-separated resource fields to include
--filterkey_valuefilter expression key=value
--typestringtrigger type