yc compute instance update
Update the specified virtual machine instance
Command Usage
Syntax:
yc compute instance update <INSTANCE-NAME>|<INSTANCE-ID> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
Instance id. |
|
|
Instance name. |
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
|
|
A new name of the instance. |
|
|
Specifies a textual description of the instance. |
|
|
A list of label KEY=VALUE pairs to add. |
|
|
Metadata to be made available to the guest operating system. |
|
|
Options set the access mode to instance's metadata. Possible property names:
|
|
|
Same as --metadata except that the value is read from a local file. |
|
|
Specifies how much memory instance should have in GB. |
|
|
Specifies how many CPU cores instance should have. |
|
|
Specifies baseline performance for a core in percent. |
|
|
Specifies how many GPUs instance should have. |
|
|
Specifies platform for the instance. |
|
|
Network settings for the instance. Possible property names:
|
|
|
Serial port settings for the instance. Possible property names:
|
|
|
Specifies whether instance is preemptible. |
|
|
Behaviour on maintenance events. Values: 'restart', 'migrate' |
|
|
Time between notification via metadata service and maintenance. |
|
|
Placement group ID to add the instance to. |
|
|
Placement group name to add the instance to. |
|
|
Specifies placement group partition for the instance. |
|
|
Host group ID to place the instance to. |
|
|
Host group name to place the instance to. |
|
|
Host to place the instance to. |
|
|
Clear host affinity rules |
|
|
Link instance to specified reserved instance pool. |
|
|
Link instance to specified reserved instance pool. |
|
|
Service account ID whose token can be obtained inside VM. |
|
|
Service account name whose token can be obtained inside VM. |
Global Flags
|
Flag |
Description |
|
|
Set the custom profile. |
|
|
Set the region. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Set the custom pager. |
|
|
Do not pipe help output through a pager. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the timeout. |
|
|
Set the OAuth token to use. |
|
|
Query to select values from the response using jq syntax |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Query to select values from the response using jq syntax |
|
|
Print operation metadata along with result. |
|
|
Choose syntax option. |
|
|
Enable interactive auto-prompt mode. Values: on, partial, off. Bare --cli-auto-prompt is equivalent to --cli-auto-prompt=on. |
|
|
Disable interactive auto-prompt mode (overrides --cli-auto-prompt, env and profile). |
|
|
Display help for the command. |
- Включить программно ускоренную сеть
- Добавить виртуальную машину в группу размещения
- Исключить виртуальную машину из группы размещения
- Привязать существующую ВМ к пулу
- Подключиться с помощью стандартного SSH-клиента
- Разрешить доступ к серийной консоли для существующей ВМ
- Подключитесь к Windows SAC
- К существующей ВМ
- Отключить доступ по OS Login
- К существующей ВМ
- Измените тип политики обслуживания для ВМ
- Изменить конфигурацию vCPU и RAM
- Включить доступ по OS Login
- Сменить тип ВМ
- Настроить параметры сервиса метаданных ВМ
- Включить доступ по OS Login