Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • Машинное обучение
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Истории успеха
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Документация
  • Блог
Проект Яндекса
© 2025 ООО «Яндекс.Облако»
Yandex Managed Service for OpenSearch
  • Начало работы
  • Управление доступом
  • Правила тарификации
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
        • Backup
        • DeleteBackup
        • Restore
        • RescheduleMaintenance
        • ListBackups
        • Move
        • Start
        • Stop
        • ListLogs
        • StreamLogs
        • ListOperations
        • ListHosts
        • AddOpenSearchNodeGroup
        • DeleteOpenSearchNodeGroup
        • UpdateOpenSearchNodeGroup
        • AddDashboardsNodeGroup
        • DeleteDashboardsNodeGroup
        • UpdateDashboardsNodeGroup
        • GetAuthSettings
        • UpdateAuthSettings
        • RestartOpenSearch
        • SwitchMaster
  • Метрики Monitoring
  • Аудитные логи Audit Trails
  • Публичные материалы
  • История изменений
  • Вопросы и ответы

В этой статье:

  • HTTP request
  • Path parameters
  • Response
  • StartClusterMetadata
  • Status
  • Cluster
  • Monitoring
  • ClusterConfig
  • OpenSearch
  • NodeGroup
  • Resources
  • DiskSizeAutoscaling
  • OpenSearchConfigSet2
  • OpenSearchConfig2
  • Dashboards
  • NodeGroup
  • Access
  • SnapshotManagement
  • SnapshotSchedule
  • HourlySnapshotSchedule
  • DailySnapshotSchedule
  • WeeklySnapshotSchedule
  • MaintenanceWindow
  • WeeklyMaintenanceWindow
  • MaintenanceOperation
  1. Справочник API
  2. REST (англ.)
  3. Cluster
  4. Start

Managed Service for OpenSearch API, REST: Cluster.Start

Статья создана
Yandex Cloud
Обновлена 18 апреля 2025 г.
  • HTTP request
  • Path parameters
  • Response
  • StartClusterMetadata
  • Status
  • Cluster
  • Monitoring
  • ClusterConfig
  • OpenSearch
  • NodeGroup
  • Resources
  • DiskSizeAutoscaling
  • OpenSearchConfigSet2
  • OpenSearchConfig2
  • Dashboards
  • NodeGroup
  • Access
  • SnapshotManagement
  • SnapshotSchedule
  • HourlySnapshotSchedule
  • DailySnapshotSchedule
  • WeeklySnapshotSchedule
  • MaintenanceWindow
  • WeeklyMaintenanceWindow
  • MaintenanceOperation

Starts the specified OpenSearch cluster.

HTTP requestHTTP request

POST https://mdb.api.cloud.yandex.net/managed-opensearch/v1/clusters/{clusterId}:start

Path parametersPath parameters

Field

Description

clusterId

string

Required field. ID of the OpenSearch cluster to start.
To get the cluster ID, use a ClusterService.List request.

ResponseResponse

HTTP Code: 200 - OK

