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

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",
});
Copy
import pulumi
import pulumi_ionoscloud as ionoscloud

example = ionoscloud.get_cube_server(datacenter_id="datacenter_id",
    id="server_id")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ionoscloud:getCubeServer
      arguments:
        datacenterId: datacenter_id
        id: server_id
Copy

By Name

import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";

const example = ionoscloud.getCubeServer({
    datacenterId: "datacenter_id",
    name: "Server Example",
});
Copy
import pulumi
import pulumi_ionoscloud as ionoscloud

example = ionoscloud.get_cube_server(datacenter_id="datacenter_id",
    name="Server Example")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ionoscloud:getCubeServer
      arguments:
        datacenterId: datacenter_id
        name: Server Example
Copy

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>
Copy
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]
Copy
func LookupCubeServer(ctx *Context, args *LookupCubeServerArgs, opts ...InvokeOption) (*LookupCubeServerResult, error)
func LookupCubeServerOutput(ctx *Context, args *LookupCubeServerOutputArgs, opts ...InvokeOption) LookupCubeServerResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetCubeServerResult> getCubeServer(GetCubeServerArgs args, InvokeOptions options)
public static Output<GetCubeServerResult> getCubeServer(GetCubeServerArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ionoscloud:index/getCubeServer:getCubeServer
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DatacenterId This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
Cloud init compatibility
CpuHotPlug This property is required. bool
Is capable of CPU hot plug (no reboot required)
CpuHotUnplug This property is required. bool
Is capable of CPU hot unplug (no reboot required)
Description This property is required. string
Description of cdrom
DiscScsiHotPlug This property is required. bool
Is capable of SCSI drive hot plug (no reboot required)
DiscScsiHotUnplug This property is required. bool
Is capable of SCSI drive hot unplug (no reboot required)
DiscVirtioHotPlug This property is required. bool
Is capable of Virt-IO drive hot plug (no reboot required)
DiscVirtioHotUnplug This property is required. bool
Is capable of Virt-IO drive hot unplug (no reboot required)
Id This property is required. 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 This property is required. List<string>
List of image aliases mapped for this Image
ImageType This property is required. string
Type of image
LicenceType This property is required. string
OS type of this volume
Location This property is required. string
Location of that image/snapshot
Name This property is required. string
Name of an existing server that you want to search for.
NicHotPlug This property is required. bool
Is capable of nic hot plug (no reboot required)
NicHotUnplug This property is required. bool
Is capable of nic hot unplug (no reboot required)
Public This property is required. bool
Indicates if the image is part of the public repository or not
RamHotPlug This property is required. bool
Is capable of memory hot plug (no reboot required)
RamHotUnplug This property is required. bool
Is capable of memory hot unplug (no reboot required)
Size This property is required. double
The size of the image in GB
CloudInit This property is required. string
Cloud init compatibility
CpuHotPlug This property is required. bool
Is capable of CPU hot plug (no reboot required)
CpuHotUnplug This property is required. bool
Is capable of CPU hot unplug (no reboot required)
Description This property is required. string
Description of cdrom
DiscScsiHotPlug This property is required. bool
Is capable of SCSI drive hot plug (no reboot required)
DiscScsiHotUnplug This property is required. bool
Is capable of SCSI drive hot unplug (no reboot required)
DiscVirtioHotPlug This property is required. bool
Is capable of Virt-IO drive hot plug (no reboot required)
DiscVirtioHotUnplug This property is required. bool
Is capable of Virt-IO drive hot unplug (no reboot required)
Id This property is required. 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 This property is required. []string
List of image aliases mapped for this Image
ImageType This property is required. string
Type of image
LicenceType This property is required. string
OS type of this volume
Location This property is required. string
Location of that image/snapshot
Name This property is required. string
Name of an existing server that you want to search for.
NicHotPlug This property is required. bool
Is capable of nic hot plug (no reboot required)
NicHotUnplug This property is required. bool
Is capable of nic hot unplug (no reboot required)
Public This property is required. bool
Indicates if the image is part of the public repository or not
RamHotPlug This property is required. bool
Is capable of memory hot plug (no reboot required)
RamHotUnplug This property is required. bool
Is capable of memory hot unplug (no reboot required)
Size This property is required. float64
The size of the image in GB
cloudInit This property is required. String
Cloud init compatibility
cpuHotPlug This property is required. Boolean
Is capable of CPU hot plug (no reboot required)
cpuHotUnplug This property is required. Boolean
Is capable of CPU hot unplug (no reboot required)
description This property is required. String
Description of cdrom
discScsiHotPlug This property is required. Boolean
Is capable of SCSI drive hot plug (no reboot required)
discScsiHotUnplug This property is required. Boolean
Is capable of SCSI drive hot unplug (no reboot required)
discVirtioHotPlug This property is required. Boolean
Is capable of Virt-IO drive hot plug (no reboot required)
discVirtioHotUnplug This property is required. Boolean
Is capable of Virt-IO drive hot unplug (no reboot required)
id This property is required. 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 This property is required. List<String>
List of image aliases mapped for this Image
imageType This property is required. String
Type of image
licenceType This property is required. String
OS type of this volume
location This property is required. String
Location of that image/snapshot
name This property is required. String
Name of an existing server that you want to search for.
nicHotPlug This property is required. Boolean
Is capable of nic hot plug (no reboot required)
nicHotUnplug This property is required. Boolean
Is capable of nic hot unplug (no reboot required)
public_ This property is required. Boolean
Indicates if the image is part of the public repository or not
ramHotPlug This property is required. Boolean
Is capable of memory hot plug (no reboot required)
ramHotUnplug This property is required. Boolean
Is capable of memory hot unplug (no reboot required)
size This property is required. Double
The size of the image in GB
cloudInit This property is required. string
Cloud init compatibility
cpuHotPlug This property is required. boolean
Is capable of CPU hot plug (no reboot required)
cpuHotUnplug This property is required. boolean
Is capable of CPU hot unplug (no reboot required)
description This property is required. string
Description of cdrom
discScsiHotPlug This property is required. boolean
Is capable of SCSI drive hot plug (no reboot required)
discScsiHotUnplug This property is required. boolean
Is capable of SCSI drive hot unplug (no reboot required)
discVirtioHotPlug This property is required. boolean
Is capable of Virt-IO drive hot plug (no reboot required)
discVirtioHotUnplug This property is required. boolean
Is capable of Virt-IO drive hot unplug (no reboot required)
id This property is required. 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 This property is required. string[]
List of image aliases mapped for this Image
imageType This property is required. string
Type of image
licenceType This property is required. string
OS type of this volume
location This property is required. string
Location of that image/snapshot
name This property is required. string
Name of an existing server that you want to search for.
nicHotPlug This property is required. boolean
Is capable of nic hot plug (no reboot required)
nicHotUnplug This property is required. boolean
Is capable of nic hot unplug (no reboot required)
public This property is required. boolean
Indicates if the image is part of the public repository or not
ramHotPlug This property is required. boolean
Is capable of memory hot plug (no reboot required)
ramHotUnplug This property is required. boolean
Is capable of memory hot unplug (no reboot required)
size This property is required. number
The size of the image in GB
cloud_init This property is required. str
Cloud init compatibility
cpu_hot_plug This property is required. bool
Is capable of CPU hot plug (no reboot required)
cpu_hot_unplug This property is required. bool
Is capable of CPU hot unplug (no reboot required)
description This property is required. str
Description of cdrom
disc_scsi_hot_plug This property is required. bool
Is capable of SCSI drive hot plug (no reboot required)
disc_scsi_hot_unplug This property is required. bool
Is capable of SCSI drive hot unplug (no reboot required)
disc_virtio_hot_plug This property is required. bool
Is capable of Virt-IO drive hot plug (no reboot required)
disc_virtio_hot_unplug This property is required. bool
Is capable of Virt-IO drive hot unplug (no reboot required)
id This property is required. 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 This property is required. Sequence[str]
List of image aliases mapped for this Image
image_type This property is required. str
Type of image
licence_type This property is required. str
OS type of this volume
location This property is required. str
Location of that image/snapshot
name This property is required. str
Name of an existing server that you want to search for.
nic_hot_plug This property is required. bool
Is capable of nic hot plug (no reboot required)
nic_hot_unplug This property is required. bool
Is capable of nic hot unplug (no reboot required)
public This property is required. bool
Indicates if the image is part of the public repository or not
ram_hot_plug This property is required. bool
Is capable of memory hot plug (no reboot required)
ram_hot_unplug This property is required. bool
Is capable of memory hot unplug (no reboot required)
size This property is required. float
The size of the image in GB
cloudInit This property is required. String
Cloud init compatibility
cpuHotPlug This property is required. Boolean
Is capable of CPU hot plug (no reboot required)
cpuHotUnplug This property is required. Boolean
Is capable of CPU hot unplug (no reboot required)
description This property is required. String
Description of cdrom
discScsiHotPlug This property is required. Boolean
Is capable of SCSI drive hot plug (no reboot required)
discScsiHotUnplug This property is required. Boolean
Is capable of SCSI drive hot unplug (no reboot required)
discVirtioHotPlug This property is required. Boolean
Is capable of Virt-IO drive hot plug (no reboot required)
discVirtioHotUnplug This property is required. Boolean
Is capable of Virt-IO drive hot unplug (no reboot required)
id This property is required. 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 This property is required. List<String>
List of image aliases mapped for this Image
imageType This property is required. String
Type of image
licenceType This property is required. String
OS type of this volume
location This property is required. String
Location of that image/snapshot
name This property is required. String
Name of an existing server that you want to search for.
nicHotPlug This property is required. Boolean
Is capable of nic hot plug (no reboot required)
nicHotUnplug This property is required. Boolean
Is capable of nic hot unplug (no reboot required)
public This property is required. Boolean
Indicates if the image is part of the public repository or not
ramHotPlug This property is required. Boolean
Is capable of memory hot plug (no reboot required)
ramHotUnplug This property is required. Boolean
Is capable of memory hot unplug (no reboot required)
size This property is required. Number
The size of the image in GB

GetCubeServerNic

DeviceNumber This property is required. double
The Logical Unit Number (LUN) of the storage volume
Dhcp This property is required. bool
Indicates if the nic will reserve an IP using DHCP
Dhcpv6 This property is required. bool
FirewallActive This property is required. bool
Activate or deactivate the firewall
FirewallRules This property is required. List<GetCubeServerNicFirewallRule>
list of
FirewallType This property is required. string
The type of firewall rules that will be allowed on the NIC
Id This property is required. 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 This property is required. List<string>
Collection of IP addresses assigned to a nic
Ipv6CidrBlock This property is required. string
Ipv6Ips This property is required. List<string>
Lan This property is required. double
The LAN ID the NIC will sit on
Mac This property is required. string
The MAC address of the NIC
Name This property is required. string
Name of an existing server that you want to search for.
PciSlot This property is required. double
The PCI slot number of the Nic
SecurityGroupsIds This property is required. List<string>
The list of Security Group IDs for the resource.
DeviceNumber This property is required. float64
The Logical Unit Number (LUN) of the storage volume
Dhcp This property is required. bool
Indicates if the nic will reserve an IP using DHCP
Dhcpv6 This property is required. bool
FirewallActive This property is required. bool
Activate or deactivate the firewall
FirewallRules This property is required. []GetCubeServerNicFirewallRule
list of
FirewallType This property is required. string
The type of firewall rules that will be allowed on the NIC
Id This property is required. 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 This property is required. []string
Collection of IP addresses assigned to a nic
Ipv6CidrBlock This property is required. string
Ipv6Ips This property is required. []string
Lan This property is required. float64
The LAN ID the NIC will sit on
Mac This property is required. string
The MAC address of the NIC
Name This property is required. string
Name of an existing server that you want to search for.
PciSlot This property is required. float64
The PCI slot number of the Nic
SecurityGroupsIds This property is required. []string
The list of Security Group IDs for the resource.
deviceNumber This property is required. Double
The Logical Unit Number (LUN) of the storage volume
dhcp This property is required. Boolean
Indicates if the nic will reserve an IP using DHCP
dhcpv6 This property is required. Boolean
firewallActive This property is required. Boolean
Activate or deactivate the firewall
firewallRules This property is required. List<GetCubeServerNicFirewallRule>
list of
firewallType This property is required. String
The type of firewall rules that will be allowed on the NIC
id This property is required. 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 This property is required. List<String>
Collection of IP addresses assigned to a nic
ipv6CidrBlock This property is required. String
ipv6Ips This property is required. List<String>
lan This property is required. Double
The LAN ID the NIC will sit on
mac This property is required. String
The MAC address of the NIC
name This property is required. String
Name of an existing server that you want to search for.
pciSlot This property is required. Double
The PCI slot number of the Nic
securityGroupsIds This property is required. List<String>
The list of Security Group IDs for the resource.
deviceNumber This property is required. number
The Logical Unit Number (LUN) of the storage volume
dhcp This property is required. boolean
Indicates if the nic will reserve an IP using DHCP
dhcpv6 This property is required. boolean
firewallActive This property is required. boolean
Activate or deactivate the firewall
firewallRules This property is required. GetCubeServerNicFirewallRule[]
list of
firewallType This property is required. string
The type of firewall rules that will be allowed on the NIC
id This property is required. 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 This property is required. string[]
Collection of IP addresses assigned to a nic
ipv6CidrBlock This property is required. string
ipv6Ips This property is required. string[]
lan This property is required. number
The LAN ID the NIC will sit on
mac This property is required. string
The MAC address of the NIC
name This property is required. string
Name of an existing server that you want to search for.
pciSlot This property is required. number
The PCI slot number of the Nic
securityGroupsIds This property is required. string[]
The list of Security Group IDs for the resource.
device_number This property is required. float
The Logical Unit Number (LUN) of the storage volume
dhcp This property is required. bool
Indicates if the nic will reserve an IP using DHCP
dhcpv6 This property is required. bool
firewall_active This property is required. bool
Activate or deactivate the firewall
firewall_rules This property is required. Sequence[GetCubeServerNicFirewallRule]
list of
firewall_type This property is required. str
The type of firewall rules that will be allowed on the NIC
id This property is required. 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 This property is required. Sequence[str]
Collection of IP addresses assigned to a nic
ipv6_cidr_block This property is required. str
ipv6_ips This property is required. Sequence[str]
lan This property is required. float
The LAN ID the NIC will sit on
mac This property is required. str
The MAC address of the NIC
name This property is required. str
Name of an existing server that you want to search for.
pci_slot This property is required. float
The PCI slot number of the Nic
security_groups_ids This property is required. Sequence[str]
The list of Security Group IDs for the resource.
deviceNumber This property is required. Number
The Logical Unit Number (LUN) of the storage volume
dhcp This property is required. Boolean
Indicates if the nic will reserve an IP using DHCP
dhcpv6 This property is required. Boolean
firewallActive This property is required. Boolean
Activate or deactivate the firewall
firewallRules This property is required. List<Property Map>
list of
firewallType This property is required. String
The type of firewall rules that will be allowed on the NIC
id This property is required. 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 This property is required. List<String>
Collection of IP addresses assigned to a nic
ipv6CidrBlock This property is required. String
ipv6Ips This property is required. List<String>
lan This property is required. Number
The LAN ID the NIC will sit on
mac This property is required. String
The MAC address of the NIC
name This property is required. String
Name of an existing server that you want to search for.
pciSlot This property is required. Number
The PCI slot number of the Nic
securityGroupsIds This property is required. List<String>
The list of Security Group IDs for the resource.

GetCubeServerNicFirewallRule

IcmpCode This property is required. double
Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
IcmpType This property is required. double
Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen
Id This property is required. 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 This property is required. string
Name of an existing server that you want to search for.
PortRangeEnd This property is required. double
Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
PortRangeStart This property is required. double
Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen
Protocol This property is required. string
he protocol for the rule
SourceIp This property is required. string
Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
SourceMac This property is required. string
Only traffic originating from the respective MAC address is allowed
TargetIp This property is required. string
In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed
Type This property is required. string
The type of firewall rule
IcmpCode This property is required. float64
Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
IcmpType This property is required. float64
Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen
Id This property is required. 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 This property is required. string
Name of an existing server that you want to search for.
PortRangeEnd This property is required. float64
Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
PortRangeStart This property is required. float64
Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen
Protocol This property is required. string
he protocol for the rule
SourceIp This property is required. string
Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
SourceMac This property is required. string
Only traffic originating from the respective MAC address is allowed
TargetIp This property is required. string
In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed
Type This property is required. string
The type of firewall rule
icmpCode This property is required. Double
Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
icmpType This property is required. Double
Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen
id This property is required. 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 This property is required. String
Name of an existing server that you want to search for.
portRangeEnd This property is required. Double
Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
portRangeStart This property is required. Double
Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen
protocol This property is required. String
he protocol for the rule
sourceIp This property is required. String
Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
sourceMac This property is required. String
Only traffic originating from the respective MAC address is allowed
targetIp This property is required. String
In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed
type This property is required. String
The type of firewall rule
icmpCode This property is required. number
Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
icmpType This property is required. number
Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen
id This property is required. 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 This property is required. string
Name of an existing server that you want to search for.
portRangeEnd This property is required. number
Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
portRangeStart This property is required. number
Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen
protocol This property is required. string
he protocol for the rule
sourceIp This property is required. string
Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
sourceMac This property is required. string
Only traffic originating from the respective MAC address is allowed
targetIp This property is required. string
In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed
type This property is required. string
The type of firewall rule
icmp_code This property is required. float
Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
icmp_type This property is required. float
Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen
id This property is required. 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 This property is required. str
Name of an existing server that you want to search for.
port_range_end This property is required. float
Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
port_range_start This property is required. float
Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen
protocol This property is required. str
he protocol for the rule
source_ip This property is required. str
Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
source_mac This property is required. str
Only traffic originating from the respective MAC address is allowed
target_ip This property is required. str
In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed
type This property is required. str
The type of firewall rule
icmpCode This property is required. Number
Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
icmpType This property is required. Number
Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen
id This property is required. 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 This property is required. String
Name of an existing server that you want to search for.
portRangeEnd This property is required. Number
Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
portRangeStart This property is required. Number
Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen
protocol This property is required. String
he protocol for the rule
sourceIp This property is required. String
Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
sourceMac This property is required. String
Only traffic originating from the respective MAC address is allowed
targetIp This property is required. String
In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed
type This property is required. 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 This property is required. string
The availability zone in which the volume should exist
BackupUnitId This property is required. string
The uuid of the Backup Unit that user has access to
BootServer This property is required. string
Bus This property is required. string
The bus type of the volume
CpuHotPlug This property is required. bool
Is capable of CPU hot plug (no reboot required)
DeviceNumber This property is required. double
The Logical Unit Number (LUN) of the storage volume
DiscVirtioHotPlug This property is required. bool
Is capable of Virt-IO drive hot plug (no reboot required)
DiscVirtioHotUnplug This property is required. bool
Is capable of Virt-IO drive hot unplug (no reboot required)
Id This property is required. 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 This property is required. string
ImagePassword This property is required. string
Initial password to be set for installed OS
LicenceType This property is required. string
OS type of this volume
Name This property is required. string
Name of an existing server that you want to search for.
NicHotPlug This property is required. bool
Is capable of nic hot plug (no reboot required)
NicHotUnplug This property is required. bool
Is capable of nic hot unplug (no reboot required)
PciSlot This property is required. double
The PCI slot number of the Nic
RamHotPlug This property is required. bool
Is capable of memory hot plug (no reboot required)
SshKeys This property is required. 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 This property is required. string
The type of firewall rule
UserData This property is required. string
The cloud-init configuration for the volume as base64 encoded string
AvailabilityZone This property is required. string
The availability zone in which the volume should exist
BackupUnitId This property is required. string
The uuid of the Backup Unit that user has access to
BootServer This property is required. string
Bus This property is required. string
The bus type of the volume
CpuHotPlug This property is required. bool
Is capable of CPU hot plug (no reboot required)
DeviceNumber This property is required. float64
The Logical Unit Number (LUN) of the storage volume
DiscVirtioHotPlug This property is required. bool
Is capable of Virt-IO drive hot plug (no reboot required)
DiscVirtioHotUnplug This property is required. bool
Is capable of Virt-IO drive hot unplug (no reboot required)
Id This property is required. 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 This property is required. string
ImagePassword This property is required. string
Initial password to be set for installed OS
LicenceType This property is required. string
OS type of this volume
Name This property is required. string
Name of an existing server that you want to search for.
NicHotPlug This property is required. bool
Is capable of nic hot plug (no reboot required)
NicHotUnplug This property is required. bool
Is capable of nic hot unplug (no reboot required)
PciSlot This property is required. float64
The PCI slot number of the Nic
RamHotPlug This property is required. bool
Is capable of memory hot plug (no reboot required)
SshKeys This property is required. []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 This property is required. string
The type of firewall rule
UserData This property is required. string
The cloud-init configuration for the volume as base64 encoded string
availabilityZone This property is required. String
The availability zone in which the volume should exist
backupUnitId This property is required. String
The uuid of the Backup Unit that user has access to
bootServer This property is required. String
bus This property is required. String
The bus type of the volume
cpuHotPlug This property is required. Boolean
Is capable of CPU hot plug (no reboot required)
deviceNumber This property is required. Double
The Logical Unit Number (LUN) of the storage volume
discVirtioHotPlug This property is required. Boolean
Is capable of Virt-IO drive hot plug (no reboot required)
discVirtioHotUnplug This property is required. Boolean
Is capable of Virt-IO drive hot unplug (no reboot required)
id This property is required. 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 This property is required. String
imagePassword This property is required. String
Initial password to be set for installed OS
licenceType This property is required. String
OS type of this volume
name This property is required. String
Name of an existing server that you want to search for.
nicHotPlug This property is required. Boolean
Is capable of nic hot plug (no reboot required)
nicHotUnplug This property is required. Boolean
Is capable of nic hot unplug (no reboot required)
pciSlot This property is required. Double
The PCI slot number of the Nic
ramHotPlug This property is required. Boolean
Is capable of memory hot plug (no reboot required)
sshKeys This property is required. 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 This property is required. String
The type of firewall rule
userData This property is required. String
The cloud-init configuration for the volume as base64 encoded string
availabilityZone This property is required. string
The availability zone in which the volume should exist
backupUnitId This property is required. string
The uuid of the Backup Unit that user has access to
bootServer This property is required. string
bus This property is required. string
The bus type of the volume
cpuHotPlug This property is required. boolean
Is capable of CPU hot plug (no reboot required)
deviceNumber This property is required. number
The Logical Unit Number (LUN) of the storage volume
discVirtioHotPlug This property is required. boolean
Is capable of Virt-IO drive hot plug (no reboot required)
discVirtioHotUnplug This property is required. boolean
Is capable of Virt-IO drive hot unplug (no reboot required)
id This property is required. 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 This property is required. string
imagePassword This property is required. string
Initial password to be set for installed OS
licenceType This property is required. string
OS type of this volume
name This property is required. string
Name of an existing server that you want to search for.
nicHotPlug This property is required. boolean
Is capable of nic hot plug (no reboot required)
nicHotUnplug This property is required. boolean
Is capable of nic hot unplug (no reboot required)
pciSlot This property is required. number
The PCI slot number of the Nic
ramHotPlug This property is required. boolean
Is capable of memory hot plug (no reboot required)
sshKeys This property is required. 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 This property is required. string
The type of firewall rule
userData This property is required. string
The cloud-init configuration for the volume as base64 encoded string
availability_zone This property is required. str
The availability zone in which the volume should exist
backup_unit_id This property is required. str
The uuid of the Backup Unit that user has access to
boot_server This property is required. str
bus This property is required. str
The bus type of the volume
cpu_hot_plug This property is required. bool
Is capable of CPU hot plug (no reboot required)
device_number This property is required. float
The Logical Unit Number (LUN) of the storage volume
disc_virtio_hot_plug This property is required. bool
Is capable of Virt-IO drive hot plug (no reboot required)
disc_virtio_hot_unplug This property is required. bool
Is capable of Virt-IO drive hot unplug (no reboot required)
id This property is required. 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 This property is required. str
image_password This property is required. str
Initial password to be set for installed OS
licence_type This property is required. str
OS type of this volume
name This property is required. str
Name of an existing server that you want to search for.
nic_hot_plug This property is required. bool
Is capable of nic hot plug (no reboot required)
nic_hot_unplug This property is required. bool
Is capable of nic hot unplug (no reboot required)
pci_slot This property is required. float
The PCI slot number of the Nic
ram_hot_plug This property is required. bool
Is capable of memory hot plug (no reboot required)
ssh_keys This property is required. 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 This property is required. str
The type of firewall rule
user_data This property is required. str
The cloud-init configuration for the volume as base64 encoded string
availabilityZone This property is required. String
The availability zone in which the volume should exist
backupUnitId This property is required. String
The uuid of the Backup Unit that user has access to
bootServer This property is required. String
bus This property is required. String
The bus type of the volume
cpuHotPlug This property is required. Boolean
Is capable of CPU hot plug (no reboot required)
deviceNumber This property is required. Number
The Logical Unit Number (LUN) of the storage volume
discVirtioHotPlug This property is required. Boolean
Is capable of Virt-IO drive hot plug (no reboot required)
discVirtioHotUnplug This property is required. Boolean
Is capable of Virt-IO drive hot unplug (no reboot required)
id This property is required. 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 This property is required. String
imagePassword This property is required. String
Initial password to be set for installed OS
licenceType This property is required. String
OS type of this volume
name This property is required. String
Name of an existing server that you want to search for.
nicHotPlug This property is required. Boolean
Is capable of nic hot plug (no reboot required)
nicHotUnplug This property is required. Boolean
Is capable of nic hot unplug (no reboot required)
pciSlot This property is required. Number
The PCI slot number of the Nic
ramHotPlug This property is required. Boolean
Is capable of memory hot plug (no reboot required)
sshKeys This property is required. 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 This property is required. String
The type of firewall rule
userData This property is required. 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.