yc compute instance get
Show information about the specified virtual machine instance
Command Usage
Syntax:
yc compute instance get <INSTANCE-NAME>|<INSTANCE-ID> [<INSTANCE-NAME>|<INSTANCE-ID>...] [--full] [Global Flags...]
Aliases:
-
describe -
show
Flags
|
Flag |
Description |
|
|
Instance id. |
|
|
Instance name. |
|
|
Whether description should include metadata of the instance |
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
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). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |
- Attaching a file storage to a VM
- Detaching a file storage from a VM
- Adding a VM to a GPU cluster
- Creating a password for a Linux user
- Adding SSH keys for other users
- Adding a network interface to a stopped VM
- Deleting a network interface from a VM
- Updating the VM internal IP address
- Attaching a disk
- Assigning a public IP address to a VM
- Updating a VM subnet
- Moving a VM instance to the ru-central1-d zone using a special command
- Detaching a disk from a VM
- Unassigning a public IP address from a VM
- Assign the IP address to the new VM
- Check maintenance event handling
- Changing the vCPU and RAM configuration
- Creating a VM with a GPU
- Creating a VM with metadata from environment variables
- Getting information from outside a VM
- Accessing metadata from outside the VM instance
- Configuring parameters of the VM metadata service