{
  "id": "string",
  "description": "string",
  "createdAt": "string",
  "createdBy": "string",
  "modifiedAt": "string",
  "done": "boolean",
  "metadata": {
    "clusterId": "string"
  },
  // Includes only one of the fields `error`, `response`
  "error": {
    "code": "integer",
    "message": "string",
    "details": [
      "object"
    ]
  },
  "response": {
    "id": "string",
    "folderId": "string",
    "createdAt": "string",
    "name": "string",
    "description": "string",
    "labels": "object",
    "environment": "string",
    "monitoring": [
      {
        "name": "string",
        "description": "string",
        "link": "string"
      }
    ],
    "config": {
      "version": "string",
      "opensearch": {
        "plugins": [
          "string"
        ],
        "nodeGroups": [
          {
            "name": "string",
            "resources": {
              "resourcePresetId": "string",
              "diskSize": "string",
              "diskTypeId": "string"
            },
            "hostsCount": "string",
            "zoneIds": [
              "string"
            ],
            "subnetIds": [
              "string"
            ],
            "assignPublicIp": "boolean",
            "roles": [
              "string"
            ],
            "diskSizeAutoscaling": {
              "plannedUsageThreshold": "string",
              "emergencyUsageThreshold": "string",
              "diskSizeLimit": "string"
            }
          }
        ],
        // Includes only one of the fields `opensearchConfigSet_2`
        "opensearchConfigSet_2": {
          "effectiveConfig": {
            "maxClauseCount": "string",
            "fielddataCacheSize": "string",
            "reindexRemoteWhitelist": "string"
          },
          "userConfig": {
            "maxClauseCount": "string",
            "fielddataCacheSize": "string",
            "reindexRemoteWhitelist": "string"
          },
          "defaultConfig": {
            "maxClauseCount": "string",
            "fielddataCacheSize": "string",
            "reindexRemoteWhitelist": "string"
          }
        },
        // end of the list of possible fields
        "keystoreSettings": [
          "string"
        ]
      },
      "dashboards": {
        "nodeGroups": [
          {
            "name": "string",
            "resources": {
              "resourcePresetId": "string",
              "diskSize": "string",
              "diskTypeId": "string"
            },
            "hostsCount": "string",
            "zoneIds": [
              "string"
            ],
            "subnetIds": [
              "string"
            ],
            "assignPublicIp": "boolean",
            "diskSizeAutoscaling": {
              "plannedUsageThreshold": "string",
              "emergencyUsageThreshold": "string",
              "diskSizeLimit": "string"
            }
          }
        ]
      },
      "access": {
        "dataTransfer": "boolean",
        "serverless": "boolean"
      },
      "snapshotManagement": {
        "snapshotSchedule": {
          // Includes only one of the fields `hourlySnapshotSchedule`, `dailySnapshotSchedule`, `weeklySnapshotSchedule`
          "hourlySnapshotSchedule": {
            "minute": "string"
          },
          "dailySnapshotSchedule": {
            "hour": "string",
            "minute": "string"
          },
          "weeklySnapshotSchedule": {
            "day": "string",
            "hour": "string",
            "minute": "string"
          }
          // end of the list of possible fields
        },
        "snapshotMaxAgeDays": "string"
      }
    },
    "networkId": "string",
    "health": "string",
    "status": "string",
    "securityGroupIds": [
      "string"
    ],
    "serviceAccountId": "string",
    "deletionProtection": "boolean",
    "maintenanceWindow": {
      // Includes only one of the fields `anytime`, `weeklyMaintenanceWindow`
      "anytime": "object",
      "weeklyMaintenanceWindow": {
        "day": "string",
        "hour": "string"
      }
      // end of the list of possible fields
    },
    "plannedOperation": {
      "info": "string",
      "delayedUntil": "string",
      "latestMaintenanceTime": "string",
      "nextMaintenanceWindowTime": "string"
    }
  }
  // end of the list of possible fields
}

An Operation resource. For more information, see Operation.

Field

Description

id

string

ID of the operation.

description

string

Description of the operation. 0-256 characters long.

createdAt

string (date-time)

Creation timestamp.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

createdBy

string

ID of the user or service account who initiated the operation.

modifiedAt

string (date-time)

The time when the Operation resource was last modified.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

done

boolean

If the value is false, it means the operation is still in progress.
If true, the operation is completed, and either error or response is available.

metadata

StartClusterMetadata

Service-specific metadata associated with the operation.
It typically contains the ID of the target resource that the operation is performed on.
Any method that returns a long-running operation should document the metadata type, if any.

error

Status

The error result of the operation in case of failure or cancellation.

Includes only one of the fields error, response.

The operation result.
If done == false and there was no failure detected, neither error nor response is set.
If done == false and there was a failure detected, error is set.
If done == true, exactly one of error or response is set.

response

Cluster

The normal response of the operation in case of success.
If the original method returns no data on success, such as Delete,
the response is google.protobuf.Empty.
If the original method is the standard Create/Update,
the response should be the target resource of the operation.
Any method that returns a long-running operation should document the response type, if any.

Includes only one of the fields error, response.

The operation result.
If done == false and there was no failure detected, neither error nor response is set.
If done == false and there was a failure detected, error is set.
If done == true, exactly one of error or response is set.

StartClusterMetadataStartClusterMetadata

Field

Description

clusterId

string

ID of the OpenSearch cluster being started.

StatusStatus

The error result of the operation in case of failure or cancellation.

Field

Description

code

integer (int32)

Error code. An enum value of google.rpc.Code.

message

string

An error message.

details[]

object

A list of messages that carry the error details.

ClusterCluster

