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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string - 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. string - 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. 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 This property is required. List<string> - List of image aliases mapped for this Image
- Image
Type This property is required. string - Type of image
- Licence
Type 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.
- 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. double - The size of the image in GB
- Cloud
Init This property is required. string - 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. string - 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. 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 This property is required. []string - List of image aliases mapped for this Image
- Image
Type This property is required. string - Type of image
- Licence
Type 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.
- 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. float64 - The size of the image in GB
- cloud
Init This property is required. String - Cloud init compatibility
- cpu
Hot Plug This property is required. Boolean - Is capable of CPU hot plug (no reboot required)
- cpu
Hot Unplug This property is required. Boolean - Is capable of CPU hot unplug (no reboot required)
- description
This property is required. String - Description of cdrom
- disc
Scsi Hot Plug This property is required. Boolean - Is capable of SCSI drive hot plug (no reboot required)
- disc
Scsi Hot Unplug This property is required. Boolean - Is capable of SCSI drive hot unplug (no reboot required)
- disc
Virtio Hot Plug This property is required. Boolean - Is capable of Virt-IO drive hot plug (no reboot required)
- disc
Virtio Hot Unplug 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- image
Aliases This property is required. List<String> - List of image aliases mapped for this Image
- image
Type This property is required. String - Type of image
- licence
Type 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.
- nic
Hot Plug This property is required. Boolean - Is capable of nic hot plug (no reboot required)
- nic
Hot Unplug 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
- ram
Hot Plug This property is required. Boolean - Is capable of memory hot plug (no reboot required)
- ram
Hot Unplug 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
- cloud
Init This property is required. string - Cloud init compatibility
- cpu
Hot Plug This property is required. boolean - Is capable of CPU hot plug (no reboot required)
- cpu
Hot Unplug This property is required. boolean - Is capable of CPU hot unplug (no reboot required)
- description
This property is required. string - Description of cdrom
- disc
Scsi Hot Plug This property is required. boolean - Is capable of SCSI drive hot plug (no reboot required)
- disc
Scsi Hot Unplug This property is required. boolean - Is capable of SCSI drive hot unplug (no reboot required)
- disc
Virtio Hot Plug This property is required. boolean - Is capable of Virt-IO drive hot plug (no reboot required)
- disc
Virtio Hot Unplug 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- image
Aliases This property is required. string[] - List of image aliases mapped for this Image
- image
Type This property is required. string - Type of image
- licence
Type 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.
- nic
Hot Plug This property is required. boolean - Is capable of nic hot plug (no reboot required)
- nic
Hot Unplug 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
- ram
Hot Plug This property is required. boolean - Is capable of memory hot plug (no reboot required)
- ram
Hot Unplug 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 eithername
orid
must be provided. If none, or both ofname
andid
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
- cloud
Init This property is required. String - Cloud init compatibility
- cpu
Hot Plug This property is required. Boolean - Is capable of CPU hot plug (no reboot required)
- cpu
Hot Unplug This property is required. Boolean - Is capable of CPU hot unplug (no reboot required)
- description
This property is required. String - Description of cdrom
- disc
Scsi Hot Plug This property is required. Boolean - Is capable of SCSI drive hot plug (no reboot required)
- disc
Scsi Hot Unplug This property is required. Boolean - Is capable of SCSI drive hot unplug (no reboot required)
- disc
Virtio Hot Plug This property is required. Boolean - Is capable of Virt-IO drive hot plug (no reboot required)
- disc
Virtio Hot Unplug 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- image
Aliases This property is required. List<String> - List of image aliases mapped for this Image
- image
Type This property is required. String - Type of image
- licence
Type 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.
- nic
Hot Plug This property is required. Boolean - Is capable of nic hot plug (no reboot required)
- nic
Hot Unplug 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
- ram
Hot Plug This property is required. Boolean - Is capable of memory hot plug (no reboot required)
- ram
Hot Unplug 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
- Device
Number 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 - Firewall
Active This property is required. bool - Activate or deactivate the firewall
- Firewall
Rules This property is required. List<GetCube Server Nic Firewall Rule> - list of
- Firewall
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- Ips
This property is required. List<string> - Collection of IP addresses assigned to a nic
- Ipv6Cidr
Block 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.
- Pci
Slot This property is required. double - The PCI slot number of the Nic
- Security
Groups Ids This property is required. List<string> - The list of Security Group IDs for the resource.
- Device
Number 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 - Firewall
Active This property is required. bool - Activate or deactivate the firewall
- Firewall
Rules This property is required. []GetCube Server Nic Firewall Rule - list of
- Firewall
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- Ips
This property is required. []string - Collection of IP addresses assigned to a nic
- Ipv6Cidr
Block 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.
- Pci
Slot This property is required. float64 - The PCI slot number of the Nic
- Security
Groups Ids This property is required. []string - The list of Security Group IDs for the resource.
- device
Number 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 - firewall
Active This property is required. Boolean - Activate or deactivate the firewall
- firewall
Rules This property is required. List<GetCube Server Nic Firewall Rule> - list of
- firewall
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- ips
This property is required. List<String> - Collection of IP addresses assigned to a nic
- ipv6Cidr
Block 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.
- pci
Slot This property is required. Double - The PCI slot number of the Nic
- security
Groups Ids This property is required. List<String> - The list of Security Group IDs for the resource.
- device
Number 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 - firewall
Active This property is required. boolean - Activate or deactivate the firewall
- firewall
Rules This property is required. GetCube Server Nic Firewall Rule[] - list of
- firewall
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- ips
This property is required. string[] - Collection of IP addresses assigned to a nic
- ipv6Cidr
Block 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.
- pci
Slot This property is required. number - The PCI slot number of the Nic
- security
Groups Ids 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[GetCube Server Nic Firewall Rule] - 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 eithername
orid
must be provided. If none, or both ofname
andid
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.
- device
Number 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 - firewall
Active This property is required. Boolean - Activate or deactivate the firewall
- firewall
Rules This property is required. List<Property Map> - list of
- firewall
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- ips
This property is required. List<String> - Collection of IP addresses assigned to a nic
- ipv6Cidr
Block 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.
- pci
Slot This property is required. Number - The PCI slot number of the Nic
- security
Groups Ids This property is required. List<String> - The list of Security Group IDs for the resource.
GetCubeServerNicFirewallRule
- Icmp
Code This property is required. double - Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
- Icmp
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
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.
- Port
Range End 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
- Port
Range Start 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
- Source
Ip This property is required. string - Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
- Source
Mac This property is required. string - Only traffic originating from the respective MAC address is allowed
- Target
Ip 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. float64 - Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
- Icmp
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
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.
- Port
Range End 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
- Port
Range Start 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
- Source
Ip This property is required. string - Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
- Source
Mac This property is required. string - Only traffic originating from the respective MAC address is allowed
- Target
Ip 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. Double - Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
- icmp
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
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.
- port
Range End 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
- port
Range Start 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
- source
Ip This property is required. String - Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
- source
Mac This property is required. String - Only traffic originating from the respective MAC address is allowed
- target
Ip 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. number - Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
- icmp
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
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.
- port
Range End 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
- port
Range Start 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
- source
Ip This property is required. string - Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
- source
Mac This property is required. string - Only traffic originating from the respective MAC address is allowed
- target
Ip 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 eithername
orid
must be provided. If none, or both ofname
andid
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
- icmp
Code This property is required. Number - Defines the allowed code (from 0 to 254) if protocol ICMP is chosen
- icmp
Type 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 eithername
orid
must be provided. If none, or both ofname
andid
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.
- port
Range End 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
- port
Range Start 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
- source
Ip This property is required. String - Only traffic originating from the respective IPv4 address is allowed. Value null allows all source IPs
- source
Mac This property is required. String - Only traffic originating from the respective MAC address is allowed
- target
Ip 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
GetCubeServerVolume
- Availability
Zone This property is required. string - The availability zone in which the volume should exist
- Backup
Unit Id This property is required. string - The uuid of the Backup Unit that user has access to
- Boot
Server This property is required. string - Bus
This property is required. string - 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. double - 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. 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 This property is required. string - Image
Password This property is required. string - Initial password to be set for installed OS
- Licence
Type 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.
- 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. double - 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. 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
- User
Data This property is required. string - The cloud-init configuration for the volume as base64 encoded string
- Availability
Zone This property is required. string - The availability zone in which the volume should exist
- Backup
Unit Id This property is required. string - The uuid of the Backup Unit that user has access to
- Boot
Server This property is required. string - Bus
This property is required. string - 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. float64 - 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. 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 This property is required. string - Image
Password This property is required. string - Initial password to be set for installed OS
- Licence
Type 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.
- 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. float64 - 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. []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
- User
Data This property is required. string - The cloud-init configuration for the volume as base64 encoded string
- availability
Zone This property is required. String - The availability zone in which the volume should exist
- backup
Unit Id This property is required. String - The uuid of the Backup Unit that user has access to
- boot
Server This property is required. String - bus
This property is required. String - The bus type of the volume
- cpu
Hot Plug This property is required. Boolean - Is capable of CPU hot plug (no reboot required)
- device
Number This property is required. Double - The Logical Unit Number (LUN) of the storage volume
- disc
Virtio Hot Plug This property is required. Boolean - Is capable of Virt-IO drive hot plug (no reboot required)
- disc
Virtio Hot Unplug 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- image
Name This property is required. String - image
Password This property is required. String - Initial password to be set for installed OS
- licence
Type 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.
- nic
Hot Plug This property is required. Boolean - Is capable of nic hot plug (no reboot required)
- nic
Hot Unplug This property is required. Boolean - Is capable of nic hot unplug (no reboot required)
- pci
Slot This property is required. Double - The PCI slot number of the Nic
- ram
Hot Plug This property is required. Boolean - Is capable of memory hot plug (no reboot required)
- ssh
Keys 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
- user
Data This property is required. String - The cloud-init configuration for the volume as base64 encoded string
- availability
Zone This property is required. string - The availability zone in which the volume should exist
- backup
Unit Id This property is required. string - The uuid of the Backup Unit that user has access to
- boot
Server This property is required. string - bus
This property is required. string - The bus type of the volume
- cpu
Hot Plug This property is required. boolean - Is capable of CPU hot plug (no reboot required)
- device
Number This property is required. number - The Logical Unit Number (LUN) of the storage volume
- disc
Virtio Hot Plug This property is required. boolean - Is capable of Virt-IO drive hot plug (no reboot required)
- disc
Virtio Hot Unplug 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- image
Name This property is required. string - image
Password This property is required. string - Initial password to be set for installed OS
- licence
Type 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.
- nic
Hot Plug This property is required. boolean - Is capable of nic hot plug (no reboot required)
- nic
Hot Unplug This property is required. boolean - Is capable of nic hot unplug (no reboot required)
- pci
Slot This property is required. number - The PCI slot number of the Nic
- ram
Hot Plug This property is required. boolean - Is capable of memory hot plug (no reboot required)
- ssh
Keys 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
- user
Data 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 eithername
orid
must be provided. If none, or both ofname
andid
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
- availability
Zone This property is required. String - The availability zone in which the volume should exist
- backup
Unit Id This property is required. String - The uuid of the Backup Unit that user has access to
- boot
Server This property is required. String - bus
This property is required. String - The bus type of the volume
- cpu
Hot Plug This property is required. Boolean - Is capable of CPU hot plug (no reboot required)
- device
Number This property is required. Number - The Logical Unit Number (LUN) of the storage volume
- disc
Virtio Hot Plug This property is required. Boolean - Is capable of Virt-IO drive hot plug (no reboot required)
- disc
Virtio Hot Unplug 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 eithername
orid
must be provided. If none, or both ofname
andid
are provided, the datasource will return an error.- image
Name This property is required. String - image
Password This property is required. String - Initial password to be set for installed OS
- licence
Type 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.
- nic
Hot Plug This property is required. Boolean - Is capable of nic hot plug (no reboot required)
- nic
Hot Unplug This property is required. Boolean - Is capable of nic hot unplug (no reboot required)
- pci
Slot This property is required. Number - The PCI slot number of the Nic
- ram
Hot Plug This property is required. Boolean - Is capable of memory hot plug (no reboot required)
- ssh
Keys 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
- user
Data 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.