published on Wednesday, Apr 15, 2026 by ionos-cloud
published on Wednesday, Apr 15, 2026 by ionos-cloud
A GPU Server is a Virtual Machine (VM) provisioned from a GPU-enabled template.
Check out the docs page
Example Usage
This resource will create an operational server. After this section completes, the provisioner can be called.
GPU Server
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
import * as random from "@pulumi/random";
const example = new ionoscloud.compute.Datacenter("example", {
name: "Datacenter Example",
location: "de/fra/2",
});
const webserverIpblock = new ionoscloud.compute.IPBlock("webserver_ipblock", {
location: "de/fra",
size: 1,
name: "webserver_ipblock",
});
const exampleLan = new ionoscloud.compute.Lan("example", {
datacenterId: example.id,
"public": true,
name: "Lan Example",
});
const serverImagePassword = new random.index.Password("server_image_password", {
length: 16,
special: false,
});
const exampleGPUServer = new ionoscloud.compute.GPUServer("example", {
name: "GPU Server Example",
hostname: "gpu-server-example",
datacenterId: example.id,
availabilityZone: "AUTO",
templateUuid: "6913ed82-a143-4c15-89ac-08fb375a97c5",
imageName: "ubuntu:latest",
imagePassword: serverImagePassword.result,
vmState: "RUNNING",
volume: {
name: "system",
licenceType: "LINUX",
diskType: "SSD Premium",
bus: "VIRTIO",
availabilityZone: "AUTO",
exposeSerial: true,
requireLegacyBios: false,
},
nic: {
lan: exampleLan.id,
name: "system",
dhcp: true,
firewallActive: true,
firewallType: "INGRESS",
ips: [webserverIpblock.ips[0]],
firewall: {
protocol: "TCP",
name: "SSH",
portRangeStart: 22,
portRangeEnd: 22,
type: "INGRESS",
},
},
});
import pulumi
import pulumi_ionoscloud as ionoscloud
import pulumi_random as random
example = ionoscloud.compute.Datacenter("example",
name="Datacenter Example",
location="de/fra/2")
webserver_ipblock = ionoscloud.compute.IPBlock("webserver_ipblock",
location="de/fra",
size=1,
name="webserver_ipblock")
example_lan = ionoscloud.compute.Lan("example",
datacenter_id=example.id,
public=True,
name="Lan Example")
server_image_password = random.Password("server_image_password",
length=16,
special=False)
example_gpu_server = ionoscloud.compute.GPUServer("example",
name="GPU Server Example",
hostname="gpu-server-example",
datacenter_id=example.id,
availability_zone="AUTO",
template_uuid="6913ed82-a143-4c15-89ac-08fb375a97c5",
image_name="ubuntu:latest",
image_password=server_image_password["result"],
vm_state="RUNNING",
volume={
"name": "system",
"licence_type": "LINUX",
"disk_type": "SSD Premium",
"bus": "VIRTIO",
"availability_zone": "AUTO",
"expose_serial": True,
"require_legacy_bios": False,
},
nic={
"lan": example_lan.id,
"name": "system",
"dhcp": True,
"firewall_active": True,
"firewall_type": "INGRESS",
"ips": [webserver_ipblock.ips[0]],
"firewall": {
"protocol": "TCP",
"name": "SSH",
"port_range_start": 22,
"port_range_end": 22,
"type": "INGRESS",
},
})
package main
import (
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/compute"
"github.com/pulumi/pulumi-random/sdk/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := compute.NewDatacenter(ctx, "example", &compute.DatacenterArgs{
Name: pulumi.String("Datacenter Example"),
Location: pulumi.String("de/fra/2"),
})
if err != nil {
return err
}
webserverIpblock, err := compute.NewIPBlock(ctx, "webserver_ipblock", &compute.IPBlockArgs{
Location: pulumi.String("de/fra"),
Size: pulumi.Int(1),
Name: pulumi.String("webserver_ipblock"),
})
if err != nil {
return err
}
exampleLan, err := compute.NewLan(ctx, "example", &compute.LanArgs{
DatacenterId: example.ID(),
Public: pulumi.Bool(true),
Name: pulumi.String("Lan Example"),
})
if err != nil {
return err
}
serverImagePassword, err := random.NewPassword(ctx, "server_image_password", &random.PasswordArgs{
Length: 16,
Special: false,
})
if err != nil {
return err
}
_, err = compute.NewGPUServer(ctx, "example", &compute.GPUServerArgs{
Name: pulumi.String("GPU Server Example"),
Hostname: pulumi.String("gpu-server-example"),
DatacenterId: example.ID(),
AvailabilityZone: pulumi.String("AUTO"),
TemplateUuid: pulumi.String("6913ed82-a143-4c15-89ac-08fb375a97c5"),
ImageName: pulumi.String("ubuntu:latest"),
ImagePassword: serverImagePassword.Result,
VmState: pulumi.String("RUNNING"),
Volume: &compute.GPUServerVolumeArgs{
Name: pulumi.String("system"),
LicenceType: pulumi.String("LINUX"),
DiskType: pulumi.String("SSD Premium"),
Bus: pulumi.String("VIRTIO"),
AvailabilityZone: pulumi.String("AUTO"),
ExposeSerial: pulumi.Bool(true),
RequireLegacyBios: pulumi.Bool(false),
},
Nic: &compute.GPUServerNicArgs{
Lan: exampleLan.ID(),
Name: pulumi.String("system"),
Dhcp: pulumi.Bool(true),
FirewallActive: pulumi.Bool(true),
FirewallType: pulumi.String("INGRESS"),
Ips: pulumi.StringArray{
webserverIpblock.Ips.ApplyT(func(ips []string) (string, error) {
return ips[0], nil
}).(pulumi.StringOutput),
},
Firewall: &compute.GPUServerNicFirewallArgs{
Protocol: pulumi.String("TCP"),
Name: pulumi.String("SSH"),
PortRangeStart: pulumi.Int(22),
PortRangeEnd: pulumi.Int(22),
Type: pulumi.String("INGRESS"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Ionoscloud.Pulumi.Ionoscloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var example = new Ionoscloud.Compute.Datacenter("example", new()
{
Name = "Datacenter Example",
Location = "de/fra/2",
});
var webserverIpblock = new Ionoscloud.Compute.IPBlock("webserver_ipblock", new()
{
Location = "de/fra",
Size = 1,
Name = "webserver_ipblock",
});
var exampleLan = new Ionoscloud.Compute.Lan("example", new()
{
DatacenterId = example.Id,
Public = true,
Name = "Lan Example",
});
var serverImagePassword = new Random.Index.Password("server_image_password", new()
{
Length = 16,
Special = false,
});
var exampleGPUServer = new Ionoscloud.Compute.GPUServer("example", new()
{
Name = "GPU Server Example",
Hostname = "gpu-server-example",
DatacenterId = example.Id,
AvailabilityZone = "AUTO",
TemplateUuid = "6913ed82-a143-4c15-89ac-08fb375a97c5",
ImageName = "ubuntu:latest",
ImagePassword = serverImagePassword.Result,
VmState = "RUNNING",
Volume = new Ionoscloud.Compute.Inputs.GPUServerVolumeArgs
{
Name = "system",
LicenceType = "LINUX",
DiskType = "SSD Premium",
Bus = "VIRTIO",
AvailabilityZone = "AUTO",
ExposeSerial = true,
RequireLegacyBios = false,
},
Nic = new Ionoscloud.Compute.Inputs.GPUServerNicArgs
{
Lan = exampleLan.Id,
Name = "system",
Dhcp = true,
FirewallActive = true,
FirewallType = "INGRESS",
Ips = new[]
{
webserverIpblock.Ips.Apply(ips => ips[0]),
},
Firewall = new Ionoscloud.Compute.Inputs.GPUServerNicFirewallArgs
{
Protocol = "TCP",
Name = "SSH",
PortRangeStart = 22,
PortRangeEnd = 22,
Type = "INGRESS",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.ionoscloud.pulumi.ionoscloud.compute.Datacenter;
import com.ionoscloud.pulumi.ionoscloud.compute.DatacenterArgs;
import com.ionoscloud.pulumi.ionoscloud.compute.IPBlock;
import com.ionoscloud.pulumi.ionoscloud.compute.IPBlockArgs;
import com.ionoscloud.pulumi.ionoscloud.compute.Lan;
import com.ionoscloud.pulumi.ionoscloud.compute.LanArgs;
import com.pulumi.random.password;
import com.pulumi.random.passwordArgs;
import com.ionoscloud.pulumi.ionoscloud.compute.GPUServer;
import com.ionoscloud.pulumi.ionoscloud.compute.GPUServerArgs;
import com.pulumi.ionoscloud.compute.inputs.GPUServerVolumeArgs;
import com.pulumi.ionoscloud.compute.inputs.GPUServerNicArgs;
import com.pulumi.ionoscloud.compute.inputs.GPUServerNicFirewallArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Datacenter("example", DatacenterArgs.builder()
.name("Datacenter Example")
.location("de/fra/2")
.build());
var webserverIpblock = new IPBlock("webserverIpblock", IPBlockArgs.builder()
.location("de/fra")
.size(1)
.name("webserver_ipblock")
.build());
var exampleLan = new Lan("exampleLan", LanArgs.builder()
.datacenterId(example.id())
.public_(true)
.name("Lan Example")
.build());
var serverImagePassword = new Password("serverImagePassword", PasswordArgs.builder()
.length(16)
.special(false)
.build());
var exampleGPUServer = new GPUServer("exampleGPUServer", GPUServerArgs.builder()
.name("GPU Server Example")
.hostname("gpu-server-example")
.datacenterId(example.id())
.availabilityZone("AUTO")
.templateUuid("6913ed82-a143-4c15-89ac-08fb375a97c5")
.imageName("ubuntu:latest")
.imagePassword(serverImagePassword.result())
.vmState("RUNNING")
.volume(GPUServerVolumeArgs.builder()
.name("system")
.licenceType("LINUX")
.diskType("SSD Premium")
.bus("VIRTIO")
.availabilityZone("AUTO")
.exposeSerial(true)
.requireLegacyBios(false)
.build())
.nic(GPUServerNicArgs.builder()
.lan(exampleLan.id())
.name("system")
.dhcp(true)
.firewallActive(true)
.firewallType("INGRESS")
.ips(webserverIpblock.ips().applyValue(_ips -> _ips[0]))
.firewall(GPUServerNicFirewallArgs.builder()
.protocol("TCP")
.name("SSH")
.portRangeStart(22)
.portRangeEnd(22)
.type("INGRESS")
.build())
.build())
.build());
}
}
resources:
example:
type: ionoscloud:compute:Datacenter
properties:
name: Datacenter Example
location: de/fra/2
webserverIpblock:
type: ionoscloud:compute:IPBlock
name: webserver_ipblock
properties:
location: de/fra
size: 1
name: webserver_ipblock
exampleLan:
type: ionoscloud:compute:Lan
name: example
properties:
datacenterId: ${example.id}
public: true
name: Lan Example
serverImagePassword:
type: random:password
name: server_image_password
properties:
length: 16
special: false
exampleGPUServer:
type: ionoscloud:compute:GPUServer
name: example
properties:
name: GPU Server Example
hostname: gpu-server-example
datacenterId: ${example.id}
availabilityZone: AUTO
templateUuid: 6913ed82-a143-4c15-89ac-08fb375a97c5
imageName: ubuntu:latest
imagePassword: ${serverImagePassword.result}
vmState: RUNNING
volume:
name: system
licenceType: LINUX
diskType: SSD Premium
bus: VIRTIO
availabilityZone: AUTO
exposeSerial: true
requireLegacyBios: false
nic:
lan: ${exampleLan.id}
name: system
dhcp: true
firewallActive: true
firewallType: INGRESS
ips:
- ${webserverIpblock.ips[0]}
firewall:
protocol: TCP
name: SSH
portRangeStart: 22
portRangeEnd: 22
type: INGRESS
Create GpuServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GpuServer(name: string, args: GpuServerArgs, opts?: CustomResourceOptions);@overload
def GpuServer(resource_name: str,
args: GpuServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GpuServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_replace: Optional[bool] = None,
availability_zone: Optional[str] = None,
boot_image: Optional[str] = None,
datacenter_id: Optional[str] = None,
hostname: Optional[str] = None,
image_name: Optional[str] = None,
image_password: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
nic: Optional[GpuServerNicArgs] = None,
security_groups_ids: Optional[Sequence[str]] = None,
ssh_key_paths: Optional[Sequence[str]] = None,
template_uuid: Optional[str] = None,
vm_state: Optional[str] = None,
volume: Optional[GpuServerVolumeArgs] = None)func NewGpuServer(ctx *Context, name string, args GpuServerArgs, opts ...ResourceOption) (*GpuServer, error)public GpuServer(string name, GpuServerArgs args, CustomResourceOptions? opts = null)
public GpuServer(String name, GpuServerArgs args)
public GpuServer(String name, GpuServerArgs args, CustomResourceOptions options)
type: ionoscloud:GpuServer
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 GpuServerArgs
- 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 GpuServerArgs
- 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 GpuServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GpuServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GpuServerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GpuServer 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 GpuServer resource accepts the following input properties:
- Datacenter
Id string - [string] The ID of a Virtual Data Center.
- Template
Uuid string - [string] The UUID of the template used for creating a GPU server.
- Volume
Ionoscloud.
Gpu 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:
allowReplace- 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 imageName under server level
- Availability
Zone string - [string] The availability zone in which the server should exist. This property is immutable.
- Boot
Image string - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licenceTypeis not provided. - Hostname string
- (Computed) 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
licenceTypeis not provided. Attribute is immutable. - Image
Password string - [string] Required if
sshKeyPathis not provided. - Location string
- The location of the resource. This field should be used only if you are also using a file configuration and should not be configured otherwise.
- Name string
- [string] The name of the server.
- Nic
Ionoscloud.
Gpu Server Nic - See the Nic section.
- Security
Groups List<string>Ids - The list of Security Group IDs for the resource.
- Ssh
Key List<string>Paths - [list] List of paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Required for IonosCloud Linux images. Required if
imagePasswordis not provided. - Vm
State string - [string] Sets the power state of the GPU server. E.g:
RUNNINGorSUSPENDED.
- Datacenter
Id string - [string] The ID of a Virtual Data Center.
- Template
Uuid string - [string] The UUID of the template used for creating a GPU server.
- Volume
Gpu
Server Volume Args - 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:
allowReplace- 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 imageName under server level
- Availability
Zone string - [string] The availability zone in which the server should exist. This property is immutable.
- Boot
Image string - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licenceTypeis not provided. - Hostname string
- (Computed) 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
licenceTypeis not provided. Attribute is immutable. - Image
Password string - [string] Required if
sshKeyPathis not provided. - Location string
- The location of the resource. This field should be used only if you are also using a file configuration and should not be configured otherwise.
- Name string
- [string] The name of the server.
- Nic
Gpu
Server Nic Args - See the Nic section.
- Security
Groups []stringIds - The list of Security Group IDs for the resource.
- Ssh
Key []stringPaths - [list] List of paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Required for IonosCloud Linux images. Required if
imagePasswordis not provided. - Vm
State string - [string] Sets the power state of the GPU server. E.g:
RUNNINGorSUSPENDED.
- datacenter
Id String - [string] The ID of a Virtual Data Center.
- template
Uuid String - [string] The UUID of the template used for creating a GPU server.
- volume
Gpu
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:
allowReplace- 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 imageName under server level
- availability
Zone String - [string] The availability zone in which the server should exist. This property is immutable.
- boot
Image String - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licenceTypeis not provided. - hostname String
- (Computed) 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
licenceTypeis not provided. Attribute is immutable. - image
Password String - [string] Required if
sshKeyPathis not provided. - location String
- The location of the resource. This field should be used only if you are also using a file configuration and should not be configured otherwise.
- name String
- [string] The name of the server.
- nic
Gpu
Server Nic - See the Nic section.
- security
Groups List<String>Ids - The list of Security Group IDs for the resource.
- ssh
Key List<String>Paths - [list] List of paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Required for IonosCloud Linux images. Required if
imagePasswordis not provided. - vm
State String - [string] Sets the power state of the GPU server. E.g:
RUNNINGorSUSPENDED.
- datacenter
Id string - [string] The ID of a Virtual Data Center.
- template
Uuid string - [string] The UUID of the template used for creating a GPU server.
- volume
Gpu
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:
allowReplace- 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 imageName under server level
- availability
Zone string - [string] The availability zone in which the server should exist. This property is immutable.
- boot
Image string - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licenceTypeis not provided. - hostname string
- (Computed) 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
licenceTypeis not provided. Attribute is immutable. - image
Password string - [string] Required if
sshKeyPathis not provided. - location string
- The location of the resource. This field should be used only if you are also using a file configuration and should not be configured otherwise.
- name string
- [string] The name of the server.
- nic
Gpu
Server Nic - See the Nic section.
- security
Groups string[]Ids - The list of Security Group IDs for the resource.
- ssh
Key string[]Paths - [list] List of paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Required for IonosCloud Linux images. Required if
imagePasswordis not provided. - vm
State string - [string] Sets the power state of the GPU server. E.g:
RUNNINGorSUSPENDED.
- datacenter_
id str - [string] The ID of a Virtual Data Center.
- template_
uuid str - [string] The UUID of the template used for creating a GPU server.
- volume
Gpu
Server Volume Args - 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:
allowReplace- 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 imageName under server level
- availability_
zone str - [string] The availability zone in which the server should exist. This property is immutable.
- boot_
image str - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licenceTypeis not provided. - hostname str
- (Computed) 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
licenceTypeis not provided. Attribute is immutable. - image_
password str - [string] Required if
sshKeyPathis not provided. - location str
- The location of the resource. This field should be used only if you are also using a file configuration and should not be configured otherwise.
- name str
- [string] The name of the server.
- nic
Gpu
Server Nic Args - See the Nic section.
- security_
groups_ Sequence[str]ids - The list of Security Group IDs for the resource.
- ssh_
key_ Sequence[str]paths - [list] List of paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Required for IonosCloud Linux images. Required if
imagePasswordis not provided. - vm_
state str - [string] Sets the power state of the GPU server. E.g:
RUNNINGorSUSPENDED.
- datacenter
Id String - [string] The ID of a Virtual Data Center.
- template
Uuid String - [string] The UUID of the template used for creating a GPU server.
- volume Property Map
- 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:
allowReplace- 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 imageName under server level
- availability
Zone String - [string] The availability zone in which the server should exist. This property is immutable.
- boot
Image String - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licenceTypeis not provided. - hostname String
- (Computed) 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
licenceTypeis not provided. Attribute is immutable. - image
Password String - [string] Required if
sshKeyPathis not provided. - location String
- The location of the resource. This field should be used only if you are also using a file configuration and should not be configured otherwise.
- name String
- [string] The name of the server.
- nic Property Map
- See the Nic section.
- security
Groups List<String>Ids - The list of Security Group IDs for the resource.
- ssh
Key List<String>Paths - [list] List of paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Required for IonosCloud Linux images. Required if
imagePasswordis not provided. - vm
State String - [string] Sets the power state of the GPU server. E.g:
RUNNINGorSUSPENDED.
Outputs
All input properties are implicitly available as output properties. Additionally, the GpuServer 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 that contains the IDs for the volumes defined inside the gpu 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 that contains the IDs for the volumes defined inside the gpu 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 that contains the IDs for the volumes defined inside the gpu 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 that contains the IDs for the volumes defined inside the gpu 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 that contains the IDs for the volumes defined inside the gpu 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 that contains the IDs for the volumes defined inside the gpu server resource.
- primary
Ip String - The associated IP address.
- primary
Nic String - The associated NIC.
Look up Existing GpuServer Resource
Get an existing GpuServer 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?: GpuServerState, opts?: CustomResourceOptions): GpuServer@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_replace: Optional[bool] = None,
availability_zone: Optional[str] = None,
boot_image: Optional[str] = None,
boot_volume: Optional[str] = None,
datacenter_id: Optional[str] = None,
firewallrule_id: Optional[str] = None,
hostname: Optional[str] = None,
image_name: Optional[str] = None,
image_password: Optional[str] = None,
inline_volume_ids: Optional[Sequence[str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
nic: Optional[GpuServerNicArgs] = None,
primary_ip: Optional[str] = None,
primary_nic: Optional[str] = None,
security_groups_ids: Optional[Sequence[str]] = None,
ssh_key_paths: Optional[Sequence[str]] = None,
template_uuid: Optional[str] = None,
vm_state: Optional[str] = None,
volume: Optional[GpuServerVolumeArgs] = None) -> GpuServerfunc GetGpuServer(ctx *Context, name string, id IDInput, state *GpuServerState, opts ...ResourceOption) (*GpuServer, error)public static GpuServer Get(string name, Input<string> id, GpuServerState? state, CustomResourceOptions? opts = null)public static GpuServer get(String name, Output<String> id, GpuServerState state, CustomResourceOptions options)resources: _: type: ionoscloud:GpuServer 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:
allowReplace- 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 imageName under server level
- Availability
Zone string - [string] The availability zone in which the server should exist. This property is immutable.
- Boot
Image string - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licenceTypeis not provided. - Boot
Volume string - The associated boot volume.
- Datacenter
Id string - [string] The ID of a Virtual Data Center.
- Firewallrule
Id string - The associated firewall rule.
- Hostname string
- (Computed) 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
licenceTypeis not provided. Attribute is immutable. - Image
Password string - [string] Required if
sshKeyPathis not provided. - Inline
Volume List<string>Ids - A list that contains the IDs for the volumes defined inside the gpu server resource.
- Location string
- The location of the resource. This field should be used only if you are also using a file configuration and should not be configured otherwise.
- Name string
- [string] The name of the server.
- Nic
Ionoscloud.
Gpu Server Nic - See the Nic section.
- Primary
Ip string - The associated IP address.
- Primary
Nic string - The associated NIC.
- Security
Groups List<string>Ids - The list of Security Group IDs for the resource.
- Ssh
Key List<string>Paths - [list] List of paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Required for IonosCloud Linux images. Required if
imagePasswordis not provided. - Template
Uuid string - [string] The UUID of the template used for creating a GPU server.
- Vm
State string - [string] Sets the power state of the GPU server. E.g:
RUNNINGorSUSPENDED. - Volume
Ionoscloud.
Gpu 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:
allowReplace- 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 imageName under server level
- Availability
Zone string - [string] The availability zone in which the server should exist. This property is immutable.
- Boot
Image string - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licenceTypeis not provided. - Boot
Volume string - The associated boot volume.
- Datacenter
Id string - [string] The ID of a Virtual Data Center.
- Firewallrule
Id string - The associated firewall rule.
- Hostname string
- (Computed) 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
licenceTypeis not provided. Attribute is immutable. - Image
Password string - [string] Required if
sshKeyPathis not provided. - Inline
Volume []stringIds - A list that contains the IDs for the volumes defined inside the gpu server resource.
- Location string
- The location of the resource. This field should be used only if you are also using a file configuration and should not be configured otherwise.
- Name string
- [string] The name of the server.
- Nic
Gpu
Server Nic Args - See the Nic section.
- Primary
Ip string - The associated IP address.
- Primary
Nic string - The associated NIC.
- Security
Groups []stringIds - The list of Security Group IDs for the resource.
- Ssh
Key []stringPaths - [list] List of paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Required for IonosCloud Linux images. Required if
imagePasswordis not provided. - Template
Uuid string - [string] The UUID of the template used for creating a GPU server.
- Vm
State string - [string] Sets the power state of the GPU server. E.g:
RUNNINGorSUSPENDED. - Volume
Gpu
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:
allowReplace- 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 imageName under server level
- availability
Zone String - [string] The availability zone in which the server should exist. This property is immutable.
- boot
Image String - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licenceTypeis not provided. - boot
Volume String - The associated boot volume.
- datacenter
Id String - [string] The ID of a Virtual Data Center.
- firewallrule
Id String - The associated firewall rule.
- hostname String
- (Computed) 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
licenceTypeis not provided. Attribute is immutable. - image
Password String - [string] Required if
sshKeyPathis not provided. - inline
Volume List<String>Ids - A list that contains the IDs for the volumes defined inside the gpu server resource.
- location String
- The location of the resource. This field should be used only if you are also using a file configuration and should not be configured otherwise.
- name String
- [string] The name of the server.
- nic
Gpu
Server Nic - See the Nic section.
- primary
Ip String - The associated IP address.
- primary
Nic String - The associated NIC.
- security
Groups List<String>Ids - The list of Security Group IDs for the resource.
- ssh
Key List<String>Paths - [list] List of paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Required for IonosCloud Linux images. Required if
imagePasswordis not provided. - template
Uuid String - [string] The UUID of the template used for creating a GPU server.
- vm
State String - [string] Sets the power state of the GPU server. E.g:
RUNNINGorSUSPENDED. - volume
Gpu
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:
allowReplace- 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 imageName under server level
- availability
Zone string - [string] The availability zone in which the server should exist. This property is immutable.
- boot
Image string - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licenceTypeis not provided. - boot
Volume string - The associated boot volume.
- datacenter
Id string - [string] The ID of a Virtual Data Center.
- firewallrule
Id string - The associated firewall rule.
- hostname string
- (Computed) 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
licenceTypeis not provided. Attribute is immutable. - image
Password string - [string] Required if
sshKeyPathis not provided. - inline
Volume string[]Ids - A list that contains the IDs for the volumes defined inside the gpu server resource.
- location string
- The location of the resource. This field should be used only if you are also using a file configuration and should not be configured otherwise.
- name string
- [string] The name of the server.
- nic
Gpu
Server Nic - See the Nic section.
- primary
Ip string - The associated IP address.
- primary
Nic string - The associated NIC.
- security
Groups string[]Ids - The list of Security Group IDs for the resource.
- ssh
Key string[]Paths - [list] List of paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Required for IonosCloud Linux images. Required if
imagePasswordis not provided. - template
Uuid string - [string] The UUID of the template used for creating a GPU server.
- vm
State string - [string] Sets the power state of the GPU server. E.g:
RUNNINGorSUSPENDED. - volume
Gpu
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:
allowReplace- 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 imageName under server level
- availability_
zone str - [string] The availability zone in which the server should exist. This property is immutable.
- boot_
image str - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licenceTypeis not provided. - boot_
volume str - The associated boot volume.
- datacenter_
id str - [string] The ID of a Virtual Data Center.
- firewallrule_
id str - The associated firewall rule.
- hostname str
- (Computed) 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
licenceTypeis not provided. Attribute is immutable. - image_
password str - [string] Required if
sshKeyPathis not provided. - inline_
volume_ Sequence[str]ids - A list that contains the IDs for the volumes defined inside the gpu server resource.
- location str
- The location of the resource. This field should be used only if you are also using a file configuration and should not be configured otherwise.
- name str
- [string] The name of the server.
- nic
Gpu
Server Nic Args - See the Nic section.
- primary_
ip str - The associated IP address.
- primary_
nic str - The associated NIC.
- security_
groups_ Sequence[str]ids - The list of Security Group IDs for the resource.
- ssh_
key_ Sequence[str]paths - [list] List of paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Required for IonosCloud Linux images. Required if
imagePasswordis not provided. - template_
uuid str - [string] The UUID of the template used for creating a GPU server.
- vm_
state str - [string] Sets the power state of the GPU server. E.g:
RUNNINGorSUSPENDED. - volume
Gpu
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:
allowReplace- 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 imageName under server level
- availability
Zone String - [string] The availability zone in which the server should exist. This property is immutable.
- boot
Image String - [string] The image or snapshot UUID / name. May also be an image alias. It is required if
licenceTypeis not provided. - boot
Volume String - The associated boot volume.
- datacenter
Id String - [string] The ID of a Virtual Data Center.
- firewallrule
Id String - The associated firewall rule.
- hostname String
- (Computed) 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
licenceTypeis not provided. Attribute is immutable. - image
Password String - [string] Required if
sshKeyPathis not provided. - inline
Volume List<String>Ids - A list that contains the IDs for the volumes defined inside the gpu server resource.
- location String
- The location of the resource. This field should be used only if you are also using a file configuration and should not be configured otherwise.
- 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.
- security
Groups List<String>Ids - The list of Security Group IDs for the resource.
- ssh
Key List<String>Paths - [list] List of paths to files containing a public SSH key that will be injected into IonosCloud provided Linux images. Required for IonosCloud Linux images. Required if
imagePasswordis not provided. - template
Uuid String - [string] The UUID of the template used for creating a GPU server.
- vm
State String - [string] Sets the power state of the GPU server. E.g:
RUNNINGorSUSPENDED. - volume Property Map
- See the Volume section.
Supporting Types
GpuServerNic, GpuServerNicArgs
- Lan int
- Device
Number int - Dhcp bool
- Dhcpv6 bool
- Indicates whether this NIC receives an IPv6 address through DHCP.
- Firewall
Ionoscloud.
Gpu Server Nic Firewall - Firewall rules created in the server resource. The rules can also be created as separate resources outside the server resource
- Firewall
Active bool - Firewall
Type string - 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 int - Security
Groups List<string>Ids - The list of Security Group IDs for the resource.
- Lan int
- Device
Number int - Dhcp bool
- Dhcpv6 bool
- Indicates whether this NIC receives an IPv6 address through DHCP.
- Firewall
Gpu
Server Nic Firewall - Firewall rules created in the server resource. The rules can also be created as separate resources outside the server resource
- Firewall
Active bool - Firewall
Type string - 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 int - Security
Groups []stringIds - The list of Security Group IDs for the resource.
- lan Integer
- device
Number Integer - dhcp Boolean
- dhcpv6 Boolean
- Indicates whether this NIC receives an IPv6 address through DHCP.
- firewall
Gpu
Server Nic Firewall - Firewall rules created in the server resource. The rules can also be created as separate resources outside the server resource
- firewall
Active Boolean - firewall
Type String - 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 Integer - security
Groups List<String>Ids - The list of Security Group IDs for the resource.
- lan number
- device
Number number - dhcp boolean
- dhcpv6 boolean
- Indicates whether this NIC receives an IPv6 address through DHCP.
- firewall
Gpu
Server Nic Firewall - Firewall rules created in the server resource. The rules can also be created as separate resources outside the server resource
- firewall
Active boolean - firewall
Type string - 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 resource.
- lan int
- device_
number int - dhcp bool
- dhcpv6 bool
- Indicates whether this NIC receives an IPv6 address through DHCP.
- firewall
Gpu
Server Nic Firewall - Firewall rules created in the server resource. The rules can also be created as separate resources outside the server resource
- firewall_
active bool - firewall_
type str - 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 int - security_
groups_ Sequence[str]ids - The list of Security Group IDs for the resource.
- lan Number
- device
Number Number - dhcp Boolean
- dhcpv6 Boolean
- Indicates whether this NIC receives an IPv6 address through DHCP.
- firewall Property Map
- Firewall rules created in the server resource. The rules can also be created as separate resources outside the server resource
- firewall
Active Boolean - firewall
Type String - 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 resource.
GpuServerNicFirewall, GpuServerNicFirewallArgs
- protocol str
- icmp_
code str - icmp_
type str - id str
- name str
- [string] The name of the server.
- port_
range_ intend - port_
range_ intstart - source_
ip str - source_
mac str - target_
ip str - type str
GpuServerVolume, GpuServerVolumeArgs
- Availability
Zone string - [string] The availability zone in which the server should exist. 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 int - Disc
Virtio boolHot Plug - Disc
Virtio boolHot Unplug - Disk
Type string - Expose
Serial bool - If set to
truewill expose the serial id of the disk attached to the server. If set tofalsewill not expose the serial id. Some operating systems or software solutions require the serial id to be exposed to work properly. Exposing the serial can influence licensed software (e.g. Windows) behavior - 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 int - Ram
Hot boolPlug - Require
Legacy boolBios - Indicates if the image requires the legacy BIOS for compatibility or specific needs.
- 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.
- Availability
Zone string - [string] The availability zone in which the server should exist. 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 int - Disc
Virtio boolHot Plug - Disc
Virtio boolHot Unplug - Disk
Type string - Expose
Serial bool - If set to
truewill expose the serial id of the disk attached to the server. If set tofalsewill not expose the serial id. Some operating systems or software solutions require the serial id to be exposed to work properly. Exposing the serial can influence licensed software (e.g. Windows) behavior - 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 int - Ram
Hot boolPlug - Require
Legacy boolBios - Indicates if the image requires the legacy BIOS for compatibility or specific needs.
- 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.
- availability
Zone String - [string] The availability zone in which the server should exist. 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 Integer - disc
Virtio BooleanHot Plug - disc
Virtio BooleanHot Unplug - disk
Type String - expose
Serial Boolean - If set to
truewill expose the serial id of the disk attached to the server. If set tofalsewill not expose the serial id. Some operating systems or software solutions require the serial id to be exposed to work properly. Exposing the serial can influence licensed software (e.g. Windows) behavior - 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 Integer - ram
Hot BooleanPlug - require
Legacy BooleanBios - Indicates if the image requires the legacy BIOS for compatibility or specific needs.
- 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.
- availability
Zone string - [string] The availability zone in which the server should exist. 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 - disk
Type string - expose
Serial boolean - If set to
truewill expose the serial id of the disk attached to the server. If set tofalsewill not expose the serial id. Some operating systems or software solutions require the serial id to be exposed to work properly. Exposing the serial can influence licensed software (e.g. Windows) behavior - 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 - require
Legacy booleanBios - Indicates if the image requires the legacy BIOS for compatibility or specific needs.
- 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.
- availability_
zone str - [string] The availability zone in which the server should exist. 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 int - disc_
virtio_ boolhot_ plug - disc_
virtio_ boolhot_ unplug - disk_
type str - expose_
serial bool - If set to
truewill expose the serial id of the disk attached to the server. If set tofalsewill not expose the serial id. Some operating systems or software solutions require the serial id to be exposed to work properly. Exposing the serial can influence licensed software (e.g. Windows) behavior - 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 int - ram_
hot_ boolplug - require_
legacy_ boolbios - Indicates if the image requires the legacy BIOS for compatibility or specific needs.
- 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.
- availability
Zone String - [string] The availability zone in which the server should exist. 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 - disk
Type String - expose
Serial Boolean - If set to
truewill expose the serial id of the disk attached to the server. If set tofalsewill not expose the serial id. Some operating systems or software solutions require the serial id to be exposed to work properly. Exposing the serial can influence licensed software (e.g. Windows) behavior - 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 - require
Legacy BooleanBios - Indicates if the image requires the legacy BIOS for compatibility or specific needs.
- 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.
Import
Resource GPU Server can be imported using the resource id and the datacenter id, e.g.
terraform import ionoscloud_gpu_server.myserver datacenter uuid/server uuid
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ionoscloud ionos-cloud/pulumi-ionoscloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ionoscloudTerraform Provider.
published on Wednesday, Apr 15, 2026 by ionos-cloud
