Yandex Cloud
КейсыДокументация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Yandex Compute Cloud
  • Yandex Container Solution
  • Управление доступом
  • Правила тарификации
    • Overview
    • connect-to-serial-port
      • Overview
      • add-access-binding
      • add-labels
      • add-metadata
      • add-one-to-one-nat
      • attach-disk
      • attach-filesystem
      • attach-network-interface
      • create
      • create-with-container
      • delete
      • detach-disk
      • detach-filesystem
      • detach-network-interface
      • get
      • get-serial-port-output
      • list
      • list-access-bindings
      • list-operations
      • move
      • relocate
      • remove-access-binding
      • remove-labels
      • remove-metadata
      • remove-one-to-one-nat
      • restart
      • set-access-bindings
      • simulate-maintenance-event
      • start
      • stop
      • update
      • update-container
      • update-network-interface
  • Справочник Terraform
  • Справочник метрик
  • Аудитные логи Audit Trails
  • История изменений
  • Обучающие курсы
  1. Справочник CLI (англ.)
  2. instance
  3. get

yc compute instance get

Статья создана
Yandex Cloud
Обновлена 26 октября 2026 г.
Открыть Markdown

Show information about the specified virtual machine instance

Command UsageCommand Usage

Syntax:

yc compute instance get <INSTANCE-NAME>|<INSTANCE-ID> [<INSTANCE-NAME>|<INSTANCE-ID>...] [--full] [Global Flags...]

Aliases:

  • describe

  • show

FlagsFlags

Flag

Description

--id

string

Instance id.

--name

string

Instance name.

--full

Whether description should include metadata of the instance

Global FlagsGlobal Flags

Flag

Description

--profile

string

Set the custom profile.

--region

string

Set the region.

--cloud-id

string

Set the ID of the cloud to use.

--folder-id

string

Set the ID of the folder to use.

--folder-name

string

Set the name of the folder to use (will be resolved to id).

--debug

Debug logging.

--debug-grpc

Debug gRPC logging. Very verbose, used for debugging connection problems.

--no-user-output

Disable printing user intended output to stderr.

--pager

string

Set the custom pager.

--no-pager

Do not pipe help output through a pager.

--format

string

Set the output format: text (default), yaml, json, json-rest.

--retry

int

Enable gRPC retries. By default, retries are enabled with maximum 5 attempts.
Pass 0 to disable retries. Pass any negative value for infinite retries.
Even infinite retries are capped with 2 minutes timeout.

--timeout

string

Set the timeout.

--token

string

Set the OAuth token to use.

--jq

string

Query to select values from the response using jq syntax

--endpoint

string

Set the Cloud API endpoint (host:port).

--impersonate-service-account-id

string

Set the ID of the service account to impersonate.

--no-browser

Disable opening browser for authentication.

--query

string

Query to select values from the response using jq syntax

--print-metadata

Print operation metadata along with result.

--syntax

string

Choose syntax option.

--cli-auto-prompt

string[="on"]

Enable interactive auto-prompt mode. Values: on, partial, off. Bare --cli-auto-prompt is equivalent to --cli-auto-prompt=on.

--no-cli-auto-prompt

Disable interactive auto-prompt mode (overrides --cli-auto-prompt, env and profile).

-h, --help

Display help for the command.

  • Привяжите файловое хранилище
  • Отключить файловое хранилище от виртуальной машины
  • Добавить виртуальную машину в кластер GPU
  • Добавление SSH-ключей для других пользователей
  • Добавление SSH-ключей для других пользователей
  • Добавление сетевого интерфейса на остановленную ВМ
  • Удалить сетевой интерфейс на виртуальной машине
  • Изменить внутренний IP-адрес виртуальной машины
  • Подключить диск
  • Привязать к виртуальной машине публичный IP-адрес
  • Изменить подсеть ВМ
  • Перенести ВМ в зону ru-central1-d с помощью специальной команды
  • Отключить диск от виртуальной машины
  • Отвязать публичный IP-адрес от виртуальной машины
  • Отвяжите публичный IP-адрес от исходной ВМ
  • Проверьте обработку событий обслуживания
  • Изменить конфигурацию vCPU и RAM
  • Создание виртуальной машины с GPU
  • Создать виртуальную машину с метаданными из переменных окружения
  • Получить информацию снаружи ВМ
  • Доступ к метаданным снаружи ВМ
  • Настроить параметры сервиса метаданных ВМ

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

Предыдущая
detach-network-interface
Следующая
get-serial-port-output
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»