ncp compute instance
Manage virtual machine instances
Command Usage
Syntax:
ncp compute instance <command>
Aliases:
instances
Command Tree
- 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
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. |