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
    • Start testing with double trial credits
    • 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 Managed Service for Elasticsearch
  • Getting started
  • Access management
  • Pricing policy
  • CLI reference
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
        • Move
        • Start
        • Stop
        • Backup
        • ListBackups
        • Restore
        • ListLogs
        • StreamLogs
        • ListOperations
        • ListHosts
        • AddHosts
        • DeleteHosts
        • RescheduleMaintenance
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ

In this article:

  • gRPC request
  • ListClustersRequest
  • ListClustersResponse
  • Cluster
  • Monitoring
  • ClusterConfig
  • Elasticsearch
  • DataNode
  • ElasticsearchConfigSet7
  • ElasticsearchConfig7
  • Resources
  • MasterNode
  • MaintenanceWindow
  • AnytimeMaintenanceWindow
  • WeeklyMaintenanceWindow
  • MaintenanceOperation
  1. API reference
  2. gRPC
  3. Cluster
  4. List

Managed Service for Elasticsearch API, gRPC: ClusterService.List

Written by
Yandex Cloud
Updated at December 17, 2024
  • gRPC request
  • ListClustersRequest
  • ListClustersResponse
  • Cluster
  • Monitoring
  • ClusterConfig
  • Elasticsearch
  • DataNode
  • ElasticsearchConfigSet7
  • ElasticsearchConfig7
  • Resources
  • MasterNode
  • MaintenanceWindow
  • AnytimeMaintenanceWindow
  • WeeklyMaintenanceWindow
  • MaintenanceOperation

Retrieves the list of Elasticsearch clusters that belong to the specified folder.

gRPC requestgRPC request

rpc List (ListClustersRequest) returns (ListClustersResponse)

ListClustersRequestListClustersRequest

{
  "folder_id": "string",
  "page_size": "int64",
  "page_token": "string",
  "filter": "string"
}

Field

Description

folder_id

string

Required field. ID of the folder to list Elasticsearch clusters in.

To get the folder ID, make a yandex.cloud.resourcemanager.v1.FolderService.List request.

page_size

int64

The maximum number of results per page to return.
If the number of available results is larger than page_size, the service returns a ListClustersResponse.next_page_token that can be used to get the next page of results in subsequent list requests.

page_token

string

Page token.
To get the next page of results, set page_token to the ListClustersResponse.next_page_token returned by the previous list request.

filter

string

A filter expression that filters resources listed in the response.

