ncp compute
Manage Compute Cloud resources
Command Usage
Syntax:
ncp compute <group|command>
Command Tree
-
ncp compute instance — Manage virtual machine instances
-
ncp compute instance get — Show information about the specified virtual machine instance
-
ncp compute instance list — List virtual machine instances
-
ncp compute instance create — Create a virtual machine instance
-
ncp compute instance create-with-container — Create a virtual machine instance running Docker container
-
ncp compute instance update — Update the specified virtual machine instance
-
ncp compute instance update-container — Update the specified virtual machine instance running Docker container
-
ncp compute instance add-metadata — Add or update metadata for the specified virtual machine instance
-
ncp compute instance remove-metadata — Remove keys from metadata for the specified virtual machine instance
-
ncp compute instance add-labels — Add labels to specified virtual machine instance
-
ncp compute instance remove-labels — Remove labels from specified virtual machine instance
-
ncp compute instance delete — Delete the specified virtual machine instance
-
ncp compute instance stop — Stop the specified virtual machine instance
-
ncp compute instance start — Start the specified virtual machine instance
-
ncp compute instance restart — Restart the specified virtual machine instance
-
ncp compute instance attach-disk — Attach existing disk to the specified virtual machine instance
-
ncp compute instance attach-new-disk — Attach new disk to the specified virtual machine instance
-
ncp compute instance detach-disk — Detach disk from the specified virtual machine instance
-
ncp compute instance attach-filesystem — Attach existing filesystem to the specified virtual machine instance
-
ncp compute instance detach-filesystem — Detach filesystem from the specified virtual machine instance
-
ncp compute instance update-network-interface — Update the specified network interface of virtual machine instance
-
ncp compute instance add-one-to-one-nat — Add one-to-one NAT to the specified network interface of virtual machine instance
-
ncp compute instance remove-one-to-one-nat — Remove one-to-one NAT to the specified network interface of virtual machine instance
-
ncp compute instance move — Move the specified virtual machine instance into the folder
-
ncp compute instance list-operations — List operations for the specified instance
-
-
ncp compute disk — Manage disks
- ncp compute disk get — Show information about the specified disk
- ncp compute disk list — List disks
- ncp compute disk create — Create a disk
- ncp compute disk update — Update the specified disk
- ncp compute disk add-labels — Add labels to specified disk
- ncp compute disk remove-labels — Remove labels from specified disk
- ncp compute disk resize — Resize the specified disk
- ncp compute disk delete — Delete the specified disk
- ncp compute disk move — Move the specified disk into the folder
- ncp compute disk list-operations — List operations for the specified disk
-
ncp compute disk-type — Show available disk types
- ncp compute disk-type get — Show information about the specified disk type
- ncp compute disk-type list — List disk types
-
ncp compute image — Show images
- ncp compute image get — Show information about the specified image
- ncp compute image list — List images
- ncp compute image get-latest-from-family — Show information about the latest image that is part of an image family
-
ncp compute snapshot — Manage snapshots
- ncp compute snapshot get — Show information about the specified snapshot
- ncp compute snapshot list — List snapshots
- ncp compute snapshot create — Create a snapshot of the specified disk
- ncp compute snapshot update — Update the specified snapshot
- ncp compute snapshot add-labels — Add labels to specified snapshot
- ncp compute snapshot remove-labels — Remove labels from specified snapshot
- ncp compute snapshot delete — Delete the specified snapshot
- ncp compute snapshot list-operations — List operations for the specified snapshot
-
ncp compute snapshot-schedule — Manage snapshot schedules
- ncp compute snapshot-schedule get — Show information about the specified snapshot schedule
- ncp compute snapshot-schedule list — List snapshot schedules
- ncp compute snapshot-schedule create — Create a snapshot schedule
- ncp compute snapshot-schedule disable — Disable the specified snapshot schedule
- ncp compute snapshot-schedule enable — Enable the specified snapshot schedule
- ncp compute snapshot-schedule update — Update the specified snapshot schedule
- ncp compute snapshot-schedule add-disks — Add disks to the specified snapshot schedule
- ncp compute snapshot-schedule remove-disks — Remove disks from the specified snapshot schedule
- ncp compute snapshot-schedule add-labels — Add labels to specified snapshot schedule
- ncp compute snapshot-schedule remove-labels — Remove labels from specified snapshot schedule
- ncp compute snapshot-schedule delete — Delete the specified snapshot schedule
- ncp compute snapshot-schedule list-operations — List operations for the specified snapshot schedule
- ncp compute snapshot-schedule list-disks — List disks attached to the specified snapshot schedule
- ncp compute snapshot-schedule list-snapshots — List snapshots created by specified snapshot schedule
-
ncp compute zone — Show availability zones
- ncp compute zone get — Show information about the specified availability zone.
- ncp compute zone list — List availability zones
-
ncp compute host-type — Show available host types
- ncp compute host-type get — Show information about the specified host type
- ncp compute host-type list — List host types
-
ncp compute host-group — Manage host groups
- ncp compute host-group get — Show information about the specified host group
- ncp compute host-group list — List host groups
- ncp compute host-group create — Create a host group
- ncp compute host-group update — Update the specified host group
- ncp compute host-group add-labels — Add labels to the specified host group
- ncp compute host-group remove-labels — Remove labels from the specified host group
- ncp compute host-group delete — Delete the specified host group
- ncp compute host-group list-hosts — List hosts of the specified host group
- ncp compute host-group list-instances — List instances of the specified host group
- ncp compute host-group list-operations — List operations for the specified host group
-
ncp compute filesystem — Manage filesystems
- ncp compute filesystem get — Show information about the specified filesystem
- ncp compute filesystem list — List filesystems
- ncp compute filesystem list-operations — List operations for the specified filesystem
- ncp compute filesystem create — Create a filesystem
- ncp compute filesystem delete — Delete the specified filesystem
- ncp compute filesystem update — Update the specified filesystem
- ncp compute filesystem resize — Resize the specified filesystem
- ncp compute filesystem add-labels — Add labels to specified filesystem
- ncp compute filesystem remove-labels — Remove labels from specified filesystem
-
ncp compute gpu-cluster — Manage GPU clusters
- ncp compute gpu-cluster get — Show information about the specified GPU cluster
- ncp compute gpu-cluster list — List GPU clusters
- ncp compute gpu-cluster create — Create a GPU cluster
- ncp compute gpu-cluster update — Update the specified GPU cluster
- ncp compute gpu-cluster add-labels — Add labels to specified GPU cluster
- ncp compute gpu-cluster remove-labels — Remove labels from specified GPU cluster
- ncp compute gpu-cluster delete — Delete the specified GPU cluster
- ncp compute gpu-cluster list-operations — List operations for the specified GPU cluster
- ncp compute gpu-cluster list-instances — List instances created in the specified GPU cluster
-
ncp compute ssh — Connect to instance
Global 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. |
--format |
string Set the output format: text (default), yaml, json, json-rest. |
-h ,--help |
Display help for the command. |