1. Packages
  2. DanubeData
  3. API Docs
  4. Vps
DanubeData v0.1.7 published on Sunday, Feb 1, 2026 by AdrianSilaghi
danubedata logo
DanubeData v0.1.7 published on Sunday, Feb 1, 2026 by AdrianSilaghi

    # danubedata.Vps

    Manages a VPS (Virtual Private Server) instance.

    Example Usage

    Basic VPS with SSH Key

    import * as pulumi from "@pulumi/pulumi";
    import * as danubedata from "@danubedata/pulumi";
    import * as fs from "fs";
    
    const main = new danubedata.SshKey("main", {publicKey: fs.readFileSync("~/.ssh/id_ed25519.pub", "utf8")});
    const web = new danubedata.Vps("web", {
        image: "ubuntu-22.04",
        datacenter: "fsn1",
        authMethod: "ssh_key",
        sshKeyId: main.id,
    });
    
    import pulumi
    import pulumi_danubedata as danubedata
    
    main = danubedata.SshKey("main", public_key=(lambda path: open(path).read())("~/.ssh/id_ed25519.pub"))
    web = danubedata.Vps("web",
        image="ubuntu-22.04",
        datacenter="fsn1",
        auth_method="ssh_key",
        ssh_key_id=main.id)
    
    package main
    
    import (
    	"os"
    
    	"github.com/AdrianSilaghi/pulumi-danubedata/sdk/go/danubedata"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func readFileOrPanic(path string) pulumi.StringPtrInput {
    	data, err := os.ReadFile(path)
    	if err != nil {
    		panic(err.Error())
    	}
    	return pulumi.String(string(data))
    }
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		main, err := danubedata.NewSshKey(ctx, "main", &danubedata.SshKeyArgs{
    			PublicKey: pulumi.String(readFileOrPanic("~/.ssh/id_ed25519.pub")),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = danubedata.NewVps(ctx, "web", &danubedata.VpsArgs{
    			Image:      pulumi.String("ubuntu-22.04"),
    			Datacenter: pulumi.String("fsn1"),
    			AuthMethod: pulumi.String("ssh_key"),
    			SshKeyId:   main.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using Pulumi;
    using DanubeData = DanubeData.DanubeData;
    
    return await Deployment.RunAsync(() => 
    {
        var main = new DanubeData.SshKey("main", new()
        {
            PublicKey = File.ReadAllText("~/.ssh/id_ed25519.pub"),
        });
    
        var web = new DanubeData.Vps("web", new()
        {
            Image = "ubuntu-22.04",
            Datacenter = "fsn1",
            AuthMethod = "ssh_key",
            SshKeyId = main.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.danubedata.SshKey;
    import com.pulumi.danubedata.SshKeyArgs;
    import com.pulumi.danubedata.Vps;
    import com.pulumi.danubedata.VpsArgs;
    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 main = new SshKey("main", SshKeyArgs.builder()
                .publicKey(Files.readString(Paths.get("~/.ssh/id_ed25519.pub")))
                .build());
    
            var web = new Vps("web", VpsArgs.builder()
                .image("ubuntu-22.04")
                .datacenter("fsn1")
                .authMethod("ssh_key")
                .sshKeyId(main.id())
                .build());
    
        }
    }
    
    resources:
      main:
        type: danubedata:SshKey
        properties:
          publicKey:
            fn::readFile: ~/.ssh/id_ed25519.pub
      web:
        type: danubedata:Vps
        properties:
          image: ubuntu-22.04
          datacenter: fsn1
          authMethod: ssh_key
          sshKeyId: ${main.id}
    

    VPS with Custom Resources

    import * as pulumi from "@pulumi/pulumi";
    import * as danubedata from "@danubedata/pulumi";
    
    const app = new danubedata.Vps("app", {
        image: "debian-12",
        datacenter: "fsn1",
        authMethod: "ssh_key",
        sshKeyId: danubedata_ssh_key.main.id,
        cpuAllocationType: "dedicated",
        cpuCores: 4,
        memorySizeGb: 8,
        storageSizeGb: 100,
    });
    
    import pulumi
    import pulumi_danubedata as danubedata
    
    app = danubedata.Vps("app",
        image="debian-12",
        datacenter="fsn1",
        auth_method="ssh_key",
        ssh_key_id=danubedata_ssh_key["main"]["id"],
        cpu_allocation_type="dedicated",
        cpu_cores=4,
        memory_size_gb=8,
        storage_size_gb=100)
    
    package main
    
    import (
    	"github.com/AdrianSilaghi/pulumi-danubedata/sdk/go/danubedata"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := danubedata.NewVps(ctx, "app", &danubedata.VpsArgs{
    			Image:             pulumi.String("debian-12"),
    			Datacenter:        pulumi.String("fsn1"),
    			AuthMethod:        pulumi.String("ssh_key"),
    			SshKeyId:          pulumi.Any(danubedata_ssh_key.Main.Id),
    			CpuAllocationType: pulumi.String("dedicated"),
    			CpuCores:          pulumi.Int(4),
    			MemorySizeGb:      pulumi.Int(8),
    			StorageSizeGb:     pulumi.Int(100),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DanubeData = DanubeData.DanubeData;
    
    return await Deployment.RunAsync(() => 
    {
        var app = new DanubeData.Vps("app", new()
        {
            Image = "debian-12",
            Datacenter = "fsn1",
            AuthMethod = "ssh_key",
            SshKeyId = danubedata_ssh_key.Main.Id,
            CpuAllocationType = "dedicated",
            CpuCores = 4,
            MemorySizeGb = 8,
            StorageSizeGb = 100,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.danubedata.Vps;
    import com.pulumi.danubedata.VpsArgs;
    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 app = new Vps("app", VpsArgs.builder()
                .image("debian-12")
                .datacenter("fsn1")
                .authMethod("ssh_key")
                .sshKeyId(danubedata_ssh_key.main().id())
                .cpuAllocationType("dedicated")
                .cpuCores(4)
                .memorySizeGb(8)
                .storageSizeGb(100)
                .build());
    
        }
    }
    
    resources:
      app:
        type: danubedata:Vps
        properties:
          image: debian-12
          datacenter: fsn1
          authMethod: ssh_key
          sshKeyId: ${danubedata_ssh_key.main.id}
          cpuAllocationType: dedicated
          cpuCores: 4
          memorySizeGb: 8
          storageSizeGb: 100
    

    VPS with Password Authentication

    import * as pulumi from "@pulumi/pulumi";
    import * as danubedata from "@danubedata/pulumi";
    
    const dev = new danubedata.Vps("dev", {
        image: "ubuntu-22.04",
        datacenter: "fsn1",
        authMethod: "password",
        password: _var.server_password,
    });
    
    import pulumi
    import pulumi_danubedata as danubedata
    
    dev = danubedata.Vps("dev",
        image="ubuntu-22.04",
        datacenter="fsn1",
        auth_method="password",
        password=var["server_password"])
    
    package main
    
    import (
    	"github.com/AdrianSilaghi/pulumi-danubedata/sdk/go/danubedata"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := danubedata.NewVps(ctx, "dev", &danubedata.VpsArgs{
    			Image:      pulumi.String("ubuntu-22.04"),
    			Datacenter: pulumi.String("fsn1"),
    			AuthMethod: pulumi.String("password"),
    			Password:   pulumi.Any(_var.Server_password),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DanubeData = DanubeData.DanubeData;
    
    return await Deployment.RunAsync(() => 
    {
        var dev = new DanubeData.Vps("dev", new()
        {
            Image = "ubuntu-22.04",
            Datacenter = "fsn1",
            AuthMethod = "password",
            Password = @var.Server_password,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.danubedata.Vps;
    import com.pulumi.danubedata.VpsArgs;
    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 dev = new Vps("dev", VpsArgs.builder()
                .image("ubuntu-22.04")
                .datacenter("fsn1")
                .authMethod("password")
                .password(var_.server_password())
                .build());
    
        }
    }
    
    resources:
      dev:
        type: danubedata:Vps
        properties:
          image: ubuntu-22.04
          datacenter: fsn1
          authMethod: password
          password: ${var.server_password}
    

    VPS with Resource Profile

    import * as pulumi from "@pulumi/pulumi";
    import * as danubedata from "@danubedata/pulumi";
    
    const standard = new danubedata.Vps("standard", {
        image: "ubuntu-22.04",
        datacenter: "fsn1",
        resourceProfile: "vps-medium",
        authMethod: "ssh_key",
        sshKeyId: danubedata_ssh_key.main.id,
    });
    
    import pulumi
    import pulumi_danubedata as danubedata
    
    standard = danubedata.Vps("standard",
        image="ubuntu-22.04",
        datacenter="fsn1",
        resource_profile="vps-medium",
        auth_method="ssh_key",
        ssh_key_id=danubedata_ssh_key["main"]["id"])
    
    package main
    
    import (
    	"github.com/AdrianSilaghi/pulumi-danubedata/sdk/go/danubedata"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := danubedata.NewVps(ctx, "standard", &danubedata.VpsArgs{
    			Image:           pulumi.String("ubuntu-22.04"),
    			Datacenter:      pulumi.String("fsn1"),
    			ResourceProfile: pulumi.String("vps-medium"),
    			AuthMethod:      pulumi.String("ssh_key"),
    			SshKeyId:        pulumi.Any(danubedata_ssh_key.Main.Id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DanubeData = DanubeData.DanubeData;
    
    return await Deployment.RunAsync(() => 
    {
        var standard = new DanubeData.Vps("standard", new()
        {
            Image = "ubuntu-22.04",
            Datacenter = "fsn1",
            ResourceProfile = "vps-medium",
            AuthMethod = "ssh_key",
            SshKeyId = danubedata_ssh_key.Main.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.danubedata.Vps;
    import com.pulumi.danubedata.VpsArgs;
    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 standard = new Vps("standard", VpsArgs.builder()
                .image("ubuntu-22.04")
                .datacenter("fsn1")
                .resourceProfile("vps-medium")
                .authMethod("ssh_key")
                .sshKeyId(danubedata_ssh_key.main().id())
                .build());
    
        }
    }
    
    resources:
      standard:
        type: danubedata:Vps
        properties:
          image: ubuntu-22.04
          datacenter: fsn1
          resourceProfile: vps-medium
          authMethod: ssh_key
          sshKeyId: ${danubedata_ssh_key.main.id}
    

    Create Vps Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Vps(name: string, args: VpsArgs, opts?: CustomResourceOptions);
    @overload
    def Vps(resource_name: str,
            args: VpsArgs,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Vps(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            datacenter: Optional[str] = None,
            auth_method: Optional[str] = None,
            image: Optional[str] = None,
            memory_size_gb: Optional[int] = None,
            custom_cloud_init: Optional[str] = None,
            cpu_cores: Optional[int] = None,
            cpu_allocation_type: Optional[str] = None,
            name: Optional[str] = None,
            network_stack: Optional[str] = None,
            password: Optional[str] = None,
            resource_profile: Optional[str] = None,
            ssh_key_id: Optional[str] = None,
            storage_size_gb: Optional[int] = None,
            timeouts: Optional[VpsTimeoutsArgs] = None)
    func NewVps(ctx *Context, name string, args VpsArgs, opts ...ResourceOption) (*Vps, error)
    public Vps(string name, VpsArgs args, CustomResourceOptions? opts = null)
    public Vps(String name, VpsArgs args)
    public Vps(String name, VpsArgs args, CustomResourceOptions options)
    
    type: danubedata:Vps
    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 VpsArgs
    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 VpsArgs
    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 VpsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var vpsResource = new DanubeData.Vps("vpsResource", new()
    {
        Datacenter = "string",
        AuthMethod = "string",
        Image = "string",
        MemorySizeGb = 0,
        CustomCloudInit = "string",
        CpuCores = 0,
        CpuAllocationType = "string",
        Name = "string",
        NetworkStack = "string",
        Password = "string",
        ResourceProfile = "string",
        SshKeyId = "string",
        StorageSizeGb = 0,
        Timeouts = new DanubeData.Inputs.VpsTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := danubedata.NewVps(ctx, "vpsResource", &danubedata.VpsArgs{
    	Datacenter:        pulumi.String("string"),
    	AuthMethod:        pulumi.String("string"),
    	Image:             pulumi.String("string"),
    	MemorySizeGb:      pulumi.Int(0),
    	CustomCloudInit:   pulumi.String("string"),
    	CpuCores:          pulumi.Int(0),
    	CpuAllocationType: pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	NetworkStack:      pulumi.String("string"),
    	Password:          pulumi.String("string"),
    	ResourceProfile:   pulumi.String("string"),
    	SshKeyId:          pulumi.String("string"),
    	StorageSizeGb:     pulumi.Int(0),
    	Timeouts: &danubedata.VpsTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var vpsResource = new Vps("vpsResource", VpsArgs.builder()
        .datacenter("string")
        .authMethod("string")
        .image("string")
        .memorySizeGb(0)
        .customCloudInit("string")
        .cpuCores(0)
        .cpuAllocationType("string")
        .name("string")
        .networkStack("string")
        .password("string")
        .resourceProfile("string")
        .sshKeyId("string")
        .storageSizeGb(0)
        .timeouts(VpsTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    vps_resource = danubedata.Vps("vpsResource",
        datacenter="string",
        auth_method="string",
        image="string",
        memory_size_gb=0,
        custom_cloud_init="string",
        cpu_cores=0,
        cpu_allocation_type="string",
        name="string",
        network_stack="string",
        password="string",
        resource_profile="string",
        ssh_key_id="string",
        storage_size_gb=0,
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const vpsResource = new danubedata.Vps("vpsResource", {
        datacenter: "string",
        authMethod: "string",
        image: "string",
        memorySizeGb: 0,
        customCloudInit: "string",
        cpuCores: 0,
        cpuAllocationType: "string",
        name: "string",
        networkStack: "string",
        password: "string",
        resourceProfile: "string",
        sshKeyId: "string",
        storageSizeGb: 0,
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: danubedata:Vps
    properties:
        authMethod: string
        cpuAllocationType: string
        cpuCores: 0
        customCloudInit: string
        datacenter: string
        image: string
        memorySizeGb: 0
        name: string
        networkStack: string
        password: string
        resourceProfile: string
        sshKeyId: string
        storageSizeGb: 0
        timeouts:
            create: string
            delete: string
            update: string
    

    Vps 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 Vps resource accepts the following input properties:

    AuthMethod string
    Authentication method: 'ssh_key' or 'password'.
    Datacenter string
    Datacenter location (fsn1, nbg1, hel1, ash).
    Image string
    Operating system image (e.g., 'ubuntu-24.04', 'debian-12').
    CpuAllocationType string
    CPU allocation type: 'shared' or 'dedicated'.
    CpuCores int
    Number of CPU cores. Can be specified during creation or update. VPS must be stopped to modify.
    CustomCloudInit string
    Custom cloud-init configuration script.
    MemorySizeGb int
    Memory size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    Name string
    Name of the VPS instance. Must be lowercase alphanumeric with hyphens.
    NetworkStack string
    Network stack: 'ipv4_only', 'ipv6_only', or 'dual_stack'.
    Password string
    Root password (required if auth_method is 'password'). Must be at least 12 characters.
    ResourceProfile string
    Resource profile for the VPS (nano_shared, micro_shared, small_shared, medium_shared, large_shared, or dedicated variants).
    SshKeyId string
    SSH key ID for authentication (required if auth_method is 'ssh_key').
    StorageSizeGb int
    Storage size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    Timeouts DanubeData.DanubeData.Inputs.VpsTimeouts
    AuthMethod string
    Authentication method: 'ssh_key' or 'password'.
    Datacenter string
    Datacenter location (fsn1, nbg1, hel1, ash).
    Image string
    Operating system image (e.g., 'ubuntu-24.04', 'debian-12').
    CpuAllocationType string
    CPU allocation type: 'shared' or 'dedicated'.
    CpuCores int
    Number of CPU cores. Can be specified during creation or update. VPS must be stopped to modify.
    CustomCloudInit string
    Custom cloud-init configuration script.
    MemorySizeGb int
    Memory size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    Name string
    Name of the VPS instance. Must be lowercase alphanumeric with hyphens.
    NetworkStack string
    Network stack: 'ipv4_only', 'ipv6_only', or 'dual_stack'.
    Password string
    Root password (required if auth_method is 'password'). Must be at least 12 characters.
    ResourceProfile string
    Resource profile for the VPS (nano_shared, micro_shared, small_shared, medium_shared, large_shared, or dedicated variants).
    SshKeyId string
    SSH key ID for authentication (required if auth_method is 'ssh_key').
    StorageSizeGb int
    Storage size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    Timeouts VpsTimeoutsArgs
    authMethod String
    Authentication method: 'ssh_key' or 'password'.
    datacenter String
    Datacenter location (fsn1, nbg1, hel1, ash).
    image String
    Operating system image (e.g., 'ubuntu-24.04', 'debian-12').
    cpuAllocationType String
    CPU allocation type: 'shared' or 'dedicated'.
    cpuCores Integer
    Number of CPU cores. Can be specified during creation or update. VPS must be stopped to modify.
    customCloudInit String
    Custom cloud-init configuration script.
    memorySizeGb Integer
    Memory size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    name String
    Name of the VPS instance. Must be lowercase alphanumeric with hyphens.
    networkStack String
    Network stack: 'ipv4_only', 'ipv6_only', or 'dual_stack'.
    password String
    Root password (required if auth_method is 'password'). Must be at least 12 characters.
    resourceProfile String
    Resource profile for the VPS (nano_shared, micro_shared, small_shared, medium_shared, large_shared, or dedicated variants).
    sshKeyId String
    SSH key ID for authentication (required if auth_method is 'ssh_key').
    storageSizeGb Integer
    Storage size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    timeouts VpsTimeouts
    authMethod string
    Authentication method: 'ssh_key' or 'password'.
    datacenter string
    Datacenter location (fsn1, nbg1, hel1, ash).
    image string
    Operating system image (e.g., 'ubuntu-24.04', 'debian-12').
    cpuAllocationType string
    CPU allocation type: 'shared' or 'dedicated'.
    cpuCores number
    Number of CPU cores. Can be specified during creation or update. VPS must be stopped to modify.
    customCloudInit string
    Custom cloud-init configuration script.
    memorySizeGb number
    Memory size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    name string
    Name of the VPS instance. Must be lowercase alphanumeric with hyphens.
    networkStack string
    Network stack: 'ipv4_only', 'ipv6_only', or 'dual_stack'.
    password string
    Root password (required if auth_method is 'password'). Must be at least 12 characters.
    resourceProfile string
    Resource profile for the VPS (nano_shared, micro_shared, small_shared, medium_shared, large_shared, or dedicated variants).
    sshKeyId string
    SSH key ID for authentication (required if auth_method is 'ssh_key').
    storageSizeGb number
    Storage size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    timeouts VpsTimeouts
    auth_method str
    Authentication method: 'ssh_key' or 'password'.
    datacenter str
    Datacenter location (fsn1, nbg1, hel1, ash).
    image str
    Operating system image (e.g., 'ubuntu-24.04', 'debian-12').
    cpu_allocation_type str
    CPU allocation type: 'shared' or 'dedicated'.
    cpu_cores int
    Number of CPU cores. Can be specified during creation or update. VPS must be stopped to modify.
    custom_cloud_init str
    Custom cloud-init configuration script.
    memory_size_gb int
    Memory size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    name str
    Name of the VPS instance. Must be lowercase alphanumeric with hyphens.
    network_stack str
    Network stack: 'ipv4_only', 'ipv6_only', or 'dual_stack'.
    password str
    Root password (required if auth_method is 'password'). Must be at least 12 characters.
    resource_profile str
    Resource profile for the VPS (nano_shared, micro_shared, small_shared, medium_shared, large_shared, or dedicated variants).
    ssh_key_id str
    SSH key ID for authentication (required if auth_method is 'ssh_key').
    storage_size_gb int
    Storage size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    timeouts VpsTimeoutsArgs
    authMethod String
    Authentication method: 'ssh_key' or 'password'.
    datacenter String
    Datacenter location (fsn1, nbg1, hel1, ash).
    image String
    Operating system image (e.g., 'ubuntu-24.04', 'debian-12').
    cpuAllocationType String
    CPU allocation type: 'shared' or 'dedicated'.
    cpuCores Number
    Number of CPU cores. Can be specified during creation or update. VPS must be stopped to modify.
    customCloudInit String
    Custom cloud-init configuration script.
    memorySizeGb Number
    Memory size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    name String
    Name of the VPS instance. Must be lowercase alphanumeric with hyphens.
    networkStack String
    Network stack: 'ipv4_only', 'ipv6_only', or 'dual_stack'.
    password String
    Root password (required if auth_method is 'password'). Must be at least 12 characters.
    resourceProfile String
    Resource profile for the VPS (nano_shared, micro_shared, small_shared, medium_shared, large_shared, or dedicated variants).
    sshKeyId String
    SSH key ID for authentication (required if auth_method is 'ssh_key').
    storageSizeGb Number
    Storage size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    timeouts Property Map

    Outputs

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

    CreatedAt string
    Creation timestamp.
    DeployedAt string
    Deployment timestamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv6Address string
    IPv6 address (if enabled).
    MonthlyCost double
    Estimated monthly cost.
    MonthlyCostCents int
    Monthly cost in cents.
    PrivateIp string
    Private IP address.
    PublicIp string
    Public IPv4 address.
    Status string
    Current status of the VPS.
    UpdatedAt string
    Timestamp when the VPS was last updated.
    CreatedAt string
    Creation timestamp.
    DeployedAt string
    Deployment timestamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv6Address string
    IPv6 address (if enabled).
    MonthlyCost float64
    Estimated monthly cost.
    MonthlyCostCents int
    Monthly cost in cents.
    PrivateIp string
    Private IP address.
    PublicIp string
    Public IPv4 address.
    Status string
    Current status of the VPS.
    UpdatedAt string
    Timestamp when the VPS was last updated.
    createdAt String
    Creation timestamp.
    deployedAt String
    Deployment timestamp.
    id String
    The provider-assigned unique ID for this managed resource.
    ipv6Address String
    IPv6 address (if enabled).
    monthlyCost Double
    Estimated monthly cost.
    monthlyCostCents Integer
    Monthly cost in cents.
    privateIp String
    Private IP address.
    publicIp String
    Public IPv4 address.
    status String
    Current status of the VPS.
    updatedAt String
    Timestamp when the VPS was last updated.
    createdAt string
    Creation timestamp.
    deployedAt string
    Deployment timestamp.
    id string
    The provider-assigned unique ID for this managed resource.
    ipv6Address string
    IPv6 address (if enabled).
    monthlyCost number
    Estimated monthly cost.
    monthlyCostCents number
    Monthly cost in cents.
    privateIp string
    Private IP address.
    publicIp string
    Public IPv4 address.
    status string
    Current status of the VPS.
    updatedAt string
    Timestamp when the VPS was last updated.
    created_at str
    Creation timestamp.
    deployed_at str
    Deployment timestamp.
    id str
    The provider-assigned unique ID for this managed resource.
    ipv6_address str
    IPv6 address (if enabled).
    monthly_cost float
    Estimated monthly cost.
    monthly_cost_cents int
    Monthly cost in cents.
    private_ip str
    Private IP address.
    public_ip str
    Public IPv4 address.
    status str
    Current status of the VPS.
    updated_at str
    Timestamp when the VPS was last updated.
    createdAt String
    Creation timestamp.
    deployedAt String
    Deployment timestamp.
    id String
    The provider-assigned unique ID for this managed resource.
    ipv6Address String
    IPv6 address (if enabled).
    monthlyCost Number
    Estimated monthly cost.
    monthlyCostCents Number
    Monthly cost in cents.
    privateIp String
    Private IP address.
    publicIp String
    Public IPv4 address.
    status String
    Current status of the VPS.
    updatedAt String
    Timestamp when the VPS was last updated.

    Look up Existing Vps Resource

    Get an existing Vps 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?: VpsState, opts?: CustomResourceOptions): Vps
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth_method: Optional[str] = None,
            cpu_allocation_type: Optional[str] = None,
            cpu_cores: Optional[int] = None,
            created_at: Optional[str] = None,
            custom_cloud_init: Optional[str] = None,
            datacenter: Optional[str] = None,
            deployed_at: Optional[str] = None,
            image: Optional[str] = None,
            ipv6_address: Optional[str] = None,
            memory_size_gb: Optional[int] = None,
            monthly_cost: Optional[float] = None,
            monthly_cost_cents: Optional[int] = None,
            name: Optional[str] = None,
            network_stack: Optional[str] = None,
            password: Optional[str] = None,
            private_ip: Optional[str] = None,
            public_ip: Optional[str] = None,
            resource_profile: Optional[str] = None,
            ssh_key_id: Optional[str] = None,
            status: Optional[str] = None,
            storage_size_gb: Optional[int] = None,
            timeouts: Optional[VpsTimeoutsArgs] = None,
            updated_at: Optional[str] = None) -> Vps
    func GetVps(ctx *Context, name string, id IDInput, state *VpsState, opts ...ResourceOption) (*Vps, error)
    public static Vps Get(string name, Input<string> id, VpsState? state, CustomResourceOptions? opts = null)
    public static Vps get(String name, Output<String> id, VpsState state, CustomResourceOptions options)
    resources:  _:    type: danubedata:Vps    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:
    AuthMethod string
    Authentication method: 'ssh_key' or 'password'.
    CpuAllocationType string
    CPU allocation type: 'shared' or 'dedicated'.
    CpuCores int
    Number of CPU cores. Can be specified during creation or update. VPS must be stopped to modify.
    CreatedAt string
    Creation timestamp.
    CustomCloudInit string
    Custom cloud-init configuration script.
    Datacenter string
    Datacenter location (fsn1, nbg1, hel1, ash).
    DeployedAt string
    Deployment timestamp.
    Image string
    Operating system image (e.g., 'ubuntu-24.04', 'debian-12').
    Ipv6Address string
    IPv6 address (if enabled).
    MemorySizeGb int
    Memory size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    MonthlyCost double
    Estimated monthly cost.
    MonthlyCostCents int
    Monthly cost in cents.
    Name string
    Name of the VPS instance. Must be lowercase alphanumeric with hyphens.
    NetworkStack string
    Network stack: 'ipv4_only', 'ipv6_only', or 'dual_stack'.
    Password string
    Root password (required if auth_method is 'password'). Must be at least 12 characters.
    PrivateIp string
    Private IP address.
    PublicIp string
    Public IPv4 address.
    ResourceProfile string
    Resource profile for the VPS (nano_shared, micro_shared, small_shared, medium_shared, large_shared, or dedicated variants).
    SshKeyId string
    SSH key ID for authentication (required if auth_method is 'ssh_key').
    Status string
    Current status of the VPS.
    StorageSizeGb int
    Storage size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    Timeouts DanubeData.DanubeData.Inputs.VpsTimeouts
    UpdatedAt string
    Timestamp when the VPS was last updated.
    AuthMethod string
    Authentication method: 'ssh_key' or 'password'.
    CpuAllocationType string
    CPU allocation type: 'shared' or 'dedicated'.
    CpuCores int
    Number of CPU cores. Can be specified during creation or update. VPS must be stopped to modify.
    CreatedAt string
    Creation timestamp.
    CustomCloudInit string
    Custom cloud-init configuration script.
    Datacenter string
    Datacenter location (fsn1, nbg1, hel1, ash).
    DeployedAt string
    Deployment timestamp.
    Image string
    Operating system image (e.g., 'ubuntu-24.04', 'debian-12').
    Ipv6Address string
    IPv6 address (if enabled).
    MemorySizeGb int
    Memory size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    MonthlyCost float64
    Estimated monthly cost.
    MonthlyCostCents int
    Monthly cost in cents.
    Name string
    Name of the VPS instance. Must be lowercase alphanumeric with hyphens.
    NetworkStack string
    Network stack: 'ipv4_only', 'ipv6_only', or 'dual_stack'.
    Password string
    Root password (required if auth_method is 'password'). Must be at least 12 characters.
    PrivateIp string
    Private IP address.
    PublicIp string
    Public IPv4 address.
    ResourceProfile string
    Resource profile for the VPS (nano_shared, micro_shared, small_shared, medium_shared, large_shared, or dedicated variants).
    SshKeyId string
    SSH key ID for authentication (required if auth_method is 'ssh_key').
    Status string
    Current status of the VPS.
    StorageSizeGb int
    Storage size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    Timeouts VpsTimeoutsArgs
    UpdatedAt string
    Timestamp when the VPS was last updated.
    authMethod String
    Authentication method: 'ssh_key' or 'password'.
    cpuAllocationType String
    CPU allocation type: 'shared' or 'dedicated'.
    cpuCores Integer
    Number of CPU cores. Can be specified during creation or update. VPS must be stopped to modify.
    createdAt String
    Creation timestamp.
    customCloudInit String
    Custom cloud-init configuration script.
    datacenter String
    Datacenter location (fsn1, nbg1, hel1, ash).
    deployedAt String
    Deployment timestamp.
    image String
    Operating system image (e.g., 'ubuntu-24.04', 'debian-12').
    ipv6Address String
    IPv6 address (if enabled).
    memorySizeGb Integer
    Memory size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    monthlyCost Double
    Estimated monthly cost.
    monthlyCostCents Integer
    Monthly cost in cents.
    name String
    Name of the VPS instance. Must be lowercase alphanumeric with hyphens.
    networkStack String
    Network stack: 'ipv4_only', 'ipv6_only', or 'dual_stack'.
    password String
    Root password (required if auth_method is 'password'). Must be at least 12 characters.
    privateIp String
    Private IP address.
    publicIp String
    Public IPv4 address.
    resourceProfile String
    Resource profile for the VPS (nano_shared, micro_shared, small_shared, medium_shared, large_shared, or dedicated variants).
    sshKeyId String
    SSH key ID for authentication (required if auth_method is 'ssh_key').
    status String
    Current status of the VPS.
    storageSizeGb Integer
    Storage size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    timeouts VpsTimeouts
    updatedAt String
    Timestamp when the VPS was last updated.
    authMethod string
    Authentication method: 'ssh_key' or 'password'.
    cpuAllocationType string
    CPU allocation type: 'shared' or 'dedicated'.
    cpuCores number
    Number of CPU cores. Can be specified during creation or update. VPS must be stopped to modify.
    createdAt string
    Creation timestamp.
    customCloudInit string
    Custom cloud-init configuration script.
    datacenter string
    Datacenter location (fsn1, nbg1, hel1, ash).
    deployedAt string
    Deployment timestamp.
    image string
    Operating system image (e.g., 'ubuntu-24.04', 'debian-12').
    ipv6Address string
    IPv6 address (if enabled).
    memorySizeGb number
    Memory size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    monthlyCost number
    Estimated monthly cost.
    monthlyCostCents number
    Monthly cost in cents.
    name string
    Name of the VPS instance. Must be lowercase alphanumeric with hyphens.
    networkStack string
    Network stack: 'ipv4_only', 'ipv6_only', or 'dual_stack'.
    password string
    Root password (required if auth_method is 'password'). Must be at least 12 characters.
    privateIp string
    Private IP address.
    publicIp string
    Public IPv4 address.
    resourceProfile string
    Resource profile for the VPS (nano_shared, micro_shared, small_shared, medium_shared, large_shared, or dedicated variants).
    sshKeyId string
    SSH key ID for authentication (required if auth_method is 'ssh_key').
    status string
    Current status of the VPS.
    storageSizeGb number
    Storage size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    timeouts VpsTimeouts
    updatedAt string
    Timestamp when the VPS was last updated.
    auth_method str
    Authentication method: 'ssh_key' or 'password'.
    cpu_allocation_type str
    CPU allocation type: 'shared' or 'dedicated'.
    cpu_cores int
    Number of CPU cores. Can be specified during creation or update. VPS must be stopped to modify.
    created_at str
    Creation timestamp.
    custom_cloud_init str
    Custom cloud-init configuration script.
    datacenter str
    Datacenter location (fsn1, nbg1, hel1, ash).
    deployed_at str
    Deployment timestamp.
    image str
    Operating system image (e.g., 'ubuntu-24.04', 'debian-12').
    ipv6_address str
    IPv6 address (if enabled).
    memory_size_gb int
    Memory size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    monthly_cost float
    Estimated monthly cost.
    monthly_cost_cents int
    Monthly cost in cents.
    name str
    Name of the VPS instance. Must be lowercase alphanumeric with hyphens.
    network_stack str
    Network stack: 'ipv4_only', 'ipv6_only', or 'dual_stack'.
    password str
    Root password (required if auth_method is 'password'). Must be at least 12 characters.
    private_ip str
    Private IP address.
    public_ip str
    Public IPv4 address.
    resource_profile str
    Resource profile for the VPS (nano_shared, micro_shared, small_shared, medium_shared, large_shared, or dedicated variants).
    ssh_key_id str
    SSH key ID for authentication (required if auth_method is 'ssh_key').
    status str
    Current status of the VPS.
    storage_size_gb int
    Storage size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    timeouts VpsTimeoutsArgs
    updated_at str
    Timestamp when the VPS was last updated.
    authMethod String
    Authentication method: 'ssh_key' or 'password'.
    cpuAllocationType String
    CPU allocation type: 'shared' or 'dedicated'.
    cpuCores Number
    Number of CPU cores. Can be specified during creation or update. VPS must be stopped to modify.
    createdAt String
    Creation timestamp.
    customCloudInit String
    Custom cloud-init configuration script.
    datacenter String
    Datacenter location (fsn1, nbg1, hel1, ash).
    deployedAt String
    Deployment timestamp.
    image String
    Operating system image (e.g., 'ubuntu-24.04', 'debian-12').
    ipv6Address String
    IPv6 address (if enabled).
    memorySizeGb Number
    Memory size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    monthlyCost Number
    Estimated monthly cost.
    monthlyCostCents Number
    Monthly cost in cents.
    name String
    Name of the VPS instance. Must be lowercase alphanumeric with hyphens.
    networkStack String
    Network stack: 'ipv4_only', 'ipv6_only', or 'dual_stack'.
    password String
    Root password (required if auth_method is 'password'). Must be at least 12 characters.
    privateIp String
    Private IP address.
    publicIp String
    Public IPv4 address.
    resourceProfile String
    Resource profile for the VPS (nano_shared, micro_shared, small_shared, medium_shared, large_shared, or dedicated variants).
    sshKeyId String
    SSH key ID for authentication (required if auth_method is 'ssh_key').
    status String
    Current status of the VPS.
    storageSizeGb Number
    Storage size in GB. Can be specified during creation or update. VPS must be stopped to modify.
    timeouts Property Map
    updatedAt String
    Timestamp when the VPS was last updated.

    Supporting Types

    VpsTimeouts, VpsTimeoutsArgs

    Create string
    Time to wait for VPS creation.
    Delete string
    Time to wait for VPS deletion.
    Update string
    Time to wait for VPS updates.
    Create string
    Time to wait for VPS creation.
    Delete string
    Time to wait for VPS deletion.
    Update string
    Time to wait for VPS updates.
    create String
    Time to wait for VPS creation.
    delete String
    Time to wait for VPS deletion.
    update String
    Time to wait for VPS updates.
    create string
    Time to wait for VPS creation.
    delete string
    Time to wait for VPS deletion.
    update string
    Time to wait for VPS updates.
    create str
    Time to wait for VPS creation.
    delete str
    Time to wait for VPS deletion.
    update str
    Time to wait for VPS updates.
    create String
    Time to wait for VPS creation.
    delete String
    Time to wait for VPS deletion.
    update String
    Time to wait for VPS updates.

    Import

    VPS instances can be imported using their ID:

    bash

    $ pulumi import danubedata:index/vps:Vps example vps-abc123
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    danubedata AdrianSilaghi/pulumi-danubedata
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the danubedata Terraform Provider.
    danubedata logo
    DanubeData v0.1.7 published on Sunday, Feb 1, 2026 by AdrianSilaghi
      Meet Neo: Your AI Platform Teammate