Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
Yandex Serverless Containers
  • Comparison with other Yandex Cloud services
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Getting an IAM token for a service account using a container
    • Getting information about a container
    • Managing rights to access a container
    • Creating a container
    • Invoking a container
    • Managing a container
    • Getting information about a trigger
    • Creating a trigger
    • Managing triggers
      • Updating a trigger
      • Viewing monitoring charts
      • Deleting a trigger
  • Concepts
  • Practical guidelines
  • Access management
  • Pricing policy
  • Containers API reference
  • API Triggers reference
  • Questions and answers
  1. Step-by-step instructions
  2. Managing triggers
  3. Deleting a trigger

Deleting a trigger in Serverless Containers

Written by
Yandex Cloud
    Management console
    CLI
    API
    1. In the management console, select the folder containing your trigger.
    2. Open Serverless Containers.
    3. On the left-hand panel, select Triggers.
    4. Select the trigger you want to update.
    5. In the upper-right corner of the page, click Delete.
    6. In the window that opens, click Delete.

    If you don't have the Yandex Cloud command line interface yet, install and initialize it.

    The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name or --folder-id parameter.

    To find out the name or unique ID of a trigger, get a list of triggers in the folder.

    Delete the trigger:

    yc serverless trigger delete <trigger_name>
    

    Result:

    id: a1s5msktij**********
    folder_id: b1gmit33hg**********
    created_at: "2022-10-24T15:19:15.353909857Z"
    name: timer-test
    rule:
      timer:
        cron_expression: 5 10 ? * * *
        invoke_container_with_retry:
          container_id: bba5jb38o8**********
          service_account_id: aje03adgd2**********
          retry_settings:
            retry_attempts: "1"
            interval: 10s
          dead_letter_queue:
            queue-id: yrn:yc:ymq:ru-central1:b1gmit33ng**********:dlq
            service-account-id: aje3lebfem**********
    status: PAUSED
    

    You can delete a trigger using the delete API method.

    Was the article helpful?

    Language / Region
    Yandex project
    © 2023 Yandex.Cloud LLC