yc compute instance add-one-to-one-nat
Add one-to-one NAT to the specified network interface of virtual machine instance
Command Usage
Syntax:
yc compute instance add-one-to-one-nat <INSTANCE-NAME>|<INSTANCE-ID> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
Instance id. |
|
|
Instance name. |
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
|
|
Index of interface to add or remove one-to-one NAT. |
|
|
Internal address of interface to add or remove one-to-one NAT. |
|
|
Specifies IP version for One-to-One NAT. Can be either 'ipv4' or 'ipv6'. |
|
|
Specifies public IP address for One-to-One NAT. |
Global Flags
|
Flag |
Description |
|
|
Set the custom profile. |
|
|
Set the region. |
|
|
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). |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Set the custom pager. |
|
|
Do not pipe help output through a pager. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the timeout. |
|
|
Set the OAuth token to use. |
|
|
Query to select values from the response using jq syntax |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Query to select values from the response using jq syntax |
|
|
Print operation metadata along with result. |
|
|
Choose syntax option. |
|
|
Enable interactive auto-prompt mode. Values: on, partial, off. Bare --cli-auto-prompt is equivalent to --cli-auto-prompt=on. |
|
|
Disable interactive auto-prompt mode (overrides --cli-auto-prompt, env and profile). |
|
|
Display help for the command. |