Scaleway logo
Commands

Documentation for `scw dedibox`

The CLI documentation pages are currently under construction

The content is up to date. We're making improvements to the site over the next few weeks for a better experience.

Dedibox Phoenix API.

Billing commands

Billing commands.

Download-invoice dedibox resources

Download-invoice dedibox resources.

Usage:

TerminalCode
scw dedibox billing download-invoice [arg=value ...]

Args:

NameDescription
invoice-idRequired

Download-refund dedibox resources

Download-refund dedibox resources.

Usage:

TerminalCode
scw dedibox billing download-refund [arg=value ...]

Args:

NameDescription
refund-idRequired

Get-invoice dedibox resources

Get-invoice dedibox resources.

Usage:

TerminalCode
scw dedibox billing get-invoice [arg=value ...]

Args:

NameDescription
invoice-idRequired

Get-order-capacity dedibox resources

Get-order-capacity dedibox resources.

Usage:

TerminalCode
scw dedibox billing get-order-capacity [arg=value ...]

Args:

NameDescription
project-idProject ID to use. If none is passed the default project ID will be used

Get-refund dedibox resources

Get-refund dedibox resources.

Usage:

TerminalCode
scw dedibox billing get-refund [arg=value ...]

Args:

NameDescription
refund-idRequired

List-invoice dedibox resources

List-invoice dedibox resources.

Usage:

