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