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

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

  • gRPC request
  • GetPlacementGroupRequest
  • PlacementGroup
  • SpreadPlacementStrategy
  • PartitionPlacementStrategy
  1. Справочник API
  2. gRPC (англ.)
  3. PlacementGroup
  4. Get

Compute Cloud API, gRPC: PlacementGroupService.Get

Статья создана
Yandex Cloud
Обновлена 1 июня 2026 г.
Открыть в Markdown
  • gRPC request
  • GetPlacementGroupRequest
  • PlacementGroup
  • SpreadPlacementStrategy
  • PartitionPlacementStrategy

Returns the specified placement group.
To get the list of all available placement groups, make a List request.

gRPC requestgRPC request

rpc Get (GetPlacementGroupRequest) returns (PlacementGroup)

GetPlacementGroupRequestGetPlacementGroupRequest

{
  "placement_group_id": "string"
}

Field

Description

placement_group_id

string

ID of the placement group to return.
To get a placement group ID make a PlacementGroupService.List request.

PlacementGroupPlacementGroup

{
  "id": "string",
  "folder_id": "string",
  "created_at": "google.protobuf.Timestamp",
  "name": "string",
  "description": "string",
  "labels": "map<string, string>",
  // Includes only one of the fields `spread_placement_strategy`, `partition_placement_strategy`
  "spread_placement_strategy": "SpreadPlacementStrategy",
  "partition_placement_strategy": {
    "partitions": "int64"
  }
  // end of the list of possible fields
}

Field

Description

id

string

ID of the placement group. Generated at creation time.

folder_id

string

ID of the folder that the placement group belongs to.

created_at

google.protobuf.Timestamp

Creation timestamp in RFC3339 text format.

name

string

Name of the placement group.
The name is unique within the folder.

description

string

Description of the placement group. 0-256 characters long.

labels

object (map<string, string>)

Placement group labels as key:value pairs.

spread_placement_strategy

SpreadPlacementStrategy

Anti-affinity placement strategy (spread). Instances are distributed
over distinct failure domains.

Includes only one of the fields spread_placement_strategy, partition_placement_strategy.

Placement strategy. To specify a placement strategy, send the corresponding
field containing approriate structure.
Only one field must by specified.

partition_placement_strategy

PartitionPlacementStrategy

Includes only one of the fields spread_placement_strategy, partition_placement_strategy.

Placement strategy. To specify a placement strategy, send the corresponding
field containing approriate structure.
Only one field must by specified.

SpreadPlacementStrategySpreadPlacementStrategy

This is an empty structure that must be passed to explicitly
specify the required placement strategy.

Field

Description

Empty

PartitionPlacementStrategyPartitionPlacementStrategy

Field

Description

partitions

int64

The value must be between 2 and 5.

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

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