Viewing operations with Yandex IoT Core resources
Warning
Yandex IoT Core is no longer available to new users.
Current users can create resources until November 1, 2026. Afterwards, the service will go read-only and cease to operate on December 1, 2026. For more information on the timing and procedure, see Service shutdown.
The system logs all actions with Yandex IoT Core resources as a list of operations. Each operation gets an ID.
Getting a list of operations
You can get a list of operations for a specific resource. The steps below describe how you can do this for a registry. The same steps apply to other resources.
-
In the management console
, open the folder the registry is in. -
Navigate to IoT Core.
-
In the left-hand panel, select
Registries. -
Select the registry.
-
Go to the
Operations panel for the selected registry.You will see a list of operations with the selected registry.
Use the listOperations REST API method for the relevant resource or the <service>/ListOperations gRPC API call.
For example, for a registry, use either the listOperations REST API method for the Registry resource or the RegistryService/ListOperations gRPC API call.
Getting operation details
-
Get the list of operations for the resource.
-
Copy the operation ID.
-
Get the operation details:
CLIAPIIf you do not have the Yandex Cloud CLI yet, install and initialize it.
The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the
yc config set folder-id <folder_ID>command. You can also specify a different folder for any command using--folder-nameor--folder-id. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.Run this command:
yc operation get <operation_ID>Result:
id: areojeqlg1bh******** description: Create device registry created_at: "2024-06-19T06:23:13.216Z" created_by: aje9k8luj4qf******** modified_at: "2024-06-19T06:23:13.265Z" done: true metadata: '@type': type.googleapis.com/yandex.cloud.iot.devices.v1.CreateRegistryMetadata registry_id: aresm2hpmh4s******** response: '@type': type.googleapis.com/yandex.cloud.iot.devices.v1.Registry id: aresm2hpmh4s******** folder_id: b1g681qpemb4******** created_at: "2024-06-19T06:23:13.245974425Z" name: my-registry status: ACTIVE log_options: folder_id: b1g681qpemb4********Use the OperationService/Get gRPC API call.