Name
nebius compute v1alpha1 instance create
Deprecated
Command instance is deprecated.
Synopsis
Options
--boot-disk-attach-mode (string)
A value must be one of:
unspecifiedread_onlyread_write
--boot-disk-device-name (string)
Specifies the user-defined identifier, allowing to use ‘/dev/disk/by-id/virtio-’ as a device path in mount command.
--boot-disk-existing-disk-id (string)
--cloud-init-user-data (string)
--filesystems (json)
(structure)
attach_mode -> (string)[required]
A value must be one of:
“unspecified""read_only""read_write”
device_name -> (string)[required]
Specifies the user-defined identifier, allowing to use it as a device in mount command.
existing_filesystem -> (structure)
id -> (string)[required]
JSON Schema:
--gpu-cluster-id (string)
--labels (string->string)
Labels associated with the resource.
--name (string)
Human readable name for the resource.
--network-interfaces (json) [required]
(structure)
aliases -> (structure)
Assign ranges of IP addresses as aliases.
allocation_id -> (string)[required]
ID of allocation.
ip_address -> (structure)[meaningful_empty_value]
Private IPv4 address associated with the interface.
allocation_id -> (string)
Allocation identifier if it was created before.
name -> (string)[required]
Interface name
Value of this field configures the name of the network interface inside VM’s OS.
Longer values will persist in the specification but will be truncated to 15 symbols before being passed to VM configuration.
public_ip_address -> (structure)[meaningful_empty_value]
Public IPv4 address associated with the interface.
allocation_id -> (string)
Allocation identifier if it was created before.
static -> (bool)
If false - Lifecycle of allocation depends on NetworkInterface.Allocate/NetworkInterface.Deallocate
If true - Lifecycle of allocation depends on NetworkInterface.Create/NetworkInterface.Delete
False by default.
subnet_id -> (string)[required] [immutable]
Subnet ID.
JSON Schema:
--parent-id (string) [required]
Identifier of the parent resource to which the resource belongs.
--recovery-policy (string)
Recovery policy defines how the instance will be treated in case of a failure.
Common source of failure is a host failure, but it can be any other failure.
Instance undergoing a guest shutdown (poweroff, etc.) will be subject to recovery policy,
meaning that it could be restarted and billed accordingly.
Stop instance via API or UI to stop it to avoid recovering.
- If set to RECOVER, instance will be restarted, if possible. It could be restarted on the same host or on another host.
- If set to FAIL, instance will be stopped and not restarted.
A value must be one of:
recoverfail
--resource-version (int64)
Version of the resource for safe concurrent modifications and consistent reads.
Positive and monotonically increases on each resource spec change (but not on each change of the
resource’s container(s) or status).
Service allows zero value or current.
--resources-platform (string) [required]
--resources-preset (string) [required]
--secondary-disks (json)
(structure)
attach_mode -> (string)[required]
A value must be one of:
“unspecified""read_only""read_write”
device_name -> (string)
Specifies the user-defined identifier, allowing to use ‘/dev/disk/by-id/virtio-’ as a device path in mount command.
existing_disk -> (structure)
id -> (string)[required]
JSON Schema:
--service-account-id (string)
--stopped (bool)
--async (bool)
If set, returns operation id. Otherwise, waits for the operation to complete and returns its resource.
-i, --interactive (bool)
If set, suggests to insert field values in interactive mode.
Global Options
-h, --help (bool)
Show this message.
-p, --profile (string)
Set a profile for interacting with the cloud.
--format (string)
Output format. Supported values: yaml|json|jsonpath|table|text.
-f, --file (string)
Input file. For ‘update’ commands automatically set —full=true.
-c, --config (string)
Provide path to config file.
--debug (bool)
Enable debug logs.
--color (bool)
Enable colored output.
--no-browser (bool)
Do not open browser automatically on auth.
--insecure (bool)
Disable transport security.
--auth-timeout (duration: 2h30m10s)
Set the timeout for the request including authentication process, default is 15m0s.
--per-retry-timeout (duration: 2h30m10s)
Set the timeout for each retry attempt, default is 20s.
--retries (uint)
Set the number of retry attempts, 1 is disable retries, default is 3.
--timeout (duration: 2h30m10s)
Set the timeout for the main request, default is 1m0s.
--no-check-update (bool)
Suppress check for updates.