IoT Core Service, gRPC: RegistryService.List
Retrieves the list of registries in the specified folder.
gRPC request
rpc List (ListRegistriesRequest) returns (ListRegistriesResponse)
ListRegistriesRequest
{
"folder_id": "string",
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
folder_id |
string Required field. ID of the folder to list registries in. To get a folder ID make a yandex.cloud.resourcemanager.v1.FolderService.List request. |
page_size |
int64 The maximum number of results per page that should be returned. If the number of available |
page_token |
string Page token. To get the next page of results, set |
ListRegistriesResponse
{
"registries": [
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"status": "Status",
"log_group_id": "string",
"log_options": {
"disabled": "bool",
// Includes only one of the fields `log_group_id`, `folder_id`
"log_group_id": "string",
"folder_id": "string",
// end of the list of possible fields
"min_level": "Level"
}
}
],
"next_page_token": "string"
}
Field |
Description |
registries[] |
List of registries. |
next_page_token |
string Token for getting the next page of the list. If the number of results is greater than Each subsequent page will have its own |
Registry
A registry. For more information, see Registry.
Field |
Description |
id |
string ID of the registry. |
folder_id |
string ID of the folder that the registry belongs to. |
created_at |
Creation timestamp. |
name |
string Name of the registry. The name is unique within the folder. |
description |
string Description of the registry. 0-256 characters long. |
labels |
object (map<string, string>) Resource labels as |
status |
enum Status Status of the registry.
|
log_group_id |
string ID of the logs group for the specified registry. |
log_options |
Options for logging registry events |
LogOptions
Field |
Description |
disabled |
bool Is logging from registry disabled. |
log_group_id |
string Entry should be written to log group resolved by ID. Includes only one of the fields Log entries destination. |
folder_id |
string Entry should be written to default log group for specified folder. Includes only one of the fields Log entries destination. |
min_level |
enum Level Minimum log entry level. See LogLevel.Level for details.
|