Yandex Cloud
Поиск
Связаться с экспертомПопробовать бесплатно
  • Кейсы
  • Документация
  • Блог
  • Все сервисы
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Neurosupport
    • Yandex Cloud Detection and Response
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • GOST Gateway
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • SourceCraft
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • Статус работы сервисов
  • Marketplace
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Yandex Cloud Trust
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Кейсы
  • Документация
  • Блог
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Yandex BareMetal
    • Все инструкции
    • Обзор сервиса
    • Интеграции с другими сервисами Yandex Cloud
      • Обзор
      • Готовые конфигурации серверов
      • Своя конфигурация сервера
      • Конфигурация сервера по запросу
      • Обзор
      • Extend: Virtualization
      • Extend: Yandex Cloud Stackland
      • Extend: Managed Service for Kubernetes®
      • Обзор
      • Публичная сеть
      • Приватная сеть
      • DHCP
      • MC-LAG
      • Ограничения в сетях BareMetal
      • Обзор
      • Образы
      • Управление доступом
      • Дополнительные настройки серверов
      • Консоль управления
        • Аутентификация в API
            • Overview
              • Overview
                • Overview
                • GetStacklandCluster
                • ListStacklandClusters
                • CreateStacklandCluster
                • UpdateStacklandCluster
                • DeleteStacklandCluster
                • GetStacklandClusterConfigs
                • ListStacklandClusterOperations
      • Метрики Monitoring
    • Квоты и лимиты
  • Правила тарификации
  • История изменений
  • Вопросы и ответы

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

  • HTTP request
  • Path parameters
  • Response
  • StacklandHostRoles
  • NodeGroup
  • Node
  • StacklandSubdomains
  • BastionSpec
  • LockboxSecret
  • StacklandClusterSettings
  1. Концепции
  2. Настройка и управление
  3. Справочник API
  4. API v2
  5. REST (англ.)
  6. Extend API
  7. StacklandCluster
  8. GetStacklandCluster

Extend API, REST: StacklandCluster.GetStacklandCluster

Статья создана
Yandex Cloud
Обновлена 1 сентября 2026 г.
Открыть в Markdown
  • HTTP request
  • Path parameters
  • Response
  • StacklandHostRoles
  • NodeGroup
  • Node
  • StacklandSubdomains
  • BastionSpec
  • LockboxSecret
  • StacklandClusterSettings

Gets Stackland cluster by it's id.

HTTP requestHTTP request

GET https://baremetal.api.cloud.yandex.net/v2/clouds/{cloudId}/folders/{folderId}/extend/stacklandClusters/{stacklandClusterId}

Path parametersPath parameters

Field

Description

cloudId

string

Required field. ID of the parent cloud.

folderId

string

Required field. ID of the parent folder.

stacklandClusterId

string

Required field. ID of the cluster to retrieve.

ResponseResponse

HTTP Code: 200 - OK

