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
  • Публичные материалы
  • История изменений
  • Вопросы и ответы

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

  • gRPC request
  • RescheduleMaintenanceRequest
  • operation.Operation
  • RescheduleMaintenanceMetadata
  • Cluster
  • Monitoring
  • ClusterConfig
  • OpenSearch
  • NodeGroup
  • Resources
  • DiskSizeAutoscaling
  • OpenSearchConfigSet2
  • OpenSearchConfig2
  • Dashboards
  • NodeGroup
  • Access
  • SnapshotManagement
  • SnapshotSchedule
  • HourlySnapshotSchedule
  • DailySnapshotSchedule
  • WeeklySnapshotSchedule
  • MaintenanceWindow
  • AnytimeMaintenanceWindow
  • WeeklyMaintenanceWindow
  • MaintenanceOperation
  1. Справочник API
  2. gRPC (англ.)
  3. Cluster
  4. RescheduleMaintenance

Managed Service for OpenSearch API, gRPC: ClusterService.RescheduleMaintenance

Статья создана
Yandex Cloud
Обновлена 18 апреля 2025 г.
  • gRPC request
  • RescheduleMaintenanceRequest
  • operation.Operation
  • RescheduleMaintenanceMetadata
  • Cluster
  • Monitoring
  • ClusterConfig
  • OpenSearch
  • NodeGroup
  • Resources
  • DiskSizeAutoscaling
  • OpenSearchConfigSet2
  • OpenSearchConfig2
  • Dashboards
  • NodeGroup
  • Access
  • SnapshotManagement
  • SnapshotSchedule
  • HourlySnapshotSchedule
  • DailySnapshotSchedule
  • WeeklySnapshotSchedule
  • MaintenanceWindow
  • AnytimeMaintenanceWindow
  • WeeklyMaintenanceWindow
  • MaintenanceOperation

Reschedules a planned maintenance operation.

gRPC requestgRPC request

rpc RescheduleMaintenance (RescheduleMaintenanceRequest) returns (operation.Operation)

RescheduleMaintenanceRequestRescheduleMaintenanceRequest

{
  "cluster_id": "string",
  "reschedule_type": "RescheduleType",
  "delayed_until": "google.protobuf.Timestamp"
}

Field

Description

cluster_id

string

Required field. ID of the OpenSearch cluster to reschedule the maintenance operation for.

To get the ID, use a ClusterService.List request.

reschedule_type

enum RescheduleType

Required field. The type of the reschedule request.

  • RESCHEDULE_TYPE_UNSPECIFIED: Time of the maintenance is not specified..
  • IMMEDIATE: Start the maintenance operation immediately.
  • NEXT_AVAILABLE_WINDOW: Start the maintenance operation within the next available maintenance window.
  • SPECIFIC_TIME: Start the maintenance operation at the specific time.

delayed_until

google.protobuf.Timestamp

The time until which this maintenance operation should be delayed.
The value should be ahead of the first time when the maintenance operation has been scheduled for no more than two weeks.
The value can also point to a moment in the past if reschedule_type.IMMEDIATE reschedule type is selected.

operation.Operationoperation.Operation