TerminalCode
scw dedibox billing list-invoice [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_desc
project-idDefault: <retrieved from config>

List-refund dedibox resources

List-refund dedibox resources.

Usage:

TerminalCode
scw dedibox billing list-refund [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_desc
project-idDefault: <retrieved from config>

BMC (Baseboard Management Controller) access commands

BMC (Baseboard Management Controller) access commands.

Get BMC (Baseboard Management Controller) access for a given baremetal server

Get the BMC (Baseboard Management Controller) access associated with the given ID.

Usage:

TerminalCode
scw dedibox bmc get <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredID of the server to get BMC access
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Start BMC (Baseboard Management Controller) access for a given baremetal server

Start BMC (Baseboard Management Controller) access associated with the given ID. The BMC (Baseboard Management Controller) access is available one hour after the installation of the server.

Usage:

TerminalCode
scw dedibox bmc start <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredID of the server to start the BMC access
ipThe IP authorized to connect to the given server
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Stop BMC (Baseboard Management Controller) access for a given baremetal server

Stop BMC (Baseboard Management Controller) access associated with the given ID.

Usage:

TerminalCode
scw dedibox bmc stop <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredID of the server to stop BMC access
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Failover IPs commands

Failover IPs commands.

Attach failovers on baremetal server

Attach failovers on the server associated with the given ID.

Usage:

TerminalCode
scw dedibox fip attach [arg=value ...]

Args:

NameDescription
server-idID of the server
fips-ids.{index}RequiredList of ID of failovers IP to attach
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Attach a failover IP to a MAC address

Attach a failover IP to a MAC address.

Usage:

TerminalCode
scw dedibox fip attach-mac [arg=value ...]

Args:

NameDescription
ip-idRequiredID of the failover IP
typeOne of: mac_type_unknown, vmware, kvm, xenA mac type
macA valid mac address (existing or not)
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Order failover IPs

Order X failover IPs.

Usage:

TerminalCode
scw dedibox fip create [arg=value ...]

Args:

NameDescription
offer-idFailover IP offer ID
project-idProject ID to use. If none is passed the default project ID will be used
quantityQuantity
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Delete a failover server

Delete the failover associated with the given ID.

Usage:

TerminalCode
scw dedibox fip delete [arg=value ...]

Args:

NameDescription
ip-idRequiredID of the failover IP to delete
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Detach failovers on baremetal server

Detach failovers on the server associated with the given ID.

Usage:

TerminalCode
scw dedibox fip detach [arg=value ...]

Args:

NameDescription
fips-ids.{index}RequiredList of IDs of failovers IP to detach
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Detach a failover IP from a MAC address

Detach a failover IP from a MAC address.

Usage:

TerminalCode
scw dedibox fip detach-mac [arg=value ...]

Args:

NameDescription
ip-idRequiredID of the failover IP
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Get a specific baremetal server

Get the server associated with the given ID.

Usage:

TerminalCode
scw dedibox fip get <ip-id ...> [arg=value ...]

Args:

NameDescription
ip-idRequiredID of the failover IP
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Get remaining quota

Get remaining quota.

Usage:

TerminalCode
scw dedibox fip get-quota [arg=value ...]

Args:

NameDescription
project-idDefault: <retrieved from config>Project ID
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

List failovers for project

List failovers servers for project.

Usage:

TerminalCode
scw dedibox fip list [arg=value ...]

Args:

NameDescription
order-byOne of: ip_asc, ip_descOrder of the failovers IP
project-idRequired
Default: <retrieved from config>
Filter failovers IP by project ID
searchFilter failovers IP which matching with this field
only-availableTrue: return all failovers IP not attached on server
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1, all
Zone to target. If none is passed will use default zone from the config

IPv6 block commands

IPv6 block commands.

Create IPv6 block for baremetal server

Create IPv6 block associated with the given project ID.

Usage:

TerminalCode
scw dedibox ipv6-block create [arg=value ...]

Args:

NameDescription
project-idDefault: <retrieved from config>ID of the project

Create IPv6 block subnet

Create IPv6 block subnet for the given IP ID. /48 could create subnet in /56 (quota link to your number of server). /56 could create subnet in /64 (quota link to your number of failover IP).

Usage:

TerminalCode
scw dedibox ipv6-block create-subnet [arg=value ...]

Args:

NameDescription
block-idRequiredID of the IPv6 block
addressAddress of the IPv6
cidrClassless InterDomain Routing notation of the IPv6

Delete IPv6 block

Delete IPv6 block subnet with the given ID.

Usage:

TerminalCode
scw dedibox ipv6-block delete [arg=value ...]

Args:

NameDescription
block-idRequiredID of the IPv6 block to delete

Get first IPv6 block

Get the first IPv6 block associated with the given project ID.

Usage:

TerminalCode
scw dedibox ipv6-block get [arg=value ...]

Args:

NameDescription
project-idDefault: <retrieved from config>ID of the project

Get IPv6 block quota

Get IPv6 block quota with the given project ID. /48 one per organization. /56 link to your number of server. /64 link to your number of failover IP.

Usage:

TerminalCode
scw dedibox ipv6-block get-quota [arg=value ...]

Args:

NameDescription
project-idDefault: <retrieved from config>ID of the project

List available IPv6 block subnets

List all available IPv6 block subnets for given IP ID.

Usage:

TerminalCode
scw dedibox ipv6-block list-subnet [arg=value ...]

Args:

NameDescription
block-idRequiredID of the IPv6 block

Update IPv6 block

Update DNS associated to IPv6 block. If DNS is used, minimum of 2 is necessary and maximum of 5 (no duplicate).

Usage:

TerminalCode
scw dedibox ipv6-block update [arg=value ...]

Args:

NameDescription
block-idRequiredID of the IPv6 block
nameservers.{index}DNS to link to the IPv6

Offer commands

Offer commands.

Get offer

Return specific offer for the given ID.

Usage:

TerminalCode
scw dedibox offer get <offer-id ...> [arg=value ...]

Args:

NameDescription
offer-idRequiredID of offer
project-idDefault: <retrieved from config>Project ID
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

List offers

List all available server offers.

Usage:

TerminalCode
scw dedibox offer list [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_desc, name_asc, name_desc, price_asc, price_descOrder of the offers
commercial-rangeFilter on commercial range
catalogOne of: all, default, beta, reseller, premium, volume, admin, inactiveFilter on catalog
project-idDefault: <retrieved from config>Project ID
is-failover-ipGet the current failover IP offer
is-failover-blockGet the current failover IP block offer
sold-inFilter offers depending on their datacenter
available-onlySet this filter to true to only return available offers
is-rpn-sanGet the RPN SAN offers
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1, all
Zone to target. If none is passed will use default zone from the config

OS commands

OS commands.

Get an OS with a given ID

Return specific OS for the given ID.

Usage:

TerminalCode
scw dedibox os get <os-id ...> [arg=value ...]

Args:

NameDescription
os-idRequiredID of the OS
server-idID of the server
project-idProject ID
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

List all available OS that can be install on a baremetal server

List all available OS that can be install on a baremetal server.

Usage:

TerminalCode
scw dedibox os list <server-id ...> [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_desc, released_at_asc, released_at_descOrder of the OS
typeOne of: unknown_type, server, virtu, panel, desktop, custom, rescueType of the OS
server-idRequiredFilter OS by compatible server ID
project-idDefault: <retrieved from config>Project ID
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1, all
Zone to target. If none is passed will use default zone from the config

RAID commands

RAID commands.

Get raid

Return raid for the given server ID.

Usage:

TerminalCode
scw dedibox raid get <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredID of the server
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Update RAID

Update RAID associated with the given server ID.

Usage:

TerminalCode
scw dedibox raid update <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredID of the server
raid-arrays.{index}.raid-levelOne of: no_raid, raid0, raid1, raid5, raid6, raid10The RAID level
raid-arrays.{index}.disk-ids.{index}RequiredThe list of Disk ID of the updatable RAID
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Rescue commands

Rescue commands.

Get rescue information

Return rescue information for the given server ID.

Usage:

TerminalCode
scw dedibox rescue get <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredID of the server to get rescue
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Start in rescue baremetal server

Start in rescue the server associated with the given ID.

Usage:

TerminalCode
scw dedibox rescue start <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredID of the server to start rescue
os-idOS ID to use to start rescue
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Stop rescue on baremetal server

Stop rescue on the server associated with the given ID.

Usage:

TerminalCode
scw dedibox rescue stop <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredID of the server to stop rescue
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Reverse-IP commands

Reverse-IP commands.

Update reverse of ip

Update reverse of ip associated with the given ID.

Usage:

TerminalCode
scw dedibox reverse-ip update <ip-id ...> [arg=value ...]

Args:

NameDescription
ip-idRequiredID of the IP
reverseReverse to apply on the IP
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

RPN's information commands

RPN's information commands.

Get dedibox resources

Get dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-info get [arg=value ...]

Args:

NameDescription
project-idDefault: <retrieved from config>A project ID
rpnv1-group-idAn RPN v1 group ID
rpnv2-group-idAn RPN v2 group ID

List dedibox resources

List dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-info list [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the servers
project-idDefault: <retrieved from config>Filter servers by project ID

RPN V1 commands

RPN V1 commands.

Accept-invite dedibox resources

Accept-invite dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 accept-invite [arg=value ...]

Args:

NameDescription
member-idRequiredThe member ID

Add-members dedibox resources

Add-members dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 add-members <group-id ...> [arg=value ...]

Args:

NameDescription
group-idRequiredThe rpn v1 group ID
server-ids.{index}A collection of rpn v1 capable server IDs
san-server-ids.{index}A collection of rpn v1 capable RPN SAN server IDs

Create dedibox resources

Create dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 create [arg=value ...]

Args:

NameDescription
nameRequiredRpn v1 group name
server-ids.{index}A collection of rpn v1 capable servers
san-server-ids.{index}A collection of rpn v1 capable rpn sans servers
project-idProject ID to use. If none is passed the default project ID will be used

Delete dedibox resources

Delete dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 delete <group-id ...> [arg=value ...]

Args:

NameDescription
group-idRequiredRpn v1 group ID

Delete-members dedibox resources

Delete-members dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 delete-members <group-id ...> [arg=value ...]

Args:

NameDescription
group-idRequiredThe rpn v1 group ID
member-ids.{index}RequiredA collection of rpn v1 group members IDs

Get dedibox resources

Get dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 get <group-id ...> [arg=value ...]

Args:

NameDescription
group-idRequiredRpn v1 group ID

Invite dedibox resources

Invite dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 invite [arg=value ...]

Args:

NameDescription
group-idRequiredThe RPN V1 group ID
server-ids.{index}RequiredA collection of external server IDs
project-idProject ID to use. If none is passed the default project ID will be used

Leave dedibox resources

Leave dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 leave [arg=value ...]

Args:

NameDescription
group-idRequiredThe RPN V1 group ID
member-ids.{index}RequiredA collection of rpn v1 group members IDs

List dedibox resources

List dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 list [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the rpn v1 groups
project-idDefault: <retrieved from config>Filter rpn v1 groups by project ID

List-capable-san-server dedibox resources

List-capable-san-server dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 list-capable-san-server [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the rpn capable resources
project-idDefault: <retrieved from config>Filter rpn capable resources by project ID

List-capable-server dedibox resources

List-capable-server dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 list-capable-server [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the rpn capable resources
project-idDefault: <retrieved from config>Filter rpn capable resources by project ID

List-invites dedibox resources

List-invites dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 list-invites [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the rpn capable resources
project-idProject ID to use. If none is passed the default project ID will be used

List-members dedibox resources

List-members dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 list-members [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the rpn v1 group members
group-idRequiredFilter rpn v1 group members by group ID
project-idDefault: <retrieved from config>A project ID

Refuse-invite dedibox resources

Refuse-invite dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 refuse-invite [arg=value ...]

Args:

NameDescription
member-idRequiredThe member ID

Update dedibox resources

Update dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v1 update <group-id ...> [arg=value ...]

Args:

NameDescription
group-idRequiredRpn v1 group ID
nameRequiredNew rpn v1 group name

Add-members dedibox resources

Add-members dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v2 add-members <group-id ...> [arg=value ...]

Args:

NameDescription
group-idRequiredRPN V2 group ID
servers.{index}RequiredA collection of server IDs

Create dedibox resources

Create dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v2 create [arg=value ...]

Args:

NameDescription
project-idProject ID to use. If none is passed the default project ID will be used
typeOne of: unknown_type, standard, qinqRPN V2 group type (qing / standard)
nameRPN V2 group name
servers.{index}RequiredA collection of server IDs

Delete dedibox resources

Delete dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v2 delete <group-id ...> [arg=value ...]

Args:

NameDescription
group-idRequiredRPN V2 group ID

Delete-members dedibox resources

Delete-members dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v2 delete-members <group-id ...> [arg=value ...]

Args:

NameDescription
group-idRequiredRPN V2 group ID
member-ids.{index}RequiredA collection of member IDs

Disable-compatibility dedibox resources

Disable-compatibility dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v2 disable-compatibility <group-id ...> [arg=value ...]

Args:

NameDescription
group-idRequiredRPN V2 group ID

Enable-compatibility dedibox resources

Enable-compatibility dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v2 enable-compatibility [arg=value ...]

Args:

NameDescription
group-idRequiredRPN V2 group ID
rpnv1-group-idRPN V1 group ID

Get dedibox resources

Get dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v2 get <group-id ...> [arg=value ...]

Args:

NameDescription
group-idRequiredRPN V2 group ID

List dedibox resources

List dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v2 list [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the rpn v2 groups
project-idDefault: <retrieved from config>Filter rpn v2 groups by project ID

List-capable-resources dedibox resources

List-capable-resources dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v2 list-capable-resources [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the rpn v2 capable resources
project-idDefault: <retrieved from config>Filter rpn v2 capable resources by project ID

List-logs dedibox resources

List-logs dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v2 list-logs [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the rpn v2 group logs
group-idRequiredRPN V2 group ID

List-members dedibox resources

List-members dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v2 list-members [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the rpn v2 group members
group-idRequiredRPN V2 group ID
typeOne of: unknown_type, rpnv1_group, serverFilter members by type

Update dedibox resources

Update dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v2 update <group-id ...> [arg=value ...]

Args:

NameDescription
group-idRequiredRPN V2 group ID
nameRPN V2 group name

Update-vlan-members dedibox resources

Update-vlan-members dedibox resources.

Usage:

TerminalCode
scw dedibox rpn-v2 update-vlan-members <group-id ...> [arg=value ...]

Args:

NameDescription
group-idRequiredRPN V2 group ID
member-ids.{index}RequiredRPN V2 member IDs
vlanA vlan

RPN SAN (Storage Area Network) commands

RPN SAN (Storage Area Network) commands.

Add-ip dedibox resources

Add-ip dedibox resources.

Usage:

TerminalCode
scw dedibox san add-ip [arg=value ...]

Args:

NameDescription
rpn-san-idRequiredRPN SAN ID
ip-ids.{index}RequiredAn array of IP ID

Create dedibox resources

Create dedibox resources.

Usage:

TerminalCode
scw dedibox san create [arg=value ...]

Args:

NameDescription
offer-idRequiredOffer ID
project-idProject ID to use. If none is passed the default project ID will be used

Delete dedibox resources

Delete dedibox resources.

Usage:

TerminalCode
scw dedibox san delete [arg=value ...]

Args:

NameDescription
rpn-san-idRequiredRPN SAN ID

Get dedibox resources

Get dedibox resources.

Usage:

TerminalCode
scw dedibox san get [arg=value ...]

Args:

NameDescription
rpn-san-idRequiredRPN SAN ID

List dedibox resources

List dedibox resources.

Usage:

TerminalCode
scw dedibox san list [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the RPN SANs
project-idDefault: <retrieved from config>Filter RPN SANs by project ID

List-available-ips dedibox resources

List-available-ips dedibox resources.

Usage:

TerminalCode
scw dedibox san list-available-ips [arg=value ...]

Args:

NameDescription
rpn-san-idRequiredRPN SAN ID
typeOne of: unknown, server_ip, rpnv2_subnetFilter by IP type (server

List-ips dedibox resources

List-ips dedibox resources.

Usage:

TerminalCode
scw dedibox san list-ips [arg=value ...]

Args:

NameDescription
rpn-san-idRequiredRPN SAN ID
typeOne of: unknown, server_ip, rpnv2_subnetFilter by IP type (server

Remove-ip dedibox resources

Remove-ip dedibox resources.

Usage:

TerminalCode
scw dedibox san remove-ip [arg=value ...]

Args:

NameDescription
rpn-san-idRequiredRPN SAN ID
ip-ids.{index}RequiredAn array of IP ID

Baremetal server commands

Baremetal server commands.

Cancels the current (running) server installation

Cancels the current server installation associated with the given server ID.

Usage:

TerminalCode
scw dedibox server cancel-install <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredServer ID of the server to cancel install
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Create a baremetal server

Create a new baremetal server. The order return you a service ID to follow the provisioning status you could call GetService.

Usage:

TerminalCode
scw dedibox server create [arg=value ...]

Args:

NameDescription
offer-idOffer ID of the new server
server-option-ids.{index}RequiredServer option IDs of the new server
project-idProject ID to use. If none is passed the default project ID will be used
datacenter-nameDatacenter name of the new server
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Delete a baremetal server

Delete the server associated with the given ID.

Usage:

TerminalCode
scw dedibox server delete <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredServer ID to delete
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Get a specific baremetal server

Get the server associated with the given ID.

Usage:

TerminalCode
scw dedibox server get <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredID of the server
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Get a specific server installation status

Get the server installation status associated with the given server ID.

Usage:

TerminalCode
scw dedibox server get-install <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredServer ID of the server to install
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Get server default partitioning

Get the server default partitioning schema associated with the given server ID and OS ID.

Usage:

TerminalCode
scw dedibox server get-partitioning <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredID of the server
os-idRequiredOS ID of the default partitioning
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Install a baremetal server

Install an OS on the server associated with the given ID.

Usage:

TerminalCode
scw dedibox server install <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredServer ID to install
os-idOS ID to install on the server
hostnameHostname of the server
user-loginUser to install on the server
user-passwordUser password to install on the server
panel-passwordPanel password to install on the server
root-passwordRoot password to install on the server
partitions.{index}.file-systemOne of: unknown, efi, swap, ext4, ext3, ext2, xfs, ntfs, fat32, ufsFile system of the installation partition
partitions.{index}.mount-pointMount point of the installation partition
partitions.{index}.raid-levelOne of: no_raid, raid0, raid1, raid5, raid6, raid10RAID level of the installation partition
partitions.{index}.capacityCapacity of the installation partition
partitions.{index}.connectors.{index}Connectors of the installation partition
ssh-key-ids.{index}SSH key IDs authorized on the server
license-offer-idOffer ID of license to install on server
ip-idIP to link at the license to install on server
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

List baremetal servers for project

List baremetal servers for project.

Usage:

TerminalCode
scw dedibox server list [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the servers
project-idRequired
Default: <retrieved from config>
Filter servers by project ID
searchFilter servers by hostname
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1, all
Zone to target. If none is passed will use default zone from the config

List server disks

List disks associated to the given server ID.

Usage:

TerminalCode
scw dedibox server list-disks <server-id ...> [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the server disks
server-idRequiredServer ID of the server disks
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1, all
Zone to target. If none is passed will use default zone from the config

List server events

List events associated to the given server ID.

Usage:

TerminalCode
scw dedibox server list-events <server-id ...> [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the server events
server-idRequiredServer ID of the server events
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1, all
Zone to target. If none is passed will use default zone from the config

List subscribable server options

List subscribable options associated to the given server ID.

Usage:

TerminalCode
scw dedibox server list-options <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredServer ID of the subscribable server options
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1, all
Zone to target. If none is passed will use default zone from the config

Reboot a baremetal server

Reboot the server associated with the given ID, use boot param to reboot in rescue.

Usage:

TerminalCode
scw dedibox server reboot <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredServer ID to reboot
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Start a baremetal server

Start the server associated with the given ID.

Usage:

TerminalCode
scw dedibox server start <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredServer ID to start
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Stop a baremetal server

Stop the server associated with the given ID.

Usage:

TerminalCode
scw dedibox server stop <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredServer ID to stop
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Subscribe server option

Subscribe option for the given server ID.

Usage:

TerminalCode
scw dedibox server subscribe-option <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredServer ID to subscribe server option
option-idOption ID to subscribe
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Subscribe storage server option

Subscribe storage option for the given server ID.

Usage:

TerminalCode
scw dedibox server subscribe-storage <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredServer ID of the storage options to subscribe
options-ids.{index}RequiredOption IDs of the storage options to subscribe
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Update a baremetal server

Update the server associated with the given ID.

Usage:

TerminalCode
scw dedibox server update <server-id ...> [arg=value ...]

Args:

NameDescription
server-idRequiredServer ID to update
hostnameHostname of the server to update
enable-ipv6Flag to enable or not the IPv6 of server
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Service commands

Service commands.

Delete a specific service

Delete the service associated with the given ID.

Usage:

TerminalCode
scw dedibox service delete <service-id ...> [arg=value ...]

Args:

NameDescription
service-idRequiredID of the service
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

Get a specific service

Get the service associated with the given ID.

Usage:

TerminalCode
scw dedibox service get <service-id ...> [arg=value ...]

Args:

NameDescription
service-idRequiredID of the service
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1
Zone to target. If none is passed will use default zone from the config

List services

List services.

Usage:

TerminalCode
scw dedibox service list [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_asc, created_at_descOrder of the services
project-idDefault: <retrieved from config>Project ID
zoneDefault: fr-par-1
One of: fr-par-1, fr-par-2, nl-ams-1, all
Zone to target. If none is passed will use default zone from the config