{
  "stacklandClusterId": "string",
  "cloudId": "string",
  "folderId": "string",
  "name": "string",
  "description": "string",
  "state": "string",
  "createTime": "string",
  "updateTime": "string",
  "annotations": "object",
  "hardwarePoolId": "string",
  "preset": "string",
  "hostRoles": {
    "controlplane": [
      {
        "configurationId": "string",
        "nodeCount": "string",
        "nodes": [
          {
            "serverId": "string",
            "configurationId": "string",
            "managementIpAddress": "string",
            "hostname": "string"
          }
        ],
        "serverIds": [
          "string"
        ]
      }
    ],
    "combined": [
      {
        "configurationId": "string",
        "nodeCount": "string",
        "nodes": [
          {
            "serverId": "string",
            "configurationId": "string",
            "managementIpAddress": "string",
            "hostname": "string"
          }
        ],
        "serverIds": [
          "string"
        ]
      }
    ],
    "worker": [
      {
        "configurationId": "string",
        "nodeCount": "string",
        "nodes": [
          {
            "serverId": "string",
            "configurationId": "string",
            "managementIpAddress": "string",
            "hostname": "string"
          }
        ],
        "serverIds": [
          "string"
        ]
      }
    ]
  },
  "bastionNode": {
    "serverId": "string",
    "configurationId": "string",
    "managementIpAddress": "string",
    "hostname": "string"
  },
  "subnetId": "string",
  "cidr": "string",
  "version": "string",
  "license": "string",
  "credentialsLockboxSecretId": "string",
  "configurationUrl": "string",
  "virtualIp": "string",
  "clusterDomain": "string",
  "subdomains": {
    "console": "string",
    "dashboard": "string",
    "grafana": "string",
    "prometheus": "string",
    "alertmanager": "string"
  },
  "bastionSpec": {
    // Includes only one of the fields `sshPublicKeyText`, `userSshId`
    "sshPublicKeyText": "string",
    "userSshId": "string",
    // end of the list of possible fields
    // Includes only one of the fields `passwordPlainText`, `passwordLockboxSecret`
    "passwordPlainText": "string",
    "passwordLockboxSecret": {
      "secretId": "string",
      "versionId": "string",
      "key": "string"
    }
    // end of the list of possible fields
  },
  "settings": {
    "publicNetworkAccess": "string"
  }
}

Field

Description

stacklandClusterId

string

ID of the cluster.

cloudId

string

ID of the cloud that the cluster belongs to.

folderId

string

ID of the folder that the cluster belongs to.

name

string

Name of the cluster.
The display name is unique within the folder.

description

string

Description of the server.

state

enum (State)

State of the cluster.

  • CREATING: Cluster is being created.
  • UPDATING: Cluster is being updated.
  • RUNNING: Cluster is running.
  • DELETING: Cluster is being deleted.
  • ERROR: Cluster is in error state.

createTime

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).

updateTime

string (date-time)

Update 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).

annotations

object (map<string, string>)

Resource labels as key:value pairs.

The maximum string length in characters for each value is 63. The string length in characters for each key must be 1-63. Each key must match the regular expression [a-z][-_0-9a-z]*. Each value must match the regular expression [-_0-9a-z]*. No more than 64 per resource.

hardwarePoolId

string

ID of the hardware pool that the cluster belongs to.

preset

enum (StacklandPreset)

Preset of the cluster.

  • MINIMAL: Minimal preset.
  • FULL: Full preset.

hostRoles

StacklandHostRoles

Which node types are to be used for cluster roles.

bastionNode

Node

Bastion node.

subnetId

string

ID of the subnet that the cluster belongs to.

cidr

string

Optional CIDR to preselect in subnet.

version

string

Version of Stackland to be used.

license

string

License to activate Stackland.

credentialsLockboxSecretId

string

ID of secret with cluster credentials in lockbox.

configurationUrl

string

URL in S3 to the cluster configuration.

virtualIp

string

IP of the cluster control plane. .

clusterDomain

string

Base cluster DNS domain.

subdomains

StacklandSubdomains

Cluster component URLs, available once the cluster is active.

bastionSpec

BastionSpec

Credentials for access to the bastion node.

Input only field.

settings

StacklandClusterSettings

Cluster settings. Can be set only at cluster creation.

StacklandHostRolesStacklandHostRoles

Field

Description

controlplane[]

NodeGroup

Node types used as controlplane nodes.

combined[]

NodeGroup

Node types used as combined nodes.

worker[]

NodeGroup

Node types used as workder nodes.

NodeGroupNodeGroup

NodeGroup describes a group of nodes with a common role.