{
  "id": "string",
  "description": "string",
  "created_at": "google.protobuf.Timestamp",
  "created_by": "string",
  "modified_at": "google.protobuf.Timestamp",
  "done": "bool",
  "metadata": {
    "cluster_id": "string",
    "delayed_until": "google.protobuf.Timestamp"
  },
  // Includes only one of the fields `error`, `response`
  "error": "google.rpc.Status",
  "response": {
    "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",
      "opensearch": {
        "plugins": [
          "string"
        ],
        "node_groups": [
          {
            "name": "string",
            "resources": {
              "resource_preset_id": "string",
              "disk_size": "int64",
              "disk_type_id": "string"
            },
            "hosts_count": "int64",
            "zone_ids": [
              "string"
            ],
            "subnet_ids": [
              "string"
            ],
            "assign_public_ip": "bool",
            "roles": [
              "GroupRole"
            ],
            "disk_size_autoscaling": {
              "planned_usage_threshold": "int64",
              "emergency_usage_threshold": "int64",
              "disk_size_limit": "int64"
            }
          }
        ],
        // Includes only one of the fields `opensearch_config_set_2`
        "opensearch_config_set_2": {
          "effective_config": {
            "max_clause_count": "google.protobuf.Int64Value",
            "fielddata_cache_size": "string",
            "reindex_remote_whitelist": "string"
          },
          "user_config": {
            "max_clause_count": "google.protobuf.Int64Value",
            "fielddata_cache_size": "string",
            "reindex_remote_whitelist": "string"
          },
          "default_config": {
            "max_clause_count": "google.protobuf.Int64Value",
            "fielddata_cache_size": "string",
            "reindex_remote_whitelist": "string"
          }
        },
        // end of the list of possible fields
        "keystore_settings": [
          "string"
        ]
      },
      "dashboards": {
        "node_groups": [
          {
            "name": "string",
            "resources": {
              "resource_preset_id": "string",
              "disk_size": "int64",
              "disk_type_id": "string"
            },
            "hosts_count": "int64",
            "zone_ids": [
              "string"
            ],
            "subnet_ids": [
              "string"
            ],
            "assign_public_ip": "bool",
            "disk_size_autoscaling": {
              "planned_usage_threshold": "int64",
              "emergency_usage_threshold": "int64",
              "disk_size_limit": "int64"
            }
          }
        ]
      },
      "access": {
        "data_transfer": "bool",
        "serverless": "bool"
      },
      "snapshot_management": {
        "snapshot_schedule": {
          // Includes only one of the fields `hourly_snapshot_schedule`, `daily_snapshot_schedule`, `weekly_snapshot_schedule`
          "hourly_snapshot_schedule": {
            "minute": "int64"
          },
          "daily_snapshot_schedule": {
            "hour": "int64",
            "minute": "int64"
          },
          "weekly_snapshot_schedule": {
            "day": "WeekDay",
            "hour": "int64",
            "minute": "int64"
          }
          // end of the list of possible fields
        },
        "snapshot_max_age_days": "google.protobuf.Int64Value"
      }
    },
    "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",
      "latest_maintenance_time": "google.protobuf.Timestamp",
      "next_maintenance_window_time": "google.protobuf.Timestamp"
    }
  }
  // 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.

created_at

google.protobuf.Timestamp

Creation timestamp.

created_by

string

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

modified_at

google.protobuf.Timestamp

The time when the Operation resource was last modified.

done

bool

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

RescheduleMaintenanceMetadata

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

google.rpc.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.

RescheduleMaintenanceMetadataRescheduleMaintenanceMetadata

Field

Description

cluster_id

string

ID of the OpenSearch cluster where the reschedule is applied.

delayed_until

google.protobuf.Timestamp

The time until which this maintenance operation is to be delayed.

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.

folder_id

string

ID of the folder that the OpenSearch cluster belongs to.

created_at

google.protobuf.Timestamp

Time when the cluster was created.

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.

network_id

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.

security_group_ids[]

string

User security groups.

service_account_id

string

ID of the service account used to access Object Storage.

deletion_protection

bool

Determines whether the cluster is protected from being deleted.

maintenance_window

MaintenanceWindow

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

planned_operation

MaintenanceOperation

Maintenance operation planned at nearest maintenance_window.

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.

snapshot_management

SnapshotManagement

Snapshot management configuration

OpenSearchOpenSearch

The OpenSearch host group type configuration.

Field

Description

plugins[]

string

Names of the cluster plugins.

node_groups[]

NodeGroup

Host groups of the OpenSearch type.

opensearch_config_set_2

OpenSearchConfigSet2

