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
- BMC (Baseboard Management Controller) access commands
- Failover IPs commands
- IPv6 block commands
- Offer commands
- OS commands
- RAID commands
- Rescue commands
- Reverse-IP commands
- RPN's information commands
- RPN V1 commands
- Accept-invite dedibox resources
- Add-members dedibox resources
- Create dedibox resources
- Delete dedibox resources
- Delete-members dedibox resources
- Get dedibox resources
- Invite dedibox resources
- Leave dedibox resources
- List dedibox resources
- List-capable-san-server dedibox resources
- List-capable-server dedibox resources
- List-invites dedibox resources
- List-members dedibox resources
- Refuse-invite dedibox resources
- Update dedibox resources
-
- Add-members dedibox resources
- Create dedibox resources
- Delete dedibox resources
- Delete-members dedibox resources
- Disable-compatibility dedibox resources
- Enable-compatibility dedibox resources
- Get dedibox resources
- List dedibox resources
- List-capable-resources dedibox resources
- List-logs dedibox resources
- List-members dedibox resources
- Update dedibox resources
- Update-vlan-members dedibox resources
- RPN SAN (Storage Area Network) commands
- Baremetal server commands
- Cancels the current (running) server installation
- Create a baremetal server
- Delete a baremetal server
- Get a specific baremetal server
- Get a specific server installation status
- Get server default partitioning
- Install a baremetal server
- List baremetal servers for project
- List server disks
- List server events
- List subscribable server options
- Reboot a baremetal server
- Start a baremetal server
- Stop a baremetal server
- Subscribe server option
- Subscribe storage server option
- Update a baremetal server
- Service commands
Billing commands
Billing commands.
Download-invoice dedibox resources
Download-invoice dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| invoice-id | Required |
Download-refund dedibox resources
Download-refund dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| refund-id | Required |
Get-invoice dedibox resources
Get-invoice dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| invoice-id | Required |
Get-order-capacity dedibox resources
Get-order-capacity dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| project-id | Project ID to use. If none is passed the default project ID will be used |
Get-refund dedibox resources
Get-refund dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| refund-id | Required |
List-invoice dedibox resources
List-invoice dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | |
| project-id | Default: <retrieved from config> |
List-refund dedibox resources
List-refund dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | |
| project-id | Default: <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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | ID of the server to get BMC access |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | ID of the server to start the BMC access |
| ip | The IP authorized to connect to the given server | |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | ID of the server to stop BMC access |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | ID of the server | |
| fips-ids.{index} | Required | List of ID of failovers IP to attach |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| ip-id | Required | ID of the failover IP |
| type | One of: mac_type_unknown, vmware, kvm, xen | A mac type |
| mac | A valid mac address (existing or not) | |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| offer-id | Failover IP offer ID | |
| project-id | Project ID to use. If none is passed the default project ID will be used | |
| quantity | Quantity | |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| ip-id | Required | ID of the failover IP to delete |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| fips-ids.{index} | Required | List of IDs of failovers IP to detach |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| ip-id | Required | ID of the failover IP |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| ip-id | Required | ID of the failover IP |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| project-id | Default: <retrieved from config> | Project ID |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: ip_asc, ip_desc | Order of the failovers IP |
| project-id | RequiredDefault: <retrieved from config> | Filter failovers IP by project ID |
| search | Filter failovers IP which matching with this field | |
| only-available | True: return all failovers IP not attached on server | |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| project-id | Default: <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:
Code
Args:
| Name | Description | |
|---|---|---|
| block-id | Required | ID of the IPv6 block |
| address | Address of the IPv6 | |
| cidr | Classless InterDomain Routing notation of the IPv6 |
Delete IPv6 block
Delete IPv6 block subnet with the given ID.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| block-id | Required | ID of the IPv6 block to delete |
Get first IPv6 block
Get the first IPv6 block associated with the given project ID.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| project-id | Default: <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:
Code
Args:
| Name | Description | |
|---|---|---|
| project-id | Default: <retrieved from config> | ID of the project |
List available IPv6 block subnets
List all available IPv6 block subnets for given IP ID.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| block-id | Required | ID 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:
Code
Args:
| Name | Description | |
|---|---|---|
| block-id | Required | ID 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:
Code
Args:
| Name | Description | |
|---|---|---|
| offer-id | Required | ID of offer |
| project-id | Default: <retrieved from config> | Project ID |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc, name_asc, name_desc, price_asc, price_desc | Order of the offers |
| commercial-range | Filter on commercial range | |
| catalog | One of: all, default, beta, reseller, premium, volume, admin, inactive | Filter on catalog |
| project-id | Default: <retrieved from config> | Project ID |
| is-failover-ip | Get the current failover IP offer | |
| is-failover-block | Get the current failover IP block offer | |
| sold-in | Filter offers depending on their datacenter | |
| available-only | Set this filter to true to only return available offers | |
| is-rpn-san | Get the RPN SAN offers | |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| os-id | Required | ID of the OS |
| server-id | ID of the server | |
| project-id | Project ID | |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc, released_at_asc, released_at_desc | Order of the OS |
| type | One of: unknown_type, server, virtu, panel, desktop, custom, rescue | Type of the OS |
| server-id | Required | Filter OS by compatible server ID |
| project-id | Default: <retrieved from config> | Project ID |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | ID of the server |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | ID of the server |
| raid-arrays.{index}.raid-level | One of: no_raid, raid0, raid1, raid5, raid6, raid10 | The RAID level |
| raid-arrays.{index}.disk-ids.{index} | Required | The list of Disk ID of the updatable RAID |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | ID of the server to get rescue |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | ID of the server to start rescue |
| os-id | OS ID to use to start rescue | |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | ID of the server to stop rescue |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| ip-id | Required | ID of the IP |
| reverse | Reverse to apply on the IP | |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| project-id | Default: <retrieved from config> | A project ID |
| rpnv1-group-id | An RPN v1 group ID | |
| rpnv2-group-id | An RPN v2 group ID |
List dedibox resources
List dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the servers |
| project-id | Default: <retrieved from config> | Filter servers by project ID |
RPN V1 commands
RPN V1 commands.
Accept-invite dedibox resources
Accept-invite dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| member-id | Required | The member ID |
Add-members dedibox resources
Add-members dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | The 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:
Code
Args:
| Name | Description | |
|---|---|---|
| name | Required | Rpn 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-id | Project ID to use. If none is passed the default project ID will be used |
Delete dedibox resources
Delete dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | Rpn v1 group ID |
Delete-members dedibox resources
Delete-members dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | The rpn v1 group ID |
| member-ids.{index} | Required | A collection of rpn v1 group members IDs |
Get dedibox resources
Get dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | Rpn v1 group ID |
Invite dedibox resources
Invite dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | The RPN V1 group ID |
| server-ids.{index} | Required | A collection of external server IDs |
| project-id | Project ID to use. If none is passed the default project ID will be used |
Leave dedibox resources
Leave dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | The RPN V1 group ID |
| member-ids.{index} | Required | A collection of rpn v1 group members IDs |
List dedibox resources
List dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the rpn v1 groups |
| project-id | Default: <retrieved from config> | Filter rpn v1 groups by project ID |
List-capable-san-server dedibox resources
List-capable-san-server dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the rpn capable resources |
| project-id | Default: <retrieved from config> | Filter rpn capable resources by project ID |
List-capable-server dedibox resources
List-capable-server dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the rpn capable resources |
| project-id | Default: <retrieved from config> | Filter rpn capable resources by project ID |
List-invites dedibox resources
List-invites dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the rpn capable resources |
| project-id | Project ID to use. If none is passed the default project ID will be used |
List-members dedibox resources
List-members dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the rpn v1 group members |
| group-id | Required | Filter rpn v1 group members by group ID |
| project-id | Default: <retrieved from config> | A project ID |
Refuse-invite dedibox resources
Refuse-invite dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| member-id | Required | The member ID |
Update dedibox resources
Update dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | Rpn v1 group ID |
| name | Required | New rpn v1 group name |
Add-members dedibox resources
Add-members dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | RPN V2 group ID |
| servers.{index} | Required | A collection of server IDs |
Create dedibox resources
Create dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| project-id | Project ID to use. If none is passed the default project ID will be used | |
| type | One of: unknown_type, standard, qinq | RPN V2 group type (qing / standard) |
| name | RPN V2 group name | |
| servers.{index} | Required | A collection of server IDs |
Delete dedibox resources
Delete dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | RPN V2 group ID |
Delete-members dedibox resources
Delete-members dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | RPN V2 group ID |
| member-ids.{index} | Required | A collection of member IDs |
Disable-compatibility dedibox resources
Disable-compatibility dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | RPN V2 group ID |
Enable-compatibility dedibox resources
Enable-compatibility dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | RPN V2 group ID |
| rpnv1-group-id | RPN V1 group ID |
Get dedibox resources
Get dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | RPN V2 group ID |
List dedibox resources
List dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the rpn v2 groups |
| project-id | Default: <retrieved from config> | Filter rpn v2 groups by project ID |
List-capable-resources dedibox resources
List-capable-resources dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the rpn v2 capable resources |
| project-id | Default: <retrieved from config> | Filter rpn v2 capable resources by project ID |
List-logs dedibox resources
List-logs dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the rpn v2 group logs |
| group-id | Required | RPN V2 group ID |
List-members dedibox resources
List-members dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the rpn v2 group members |
| group-id | Required | RPN V2 group ID |
| type | One of: unknown_type, rpnv1_group, server | Filter members by type |
Update dedibox resources
Update dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | RPN V2 group ID |
| name | RPN V2 group name |
Update-vlan-members dedibox resources
Update-vlan-members dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| group-id | Required | RPN V2 group ID |
| member-ids.{index} | Required | RPN V2 member IDs |
| vlan | A vlan |
RPN SAN (Storage Area Network) commands
RPN SAN (Storage Area Network) commands.
Add-ip dedibox resources
Add-ip dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| rpn-san-id | Required | RPN SAN ID |
| ip-ids.{index} | Required | An array of IP ID |
Create dedibox resources
Create dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| offer-id | Required | Offer ID |
| project-id | Project ID to use. If none is passed the default project ID will be used |
Delete dedibox resources
Delete dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| rpn-san-id | Required | RPN SAN ID |
Get dedibox resources
Get dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| rpn-san-id | Required | RPN SAN ID |
List dedibox resources
List dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the RPN SANs |
| project-id | Default: <retrieved from config> | Filter RPN SANs by project ID |
List-available-ips dedibox resources
List-available-ips dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| rpn-san-id | Required | RPN SAN ID |
| type | One of: unknown, server_ip, rpnv2_subnet | Filter by IP type (server |
List-ips dedibox resources
List-ips dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| rpn-san-id | Required | RPN SAN ID |
| type | One of: unknown, server_ip, rpnv2_subnet | Filter by IP type (server |
Remove-ip dedibox resources
Remove-ip dedibox resources.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| rpn-san-id | Required | RPN SAN ID |
| ip-ids.{index} | Required | An 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | Server ID of the server to cancel install |
| zone | Default: fr-par-1One 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 provisionning status you could call GetService.
Usage:
Code
Args:
| Name | Description | |
|---|---|---|
| offer-id | Offer ID of the new server | |
| server-option-ids.{index} | Required | Server option IDs of the new server |
| project-id | Project ID to use. If none is passed the default project ID will be used | |
| datacenter-name | Datacenter name of the new server | |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | Server ID to delete |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | ID of the server |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | Server ID of the server to install |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | ID of the server |
| os-id | Required | OS ID of the default partitioning |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | Server ID to install |
| os-id | OS ID to install on the server | |
| hostname | Hostname of the server | |
| user-login | User to install on the server | |
| user-password | User password to install on the server | |
| panel-password | Panel password to install on the server | |
| root-password | Root password to install on the server | |
| partitions.{index}.file-system | One of: unknown, efi, swap, ext4, ext3, ext2, xfs, ntfs, fat32, ufs | File system of the installation partition |
| partitions.{index}.mount-point | Mount point of the installation partition | |
| partitions.{index}.raid-level | One of: no_raid, raid0, raid1, raid5, raid6, raid10 | RAID level of the installation partition |
| partitions.{index}.capacity | Capacity 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-id | Offer ID of license to install on server | |
| ip-id | IP to link at the license to install on server | |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the servers |
| project-id | RequiredDefault: <retrieved from config> | Filter servers by project ID |
| search | Filter servers by hostname | |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the server disks |
| server-id | Required | Server ID of the server disks |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the server events |
| server-id | Required | Server ID of the server events |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | Server ID of the subscribable server options |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | Server ID to reboot |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | Server ID to start |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | Server ID to stop |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | Server ID to subscribe server option |
| option-id | Option ID to subscribe | |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | Server ID of the storage options to subscribe |
| options-ids.{index} | Required | Option IDs of the storage options to subscribe |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| server-id | Required | Server ID to update |
| hostname | Hostname of the server to update | |
| enable-ipv6 | Flag to enable or not the IPv6 of server | |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| service-id | Required | ID of the service |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| service-id | Required | ID of the service |
| zone | Default: fr-par-1One 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:
Code
Args:
| Name | Description | |
|---|---|---|
| order-by | One of: created_at_asc, created_at_desc | Order of the services |
| project-id | Default: <retrieved from config> | Project ID |
| zone | Default: fr-par-1One 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 |