A group can be filled in one of three ways:

  1. New servers only: configuration_id and node_count are set, server_ids is empty.
    node_count new servers of the given configuration will be leased.
  2. Mixed group with a default configuration: configuration_id and node_count are set,
    server_ids is non-empty and node_count >= len(server_ids). Servers listed in
    server_ids must already match configuration_id or be custom servers
    (assembled manually, not via a standard configuration). If node_count == len(server_ids),
    no new servers are leased; otherwise node_count - len(server_ids) new servers of
    configuration_id are leased in addition to the existing ones.
  3. Custom servers only: configuration_id is empty, server_ids
    is non-empty and contains only custom servers, node_count == len(server_ids).

Servers listed in server_ids must satisfy (checked synchronously before the
create-cluster operation is created): the server's configuration matches
configuration_id or the server is custom; the server's hardware pool matches the
cluster's hardware pool; the server's status is not QUARANTINED or DELETING.
If a server's status is UPDATING or PROVISIONING, the request is still accepted
and the cluster-creation operation waits for the server's current operation to
complete before proceeding.

A server listed in server_ids can belong to only one group within a single request.

Field

Description

configurationId

string

ID of the configuration.

Required when automatically leasing new servers for the group (scenarios 1 and 2).
Left blank when the group consists solely of custom servers (scenario 3).

nodeCount

string (int64)

Total number of nodes in the group, including both newly leased and
already leased (existing) servers listed in server_ids.

Must be greater than or equal to len(server_ids). The number of new
servers leased for the group is node_count - len(server_ids).

Required (non-zero) when automatically leasing new servers for the group;

nodes[]

Node

Nodes in the group with detailed information. Set after group is filled.

serverIds[]

string

IDs of already leased servers to include in the NodeGroup.

WARNING: the OS on these servers will be reinstalled as part of cluster
creation, just like for newly leased servers. All data on the servers
will be lost.

NodeNode

Field

Description

serverId

string

ID of the server.

configurationId

string

ID of the configuration.

managementIpAddress

string

IP address of the node in the management network.

hostname

string

Hostname of the node inside the cluster.

StacklandSubdomainsStacklandSubdomains

Field

Description

console

string

Cluster URL.

dashboard

string

Cluster URL.

grafana

string

Grafana URL.

prometheus

string

Prometheus URL.

alertmanager

string

Alertmanager URL.

BastionSpecBastionSpec

Field

Description

sshPublicKeyText

string

Public SSH key for the server.

Input only field.

The maximum string length in characters is 20000.

Includes only one of the fields sshPublicKeyText, userSshId.

Root user SSH key.

Input only field. One of elements is required.

userSshId

string

ID of the user SSH key to use for the server.

Input only field. To get the user SSH key ID, use a yandex.cloud.organizationmanager.v1.UserSshKeyService.List request.

The maximum string length in characters is 50.

Includes only one of the fields sshPublicKeyText, userSshId.

Root user SSH key.

Input only field. One of elements is required.

passwordPlainText

string

Raw password.

Input only field.

The minimum string length in characters is 6.

Includes only one of the fields passwordPlainText, passwordLockboxSecret.

Password for the server.

Input only field. One of elements is required.

passwordLockboxSecret

LockboxSecret

Reference to the Lockbox secret used to obtain the password.

Input only field.

Includes only one of the fields passwordPlainText, passwordLockboxSecret.

Password for the server.

Input only field. One of elements is required.

LockboxSecretLockboxSecret

Field

Description

secretId

string

Required field. The unique identifier for the lockbox secret that contains the user password.

versionId

string

The unique identifier for the lockbox version.
If omitted, the current version of the secret will be used.

key

string

Required field. The key used to access a specific secret entry.

StacklandClusterSettingsStacklandClusterSettings

Settings of the Stackland cluster.

Field

Description

publicNetworkAccess

enum (PublicNetworkAccess)

Access of the cluster to the public network. Disabled by default.
Can be set only at cluster creation.

  • ENABLED: Cluster is accessible from the public network.
  • DISABLED: Cluster is not accessible from the public network.

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

Предыдущая
Overview
Следующая
ListStacklandClusters
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ООО «Яндекс.Облако»