yc compute
Manage Yandex Compute Cloud resources
Command Usage
Syntax:
yc compute <group|command>
Command Tree
-
yc compute connect-to-serial-port — Connect to serial port
-
yc compute disk — Manage disks
-
yc compute disk add-access-binding — Add access binding for the specified disk
-
yc compute disk add-labels — Add labels to specified disk
-
yc compute disk create — Create a disk
-
yc compute disk delete — Delete the specified disk
-
yc compute disk get — Show information about the specified disk
-
yc compute disk list — List disks
-
yc compute disk list-access-bindings — List access bindings for the specified disk
-
yc compute disk list-operations — List operations for the specified disk
-
yc compute disk move — Move the specified disk into the folder
-
yc compute disk relocate — Relocate the specified disk to the zone
-
yc compute disk remove-access-binding — Remove access binding for the specified disk
-
yc compute disk remove-labels — Remove labels from specified disk
-
yc compute disk resize — Resize the specified disk
-
yc compute disk set-access-bindings — Set access bindings for the specified disk and delete all existing access bindings if there were any
-
yc compute disk update — Update the specified disk
-
-
yc compute disk-placement-group — Manage disk placement groups
-
yc compute disk-placement-group add-access-binding — Add access binding for the specified disk placement group
-
yc compute disk-placement-group add-labels — Add labels to the specified disk placement group
-
yc compute disk-placement-group create — Create a disk placement group
-
yc compute disk-placement-group delete — Delete the specified disk placement group
-
yc compute disk-placement-group get — Show information about the specified disk placement group
-
yc compute disk-placement-group list — List disk placement groups
-
yc compute disk-placement-group list-access-bindings — List access bindings for the specified disk placement group
-
yc compute disk-placement-group list-disks — List disks of the specified disk placement group
-
yc compute disk-placement-group list-operations — List operations for the specified disk placement group
-
yc compute disk-placement-group remove-access-binding — Remove access binding for the specified disk placement group
-
yc compute disk-placement-group remove-labels — Remove labels from the specified disk placement group
-
yc compute disk-placement-group set-access-bindings — Set access bindings for the specified disk placement group and delete all existing access bindings if there were any
-
yc compute disk-placement-group update — Update the specified disk placement group
-
-
yc compute disk-type — Show available disk types
-
yc compute disk-type get — Show information about the specified disk type
-
yc compute disk-type list — List disk types
-
-
yc compute filesystem — Manage filesystems
-
yc compute filesystem add-access-binding — Add access binding for the specified filesystem
-
yc compute filesystem add-labels — Add labels to specified filesystem
-
yc compute filesystem create — Create a filesystem
-
yc compute filesystem delete — Delete the specified filesystem
-
yc compute filesystem get — Show information about the specified filesystem
-
yc compute filesystem list — List filesystems
-
yc compute filesystem list-access-bindings — List access bindings for the specified filesystem
-
yc compute filesystem list-operations — List operations for the specified filesystem
-
yc compute filesystem remove-access-binding — Remove access binding for the specified filesystem
-
yc compute filesystem remove-labels — Remove labels from specified filesystem
-
yc compute filesystem resize — Resize the specified filesystem
-
yc compute filesystem set-access-bindings — Set access bindings for the specified filesystem and delete all existing access bindings if there were any
-
yc compute filesystem update — Update the specified filesystem
-
-
yc compute gpu-cluster — Manage GPU clusters
-
yc compute gpu-cluster add-access-binding — Add access binding for the specified GPU cluster
-
yc compute gpu-cluster add-labels — Add labels to specified GPU cluster
-
yc compute gpu-cluster create — Create a GPU cluster
-
yc compute gpu-cluster delete — Delete the specified GPU cluster
-
yc compute gpu-cluster get — Show information about the specified GPU cluster
-
yc compute gpu-cluster list — List GPU clusters
-
yc compute gpu-cluster list-access-bindings — List access bindings for the specified GPU cluster
-
yc compute gpu-cluster list-instances — List instances created in the specified GPU cluster
-
yc compute gpu-cluster list-operations — List operations for the specified GPU cluster
-
yc compute gpu-cluster remove-access-binding — Remove access binding for the specified GPU cluster
-
yc compute gpu-cluster remove-labels — Remove labels from specified GPU cluster
-
yc compute gpu-cluster set-access-bindings — Set access bindings for the specified GPU cluster and delete all existing access bindings if there were any
-
yc compute gpu-cluster update — Update the specified GPU cluster
-
-
yc compute host-group — Manage host groups
-
yc compute host-group add-access-binding — Add access binding for the specified host group
-
yc compute host-group add-labels — Add labels to the specified host group
-
yc compute host-group create — Create a host group
-
yc compute host-group delete — Delete the specified host group
-
yc compute host-group get — Show information about the specified host group
-
yc compute host-group list — List host groups
-
yc compute host-group list-access-bindings — List access bindings for the specified host group
-
yc compute host-group list-hosts — List hosts of the specified host group
-
yc compute host-group list-instances — List instances of the specified host group
-
yc compute host-group list-operations — List operations for the specified host group
-
yc compute host-group remove-access-binding — Remove access binding for the specified host group
-
yc compute host-group remove-labels — Remove labels from the specified host group
-
yc compute host-group set-access-bindings — Set access bindings for the specified host group and delete all existing access bindings if there were any
-
yc compute host-group update — Update the specified host group
-
yc compute host-group update-host — Update host of the specified host group
-
-
yc compute host-type — Show available host types
-
yc compute host-type get — Show information about the specified host type
-
yc compute host-type list — List host types
-
-
yc compute image — Manage images
-
yc compute image add-access-binding — Add access binding for the specified image
-
yc compute image add-labels — Add labels to specified image
-
yc compute image create — Create an image
-
yc compute image delete — Delete the specified image
-
yc compute image get — Show information about the specified image
-
yc compute image get-latest-from-family — Show information about the latest image that is part of an image family
-
yc compute image list — List images
-
yc compute image list-access-bindings — List access bindings for the specified image
-
yc compute image list-operations — List operations for the specified image
-
yc compute image remove-access-binding — Remove access binding for the specified image
-
yc compute image remove-labels — Remove labels from specified image
-
yc compute image set-access-bindings — Set access bindings for the specified image and delete all existing access bindings if there were any
-
yc compute image update — Update the specified image
-
-
yc compute instance — Manage virtual machine instances
-
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
-
-
yc compute instance-group — Manage instance groups
-
yc compute instance-group add-access-binding — Add access binding for the specified instance group
-
yc compute instance-group add-labels — Add labels to specified instance group
-
yc compute instance-group add-metadata — Add or update metadata for instance template of the specified instance group
-
yc compute instance-group create — Create an instance group
-
yc compute instance-group delete — Delete the specified instance group
-
yc compute instance-group delete-instances — Delete instances of the specified instance group
-
yc compute instance-group disable-zones — Disable zones for the specified instance group
-
yc compute instance-group enable-zones — Enable zones for the specified instance group
-
yc compute instance-group get — Show information about the specified instance group
-
yc compute instance-group list — List instance groups
-
yc compute instance-group list-access-bindings — List access bindings for the specified instance group
-
yc compute instance-group list-instances — List instances of the specified instance group
-
yc compute instance-group list-logs — List logs for the specified instance group
-
yc compute instance-group list-operations — List operations for the specified instance group
-
yc compute instance-group remove-access-binding — Remove access binding for the specified instance group
-
yc compute instance-group remove-labels — Remove labels from specified instance group
-
yc compute instance-group remove-metadata — Remove keys from metadata for instance template of the specified instance group
-
yc compute instance-group rolling-recreate — Recreate instances of the specified instance group respecting policies
-
yc compute instance-group rolling-restart — Restart instances of the specified instance group respecting policies
-
yc compute instance-group set-access-bindings — Set access bindings for the specified instance group and delete all existing access bindings if there were any
-
yc compute instance-group start — Start the specified instance group
-
yc compute instance-group stop — Stop the specified instance group
-
yc compute instance-group stop-instances — Stop instances of the specified instance group
-
yc compute instance-group update — Update the specified instance group
-
-
yc compute maintenance — Manage maintenances
-
yc compute maintenance get — Show information about the specified maintenance
-
yc compute maintenance list — List maintenances
-
yc compute maintenance reschedule — Reschedule the maintenance
-
-
yc compute placement-group — Manage placement groups
-
yc compute placement-group add-access-binding — Add access binding for the specified placement group
-
yc compute placement-group add-labels — Add labels to the specified placement group
-
yc compute placement-group create — Create a placement group
-
yc compute placement-group delete — Delete the specified placement group
-
yc compute placement-group get — Show information about the specified placement group
-
yc compute placement-group list — List placement groups
-
yc compute placement-group list-access-bindings — List access bindings for the specified placement group
-
yc compute placement-group list-instances — List instances of the specified placement group
-
yc compute placement-group list-operations — List operations for the specified placement group
-
yc compute placement-group remove-access-binding — Remove access binding for the specified placement group
-
yc compute placement-group remove-labels — Remove labels from the specified placement group
-
yc compute placement-group set-access-bindings — Set access bindings for the specified placement group and delete all existing access bindings if there were any
-
yc compute placement-group update — Update the specified placement group
-
-
yc compute reserved-instance-pool — Manage reserved instance pools
-
yc compute reserved-instance-pool create — Create a reserved instance pool
-
yc compute reserved-instance-pool delete — Delete the specified reserved instance pool
-
yc compute reserved-instance-pool get — Show information about the specified reserved instance pool
-
yc compute reserved-instance-pool list — List reserved instance pools
-
yc compute reserved-instance-pool list-instances — List instances of the specified reserved instance pool
-
yc compute reserved-instance-pool list-operations — List operations of the specified reserved instance pool
-
yc compute reserved-instance-pool update — Update the specified reserved instance pool
-
-
yc compute snapshot — Manage snapshots
-
yc compute snapshot add-access-binding — Add access binding for the specified snapshot
-
yc compute snapshot add-labels — Add labels to specified snapshot
-
yc compute snapshot create — Create a snapshot of the specified disk
-
yc compute snapshot delete — Delete the specified snapshot
-
yc compute snapshot get — Show information about the specified snapshot
-
yc compute snapshot list — List snapshots
-
yc compute snapshot list-access-bindings — List access bindings for the specified snapshot
-
yc compute snapshot list-operations — List operations for the specified snapshot
-
yc compute snapshot remove-access-binding — Remove access binding for the specified snapshot
-
yc compute snapshot remove-labels — Remove labels from specified snapshot
-
yc compute snapshot set-access-bindings — Set access bindings for the specified snapshot and delete all existing access bindings if there were any
-
yc compute snapshot update — Update the specified snapshot
-
-
yc compute snapshot-schedule — Manage snapshot schedules
-
yc compute snapshot-schedule add-access-binding — Add access binding for the specified snapshot schedule
-
yc compute snapshot-schedule add-disks — Add disks to the specified snapshot schedule
-
yc compute snapshot-schedule add-labels — Add labels to specified snapshot schedule
-
yc compute snapshot-schedule add-snapshot-labels — Add labels to specified snapshot specification of snapshot schedule
-
yc compute snapshot-schedule create — Create a snapshot schedule
-
yc compute snapshot-schedule delete — Delete the specified snapshot schedule
-
yc compute snapshot-schedule disable — Disable the specified snapshot schedule
-
yc compute snapshot-schedule enable — Enable the specified snapshot schedule
-
yc compute snapshot-schedule get — Show information about the specified snapshot schedule
-
yc compute snapshot-schedule list — List snapshot schedules
-
yc compute snapshot-schedule list-access-bindings — List access bindings for the specified snapshot schedule
-
yc compute snapshot-schedule list-disks — List disks attached to the specified snapshot schedule
-
yc compute snapshot-schedule list-operations — List operations for the specified snapshot schedule
-
yc compute snapshot-schedule list-snapshots — List snapshots created by specified snapshot schedule
-
yc compute snapshot-schedule remove-access-binding — Remove access binding for the specified snapshot schedule
-
yc compute snapshot-schedule remove-disks — Remove disks from the specified snapshot schedule
-
yc compute snapshot-schedule remove-labels — Remove labels from specified snapshot schedule
-
yc compute snapshot-schedule remove-snapshot-labels — Remove labels from specified snapshot specification of snapshot schedule
-
yc compute snapshot-schedule set-access-bindings — Set access bindings for the specified snapshot schedule and delete all existing access bindings if there were any
-
yc compute snapshot-schedule update — Update the specified snapshot schedule
-
-
yc compute ssh — Connect to instance. By default uses any available ip address
-
yc compute zone — Show availability zones
-
yc compute zone get — Show information about the specified availability zone.
-
yc compute zone list — List availability zones
-
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. |