1. Packages
  2. Ionoscloud Provider
  3. API Docs
  4. getCubeServer
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud

ionoscloud.getCubeServer

Explore with Pulumi AI

ionoscloud logo
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud

    The Cube Server data source can be used to search for and return existing servers. If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned. When this happens, please refine your search string so that it is specific enough to return only one result.

    Example Usage

    By ID

    import * as pulumi from "@pulumi/pulumi";
    import * as ionoscloud from "@pulumi/ionoscloud";
    
    const example = ionoscloud.getCubeServer({
        datacenterId: "datacenter_id",
        id: "server_id",
    });
    
    import pulumi
    import pulumi_ionoscloud as ionoscloud
    
    example = ionoscloud.get_cube_server(datacenter_id="datacenter_id",
        id="server_id")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ionoscloud.LookupCubeServer(ctx, &ionoscloud.LookupCubeServerArgs{
    			DatacenterId: "datacenter_id",
    			Id:           pulumi.StringRef("server_id"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ionoscloud = Pulumi.Ionoscloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Ionoscloud.GetCubeServer.Invoke(new()
        {
            DatacenterId = "datacenter_id",
            Id = "server_id",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ionoscloud.IonoscloudFunctions;
    import com.pulumi.ionoscloud.inputs.GetCubeServerArgs;
    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) {
            final var example = IonoscloudFunctions.getCubeServer(GetCubeServerArgs.builder()
                .datacenterId("datacenter_id")
                .id("server_id")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: ionoscloud:getCubeServer
          arguments:
            datacenterId: datacenter_id
            id: server_id
    

    By Name

    import * as pulumi from "@pulumi/pulumi";
    import * as ionoscloud from "@pulumi/ionoscloud";
    
    const example = ionoscloud.getCubeServer({
        datacenterId: "datacenter_id",
        name: "Server Example",
    });
    
    import pulumi
    import pulumi_ionoscloud as ionoscloud
    
    example = ionoscloud.get_cube_server(datacenter_id="datacenter_id",
        name="Server Example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ionoscloud.LookupCubeServer(ctx, &ionoscloud.LookupCubeServerArgs{
    			DatacenterId: "datacenter_id",
    			Name:         pulumi.StringRef("Server Example"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ionoscloud = Pulumi.Ionoscloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Ionoscloud.GetCubeServer.Invoke(new()
        {
            DatacenterId = "datacenter_id",
            Name = "Server Example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ionoscloud.IonoscloudFunctions;
    import com.pulumi.ionoscloud.inputs.GetCubeServerArgs;
    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) {
            final var example = IonoscloudFunctions.getCubeServer(GetCubeServerArgs.builder()
                .datacenterId("datacenter_id")
                .name("Server Example")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: ionoscloud:getCubeServer
          arguments:
            datacenterId: datacenter_id
            name: Server Example
    

    Using getCubeServer

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCubeServer(args: GetCubeServerArgs, opts?: InvokeOptions): Promise<GetCubeServerResult>
    function getCubeServerOutput(args: GetCubeServerOutputArgs, opts?: InvokeOptions): Output<GetCubeServerResult>
    def get_cube_server(datacenter_id: Optional[str] = None,
                        id: Optional[str] = None,
                        name: Optional[str] = None,
                        template_uuid: Optional[str] = None,
                        timeouts: Optional[GetCubeServerTimeouts] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCubeServerResult
    def get_cube_server_output(datacenter_id: Optional[pulumi.Input[str]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        template_uuid: Optional[pulumi.Input[str]] = None,
                        timeouts: Optional[pulumi.Input[GetCubeServerTimeoutsArgs]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCubeServerResult]
    func LookupCubeServer(ctx *Context, args *LookupCubeServerArgs, opts ...InvokeOption) (*LookupCubeServerResult, error)
    func LookupCubeServerOutput(ctx *Context, args *LookupCubeServerOutputArgs, opts ...InvokeOption) LookupCubeServerResultOutput

    > Note: This function is named LookupCubeServer in the Go SDK.

    public static class GetCubeServer 
    {
        public static Task<GetCubeServerResult> InvokeAsync(GetCubeServerArgs args, InvokeOptions? opts = null)
        public static Output<GetCubeServerResult> Invoke(GetCubeServerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCubeServerResult> getCubeServer(GetCubeServerArgs args, InvokeOptions options)
    public static Output<GetCubeServerResult> getCubeServer(GetCubeServerArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ionoscloud:index/getCubeServer:getCubeServer
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DatacenterId string
    Datacenter's UUID.
    Id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    Name string
    Name of an existing server that you want to search for.
    TemplateUuid string
    The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
    Timeouts GetCubeServerTimeouts
    DatacenterId string
    Datacenter's UUID.
    Id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    Name string
    Name of an existing server that you want to search for.
    TemplateUuid string
    The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
    Timeouts GetCubeServerTimeouts
    datacenterId String
    Datacenter's UUID.
    id String

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    name String
    Name of an existing server that you want to search for.
    templateUuid String
    The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
    timeouts GetCubeServerTimeouts
    datacenterId string
    Datacenter's UUID.
    id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    name string
    Name of an existing server that you want to search for.
    templateUuid string
    The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
    timeouts GetCubeServerTimeouts
    datacenter_id str
    Datacenter's UUID.
    id str

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    name str
    Name of an existing server that you want to search for.
    template_uuid str
    The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
    timeouts GetCubeServerTimeouts
    datacenterId String
    Datacenter's UUID.
    id String

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    name String
    Name of an existing server that you want to search for.
    templateUuid String
    The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
    timeouts Property Map

    getCubeServer Result

    The following output properties are available:

    AvailabilityZone string
    The availability zone in which the volume should exist
    BootCdrom string
    BootImage string
    BootVolume string
    Cdroms List<GetCubeServerCdrom>
    list of
    Cores double
    CpuFamily string
    DatacenterId string
    The id of the datacenter
    Hostname string
    The hostname of the server
    Id string
    Id of the firewall rule
    Name string
    Name of the firewall rule
    Nics List<GetCubeServerNic>
    list of
    Ram double
    SecurityGroupsIds List<string>
    The list of Security Group IDs for the resource.
    Token string
    VmState string
    Status of the virtual Machine
    Volumes List<GetCubeServerVolume>
    list of
    TemplateUuid string
    The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
    Timeouts GetCubeServerTimeouts
    AvailabilityZone string
    The availability zone in which the volume should exist
    BootCdrom string
    BootImage string
    BootVolume string
    Cdroms []GetCubeServerCdrom
    list of
    Cores float64
    CpuFamily string
    DatacenterId string
    The id of the datacenter
    Hostname string
    The hostname of the server
    Id string
    Id of the firewall rule
    Name string
    Name of the firewall rule
    Nics []GetCubeServerNic
    list of
    Ram float64
    SecurityGroupsIds []string
    The list of Security Group IDs for the resource.
    Token string
    VmState string
    Status of the virtual Machine
    Volumes []GetCubeServerVolume
    list of
    TemplateUuid string
    The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
    Timeouts GetCubeServerTimeouts
    availabilityZone String
    The availability zone in which the volume should exist
    bootCdrom String
    bootImage String
    bootVolume String
    cdroms List<GetCubeServerCdrom>
    list of
    cores Double
    cpuFamily String
    datacenterId String
    The id of the datacenter
    hostname String
    The hostname of the server
    id String
    Id of the firewall rule
    name String
    Name of the firewall rule
    nics List<GetCubeServerNic>
    list of
    ram Double
    securityGroupsIds List<String>
    The list of Security Group IDs for the resource.
    token String
    vmState String
    Status of the virtual Machine
    volumes List<GetCubeServerVolume>
    list of
    templateUuid String
    The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
    timeouts GetCubeServerTimeouts
    availabilityZone string
    The availability zone in which the volume should exist
    bootCdrom string
    bootImage string
    bootVolume string
    cdroms GetCubeServerCdrom[]
    list of
    cores number
    cpuFamily string
    datacenterId string
    The id of the datacenter
    hostname string
    The hostname of the server
    id string
    Id of the firewall rule
    name string
    Name of the firewall rule
    nics GetCubeServerNic[]
    list of
    ram number
    securityGroupsIds string[]
    The list of Security Group IDs for the resource.
    token string
    vmState string
    Status of the virtual Machine
    volumes GetCubeServerVolume[]
    list of
    templateUuid string
    The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
    timeouts GetCubeServerTimeouts
    availability_zone str
    The availability zone in which the volume should exist
    boot_cdrom str
    boot_image str
    boot_volume str
    cdroms Sequence[GetCubeServerCdrom]
    list of
    cores float
    cpu_family str
    datacenter_id str
    The id of the datacenter
    hostname str
    The hostname of the server
    id str
    Id of the firewall rule
    name str
    Name of the firewall rule
    nics Sequence[GetCubeServerNic]
    list of
    ram float
    security_groups_ids Sequence[str]
    The list of Security Group IDs for the resource.
    token str
    vm_state str
    Status of the virtual Machine
    volumes Sequence[GetCubeServerVolume]
    list of
    template_uuid str
    The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
    timeouts GetCubeServerTimeouts
    availabilityZone String
    The availability zone in which the volume should exist
    bootCdrom String
    bootImage String
    bootVolume String
    cdroms List<Property Map>
    list of
    cores Number
    cpuFamily String
    datacenterId String
    The id of the datacenter
    hostname String
    The hostname of the server
    id String
    Id of the firewall rule
    name String
    Name of the firewall rule
    nics List<Property Map>
    list of
    ram Number
    securityGroupsIds List<String>
    The list of Security Group IDs for the resource.
    token String
    vmState String
    Status of the virtual Machine
    volumes List<Property Map>
    list of
    templateUuid String
    The UUID of the template for creating a CUBE server; the available templates for CUBE servers can be found on the templates resource
    timeouts Property Map

    Supporting Types

    GetCubeServerCdrom

    CloudInit string
    Cloud init compatibility
    CpuHotPlug bool
    Is capable of CPU hot plug (no reboot required)
    CpuHotUnplug bool
    Is capable of CPU hot unplug (no reboot required)
    Description string
    Description of cdrom
    DiscScsiHotPlug bool
    Is capable of SCSI drive hot plug (no reboot required)
    DiscScsiHotUnplug bool
    Is capable of SCSI drive hot unplug (no reboot required)
    DiscVirtioHotPlug bool
    Is capable of Virt-IO drive hot plug (no reboot required)
    DiscVirtioHotUnplug bool
    Is capable of Virt-IO drive hot unplug (no reboot required)
    Id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    ImageAliases List<string>
    List of image aliases mapped for this Image
    ImageType string
    Type of image
    LicenceType string
    OS type of this volume
    Location string
    Location of that image/snapshot
    Name string
    Name of an existing server that you want to search for.
    NicHotPlug bool
    Is capable of nic hot plug (no reboot required)
    NicHotUnplug bool
    Is capable of nic hot unplug (no reboot required)
    Public bool
    Indicates if the image is part of the public repository or not
    RamHotPlug bool
    Is capable of memory hot plug (no reboot required)
    RamHotUnplug bool
    Is capable of memory hot unplug (no reboot required)
    Size double
    The size of the image in GB
    CloudInit string
    Cloud init compatibility
    CpuHotPlug bool
    Is capable of CPU hot plug (no reboot required)
    CpuHotUnplug bool
    Is capable of CPU hot unplug (no reboot required)
    Description string
    Description of cdrom
    DiscScsiHotPlug bool
    Is capable of SCSI drive hot plug (no reboot required)
    DiscScsiHotUnplug bool
    Is capable of SCSI drive hot unplug (no reboot required)
    DiscVirtioHotPlug bool
    Is capable of Virt-IO drive hot plug (no reboot required)
    DiscVirtioHotUnplug bool
    Is capable of Virt-IO drive hot unplug (no reboot required)
    Id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    ImageAliases []string
    List of image aliases mapped for this Image
    ImageType string
    Type of image
    LicenceType string
    OS type of this volume
    Location string
    Location of that image/snapshot
    Name string
    Name of an existing server that you want to search for.
    NicHotPlug bool
    Is capable of nic hot plug (no reboot required)
    NicHotUnplug bool
    Is capable of nic hot unplug (no reboot required)
    Public bool
    Indicates if the image is part of the public repository or not
    RamHotPlug bool
    Is capable of memory hot plug (no reboot required)
    RamHotUnplug bool
    Is capable of memory hot unplug (no reboot required)
    Size float64
    The size of the image in GB
    cloudInit String
    Cloud init compatibility
    cpuHotPlug Boolean
    Is capable of CPU hot plug (no reboot required)
    cpuHotUnplug Boolean
    Is capable of CPU hot unplug (no reboot required)
    description String
    Description of cdrom
    discScsiHotPlug Boolean
    Is capable of SCSI drive hot plug (no reboot required)
    discScsiHotUnplug Boolean
    Is capable of SCSI drive hot unplug (no reboot required)
    discVirtioHotPlug Boolean
    Is capable of Virt-IO drive hot plug (no reboot required)
    discVirtioHotUnplug Boolean
    Is capable of Virt-IO drive hot unplug (no reboot required)
    id String

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    imageAliases List<String>
    List of image aliases mapped for this Image
    imageType String
    Type of image
    licenceType String
    OS type of this volume
    location String
    Location of that image/snapshot
    name String
    Name of an existing server that you want to search for.
    nicHotPlug Boolean
    Is capable of nic hot plug (no reboot required)
    nicHotUnplug Boolean
    Is capable of nic hot unplug (no reboot required)
    public_ Boolean
    Indicates if the image is part of the public repository or not
    ramHotPlug Boolean
    Is capable of memory hot plug (no reboot required)
    ramHotUnplug Boolean
    Is capable of memory hot unplug (no reboot required)
    size Double
    The size of the image in GB
    cloudInit string
    Cloud init compatibility
    cpuHotPlug boolean
    Is capable of CPU hot plug (no reboot required)
    cpuHotUnplug boolean
    Is capable of CPU hot unplug (no reboot required)
    description string
    Description of cdrom
    discScsiHotPlug boolean
    Is capable of SCSI drive hot plug (no reboot required)
    discScsiHotUnplug boolean
    Is capable of SCSI drive hot unplug (no reboot required)
    discVirtioHotPlug boolean
    Is capable of Virt-IO drive hot plug (no reboot required)
    discVirtioHotUnplug boolean
    Is capable of Virt-IO drive hot unplug (no reboot required)
    id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    imageAliases string[]
    List of image aliases mapped for this Image
    imageType string
    Type of image
    licenceType string
    OS type of this volume
    location string
    Location of that image/snapshot
    name string
    Name of an existing server that you want to search for.
    nicHotPlug boolean
    Is capable of nic hot plug (no reboot required)
    nicHotUnplug boolean
    Is capable of nic hot unplug (no reboot required)
    public boolean
    Indicates if the image is part of the public repository or not
    ramHotPlug boolean
    Is capable of memory hot plug (no reboot required)
    ramHotUnplug boolean
    Is capable of memory hot unplug (no reboot required)
    size number
    The size of the image in GB
    cloud_init str
    Cloud init compatibility
    cpu_hot_plug bool
    Is capable of CPU hot plug (no reboot required)
    cpu_hot_unplug bool
    Is capable of CPU hot unplug (no reboot required)
    description str
    Description of cdrom
    disc_scsi_hot_plug bool
    Is capable of SCSI drive hot plug (no reboot required)
    disc_scsi_hot_unplug bool
    Is capable of SCSI drive hot unplug (no reboot required)
    disc_virtio_hot_plug bool
    Is capable of Virt-IO drive hot plug (no reboot required)
    disc_virtio_hot_unplug bool
    Is capable of Virt-IO drive hot unplug (no reboot required)
    id str

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    image_aliases Sequence[str]
    List of image aliases mapped for this Image
    image_type str
    Type of image
    licence_type str
    OS type of this volume
    location str
    Location of that image/snapshot
    name str
    Name of an existing server that you want to search for.
    nic_hot_plug bool
    Is capable of nic hot plug (no reboot required)
    nic_hot_unplug bool
    Is capable of nic hot unplug (no reboot required)
    public bool
    Indicates if the image is part of the public repository or not
    ram_hot_plug bool
    Is capable of memory hot plug (no reboot required)
    ram_hot_unplug bool
    Is capable of memory hot unplug (no reboot required)
    size float
    The size of the image in GB
    cloudInit String
    Cloud init compatibility
    cpuHotPlug Boolean
    Is capable of CPU hot plug (no reboot required)
    cpuHotUnplug Boolean
    Is capable of CPU hot unplug (no reboot required)
    description String
    Description of cdrom
    discScsiHotPlug Boolean
    Is capable of SCSI drive hot plug (no reboot required)
    discScsiHotUnplug Boolean
    Is capable of SCSI drive hot unplug (no reboot required)
    discVirtioHotPlug Boolean
    Is capable of Virt-IO drive hot plug (no reboot required)
    discVirtioHotUnplug Boolean
    Is capable of Virt-IO drive hot unplug (no reboot required)
    id String

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    imageAliases List<String>
    List of image aliases mapped for this Image
    imageType String
    Type of image
    licenceType String
    OS type of this volume
    location String
    Location of that image/snapshot
    name String
    Name of an existing server that you want to search for.
    nicHotPlug Boolean
    Is capable of nic hot plug (no reboot required)
    nicHotUnplug Boolean
    Is capable of nic hot unplug (no reboot required)
    public Boolean
    Indicates if the image is part of the public repository or not
    ramHotPlug Boolean
    Is capable of memory hot plug (no reboot required)
    ramHotUnplug Boolean
    Is capable of memory hot unplug (no reboot required)
    size Number
    The size of the image in GB

    GetCubeServerNic

    DeviceNumber double
    The Logical Unit Number (LUN) of the storage volume
    Dhcp bool
    Indicates if the nic will reserve an IP using DHCP
    Dhcpv6 bool
    FirewallActive bool
    Activate or deactivate the firewall
    FirewallRules List<GetCubeServerNicFirewallRule>
    list of
    FirewallType string
    The type of firewall rules that will be allowed on the NIC
    Id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    Ips List<string>
    Collection of IP addresses assigned to a nic
    Ipv6CidrBlock string
    Ipv6Ips List<string>
    Lan double
    The LAN ID the NIC will sit on
    Mac string
    The MAC address of the NIC
    Name string
    Name of an existing server that you want to search for.
    PciSlot double
    The PCI slot number of the Nic
    SecurityGroupsIds List<string>
    The list of Security Group IDs for the resource.
    DeviceNumber float64
    The Logical Unit Number (LUN) of the storage volume
    Dhcp bool
    Indicates if the nic will reserve an IP using DHCP
    Dhcpv6 bool
    FirewallActive bool
    Activate or deactivate the firewall
    FirewallRules []GetCubeServerNicFirewallRule
    list of
    FirewallType string
    The type of firewall rules that will be allowed on the NIC
    Id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    Ips []string
    Collection of IP addresses assigned to a nic
    Ipv6CidrBlock string
    Ipv6Ips []string
    Lan float64
    The LAN ID the NIC will sit on
    Mac string
    The MAC address of the NIC
    Name string
    Name of an existing server that you want to search for.
    PciSlot float64
    The PCI slot number of the Nic
    SecurityGroupsIds []string
    The list of Security Group IDs for the resource.
    deviceNumber Double
    The Logical Unit Number (LUN) of the storage volume
    dhcp Boolean
    Indicates if the nic will reserve an IP using DHCP
    dhcpv6 Boolean
    firewallActive Boolean
    Activate or deactivate the firewall
    firewallRules List<GetCubeServerNicFirewallRule>
    list of
    firewallType String
    The type of firewall rules that will be allowed on the NIC
    id String

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    ips List<String>
    Collection of IP addresses assigned to a nic
    ipv6CidrBlock String
    ipv6Ips List<String>
    lan Double
    The LAN ID the NIC will sit on
    mac String
    The MAC address of the NIC
    name String
    Name of an existing server that you want to search for.
    pciSlot Double
    The PCI slot number of the Nic
    securityGroupsIds List<String>
    The list of Security Group IDs for the resource.
    deviceNumber number
    The Logical Unit Number (LUN) of the storage volume
    dhcp boolean
    Indicates if the nic will reserve an IP using DHCP
    dhcpv6 boolean
    firewallActive boolean
    Activate or deactivate the firewall
    firewallRules GetCubeServerNicFirewallRule[]
    list of
    firewallType string
    The type of firewall rules that will be allowed on the NIC
    id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    ips string[]
    Collection of IP addresses assigned to a nic
    ipv6CidrBlock string
    ipv6Ips string[]
    lan number
    The LAN ID the NIC will sit on
    mac string
    The MAC address of the NIC
    name string
    Name of an existing server that you want to search for.
    pciSlot number
    The PCI slot number of the Nic
    securityGroupsIds string[]
    The list of Security Group IDs for the resource.
    device_number float
    The Logical Unit Number (LUN) of the storage volume
    dhcp bool
    Indicates if the nic will reserve an IP using DHCP
    dhcpv6 bool
    firewall_active bool
    Activate or deactivate the firewall
    firewall_rules Sequence[GetCubeServerNicFirewallRule]
    list of
    firewall_type str
    The type of firewall rules that will be allowed on the NIC
    id str

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    ips Sequence[str]
    Collection of IP addresses assigned to a nic
    ipv6_cidr_block str
    ipv6_ips Sequence[str]
    lan float
    The LAN ID the NIC will sit on
    mac str
    The MAC address of the NIC
    name str
    Name of an existing server that you want to search for.
    pci_slot float
    The PCI slot number of the Nic
    security_groups_ids Sequence[str]
    The list of Security Group IDs for the resource.
    deviceNumber Number
    The Logical Unit Number (LUN) of the storage volume
    dhcp Boolean
    Indicates if the nic will reserve an IP using DHCP
    dhcpv6 Boolean
    firewallActive Boolean
    Activate or deactivate the firewall
    firewallRules List<Property Map>
    list of
    firewallType String
    The type of firewall rules that will be allowed on the NIC
    id String

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    ips List<String>
    Collection of IP addresses assigned to a nic
    ipv6CidrBlock String
    ipv6Ips List<String>
    lan Number
    The LAN ID the NIC will sit on
    mac String
    The MAC address of the NIC
    name String
    Name of an existing server that you want to search for.
    pciSlot Number
    The PCI slot number of the Nic
    securityGroupsIds List<String>
    The list of Security Group IDs for the resource.

    GetCubeServerNicFirewallRule

    IcmpCode double
    Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
    IcmpType double
    Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen
    Id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    Name string
    Name of an existing server that you want to search for.
    PortRangeEnd double
    Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
    PortRangeStart double
    Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen
    Protocol string
    he protocol for the rule
    SourceIp string
    Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
    SourceMac string
    Only traffic originating from the respective MAC address is allowed
    TargetIp string
    In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed
    Type string
    The type of firewall rule
    IcmpCode float64
    Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
    IcmpType float64
    Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen
    Id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    Name string
    Name of an existing server that you want to search for.
    PortRangeEnd float64
    Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
    PortRangeStart float64
    Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen
    Protocol string
    he protocol for the rule
    SourceIp string
    Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
    SourceMac string
    Only traffic originating from the respective MAC address is allowed
    TargetIp string
    In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed
    Type string
    The type of firewall rule
    icmpCode Double
    Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
    icmpType Double
    Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen
    id String

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    name String
    Name of an existing server that you want to search for.
    portRangeEnd Double
    Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
    portRangeStart Double
    Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen
    protocol String
    he protocol for the rule
    sourceIp String
    Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
    sourceMac String
    Only traffic originating from the respective MAC address is allowed
    targetIp String
    In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed
    type String
    The type of firewall rule
    icmpCode number
    Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
    icmpType number
    Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen
    id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    name string
    Name of an existing server that you want to search for.
    portRangeEnd number
    Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
    portRangeStart number
    Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen
    protocol string
    he protocol for the rule
    sourceIp string
    Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
    sourceMac string
    Only traffic originating from the respective MAC address is allowed
    targetIp string
    In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed
    type string
    The type of firewall rule
    icmp_code float
    Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
    icmp_type float
    Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen
    id str

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    name str
    Name of an existing server that you want to search for.
    port_range_end float
    Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
    port_range_start float
    Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen
    protocol str
    he protocol for the rule
    source_ip str
    Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
    source_mac str
    Only traffic originating from the respective MAC address is allowed
    target_ip str
    In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed
    type str
    The type of firewall rule
    icmpCode Number
    Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
    icmpType Number
    Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen
    id String

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    name String
    Name of an existing server that you want to search for.
    portRangeEnd Number
    Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
    portRangeStart Number
    Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen
    protocol String
    he protocol for the rule
    sourceIp String
    Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
    sourceMac String
    Only traffic originating from the respective MAC address is allowed
    targetIp String
    In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed
    type String
    The type of firewall rule

    GetCubeServerTimeouts

    Create string
    Default string
    Delete string
    Update string
    Create string
    Default string
    Delete string
    Update string
    create String
    default_ String
    delete String
    update String
    create string
    default string
    delete string
    update string
    create String
    default String
    delete String
    update String

    GetCubeServerVolume

    AvailabilityZone string
    The availability zone in which the volume should exist
    BackupUnitId string
    The uuid of the Backup Unit that user has access to
    BootServer string
    Bus string
    The bus type of the volume
    CpuHotPlug bool
    Is capable of CPU hot plug (no reboot required)
    DeviceNumber double
    The Logical Unit Number (LUN) of the storage volume
    DiscVirtioHotPlug bool
    Is capable of Virt-IO drive hot plug (no reboot required)
    DiscVirtioHotUnplug bool
    Is capable of Virt-IO drive hot unplug (no reboot required)
    Id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    ImageName string
    ImagePassword string
    Initial password to be set for installed OS
    LicenceType string
    OS type of this volume
    Name string
    Name of an existing server that you want to search for.
    NicHotPlug bool
    Is capable of nic hot plug (no reboot required)
    NicHotUnplug bool
    Is capable of nic hot unplug (no reboot required)
    PciSlot double
    The PCI slot number of the Nic
    RamHotPlug bool
    Is capable of memory hot plug (no reboot required)
    SshKeys List<string>
    Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key
    Type string
    The type of firewall rule
    UserData string
    The cloud-init configuration for the volume as base64 encoded string
    AvailabilityZone string
    The availability zone in which the volume should exist
    BackupUnitId string
    The uuid of the Backup Unit that user has access to
    BootServer string
    Bus string
    The bus type of the volume
    CpuHotPlug bool
    Is capable of CPU hot plug (no reboot required)
    DeviceNumber float64
    The Logical Unit Number (LUN) of the storage volume
    DiscVirtioHotPlug bool
    Is capable of Virt-IO drive hot plug (no reboot required)
    DiscVirtioHotUnplug bool
    Is capable of Virt-IO drive hot unplug (no reboot required)
    Id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    ImageName string
    ImagePassword string
    Initial password to be set for installed OS
    LicenceType string
    OS type of this volume
    Name string
    Name of an existing server that you want to search for.
    NicHotPlug bool
    Is capable of nic hot plug (no reboot required)
    NicHotUnplug bool
    Is capable of nic hot unplug (no reboot required)
    PciSlot float64
    The PCI slot number of the Nic
    RamHotPlug bool
    Is capable of memory hot plug (no reboot required)
    SshKeys []string
    Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key
    Type string
    The type of firewall rule
    UserData string
    The cloud-init configuration for the volume as base64 encoded string
    availabilityZone String
    The availability zone in which the volume should exist
    backupUnitId String
    The uuid of the Backup Unit that user has access to
    bootServer String
    bus String
    The bus type of the volume
    cpuHotPlug Boolean
    Is capable of CPU hot plug (no reboot required)
    deviceNumber Double
    The Logical Unit Number (LUN) of the storage volume
    discVirtioHotPlug Boolean
    Is capable of Virt-IO drive hot plug (no reboot required)
    discVirtioHotUnplug Boolean
    Is capable of Virt-IO drive hot unplug (no reboot required)
    id String

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    imageName String
    imagePassword String
    Initial password to be set for installed OS
    licenceType String
    OS type of this volume
    name String
    Name of an existing server that you want to search for.
    nicHotPlug Boolean
    Is capable of nic hot plug (no reboot required)
    nicHotUnplug Boolean
    Is capable of nic hot unplug (no reboot required)
    pciSlot Double
    The PCI slot number of the Nic
    ramHotPlug Boolean
    Is capable of memory hot plug (no reboot required)
    sshKeys List<String>
    Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key
    type String
    The type of firewall rule
    userData String
    The cloud-init configuration for the volume as base64 encoded string
    availabilityZone string
    The availability zone in which the volume should exist
    backupUnitId string
    The uuid of the Backup Unit that user has access to
    bootServer string
    bus string
    The bus type of the volume
    cpuHotPlug boolean
    Is capable of CPU hot plug (no reboot required)
    deviceNumber number
    The Logical Unit Number (LUN) of the storage volume
    discVirtioHotPlug boolean
    Is capable of Virt-IO drive hot plug (no reboot required)
    discVirtioHotUnplug boolean
    Is capable of Virt-IO drive hot unplug (no reboot required)
    id string

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    imageName string
    imagePassword string
    Initial password to be set for installed OS
    licenceType string
    OS type of this volume
    name string
    Name of an existing server that you want to search for.
    nicHotPlug boolean
    Is capable of nic hot plug (no reboot required)
    nicHotUnplug boolean
    Is capable of nic hot unplug (no reboot required)
    pciSlot number
    The PCI slot number of the Nic
    ramHotPlug boolean
    Is capable of memory hot plug (no reboot required)
    sshKeys string[]
    Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key
    type string
    The type of firewall rule
    userData string
    The cloud-init configuration for the volume as base64 encoded string
    availability_zone str
    The availability zone in which the volume should exist
    backup_unit_id str
    The uuid of the Backup Unit that user has access to
    boot_server str
    bus str
    The bus type of the volume
    cpu_hot_plug bool
    Is capable of CPU hot plug (no reboot required)
    device_number float
    The Logical Unit Number (LUN) of the storage volume
    disc_virtio_hot_plug bool
    Is capable of Virt-IO drive hot plug (no reboot required)
    disc_virtio_hot_unplug bool
    Is capable of Virt-IO drive hot unplug (no reboot required)
    id str

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    image_name str
    image_password str
    Initial password to be set for installed OS
    licence_type str
    OS type of this volume
    name str
    Name of an existing server that you want to search for.
    nic_hot_plug bool
    Is capable of nic hot plug (no reboot required)
    nic_hot_unplug bool
    Is capable of nic hot unplug (no reboot required)
    pci_slot float
    The PCI slot number of the Nic
    ram_hot_plug bool
    Is capable of memory hot plug (no reboot required)
    ssh_keys Sequence[str]
    Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key
    type str
    The type of firewall rule
    user_data str
    The cloud-init configuration for the volume as base64 encoded string
    availabilityZone String
    The availability zone in which the volume should exist
    backupUnitId String
    The uuid of the Backup Unit that user has access to
    bootServer String
    bus String
    The bus type of the volume
    cpuHotPlug Boolean
    Is capable of CPU hot plug (no reboot required)
    deviceNumber Number
    The Logical Unit Number (LUN) of the storage volume
    discVirtioHotPlug Boolean
    Is capable of Virt-IO drive hot plug (no reboot required)
    discVirtioHotUnplug Boolean
    Is capable of Virt-IO drive hot unplug (no reboot required)
    id String

    ID of the server you want to search for.

    datacenter_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.

    imageName String
    imagePassword String
    Initial password to be set for installed OS
    licenceType String
    OS type of this volume
    name String
    Name of an existing server that you want to search for.
    nicHotPlug Boolean
    Is capable of nic hot plug (no reboot required)
    nicHotUnplug Boolean
    Is capable of nic hot unplug (no reboot required)
    pciSlot Number
    The PCI slot number of the Nic
    ramHotPlug Boolean
    Is capable of memory hot plug (no reboot required)
    sshKeys List<String>
    Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key
    type String
    The type of firewall rule
    userData String
    The cloud-init configuration for the volume as base64 encoded string

    Package Details

    Repository
    ionoscloud ionos-cloud/terraform-provider-ionoscloud
    License
    Notes
    This Pulumi package is based on the ionoscloud Terraform Provider.
    ionoscloud logo
    ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud