yc cic v1 private-connection create
Creates a PrivateConnection resource in the specified folder using the data specified in the request.
Method starts an asynchronous operation that can be cancelled while it is in progress.
Command Usage
Syntax:
yc cic v1 private-connection create <FOLDER-ID>
Flags
|
Flag |
Description |
|
|
|
Path to a request file. |
|
|
|
Generates a JSON template of the request.
|
|
|
|
Generates a YAML template of the request.
|
|
|
|
Name of the privateConnection. The name must be unique within the folder. Value must match the regular expression ''\ |
a-zA-Z?''. |
|
|
Optional description of the privateConnection. 0-256 characters long. |
|
|
|
ID of the folder that the privateConnection belongs to. |
|
|
|
ID of the trunk_connection that the privateConnection belongs to. |
|
|
|
VLAN_ID that the privateConnection uses in multiplexing. Not used in connections over partners-II Value range: [1, 4095] |
|
|
|
IPv4 peering config of connection Description
Shorthand Syntax
JSON Syntax
|
|
|
|
IPv4 StaticRoute config of connection Description
Shorthand Syntax
JSON Syntax
|
|
|
|
Resource labels, 'key:value' pairs. No more than 64 per resource. The maximum string length in characters for each value is 63. Each value must match the regular expression '[-_0-9a-z]'. The string length in characters for each key must be 1-63. Each key must match the regular expression '[a-z][-_0-9a-z]'. |
|
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
Global Flags
|
Flag |
Description |
|
|
Set the custom profile. |
|
|
Set the region. |
|
|
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, yaml, json, table, summary || summary[name, instance.id, instance.disks[0].size]. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the timeout. |
|
|
Set the IAM token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Query to select values from the response using jq syntax |
|
|
CLI syntax: this standalone binary only supports 2 (current). Use main yc for syntax 1. |
|
|
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. |