Includes only one of the fields opensearch_config_set_2.

keystore_settings[]

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.

hosts_count

int64

Number of hosts in the group.

zone_ids[]

string

IDs of the availability zones the hosts belong to.

subnet_ids[]

string

IDs of the subnets that the hosts belong to.

assign_public_ip

bool

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

disk_size_autoscaling

DiskSizeAutoscaling

Disk size autoscaling settings

ResourcesResources

A list of computational resources allocated to a host.

Field

Description

resource_preset_id

string

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

disk_size

int64

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

disk_type_id

string

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

DiskSizeAutoscalingDiskSizeAutoscaling

Field

Description

planned_usage_threshold

int64

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

emergency_usage_threshold

int64

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

disk_size_limit

int64

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

OpenSearchConfigSet2OpenSearchConfigSet2

Field

Description

effective_config

OpenSearchConfig2

Required field.

user_config

OpenSearchConfig2

default_config

OpenSearchConfig2

OpenSearchConfig2OpenSearchConfig2

Field

Description

max_clause_count

google.protobuf.Int64Value

the maximum number of allowed boolean clauses in a query

fielddata_cache_size

string

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

reindex_remote_whitelist

string

DashboardsDashboards

The Dashboards host group type configuration.

Field

Description

node_groups[]

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.

hosts_count

int64

Number of hosts in the group.

zone_ids[]

string

IDs of the availability zones the hosts belong to.

subnet_ids[]

string

IDs of the subnets that the hosts belong to.

assign_public_ip

bool

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

disk_size_autoscaling

DiskSizeAutoscaling

Disk size autoscaling settings

AccessAccess

Access policy for external services.

Field

Description

data_transfer

bool

Determines whether the access to Data Transfer is allowed.

serverless

bool

Determines whether the access to Serverless is allowed.

SnapshotManagementSnapshotManagement

Snapshot management configuration

Field

Description

snapshot_schedule

SnapshotSchedule

Snapshot creation schedule

snapshot_max_age_days

google.protobuf.Int64Value

Snapshot max age in days

SnapshotScheduleSnapshotSchedule

Snapshot creation schedule

Field

Description

hourly_snapshot_schedule

HourlySnapshotSchedule

Hourly based snapshot schedule

Includes only one of the fields hourly_snapshot_schedule, daily_snapshot_schedule, weekly_snapshot_schedule.

daily_snapshot_schedule

DailySnapshotSchedule

Daily based snapshot schedule

Includes only one of the fields hourly_snapshot_schedule, daily_snapshot_schedule, weekly_snapshot_schedule.

weekly_snapshot_schedule

WeeklySnapshotSchedule

Weekly based snapshot schedule

Includes only one of the fields hourly_snapshot_schedule, daily_snapshot_schedule, weekly_snapshot_schedule.

HourlySnapshotScheduleHourlySnapshotSchedule

Hourly based snapshot schedule

Field

Description

minute

int64

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

DailySnapshotScheduleDailySnapshotSchedule

Daily based snapshot schedule

Field

Description

hour

int64

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

minute

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

int64

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

minute

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

AnytimeMaintenanceWindow

An any-time maintenance window.

Includes only one of the fields anytime, weekly_maintenance_window.

weekly_maintenance_window

WeeklyMaintenanceWindow

A weekly maintenance window.

Includes only one of the fields anytime, weekly_maintenance_window.

AnytimeMaintenanceWindowAnytimeMaintenanceWindow

An any-time maintenance window.

Field

Description

Empty

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

int64

Hour of the day in the UTC timezone.

MaintenanceOperationMaintenanceOperation

Field

Description

info

string

The description of the operation.

delayed_until

google.protobuf.Timestamp

Delay time for the maintenance operation.

latest_maintenance_time

google.protobuf.Timestamp

Time of the last maintenance window.

next_maintenance_window_time

google.protobuf.Timestamp

Time of the next maintenance window.

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

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