The expression must specify:

  1. The field name to filter by. Currently you can only use filtering with the Cluster.name field.
  2. An = operator.
  3. The value in double quotes ("). Must be 1-63 characters long and match the regular expression [a-zA-Z0-9_-]+.

Example of a filter: name NOT IN 'test,beta'.

ListClustersResponseListClustersResponse

{
  "clusters": [
    {
      "id": "string",
      "folder_id": "string",
      "created_at": "google.protobuf.Timestamp",
      "name": "string",
      "description": "string",
      "labels": "map<string, string>",
      "environment": "Environment",
      "monitoring": [
        {
          "name": "string",
          "description": "string",
          "link": "string"
        }
      ],
      "config": {
        "version": "string",
        "elasticsearch": {
          "data_node": {
            // Includes only one of the fields `elasticsearch_config_set_7`
            "elasticsearch_config_set_7": {
              "effective_config": {
                "max_clause_count": "google.protobuf.Int64Value",
                "fielddata_cache_size": "string",
                "reindex_remote_whitelist": "string",
                "reindex_ssl_ca_path": "string"
              },
              "user_config": {
                "max_clause_count": "google.protobuf.Int64Value",
                "fielddata_cache_size": "string",
                "reindex_remote_whitelist": "string",
                "reindex_ssl_ca_path": "string"
              },
              "default_config": {
                "max_clause_count": "google.protobuf.Int64Value",
                "fielddata_cache_size": "string",
                "reindex_remote_whitelist": "string",
                "reindex_ssl_ca_path": "string"
              }
            },
            // end of the list of possible fields
            "resources": {
              "resource_preset_id": "string",
              "disk_size": "int64",
              "disk_type_id": "string"
            }
          },
          "master_node": {
            "resources": {
              "resource_preset_id": "string",
              "disk_size": "int64",
              "disk_type_id": "string"
            }
          },
          "plugins": [
            "string"
          ]
        },
        "edition": "string"
      },
      "network_id": "string",
      "health": "Health",
      "status": "Status",
      "security_group_ids": [
        "string"
      ],
      "service_account_id": "string",
      "deletion_protection": "bool",
      "maintenance_window": {
        // Includes only one of the fields `anytime`, `weekly_maintenance_window`
        "anytime": "AnytimeMaintenanceWindow",
        "weekly_maintenance_window": {
          "day": "WeekDay",
          "hour": "int64"
        }
        // end of the list of possible fields
      },
      "planned_operation": {
        "info": "string",
        "delayed_until": "google.protobuf.Timestamp"
      }
    }
  ],
  "next_page_token": "string"
}

Field

Description

clusters[]

Cluster

List of Elasticsearch clusters.

next_page_token

string

Token that allows you to get the next page of results for list requests.

If the number of results is larger than ListClustersRequest.page_size, use next_page_token as the value
for the ListClustersRequest.page_token parameter in the next list request.
Each subsequent list request will have its own next_page_token to continue paging through the results.

ClusterCluster

An Elasticsearch cluster resource.
For more information, see the Concepts section of the documentation.

Field

Description

id

string

ID of the Elasticsearch cluster.
This ID is assigned at creation time.

folder_id

string

ID of the folder that the Elasticsearch cluster belongs to.

created_at

google.protobuf.Timestamp

Creation timestamp.

name

string

Name of the Elasticsearch cluster.
The name must be unique within the folder. 1-63 characters long.

description

string

Description of the Elasticsearch cluster. 0-256 characters long.

labels

object (map<string, string>)

Custom labels for the Elasticsearch cluster as key:value pairs.
A maximum of 64 labels per resource is allowed.

environment

enum Environment

Deployment environment of the Elasticsearch cluster.

  • ENVIRONMENT_UNSPECIFIED
  • PRODUCTION: Stable environment with a conservative update policy when only hotfixes are applied during regular maintenance.
  • PRESTABLE: Environment with a more aggressive update policy when new versions are rolled out irrespective of backward compatibility.

monitoring[]

Monitoring

Description of monitoring systems relevant to the Elasticsearch cluster.

config

ClusterConfig

Configuration of the Elasticsearch cluster.

network_id

string

ID of the network that the cluster belongs to.

health

enum Health

Aggregated cluster health.

  • HEALTH_UNKNOWN: State of the cluster is unknown (Host.health of all hosts in the cluster is UNKNOWN).
  • ALIVE: Cluster is alive and well (Host.health of all hosts in the cluster is ALIVE).
  • DEAD: Cluster is inoperable (Host.health of all hosts in the cluster is DEAD).
  • DEGRADED: Cluster is in degraded state (Host.health of at least one of the hosts in the cluster is not ALIVE).

status

enum Status

Current state of the cluster.

  • STATUS_UNKNOWN: Cluster state is unknown.
  • CREATING: Cluster is being created.
  • RUNNING: Cluster is running normally.
  • ERROR: Cluster encountered a problem and cannot operate.
  • UPDATING: Cluster is being updated.
  • STOPPING: Cluster is stopping.
  • STOPPED: Cluster stopped.
  • STARTING: Cluster is starting.

security_group_ids[]

string

User security groups

service_account_id

string

ID of the service account used for access to Object Storage.

deletion_protection

bool

Deletion Protection inhibits deletion of the cluster

maintenance_window

MaintenanceWindow

Window of maintenance operations.

planned_operation

MaintenanceOperation

Maintenance operation planned at nearest maintenance_window.

MonitoringMonitoring

Metadata of monitoring system.

Field

Description

name

string

Name of the monitoring system.

description

string

Description of the monitoring system.

link

string

Link to the monitoring system charts for the Elasticsearch cluster.

ClusterConfigClusterConfig

Field

Description

version

string

Elasticsearch version.

elasticsearch

Elasticsearch

Configuration and resource allocation for Elasticsearch nodes.

edition

string

ElasticSearch edition.

ElasticsearchElasticsearch

Field

Description

data_node

DataNode

Configuration and resource allocation for Elasticsearch data nodes.

master_node

MasterNode

Configuration and resource allocation for Elasticsearch master nodes.

plugins[]

string

Cluster wide plugins

DataNodeDataNode

Field

Description

elasticsearch_config_set_7

ElasticsearchConfigSet7

Elasticsearch 7.x data node configuration.

Includes only one of the fields elasticsearch_config_set_7.

resources

Resources

Resources allocated to Elasticsearch data nodes.

ElasticsearchConfigSet7ElasticsearchConfigSet7

Elasticsearch 7.x data node configuration.

Field

Description

effective_config

ElasticsearchConfig7

Required field. Effective settings for an Elasticsearch cluster (a combination of settings defined in user_config and default_config).

user_config

ElasticsearchConfig7

User-defined settings for an Elasticsearch cluster.

default_config

ElasticsearchConfig7

Default settings for an Elasticsearch cluster.

ElasticsearchConfig7ElasticsearchConfig7

Elasticsearch 7.x supported configuration options are listed here.

Detailed description for each set of options is available in Elasticsearch documentation.

Any options that are not listed here are not supported.

Field

Description

max_clause_count

google.protobuf.Int64Value

The maximum number of clauses a boolean query can contain.

The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
It affects not only Elasticsearch's bool query, but many other queries that are implicitly converted to bool query by Elastcsearch.

Default value: 1024.

See in-depth description in Elasticsearch documentation.

fielddata_cache_size

string

The maximum percentage or absolute value (10%, 512mb) of heap space that is allocated to field data cache.

All the field values that are placed in this cache, get loaded to memory in order to provide fast document based access to those values.
Building the field data cache for a field can be an expensive operations, so its recommended to have enough memory for this cache, and to keep it loaded.

Default value: unbounded.

See in-depth description in Elasticsearch documentation.

reindex_remote_whitelist

string

Remote hosts for reindex have to be explicitly allowed in elasticsearch.yml using the reindex.remote.whitelist property.
It can be set to a comma delimited list of allowed remote host and port combinations.
Scheme is ignored, only the host and port are used.

reindex_ssl_ca_path

string

List of paths to PEM encoded certificate files that should be trusted.

See in-depth description in Elasticsearch documentation

ResourcesResources

Computational resources.

Field

Description

resource_preset_id

string

ID of the preset for computational resources available to a host (CPU, memory etc.).
All available presets are listed in the documentation.

disk_size

int64

Volume of the storage available to a host, in bytes.

disk_type_id

string

Type of the storage environment for the host.
All available types are listed in the documentation.

MasterNodeMasterNode

Field

Description

resources

Resources

Resources allocated to Elasticsearch master nodes.

MaintenanceWindowMaintenanceWindow

Field

Description

anytime

AnytimeMaintenanceWindow

Includes only one of the fields anytime, weekly_maintenance_window.

weekly_maintenance_window

WeeklyMaintenanceWindow

Includes only one of the fields anytime, weekly_maintenance_window.

AnytimeMaintenanceWindowAnytimeMaintenanceWindow

Field

Description

Empty

WeeklyMaintenanceWindowWeeklyMaintenanceWindow

Field

Description

day

enum WeekDay

  • WEEK_DAY_UNSPECIFIED
  • MON
  • TUE
  • WED
  • THU
  • FRI
  • SAT
  • SUN

hour

int64

Hour of the day in UTC.

MaintenanceOperationMaintenanceOperation

Field

Description

info

string

delayed_until

google.protobuf.Timestamp

Was the article helpful?

Previous
Get
Next
Create
© 2025 Direct Cursus Technology L.L.C.