server
Type representing a IonosCloud server.
Parameters:
Name | Required | Description |
---|---|---|
name | true | The name of the server. |
Properties:
Name | Required | Description |
---|---|---|
ensure | No | Valid values are |
type | No | The type of the server. Valid values are |
template_uuid | No | The template UUID of the server, needed for a CUBE server. |
datacenter_id | No | The virtual data center where the server will reside. |
datacenter_name | No | The name of the virtual data center where the server will reside. |
cores | No | The number of CPU cores assigned to the server. |
cpu_family | No | The CPU family of the server. Valid values are |
ram | No | The amount of RAM in MB assigned to the server. |
availability_zone | No | The availability zone of where the server will reside. Valid values are |
boot_volume | No | The boot volume name, if more than one volume it attached to the server. |
licence_type | No | The OS type of the server. Valid values are |
volumes | No | A list of volumes to associate with the server. |
cdroms | No | A list of Cdroms to associate with the server. |
purge_volumes | No | Sets whether attached volumes are removed when server is removed. Valid values are |
nics | No | A list of network interfaces associated with the server. |
id | No | The server ID. |
*** |
Changeable properties:
cores
cpu_family
ram
availability_zone
boot_volume
volumes
nics
Examples
To list resources:
NOTE: If two resources have the same name only one of them will be shown.
To create, update or delete a resource:
NOTE: If two resources with the same name ar found an error will be thrown, this only applies to cases where the resource cannot be identified. Example: an error is thrown for two servers with the same name in the same datacenter, not for two servers with the same name, but in different datacenters.
Last updated