1. Packages
  2. Packages
  3. Ionoscloud
  4. API Docs
  5. GpuServer
Viewing docs for IonosCloud v0.3.0
published on Wednesday, Apr 15, 2026 by ionos-cloud
ionoscloud logo
Viewing docs for IonosCloud v0.3.0
published on Wednesday, Apr 15, 2026 by ionos-cloud
    Deprecated: ionoscloud.index/gpuserver.GpuServer has been deprecated in favor of ionoscloud.compute/gpuserver.GPUServer

    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:

    DatacenterId string
    [string] The ID of a Virtual Data Center.
    TemplateUuid string
    [string] The UUID of the template used for creating a GPU server.
    Volume Ionoscloud.GpuServerVolume
    See the Volume section.
    AllowReplace 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

    AvailabilityZone string
    [string] The availability zone in which the server should exist. This property is immutable.
    BootImage string
    [string] The image or snapshot UUID / name. May also be an image alias. It is required if licenceType is 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.
    ImageName string
    [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if licenceType is not provided. Attribute is immutable.
    ImagePassword string
    [string] Required if sshKeyPath is 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.GpuServerNic
    See the Nic section.
    SecurityGroupsIds List<string>
    The list of Security Group IDs for the resource.
    SshKeyPaths List<string>
    [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 imagePassword is not provided.
    VmState string
    [string] Sets the power state of the GPU server. E.g: RUNNING or SUSPENDED.
    DatacenterId string
    [string] The ID of a Virtual Data Center.
    TemplateUuid string
    [string] The UUID of the template used for creating a GPU server.
    Volume GpuServerVolumeArgs
    See the Volume section.
    AllowReplace 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

    AvailabilityZone string
    [string] The availability zone in which the server should exist. This property is immutable.
    BootImage string
    [string] The image or snapshot UUID / name. May also be an image alias. It is required if licenceType is 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.
    ImageName string
    [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if licenceType is not provided. Attribute is immutable.
    ImagePassword string
    [string] Required if sshKeyPath is 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 GpuServerNicArgs
    See the Nic section.
    SecurityGroupsIds []string
    The list of Security Group IDs for the resource.
    SshKeyPaths []string
    [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 imagePassword is not provided.
    VmState string
    [string] Sets the power state of the GPU server. E.g: RUNNING or SUSPENDED.
    datacenterId String
    [string] The ID of a Virtual Data Center.
    templateUuid String
    [string] The UUID of the template used for creating a GPU server.
    volume GpuServerVolume
    See the Volume section.
    allowReplace 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

    availabilityZone String
    [string] The availability zone in which the server should exist. This property is immutable.
    bootImage String
    [string] The image or snapshot UUID / name. May also be an image alias. It is required if licenceType is 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.
    imageName String
    [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if licenceType is not provided. Attribute is immutable.
    imagePassword String
    [string] Required if sshKeyPath is 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 GpuServerNic
    See the Nic section.
    securityGroupsIds List<String>
    The list of Security Group IDs for the resource.
    sshKeyPaths List<String>
    [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 imagePassword is not provided.
    vmState String
    [string] Sets the power state of the GPU server. E.g: RUNNING or SUSPENDED.
    datacenterId string
    [string] The ID of a Virtual Data Center.
    templateUuid string
    [string] The UUID of the template used for creating a GPU server.
    volume GpuServerVolume
    See the Volume section.
    allowReplace 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

    availabilityZone string
    [string] The availability zone in which the server should exist. This property is immutable.
    bootImage string
    [string] The image or snapshot UUID / name. May also be an image alias. It is required if licenceType is 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.
    imageName string
    [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if licenceType is not provided. Attribute is immutable.
    imagePassword string
    [string] Required if sshKeyPath is 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 GpuServerNic
    See the Nic section.
    securityGroupsIds string[]
    The list of Security Group IDs for the resource.
    sshKeyPaths string[]
    [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 imagePassword is not provided.
    vmState string
    [string] Sets the power state of the GPU server. E.g: RUNNING or SUSPENDED.
    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 GpuServerVolumeArgs
    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 licenceType is 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 licenceType is not provided. Attribute is immutable.
    image_password str
    [string] Required if sshKeyPath is 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 GpuServerNicArgs
    See the Nic section.
    security_groups_ids Sequence[str]
    The list of Security Group IDs for the resource.
    ssh_key_paths Sequence[str]
    [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 imagePassword is not provided.
    vm_state str
    [string] Sets the power state of the GPU server. E.g: RUNNING or SUSPENDED.
    datacenterId String
    [string] The ID of a Virtual Data Center.
    templateUuid String
    [string] The UUID of the template used for creating a GPU server.
    volume Property Map
    See the Volume section.
    allowReplace 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

    availabilityZone String
    [string] The availability zone in which the server should exist. This property is immutable.
    bootImage String
    [string] The image or snapshot UUID / name. May also be an image alias. It is required if licenceType is 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.
    imageName String
    [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if licenceType is not provided. Attribute is immutable.
    imagePassword String
    [string] Required if sshKeyPath is 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.
    securityGroupsIds List<String>
    The list of Security Group IDs for the resource.
    sshKeyPaths List<String>
    [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 imagePassword is not provided.
    vmState String
    [string] Sets the power state of the GPU server. E.g: RUNNING or SUSPENDED.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GpuServer resource produces the following output properties:

    BootVolume string
    The associated boot volume.
    FirewallruleId string
    The associated firewall rule.
    Id string
    The provider-assigned unique ID for this managed resource.
    InlineVolumeIds List<string>
    A list that contains the IDs for the volumes defined inside the gpu server resource.
    PrimaryIp string
    The associated IP address.
    PrimaryNic string
    The associated NIC.
    BootVolume string
    The associated boot volume.
    FirewallruleId string
    The associated firewall rule.
    Id string
    The provider-assigned unique ID for this managed resource.
    InlineVolumeIds []string
    A list that contains the IDs for the volumes defined inside the gpu server resource.
    PrimaryIp string
    The associated IP address.
    PrimaryNic string
    The associated NIC.
    bootVolume String
    The associated boot volume.
    firewallruleId String
    The associated firewall rule.
    id String
    The provider-assigned unique ID for this managed resource.
    inlineVolumeIds List<String>
    A list that contains the IDs for the volumes defined inside the gpu server resource.
    primaryIp String
    The associated IP address.
    primaryNic String
    The associated NIC.
    bootVolume string
    The associated boot volume.
    firewallruleId string
    The associated firewall rule.
    id string
    The provider-assigned unique ID for this managed resource.
    inlineVolumeIds string[]
    A list that contains the IDs for the volumes defined inside the gpu server resource.
    primaryIp string
    The associated IP address.
    primaryNic 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_ids Sequence[str]
    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.
    bootVolume String
    The associated boot volume.
    firewallruleId String
    The associated firewall rule.
    id String
    The provider-assigned unique ID for this managed resource.
    inlineVolumeIds List<String>
    A list that contains the IDs for the volumes defined inside the gpu server resource.
    primaryIp String
    The associated IP address.
    primaryNic 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) -> GpuServer
    func 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.
    The following state arguments are supported:
    AllowReplace 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

    AvailabilityZone string
    [string] The availability zone in which the server should exist. This property is immutable.
    BootImage string
    [string] The image or snapshot UUID / name. May also be an image alias. It is required if licenceType is not provided.
    BootVolume string
    The associated boot volume.
    DatacenterId string
    [string] The ID of a Virtual Data Center.
    FirewallruleId 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.
    ImageName string
    [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if licenceType is not provided. Attribute is immutable.
    ImagePassword string
    [string] Required if sshKeyPath is not provided.
    InlineVolumeIds List<string>
    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.GpuServerNic
    See the Nic section.
    PrimaryIp string
    The associated IP address.
    PrimaryNic string
    The associated NIC.
    SecurityGroupsIds List<string>
    The list of Security Group IDs for the resource.
    SshKeyPaths List<string>
    [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 imagePassword is not provided.
    TemplateUuid string
    [string] The UUID of the template used for creating a GPU server.
    VmState string
    [string] Sets the power state of the GPU server. E.g: RUNNING or SUSPENDED.
    Volume Ionoscloud.GpuServerVolume
    See the Volume section.
    AllowReplace 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

    AvailabilityZone string
    [string] The availability zone in which the server should exist. This property is immutable.
    BootImage string
    [string] The image or snapshot UUID / name. May also be an image alias. It is required if licenceType is not provided.
    BootVolume string
    The associated boot volume.
    DatacenterId string
    [string] The ID of a Virtual Data Center.
    FirewallruleId 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.
    ImageName string
    [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if licenceType is not provided. Attribute is immutable.
    ImagePassword string
    [string] Required if sshKeyPath is not provided.
    InlineVolumeIds []string
    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 GpuServerNicArgs
    See the Nic section.
    PrimaryIp string
    The associated IP address.
    PrimaryNic string
    The associated NIC.
    SecurityGroupsIds []string
    The list of Security Group IDs for the resource.
    SshKeyPaths []string
    [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 imagePassword is not provided.
    TemplateUuid string
    [string] The UUID of the template used for creating a GPU server.
    VmState string
    [string] Sets the power state of the GPU server. E.g: RUNNING or SUSPENDED.
    Volume GpuServerVolumeArgs
    See the Volume section.
    allowReplace 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

    availabilityZone String
    [string] The availability zone in which the server should exist. This property is immutable.
    bootImage String
    [string] The image or snapshot UUID / name. May also be an image alias. It is required if licenceType is not provided.
    bootVolume String
    The associated boot volume.
    datacenterId String
    [string] The ID of a Virtual Data Center.
    firewallruleId 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.
    imageName String
    [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if licenceType is not provided. Attribute is immutable.
    imagePassword String
    [string] Required if sshKeyPath is not provided.
    inlineVolumeIds List<String>
    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 GpuServerNic
    See the Nic section.
    primaryIp String
    The associated IP address.
    primaryNic String
    The associated NIC.
    securityGroupsIds List<String>
    The list of Security Group IDs for the resource.
    sshKeyPaths List<String>
    [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 imagePassword is not provided.
    templateUuid String
    [string] The UUID of the template used for creating a GPU server.
    vmState String
    [string] Sets the power state of the GPU server. E.g: RUNNING or SUSPENDED.
    volume GpuServerVolume
    See the Volume section.
    allowReplace 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

    availabilityZone string
    [string] The availability zone in which the server should exist. This property is immutable.
    bootImage string
    [string] The image or snapshot UUID / name. May also be an image alias. It is required if licenceType is not provided.
    bootVolume string
    The associated boot volume.
    datacenterId string
    [string] The ID of a Virtual Data Center.
    firewallruleId 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.
    imageName string
    [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if licenceType is not provided. Attribute is immutable.
    imagePassword string
    [string] Required if sshKeyPath is not provided.
    inlineVolumeIds string[]
    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 GpuServerNic
    See the Nic section.
    primaryIp string
    The associated IP address.
    primaryNic string
    The associated NIC.
    securityGroupsIds string[]
    The list of Security Group IDs for the resource.
    sshKeyPaths string[]
    [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 imagePassword is not provided.
    templateUuid string
    [string] The UUID of the template used for creating a GPU server.
    vmState string
    [string] Sets the power state of the GPU server. E.g: RUNNING or SUSPENDED.
    volume GpuServerVolume
    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 licenceType is 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 licenceType is not provided. Attribute is immutable.
    image_password str
    [string] Required if sshKeyPath is not provided.
    inline_volume_ids Sequence[str]
    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 GpuServerNicArgs
    See the Nic section.
    primary_ip str
    The associated IP address.
    primary_nic str
    The associated NIC.
    security_groups_ids Sequence[str]
    The list of Security Group IDs for the resource.
    ssh_key_paths Sequence[str]
    [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 imagePassword is 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: RUNNING or SUSPENDED.
    volume GpuServerVolumeArgs
    See the Volume section.
    allowReplace 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

    availabilityZone String
    [string] The availability zone in which the server should exist. This property is immutable.
    bootImage String
    [string] The image or snapshot UUID / name. May also be an image alias. It is required if licenceType is not provided.
    bootVolume String
    The associated boot volume.
    datacenterId String
    [string] The ID of a Virtual Data Center.
    firewallruleId 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.
    imageName String
    [string] The name, ID or alias of the image. May also be a snapshot ID. It is required if licenceType is not provided. Attribute is immutable.
    imagePassword String
    [string] Required if sshKeyPath is not provided.
    inlineVolumeIds List<String>
    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.
    primaryIp String
    The associated IP address.
    primaryNic String
    The associated NIC.
    securityGroupsIds List<String>
    The list of Security Group IDs for the resource.
    sshKeyPaths List<String>
    [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 imagePassword is not provided.
    templateUuid String
    [string] The UUID of the template used for creating a GPU server.
    vmState String
    [string] Sets the power state of the GPU server. E.g: RUNNING or SUSPENDED.
    volume Property Map
    See the Volume section.

    Supporting Types

    GpuServerNic, GpuServerNicArgs

    Lan int
    DeviceNumber int
    Dhcp bool
    Dhcpv6 bool
    Indicates whether this NIC receives an IPv6 address through DHCP.
    Firewall Ionoscloud.GpuServerNicFirewall
    Firewall rules created in the server resource. The rules can also be created as separate resources outside the server resource
    FirewallActive bool
    FirewallType 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.
    Ipv6CidrBlock 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.
    PciSlot int
    SecurityGroupsIds List<string>
    The list of Security Group IDs for the resource.
    Lan int
    DeviceNumber int
    Dhcp bool
    Dhcpv6 bool
    Indicates whether this NIC receives an IPv6 address through DHCP.
    Firewall GpuServerNicFirewall
    Firewall rules created in the server resource. The rules can also be created as separate resources outside the server resource
    FirewallActive bool
    FirewallType 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.
    Ipv6CidrBlock 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.
    PciSlot int
    SecurityGroupsIds []string
    The list of Security Group IDs for the resource.
    lan Integer
    deviceNumber Integer
    dhcp Boolean
    dhcpv6 Boolean
    Indicates whether this NIC receives an IPv6 address through DHCP.
    firewall GpuServerNicFirewall
    Firewall rules created in the server resource. The rules can also be created as separate resources outside the server resource
    firewallActive Boolean
    firewallType 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.
    ipv6CidrBlock 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.
    pciSlot Integer
    securityGroupsIds List<String>
    The list of Security Group IDs for the resource.
    lan number
    deviceNumber number
    dhcp boolean
    dhcpv6 boolean
    Indicates whether this NIC receives an IPv6 address through DHCP.
    firewall GpuServerNicFirewall
    Firewall rules created in the server resource. The rules can also be created as separate resources outside the server resource
    firewallActive boolean
    firewallType 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.
    ipv6CidrBlock 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.
    pciSlot number
    securityGroupsIds string[]
    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 GpuServerNicFirewall
    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_block str
    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_ids Sequence[str]
    The list of Security Group IDs for the resource.
    lan Number
    deviceNumber 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
    firewallActive Boolean
    firewallType 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.
    ipv6CidrBlock 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.
    pciSlot Number
    securityGroupsIds List<String>
    The list of Security Group IDs for the resource.

    GpuServerNicFirewall, GpuServerNicFirewallArgs

    Protocol string
    IcmpCode string
    IcmpType string
    Id string
    Name string
    [string] The name of the server.
    PortRangeEnd int
    PortRangeStart int
    SourceIp string
    SourceMac string
    TargetIp string
    Type string
    Protocol string
    IcmpCode string
    IcmpType string
    Id string
    Name string
    [string] The name of the server.
    PortRangeEnd int
    PortRangeStart int
    SourceIp string
    SourceMac string
    TargetIp string
    Type string
    protocol String
    icmpCode String
    icmpType String
    id String
    name String
    [string] The name of the server.
    portRangeEnd Integer
    portRangeStart Integer
    sourceIp String
    sourceMac String
    targetIp String
    type String
    protocol string
    icmpCode string
    icmpType string
    id string
    name string
    [string] The name of the server.
    portRangeEnd number
    portRangeStart number
    sourceIp string
    sourceMac string
    targetIp string
    type string
    protocol str
    icmp_code str
    icmp_type str
    id str
    name str
    [string] The name of the server.
    port_range_end int
    port_range_start int
    source_ip str
    source_mac str
    target_ip str
    type str
    protocol String
    icmpCode String
    icmpType String
    id String
    name String
    [string] The name of the server.
    portRangeEnd Number
    portRangeStart Number
    sourceIp String
    sourceMac String
    targetIp String
    type String

    GpuServerVolume, GpuServerVolumeArgs

    AvailabilityZone string
    [string] The availability zone in which the server should exist. This property is immutable.
    BackupUnitId string
    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.
    BootServer string
    The UUID of the attached server.
    Bus string
    CpuHotPlug bool
    DeviceNumber int
    DiscVirtioHotPlug bool
    DiscVirtioHotUnplug bool
    DiskType string
    ExposeSerial bool
    If set to true will expose the serial id of the disk attached to the server. If set to false will 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
    LicenceType string
    [string] Sets the OS type of the server.
    Name string
    [string] The name of the server.
    NicHotPlug bool
    NicHotUnplug bool
    PciSlot int
    RamHotPlug bool
    RequireLegacyBios bool
    Indicates if the image requires the legacy BIOS for compatibility or specific needs.
    UserData 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.
    AvailabilityZone string
    [string] The availability zone in which the server should exist. This property is immutable.
    BackupUnitId string
    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.
    BootServer string
    The UUID of the attached server.
    Bus string
    CpuHotPlug bool
    DeviceNumber int
    DiscVirtioHotPlug bool
    DiscVirtioHotUnplug bool
    DiskType string
    ExposeSerial bool
    If set to true will expose the serial id of the disk attached to the server. If set to false will 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
    LicenceType string
    [string] Sets the OS type of the server.
    Name string
    [string] The name of the server.
    NicHotPlug bool
    NicHotUnplug bool
    PciSlot int
    RamHotPlug bool
    RequireLegacyBios bool
    Indicates if the image requires the legacy BIOS for compatibility or specific needs.
    UserData 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.
    availabilityZone String
    [string] The availability zone in which the server should exist. This property is immutable.
    backupUnitId String
    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.
    bootServer String
    The UUID of the attached server.
    bus String
    cpuHotPlug Boolean
    deviceNumber Integer
    discVirtioHotPlug Boolean
    discVirtioHotUnplug Boolean
    diskType String
    exposeSerial Boolean
    If set to true will expose the serial id of the disk attached to the server. If set to false will 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
    licenceType String
    [string] Sets the OS type of the server.
    name String
    [string] The name of the server.
    nicHotPlug Boolean
    nicHotUnplug Boolean
    pciSlot Integer
    ramHotPlug Boolean
    requireLegacyBios Boolean
    Indicates if the image requires the legacy BIOS for compatibility or specific needs.
    userData 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.
    availabilityZone string
    [string] The availability zone in which the server should exist. This property is immutable.
    backupUnitId string
    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.
    bootServer string
    The UUID of the attached server.
    bus string
    cpuHotPlug boolean
    deviceNumber number
    discVirtioHotPlug boolean
    discVirtioHotUnplug boolean
    diskType string
    exposeSerial boolean
    If set to true will expose the serial id of the disk attached to the server. If set to false will 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
    licenceType string
    [string] Sets the OS type of the server.
    name string
    [string] The name of the server.
    nicHotPlug boolean
    nicHotUnplug boolean
    pciSlot number
    ramHotPlug boolean
    requireLegacyBios boolean
    Indicates if the image requires the legacy BIOS for compatibility or specific needs.
    userData 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_id str
    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_plug bool
    device_number int
    disc_virtio_hot_plug bool
    disc_virtio_hot_unplug bool
    disk_type str
    expose_serial bool
    If set to true will expose the serial id of the disk attached to the server. If set to false will 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_plug bool
    nic_hot_unplug bool
    pci_slot int
    ram_hot_plug bool
    require_legacy_bios bool
    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.
    availabilityZone String
    [string] The availability zone in which the server should exist. This property is immutable.
    backupUnitId String
    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.
    bootServer String
    The UUID of the attached server.
    bus String
    cpuHotPlug Boolean
    deviceNumber Number
    discVirtioHotPlug Boolean
    discVirtioHotUnplug Boolean
    diskType String
    exposeSerial Boolean
    If set to true will expose the serial id of the disk attached to the server. If set to false will 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
    licenceType String
    [string] Sets the OS type of the server.
    name String
    [string] The name of the server.
    nicHotPlug Boolean
    nicHotUnplug Boolean
    pciSlot Number
    ramHotPlug Boolean
    requireLegacyBios Boolean
    Indicates if the image requires the legacy BIOS for compatibility or specific needs.
    userData 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 ionoscloud Terraform Provider.
    ionoscloud logo
    Viewing docs for IonosCloud v0.3.0
    published on Wednesday, Apr 15, 2026 by ionos-cloud
      Try Pulumi Cloud free. Your team will thank you.