yc baremetal public-subnet create
Creates a public subnet in the specified folder.
Command Usage
Syntax:
yc baremetal public-subnet create <FOLDER-ID>
Flags
|
Flag |
Description |
|
|
ID of the folder to create a public subnet in. To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. |
|
|
Name of the public subnet. The name must be unique within the folder. |
|
|
Description of the public subnet. |
|
|
IDs of the hardware pool that the public subnet belongs to. To get a list of available hardware pools, use the [HardwarePoolService.List] request. |
|
|
@deprecated Prefix length of the public subnet CIDR block. |
|
|
Resource labels as 'key:value' pairs. |
|
|
Automatic CIDR allocation from the system public prefix pool. Description
Shorthand Syntax
JSON Syntax
|
|
|
Manual CIDR allocation with explicit CIDR from user's own public prefix pool (BYOIP). Description
Shorthand Syntax
JSON Syntax
|
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
|
|
Path to a request file. |
|
|
Generates a JSON template of the request. |
|
|
Generates a YAML template of the request. The template can be customized and used as input for the command. Usage example:
|
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 |
|
|
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. |