ionoscloud.Server
Explore with Pulumi AI
Import
Resource Server can be imported using the resource id
and the datacenter id
, e.g.. Passing only resource id and datacenter id means that the first nic found linked to the server will be attached to it.
$ pulumi import ionoscloud:index/server:Server myserver datacenter uuid/server uuid
Optionally, you can pass primary_nic
and firewallrule_id
so terraform will know to import also the first nic and firewall rule (if it exists on the server):
$ pulumi import ionoscloud:index/server:Server myserver datacenter uuid/server uuid/primary nic id/firewall rule id
Create Server Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Server(name: string, args: ServerArgs, opts?: CustomResourceOptions);
@overload
def Server(resource_name: str,
args: ServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Server(resource_name: str,
opts: Optional[ResourceOptions] = None,
datacenter_id: Optional[str] = None,
name: Optional[str] = None,
image_name: Optional[str] = None,
boot_image: Optional[str] = None,
cores: Optional[float] = None,
cpu_family: Optional[str] = None,
availability_zone: Optional[str] = None,
firewallrule_ids: Optional[Sequence[str]] = None,
nic: Optional[ServerNicArgs] = None,
allow_replace: Optional[bool] = None,
image_password: Optional[str] = None,
boot_cdrom: Optional[str] = None,
labels: Optional[Sequence[ServerLabelArgs]] = None,
hostname: Optional[str] = None,
ram: Optional[float] = None,
security_groups_ids: Optional[Sequence[str]] = None,
server_id: Optional[str] = None,
ssh_key_paths: Optional[Sequence[str]] = None,
ssh_keys: Optional[Sequence[str]] = None,
template_uuid: Optional[str] = None,
timeouts: Optional[ServerTimeoutsArgs] = None,
type: Optional[str] = None,
vm_state: Optional[str] = None,
volume: Optional[ServerVolumeArgs] = None)
func NewServer(ctx *Context, name string, args ServerArgs, opts ...ResourceOption) (*Server, error)
public Server(string name, ServerArgs args, CustomResourceOptions? opts = null)
public Server(String name, ServerArgs args)
public Server(String name, ServerArgs args, CustomResourceOptions options)
type: ionoscloud:Server
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var serverResource = new Ionoscloud.Server("serverResource", new()
{
DatacenterId = "string",
Name = "string",
ImageName = "string",
BootImage = "string",
Cores = 0,
CpuFamily = "string",
AvailabilityZone = "string",
FirewallruleIds = new[]
{
"string",
},
Nic = new Ionoscloud.Inputs.ServerNicArgs
{
Lan = 0,
Id = "string",
Ipv6CidrBlock = "string",
FirewallActive = false,
FirewallType = "string",
Firewalls = new[]
{
new Ionoscloud.Inputs.ServerNicFirewallArgs
{
Protocol = "string",
IcmpCode = "string",
IcmpType = "string",
Id = "string",
Name = "string",
PortRangeEnd = 0,
PortRangeStart = 0,
SourceIp = "string",
SourceMac = "string",
TargetIp = "string",
Type = "string",
},
},
DeviceNumber = 0,
Ips = new[]
{
"string",
},
Dhcpv6 = false,
Ipv6Ips = new[]
{
"string",
},
Dhcp = false,
Mac = "string",
Name = "string",
PciSlot = 0,
SecurityGroupsIds = new[]
{
"string",
},
},
AllowReplace = false,
ImagePassword = "string",
Labels = new[]
{
new Ionoscloud.Inputs.ServerLabelArgs
{
Key = "string",
Value = "string",
},
},
Hostname = "string",
Ram = 0,
SecurityGroupsIds = new[]
{
"string",
},
ServerId = "string",
SshKeys = new[]
{
"string",
},
TemplateUuid = "string",
Timeouts = new Ionoscloud.Inputs.ServerTimeoutsArgs
{
Create = "string",
Default = "string",
Delete = "string",
Update = "string",
},
Type = "string",
VmState = "string",
Volume = new Ionoscloud.Inputs.ServerVolumeArgs
{
DiskType = "string",
LicenceType = "string",
Name = "string",
Bus = "string",
AvailabilityZone = "string",
DeviceNumber = 0,
DiscVirtioHotPlug = false,
DiscVirtioHotUnplug = false,
BackupUnitId = "string",
BootServer = "string",
CpuHotPlug = false,
NicHotPlug = false,
NicHotUnplug = false,
PciSlot = 0,
RamHotPlug = false,
Size = 0,
UserData = "string",
},
});
example, err := ionoscloud.NewServer(ctx, "serverResource", &ionoscloud.ServerArgs{
DatacenterId: pulumi.String("string"),
Name: pulumi.String("string"),
ImageName: pulumi.String("string"),
BootImage: pulumi.String("string"),
Cores: pulumi.Float64(0),
CpuFamily: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
FirewallruleIds: pulumi.StringArray{
pulumi.String("string"),
},
Nic: &ionoscloud.ServerNicArgs{
Lan: pulumi.Float64(0),
Id: pulumi.String("string"),
Ipv6CidrBlock: pulumi.String("string"),
FirewallActive: pulumi.Bool(false),
FirewallType: pulumi.String("string"),
Firewalls: ionoscloud.ServerNicFirewallArray{
&ionoscloud.ServerNicFirewallArgs{
Protocol: pulumi.String("string"),
IcmpCode: pulumi.String("string"),
IcmpType: pulumi.String("string"),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
PortRangeEnd: pulumi.Float64(0),
PortRangeStart: pulumi.Float64(0),
SourceIp: pulumi.String("string"),
SourceMac: pulumi.String("string"),
TargetIp: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
DeviceNumber: pulumi.Float64(0),
Ips: pulumi.StringArray{
pulumi.String("string"),
},
Dhcpv6: pulumi.Bool(false),
Ipv6Ips: pulumi.StringArray{
pulumi.String("string"),
},
Dhcp: pulumi.Bool(false),
Mac: pulumi.String("string"),
Name: pulumi.String("string"),
PciSlot: pulumi.Float64(0),
SecurityGroupsIds: pulumi.StringArray{
pulumi.String("string"),
},
},
AllowReplace: pulumi.Bool(false),
ImagePassword: pulumi.String("string"),
Labels: ionoscloud.ServerLabelArray{
&ionoscloud.ServerLabelArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Hostname: pulumi.String("string"),
Ram: pulumi.Float64(0),
SecurityGroupsIds: pulumi.StringArray{
pulumi.String("string"),
},
ServerId: pulumi.String("string"),
SshKeys: pulumi.StringArray{
pulumi.String("string"),
},
TemplateUuid: pulumi.String("string"),
Timeouts: &ionoscloud.ServerTimeoutsArgs{
Create: pulumi.String("string"),
Default: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Type: pulumi.String("string"),
VmState: pulumi.String("string"),
Volume: &ionoscloud.ServerVolumeArgs{
DiskType: pulumi.String("string"),
LicenceType: pulumi.String("string"),
Name: pulumi.String("string"),
Bus: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
DeviceNumber: pulumi.Float64(0),
DiscVirtioHotPlug: pulumi.Bool(false),
DiscVirtioHotUnplug: pulumi.Bool(false),
BackupUnitId: pulumi.String("string"),
BootServer: pulumi.String("string"),
CpuHotPlug: pulumi.Bool(false),
NicHotPlug: pulumi.Bool(false),
NicHotUnplug: pulumi.Bool(false),
PciSlot: pulumi.Float64(0),
RamHotPlug: pulumi.Bool(false),
Size: pulumi.Float64(0),
UserData: pulumi.String("string"),
},
})
var serverResource = new Server("serverResource", ServerArgs.builder()
.datacenterId("string")
.name("string")
.imageName("string")
.bootImage("string")
.cores(0)
.cpuFamily("string")
.availabilityZone("string")
.firewallruleIds("string")
.nic(ServerNicArgs.builder()
.lan(0)
.id("string")
.ipv6CidrBlock("string")
.firewallActive(false)
.firewallType("string")
.firewalls(ServerNicFirewallArgs.builder()
.protocol("string")
.icmpCode("string")
.icmpType("string")
.id("string")
.name("string")
.portRangeEnd(0)
.portRangeStart(0)
.sourceIp("string")
.sourceMac("string")
.targetIp("string")
.type("string")
.build())
.deviceNumber(0)
.ips("string")
.dhcpv6(false)
.ipv6Ips("string")
.dhcp(false)
.mac("string")
.name("string")
.pciSlot(0)
.securityGroupsIds("string")
.build())
.allowReplace(false)
.imagePassword("string")
.labels(ServerLabelArgs.builder()
.key("string")
.value("string")
.build())
.hostname("string")
.ram(0)
.securityGroupsIds("string")
.serverId("string")
.sshKeys("string")
.templateUuid("string")
.timeouts(ServerTimeoutsArgs.builder()
.create("string")
.default_("string")
.delete("string")
.update("string")
.build())
.type("string")
.vmState("string")
.volume(ServerVolumeArgs.builder()
.diskType("string")
.licenceType("string")
.name("string")
.bus("string")
.availabilityZone("string")
.deviceNumber(0)
.discVirtioHotPlug(false)
.discVirtioHotUnplug(false)
.backupUnitId("string")
.bootServer("string")
.cpuHotPlug(false)
.nicHotPlug(false)
.nicHotUnplug(false)
.pciSlot(0)
.ramHotPlug(false)
.size(0)
.userData("string")
.build())
.build());
server_resource = ionoscloud.Server("serverResource",
datacenter_id="string",
name="string",
image_name="string",
boot_image="string",
cores=0,
cpu_family="string",
availability_zone="string",
firewallrule_ids=["string"],
nic={
"lan": 0,
"id": "string",
"ipv6_cidr_block": "string",
"firewall_active": False,
"firewall_type": "string",
"firewalls": [{
"protocol": "string",
"icmp_code": "string",
"icmp_type": "string",
"id": "string",
"name": "string",
"port_range_end": 0,
"port_range_start": 0,
"source_ip": "string",
"source_mac": "string",
"target_ip": "string",
"type": "string",
}],
"device_number": 0,
"ips": ["string"],
"dhcpv6": False,
"ipv6_ips": ["string"],
"dhcp": False,
"mac": "string",
"name": "string",
"pci_slot": 0,
"security_groups_ids": ["string"],
},
allow_replace=False,
image_password="string",
labels=[{
"key": "string",
"value": "string",
}],
hostname="string",
ram=0,
security_groups_ids=["string"],
server_id="string",
ssh_keys=["string"],
template_uuid="string",
timeouts={
"create": "string",
"default": "string",
"delete": "string",
"update": "string",
},
type="string",
vm_state="string",
volume={
"disk_type": "string",
"licence_type": "string",
"name": "string",
"bus": "string",
"availability_zone": "string",
"device_number": 0,
"disc_virtio_hot_plug": False,
"disc_virtio_hot_unplug": False,
"backup_unit_id": "string",
"boot_server": "string",
"cpu_hot_plug": False,
"nic_hot_plug": False,
"nic_hot_unplug": False,
"pci_slot": 0,
"ram_hot_plug": False,
"size": 0,
"user_data": "string",
})
const serverResource = new ionoscloud.Server("serverResource", {
datacenterId: "string",
name: "string",
imageName: "string",
bootImage: "string",
cores: 0,
cpuFamily: "string",
availabilityZone: "string",
firewallruleIds: ["string"],
nic: {
lan: 0,
id: "string",
ipv6CidrBlock: "string",
firewallActive: false,
firewallType: "string",
firewalls: [{
protocol: "string",
icmpCode: "string",
icmpType: "string",
id: "string",
name: "string",
portRangeEnd: 0,
portRangeStart: 0,
sourceIp: "string",
sourceMac: "string",
targetIp: "string",
type: "string",
}],
deviceNumber: 0,
ips: ["string"],
dhcpv6: false,
ipv6Ips: ["string"],
dhcp: false,
mac: "string",
name: "string",
pciSlot: 0,
securityGroupsIds: ["string"],
},
allowReplace: false,
imagePassword: "string",
labels: [{
key: "string",
value: "string",
}],
hostname: "string",
ram: 0,
securityGroupsIds: ["string"],
serverId: "string",
sshKeys: ["string"],
templateUuid: "string",
timeouts: {
create: "string",
"default": "string",
"delete": "string",
update: "string",
},
type: "string",
vmState: "string",
volume: {
diskType: "string",
licenceType: "string",
name: "string",
bus: "string",
availabilityZone: "string",
deviceNumber: 0,
discVirtioHotPlug: false,
discVirtioHotUnplug: false,
backupUnitId: "string",
bootServer: "string",
cpuHotPlug: false,
nicHotPlug: false,
nicHotUnplug: false,
pciSlot: 0,
ramHotPlug: false,
size: 0,
userData: "string",
},
});
type: ionoscloud:Server
properties:
allowReplace: false
availabilityZone: string
bootImage: string
cores: 0
cpuFamily: string
datacenterId: string
firewallruleIds:
- string
hostname: string
imageName: string
imagePassword: string
labels:
- key: string
value: string
name: string
nic:
deviceNumber: 0
dhcp: false
dhcpv6: false
firewallActive: false
firewallType: string
firewalls:
- icmpCode: string
icmpType: string
id: string
name: string
portRangeEnd: 0
portRangeStart: 0
protocol: string
sourceIp: string
sourceMac: string
targetIp: string
type: string
id: string
ips:
- string
ipv6CidrBlock: string
ipv6Ips:
- string
lan: 0
mac: string
name: string
pciSlot: 0
securityGroupsIds:
- string
ram: 0
securityGroupsIds:
- string
serverId: string
sshKeys:
- string
templateUuid: string
timeouts:
create: string
default: string
delete: string
update: string
type: string
vmState: string
volume:
availabilityZone: string
backupUnitId: string
bootServer: string
bus: string
cpuHotPlug: false
deviceNumber: 0
discVirtioHotPlug: false
discVirtioHotUnplug: false
diskType: string
licenceType: string
name: string
nicHotPlug: false
nicHotUnplug: false
pciSlot: 0
ramHotPlug: false
size: 0
userData: string
Server Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Server resource accepts the following input properties:
- Datacenter
Id string - [string] The ID of a Virtual Data Center.
- Allow
Replace bool [bool] When set to true, allows the update of immutable fields by first destroying and then re-creating the server.
⚠️ Warning:
allow_replace
- lets you update immutable fields, but it first destroys and then re-creates the server in order to do it. This field should be used with care, understanding the risks.⚠ WARNING
Image_name under volume level is deprecated, please use image_name under server level ssh_key_path and ssh_keys fields are immutable.
⚠ WARNING
If you want to create a CUBE server, you have to provide the
template_uuid
. In this case you can not setcores
,ram
andvolume.size
arguments, these being mutually exclusive withtemplate_uuid
.In all the other cases (ENTERPRISE servers) you have to provide values for
cores
,ram
andvolume size
.- Availability
Zone string - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - Boot
Cdrom string - DEPRECATED Please refer to ionoscloud.ServerBootDeviceSelection (Optional)(Computed)[string] The associated boot drive, if any. Must be the UUID of a bootable CDROM image that can be retrieved using the ionoscloud.getImage data source.
- Boot
Image string - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licence_type
is not provided. - Cores double
- (Computed)[integer] Number of server CPU cores.
- Cpu
Family string - [string] CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource. E.g.: "INTEL_SKYLAKE" or "INTEL_XEON".
- Firewallrule
Ids List<string> - The associated firewall rules.
- Hostname string
- (Computed)[string] The hostname of the resource. Allowed characters are a-z, 0-9 and - (minus). Hostname should not start with minus and should not be longer than 63 characters. If no value provided explicitly, it will be populated with the name of the server
- Image
Name string - [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if
licence_type
is not provided. Attribute is immutable. - Image
Password string - [string] Required if
ssh_key_path
is not provided. - Labels
List<Server
Label> - [set] A label can be seen as an object with only two required fields:
key
andvalue
, both of thestring
type. Please check the example presented above to see how alabel
can be used in the plan. A server can have multiple labels. - Name string
- [string] The name of the server.
- Nic
Server
Nic - See the Nic section.
- Ram double
- (Computed)[integer] The amount of memory for the server in MB.
- Security
Groups List<string>Ids - The list of Security Group IDs for the
- Server
Id string - Ssh
Key List<string>Paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - Ssh
Keys List<string> - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - Template
Uuid string - [string] The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
- Timeouts
Server
Timeouts - Type string
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- Vm
State string - [string] Sets the power state of the server. E.g:
RUNNING
,SHUTOFF
orSUSPENDED
. SUSPENDED state is only valid for cube. SHUTOFF state is only valid for enterprise. - Volume
Server
Volume - See the Volume section.
- Datacenter
Id string - [string] The ID of a Virtual Data Center.
- Allow
Replace bool [bool] When set to true, allows the update of immutable fields by first destroying and then re-creating the server.
⚠️ Warning:
allow_replace
- lets you update immutable fields, but it first destroys and then re-creates the server in order to do it. This field should be used with care, understanding the risks.⚠ WARNING
Image_name under volume level is deprecated, please use image_name under server level ssh_key_path and ssh_keys fields are immutable.
⚠ WARNING
If you want to create a CUBE server, you have to provide the
template_uuid
. In this case you can not setcores
,ram
andvolume.size
arguments, these being mutually exclusive withtemplate_uuid
.In all the other cases (ENTERPRISE servers) you have to provide values for
cores
,ram
andvolume size
.- Availability
Zone string - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - Boot
Cdrom string - DEPRECATED Please refer to ionoscloud.ServerBootDeviceSelection (Optional)(Computed)[string] The associated boot drive, if any. Must be the UUID of a bootable CDROM image that can be retrieved using the ionoscloud.getImage data source.
- Boot
Image string - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licence_type
is not provided. - Cores float64
- (Computed)[integer] Number of server CPU cores.
- Cpu
Family string - [string] CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource. E.g.: "INTEL_SKYLAKE" or "INTEL_XEON".
- Firewallrule
Ids []string - The associated firewall rules.
- Hostname string
- (Computed)[string] The hostname of the resource. Allowed characters are a-z, 0-9 and - (minus). Hostname should not start with minus and should not be longer than 63 characters. If no value provided explicitly, it will be populated with the name of the server
- Image
Name string - [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if
licence_type
is not provided. Attribute is immutable. - Image
Password string - [string] Required if
ssh_key_path
is not provided. - Labels
[]Server
Label Args - [set] A label can be seen as an object with only two required fields:
key
andvalue
, both of thestring
type. Please check the example presented above to see how alabel
can be used in the plan. A server can have multiple labels. - Name string
- [string] The name of the server.
- Nic
Server
Nic Args - See the Nic section.
- Ram float64
- (Computed)[integer] The amount of memory for the server in MB.
- Security
Groups []stringIds - The list of Security Group IDs for the
- Server
Id string - Ssh
Key []stringPaths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - Ssh
Keys []string - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - Template
Uuid string - [string] The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
- Timeouts
Server
Timeouts Args - Type string
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- Vm
State string - [string] Sets the power state of the server. E.g:
RUNNING
,SHUTOFF
orSUSPENDED
. SUSPENDED state is only valid for cube. SHUTOFF state is only valid for enterprise. - Volume
Server
Volume Args - See the Volume section.
- datacenter
Id String - [string] The ID of a Virtual Data Center.
- allow
Replace Boolean [bool] When set to true, allows the update of immutable fields by first destroying and then re-creating the server.
⚠️ Warning:
allow_replace
- lets you update immutable fields, but it first destroys and then re-creates the server in order to do it. This field should be used with care, understanding the risks.⚠ WARNING
Image_name under volume level is deprecated, please use image_name under server level ssh_key_path and ssh_keys fields are immutable.
⚠ WARNING
If you want to create a CUBE server, you have to provide the
template_uuid
. In this case you can not setcores
,ram
andvolume.size
arguments, these being mutually exclusive withtemplate_uuid
.In all the other cases (ENTERPRISE servers) you have to provide values for
cores
,ram
andvolume size
.- availability
Zone String - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - boot
Cdrom String - DEPRECATED Please refer to ionoscloud.ServerBootDeviceSelection (Optional)(Computed)[string] The associated boot drive, if any. Must be the UUID of a bootable CDROM image that can be retrieved using the ionoscloud.getImage data source.
- boot
Image String - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licence_type
is not provided. - cores Double
- (Computed)[integer] Number of server CPU cores.
- cpu
Family String - [string] CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource. E.g.: "INTEL_SKYLAKE" or "INTEL_XEON".
- firewallrule
Ids List<String> - The associated firewall rules.
- hostname String
- (Computed)[string] The hostname of the resource. Allowed characters are a-z, 0-9 and - (minus). Hostname should not start with minus and should not be longer than 63 characters. If no value provided explicitly, it will be populated with the name of the server
- image
Name String - [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if
licence_type
is not provided. Attribute is immutable. - image
Password String - [string] Required if
ssh_key_path
is not provided. - labels
List<Server
Label> - [set] A label can be seen as an object with only two required fields:
key
andvalue
, both of thestring
type. Please check the example presented above to see how alabel
can be used in the plan. A server can have multiple labels. - name String
- [string] The name of the server.
- nic
Server
Nic - See the Nic section.
- ram Double
- (Computed)[integer] The amount of memory for the server in MB.
- security
Groups List<String>Ids - The list of Security Group IDs for the
- server
Id String - ssh
Key List<String>Paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - ssh
Keys List<String> - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - template
Uuid String - [string] The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
- timeouts
Server
Timeouts - type String
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- vm
State String - [string] Sets the power state of the server. E.g:
RUNNING
,SHUTOFF
orSUSPENDED
. SUSPENDED state is only valid for cube. SHUTOFF state is only valid for enterprise. - volume
Server
Volume - See the Volume section.
- datacenter
Id string - [string] The ID of a Virtual Data Center.
- allow
Replace boolean [bool] When set to true, allows the update of immutable fields by first destroying and then re-creating the server.
⚠️ Warning:
allow_replace
- lets you update immutable fields, but it first destroys and then re-creates the server in order to do it. This field should be used with care, understanding the risks.⚠ WARNING
Image_name under volume level is deprecated, please use image_name under server level ssh_key_path and ssh_keys fields are immutable.
⚠ WARNING
If you want to create a CUBE server, you have to provide the
template_uuid
. In this case you can not setcores
,ram
andvolume.size
arguments, these being mutually exclusive withtemplate_uuid
.In all the other cases (ENTERPRISE servers) you have to provide values for
cores
,ram
andvolume size
.- availability
Zone string - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - boot
Cdrom string - DEPRECATED Please refer to ionoscloud.ServerBootDeviceSelection (Optional)(Computed)[string] The associated boot drive, if any. Must be the UUID of a bootable CDROM image that can be retrieved using the ionoscloud.getImage data source.
- boot
Image string - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licence_type
is not provided. - cores number
- (Computed)[integer] Number of server CPU cores.
- cpu
Family string - [string] CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource. E.g.: "INTEL_SKYLAKE" or "INTEL_XEON".
- firewallrule
Ids string[] - The associated firewall rules.
- hostname string
- (Computed)[string] The hostname of the resource. Allowed characters are a-z, 0-9 and - (minus). Hostname should not start with minus and should not be longer than 63 characters. If no value provided explicitly, it will be populated with the name of the server
- image
Name string - [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if
licence_type
is not provided. Attribute is immutable. - image
Password string - [string] Required if
ssh_key_path
is not provided. - labels
Server
Label[] - [set] A label can be seen as an object with only two required fields:
key
andvalue
, both of thestring
type. Please check the example presented above to see how alabel
can be used in the plan. A server can have multiple labels. - name string
- [string] The name of the server.
- nic
Server
Nic - See the Nic section.
- ram number
- (Computed)[integer] The amount of memory for the server in MB.
- security
Groups string[]Ids - The list of Security Group IDs for the
- server
Id string - ssh
Key string[]Paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - ssh
Keys string[] - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - template
Uuid string - [string] The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
- timeouts
Server
Timeouts - type string
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- vm
State string - [string] Sets the power state of the server. E.g:
RUNNING
,SHUTOFF
orSUSPENDED
. SUSPENDED state is only valid for cube. SHUTOFF state is only valid for enterprise. - volume
Server
Volume - See the Volume section.
- datacenter_
id str - [string] The ID of a Virtual Data Center.
- allow_
replace bool [bool] When set to true, allows the update of immutable fields by first destroying and then re-creating the server.
⚠️ Warning:
allow_replace
- lets you update immutable fields, but it first destroys and then re-creates the server in order to do it. This field should be used with care, understanding the risks.⚠ WARNING
Image_name under volume level is deprecated, please use image_name under server level ssh_key_path and ssh_keys fields are immutable.
⚠ WARNING
If you want to create a CUBE server, you have to provide the
template_uuid
. In this case you can not setcores
,ram
andvolume.size
arguments, these being mutually exclusive withtemplate_uuid
.In all the other cases (ENTERPRISE servers) you have to provide values for
cores
,ram
andvolume size
.- availability_
zone str - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - boot_
cdrom str - DEPRECATED Please refer to ionoscloud.ServerBootDeviceSelection (Optional)(Computed)[string] The associated boot drive, if any. Must be the UUID of a bootable CDROM image that can be retrieved using the ionoscloud.getImage data source.
- boot_
image str - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licence_type
is not provided. - cores float
- (Computed)[integer] Number of server CPU cores.
- cpu_
family str - [string] CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource. E.g.: "INTEL_SKYLAKE" or "INTEL_XEON".
- firewallrule_
ids Sequence[str] - The associated firewall rules.
- hostname str
- (Computed)[string] The hostname of the resource. Allowed characters are a-z, 0-9 and - (minus). Hostname should not start with minus and should not be longer than 63 characters. If no value provided explicitly, it will be populated with the name of the server
- image_
name str - [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if
licence_type
is not provided. Attribute is immutable. - image_
password str - [string] Required if
ssh_key_path
is not provided. - labels
Sequence[Server
Label Args] - [set] A label can be seen as an object with only two required fields:
key
andvalue
, both of thestring
type. Please check the example presented above to see how alabel
can be used in the plan. A server can have multiple labels. - name str
- [string] The name of the server.
- nic
Server
Nic Args - See the Nic section.
- ram float
- (Computed)[integer] The amount of memory for the server in MB.
- security_
groups_ Sequence[str]ids - The list of Security Group IDs for the
- server_
id str - ssh_
key_ Sequence[str]paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - ssh_
keys Sequence[str] - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - template_
uuid str - [string] The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
- timeouts
Server
Timeouts Args - type str
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- vm_
state str - [string] Sets the power state of the server. E.g:
RUNNING
,SHUTOFF
orSUSPENDED
. SUSPENDED state is only valid for cube. SHUTOFF state is only valid for enterprise. - volume
Server
Volume Args - See the Volume section.
- datacenter
Id String - [string] The ID of a Virtual Data Center.
- allow
Replace Boolean [bool] When set to true, allows the update of immutable fields by first destroying and then re-creating the server.
⚠️ Warning:
allow_replace
- lets you update immutable fields, but it first destroys and then re-creates the server in order to do it. This field should be used with care, understanding the risks.⚠ WARNING
Image_name under volume level is deprecated, please use image_name under server level ssh_key_path and ssh_keys fields are immutable.
⚠ WARNING
If you want to create a CUBE server, you have to provide the
template_uuid
. In this case you can not setcores
,ram
andvolume.size
arguments, these being mutually exclusive withtemplate_uuid
.In all the other cases (ENTERPRISE servers) you have to provide values for
cores
,ram
andvolume size
.- availability
Zone String - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - boot
Cdrom String - DEPRECATED Please refer to ionoscloud.ServerBootDeviceSelection (Optional)(Computed)[string] The associated boot drive, if any. Must be the UUID of a bootable CDROM image that can be retrieved using the ionoscloud.getImage data source.
- boot
Image String - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licence_type
is not provided. - cores Number
- (Computed)[integer] Number of server CPU cores.
- cpu
Family String - [string] CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource. E.g.: "INTEL_SKYLAKE" or "INTEL_XEON".
- firewallrule
Ids List<String> - The associated firewall rules.
- hostname String
- (Computed)[string] The hostname of the resource. Allowed characters are a-z, 0-9 and - (minus). Hostname should not start with minus and should not be longer than 63 characters. If no value provided explicitly, it will be populated with the name of the server
- image
Name String - [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if
licence_type
is not provided. Attribute is immutable. - image
Password String - [string] Required if
ssh_key_path
is not provided. - labels List<Property Map>
- [set] A label can be seen as an object with only two required fields:
key
andvalue
, both of thestring
type. Please check the example presented above to see how alabel
can be used in the plan. A server can have multiple labels. - name String
- [string] The name of the server.
- nic Property Map
- See the Nic section.
- ram Number
- (Computed)[integer] The amount of memory for the server in MB.
- security
Groups List<String>Ids - The list of Security Group IDs for the
- server
Id String - ssh
Key List<String>Paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - ssh
Keys List<String> - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - template
Uuid String - [string] The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
- timeouts Property Map
- type String
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- vm
State String - [string] Sets the power state of the server. E.g:
RUNNING
,SHUTOFF
orSUSPENDED
. SUSPENDED state is only valid for cube. SHUTOFF state is only valid for enterprise. - volume Property Map
- See the Volume section.
Outputs
All input properties are implicitly available as output properties. Additionally, the Server resource produces the following output properties:
- Boot
Volume string - The associated boot volume.
- Firewallrule
Id string - The associated firewall rule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inline
Volume List<string>Ids - A list with the IDs for the volumes that are defined inside the server resource.
- Primary
Ip string - The associated IP address.
- Primary
Nic string - The associated NIC.
- Boot
Volume string - The associated boot volume.
- Firewallrule
Id string - The associated firewall rule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inline
Volume []stringIds - A list with the IDs for the volumes that are defined inside the server resource.
- Primary
Ip string - The associated IP address.
- Primary
Nic string - The associated NIC.
- boot
Volume String - The associated boot volume.
- firewallrule
Id String - The associated firewall rule.
- id String
- The provider-assigned unique ID for this managed resource.
- inline
Volume List<String>Ids - A list with the IDs for the volumes that are defined inside the server resource.
- primary
Ip String - The associated IP address.
- primary
Nic String - The associated NIC.
- boot
Volume string - The associated boot volume.
- firewallrule
Id string - The associated firewall rule.
- id string
- The provider-assigned unique ID for this managed resource.
- inline
Volume string[]Ids - A list with the IDs for the volumes that are defined inside the server resource.
- primary
Ip string - The associated IP address.
- primary
Nic string - The associated NIC.
- boot_
volume str - The associated boot volume.
- firewallrule_
id str - The associated firewall rule.
- id str
- The provider-assigned unique ID for this managed resource.
- inline_
volume_ Sequence[str]ids - A list with the IDs for the volumes that are defined inside the server resource.
- primary_
ip str - The associated IP address.
- primary_
nic str - The associated NIC.
- boot
Volume String - The associated boot volume.
- firewallrule
Id String - The associated firewall rule.
- id String
- The provider-assigned unique ID for this managed resource.
- inline
Volume List<String>Ids - A list with the IDs for the volumes that are defined inside the server resource.
- primary
Ip String - The associated IP address.
- primary
Nic String - The associated NIC.
Look up Existing Server Resource
Get an existing Server resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ServerState, opts?: CustomResourceOptions): Server
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_replace: Optional[bool] = None,
availability_zone: Optional[str] = None,
boot_cdrom: Optional[str] = None,
boot_image: Optional[str] = None,
boot_volume: Optional[str] = None,
cores: Optional[float] = None,
cpu_family: Optional[str] = None,
datacenter_id: Optional[str] = None,
firewallrule_id: Optional[str] = None,
firewallrule_ids: Optional[Sequence[str]] = None,
hostname: Optional[str] = None,
image_name: Optional[str] = None,
image_password: Optional[str] = None,
inline_volume_ids: Optional[Sequence[str]] = None,
labels: Optional[Sequence[ServerLabelArgs]] = None,
name: Optional[str] = None,
nic: Optional[ServerNicArgs] = None,
primary_ip: Optional[str] = None,
primary_nic: Optional[str] = None,
ram: Optional[float] = None,
security_groups_ids: Optional[Sequence[str]] = None,
server_id: Optional[str] = None,
ssh_key_paths: Optional[Sequence[str]] = None,
ssh_keys: Optional[Sequence[str]] = None,
template_uuid: Optional[str] = None,
timeouts: Optional[ServerTimeoutsArgs] = None,
type: Optional[str] = None,
vm_state: Optional[str] = None,
volume: Optional[ServerVolumeArgs] = None) -> Server
func GetServer(ctx *Context, name string, id IDInput, state *ServerState, opts ...ResourceOption) (*Server, error)
public static Server Get(string name, Input<string> id, ServerState? state, CustomResourceOptions? opts = null)
public static Server get(String name, Output<String> id, ServerState state, CustomResourceOptions options)
resources: _: type: ionoscloud:Server get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Allow
Replace bool [bool] When set to true, allows the update of immutable fields by first destroying and then re-creating the server.
⚠️ Warning:
allow_replace
- lets you update immutable fields, but it first destroys and then re-creates the server in order to do it. This field should be used with care, understanding the risks.⚠ WARNING
Image_name under volume level is deprecated, please use image_name under server level ssh_key_path and ssh_keys fields are immutable.
⚠ WARNING
If you want to create a CUBE server, you have to provide the
template_uuid
. In this case you can not setcores
,ram
andvolume.size
arguments, these being mutually exclusive withtemplate_uuid
.In all the other cases (ENTERPRISE servers) you have to provide values for
cores
,ram
andvolume size
.- Availability
Zone string - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - Boot
Cdrom string - DEPRECATED Please refer to ionoscloud.ServerBootDeviceSelection (Optional)(Computed)[string] The associated boot drive, if any. Must be the UUID of a bootable CDROM image that can be retrieved using the ionoscloud.getImage data source.
- Boot
Image string - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licence_type
is not provided. - Boot
Volume string - The associated boot volume.
- Cores double
- (Computed)[integer] Number of server CPU cores.
- Cpu
Family string - [string] CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource. E.g.: "INTEL_SKYLAKE" or "INTEL_XEON".
- Datacenter
Id string - [string] The ID of a Virtual Data Center.
- Firewallrule
Id string - The associated firewall rule.
- Firewallrule
Ids List<string> - The associated firewall rules.
- Hostname string
- (Computed)[string] The hostname of the resource. Allowed characters are a-z, 0-9 and - (minus). Hostname should not start with minus and should not be longer than 63 characters. If no value provided explicitly, it will be populated with the name of the server
- Image
Name string - [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if
licence_type
is not provided. Attribute is immutable. - Image
Password string - [string] Required if
ssh_key_path
is not provided. - Inline
Volume List<string>Ids - A list with the IDs for the volumes that are defined inside the server resource.
- Labels
List<Server
Label> - [set] A label can be seen as an object with only two required fields:
key
andvalue
, both of thestring
type. Please check the example presented above to see how alabel
can be used in the plan. A server can have multiple labels. - Name string
- [string] The name of the server.
- Nic
Server
Nic - See the Nic section.
- Primary
Ip string - The associated IP address.
- Primary
Nic string - The associated NIC.
- Ram double
- (Computed)[integer] The amount of memory for the server in MB.
- Security
Groups List<string>Ids - The list of Security Group IDs for the
- Server
Id string - Ssh
Key List<string>Paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - Ssh
Keys List<string> - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - Template
Uuid string - [string] The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
- Timeouts
Server
Timeouts - Type string
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- Vm
State string - [string] Sets the power state of the server. E.g:
RUNNING
,SHUTOFF
orSUSPENDED
. SUSPENDED state is only valid for cube. SHUTOFF state is only valid for enterprise. - Volume
Server
Volume - See the Volume section.
- Allow
Replace bool [bool] When set to true, allows the update of immutable fields by first destroying and then re-creating the server.
⚠️ Warning:
allow_replace
- lets you update immutable fields, but it first destroys and then re-creates the server in order to do it. This field should be used with care, understanding the risks.⚠ WARNING
Image_name under volume level is deprecated, please use image_name under server level ssh_key_path and ssh_keys fields are immutable.
⚠ WARNING
If you want to create a CUBE server, you have to provide the
template_uuid
. In this case you can not setcores
,ram
andvolume.size
arguments, these being mutually exclusive withtemplate_uuid
.In all the other cases (ENTERPRISE servers) you have to provide values for
cores
,ram
andvolume size
.- Availability
Zone string - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - Boot
Cdrom string - DEPRECATED Please refer to ionoscloud.ServerBootDeviceSelection (Optional)(Computed)[string] The associated boot drive, if any. Must be the UUID of a bootable CDROM image that can be retrieved using the ionoscloud.getImage data source.
- Boot
Image string - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licence_type
is not provided. - Boot
Volume string - The associated boot volume.
- Cores float64
- (Computed)[integer] Number of server CPU cores.
- Cpu
Family string - [string] CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource. E.g.: "INTEL_SKYLAKE" or "INTEL_XEON".
- Datacenter
Id string - [string] The ID of a Virtual Data Center.
- Firewallrule
Id string - The associated firewall rule.
- Firewallrule
Ids []string - The associated firewall rules.
- Hostname string
- (Computed)[string] The hostname of the resource. Allowed characters are a-z, 0-9 and - (minus). Hostname should not start with minus and should not be longer than 63 characters. If no value provided explicitly, it will be populated with the name of the server
- Image
Name string - [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if
licence_type
is not provided. Attribute is immutable. - Image
Password string - [string] Required if
ssh_key_path
is not provided. - Inline
Volume []stringIds - A list with the IDs for the volumes that are defined inside the server resource.
- Labels
[]Server
Label Args - [set] A label can be seen as an object with only two required fields:
key
andvalue
, both of thestring
type. Please check the example presented above to see how alabel
can be used in the plan. A server can have multiple labels. - Name string
- [string] The name of the server.
- Nic
Server
Nic Args - See the Nic section.
- Primary
Ip string - The associated IP address.
- Primary
Nic string - The associated NIC.
- Ram float64
- (Computed)[integer] The amount of memory for the server in MB.
- Security
Groups []stringIds - The list of Security Group IDs for the
- Server
Id string - Ssh
Key []stringPaths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - Ssh
Keys []string - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - Template
Uuid string - [string] The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
- Timeouts
Server
Timeouts Args - Type string
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- Vm
State string - [string] Sets the power state of the server. E.g:
RUNNING
,SHUTOFF
orSUSPENDED
. SUSPENDED state is only valid for cube. SHUTOFF state is only valid for enterprise. - Volume
Server
Volume Args - See the Volume section.
- allow
Replace Boolean [bool] When set to true, allows the update of immutable fields by first destroying and then re-creating the server.
⚠️ Warning:
allow_replace
- lets you update immutable fields, but it first destroys and then re-creates the server in order to do it. This field should be used with care, understanding the risks.⚠ WARNING
Image_name under volume level is deprecated, please use image_name under server level ssh_key_path and ssh_keys fields are immutable.
⚠ WARNING
If you want to create a CUBE server, you have to provide the
template_uuid
. In this case you can not setcores
,ram
andvolume.size
arguments, these being mutually exclusive withtemplate_uuid
.In all the other cases (ENTERPRISE servers) you have to provide values for
cores
,ram
andvolume size
.- availability
Zone String - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - boot
Cdrom String - DEPRECATED Please refer to ionoscloud.ServerBootDeviceSelection (Optional)(Computed)[string] The associated boot drive, if any. Must be the UUID of a bootable CDROM image that can be retrieved using the ionoscloud.getImage data source.
- boot
Image String - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licence_type
is not provided. - boot
Volume String - The associated boot volume.
- cores Double
- (Computed)[integer] Number of server CPU cores.
- cpu
Family String - [string] CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource. E.g.: "INTEL_SKYLAKE" or "INTEL_XEON".
- datacenter
Id String - [string] The ID of a Virtual Data Center.
- firewallrule
Id String - The associated firewall rule.
- firewallrule
Ids List<String> - The associated firewall rules.
- hostname String
- (Computed)[string] The hostname of the resource. Allowed characters are a-z, 0-9 and - (minus). Hostname should not start with minus and should not be longer than 63 characters. If no value provided explicitly, it will be populated with the name of the server
- image
Name String - [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if
licence_type
is not provided. Attribute is immutable. - image
Password String - [string] Required if
ssh_key_path
is not provided. - inline
Volume List<String>Ids - A list with the IDs for the volumes that are defined inside the server resource.
- labels
List<Server
Label> - [set] A label can be seen as an object with only two required fields:
key
andvalue
, both of thestring
type. Please check the example presented above to see how alabel
can be used in the plan. A server can have multiple labels. - name String
- [string] The name of the server.
- nic
Server
Nic - See the Nic section.
- primary
Ip String - The associated IP address.
- primary
Nic String - The associated NIC.
- ram Double
- (Computed)[integer] The amount of memory for the server in MB.
- security
Groups List<String>Ids - The list of Security Group IDs for the
- server
Id String - ssh
Key List<String>Paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - ssh
Keys List<String> - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - template
Uuid String - [string] The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
- timeouts
Server
Timeouts - type String
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- vm
State String - [string] Sets the power state of the server. E.g:
RUNNING
,SHUTOFF
orSUSPENDED
. SUSPENDED state is only valid for cube. SHUTOFF state is only valid for enterprise. - volume
Server
Volume - See the Volume section.
- allow
Replace boolean [bool] When set to true, allows the update of immutable fields by first destroying and then re-creating the server.
⚠️ Warning:
allow_replace
- lets you update immutable fields, but it first destroys and then re-creates the server in order to do it. This field should be used with care, understanding the risks.⚠ WARNING
Image_name under volume level is deprecated, please use image_name under server level ssh_key_path and ssh_keys fields are immutable.
⚠ WARNING
If you want to create a CUBE server, you have to provide the
template_uuid
. In this case you can not setcores
,ram
andvolume.size
arguments, these being mutually exclusive withtemplate_uuid
.In all the other cases (ENTERPRISE servers) you have to provide values for
cores
,ram
andvolume size
.- availability
Zone string - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - boot
Cdrom string - DEPRECATED Please refer to ionoscloud.ServerBootDeviceSelection (Optional)(Computed)[string] The associated boot drive, if any. Must be the UUID of a bootable CDROM image that can be retrieved using the ionoscloud.getImage data source.
- boot
Image string - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licence_type
is not provided. - boot
Volume string - The associated boot volume.
- cores number
- (Computed)[integer] Number of server CPU cores.
- cpu
Family string - [string] CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource. E.g.: "INTEL_SKYLAKE" or "INTEL_XEON".
- datacenter
Id string - [string] The ID of a Virtual Data Center.
- firewallrule
Id string - The associated firewall rule.
- firewallrule
Ids string[] - The associated firewall rules.
- hostname string
- (Computed)[string] The hostname of the resource. Allowed characters are a-z, 0-9 and - (minus). Hostname should not start with minus and should not be longer than 63 characters. If no value provided explicitly, it will be populated with the name of the server
- image
Name string - [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if
licence_type
is not provided. Attribute is immutable. - image
Password string - [string] Required if
ssh_key_path
is not provided. - inline
Volume string[]Ids - A list with the IDs for the volumes that are defined inside the server resource.
- labels
Server
Label[] - [set] A label can be seen as an object with only two required fields:
key
andvalue
, both of thestring
type. Please check the example presented above to see how alabel
can be used in the plan. A server can have multiple labels. - name string
- [string] The name of the server.
- nic
Server
Nic - See the Nic section.
- primary
Ip string - The associated IP address.
- primary
Nic string - The associated NIC.
- ram number
- (Computed)[integer] The amount of memory for the server in MB.
- security
Groups string[]Ids - The list of Security Group IDs for the
- server
Id string - ssh
Key string[]Paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - ssh
Keys string[] - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - template
Uuid string - [string] The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
- timeouts
Server
Timeouts - type string
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- vm
State string - [string] Sets the power state of the server. E.g:
RUNNING
,SHUTOFF
orSUSPENDED
. SUSPENDED state is only valid for cube. SHUTOFF state is only valid for enterprise. - volume
Server
Volume - See the Volume section.
- allow_
replace bool [bool] When set to true, allows the update of immutable fields by first destroying and then re-creating the server.
⚠️ Warning:
allow_replace
- lets you update immutable fields, but it first destroys and then re-creates the server in order to do it. This field should be used with care, understanding the risks.⚠ WARNING
Image_name under volume level is deprecated, please use image_name under server level ssh_key_path and ssh_keys fields are immutable.
⚠ WARNING
If you want to create a CUBE server, you have to provide the
template_uuid
. In this case you can not setcores
,ram
andvolume.size
arguments, these being mutually exclusive withtemplate_uuid
.In all the other cases (ENTERPRISE servers) you have to provide values for
cores
,ram
andvolume size
.- availability_
zone str - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - boot_
cdrom str - DEPRECATED Please refer to ionoscloud.ServerBootDeviceSelection (Optional)(Computed)[string] The associated boot drive, if any. Must be the UUID of a bootable CDROM image that can be retrieved using the ionoscloud.getImage data source.
- boot_
image str - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licence_type
is not provided. - boot_
volume str - The associated boot volume.
- cores float
- (Computed)[integer] Number of server CPU cores.
- cpu_
family str - [string] CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource. E.g.: "INTEL_SKYLAKE" or "INTEL_XEON".
- datacenter_
id str - [string] The ID of a Virtual Data Center.
- firewallrule_
id str - The associated firewall rule.
- firewallrule_
ids Sequence[str] - The associated firewall rules.
- hostname str
- (Computed)[string] The hostname of the resource. Allowed characters are a-z, 0-9 and - (minus). Hostname should not start with minus and should not be longer than 63 characters. If no value provided explicitly, it will be populated with the name of the server
- image_
name str - [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if
licence_type
is not provided. Attribute is immutable. - image_
password str - [string] Required if
ssh_key_path
is not provided. - inline_
volume_ Sequence[str]ids - A list with the IDs for the volumes that are defined inside the server resource.
- labels
Sequence[Server
Label Args] - [set] A label can be seen as an object with only two required fields:
key
andvalue
, both of thestring
type. Please check the example presented above to see how alabel
can be used in the plan. A server can have multiple labels. - name str
- [string] The name of the server.
- nic
Server
Nic Args - See the Nic section.
- primary_
ip str - The associated IP address.
- primary_
nic str - The associated NIC.
- ram float
- (Computed)[integer] The amount of memory for the server in MB.
- security_
groups_ Sequence[str]ids - The list of Security Group IDs for the
- server_
id str - ssh_
key_ Sequence[str]paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - ssh_
keys Sequence[str] - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - template_
uuid str - [string] The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
- timeouts
Server
Timeouts Args - type str
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- vm_
state str - [string] Sets the power state of the server. E.g:
RUNNING
,SHUTOFF
orSUSPENDED
. SUSPENDED state is only valid for cube. SHUTOFF state is only valid for enterprise. - volume
Server
Volume Args - See the Volume section.
- allow
Replace Boolean [bool] When set to true, allows the update of immutable fields by first destroying and then re-creating the server.
⚠️ Warning:
allow_replace
- lets you update immutable fields, but it first destroys and then re-creates the server in order to do it. This field should be used with care, understanding the risks.⚠ WARNING
Image_name under volume level is deprecated, please use image_name under server level ssh_key_path and ssh_keys fields are immutable.
⚠ WARNING
If you want to create a CUBE server, you have to provide the
template_uuid
. In this case you can not setcores
,ram
andvolume.size
arguments, these being mutually exclusive withtemplate_uuid
.In all the other cases (ENTERPRISE servers) you have to provide values for
cores
,ram
andvolume size
.- availability
Zone String - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - boot
Cdrom String - DEPRECATED Please refer to ionoscloud.ServerBootDeviceSelection (Optional)(Computed)[string] The associated boot drive, if any. Must be the UUID of a bootable CDROM image that can be retrieved using the ionoscloud.getImage data source.
- boot
Image String - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licence_type
is not provided. - boot
Volume String - The associated boot volume.
- cores Number
- (Computed)[integer] Number of server CPU cores.
- cpu
Family String - [string] CPU architecture on which server gets provisioned; not all CPU architectures are available in all datacenter regions; available CPU architectures can be retrieved from the datacenter resource. E.g.: "INTEL_SKYLAKE" or "INTEL_XEON".
- datacenter
Id String - [string] The ID of a Virtual Data Center.
- firewallrule
Id String - The associated firewall rule.
- firewallrule
Ids List<String> - The associated firewall rules.
- hostname String
- (Computed)[string] The hostname of the resource. Allowed characters are a-z, 0-9 and - (minus). Hostname should not start with minus and should not be longer than 63 characters. If no value provided explicitly, it will be populated with the name of the server
- image
Name String - [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if
licence_type
is not provided. Attribute is immutable. - image
Password String - [string] Required if
ssh_key_path
is not provided. - inline
Volume List<String>Ids - A list with the IDs for the volumes that are defined inside the server resource.
- labels List<Property Map>
- [set] A label can be seen as an object with only two required fields:
key
andvalue
, both of thestring
type. Please check the example presented above to see how alabel
can be used in the plan. A server can have multiple labels. - name String
- [string] The name of the server.
- nic Property Map
- See the Nic section.
- primary
Ip String - The associated IP address.
- primary
Nic String - The associated NIC.
- ram Number
- (Computed)[integer] The amount of memory for the server in MB.
- security
Groups List<String>Ids - The list of Security Group IDs for the
- server
Id String - ssh
Key List<String>Paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - ssh
Keys List<String> - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - template
Uuid String - [string] The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
- timeouts Property Map
- type String
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- vm
State String - [string] Sets the power state of the server. E.g:
RUNNING
,SHUTOFF
orSUSPENDED
. SUSPENDED state is only valid for cube. SHUTOFF state is only valid for enterprise. - volume Property Map
- See the Volume section.
Supporting Types
ServerLabel, ServerLabelArgs
ServerNic, ServerNicArgs
- Lan double
- Device
Number double - Dhcp bool
- Dhcpv6 bool
- Indicates whether this NIC receives an IPv6 address through DHCP.
- Firewall
Active bool - Firewall
Type string - Firewalls
List<Server
Nic Firewall> - Allows to define firewall rules inline in the server. See the Firewall section.
- Id string
- Ips List<string>
- Collection of IP addresses assigned to a nic. Explicitly assigned public IPs need to come from reserved IP blocks, Passing value null or empty array will assign an IP address automatically.
- Ipv6Cidr
Block string - IPv6 CIDR block assigned to the NIC.
- Ipv6Ips List<string>
- Collection for IPv6 addresses assigned to a nic. Explicitly assigned IPv6 addresses need to come from inside the IPv6 CIDR block assigned to the nic.
- Mac string
- Name string
- [string] The name of the server.
- Pci
Slot double - Security
Groups List<string>Ids - The list of Security Group IDs for the
- Lan float64
- Device
Number float64 - Dhcp bool
- Dhcpv6 bool
- Indicates whether this NIC receives an IPv6 address through DHCP.
- Firewall
Active bool - Firewall
Type string - Firewalls
[]Server
Nic Firewall - Allows to define firewall rules inline in the server. See the Firewall section.
- Id string
- Ips []string
- Collection of IP addresses assigned to a nic. Explicitly assigned public IPs need to come from reserved IP blocks, Passing value null or empty array will assign an IP address automatically.
- Ipv6Cidr
Block string - IPv6 CIDR block assigned to the NIC.
- Ipv6Ips []string
- Collection for IPv6 addresses assigned to a nic. Explicitly assigned IPv6 addresses need to come from inside the IPv6 CIDR block assigned to the nic.
- Mac string
- Name string
- [string] The name of the server.
- Pci
Slot float64 - Security
Groups []stringIds - The list of Security Group IDs for the
- lan Double
- device
Number Double - dhcp Boolean
- dhcpv6 Boolean
- Indicates whether this NIC receives an IPv6 address through DHCP.
- firewall
Active Boolean - firewall
Type String - firewalls
List<Server
Nic Firewall> - Allows to define firewall rules inline in the server. See the Firewall section.
- id String
- ips List<String>
- Collection of IP addresses assigned to a nic. Explicitly assigned public IPs need to come from reserved IP blocks, Passing value null or empty array will assign an IP address automatically.
- ipv6Cidr
Block String - IPv6 CIDR block assigned to the NIC.
- ipv6Ips List<String>
- Collection for IPv6 addresses assigned to a nic. Explicitly assigned IPv6 addresses need to come from inside the IPv6 CIDR block assigned to the nic.
- mac String
- name String
- [string] The name of the server.
- pci
Slot Double - security
Groups List<String>Ids - The list of Security Group IDs for the
- lan number
- device
Number number - dhcp boolean
- dhcpv6 boolean
- Indicates whether this NIC receives an IPv6 address through DHCP.
- firewall
Active boolean - firewall
Type string - firewalls
Server
Nic Firewall[] - Allows to define firewall rules inline in the server. See the Firewall section.
- id string
- ips string[]
- Collection of IP addresses assigned to a nic. Explicitly assigned public IPs need to come from reserved IP blocks, Passing value null or empty array will assign an IP address automatically.
- ipv6Cidr
Block string - IPv6 CIDR block assigned to the NIC.
- ipv6Ips string[]
- Collection for IPv6 addresses assigned to a nic. Explicitly assigned IPv6 addresses need to come from inside the IPv6 CIDR block assigned to the nic.
- mac string
- name string
- [string] The name of the server.
- pci
Slot number - security
Groups string[]Ids - The list of Security Group IDs for the
- lan float
- device_
number float - dhcp bool
- dhcpv6 bool
- Indicates whether this NIC receives an IPv6 address through DHCP.
- firewall_
active bool - firewall_
type str - firewalls
Sequence[Server
Nic Firewall] - Allows to define firewall rules inline in the server. See the Firewall section.
- id str
- ips Sequence[str]
- Collection of IP addresses assigned to a nic. Explicitly assigned public IPs need to come from reserved IP blocks, Passing value null or empty array will assign an IP address automatically.
- ipv6_
cidr_ strblock - IPv6 CIDR block assigned to the NIC.
- ipv6_
ips Sequence[str] - Collection for IPv6 addresses assigned to a nic. Explicitly assigned IPv6 addresses need to come from inside the IPv6 CIDR block assigned to the nic.
- mac str
- name str
- [string] The name of the server.
- pci_
slot float - security_
groups_ Sequence[str]ids - The list of Security Group IDs for the
- lan Number
- device
Number Number - dhcp Boolean
- dhcpv6 Boolean
- Indicates whether this NIC receives an IPv6 address through DHCP.
- firewall
Active Boolean - firewall
Type String - firewalls List<Property Map>
- Allows to define firewall rules inline in the server. See the Firewall section.
- id String
- ips List<String>
- Collection of IP addresses assigned to a nic. Explicitly assigned public IPs need to come from reserved IP blocks, Passing value null or empty array will assign an IP address automatically.
- ipv6Cidr
Block String - IPv6 CIDR block assigned to the NIC.
- ipv6Ips List<String>
- Collection for IPv6 addresses assigned to a nic. Explicitly assigned IPv6 addresses need to come from inside the IPv6 CIDR block assigned to the nic.
- mac String
- name String
- [string] The name of the server.
- pci
Slot Number - security
Groups List<String>Ids - The list of Security Group IDs for the
ServerNicFirewall, ServerNicFirewallArgs
- Protocol string
- Icmp
Code string - Icmp
Type string - Id string
- Name string
- [string] The name of the server.
- Port
Range doubleEnd - Port
Range doubleStart - Source
Ip string - Source
Mac string - Target
Ip string - Type string
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- Protocol string
- Icmp
Code string - Icmp
Type string - Id string
- Name string
- [string] The name of the server.
- Port
Range float64End - Port
Range float64Start - Source
Ip string - Source
Mac string - Target
Ip string - Type string
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- protocol String
- icmp
Code String - icmp
Type String - id String
- name String
- [string] The name of the server.
- port
Range DoubleEnd - port
Range DoubleStart - source
Ip String - source
Mac String - target
Ip String - type String
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- protocol string
- icmp
Code string - icmp
Type string - id string
- name string
- [string] The name of the server.
- port
Range numberEnd - port
Range numberStart - source
Ip string - source
Mac string - target
Ip string - type string
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- protocol str
- icmp_
code str - icmp_
type str - id str
- name str
- [string] The name of the server.
- port_
range_ floatend - port_
range_ floatstart - source_
ip str - source_
mac str - target_
ip str - type str
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
- protocol String
- icmp
Code String - icmp
Type String - id String
- name String
- [string] The name of the server.
- port
Range NumberEnd - port
Range NumberStart - source
Ip String - source
Mac String - target
Ip String - type String
- (Computed)[string] Server usages: ENTERPRISE or CUBE. This property is immutable.
ServerTimeouts, ServerTimeoutsArgs
ServerVolume, ServerVolumeArgs
- Disk
Type string - Availability
Zone string - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - Backup
Unit stringId - The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' in conjunction with this property.
- Boot
Server string - The UUID of the attached server.
- Bus string
- Cpu
Hot boolPlug - Device
Number double - Disc
Virtio boolHot Plug - Disc
Virtio boolHot Unplug - Image
Password string - [string] Required if
ssh_key_path
is not provided. - Licence
Type string - [string] Sets the OS type of the server.
- Name string
- [string] The name of the server.
- Nic
Hot boolPlug - Nic
Hot boolUnplug - Pci
Slot double - Ram
Hot boolPlug - Size double
- The size of the volume in GB.
- Ssh
Key List<string>Paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - Ssh
Keys List<string> - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - User
Data string - The cloud-init configuration for the volume as base64 encoded string. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' that has cloud-init compatibility in conjunction with this property.
- Disk
Type string - Availability
Zone string - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - Backup
Unit stringId - The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' in conjunction with this property.
- Boot
Server string - The UUID of the attached server.
- Bus string
- Cpu
Hot boolPlug - Device
Number float64 - Disc
Virtio boolHot Plug - Disc
Virtio boolHot Unplug - Image
Password string - [string] Required if
ssh_key_path
is not provided. - Licence
Type string - [string] Sets the OS type of the server.
- Name string
- [string] The name of the server.
- Nic
Hot boolPlug - Nic
Hot boolUnplug - Pci
Slot float64 - Ram
Hot boolPlug - Size float64
- The size of the volume in GB.
- Ssh
Key []stringPaths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - Ssh
Keys []string - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - User
Data string - The cloud-init configuration for the volume as base64 encoded string. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' that has cloud-init compatibility in conjunction with this property.
- disk
Type String - availability
Zone String - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - backup
Unit StringId - The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' in conjunction with this property.
- boot
Server String - The UUID of the attached server.
- bus String
- cpu
Hot BooleanPlug - device
Number Double - disc
Virtio BooleanHot Plug - disc
Virtio BooleanHot Unplug - image
Password String - [string] Required if
ssh_key_path
is not provided. - licence
Type String - [string] Sets the OS type of the server.
- name String
- [string] The name of the server.
- nic
Hot BooleanPlug - nic
Hot BooleanUnplug - pci
Slot Double - ram
Hot BooleanPlug - size Double
- The size of the volume in GB.
- ssh
Key List<String>Paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - ssh
Keys List<String> - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - user
Data String - The cloud-init configuration for the volume as base64 encoded string. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' that has cloud-init compatibility in conjunction with this property.
- disk
Type string - availability
Zone string - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - backup
Unit stringId - The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' in conjunction with this property.
- boot
Server string - The UUID of the attached server.
- bus string
- cpu
Hot booleanPlug - device
Number number - disc
Virtio booleanHot Plug - disc
Virtio booleanHot Unplug - image
Password string - [string] Required if
ssh_key_path
is not provided. - licence
Type string - [string] Sets the OS type of the server.
- name string
- [string] The name of the server.
- nic
Hot booleanPlug - nic
Hot booleanUnplug - pci
Slot number - ram
Hot booleanPlug - size number
- The size of the volume in GB.
- ssh
Key string[]Paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - ssh
Keys string[] - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - user
Data string - The cloud-init configuration for the volume as base64 encoded string. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' that has cloud-init compatibility in conjunction with this property.
- disk_
type str - availability_
zone str - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - backup_
unit_ strid - The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' in conjunction with this property.
- boot_
server str - The UUID of the attached server.
- bus str
- cpu_
hot_ boolplug - device_
number float - disc_
virtio_ boolhot_ plug - disc_
virtio_ boolhot_ unplug - image_
password str - [string] Required if
ssh_key_path
is not provided. - licence_
type str - [string] Sets the OS type of the server.
- name str
- [string] The name of the server.
- nic_
hot_ boolplug - nic_
hot_ boolunplug - pci_
slot float - ram_
hot_ boolplug - size float
- The size of the volume in GB.
- ssh_
key_ Sequence[str]paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - ssh_
keys Sequence[str] - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - user_
data str - The cloud-init configuration for the volume as base64 encoded string. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' that has cloud-init compatibility in conjunction with this property.
- disk
Type String - availability
Zone String - [string] The availability zone in which the server should exist. E.g:
AUTO
,ZONE_1
,ZONE_2
. This property is immutable. - backup
Unit StringId - The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' in conjunction with this property.
- boot
Server String - The UUID of the attached server.
- bus String
- cpu
Hot BooleanPlug - device
Number Number - disc
Virtio BooleanHot Plug - disc
Virtio BooleanHot Unplug - image
Password String - [string] Required if
ssh_key_path
is not provided. - licence
Type String - [string] Sets the OS type of the server.
- name String
- [string] The name of the server.
- nic
Hot BooleanPlug - nic
Hot BooleanUnplug - pci
Slot Number - ram
Hot BooleanPlug - size Number
- The size of the volume in GB.
- ssh
Key List<String>Paths - [list] List of absolute paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Required for IonosCloud Linux images. Required if
image_password
is not provided. Does not support~
expansion to homedir in the given path. This property is immutable. - ssh
Keys List<String> - [list] Immutable List of absolute or relative paths to files containing public SSH key that will be injected into IonosCloud provided Linux images. Also accepts ssh keys directly. Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. Does not support
~
expansion to homedir in the given path. - user
Data String - The cloud-init configuration for the volume as base64 encoded string. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' that has cloud-init compatibility in conjunction with this property.
Package Details
- Repository
- ionoscloud ionos-cloud/terraform-provider-ionoscloud
- License
- Notes
- This Pulumi package is based on the
ionoscloud
Terraform Provider.