yc baremetal v1alpha server create
Creates a server in the specified folder.
Command Usage
Syntax:
yc baremetal v1alpha server create <FOLDER-ID>
Flags
|
Flag |
Description |
|
|
ID of the folder to create server in. To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. |
|
|
Name of the server. The name must be unique within the folder. |
|
|
Description of the server. |
|
|
ID of the hardware pool that the server belongs to. To get the hardware pool ID, use a [HardwarePoolService.List] request. |
|
|
ID of the configuration to use for the server. To get the configuration ID, use a [ConfigurationService.List] request. |
|
|
A period of time for which the server is rented. To get the rental period ID, use a [RentalPeriodService.List] request. |
|
|
Network configuration for the server. Specifies how the network interface is configured to interact with other servers on the internal network and on the internet. Currently up to 2 network interfaces are supported: required private network interface and optional public network interface. Description
Shorthand Syntax
JSON Syntax
|
|
|
Operating system specific settings for provisioning the server. Optional, if omitted, the server will be created without an operating system. Description
Shorthand Syntax
JSON Syntax
|
|
|
Resource labels as 'key:value' pairs. |
|
|
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. |