1. Packages
  2. Gcore Provider
  3. API Docs
  4. CloudBaremetalServer
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core

    Bare metal servers are dedicated physical machines with direct hardware access, supporting provisioning, rebuilding, and network configuration within a cloud region.

    Example Usage

    Baremetal server with one public interface

    Create a basic baremetal server with a single external IPv4 interface.

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    // Create an SSH key for baremetal server access
    const myKey = new gcore.CloudSshKey("my_key", {
        projectId: 1,
        name: "my-keypair",
        publicKey: "ssh-ed25519 ...your public key... user@example.com",
    });
    // Create a baremetal server with a single external interface
    const server = new gcore.CloudBaremetalServer("server", {
        projectId: 1,
        regionId: 1,
        flavor: "bm1-infrastructure-small",
        name: "my-bare-metal",
        imageId: "0f25a566-91a4-4507-aa42-bdd732fb998d",
        sshKeyName: myKey.name,
        interfaces: [{
            type: "external",
            ipFamily: "ipv4",
        }],
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    # Create an SSH key for baremetal server access
    my_key = gcore.CloudSshKey("my_key",
        project_id=1,
        name="my-keypair",
        public_key="ssh-ed25519 ...your public key... user@example.com")
    # Create a baremetal server with a single external interface
    server = gcore.CloudBaremetalServer("server",
        project_id=1,
        region_id=1,
        flavor="bm1-infrastructure-small",
        name="my-bare-metal",
        image_id="0f25a566-91a4-4507-aa42-bdd732fb998d",
        ssh_key_name=my_key.name,
        interfaces=[{
            "type": "external",
            "ip_family": "ipv4",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create an SSH key for baremetal server access
    		myKey, err := gcore.NewCloudSshKey(ctx, "my_key", &gcore.CloudSshKeyArgs{
    			ProjectId: pulumi.Float64(1),
    			Name:      pulumi.String("my-keypair"),
    			PublicKey: pulumi.String("ssh-ed25519 ...your public key... user@example.com"),
    		})
    		if err != nil {
    			return err
    		}
    		// Create a baremetal server with a single external interface
    		_, err = gcore.NewCloudBaremetalServer(ctx, "server", &gcore.CloudBaremetalServerArgs{
    			ProjectId:  pulumi.Float64(1),
    			RegionId:   pulumi.Float64(1),
    			Flavor:     pulumi.String("bm1-infrastructure-small"),
    			Name:       pulumi.String("my-bare-metal"),
    			ImageId:    pulumi.String("0f25a566-91a4-4507-aa42-bdd732fb998d"),
    			SshKeyName: myKey.Name,
    			Interfaces: gcore.CloudBaremetalServerInterfaceArray{
    				&gcore.CloudBaremetalServerInterfaceArgs{
    					Type:     pulumi.String("external"),
    					IpFamily: pulumi.String("ipv4"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        // Create an SSH key for baremetal server access
        var myKey = new Gcore.CloudSshKey("my_key", new()
        {
            ProjectId = 1,
            Name = "my-keypair",
            PublicKey = "ssh-ed25519 ...your public key... user@example.com",
        });
    
        // Create a baremetal server with a single external interface
        var server = new Gcore.CloudBaremetalServer("server", new()
        {
            ProjectId = 1,
            RegionId = 1,
            Flavor = "bm1-infrastructure-small",
            Name = "my-bare-metal",
            ImageId = "0f25a566-91a4-4507-aa42-bdd732fb998d",
            SshKeyName = myKey.Name,
            Interfaces = new[]
            {
                new Gcore.Inputs.CloudBaremetalServerInterfaceArgs
                {
                    Type = "external",
                    IpFamily = "ipv4",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.CloudSshKey;
    import com.pulumi.gcore.CloudSshKeyArgs;
    import com.pulumi.gcore.CloudBaremetalServer;
    import com.pulumi.gcore.CloudBaremetalServerArgs;
    import com.pulumi.gcore.inputs.CloudBaremetalServerInterfaceArgs;
    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) {
            // Create an SSH key for baremetal server access
            var myKey = new CloudSshKey("myKey", CloudSshKeyArgs.builder()
                .projectId(1.0)
                .name("my-keypair")
                .publicKey("ssh-ed25519 ...your public key... user@example.com")
                .build());
    
            // Create a baremetal server with a single external interface
            var server = new CloudBaremetalServer("server", CloudBaremetalServerArgs.builder()
                .projectId(1.0)
                .regionId(1.0)
                .flavor("bm1-infrastructure-small")
                .name("my-bare-metal")
                .imageId("0f25a566-91a4-4507-aa42-bdd732fb998d")
                .sshKeyName(myKey.name())
                .interfaces(CloudBaremetalServerInterfaceArgs.builder()
                    .type("external")
                    .ipFamily("ipv4")
                    .build())
                .build());
    
        }
    }
    
    resources:
      # Create an SSH key for baremetal server access
      myKey:
        type: gcore:CloudSshKey
        name: my_key
        properties:
          projectId: 1
          name: my-keypair
          publicKey: ssh-ed25519 ...your public key... user@example.com
      # Create a baremetal server with a single external interface
      server:
        type: gcore:CloudBaremetalServer
        properties:
          projectId: 1
          regionId: 1
          flavor: bm1-infrastructure-small
          name: my-bare-metal
          imageId: 0f25a566-91a4-4507-aa42-bdd732fb998d
          sshKeyName: ${myKey.name}
          interfaces:
            - type: external
              ipFamily: ipv4
    

    Baremetal server with two interfaces

    Create a baremetal server with two network interfaces: one public and one private.

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    // Create a private network and subnet (baremetal requires vlan, not vxlan)
    const network = new gcore.CloudNetwork("network", {
        projectId: 1,
        regionId: 1,
        name: "my-network",
        type: "vlan",
    });
    const subnet = new gcore.CloudNetworkSubnet("subnet", {
        projectId: 1,
        regionId: 1,
        name: "my-subnet",
        cidr: "192.168.10.0/24",
        networkId: network.id,
        dnsNameservers: [
            "8.8.4.4",
            "1.1.1.1",
        ],
    });
    // Create an SSH key for baremetal server access
    const myKey = new gcore.CloudSshKey("my_key", {
        projectId: 1,
        name: "my-keypair",
        publicKey: "ssh-ed25519 ...your public key... user@example.com",
    });
    // Create a baremetal server with two interfaces: one public, one private
    const serverWithTwoInterfaces = new gcore.CloudBaremetalServer("server_with_two_interfaces", {
        projectId: 1,
        regionId: 1,
        flavor: "bm1-infrastructure-small",
        name: "my-bare-metal",
        imageId: "0f25a566-91a4-4507-aa42-bdd732fb998d",
        sshKeyName: myKey.name,
        interfaces: [
            {
                type: "external",
                ipFamily: "ipv4",
            },
            {
                type: "subnet",
                networkId: network.id,
                subnetId: subnet.id,
            },
        ],
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    # Create a private network and subnet (baremetal requires vlan, not vxlan)
    network = gcore.CloudNetwork("network",
        project_id=1,
        region_id=1,
        name="my-network",
        type="vlan")
    subnet = gcore.CloudNetworkSubnet("subnet",
        project_id=1,
        region_id=1,
        name="my-subnet",
        cidr="192.168.10.0/24",
        network_id=network.id,
        dns_nameservers=[
            "8.8.4.4",
            "1.1.1.1",
        ])
    # Create an SSH key for baremetal server access
    my_key = gcore.CloudSshKey("my_key",
        project_id=1,
        name="my-keypair",
        public_key="ssh-ed25519 ...your public key... user@example.com")
    # Create a baremetal server with two interfaces: one public, one private
    server_with_two_interfaces = gcore.CloudBaremetalServer("server_with_two_interfaces",
        project_id=1,
        region_id=1,
        flavor="bm1-infrastructure-small",
        name="my-bare-metal",
        image_id="0f25a566-91a4-4507-aa42-bdd732fb998d",
        ssh_key_name=my_key.name,
        interfaces=[
            {
                "type": "external",
                "ip_family": "ipv4",
            },
            {
                "type": "subnet",
                "network_id": network.id,
                "subnet_id": subnet.id,
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create a private network and subnet (baremetal requires vlan, not vxlan)
    		network, err := gcore.NewCloudNetwork(ctx, "network", &gcore.CloudNetworkArgs{
    			ProjectId: pulumi.Float64(1),
    			RegionId:  pulumi.Float64(1),
    			Name:      pulumi.String("my-network"),
    			Type:      pulumi.String("vlan"),
    		})
    		if err != nil {
    			return err
    		}
    		subnet, err := gcore.NewCloudNetworkSubnet(ctx, "subnet", &gcore.CloudNetworkSubnetArgs{
    			ProjectId: pulumi.Float64(1),
    			RegionId:  pulumi.Float64(1),
    			Name:      pulumi.String("my-subnet"),
    			Cidr:      pulumi.String("192.168.10.0/24"),
    			NetworkId: network.ID(),
    			DnsNameservers: pulumi.StringArray{
    				pulumi.String("8.8.4.4"),
    				pulumi.String("1.1.1.1"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Create an SSH key for baremetal server access
    		myKey, err := gcore.NewCloudSshKey(ctx, "my_key", &gcore.CloudSshKeyArgs{
    			ProjectId: pulumi.Float64(1),
    			Name:      pulumi.String("my-keypair"),
    			PublicKey: pulumi.String("ssh-ed25519 ...your public key... user@example.com"),
    		})
    		if err != nil {
    			return err
    		}
    		// Create a baremetal server with two interfaces: one public, one private
    		_, err = gcore.NewCloudBaremetalServer(ctx, "server_with_two_interfaces", &gcore.CloudBaremetalServerArgs{
    			ProjectId:  pulumi.Float64(1),
    			RegionId:   pulumi.Float64(1),
    			Flavor:     pulumi.String("bm1-infrastructure-small"),
    			Name:       pulumi.String("my-bare-metal"),
    			ImageId:    pulumi.String("0f25a566-91a4-4507-aa42-bdd732fb998d"),
    			SshKeyName: myKey.Name,
    			Interfaces: gcore.CloudBaremetalServerInterfaceArray{
    				&gcore.CloudBaremetalServerInterfaceArgs{
    					Type:     pulumi.String("external"),
    					IpFamily: pulumi.String("ipv4"),
    				},
    				&gcore.CloudBaremetalServerInterfaceArgs{
    					Type:      pulumi.String("subnet"),
    					NetworkId: network.ID(),
    					SubnetId:  subnet.ID(),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        // Create a private network and subnet (baremetal requires vlan, not vxlan)
        var network = new Gcore.CloudNetwork("network", new()
        {
            ProjectId = 1,
            RegionId = 1,
            Name = "my-network",
            Type = "vlan",
        });
    
        var subnet = new Gcore.CloudNetworkSubnet("subnet", new()
        {
            ProjectId = 1,
            RegionId = 1,
            Name = "my-subnet",
            Cidr = "192.168.10.0/24",
            NetworkId = network.Id,
            DnsNameservers = new[]
            {
                "8.8.4.4",
                "1.1.1.1",
            },
        });
    
        // Create an SSH key for baremetal server access
        var myKey = new Gcore.CloudSshKey("my_key", new()
        {
            ProjectId = 1,
            Name = "my-keypair",
            PublicKey = "ssh-ed25519 ...your public key... user@example.com",
        });
    
        // Create a baremetal server with two interfaces: one public, one private
        var serverWithTwoInterfaces = new Gcore.CloudBaremetalServer("server_with_two_interfaces", new()
        {
            ProjectId = 1,
            RegionId = 1,
            Flavor = "bm1-infrastructure-small",
            Name = "my-bare-metal",
            ImageId = "0f25a566-91a4-4507-aa42-bdd732fb998d",
            SshKeyName = myKey.Name,
            Interfaces = new[]
            {
                new Gcore.Inputs.CloudBaremetalServerInterfaceArgs
                {
                    Type = "external",
                    IpFamily = "ipv4",
                },
                new Gcore.Inputs.CloudBaremetalServerInterfaceArgs
                {
                    Type = "subnet",
                    NetworkId = network.Id,
                    SubnetId = subnet.Id,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.CloudNetwork;
    import com.pulumi.gcore.CloudNetworkArgs;
    import com.pulumi.gcore.CloudNetworkSubnet;
    import com.pulumi.gcore.CloudNetworkSubnetArgs;
    import com.pulumi.gcore.CloudSshKey;
    import com.pulumi.gcore.CloudSshKeyArgs;
    import com.pulumi.gcore.CloudBaremetalServer;
    import com.pulumi.gcore.CloudBaremetalServerArgs;
    import com.pulumi.gcore.inputs.CloudBaremetalServerInterfaceArgs;
    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) {
            // Create a private network and subnet (baremetal requires vlan, not vxlan)
            var network = new CloudNetwork("network", CloudNetworkArgs.builder()
                .projectId(1.0)
                .regionId(1.0)
                .name("my-network")
                .type("vlan")
                .build());
    
            var subnet = new CloudNetworkSubnet("subnet", CloudNetworkSubnetArgs.builder()
                .projectId(1.0)
                .regionId(1.0)
                .name("my-subnet")
                .cidr("192.168.10.0/24")
                .networkId(network.id())
                .dnsNameservers(            
                    "8.8.4.4",
                    "1.1.1.1")
                .build());
    
            // Create an SSH key for baremetal server access
            var myKey = new CloudSshKey("myKey", CloudSshKeyArgs.builder()
                .projectId(1.0)
                .name("my-keypair")
                .publicKey("ssh-ed25519 ...your public key... user@example.com")
                .build());
    
            // Create a baremetal server with two interfaces: one public, one private
            var serverWithTwoInterfaces = new CloudBaremetalServer("serverWithTwoInterfaces", CloudBaremetalServerArgs.builder()
                .projectId(1.0)
                .regionId(1.0)
                .flavor("bm1-infrastructure-small")
                .name("my-bare-metal")
                .imageId("0f25a566-91a4-4507-aa42-bdd732fb998d")
                .sshKeyName(myKey.name())
                .interfaces(            
                    CloudBaremetalServerInterfaceArgs.builder()
                        .type("external")
                        .ipFamily("ipv4")
                        .build(),
                    CloudBaremetalServerInterfaceArgs.builder()
                        .type("subnet")
                        .networkId(network.id())
                        .subnetId(subnet.id())
                        .build())
                .build());
    
        }
    }
    
    resources:
      # Create a private network and subnet (baremetal requires vlan, not vxlan)
      network:
        type: gcore:CloudNetwork
        properties:
          projectId: 1
          regionId: 1
          name: my-network
          type: vlan
      subnet:
        type: gcore:CloudNetworkSubnet
        properties:
          projectId: 1
          regionId: 1
          name: my-subnet
          cidr: 192.168.10.0/24
          networkId: ${network.id}
          dnsNameservers:
            - 8.8.4.4
            - 1.1.1.1
      # Create an SSH key for baremetal server access
      myKey:
        type: gcore:CloudSshKey
        name: my_key
        properties:
          projectId: 1
          name: my-keypair
          publicKey: ssh-ed25519 ...your public key... user@example.com
      # Create a baremetal server with two interfaces: one public, one private
      serverWithTwoInterfaces:
        type: gcore:CloudBaremetalServer
        name: server_with_two_interfaces
        properties:
          projectId: 1
          regionId: 1
          flavor: bm1-infrastructure-small
          name: my-bare-metal
          imageId: 0f25a566-91a4-4507-aa42-bdd732fb998d
          sshKeyName: ${myKey.name}
          interfaces:
            - type: external
              ipFamily: ipv4
            - type: subnet
              networkId: ${network.id}
              subnetId: ${subnet.id}
    

    Windows baremetal server

    Create a Windows baremetal server with a public interface.

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    // Create a Windows baremetal server with a public interface
    const windowsServer = new gcore.CloudBaremetalServer("windows_server", {
        projectId: 1,
        regionId: 1,
        flavor: "bm1-infrastructure-small",
        name: "my-windows-bare-metal",
        imageId: "408a0e4d-6a28-4bae-93fa-f738d964f555",
        passwordWo: "my-s3cR3tP@ssw0rd",
        passwordWoVersion: 1,
        interfaces: [{
            type: "external",
            ipFamily: "ipv4",
        }],
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    # Create a Windows baremetal server with a public interface
    windows_server = gcore.CloudBaremetalServer("windows_server",
        project_id=1,
        region_id=1,
        flavor="bm1-infrastructure-small",
        name="my-windows-bare-metal",
        image_id="408a0e4d-6a28-4bae-93fa-f738d964f555",
        password_wo="my-s3cR3tP@ssw0rd",
        password_wo_version=1,
        interfaces=[{
            "type": "external",
            "ip_family": "ipv4",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create a Windows baremetal server with a public interface
    		_, err := gcore.NewCloudBaremetalServer(ctx, "windows_server", &gcore.CloudBaremetalServerArgs{
    			ProjectId:         pulumi.Float64(1),
    			RegionId:          pulumi.Float64(1),
    			Flavor:            pulumi.String("bm1-infrastructure-small"),
    			Name:              pulumi.String("my-windows-bare-metal"),
    			ImageId:           pulumi.String("408a0e4d-6a28-4bae-93fa-f738d964f555"),
    			PasswordWo:        pulumi.String("my-s3cR3tP@ssw0rd"),
    			PasswordWoVersion: pulumi.Float64(1),
    			Interfaces: gcore.CloudBaremetalServerInterfaceArray{
    				&gcore.CloudBaremetalServerInterfaceArgs{
    					Type:     pulumi.String("external"),
    					IpFamily: pulumi.String("ipv4"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        // Create a Windows baremetal server with a public interface
        var windowsServer = new Gcore.CloudBaremetalServer("windows_server", new()
        {
            ProjectId = 1,
            RegionId = 1,
            Flavor = "bm1-infrastructure-small",
            Name = "my-windows-bare-metal",
            ImageId = "408a0e4d-6a28-4bae-93fa-f738d964f555",
            PasswordWo = "my-s3cR3tP@ssw0rd",
            PasswordWoVersion = 1,
            Interfaces = new[]
            {
                new Gcore.Inputs.CloudBaremetalServerInterfaceArgs
                {
                    Type = "external",
                    IpFamily = "ipv4",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.CloudBaremetalServer;
    import com.pulumi.gcore.CloudBaremetalServerArgs;
    import com.pulumi.gcore.inputs.CloudBaremetalServerInterfaceArgs;
    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) {
            // Create a Windows baremetal server with a public interface
            var windowsServer = new CloudBaremetalServer("windowsServer", CloudBaremetalServerArgs.builder()
                .projectId(1.0)
                .regionId(1.0)
                .flavor("bm1-infrastructure-small")
                .name("my-windows-bare-metal")
                .imageId("408a0e4d-6a28-4bae-93fa-f738d964f555")
                .passwordWo("my-s3cR3tP@ssw0rd")
                .passwordWoVersion(1.0)
                .interfaces(CloudBaremetalServerInterfaceArgs.builder()
                    .type("external")
                    .ipFamily("ipv4")
                    .build())
                .build());
    
        }
    }
    
    resources:
      # Create a Windows baremetal server with a public interface
      windowsServer:
        type: gcore:CloudBaremetalServer
        name: windows_server
        properties:
          projectId: 1
          regionId: 1
          flavor: bm1-infrastructure-small
          name: my-windows-bare-metal
          imageId: 408a0e4d-6a28-4bae-93fa-f738d964f555
          passwordWo: my-s3cR3tP@ssw0rd
          passwordWoVersion: 1
          interfaces:
            - type: external
              ipFamily: ipv4
    

    Baremetal server with reserved public IP

    Create a baremetal server using a pre-allocated reserved fixed IP address.

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    // Create an SSH key for baremetal server access
    const myKey = new gcore.CloudSshKey("my_key", {
        projectId: 1,
        name: "my-keypair",
        publicKey: "ssh-ed25519 ...your public key... user@example.com",
    });
    // Reserve a public IP address
    const externalFixedIp = new gcore.CloudReservedFixedIp("external_fixed_ip", {
        projectId: 1,
        regionId: 1,
        type: "external",
    });
    // Create a baremetal server using the reserved public IP
    const serverWithReservedAddress = new gcore.CloudBaremetalServer("server_with_reserved_address", {
        projectId: 1,
        regionId: 1,
        flavor: "bm1-infrastructure-small",
        name: "my-bare-metal",
        imageId: "0f25a566-91a4-4507-aa42-bdd732fb998d",
        sshKeyName: myKey.name,
        interfaces: [{
            type: "reserved_fixed_ip",
            portId: externalFixedIp.portId,
        }],
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    # Create an SSH key for baremetal server access
    my_key = gcore.CloudSshKey("my_key",
        project_id=1,
        name="my-keypair",
        public_key="ssh-ed25519 ...your public key... user@example.com")
    # Reserve a public IP address
    external_fixed_ip = gcore.CloudReservedFixedIp("external_fixed_ip",
        project_id=1,
        region_id=1,
        type="external")
    # Create a baremetal server using the reserved public IP
    server_with_reserved_address = gcore.CloudBaremetalServer("server_with_reserved_address",
        project_id=1,
        region_id=1,
        flavor="bm1-infrastructure-small",
        name="my-bare-metal",
        image_id="0f25a566-91a4-4507-aa42-bdd732fb998d",
        ssh_key_name=my_key.name,
        interfaces=[{
            "type": "reserved_fixed_ip",
            "port_id": external_fixed_ip.port_id,
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create an SSH key for baremetal server access
    		myKey, err := gcore.NewCloudSshKey(ctx, "my_key", &gcore.CloudSshKeyArgs{
    			ProjectId: pulumi.Float64(1),
    			Name:      pulumi.String("my-keypair"),
    			PublicKey: pulumi.String("ssh-ed25519 ...your public key... user@example.com"),
    		})
    		if err != nil {
    			return err
    		}
    		// Reserve a public IP address
    		externalFixedIp, err := gcore.NewCloudReservedFixedIp(ctx, "external_fixed_ip", &gcore.CloudReservedFixedIpArgs{
    			ProjectId: pulumi.Float64(1),
    			RegionId:  pulumi.Float64(1),
    			Type:      pulumi.String("external"),
    		})
    		if err != nil {
    			return err
    		}
    		// Create a baremetal server using the reserved public IP
    		_, err = gcore.NewCloudBaremetalServer(ctx, "server_with_reserved_address", &gcore.CloudBaremetalServerArgs{
    			ProjectId:  pulumi.Float64(1),
    			RegionId:   pulumi.Float64(1),
    			Flavor:     pulumi.String("bm1-infrastructure-small"),
    			Name:       pulumi.String("my-bare-metal"),
    			ImageId:    pulumi.String("0f25a566-91a4-4507-aa42-bdd732fb998d"),
    			SshKeyName: myKey.Name,
    			Interfaces: gcore.CloudBaremetalServerInterfaceArray{
    				&gcore.CloudBaremetalServerInterfaceArgs{
    					Type:   pulumi.String("reserved_fixed_ip"),
    					PortId: externalFixedIp.PortId,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        // Create an SSH key for baremetal server access
        var myKey = new Gcore.CloudSshKey("my_key", new()
        {
            ProjectId = 1,
            Name = "my-keypair",
            PublicKey = "ssh-ed25519 ...your public key... user@example.com",
        });
    
        // Reserve a public IP address
        var externalFixedIp = new Gcore.CloudReservedFixedIp("external_fixed_ip", new()
        {
            ProjectId = 1,
            RegionId = 1,
            Type = "external",
        });
    
        // Create a baremetal server using the reserved public IP
        var serverWithReservedAddress = new Gcore.CloudBaremetalServer("server_with_reserved_address", new()
        {
            ProjectId = 1,
            RegionId = 1,
            Flavor = "bm1-infrastructure-small",
            Name = "my-bare-metal",
            ImageId = "0f25a566-91a4-4507-aa42-bdd732fb998d",
            SshKeyName = myKey.Name,
            Interfaces = new[]
            {
                new Gcore.Inputs.CloudBaremetalServerInterfaceArgs
                {
                    Type = "reserved_fixed_ip",
                    PortId = externalFixedIp.PortId,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.CloudSshKey;
    import com.pulumi.gcore.CloudSshKeyArgs;
    import com.pulumi.gcore.CloudReservedFixedIp;
    import com.pulumi.gcore.CloudReservedFixedIpArgs;
    import com.pulumi.gcore.CloudBaremetalServer;
    import com.pulumi.gcore.CloudBaremetalServerArgs;
    import com.pulumi.gcore.inputs.CloudBaremetalServerInterfaceArgs;
    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) {
            // Create an SSH key for baremetal server access
            var myKey = new CloudSshKey("myKey", CloudSshKeyArgs.builder()
                .projectId(1.0)
                .name("my-keypair")
                .publicKey("ssh-ed25519 ...your public key... user@example.com")
                .build());
    
            // Reserve a public IP address
            var externalFixedIp = new CloudReservedFixedIp("externalFixedIp", CloudReservedFixedIpArgs.builder()
                .projectId(1.0)
                .regionId(1.0)
                .type("external")
                .build());
    
            // Create a baremetal server using the reserved public IP
            var serverWithReservedAddress = new CloudBaremetalServer("serverWithReservedAddress", CloudBaremetalServerArgs.builder()
                .projectId(1.0)
                .regionId(1.0)
                .flavor("bm1-infrastructure-small")
                .name("my-bare-metal")
                .imageId("0f25a566-91a4-4507-aa42-bdd732fb998d")
                .sshKeyName(myKey.name())
                .interfaces(CloudBaremetalServerInterfaceArgs.builder()
                    .type("reserved_fixed_ip")
                    .portId(externalFixedIp.portId())
                    .build())
                .build());
    
        }
    }
    
    resources:
      # Create an SSH key for baremetal server access
      myKey:
        type: gcore:CloudSshKey
        name: my_key
        properties:
          projectId: 1
          name: my-keypair
          publicKey: ssh-ed25519 ...your public key... user@example.com
      # Reserve a public IP address
      externalFixedIp:
        type: gcore:CloudReservedFixedIp
        name: external_fixed_ip
        properties:
          projectId: 1
          regionId: 1
          type: external
      # Create a baremetal server using the reserved public IP
      serverWithReservedAddress:
        type: gcore:CloudBaremetalServer
        name: server_with_reserved_address
        properties:
          projectId: 1
          regionId: 1
          flavor: bm1-infrastructure-small
          name: my-bare-metal
          imageId: 0f25a566-91a4-4507-aa42-bdd732fb998d
          sshKeyName: ${myKey.name}
          interfaces:
            - type: reserved_fixed_ip
              portId: ${externalFixedIp.portId}
    

    Create CloudBaremetalServer Resource

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

    Constructor syntax

    new CloudBaremetalServer(name: string, args: CloudBaremetalServerArgs, opts?: CustomResourceOptions);
    @overload
    def CloudBaremetalServer(resource_name: str,
                             args: CloudBaremetalServerArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudBaremetalServer(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             flavor: Optional[str] = None,
                             interfaces: Optional[Sequence[CloudBaremetalServerInterfaceArgs]] = None,
                             name_template: Optional[str] = None,
                             image_id: Optional[str] = None,
                             apptemplate_id: Optional[str] = None,
                             name: Optional[str] = None,
                             app_config: Optional[Mapping[str, str]] = None,
                             password_wo: Optional[str] = None,
                             password_wo_version: Optional[float] = None,
                             project_id: Optional[float] = None,
                             region_id: Optional[float] = None,
                             ssh_key_name: Optional[str] = None,
                             tags: Optional[Mapping[str, str]] = None,
                             user_data: Optional[str] = None,
                             username: Optional[str] = None)
    func NewCloudBaremetalServer(ctx *Context, name string, args CloudBaremetalServerArgs, opts ...ResourceOption) (*CloudBaremetalServer, error)
    public CloudBaremetalServer(string name, CloudBaremetalServerArgs args, CustomResourceOptions? opts = null)
    public CloudBaremetalServer(String name, CloudBaremetalServerArgs args)
    public CloudBaremetalServer(String name, CloudBaremetalServerArgs args, CustomResourceOptions options)
    
    type: gcore:CloudBaremetalServer
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CloudBaremetalServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CloudBaremetalServerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CloudBaremetalServerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudBaremetalServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudBaremetalServerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var cloudBaremetalServerResource = new Gcore.Index.CloudBaremetalServer("cloudBaremetalServerResource", new()
    {
        Flavor = "string",
        Interfaces = new[]
        {
            new Gcore.Inputs.CloudBaremetalServerInterfaceArgs
            {
                Type = "string",
                FloatingIp = new Gcore.Inputs.CloudBaremetalServerInterfaceFloatingIpArgs
                {
                    Source = "string",
                    ExistingFloatingId = "string",
                },
                InterfaceName = "string",
                IpAddress = "string",
                IpFamily = "string",
                NetworkId = "string",
                PortGroup = 0,
                PortId = "string",
                SubnetId = "string",
            },
        },
        NameTemplate = "string",
        ImageId = "string",
        ApptemplateId = "string",
        Name = "string",
        AppConfig = 
        {
            { "string", "string" },
        },
        PasswordWo = "string",
        PasswordWoVersion = 0,
        ProjectId = 0,
        RegionId = 0,
        SshKeyName = "string",
        Tags = 
        {
            { "string", "string" },
        },
        UserData = "string",
        Username = "string",
    });
    
    example, err := gcore.NewCloudBaremetalServer(ctx, "cloudBaremetalServerResource", &gcore.CloudBaremetalServerArgs{
    	Flavor: pulumi.String("string"),
    	Interfaces: gcore.CloudBaremetalServerInterfaceArray{
    		&gcore.CloudBaremetalServerInterfaceArgs{
    			Type: pulumi.String("string"),
    			FloatingIp: &gcore.CloudBaremetalServerInterfaceFloatingIpArgs{
    				Source:             pulumi.String("string"),
    				ExistingFloatingId: pulumi.String("string"),
    			},
    			InterfaceName: pulumi.String("string"),
    			IpAddress:     pulumi.String("string"),
    			IpFamily:      pulumi.String("string"),
    			NetworkId:     pulumi.String("string"),
    			PortGroup:     pulumi.Float64(0),
    			PortId:        pulumi.String("string"),
    			SubnetId:      pulumi.String("string"),
    		},
    	},
    	NameTemplate:  pulumi.String("string"),
    	ImageId:       pulumi.String("string"),
    	ApptemplateId: pulumi.String("string"),
    	Name:          pulumi.String("string"),
    	AppConfig: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	PasswordWo:        pulumi.String("string"),
    	PasswordWoVersion: pulumi.Float64(0),
    	ProjectId:         pulumi.Float64(0),
    	RegionId:          pulumi.Float64(0),
    	SshKeyName:        pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	UserData: pulumi.String("string"),
    	Username: pulumi.String("string"),
    })
    
    var cloudBaremetalServerResource = new CloudBaremetalServer("cloudBaremetalServerResource", CloudBaremetalServerArgs.builder()
        .flavor("string")
        .interfaces(CloudBaremetalServerInterfaceArgs.builder()
            .type("string")
            .floatingIp(CloudBaremetalServerInterfaceFloatingIpArgs.builder()
                .source("string")
                .existingFloatingId("string")
                .build())
            .interfaceName("string")
            .ipAddress("string")
            .ipFamily("string")
            .networkId("string")
            .portGroup(0.0)
            .portId("string")
            .subnetId("string")
            .build())
        .nameTemplate("string")
        .imageId("string")
        .apptemplateId("string")
        .name("string")
        .appConfig(Map.of("string", "string"))
        .passwordWo("string")
        .passwordWoVersion(0.0)
        .projectId(0.0)
        .regionId(0.0)
        .sshKeyName("string")
        .tags(Map.of("string", "string"))
        .userData("string")
        .username("string")
        .build());
    
    cloud_baremetal_server_resource = gcore.CloudBaremetalServer("cloudBaremetalServerResource",
        flavor="string",
        interfaces=[{
            "type": "string",
            "floating_ip": {
                "source": "string",
                "existing_floating_id": "string",
            },
            "interface_name": "string",
            "ip_address": "string",
            "ip_family": "string",
            "network_id": "string",
            "port_group": 0,
            "port_id": "string",
            "subnet_id": "string",
        }],
        name_template="string",
        image_id="string",
        apptemplate_id="string",
        name="string",
        app_config={
            "string": "string",
        },
        password_wo="string",
        password_wo_version=0,
        project_id=0,
        region_id=0,
        ssh_key_name="string",
        tags={
            "string": "string",
        },
        user_data="string",
        username="string")
    
    const cloudBaremetalServerResource = new gcore.CloudBaremetalServer("cloudBaremetalServerResource", {
        flavor: "string",
        interfaces: [{
            type: "string",
            floatingIp: {
                source: "string",
                existingFloatingId: "string",
            },
            interfaceName: "string",
            ipAddress: "string",
            ipFamily: "string",
            networkId: "string",
            portGroup: 0,
            portId: "string",
            subnetId: "string",
        }],
        nameTemplate: "string",
        imageId: "string",
        apptemplateId: "string",
        name: "string",
        appConfig: {
            string: "string",
        },
        passwordWo: "string",
        passwordWoVersion: 0,
        projectId: 0,
        regionId: 0,
        sshKeyName: "string",
        tags: {
            string: "string",
        },
        userData: "string",
        username: "string",
    });
    
    type: gcore:CloudBaremetalServer
    properties:
        appConfig:
            string: string
        apptemplateId: string
        flavor: string
        imageId: string
        interfaces:
            - floatingIp:
                existingFloatingId: string
                source: string
              interfaceName: string
              ipAddress: string
              ipFamily: string
              networkId: string
              portGroup: 0
              portId: string
              subnetId: string
              type: string
        name: string
        nameTemplate: string
        passwordWo: string
        passwordWoVersion: 0
        projectId: 0
        regionId: 0
        sshKeyName: string
        tags:
            string: string
        userData: string
        username: string
    

    CloudBaremetalServer Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CloudBaremetalServer resource accepts the following input properties:

    Flavor string
    The flavor of the instance.
    Interfaces List<CloudBaremetalServerInterface>
    A list of network interfaces for the server. You can create one or more interfaces - private, public, or both.
    AppConfig Dictionary<string, string>
    Parameters for the application template if creating the instance from an apptemplate.
    ApptemplateId string
    Apptemplate ID. Either image_id or apptemplate_id is required.
    ImageId string
    Image ID. Either image_id or apptemplate_id is required.
    Name string
    Server name.
    NameTemplate string
    If you want server names to be automatically generated based on IP addresses, you can provide a name template instead of specifying the name manually. The template should include a placeholder that will be replaced during provisioning. Supported placeholders are: {ip_octets} (last 3 octets of the IP), {two_ip_octets}, and {one_ip_octet}.
    PasswordWo string
    For Linux instances, 'username' and 'password' are used to create a new user. When only 'password' is provided, it is set as the password for the default user of the image. For Windows instances, 'username' cannot be specified. Use the 'password' field to set the password for the 'Admin' user on Windows. Use the 'user_data' field to provide a script to create new users on Windows. The password of the Admin user cannot be updated via 'user_data'.
    PasswordWoVersion double
    Version of the password write-only field. Increment this value to trigger a replacement when changing the password.
    ProjectId double
    Project ID
    RegionId double
    Region ID
    SshKeyName string
    Specifies the name of the SSH keypair, created via the /v1/ssh_keys endpoint.
    Tags Dictionary<string, string>
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    UserData string
    String in base64 format. For Linux instances, 'user_data' is ignored when 'password' field is provided. For Windows instances, Admin user password is set by 'password' field and cannot be updated via 'user_data'. Examples of the user_data: https://cloudinit.readthedocs.io/en/latest/topics/examples.html
    Username string
    For Linux instances, 'username' and 'password' are used to create a new user. For Windows instances, 'username' cannot be specified. Use 'password' field to set the password for the 'Admin' user on Windows.
    Flavor string
    The flavor of the instance.
    Interfaces []CloudBaremetalServerInterfaceArgs
    A list of network interfaces for the server. You can create one or more interfaces - private, public, or both.
    AppConfig map[string]string
    Parameters for the application template if creating the instance from an apptemplate.
    ApptemplateId string
    Apptemplate ID. Either image_id or apptemplate_id is required.
    ImageId string
    Image ID. Either image_id or apptemplate_id is required.
    Name string
    Server name.
    NameTemplate string
    If you want server names to be automatically generated based on IP addresses, you can provide a name template instead of specifying the name manually. The template should include a placeholder that will be replaced during provisioning. Supported placeholders are: {ip_octets} (last 3 octets of the IP), {two_ip_octets}, and {one_ip_octet}.
    PasswordWo string
    For Linux instances, 'username' and 'password' are used to create a new user. When only 'password' is provided, it is set as the password for the default user of the image. For Windows instances, 'username' cannot be specified. Use the 'password' field to set the password for the 'Admin' user on Windows. Use the 'user_data' field to provide a script to create new users on Windows. The password of the Admin user cannot be updated via 'user_data'.
    PasswordWoVersion float64
    Version of the password write-only field. Increment this value to trigger a replacement when changing the password.
    ProjectId float64
    Project ID
    RegionId float64
    Region ID
    SshKeyName string
    Specifies the name of the SSH keypair, created via the /v1/ssh_keys endpoint.
    Tags map[string]string
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    UserData string
    String in base64 format. For Linux instances, 'user_data' is ignored when 'password' field is provided. For Windows instances, Admin user password is set by 'password' field and cannot be updated via 'user_data'. Examples of the user_data: https://cloudinit.readthedocs.io/en/latest/topics/examples.html
    Username string
    For Linux instances, 'username' and 'password' are used to create a new user. For Windows instances, 'username' cannot be specified. Use 'password' field to set the password for the 'Admin' user on Windows.
    flavor String
    The flavor of the instance.
    interfaces List<CloudBaremetalServerInterface>
    A list of network interfaces for the server. You can create one or more interfaces - private, public, or both.
    appConfig Map<String,String>
    Parameters for the application template if creating the instance from an apptemplate.
    apptemplateId String
    Apptemplate ID. Either image_id or apptemplate_id is required.
    imageId String
    Image ID. Either image_id or apptemplate_id is required.
    name String
    Server name.
    nameTemplate String
    If you want server names to be automatically generated based on IP addresses, you can provide a name template instead of specifying the name manually. The template should include a placeholder that will be replaced during provisioning. Supported placeholders are: {ip_octets} (last 3 octets of the IP), {two_ip_octets}, and {one_ip_octet}.
    passwordWo String
    For Linux instances, 'username' and 'password' are used to create a new user. When only 'password' is provided, it is set as the password for the default user of the image. For Windows instances, 'username' cannot be specified. Use the 'password' field to set the password for the 'Admin' user on Windows. Use the 'user_data' field to provide a script to create new users on Windows. The password of the Admin user cannot be updated via 'user_data'.
    passwordWoVersion Double
    Version of the password write-only field. Increment this value to trigger a replacement when changing the password.
    projectId Double
    Project ID
    regionId Double
    Region ID
    sshKeyName String
    Specifies the name of the SSH keypair, created via the /v1/ssh_keys endpoint.
    tags Map<String,String>
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    userData String
    String in base64 format. For Linux instances, 'user_data' is ignored when 'password' field is provided. For Windows instances, Admin user password is set by 'password' field and cannot be updated via 'user_data'. Examples of the user_data: https://cloudinit.readthedocs.io/en/latest/topics/examples.html
    username String
    For Linux instances, 'username' and 'password' are used to create a new user. For Windows instances, 'username' cannot be specified. Use 'password' field to set the password for the 'Admin' user on Windows.
    flavor string
    The flavor of the instance.
    interfaces CloudBaremetalServerInterface[]
    A list of network interfaces for the server. You can create one or more interfaces - private, public, or both.
    appConfig {[key: string]: string}
    Parameters for the application template if creating the instance from an apptemplate.
    apptemplateId string
    Apptemplate ID. Either image_id or apptemplate_id is required.
    imageId string
    Image ID. Either image_id or apptemplate_id is required.
    name string
    Server name.
    nameTemplate string
    If you want server names to be automatically generated based on IP addresses, you can provide a name template instead of specifying the name manually. The template should include a placeholder that will be replaced during provisioning. Supported placeholders are: {ip_octets} (last 3 octets of the IP), {two_ip_octets}, and {one_ip_octet}.
    passwordWo string
    For Linux instances, 'username' and 'password' are used to create a new user. When only 'password' is provided, it is set as the password for the default user of the image. For Windows instances, 'username' cannot be specified. Use the 'password' field to set the password for the 'Admin' user on Windows. Use the 'user_data' field to provide a script to create new users on Windows. The password of the Admin user cannot be updated via 'user_data'.
    passwordWoVersion number
    Version of the password write-only field. Increment this value to trigger a replacement when changing the password.
    projectId number
    Project ID
    regionId number
    Region ID
    sshKeyName string
    Specifies the name of the SSH keypair, created via the /v1/ssh_keys endpoint.
    tags {[key: string]: string}
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    userData string
    String in base64 format. For Linux instances, 'user_data' is ignored when 'password' field is provided. For Windows instances, Admin user password is set by 'password' field and cannot be updated via 'user_data'. Examples of the user_data: https://cloudinit.readthedocs.io/en/latest/topics/examples.html
    username string
    For Linux instances, 'username' and 'password' are used to create a new user. For Windows instances, 'username' cannot be specified. Use 'password' field to set the password for the 'Admin' user on Windows.
    flavor str
    The flavor of the instance.
    interfaces Sequence[CloudBaremetalServerInterfaceArgs]
    A list of network interfaces for the server. You can create one or more interfaces - private, public, or both.
    app_config Mapping[str, str]
    Parameters for the application template if creating the instance from an apptemplate.
    apptemplate_id str
    Apptemplate ID. Either image_id or apptemplate_id is required.
    image_id str
    Image ID. Either image_id or apptemplate_id is required.
    name str
    Server name.
    name_template str
    If you want server names to be automatically generated based on IP addresses, you can provide a name template instead of specifying the name manually. The template should include a placeholder that will be replaced during provisioning. Supported placeholders are: {ip_octets} (last 3 octets of the IP), {two_ip_octets}, and {one_ip_octet}.
    password_wo str
    For Linux instances, 'username' and 'password' are used to create a new user. When only 'password' is provided, it is set as the password for the default user of the image. For Windows instances, 'username' cannot be specified. Use the 'password' field to set the password for the 'Admin' user on Windows. Use the 'user_data' field to provide a script to create new users on Windows. The password of the Admin user cannot be updated via 'user_data'.
    password_wo_version float
    Version of the password write-only field. Increment this value to trigger a replacement when changing the password.
    project_id float
    Project ID
    region_id float
    Region ID
    ssh_key_name str
    Specifies the name of the SSH keypair, created via the /v1/ssh_keys endpoint.
    tags Mapping[str, str]
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    user_data str
    String in base64 format. For Linux instances, 'user_data' is ignored when 'password' field is provided. For Windows instances, Admin user password is set by 'password' field and cannot be updated via 'user_data'. Examples of the user_data: https://cloudinit.readthedocs.io/en/latest/topics/examples.html
    username str
    For Linux instances, 'username' and 'password' are used to create a new user. For Windows instances, 'username' cannot be specified. Use 'password' field to set the password for the 'Admin' user on Windows.
    flavor String
    The flavor of the instance.
    interfaces List<Property Map>
    A list of network interfaces for the server. You can create one or more interfaces - private, public, or both.
    appConfig Map<String>
    Parameters for the application template if creating the instance from an apptemplate.
    apptemplateId String
    Apptemplate ID. Either image_id or apptemplate_id is required.
    imageId String
    Image ID. Either image_id or apptemplate_id is required.
    name String
    Server name.
    nameTemplate String
    If you want server names to be automatically generated based on IP addresses, you can provide a name template instead of specifying the name manually. The template should include a placeholder that will be replaced during provisioning. Supported placeholders are: {ip_octets} (last 3 octets of the IP), {two_ip_octets}, and {one_ip_octet}.
    passwordWo String
    For Linux instances, 'username' and 'password' are used to create a new user. When only 'password' is provided, it is set as the password for the default user of the image. For Windows instances, 'username' cannot be specified. Use the 'password' field to set the password for the 'Admin' user on Windows. Use the 'user_data' field to provide a script to create new users on Windows. The password of the Admin user cannot be updated via 'user_data'.
    passwordWoVersion Number
    Version of the password write-only field. Increment this value to trigger a replacement when changing the password.
    projectId Number
    Project ID
    regionId Number
    Region ID
    sshKeyName String
    Specifies the name of the SSH keypair, created via the /v1/ssh_keys endpoint.
    tags Map<String>
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    userData String
    String in base64 format. For Linux instances, 'user_data' is ignored when 'password' field is provided. For Windows instances, Admin user password is set by 'password' field and cannot be updated via 'user_data'. Examples of the user_data: https://cloudinit.readthedocs.io/en/latest/topics/examples.html
    username String
    For Linux instances, 'username' and 'password' are used to create a new user. For Windows instances, 'username' cannot be specified. Use 'password' field to set the password for the 'Admin' user on Windows.

    Outputs

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

    Addresses Dictionary<string, ImmutableArray<CloudBaremetalServerAddresses>>
    Map of network_name to list of addresses in that network
    BlackholePorts List<CloudBaremetalServerBlackholePort>
    IP addresses of the instances that are blackholed by DDoS mitigation system
    CreatedAt string
    Datetime when bare metal server was created
    FixedIpAssignments List<CloudBaremetalServerFixedIpAssignment>
    Fixed IP assigned to instance
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceIsolation CloudBaremetalServerInstanceIsolation
    Instance isolation information
    Region string
    Region name
    Status string
    Bare metal server status Available values: "ACTIVE", "BUILD", "DELETED", "ERROR", "HARD_REBOOT", "MIGRATING", "PASSWORD", "PAUSED", "REBOOT", "REBUILD", "RESCUE", "RESIZE", "REVERT_RESIZE", "SHELVED", "SHELVED_OFFLOADED", "SHUTOFF", "SOFT_DELETED", "SUSPENDED", "UNKNOWN", "VERIFY_RESIZE".
    VmState string
    Bare metal server state Available values: "active", "building", "deleted", "error", "paused", "rescued", "resized", "shelved", "shelved_offloaded", "soft-deleted", "stopped", "suspended".
    Addresses map[string][]CloudBaremetalServerAddresses
    Map of network_name to list of addresses in that network
    BlackholePorts []CloudBaremetalServerBlackholePort
    IP addresses of the instances that are blackholed by DDoS mitigation system
    CreatedAt string
    Datetime when bare metal server was created
    FixedIpAssignments []CloudBaremetalServerFixedIpAssignment
    Fixed IP assigned to instance
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceIsolation CloudBaremetalServerInstanceIsolation
    Instance isolation information
    Region string
    Region name
    Status string
    Bare metal server status Available values: "ACTIVE", "BUILD", "DELETED", "ERROR", "HARD_REBOOT", "MIGRATING", "PASSWORD", "PAUSED", "REBOOT", "REBUILD", "RESCUE", "RESIZE", "REVERT_RESIZE", "SHELVED", "SHELVED_OFFLOADED", "SHUTOFF", "SOFT_DELETED", "SUSPENDED", "UNKNOWN", "VERIFY_RESIZE".
    VmState string
    Bare metal server state Available values: "active", "building", "deleted", "error", "paused", "rescued", "resized", "shelved", "shelved_offloaded", "soft-deleted", "stopped", "suspended".
    addresses Map<String,List<CloudBaremetalServerAddresses>>
    Map of network_name to list of addresses in that network
    blackholePorts List<CloudBaremetalServerBlackholePort>
    IP addresses of the instances that are blackholed by DDoS mitigation system
    createdAt String
    Datetime when bare metal server was created
    fixedIpAssignments List<CloudBaremetalServerFixedIpAssignment>
    Fixed IP assigned to instance
    id String
    The provider-assigned unique ID for this managed resource.
    instanceIsolation CloudBaremetalServerInstanceIsolation
    Instance isolation information
    region String
    Region name
    status String
    Bare metal server status Available values: "ACTIVE", "BUILD", "DELETED", "ERROR", "HARD_REBOOT", "MIGRATING", "PASSWORD", "PAUSED", "REBOOT", "REBUILD", "RESCUE", "RESIZE", "REVERT_RESIZE", "SHELVED", "SHELVED_OFFLOADED", "SHUTOFF", "SOFT_DELETED", "SUSPENDED", "UNKNOWN", "VERIFY_RESIZE".
    vmState String
    Bare metal server state Available values: "active", "building", "deleted", "error", "paused", "rescued", "resized", "shelved", "shelved_offloaded", "soft-deleted", "stopped", "suspended".
    addresses {[key: string]: CloudBaremetalServerAddresses[]}
    Map of network_name to list of addresses in that network
    blackholePorts CloudBaremetalServerBlackholePort[]
    IP addresses of the instances that are blackholed by DDoS mitigation system
    createdAt string
    Datetime when bare metal server was created
    fixedIpAssignments CloudBaremetalServerFixedIpAssignment[]
    Fixed IP assigned to instance
    id string
    The provider-assigned unique ID for this managed resource.
    instanceIsolation CloudBaremetalServerInstanceIsolation
    Instance isolation information
    region string
    Region name
    status string
    Bare metal server status Available values: "ACTIVE", "BUILD", "DELETED", "ERROR", "HARD_REBOOT", "MIGRATING", "PASSWORD", "PAUSED", "REBOOT", "REBUILD", "RESCUE", "RESIZE", "REVERT_RESIZE", "SHELVED", "SHELVED_OFFLOADED", "SHUTOFF", "SOFT_DELETED", "SUSPENDED", "UNKNOWN", "VERIFY_RESIZE".
    vmState string
    Bare metal server state Available values: "active", "building", "deleted", "error", "paused", "rescued", "resized", "shelved", "shelved_offloaded", "soft-deleted", "stopped", "suspended".
    addresses Mapping[str, Sequence[CloudBaremetalServerAddresses]]
    Map of network_name to list of addresses in that network
    blackhole_ports Sequence[CloudBaremetalServerBlackholePort]
    IP addresses of the instances that are blackholed by DDoS mitigation system
    created_at str
    Datetime when bare metal server was created
    fixed_ip_assignments Sequence[CloudBaremetalServerFixedIpAssignment]
    Fixed IP assigned to instance
    id str
    The provider-assigned unique ID for this managed resource.
    instance_isolation CloudBaremetalServerInstanceIsolation
    Instance isolation information
    region str
    Region name
    status str
    Bare metal server status Available values: "ACTIVE", "BUILD", "DELETED", "ERROR", "HARD_REBOOT", "MIGRATING", "PASSWORD", "PAUSED", "REBOOT", "REBUILD", "RESCUE", "RESIZE", "REVERT_RESIZE", "SHELVED", "SHELVED_OFFLOADED", "SHUTOFF", "SOFT_DELETED", "SUSPENDED", "UNKNOWN", "VERIFY_RESIZE".
    vm_state str
    Bare metal server state Available values: "active", "building", "deleted", "error", "paused", "rescued", "resized", "shelved", "shelved_offloaded", "soft-deleted", "stopped", "suspended".
    addresses Map<List<Property Map>>
    Map of network_name to list of addresses in that network
    blackholePorts List<Property Map>
    IP addresses of the instances that are blackholed by DDoS mitigation system
    createdAt String
    Datetime when bare metal server was created
    fixedIpAssignments List<Property Map>
    Fixed IP assigned to instance
    id String
    The provider-assigned unique ID for this managed resource.
    instanceIsolation Property Map
    Instance isolation information
    region String
    Region name
    status String
    Bare metal server status Available values: "ACTIVE", "BUILD", "DELETED", "ERROR", "HARD_REBOOT", "MIGRATING", "PASSWORD", "PAUSED", "REBOOT", "REBUILD", "RESCUE", "RESIZE", "REVERT_RESIZE", "SHELVED", "SHELVED_OFFLOADED", "SHUTOFF", "SOFT_DELETED", "SUSPENDED", "UNKNOWN", "VERIFY_RESIZE".
    vmState String
    Bare metal server state Available values: "active", "building", "deleted", "error", "paused", "rescued", "resized", "shelved", "shelved_offloaded", "soft-deleted", "stopped", "suspended".

    Look up Existing CloudBaremetalServer Resource

    Get an existing CloudBaremetalServer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CloudBaremetalServerState, opts?: CustomResourceOptions): CloudBaremetalServer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            addresses: Optional[Mapping[str, Sequence[CloudBaremetalServerAddressesArgs]]] = None,
            app_config: Optional[Mapping[str, str]] = None,
            apptemplate_id: Optional[str] = None,
            blackhole_ports: Optional[Sequence[CloudBaremetalServerBlackholePortArgs]] = None,
            created_at: Optional[str] = None,
            fixed_ip_assignments: Optional[Sequence[CloudBaremetalServerFixedIpAssignmentArgs]] = None,
            flavor: Optional[str] = None,
            image_id: Optional[str] = None,
            instance_isolation: Optional[CloudBaremetalServerInstanceIsolationArgs] = None,
            interfaces: Optional[Sequence[CloudBaremetalServerInterfaceArgs]] = None,
            name: Optional[str] = None,
            name_template: Optional[str] = None,
            password_wo: Optional[str] = None,
            password_wo_version: Optional[float] = None,
            project_id: Optional[float] = None,
            region: Optional[str] = None,
            region_id: Optional[float] = None,
            ssh_key_name: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            user_data: Optional[str] = None,
            username: Optional[str] = None,
            vm_state: Optional[str] = None) -> CloudBaremetalServer
    func GetCloudBaremetalServer(ctx *Context, name string, id IDInput, state *CloudBaremetalServerState, opts ...ResourceOption) (*CloudBaremetalServer, error)
    public static CloudBaremetalServer Get(string name, Input<string> id, CloudBaremetalServerState? state, CustomResourceOptions? opts = null)
    public static CloudBaremetalServer get(String name, Output<String> id, CloudBaremetalServerState state, CustomResourceOptions options)
    resources:  _:    type: gcore:CloudBaremetalServer    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Addresses Dictionary<string, ImmutableArray<CloudBaremetalServerAddressesArgs>>
    Map of network_name to list of addresses in that network
    AppConfig Dictionary<string, string>
    Parameters for the application template if creating the instance from an apptemplate.
    ApptemplateId string
    Apptemplate ID. Either image_id or apptemplate_id is required.
    BlackholePorts List<CloudBaremetalServerBlackholePort>
    IP addresses of the instances that are blackholed by DDoS mitigation system
    CreatedAt string
    Datetime when bare metal server was created
    FixedIpAssignments List<CloudBaremetalServerFixedIpAssignment>
    Fixed IP assigned to instance
    Flavor string
    The flavor of the instance.
    ImageId string
    Image ID. Either image_id or apptemplate_id is required.
    InstanceIsolation CloudBaremetalServerInstanceIsolation
    Instance isolation information
    Interfaces List<CloudBaremetalServerInterface>
    A list of network interfaces for the server. You can create one or more interfaces - private, public, or both.
    Name string
    Server name.
    NameTemplate string
    If you want server names to be automatically generated based on IP addresses, you can provide a name template instead of specifying the name manually. The template should include a placeholder that will be replaced during provisioning. Supported placeholders are: {ip_octets} (last 3 octets of the IP), {two_ip_octets}, and {one_ip_octet}.
    PasswordWo string
    For Linux instances, 'username' and 'password' are used to create a new user. When only 'password' is provided, it is set as the password for the default user of the image. For Windows instances, 'username' cannot be specified. Use the 'password' field to set the password for the 'Admin' user on Windows. Use the 'user_data' field to provide a script to create new users on Windows. The password of the Admin user cannot be updated via 'user_data'.
    PasswordWoVersion double
    Version of the password write-only field. Increment this value to trigger a replacement when changing the password.
    ProjectId double
    Project ID
    Region string
    Region name
    RegionId double
    Region ID
    SshKeyName string
    Specifies the name of the SSH keypair, created via the /v1/ssh_keys endpoint.
    Status string
    Bare metal server status Available values: "ACTIVE", "BUILD", "DELETED", "ERROR", "HARD_REBOOT", "MIGRATING", "PASSWORD", "PAUSED", "REBOOT", "REBUILD", "RESCUE", "RESIZE", "REVERT_RESIZE", "SHELVED", "SHELVED_OFFLOADED", "SHUTOFF", "SOFT_DELETED", "SUSPENDED", "UNKNOWN", "VERIFY_RESIZE".
    Tags Dictionary<string, string>
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    UserData string
    String in base64 format. For Linux instances, 'user_data' is ignored when 'password' field is provided. For Windows instances, Admin user password is set by 'password' field and cannot be updated via 'user_data'. Examples of the user_data: https://cloudinit.readthedocs.io/en/latest/topics/examples.html
    Username string
    For Linux instances, 'username' and 'password' are used to create a new user. For Windows instances, 'username' cannot be specified. Use 'password' field to set the password for the 'Admin' user on Windows.
    VmState string
    Bare metal server state Available values: "active", "building", "deleted", "error", "paused", "rescued", "resized", "shelved", "shelved_offloaded", "soft-deleted", "stopped", "suspended".
    Addresses map[string][]CloudBaremetalServerAddressesArgs
    Map of network_name to list of addresses in that network
    AppConfig map[string]string
    Parameters for the application template if creating the instance from an apptemplate.
    ApptemplateId string
    Apptemplate ID. Either image_id or apptemplate_id is required.
    BlackholePorts []CloudBaremetalServerBlackholePortArgs
    IP addresses of the instances that are blackholed by DDoS mitigation system
    CreatedAt string
    Datetime when bare metal server was created
    FixedIpAssignments []CloudBaremetalServerFixedIpAssignmentArgs
    Fixed IP assigned to instance
    Flavor string
    The flavor of the instance.
    ImageId string
    Image ID. Either image_id or apptemplate_id is required.
    InstanceIsolation CloudBaremetalServerInstanceIsolationArgs
    Instance isolation information
    Interfaces []CloudBaremetalServerInterfaceArgs
    A list of network interfaces for the server. You can create one or more interfaces - private, public, or both.
    Name string
    Server name.
    NameTemplate string
    If you want server names to be automatically generated based on IP addresses, you can provide a name template instead of specifying the name manually. The template should include a placeholder that will be replaced during provisioning. Supported placeholders are: {ip_octets} (last 3 octets of the IP), {two_ip_octets}, and {one_ip_octet}.
    PasswordWo string
    For Linux instances, 'username' and 'password' are used to create a new user. When only 'password' is provided, it is set as the password for the default user of the image. For Windows instances, 'username' cannot be specified. Use the 'password' field to set the password for the 'Admin' user on Windows. Use the 'user_data' field to provide a script to create new users on Windows. The password of the Admin user cannot be updated via 'user_data'.
    PasswordWoVersion float64
    Version of the password write-only field. Increment this value to trigger a replacement when changing the password.
    ProjectId float64
    Project ID
    Region string
    Region name
    RegionId float64
    Region ID
    SshKeyName string
    Specifies the name of the SSH keypair, created via the /v1/ssh_keys endpoint.
    Status string
    Bare metal server status Available values: "ACTIVE", "BUILD", "DELETED", "ERROR", "HARD_REBOOT", "MIGRATING", "PASSWORD", "PAUSED", "REBOOT", "REBUILD", "RESCUE", "RESIZE", "REVERT_RESIZE", "SHELVED", "SHELVED_OFFLOADED", "SHUTOFF", "SOFT_DELETED", "SUSPENDED", "UNKNOWN", "VERIFY_RESIZE".
    Tags map[string]string
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    UserData string
    String in base64 format. For Linux instances, 'user_data' is ignored when 'password' field is provided. For Windows instances, Admin user password is set by 'password' field and cannot be updated via 'user_data'. Examples of the user_data: https://cloudinit.readthedocs.io/en/latest/topics/examples.html
    Username string
    For Linux instances, 'username' and 'password' are used to create a new user. For Windows instances, 'username' cannot be specified. Use 'password' field to set the password for the 'Admin' user on Windows.
    VmState string
    Bare metal server state Available values: "active", "building", "deleted", "error", "paused", "rescued", "resized", "shelved", "shelved_offloaded", "soft-deleted", "stopped", "suspended".
    addresses Map<String,List<CloudBaremetalServerAddressesArgs>>
    Map of network_name to list of addresses in that network
    appConfig Map<String,String>
    Parameters for the application template if creating the instance from an apptemplate.
    apptemplateId String
    Apptemplate ID. Either image_id or apptemplate_id is required.
    blackholePorts List<CloudBaremetalServerBlackholePort>
    IP addresses of the instances that are blackholed by DDoS mitigation system
    createdAt String
    Datetime when bare metal server was created
    fixedIpAssignments List<CloudBaremetalServerFixedIpAssignment>
    Fixed IP assigned to instance
    flavor String
    The flavor of the instance.
    imageId String
    Image ID. Either image_id or apptemplate_id is required.
    instanceIsolation CloudBaremetalServerInstanceIsolation
    Instance isolation information
    interfaces List<CloudBaremetalServerInterface>
    A list of network interfaces for the server. You can create one or more interfaces - private, public, or both.
    name String
    Server name.
    nameTemplate String
    If you want server names to be automatically generated based on IP addresses, you can provide a name template instead of specifying the name manually. The template should include a placeholder that will be replaced during provisioning. Supported placeholders are: {ip_octets} (last 3 octets of the IP), {two_ip_octets}, and {one_ip_octet}.
    passwordWo String
    For Linux instances, 'username' and 'password' are used to create a new user. When only 'password' is provided, it is set as the password for the default user of the image. For Windows instances, 'username' cannot be specified. Use the 'password' field to set the password for the 'Admin' user on Windows. Use the 'user_data' field to provide a script to create new users on Windows. The password of the Admin user cannot be updated via 'user_data'.
    passwordWoVersion Double
    Version of the password write-only field. Increment this value to trigger a replacement when changing the password.
    projectId Double
    Project ID
    region String
    Region name
    regionId Double
    Region ID
    sshKeyName String
    Specifies the name of the SSH keypair, created via the /v1/ssh_keys endpoint.
    status String
    Bare metal server status Available values: "ACTIVE", "BUILD", "DELETED", "ERROR", "HARD_REBOOT", "MIGRATING", "PASSWORD", "PAUSED", "REBOOT", "REBUILD", "RESCUE", "RESIZE", "REVERT_RESIZE", "SHELVED", "SHELVED_OFFLOADED", "SHUTOFF", "SOFT_DELETED", "SUSPENDED", "UNKNOWN", "VERIFY_RESIZE".
    tags Map<String,String>
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    userData String
    String in base64 format. For Linux instances, 'user_data' is ignored when 'password' field is provided. For Windows instances, Admin user password is set by 'password' field and cannot be updated via 'user_data'. Examples of the user_data: https://cloudinit.readthedocs.io/en/latest/topics/examples.html
    username String
    For Linux instances, 'username' and 'password' are used to create a new user. For Windows instances, 'username' cannot be specified. Use 'password' field to set the password for the 'Admin' user on Windows.
    vmState String
    Bare metal server state Available values: "active", "building", "deleted", "error", "paused", "rescued", "resized", "shelved", "shelved_offloaded", "soft-deleted", "stopped", "suspended".
    addresses {[key: string]: CloudBaremetalServerAddressesArgs[]}
    Map of network_name to list of addresses in that network
    appConfig {[key: string]: string}
    Parameters for the application template if creating the instance from an apptemplate.
    apptemplateId string
    Apptemplate ID. Either image_id or apptemplate_id is required.
    blackholePorts CloudBaremetalServerBlackholePort[]
    IP addresses of the instances that are blackholed by DDoS mitigation system
    createdAt string
    Datetime when bare metal server was created
    fixedIpAssignments CloudBaremetalServerFixedIpAssignment[]
    Fixed IP assigned to instance
    flavor string
    The flavor of the instance.
    imageId string
    Image ID. Either image_id or apptemplate_id is required.
    instanceIsolation CloudBaremetalServerInstanceIsolation
    Instance isolation information
    interfaces CloudBaremetalServerInterface[]
    A list of network interfaces for the server. You can create one or more interfaces - private, public, or both.
    name string
    Server name.
    nameTemplate string
    If you want server names to be automatically generated based on IP addresses, you can provide a name template instead of specifying the name manually. The template should include a placeholder that will be replaced during provisioning. Supported placeholders are: {ip_octets} (last 3 octets of the IP), {two_ip_octets}, and {one_ip_octet}.
    passwordWo string
    For Linux instances, 'username' and 'password' are used to create a new user. When only 'password' is provided, it is set as the password for the default user of the image. For Windows instances, 'username' cannot be specified. Use the 'password' field to set the password for the 'Admin' user on Windows. Use the 'user_data' field to provide a script to create new users on Windows. The password of the Admin user cannot be updated via 'user_data'.
    passwordWoVersion number
    Version of the password write-only field. Increment this value to trigger a replacement when changing the password.
    projectId number
    Project ID
    region string
    Region name
    regionId number
    Region ID
    sshKeyName string
    Specifies the name of the SSH keypair, created via the /v1/ssh_keys endpoint.
    status string
    Bare metal server status Available values: "ACTIVE", "BUILD", "DELETED", "ERROR", "HARD_REBOOT", "MIGRATING", "PASSWORD", "PAUSED", "REBOOT", "REBUILD", "RESCUE", "RESIZE", "REVERT_RESIZE", "SHELVED", "SHELVED_OFFLOADED", "SHUTOFF", "SOFT_DELETED", "SUSPENDED", "UNKNOWN", "VERIFY_RESIZE".
    tags {[key: string]: string}
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    userData string
    String in base64 format. For Linux instances, 'user_data' is ignored when 'password' field is provided. For Windows instances, Admin user password is set by 'password' field and cannot be updated via 'user_data'. Examples of the user_data: https://cloudinit.readthedocs.io/en/latest/topics/examples.html
    username string
    For Linux instances, 'username' and 'password' are used to create a new user. For Windows instances, 'username' cannot be specified. Use 'password' field to set the password for the 'Admin' user on Windows.
    vmState string
    Bare metal server state Available values: "active", "building", "deleted", "error", "paused", "rescued", "resized", "shelved", "shelved_offloaded", "soft-deleted", "stopped", "suspended".
    addresses Mapping[str, Sequence[CloudBaremetalServerAddressesArgs]]
    Map of network_name to list of addresses in that network
    app_config Mapping[str, str]
    Parameters for the application template if creating the instance from an apptemplate.
    apptemplate_id str
    Apptemplate ID. Either image_id or apptemplate_id is required.
    blackhole_ports Sequence[CloudBaremetalServerBlackholePortArgs]
    IP addresses of the instances that are blackholed by DDoS mitigation system
    created_at str
    Datetime when bare metal server was created
    fixed_ip_assignments Sequence[CloudBaremetalServerFixedIpAssignmentArgs]
    Fixed IP assigned to instance
    flavor str
    The flavor of the instance.
    image_id str
    Image ID. Either image_id or apptemplate_id is required.
    instance_isolation CloudBaremetalServerInstanceIsolationArgs
    Instance isolation information
    interfaces Sequence[CloudBaremetalServerInterfaceArgs]
    A list of network interfaces for the server. You can create one or more interfaces - private, public, or both.
    name str
    Server name.
    name_template str
    If you want server names to be automatically generated based on IP addresses, you can provide a name template instead of specifying the name manually. The template should include a placeholder that will be replaced during provisioning. Supported placeholders are: {ip_octets} (last 3 octets of the IP), {two_ip_octets}, and {one_ip_octet}.
    password_wo str
    For Linux instances, 'username' and 'password' are used to create a new user. When only 'password' is provided, it is set as the password for the default user of the image. For Windows instances, 'username' cannot be specified. Use the 'password' field to set the password for the 'Admin' user on Windows. Use the 'user_data' field to provide a script to create new users on Windows. The password of the Admin user cannot be updated via 'user_data'.
    password_wo_version float
    Version of the password write-only field. Increment this value to trigger a replacement when changing the password.
    project_id float
    Project ID
    region str
    Region name
    region_id float
    Region ID
    ssh_key_name str
    Specifies the name of the SSH keypair, created via the /v1/ssh_keys endpoint.
    status str
    Bare metal server status Available values: "ACTIVE", "BUILD", "DELETED", "ERROR", "HARD_REBOOT", "MIGRATING", "PASSWORD", "PAUSED", "REBOOT", "REBUILD", "RESCUE", "RESIZE", "REVERT_RESIZE", "SHELVED", "SHELVED_OFFLOADED", "SHUTOFF", "SOFT_DELETED", "SUSPENDED", "UNKNOWN", "VERIFY_RESIZE".
    tags Mapping[str, str]
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    user_data str
    String in base64 format. For Linux instances, 'user_data' is ignored when 'password' field is provided. For Windows instances, Admin user password is set by 'password' field and cannot be updated via 'user_data'. Examples of the user_data: https://cloudinit.readthedocs.io/en/latest/topics/examples.html
    username str
    For Linux instances, 'username' and 'password' are used to create a new user. For Windows instances, 'username' cannot be specified. Use 'password' field to set the password for the 'Admin' user on Windows.
    vm_state str
    Bare metal server state Available values: "active", "building", "deleted", "error", "paused", "rescued", "resized", "shelved", "shelved_offloaded", "soft-deleted", "stopped", "suspended".
    addresses Map<List<Property Map>>
    Map of network_name to list of addresses in that network
    appConfig Map<String>
    Parameters for the application template if creating the instance from an apptemplate.
    apptemplateId String
    Apptemplate ID. Either image_id or apptemplate_id is required.
    blackholePorts List<Property Map>
    IP addresses of the instances that are blackholed by DDoS mitigation system
    createdAt String
    Datetime when bare metal server was created
    fixedIpAssignments List<Property Map>
    Fixed IP assigned to instance
    flavor String
    The flavor of the instance.
    imageId String
    Image ID. Either image_id or apptemplate_id is required.
    instanceIsolation Property Map
    Instance isolation information
    interfaces List<Property Map>
    A list of network interfaces for the server. You can create one or more interfaces - private, public, or both.
    name String
    Server name.
    nameTemplate String
    If you want server names to be automatically generated based on IP addresses, you can provide a name template instead of specifying the name manually. The template should include a placeholder that will be replaced during provisioning. Supported placeholders are: {ip_octets} (last 3 octets of the IP), {two_ip_octets}, and {one_ip_octet}.
    passwordWo String
    For Linux instances, 'username' and 'password' are used to create a new user. When only 'password' is provided, it is set as the password for the default user of the image. For Windows instances, 'username' cannot be specified. Use the 'password' field to set the password for the 'Admin' user on Windows. Use the 'user_data' field to provide a script to create new users on Windows. The password of the Admin user cannot be updated via 'user_data'.
    passwordWoVersion Number
    Version of the password write-only field. Increment this value to trigger a replacement when changing the password.
    projectId Number
    Project ID
    region String
    Region name
    regionId Number
    Region ID
    sshKeyName String
    Specifies the name of the SSH keypair, created via the /v1/ssh_keys endpoint.
    status String
    Bare metal server status Available values: "ACTIVE", "BUILD", "DELETED", "ERROR", "HARD_REBOOT", "MIGRATING", "PASSWORD", "PAUSED", "REBOOT", "REBUILD", "RESCUE", "RESIZE", "REVERT_RESIZE", "SHELVED", "SHELVED_OFFLOADED", "SHUTOFF", "SOFT_DELETED", "SUSPENDED", "UNKNOWN", "VERIFY_RESIZE".
    tags Map<String>
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    userData String
    String in base64 format. For Linux instances, 'user_data' is ignored when 'password' field is provided. For Windows instances, Admin user password is set by 'password' field and cannot be updated via 'user_data'. Examples of the user_data: https://cloudinit.readthedocs.io/en/latest/topics/examples.html
    username String
    For Linux instances, 'username' and 'password' are used to create a new user. For Windows instances, 'username' cannot be specified. Use 'password' field to set the password for the 'Admin' user on Windows.
    vmState String
    Bare metal server state Available values: "active", "building", "deleted", "error", "paused", "rescued", "resized", "shelved", "shelved_offloaded", "soft-deleted", "stopped", "suspended".

    Supporting Types

    CloudBaremetalServerAddresses, CloudBaremetalServerAddressesArgs

    Addr string
    InterfaceName string
    Interface name. Defaults to null and is returned as null in the API response if not set.
    SubnetId string
    SubnetName string
    Type string
    A public IP address will be assigned to the instance. Available values: "external", "subnet", "anysubnet", "reservedfixed_ip".
    Addr string
    InterfaceName string
    Interface name. Defaults to null and is returned as null in the API response if not set.
    SubnetId string
    SubnetName string
    Type string
    A public IP address will be assigned to the instance. Available values: "external", "subnet", "anysubnet", "reservedfixed_ip".
    addr String
    interfaceName String
    Interface name. Defaults to null and is returned as null in the API response if not set.
    subnetId String
    subnetName String
    type String
    A public IP address will be assigned to the instance. Available values: "external", "subnet", "anysubnet", "reservedfixed_ip".
    addr string
    interfaceName string
    Interface name. Defaults to null and is returned as null in the API response if not set.
    subnetId string
    subnetName string
    type string
    A public IP address will be assigned to the instance. Available values: "external", "subnet", "anysubnet", "reservedfixed_ip".
    addr str
    interface_name str
    Interface name. Defaults to null and is returned as null in the API response if not set.
    subnet_id str
    subnet_name str
    type str
    A public IP address will be assigned to the instance. Available values: "external", "subnet", "anysubnet", "reservedfixed_ip".
    addr String
    interfaceName String
    Interface name. Defaults to null and is returned as null in the API response if not set.
    subnetId String
    subnetName String
    type String
    A public IP address will be assigned to the instance. Available values: "external", "subnet", "anysubnet", "reservedfixed_ip".

    CloudBaremetalServerBlackholePort, CloudBaremetalServerBlackholePortArgs

    AlarmEnd string
    A date-time string giving the time that the alarm ended. If not yet ended, time will be given as 0001-01-01T00:00:00Z
    AlarmStart string
    A date-time string giving the time that the alarm started
    AlarmState string
    Current state of alarm Available values: "ACKREQ", "ALARM", "ARCHIVED", "CLEAR", "CLEARING", "CLEARINGFAIL", "ENDGRACE", "ENDWAIT", "MANUALCLEAR", "MANUALCLEARING", "MANUALCLEARINGFAIL", "MANUALMITIGATING", "MANUALSTARTING", "MANUALSTARTINGFAIL", "MITIGATING", "STARTING", "STARTINGFAIL", "STARTWAIT", "ackreq", "alarm", "archived", "clear", "clearing", "clearingfail", "endgrace", "endwait", "manualclear", "manualclearing", "manualclearingfail", "manualmitigating", "manualstarting", "manualstartingfail", "mitigating", "startwait", "starting", "startingfail".
    AlertDuration string
    Total alert duration
    DestinationIp string
    Notification destination IP address
    Id double
    AlarmEnd string
    A date-time string giving the time that the alarm ended. If not yet ended, time will be given as 0001-01-01T00:00:00Z
    AlarmStart string
    A date-time string giving the time that the alarm started
    AlarmState string
    Current state of alarm Available values: "ACKREQ", "ALARM", "ARCHIVED", "CLEAR", "CLEARING", "CLEARINGFAIL", "ENDGRACE", "ENDWAIT", "MANUALCLEAR", "MANUALCLEARING", "MANUALCLEARINGFAIL", "MANUALMITIGATING", "MANUALSTARTING", "MANUALSTARTINGFAIL", "MITIGATING", "STARTING", "STARTINGFAIL", "STARTWAIT", "ackreq", "alarm", "archived", "clear", "clearing", "clearingfail", "endgrace", "endwait", "manualclear", "manualclearing", "manualclearingfail", "manualmitigating", "manualstarting", "manualstartingfail", "mitigating", "startwait", "starting", "startingfail".
    AlertDuration string
    Total alert duration
    DestinationIp string
    Notification destination IP address
    Id float64
    alarmEnd String
    A date-time string giving the time that the alarm ended. If not yet ended, time will be given as 0001-01-01T00:00:00Z
    alarmStart String
    A date-time string giving the time that the alarm started
    alarmState String
    Current state of alarm Available values: "ACKREQ", "ALARM", "ARCHIVED", "CLEAR", "CLEARING", "CLEARINGFAIL", "ENDGRACE", "ENDWAIT", "MANUALCLEAR", "MANUALCLEARING", "MANUALCLEARINGFAIL", "MANUALMITIGATING", "MANUALSTARTING", "MANUALSTARTINGFAIL", "MITIGATING", "STARTING", "STARTINGFAIL", "STARTWAIT", "ackreq", "alarm", "archived", "clear", "clearing", "clearingfail", "endgrace", "endwait", "manualclear", "manualclearing", "manualclearingfail", "manualmitigating", "manualstarting", "manualstartingfail", "mitigating", "startwait", "starting", "startingfail".
    alertDuration String
    Total alert duration
    destinationIp String
    Notification destination IP address
    id Double
    alarmEnd string
    A date-time string giving the time that the alarm ended. If not yet ended, time will be given as 0001-01-01T00:00:00Z
    alarmStart string
    A date-time string giving the time that the alarm started
    alarmState string
    Current state of alarm Available values: "ACKREQ", "ALARM", "ARCHIVED", "CLEAR", "CLEARING", "CLEARINGFAIL", "ENDGRACE", "ENDWAIT", "MANUALCLEAR", "MANUALCLEARING", "MANUALCLEARINGFAIL", "MANUALMITIGATING", "MANUALSTARTING", "MANUALSTARTINGFAIL", "MITIGATING", "STARTING", "STARTINGFAIL", "STARTWAIT", "ackreq", "alarm", "archived", "clear", "clearing", "clearingfail", "endgrace", "endwait", "manualclear", "manualclearing", "manualclearingfail", "manualmitigating", "manualstarting", "manualstartingfail", "mitigating", "startwait", "starting", "startingfail".
    alertDuration string
    Total alert duration
    destinationIp string
    Notification destination IP address
    id number
    alarm_end str
    A date-time string giving the time that the alarm ended. If not yet ended, time will be given as 0001-01-01T00:00:00Z
    alarm_start str
    A date-time string giving the time that the alarm started
    alarm_state str
    Current state of alarm Available values: "ACKREQ", "ALARM", "ARCHIVED", "CLEAR", "CLEARING", "CLEARINGFAIL", "ENDGRACE", "ENDWAIT", "MANUALCLEAR", "MANUALCLEARING", "MANUALCLEARINGFAIL", "MANUALMITIGATING", "MANUALSTARTING", "MANUALSTARTINGFAIL", "MITIGATING", "STARTING", "STARTINGFAIL", "STARTWAIT", "ackreq", "alarm", "archived", "clear", "clearing", "clearingfail", "endgrace", "endwait", "manualclear", "manualclearing", "manualclearingfail", "manualmitigating", "manualstarting", "manualstartingfail", "mitigating", "startwait", "starting", "startingfail".
    alert_duration str
    Total alert duration
    destination_ip str
    Notification destination IP address
    id float
    alarmEnd String
    A date-time string giving the time that the alarm ended. If not yet ended, time will be given as 0001-01-01T00:00:00Z
    alarmStart String
    A date-time string giving the time that the alarm started
    alarmState String
    Current state of alarm Available values: "ACKREQ", "ALARM", "ARCHIVED", "CLEAR", "CLEARING", "CLEARINGFAIL", "ENDGRACE", "ENDWAIT", "MANUALCLEAR", "MANUALCLEARING", "MANUALCLEARINGFAIL", "MANUALMITIGATING", "MANUALSTARTING", "MANUALSTARTINGFAIL", "MITIGATING", "STARTING", "STARTINGFAIL", "STARTWAIT", "ackreq", "alarm", "archived", "clear", "clearing", "clearingfail", "endgrace", "endwait", "manualclear", "manualclearing", "manualclearingfail", "manualmitigating", "manualstarting", "manualstartingfail", "mitigating", "startwait", "starting", "startingfail".
    alertDuration String
    Total alert duration
    destinationIp String
    Notification destination IP address
    id Number

    CloudBaremetalServerFixedIpAssignment, CloudBaremetalServerFixedIpAssignmentArgs

    External bool
    Is network external
    IpAddress string
    Ip address
    SubnetId string
    Interface subnet id
    External bool
    Is network external
    IpAddress string
    Ip address
    SubnetId string
    Interface subnet id
    external Boolean
    Is network external
    ipAddress String
    Ip address
    subnetId String
    Interface subnet id
    external boolean
    Is network external
    ipAddress string
    Ip address
    subnetId string
    Interface subnet id
    external bool
    Is network external
    ip_address str
    Ip address
    subnet_id str
    Interface subnet id
    external Boolean
    Is network external
    ipAddress String
    Ip address
    subnetId String
    Interface subnet id

    CloudBaremetalServerInstanceIsolation, CloudBaremetalServerInstanceIsolationArgs

    Reason string
    The reason of instance isolation if it is isolated from external internet.
    Reason string
    The reason of instance isolation if it is isolated from external internet.
    reason String
    The reason of instance isolation if it is isolated from external internet.
    reason string
    The reason of instance isolation if it is isolated from external internet.
    reason str
    The reason of instance isolation if it is isolated from external internet.
    reason String
    The reason of instance isolation if it is isolated from external internet.

    CloudBaremetalServerInterface, CloudBaremetalServerInterfaceArgs

    Type string
    A public IP address will be assigned to the instance. Available values: "external", "subnet", "anysubnet", "reservedfixed_ip".
    FloatingIp CloudBaremetalServerInterfaceFloatingIp
    Allows the instance to have a public IP that can be reached from the internet.
    InterfaceName string
    Interface name. Defaults to null and is returned as null in the API response if not set.
    IpAddress string
    You can specify a specific IP address from your subnet.
    IpFamily string
    Specify ipv4, ipv6, or dual to enable both. Available values: "dual", "ipv4", "ipv6".
    NetworkId string
    The network where the instance will be connected.
    PortGroup double
    Specifies the trunk group to which this interface belongs. Applicable only for bare metal servers. Each unique port group is mapped to a separate trunk port. Use this to control how interfaces are grouped across trunks.
    PortId string
    Network ID the subnet belongs to. Port will be plugged in this network.
    SubnetId string
    The instance will get an IP address from this subnet.
    Type string
    A public IP address will be assigned to the instance. Available values: "external", "subnet", "anysubnet", "reservedfixed_ip".
    FloatingIp CloudBaremetalServerInterfaceFloatingIp
    Allows the instance to have a public IP that can be reached from the internet.
    InterfaceName string
    Interface name. Defaults to null and is returned as null in the API response if not set.
    IpAddress string
    You can specify a specific IP address from your subnet.
    IpFamily string
    Specify ipv4, ipv6, or dual to enable both. Available values: "dual", "ipv4", "ipv6".
    NetworkId string
    The network where the instance will be connected.
    PortGroup float64
    Specifies the trunk group to which this interface belongs. Applicable only for bare metal servers. Each unique port group is mapped to a separate trunk port. Use this to control how interfaces are grouped across trunks.
    PortId string
    Network ID the subnet belongs to. Port will be plugged in this network.
    SubnetId string
    The instance will get an IP address from this subnet.
    type String
    A public IP address will be assigned to the instance. Available values: "external", "subnet", "anysubnet", "reservedfixed_ip".
    floatingIp CloudBaremetalServerInterfaceFloatingIp
    Allows the instance to have a public IP that can be reached from the internet.
    interfaceName String
    Interface name. Defaults to null and is returned as null in the API response if not set.
    ipAddress String
    You can specify a specific IP address from your subnet.
    ipFamily String
    Specify ipv4, ipv6, or dual to enable both. Available values: "dual", "ipv4", "ipv6".
    networkId String
    The network where the instance will be connected.
    portGroup Double
    Specifies the trunk group to which this interface belongs. Applicable only for bare metal servers. Each unique port group is mapped to a separate trunk port. Use this to control how interfaces are grouped across trunks.
    portId String
    Network ID the subnet belongs to. Port will be plugged in this network.
    subnetId String
    The instance will get an IP address from this subnet.
    type string
    A public IP address will be assigned to the instance. Available values: "external", "subnet", "anysubnet", "reservedfixed_ip".
    floatingIp CloudBaremetalServerInterfaceFloatingIp
    Allows the instance to have a public IP that can be reached from the internet.
    interfaceName string
    Interface name. Defaults to null and is returned as null in the API response if not set.
    ipAddress string
    You can specify a specific IP address from your subnet.
    ipFamily string
    Specify ipv4, ipv6, or dual to enable both. Available values: "dual", "ipv4", "ipv6".
    networkId string
    The network where the instance will be connected.
    portGroup number
    Specifies the trunk group to which this interface belongs. Applicable only for bare metal servers. Each unique port group is mapped to a separate trunk port. Use this to control how interfaces are grouped across trunks.
    portId string
    Network ID the subnet belongs to. Port will be plugged in this network.
    subnetId string
    The instance will get an IP address from this subnet.
    type str
    A public IP address will be assigned to the instance. Available values: "external", "subnet", "anysubnet", "reservedfixed_ip".
    floating_ip CloudBaremetalServerInterfaceFloatingIp
    Allows the instance to have a public IP that can be reached from the internet.
    interface_name str
    Interface name. Defaults to null and is returned as null in the API response if not set.
    ip_address str
    You can specify a specific IP address from your subnet.
    ip_family str
    Specify ipv4, ipv6, or dual to enable both. Available values: "dual", "ipv4", "ipv6".
    network_id str
    The network where the instance will be connected.
    port_group float
    Specifies the trunk group to which this interface belongs. Applicable only for bare metal servers. Each unique port group is mapped to a separate trunk port. Use this to control how interfaces are grouped across trunks.
    port_id str
    Network ID the subnet belongs to. Port will be plugged in this network.
    subnet_id str
    The instance will get an IP address from this subnet.
    type String
    A public IP address will be assigned to the instance. Available values: "external", "subnet", "anysubnet", "reservedfixed_ip".
    floatingIp Property Map
    Allows the instance to have a public IP that can be reached from the internet.
    interfaceName String
    Interface name. Defaults to null and is returned as null in the API response if not set.
    ipAddress String
    You can specify a specific IP address from your subnet.
    ipFamily String
    Specify ipv4, ipv6, or dual to enable both. Available values: "dual", "ipv4", "ipv6".
    networkId String
    The network where the instance will be connected.
    portGroup Number
    Specifies the trunk group to which this interface belongs. Applicable only for bare metal servers. Each unique port group is mapped to a separate trunk port. Use this to control how interfaces are grouped across trunks.
    portId String
    Network ID the subnet belongs to. Port will be plugged in this network.
    subnetId String
    The instance will get an IP address from this subnet.

    CloudBaremetalServerInterfaceFloatingIp, CloudBaremetalServerInterfaceFloatingIpArgs

    Source string
    A new floating IP will be created and attached to the instance. A floating IP is a public IP that makes the instance accessible from the internet, even if it only has a private IP. It works like SNAT, allowing outgoing and incoming traffic. Available values: "new", "existing".
    ExistingFloatingId string
    An existing available floating IP id must be specified if the source is set to existing
    Source string
    A new floating IP will be created and attached to the instance. A floating IP is a public IP that makes the instance accessible from the internet, even if it only has a private IP. It works like SNAT, allowing outgoing and incoming traffic. Available values: "new", "existing".
    ExistingFloatingId string
    An existing available floating IP id must be specified if the source is set to existing
    source String
    A new floating IP will be created and attached to the instance. A floating IP is a public IP that makes the instance accessible from the internet, even if it only has a private IP. It works like SNAT, allowing outgoing and incoming traffic. Available values: "new", "existing".
    existingFloatingId String
    An existing available floating IP id must be specified if the source is set to existing
    source string
    A new floating IP will be created and attached to the instance. A floating IP is a public IP that makes the instance accessible from the internet, even if it only has a private IP. It works like SNAT, allowing outgoing and incoming traffic. Available values: "new", "existing".
    existingFloatingId string
    An existing available floating IP id must be specified if the source is set to existing
    source str
    A new floating IP will be created and attached to the instance. A floating IP is a public IP that makes the instance accessible from the internet, even if it only has a private IP. It works like SNAT, allowing outgoing and incoming traffic. Available values: "new", "existing".
    existing_floating_id str
    An existing available floating IP id must be specified if the source is set to existing
    source String
    A new floating IP will be created and attached to the instance. A floating IP is a public IP that makes the instance accessible from the internet, even if it only has a private IP. It works like SNAT, allowing outgoing and incoming traffic. Available values: "new", "existing".
    existingFloatingId String
    An existing available floating IP id must be specified if the source is set to existing

    Import

    $ pulumi import gcore:index/cloudBaremetalServer:CloudBaremetalServer example '<project_id>/<region_id>/<server_id>'
    

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

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    Viewing docs for gcore 2.0.0-alpha.3
    published on Monday, Mar 30, 2026 by g-core
      Try Pulumi Cloud free. Your team will thank you.