Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Functions
  • Comparison with other Yandex Cloud services
    • All guides
    • Using functions to get an IAM token for a service account
    • Connecting to managed databases from functions
    • Viewing operations with service resources
  • Tools
  • Pricing policy
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • Getting a list of operations
  • Getting detailed information about an operation
  1. Step-by-step guides
  2. Viewing operations with service resources

Viewing operations with Cloud Functions resources

Written by
Yandex Cloud
Updated at May 5, 2025
  • Getting a list of operations
  • Getting detailed information about an operation

All actions with Cloud Functions resources are logged as a list of operations. Each operation gets its own unique ID.

Getting a list of operationsGetting a list of operations

Management console
CLI
API

You can get a list of operations for a specific resource. The steps below describe how you can do this for a function. The same steps apply to other Cloud Functions resources.

  1. In the management console, open the folder with the function.

  2. Select Cloud Functions.

  3. In the left-hand panel, select Functions.

  4. Select the function you need.

  5. Go to the Operations panel for the selected zone.

    You will see a list of operations with the selected function.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

To get a list of operations for a Cloud Functions resource, run this command:

yc serverless <resource_type> list-operations <resource_name_or_ID>

Example

Getting a list of operations for a function:

yc serverless function list-operations epdplu8jn7sr********

Result:

+----------------------+---------------------+----------------------+---------------------+--------+-----------------+
|          ID          |     CREATED AT      |      CREATED BY      |     MODIFIED AT     | STATUS |   DESCRIPTION   |
+----------------------+---------------------+----------------------+---------------------+--------+-----------------+
| d4e952nebqdb******** | 2024-06-19 08:33:11 | aje9k8luj4qf******** | 2024-06-19 08:33:12 | DONE   | Create session  |
| d4elh7hqnj7g******** | 2024-06-19 08:33:04 | aje9k8luj4qf******** | 2024-06-19 08:33:04 | DONE   | Create function |
+----------------------+---------------------+----------------------+---------------------+--------+-----------------+

By default, information about operations is output as text. To get detailed information, specify the yaml or json output data format using the --format flag:

yc serverless function list-operations <resource_name_or_ID> --format yaml

Result:

- id: d4e952nebqdb********
  description: Create session
  created_at: "2024-06-19T08:33:11.658Z"
  created_by: aje9k8luj4qf********
  modified_at: "2024-06-19T08:33:12.345Z"
  done: true
  metadata:
    '@type': type.googleapis.com/google.protobuf.Empty
    value: {}
  response:
    '@type': type.googleapis.com/google.protobuf.Empty
    value: {}
...

Use the listOperations REST API method for the relevant resource or the <service>/ListOperations gRPC API call.

For example, for a function, use either the listOperations REST API method for the Function resource or the FunctionService/ListOperations gRPC API call.

Getting detailed information about an operationGetting detailed information about an operation

  1. Get a list of operations for the resource.

  2. Copy the operation ID.

  3. Get detailed information about the operation:

    CLI
    API

    If you do not have the Yandex Cloud CLI yet, install and initialize it.

    The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

    Run this command:

    yc operation get <operation_ID>
    

    Result:

      id: d4elh7hqnj7g********
      description: Create function
      created_at: "2024-06-19T08:33:04.513Z"
      created_by: aje9k8luj4qf********
      modified_at: "2024-06-19T08:33:04.665Z"
      done: true
      metadata:
        '@type': type.googleapis.com/yandex.cloud.serverless.functions.v1.CreateFunctionMetadata
        function_id: d4e3f75v8kti********
      response:
        '@type': type.googleapis.com/yandex.cloud.serverless.functions.v1.Function
        id: d4e3f75v8kti********
        folder_id: b1g681qpemb4********
        created_at: "2024-06-19T08:33:04.587Z"
        name: my-db-function
        http_invoke_url: https://functions.yandexcloud.net/d4e3f75v8kti********
        status: ACTIVE
    

    Use the OperationService/Get gRPC API call.

See alsoSee also

  • Working with operations

Was the article helpful?

Previous
Deleting a trigger
Next
Overview
© 2025 Direct Cursus Technology L.L.C.