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",
});
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:
- Datacenter
Id string - Datacenter's UUID.
- Id string
ID of the server you want to search for.
datacenter_id
and eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- Name string
- Name of an existing server that you want to search for.
- Template
Uuid 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
Get
Cube Server Timeouts
- Datacenter
Id string - Datacenter's UUID.
- Id string
ID of the server you want to search for.
datacenter_id
and eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- Name string
- Name of an existing server that you want to search for.
- Template
Uuid 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
Get
Cube Server Timeouts
- datacenter
Id String - Datacenter's UUID.
- id String
ID of the server you want to search for.
datacenter_id
and eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- name String
- Name of an existing server that you want to search for.
- template
Uuid 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
Get
Cube Server Timeouts
- datacenter
Id string - Datacenter's UUID.
- id string
ID of the server you want to search for.
datacenter_id
and eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- name string
- Name of an existing server that you want to search for.
- template
Uuid 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
Get
Cube Server Timeouts
- datacenter_
id str - Datacenter's UUID.
- id str
ID of the server you want to search for.
datacenter_id
and eithername
orid
must be provided. If none, or both ofname
andid
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
Get
Cube Server Timeouts
- datacenter
Id String - Datacenter's UUID.
- id String
ID of the server you want to search for.
datacenter_id
and eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- name String
- Name of an existing server that you want to search for.
- template
Uuid 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:
- Availability
Zone string - The availability zone in which the volume should exist
- Boot
Cdrom string - Boot
Image string - Boot
Volume string - Cdroms
List<Get
Cube Server Cdrom> - list of
- Cores double
- Cpu
Family string - Datacenter
Id 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<Get
Cube Server Nic> - list of
- Ram double
- Security
Groups List<string>Ids - The list of Security Group IDs for the resource.
- Token string
- Vm
State string - Status of the virtual Machine
- Volumes
List<Get
Cube Server Volume> - list of
- Template
Uuid 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
Get
Cube Server Timeouts
- Availability
Zone string - The availability zone in which the volume should exist
- Boot
Cdrom string - Boot
Image string - Boot
Volume string - Cdroms
[]Get
Cube Server Cdrom - list of
- Cores float64
- Cpu
Family string - Datacenter
Id 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
[]Get
Cube Server Nic - list of
- Ram float64
- Security
Groups []stringIds - The list of Security Group IDs for the resource.
- Token string
- Vm
State string - Status of the virtual Machine
- Volumes
[]Get
Cube Server Volume - list of
- Template
Uuid 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
Get
Cube Server Timeouts
- availability
Zone String - The availability zone in which the volume should exist
- boot
Cdrom String - boot
Image String - boot
Volume String - cdroms
List<Get
Cube Server Cdrom> - list of
- cores Double
- cpu
Family String - datacenter
Id 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<Get
Cube Server Nic> - list of
- ram Double
- security
Groups List<String>Ids - The list of Security Group IDs for the resource.
- token String
- vm
State String - Status of the virtual Machine
- volumes
List<Get
Cube Server Volume> - list of
- template
Uuid 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
Get
Cube Server Timeouts
- availability
Zone string - The availability zone in which the volume should exist
- boot
Cdrom string - boot
Image string - boot
Volume string - cdroms
Get
Cube Server Cdrom[] - list of
- cores number
- cpu
Family string - datacenter
Id 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
Get
Cube Server Nic[] - list of
- ram number
- security
Groups string[]Ids - The list of Security Group IDs for the resource.
- token string
- vm
State string - Status of the virtual Machine
- volumes
Get
Cube Server Volume[] - list of
- template
Uuid 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
Get
Cube Server Timeouts
- availability_
zone str - The availability zone in which the volume should exist
- boot_
cdrom str - boot_
image str - boot_
volume str - cdroms
Sequence[Get
Cube Server Cdrom] - 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[Get
Cube Server Nic] - list of
- ram float
- security_
groups_ Sequence[str]ids - The list of Security Group IDs for the resource.
- token str
- vm_
state str - Status of the virtual Machine
- volumes
Sequence[Get
Cube Server Volume] - 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
Get
Cube Server Timeouts
- availability
Zone String - The availability zone in which the volume should exist
- boot
Cdrom String - boot
Image String - boot
Volume String - cdroms List<Property Map>
- list of
- cores Number
- cpu
Family String - datacenter
Id 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
- security
Groups List<String>Ids - The list of Security Group IDs for the resource.
- token String
- vm
State String - Status of the virtual Machine
- volumes List<Property Map>
- list of
- template
Uuid 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
- Cloud
Init string - Cloud init compatibility
- Cpu
Hot boolPlug - Is capable of CPU hot plug (no reboot required)
- Cpu
Hot boolUnplug - Is capable of CPU hot unplug (no reboot required)
- Description string
- Description of cdrom
- Disc
Scsi boolHot Plug - Is capable of SCSI drive hot plug (no reboot required)
- Disc
Scsi boolHot Unplug - Is capable of SCSI drive hot unplug (no reboot required)
- Disc
Virtio boolHot Plug - Is capable of Virt-IO drive hot plug (no reboot required)
- Disc
Virtio boolHot Unplug - 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- Image
Aliases List<string> - List of image aliases mapped for this Image
- Image
Type string - Type of image
- Licence
Type 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.
- Nic
Hot boolPlug - Is capable of nic hot plug (no reboot required)
- Nic
Hot boolUnplug - 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 boolPlug - Is capable of memory hot plug (no reboot required)
- Ram
Hot boolUnplug - Is capable of memory hot unplug (no reboot required)
- Size double
- The size of the image in GB
- Cloud
Init string - Cloud init compatibility
- Cpu
Hot boolPlug - Is capable of CPU hot plug (no reboot required)
- Cpu
Hot boolUnplug - Is capable of CPU hot unplug (no reboot required)
- Description string
- Description of cdrom
- Disc
Scsi boolHot Plug - Is capable of SCSI drive hot plug (no reboot required)
- Disc
Scsi boolHot Unplug - Is capable of SCSI drive hot unplug (no reboot required)
- Disc
Virtio boolHot Plug - Is capable of Virt-IO drive hot plug (no reboot required)
- Disc
Virtio boolHot Unplug - 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- Image
Aliases []string - List of image aliases mapped for this Image
- Image
Type string - Type of image
- Licence
Type 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.
- Nic
Hot boolPlug - Is capable of nic hot plug (no reboot required)
- Nic
Hot boolUnplug - 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 boolPlug - Is capable of memory hot plug (no reboot required)
- Ram
Hot boolUnplug - Is capable of memory hot unplug (no reboot required)
- Size float64
- The size of the image in GB
- cloud
Init String - Cloud init compatibility
- cpu
Hot BooleanPlug - Is capable of CPU hot plug (no reboot required)
- cpu
Hot BooleanUnplug - Is capable of CPU hot unplug (no reboot required)
- description String
- Description of cdrom
- disc
Scsi BooleanHot Plug - Is capable of SCSI drive hot plug (no reboot required)
- disc
Scsi BooleanHot Unplug - Is capable of SCSI drive hot unplug (no reboot required)
- disc
Virtio BooleanHot Plug - Is capable of Virt-IO drive hot plug (no reboot required)
- disc
Virtio BooleanHot Unplug - 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- image
Aliases List<String> - List of image aliases mapped for this Image
- image
Type String - Type of image
- licence
Type 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.
- nic
Hot BooleanPlug - Is capable of nic hot plug (no reboot required)
- nic
Hot BooleanUnplug - Is capable of nic hot unplug (no reboot required)
- public_ Boolean
- Indicates if the image is part of the public repository or not
- ram
Hot BooleanPlug - Is capable of memory hot plug (no reboot required)
- ram
Hot BooleanUnplug - Is capable of memory hot unplug (no reboot required)
- size Double
- The size of the image in GB
- cloud
Init string - Cloud init compatibility
- cpu
Hot booleanPlug - Is capable of CPU hot plug (no reboot required)
- cpu
Hot booleanUnplug - Is capable of CPU hot unplug (no reboot required)
- description string
- Description of cdrom
- disc
Scsi booleanHot Plug - Is capable of SCSI drive hot plug (no reboot required)
- disc
Scsi booleanHot Unplug - Is capable of SCSI drive hot unplug (no reboot required)
- disc
Virtio booleanHot Plug - Is capable of Virt-IO drive hot plug (no reboot required)
- disc
Virtio booleanHot Unplug - 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- image
Aliases string[] - List of image aliases mapped for this Image
- image
Type string - Type of image
- licence
Type 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.
- nic
Hot booleanPlug - Is capable of nic hot plug (no reboot required)
- nic
Hot booleanUnplug - Is capable of nic hot unplug (no reboot required)
- public boolean
- Indicates if the image is part of the public repository or not
- ram
Hot booleanPlug - Is capable of memory hot plug (no reboot required)
- ram
Hot booleanUnplug - 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_ boolplug - Is capable of CPU hot plug (no reboot required)
- cpu_
hot_ boolunplug - Is capable of CPU hot unplug (no reboot required)
- description str
- Description of cdrom
- disc_
scsi_ boolhot_ plug - Is capable of SCSI drive hot plug (no reboot required)
- disc_
scsi_ boolhot_ unplug - Is capable of SCSI drive hot unplug (no reboot required)
- disc_
virtio_ boolhot_ plug - Is capable of Virt-IO drive hot plug (no reboot required)
- disc_
virtio_ boolhot_ unplug - 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 eithername
orid
must be provided. If none, or both ofname
andid
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_ boolplug - Is capable of nic hot plug (no reboot required)
- nic_
hot_ boolunplug - 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_ boolplug - Is capable of memory hot plug (no reboot required)
- ram_
hot_ boolunplug - Is capable of memory hot unplug (no reboot required)
- size float
- The size of the image in GB
- cloud
Init String - Cloud init compatibility
- cpu
Hot BooleanPlug - Is capable of CPU hot plug (no reboot required)
- cpu
Hot BooleanUnplug - Is capable of CPU hot unplug (no reboot required)
- description String
- Description of cdrom
- disc
Scsi BooleanHot Plug - Is capable of SCSI drive hot plug (no reboot required)
- disc
Scsi BooleanHot Unplug - Is capable of SCSI drive hot unplug (no reboot required)
- disc
Virtio BooleanHot Plug - Is capable of Virt-IO drive hot plug (no reboot required)
- disc
Virtio BooleanHot Unplug - 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- image
Aliases List<String> - List of image aliases mapped for this Image
- image
Type String - Type of image
- licence
Type 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.
- nic
Hot BooleanPlug - Is capable of nic hot plug (no reboot required)
- nic
Hot BooleanUnplug - Is capable of nic hot unplug (no reboot required)
- public Boolean
- Indicates if the image is part of the public repository or not
- ram
Hot BooleanPlug - Is capable of memory hot plug (no reboot required)
- ram
Hot BooleanUnplug - Is capable of memory hot unplug (no reboot required)
- size Number
- The size of the image in GB
GetCubeServerNic
- Device
Number double - 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 List<GetCube Server Nic Firewall Rule> - list of
- Firewall
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- Ips List<string>
- Collection of IP addresses assigned to a nic
- Ipv6Cidr
Block 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.
- Pci
Slot double - The PCI slot number of the Nic
- Security
Groups List<string>Ids - The list of Security Group IDs for the resource.
- Device
Number float64 - 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 []GetCube Server Nic Firewall Rule - list of
- Firewall
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- Ips []string
- Collection of IP addresses assigned to a nic
- Ipv6Cidr
Block 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.
- Pci
Slot float64 - The PCI slot number of the Nic
- Security
Groups []stringIds - The list of Security Group IDs for the resource.
- device
Number Double - The Logical Unit Number (LUN) of the storage volume
- dhcp Boolean
- Indicates if the nic will reserve an IP using DHCP
- dhcpv6 Boolean
- firewall
Active Boolean - Activate or deactivate the firewall
- firewall
Rules List<GetCube Server Nic Firewall Rule> - list of
- firewall
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- ips List<String>
- Collection of IP addresses assigned to a nic
- ipv6Cidr
Block 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.
- pci
Slot Double - The PCI slot number of the Nic
- security
Groups List<String>Ids - The list of Security Group IDs for the resource.
- device
Number number - The Logical Unit Number (LUN) of the storage volume
- dhcp boolean
- Indicates if the nic will reserve an IP using DHCP
- dhcpv6 boolean
- firewall
Active boolean - Activate or deactivate the firewall
- firewall
Rules GetCube Server Nic Firewall Rule[] - list of
- firewall
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- ips string[]
- Collection of IP addresses assigned to a nic
- ipv6Cidr
Block 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.
- pci
Slot number - The PCI slot number of the Nic
- security
Groups string[]Ids - 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[GetCube Server Nic Firewall Rule] - 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- ips Sequence[str]
- Collection of IP addresses assigned to a nic
- ipv6_
cidr_ strblock - 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_ Sequence[str]ids - The list of Security Group IDs for the resource.
- device
Number Number - The Logical Unit Number (LUN) of the storage volume
- dhcp Boolean
- Indicates if the nic will reserve an IP using DHCP
- dhcpv6 Boolean
- firewall
Active Boolean - Activate or deactivate the firewall
- firewall
Rules List<Property Map> - list of
- firewall
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- ips List<String>
- Collection of IP addresses assigned to a nic
- ipv6Cidr
Block 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.
- pci
Slot Number - The PCI slot number of the Nic
- security
Groups List<String>Ids - The list of Security Group IDs for the resource.
GetCubeServerNicFirewallRule
- Icmp
Code double - Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
- Icmp
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- Name string
- Name of an existing server that you want to search for.
- Port
Range doubleEnd - Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
- Port
Range doubleStart - 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
- Source
Ip string - Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
- Source
Mac string - Only traffic originating from the respective MAC address is allowed
- Target
Ip 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 float64 - Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
- Icmp
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- Name string
- Name of an existing server that you want to search for.
- Port
Range float64End - Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
- Port
Range float64Start - 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
- Source
Ip string - Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
- Source
Mac string - Only traffic originating from the respective MAC address is allowed
- Target
Ip 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 Double - Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
- icmp
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- name String
- Name of an existing server that you want to search for.
- port
Range DoubleEnd - Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
- port
Range DoubleStart - 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
- source
Ip String - Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
- source
Mac String - Only traffic originating from the respective MAC address is allowed
- target
Ip 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 number - Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
- icmp
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- name string
- Name of an existing server that you want to search for.
- port
Range numberEnd - Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
- port
Range numberStart - 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
- source
Ip string - Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
- source
Mac string - Only traffic originating from the respective MAC address is allowed
- target
Ip 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- name str
- Name of an existing server that you want to search for.
- port_
range_ floatend - Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
- port_
range_ floatstart - 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
- icmp
Code Number - Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
- icmp
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- name String
- Name of an existing server that you want to search for.
- port
Range NumberEnd - Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen
- port
Range NumberStart - 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
- source
Ip String - Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
- source
Mac String - Only traffic originating from the respective MAC address is allowed
- target
Ip 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
GetCubeServerVolume
- Availability
Zone string - The availability zone in which the volume should exist
- Backup
Unit stringId - The uuid of the Backup Unit that user has access to
- Boot
Server string - Bus string
- The bus type of the volume
- Cpu
Hot boolPlug - Is capable of CPU hot plug (no reboot required)
- Device
Number double - The Logical Unit Number (LUN) of the storage volume
- Disc
Virtio boolHot Plug - Is capable of Virt-IO drive hot plug (no reboot required)
- Disc
Virtio boolHot Unplug - 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- Image
Name string - Image
Password string - Initial password to be set for installed OS
- Licence
Type string - OS type of this volume
- Name string
- Name of an existing server that you want to search for.
- Nic
Hot boolPlug - Is capable of nic hot plug (no reboot required)
- Nic
Hot boolUnplug - Is capable of nic hot unplug (no reboot required)
- Pci
Slot double - The PCI slot number of the Nic
- Ram
Hot boolPlug - Is capable of memory hot plug (no reboot required)
- Ssh
Keys 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
- User
Data string - The cloud-init configuration for the volume as base64 encoded string
- Availability
Zone string - The availability zone in which the volume should exist
- Backup
Unit stringId - The uuid of the Backup Unit that user has access to
- Boot
Server string - Bus string
- The bus type of the volume
- Cpu
Hot boolPlug - Is capable of CPU hot plug (no reboot required)
- Device
Number float64 - The Logical Unit Number (LUN) of the storage volume
- Disc
Virtio boolHot Plug - Is capable of Virt-IO drive hot plug (no reboot required)
- Disc
Virtio boolHot Unplug - 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- Image
Name string - Image
Password string - Initial password to be set for installed OS
- Licence
Type string - OS type of this volume
- Name string
- Name of an existing server that you want to search for.
- Nic
Hot boolPlug - Is capable of nic hot plug (no reboot required)
- Nic
Hot boolUnplug - Is capable of nic hot unplug (no reboot required)
- Pci
Slot float64 - The PCI slot number of the Nic
- Ram
Hot boolPlug - Is capable of memory hot plug (no reboot required)
- Ssh
Keys []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
- User
Data string - The cloud-init configuration for the volume as base64 encoded string
- availability
Zone String - The availability zone in which the volume should exist
- backup
Unit StringId - The uuid of the Backup Unit that user has access to
- boot
Server String - bus String
- The bus type of the volume
- cpu
Hot BooleanPlug - Is capable of CPU hot plug (no reboot required)
- device
Number Double - The Logical Unit Number (LUN) of the storage volume
- disc
Virtio BooleanHot Plug - Is capable of Virt-IO drive hot plug (no reboot required)
- disc
Virtio BooleanHot Unplug - 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- image
Name String - image
Password String - Initial password to be set for installed OS
- licence
Type String - OS type of this volume
- name String
- Name of an existing server that you want to search for.
- nic
Hot BooleanPlug - Is capable of nic hot plug (no reboot required)
- nic
Hot BooleanUnplug - Is capable of nic hot unplug (no reboot required)
- pci
Slot Double - The PCI slot number of the Nic
- ram
Hot BooleanPlug - Is capable of memory hot plug (no reboot required)
- ssh
Keys 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
- user
Data String - The cloud-init configuration for the volume as base64 encoded string
- availability
Zone string - The availability zone in which the volume should exist
- backup
Unit stringId - The uuid of the Backup Unit that user has access to
- boot
Server string - bus string
- The bus type of the volume
- cpu
Hot booleanPlug - Is capable of CPU hot plug (no reboot required)
- device
Number number - The Logical Unit Number (LUN) of the storage volume
- disc
Virtio booleanHot Plug - Is capable of Virt-IO drive hot plug (no reboot required)
- disc
Virtio booleanHot Unplug - 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- image
Name string - image
Password string - Initial password to be set for installed OS
- licence
Type string - OS type of this volume
- name string
- Name of an existing server that you want to search for.
- nic
Hot booleanPlug - Is capable of nic hot plug (no reboot required)
- nic
Hot booleanUnplug - Is capable of nic hot unplug (no reboot required)
- pci
Slot number - The PCI slot number of the Nic
- ram
Hot booleanPlug - Is capable of memory hot plug (no reboot required)
- ssh
Keys 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
- user
Data 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_ strid - The uuid of the Backup Unit that user has access to
- boot_
server str - bus str
- The bus type of the volume
- cpu_
hot_ boolplug - Is capable of CPU hot plug (no reboot required)
- device_
number float - The Logical Unit Number (LUN) of the storage volume
- disc_
virtio_ boolhot_ plug - Is capable of Virt-IO drive hot plug (no reboot required)
- disc_
virtio_ boolhot_ unplug - 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 eithername
orid
must be provided. If none, or both ofname
andid
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_ boolplug - Is capable of nic hot plug (no reboot required)
- nic_
hot_ boolunplug - Is capable of nic hot unplug (no reboot required)
- pci_
slot float - The PCI slot number of the Nic
- ram_
hot_ boolplug - 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
- availability
Zone String - The availability zone in which the volume should exist
- backup
Unit StringId - The uuid of the Backup Unit that user has access to
- boot
Server String - bus String
- The bus type of the volume
- cpu
Hot BooleanPlug - Is capable of CPU hot plug (no reboot required)
- device
Number Number - The Logical Unit Number (LUN) of the storage volume
- disc
Virtio BooleanHot Plug - Is capable of Virt-IO drive hot plug (no reboot required)
- disc
Virtio BooleanHot Unplug - 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- image
Name String - image
Password String - Initial password to be set for installed OS
- licence
Type String - OS type of this volume
- name String
- Name of an existing server that you want to search for.
- nic
Hot BooleanPlug - Is capable of nic hot plug (no reboot required)
- nic
Hot BooleanUnplug - Is capable of nic hot unplug (no reboot required)
- pci
Slot Number - The PCI slot number of the Nic
- ram
Hot BooleanPlug - Is capable of memory hot plug (no reboot required)
- ssh
Keys 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
- user
Data 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.