Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Доступны в регионе
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • ИИ для бизнеса
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Партнёрская программа
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Истории успеха
  • Документация
  • Блог
Проект Яндекса
© 2025 ТОО «Облачные Сервисы Казахстан»
Интерфейс командной строки
  • Начало работы с CLI
    • Overview
      • 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
    • help
    • init
    • version
  • Релизы CLI
  • Решение проблем
  1. Справочник CLI (англ.)
  2. compute
  3. instance
  4. Overview

yc compute instance

Статья создана
Yandex Cloud
Обновлена 2 декабря 2024 г.

Manage virtual machine instances

Command UsageCommand Usage

Syntax:

yc compute instance <command>

Aliases:

  • instances

Command TreeCommand Tree

  • yc compute instance add-access-binding — Add access binding for the specified instance
  • yc compute instance add-labels — Add labels to specified virtual machine instance
  • yc compute instance add-metadata — Add or update metadata for the specified virtual machine instance
  • yc compute instance add-one-to-one-nat — Add one-to-one NAT to the specified network interface of virtual machine instance
  • yc compute instance attach-disk — Attach existing disk to the specified virtual machine instance
  • yc compute instance attach-filesystem — Attach existing filesystem to the specified virtual machine instance
  • yc compute instance attach-network-interface — Attach the specified network interface to the virtual machine instance
  • yc compute instance create — Create a virtual machine instance
  • yc compute instance create-with-container — Create a virtual machine instance running Docker container
  • yc compute instance delete — Delete the specified virtual machine instance
  • yc compute instance detach-disk — Detach disk from the specified virtual machine instance
  • yc compute instance detach-filesystem — Detach filesystem from the specified virtual machine instance
  • yc compute instance detach-network-interface — Detach the specified network interface from the virtual machine instance
  • yc compute instance get — Show information about the specified virtual machine instance
  • yc compute instance get-serial-port-output — Return the serial port output of the specified virtual machine instance
  • yc compute instance list — List virtual machine instances
  • yc compute instance list-access-bindings — List access bindings for the specified instance
  • yc compute instance list-operations — List operations for the specified instance
  • yc compute instance move — Move the specified virtual machine instance into the folder
  • yc compute instance relocate — Relocate the specified virtual machine instance to the zone
  • yc compute instance remove-access-binding — Remove access binding for the specified instance
  • yc compute instance remove-labels — Remove labels from specified virtual machine instance
  • yc compute instance remove-metadata — Remove keys from metadata for the specified virtual machine instance
  • yc compute instance remove-one-to-one-nat — Remove one-to-one NAT to the specified network interface of virtual machine instance
  • yc compute instance restart — Restart the specified virtual machine instance
  • yc compute instance set-access-bindings — Set access bindings for the specified instance and delete all existing access bindings if there were any
  • yc compute instance simulate-maintenance-event — Simulate a maintenance event (maintenance policy must be set)
  • yc compute instance start — Start the specified virtual machine instance
  • yc compute instance stop — Stop the specified virtual machine instance
  • yc compute instance update — Update the specified virtual machine instance
  • yc compute instance update-container — Update the specified virtual machine instance running Docker container
  • yc compute instance update-network-interface — Update the specified network interface of virtual machine instance

Global FlagsGlobal Flags

Flag Description
--profile string
Set the custom configuration file.
--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.
--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.
--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).
--endpoint string
Set the Cloud API endpoint (host:port).
--token string
Set the OAuth token to use.
--impersonate-service-account-id string
Set the ID of the service account to impersonate.
--no-browser Disable opening browser for authentication.
--format string
Set the output format: text (default), yaml, json, json-rest.
--jq string
Query to select values from the response using jq syntax
-h,--help Display help for the command.

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

Предыдущая
update
Следующая
add-access-binding
Проект Яндекса
© 2025 ТОО «Облачные Сервисы Казахстан»