An OpenSearch cluster resource.

Field

Description

id

string

ID of the OpenSearch cluster.
This ID is assigned by the platform at the moment of cluster creation.

folderId

string

ID of the folder that the OpenSearch cluster belongs to.

createdAt

string (date-time)

Time when the cluster was created.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

name

string

Name of the OpenSearch cluster.
The name is unique within the folder. 1-63 characters long.

description

string

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

labels

object (map<string, string>)

Custom labels for the OpenSearch cluster as key:value pairs.
Maximum 64 labels per resource.

environment

enum (Environment)

Deployment environment of the OpenSearch cluster.

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

monitoring[]

Monitoring

Description of monitoring systems relevant to the OpenSearch cluster.

config

ClusterConfig

Configuration of the OpenSearch cluster.

networkId

string

ID of the cloud network that the cluster belongs to.

health

enum (Health)

Aggregated cluster health.

  • HEALTH_UNKNOWN: Health of the cluster is unknown (Host.health for every host in the cluster is UNKNOWN).
  • ALIVE: Cluster is working normally (Host.health for every host in the cluster is ALIVE).
  • DEAD: Cluster is inoperable (Host.health for every host in the cluster is DEAD).
  • DEGRADED: Cluster is working below capacity (Host.health for at least one host 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 has encountered a problem and cannot operate.
  • UPDATING: Cluster is being updated.
  • STOPPING: Cluster is stopping.
  • STOPPED: Cluster has stopped.
  • STARTING: Cluster is starting.

securityGroupIds[]

string

User security groups.

serviceAccountId

string

ID of the service account used to access Object Storage.

deletionProtection

boolean

Determines whether the cluster is protected from being deleted.

maintenanceWindow

MaintenanceWindow

Cluster maintenance window. Should be defined by either one of the two options.

plannedOperation

MaintenanceOperation

Maintenance operation planned at nearest maintenanceWindow.

MonitoringMonitoring

Monitoring system metadata.

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 OpenSearch cluster.

ClusterConfigClusterConfig

The OpenSearch cluster configuration.

Field

Description

version

string

Version of the OpenSearch server software.

opensearch

OpenSearch

OpenSearch configuration.

dashboards

Dashboards

Dashboards configuration.

access

Access

Access policy for external services.

snapshotManagement

SnapshotManagement

Snapshot management configuration

OpenSearchOpenSearch

The OpenSearch host group type configuration.

Field

Description

plugins[]

string

Names of the cluster plugins.

nodeGroups[]

NodeGroup

Host groups of the OpenSearch type.

opensearchConfigSet_2

OpenSearchConfigSet2

Includes only one of the fields opensearchConfigSet_2.

keystoreSettings[]

string

Keystore entries names.

NodeGroupNodeGroup

Configuration of the host group.

Field

Description

name

string

Name of the group. Must be 1-63 characters long.

resources

Resources

Resources allocated to the hosts.

hostsCount

string (int64)

Number of hosts in the group.

zoneIds[]

string

IDs of the availability zones the hosts belong to.

subnetIds[]

string

IDs of the subnets that the hosts belong to.

assignPublicIp

boolean

Determines whether a public IP is assigned to the hosts in the group.

roles[]

enum (GroupRole)

Roles of the host group.

  • GROUP_ROLE_UNSPECIFIED
  • DATA
  • MANAGER

diskSizeAutoscaling

DiskSizeAutoscaling

Disk size autoscaling settings

ResourcesResources

A list of computational resources allocated to a host.

Field

Description

resourcePresetId

string

ID of the preset for computational resources allocated to a host.

diskSize

string (int64)

Volume of the storage used by the host, in bytes.

diskTypeId

string

Type of the storage used by the host: network-hdd, network-ssd or local-ssd.

DiskSizeAutoscalingDiskSizeAutoscaling

Field

Description

plannedUsageThreshold

string (int64)

Amount of used storage for automatic disk scaling in the maintenance window, 0 means disabled, in percent.

emergencyUsageThreshold

string (int64)

Amount of used storage for immediately automatic disk scaling, 0 means disabled, in percent.

diskSizeLimit

string (int64)

Limit on how large the storage for database instances can automatically grow, in bytes.

OpenSearchConfigSet2OpenSearchConfigSet2

Field

Description

effectiveConfig

OpenSearchConfig2

Required field.

userConfig

OpenSearchConfig2

defaultConfig

OpenSearchConfig2

OpenSearchConfig2OpenSearchConfig2

Field

Description

maxClauseCount

string (int64)

the maximum number of allowed boolean clauses in a query

fielddataCacheSize

string

the percentage or absolute value (10%, 512mb) of heap space that is allocated to fielddata

reindexRemoteWhitelist

string

DashboardsDashboards

The Dashboards host group type configuration.

Field

Description

nodeGroups[]

NodeGroup

Host groups of the Dashboards type.

NodeGroupNodeGroup

Field

Description

name

string

Name of the group. 1-63 characters long.

resources

Resources

Resources allocated to the hosts.

hostsCount

string (int64)

Number of hosts in the group.

zoneIds[]

string

IDs of the availability zones the hosts belong to.

subnetIds[]

string

IDs of the subnets that the hosts belong to.

assignPublicIp

boolean

Determines whether a public IP is assigned to the hosts in the group.

diskSizeAutoscaling

DiskSizeAutoscaling

Disk size autoscaling settings

AccessAccess

Access policy for external services.

Field

Description

dataTransfer

boolean

Determines whether the access to Data Transfer is allowed.

serverless

boolean

Determines whether the access to Serverless is allowed.

SnapshotManagementSnapshotManagement

Snapshot management configuration

Field

Description

snapshotSchedule

SnapshotSchedule

Snapshot creation schedule

snapshotMaxAgeDays

string (int64)

Snapshot max age in days

SnapshotScheduleSnapshotSchedule

Snapshot creation schedule

Field

Description

hourlySnapshotSchedule

HourlySnapshotSchedule

Hourly based snapshot schedule

Includes only one of the fields hourlySnapshotSchedule, dailySnapshotSchedule, weeklySnapshotSchedule.

dailySnapshotSchedule

DailySnapshotSchedule

Daily based snapshot schedule

Includes only one of the fields hourlySnapshotSchedule, dailySnapshotSchedule, weeklySnapshotSchedule.

weeklySnapshotSchedule

WeeklySnapshotSchedule

Weekly based snapshot schedule

Includes only one of the fields hourlySnapshotSchedule, dailySnapshotSchedule, weeklySnapshotSchedule.

HourlySnapshotScheduleHourlySnapshotSchedule

Hourly based snapshot schedule

Field

Description

minute

string (int64)

The minute of the hour at which the backup should be created.

DailySnapshotScheduleDailySnapshotSchedule

Daily based snapshot schedule

Field

Description

hour

string (int64)

The hour of the day in UTC timezone at which the backup should be created.

minute

string (int64)

The minute of the hour at which the backup should be created.

WeeklySnapshotScheduleWeeklySnapshotSchedule

Weekly based snapshot schedule

Field

Description

day

enum (WeekDay)

Day of the week

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

hour

string (int64)

The hour of the day in UTC timezone at which the backup should be created.

minute

string (int64)

The minute of the hour at which the backup should be created.

MaintenanceWindowMaintenanceWindow

An OpenSearch cluster maintenance window. Should be defined by either one of the two options.

Field

Description

anytime

object

An any-time maintenance window.

Includes only one of the fields anytime, weeklyMaintenanceWindow.

weeklyMaintenanceWindow

WeeklyMaintenanceWindow

A weekly maintenance window.

Includes only one of the fields anytime, weeklyMaintenanceWindow.

WeeklyMaintenanceWindowWeeklyMaintenanceWindow

A weekly maintenance window.

Field

Description

day

enum (WeekDay)

Day of the week.

  • WEEK_DAY_UNSPECIFIED
  • MON: Monday
  • TUE: Tuesday
  • WED: Wednesday
  • THU: Thursday
  • FRI: Friday
  • SAT: Saturday
  • SUN: Sunday

hour

string (int64)

Hour of the day in the UTC timezone.

MaintenanceOperationMaintenanceOperation

Field

Description

info

string

The description of the operation.

delayedUntil

string (date-time)

Delay time for the maintenance operation.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

latestMaintenanceTime

string (date-time)

Time of the last maintenance window.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

nextMaintenanceWindowTime

string (date-time)

Time of the next maintenance window.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

Была ли статья полезна?

Предыдущая
Move
Следующая
Stop
Проект Яндекса
© 2025 ООО «Яндекс.Облако»