1. Packages
  2. Ibm Provider
  3. API Docs
  4. IsBareMetalServer
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.IsBareMetalServer

Explore with Pulumi AI

Create, update, or delete a Bare Metal Server for VPC. For more information, about managing VPC Bare Metal Server, see About Bare Metal Servers for VPC.

Note: VPC infrastructure services are a regional specific based endpoint, by default targets to us-south. Please make sure to target right region in the provider block as shown in the provider.tf file, if VPC service is created in region other than us-south.

provider.tf

import * as pulumi from "@pulumi/pulumi";
Copy
import pulumi
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => 
{
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
    }
}
Copy
{}
Copy

Example Usage

In the following example, you can create a Bare Metal Server:

Basic Example

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

const exampleIsVpc = new ibm.IsVpc("exampleIsVpc", {});
const exampleIsSubnet = new ibm.IsSubnet("exampleIsSubnet", {
    vpc: ibm_is_vpc.vpc.id,
    zone: "us-south-3",
    ipv4CidrBlock: "10.240.129.0/24",
});
const exampleIsSshKey = new ibm.IsSshKey("exampleIsSshKey", {publicKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR"});
const exampleIsBareMetalServer = new ibm.IsBareMetalServer("exampleIsBareMetalServer", {
    profile: "mx2d-metal-32x192",
    image: "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
    zone: "us-south-3",
    keys: [exampleIsSshKey.isSshKeyId],
    primaryNetworkInterface: {
        subnet: exampleIsSubnet.isSubnetId,
    },
    vpc: exampleIsVpc.isVpcId,
});
Copy
import pulumi
import pulumi_ibm as ibm

example_is_vpc = ibm.IsVpc("exampleIsVpc")
example_is_subnet = ibm.IsSubnet("exampleIsSubnet",
    vpc=ibm_is_vpc["vpc"]["id"],
    zone="us-south-3",
    ipv4_cidr_block="10.240.129.0/24")
example_is_ssh_key = ibm.IsSshKey("exampleIsSshKey", public_key="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR")
example_is_bare_metal_server = ibm.IsBareMetalServer("exampleIsBareMetalServer",
    profile="mx2d-metal-32x192",
    image="r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
    zone="us-south-3",
    keys=[example_is_ssh_key.is_ssh_key_id],
    primary_network_interface={
        "subnet": example_is_subnet.is_subnet_id,
    },
    vpc=example_is_vpc.is_vpc_id)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleIsVpc, err := ibm.NewIsVpc(ctx, "exampleIsVpc", nil)
		if err != nil {
			return err
		}
		exampleIsSubnet, err := ibm.NewIsSubnet(ctx, "exampleIsSubnet", &ibm.IsSubnetArgs{
			Vpc:           pulumi.Any(ibm_is_vpc.Vpc.Id),
			Zone:          pulumi.String("us-south-3"),
			Ipv4CidrBlock: pulumi.String("10.240.129.0/24"),
		})
		if err != nil {
			return err
		}
		exampleIsSshKey, err := ibm.NewIsSshKey(ctx, "exampleIsSshKey", &ibm.IsSshKeyArgs{
			PublicKey: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR"),
		})
		if err != nil {
			return err
		}
		_, err = ibm.NewIsBareMetalServer(ctx, "exampleIsBareMetalServer", &ibm.IsBareMetalServerArgs{
			Profile: pulumi.String("mx2d-metal-32x192"),
			Image:   pulumi.String("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e"),
			Zone:    pulumi.String("us-south-3"),
			Keys: pulumi.StringArray{
				exampleIsSshKey.IsSshKeyId,
			},
			PrimaryNetworkInterface: &ibm.IsBareMetalServerPrimaryNetworkInterfaceArgs{
				Subnet: exampleIsSubnet.IsSubnetId,
			},
			Vpc: exampleIsVpc.IsVpcId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var exampleIsVpc = new Ibm.IsVpc("exampleIsVpc");

    var exampleIsSubnet = new Ibm.IsSubnet("exampleIsSubnet", new()
    {
        Vpc = ibm_is_vpc.Vpc.Id,
        Zone = "us-south-3",
        Ipv4CidrBlock = "10.240.129.0/24",
    });

    var exampleIsSshKey = new Ibm.IsSshKey("exampleIsSshKey", new()
    {
        PublicKey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR",
    });

    var exampleIsBareMetalServer = new Ibm.IsBareMetalServer("exampleIsBareMetalServer", new()
    {
        Profile = "mx2d-metal-32x192",
        Image = "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
        Zone = "us-south-3",
        Keys = new[]
        {
            exampleIsSshKey.IsSshKeyId,
        },
        PrimaryNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkInterfaceArgs
        {
            Subnet = exampleIsSubnet.IsSubnetId,
        },
        Vpc = exampleIsVpc.IsVpcId,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsVpc;
import com.pulumi.ibm.IsSubnet;
import com.pulumi.ibm.IsSubnetArgs;
import com.pulumi.ibm.IsSshKey;
import com.pulumi.ibm.IsSshKeyArgs;
import com.pulumi.ibm.IsBareMetalServer;
import com.pulumi.ibm.IsBareMetalServerArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerPrimaryNetworkInterfaceArgs;
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) {
        var exampleIsVpc = new IsVpc("exampleIsVpc");

        var exampleIsSubnet = new IsSubnet("exampleIsSubnet", IsSubnetArgs.builder()
            .vpc(ibm_is_vpc.vpc().id())
            .zone("us-south-3")
            .ipv4CidrBlock("10.240.129.0/24")
            .build());

        var exampleIsSshKey = new IsSshKey("exampleIsSshKey", IsSshKeyArgs.builder()
            .publicKey("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR")
            .build());

        var exampleIsBareMetalServer = new IsBareMetalServer("exampleIsBareMetalServer", IsBareMetalServerArgs.builder()
            .profile("mx2d-metal-32x192")
            .image("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e")
            .zone("us-south-3")
            .keys(exampleIsSshKey.isSshKeyId())
            .primaryNetworkInterface(IsBareMetalServerPrimaryNetworkInterfaceArgs.builder()
                .subnet(exampleIsSubnet.isSubnetId())
                .build())
            .vpc(exampleIsVpc.isVpcId())
            .build());

    }
}
Copy
resources:
  exampleIsVpc:
    type: ibm:IsVpc
  exampleIsSubnet:
    type: ibm:IsSubnet
    properties:
      vpc: ${ibm_is_vpc.vpc.id}
      zone: us-south-3
      ipv4CidrBlock: 10.240.129.0/24
  exampleIsSshKey:
    type: ibm:IsSshKey
    properties:
      publicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR
  exampleIsBareMetalServer:
    type: ibm:IsBareMetalServer
    properties:
      profile: mx2d-metal-32x192
      image: r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e
      zone: us-south-3
      keys:
        - ${exampleIsSshKey.isSshKeyId}
      primaryNetworkInterface:
        subnet: ${exampleIsSubnet.isSubnetId}
      vpc: ${exampleIsVpc.isVpcId}
Copy

Reservation Example

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

const exampleIsReservation = new ibm.IsReservation("exampleIsReservation", {
    capacity: {
        total: 5,
    },
    committedUse: {
        term: "one_year",
    },
    profile: {
        name: "mx2d-metal-32x192",
        resourceType: "bare_metal_server_profile",
    },
    zone: "us-east-3",
});
const exampleIsVpc = new ibm.IsVpc("exampleIsVpc", {});
const exampleIsSubnet = new ibm.IsSubnet("exampleIsSubnet", {
    vpc: ibm_is_vpc.vpc.id,
    zone: "us-south-3",
    ipv4CidrBlock: "10.240.129.0/24",
});
const exampleIsSshKey = new ibm.IsSshKey("exampleIsSshKey", {publicKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR"});
const exampleIsBareMetalServer = new ibm.IsBareMetalServer("exampleIsBareMetalServer", {
    profile: "mx2d-metal-32x192",
    image: "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
    zone: "us-south-3",
    keys: [exampleIsSshKey.isSshKeyId],
    primaryNetworkInterface: {
        subnet: exampleIsSubnet.isSubnetId,
    },
    reservationAffinities: [{
        policy: "manual",
        pools: [{
            id: exampleIsReservation.id,
        }],
    }],
    vpc: exampleIsVpc.isVpcId,
});
Copy
import pulumi
import pulumi_ibm as ibm

example_is_reservation = ibm.IsReservation("exampleIsReservation",
    capacity={
        "total": 5,
    },
    committed_use={
        "term": "one_year",
    },
    profile={
        "name": "mx2d-metal-32x192",
        "resource_type": "bare_metal_server_profile",
    },
    zone="us-east-3")
example_is_vpc = ibm.IsVpc("exampleIsVpc")
example_is_subnet = ibm.IsSubnet("exampleIsSubnet",
    vpc=ibm_is_vpc["vpc"]["id"],
    zone="us-south-3",
    ipv4_cidr_block="10.240.129.0/24")
example_is_ssh_key = ibm.IsSshKey("exampleIsSshKey", public_key="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR")
example_is_bare_metal_server = ibm.IsBareMetalServer("exampleIsBareMetalServer",
    profile="mx2d-metal-32x192",
    image="r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
    zone="us-south-3",
    keys=[example_is_ssh_key.is_ssh_key_id],
    primary_network_interface={
        "subnet": example_is_subnet.is_subnet_id,
    },
    reservation_affinities=[{
        "policy": "manual",
        "pools": [{
            "id": example_is_reservation.id,
        }],
    }],
    vpc=example_is_vpc.is_vpc_id)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleIsReservation, err := ibm.NewIsReservation(ctx, "exampleIsReservation", &ibm.IsReservationArgs{
			Capacity: &ibm.IsReservationCapacityArgs{
				Total: pulumi.Float64(5),
			},
			CommittedUse: &ibm.IsReservationCommittedUseArgs{
				Term: pulumi.String("one_year"),
			},
			Profile: &ibm.IsReservationProfileArgs{
				Name:         pulumi.String("mx2d-metal-32x192"),
				ResourceType: pulumi.String("bare_metal_server_profile"),
			},
			Zone: pulumi.String("us-east-3"),
		})
		if err != nil {
			return err
		}
		exampleIsVpc, err := ibm.NewIsVpc(ctx, "exampleIsVpc", nil)
		if err != nil {
			return err
		}
		exampleIsSubnet, err := ibm.NewIsSubnet(ctx, "exampleIsSubnet", &ibm.IsSubnetArgs{
			Vpc:           pulumi.Any(ibm_is_vpc.Vpc.Id),
			Zone:          pulumi.String("us-south-3"),
			Ipv4CidrBlock: pulumi.String("10.240.129.0/24"),
		})
		if err != nil {
			return err
		}
		exampleIsSshKey, err := ibm.NewIsSshKey(ctx, "exampleIsSshKey", &ibm.IsSshKeyArgs{
			PublicKey: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR"),
		})
		if err != nil {
			return err
		}
		_, err = ibm.NewIsBareMetalServer(ctx, "exampleIsBareMetalServer", &ibm.IsBareMetalServerArgs{
			Profile: pulumi.String("mx2d-metal-32x192"),
			Image:   pulumi.String("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e"),
			Zone:    pulumi.String("us-south-3"),
			Keys: pulumi.StringArray{
				exampleIsSshKey.IsSshKeyId,
			},
			PrimaryNetworkInterface: &ibm.IsBareMetalServerPrimaryNetworkInterfaceArgs{
				Subnet: exampleIsSubnet.IsSubnetId,
			},
			ReservationAffinities: ibm.IsBareMetalServerReservationAffinityArray{
				&ibm.IsBareMetalServerReservationAffinityArgs{
					Policy: pulumi.String("manual"),
					Pools: ibm.IsBareMetalServerReservationAffinityPoolArray{
						&ibm.IsBareMetalServerReservationAffinityPoolArgs{
							Id: exampleIsReservation.ID(),
						},
					},
				},
			},
			Vpc: exampleIsVpc.IsVpcId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var exampleIsReservation = new Ibm.IsReservation("exampleIsReservation", new()
    {
        Capacity = new Ibm.Inputs.IsReservationCapacityArgs
        {
            Total = 5,
        },
        CommittedUse = new Ibm.Inputs.IsReservationCommittedUseArgs
        {
            Term = "one_year",
        },
        Profile = new Ibm.Inputs.IsReservationProfileArgs
        {
            Name = "mx2d-metal-32x192",
            ResourceType = "bare_metal_server_profile",
        },
        Zone = "us-east-3",
    });

    var exampleIsVpc = new Ibm.IsVpc("exampleIsVpc");

    var exampleIsSubnet = new Ibm.IsSubnet("exampleIsSubnet", new()
    {
        Vpc = ibm_is_vpc.Vpc.Id,
        Zone = "us-south-3",
        Ipv4CidrBlock = "10.240.129.0/24",
    });

    var exampleIsSshKey = new Ibm.IsSshKey("exampleIsSshKey", new()
    {
        PublicKey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR",
    });

    var exampleIsBareMetalServer = new Ibm.IsBareMetalServer("exampleIsBareMetalServer", new()
    {
        Profile = "mx2d-metal-32x192",
        Image = "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
        Zone = "us-south-3",
        Keys = new[]
        {
            exampleIsSshKey.IsSshKeyId,
        },
        PrimaryNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkInterfaceArgs
        {
            Subnet = exampleIsSubnet.IsSubnetId,
        },
        ReservationAffinities = new[]
        {
            new Ibm.Inputs.IsBareMetalServerReservationAffinityArgs
            {
                Policy = "manual",
                Pools = new[]
                {
                    new Ibm.Inputs.IsBareMetalServerReservationAffinityPoolArgs
                    {
                        Id = exampleIsReservation.Id,
                    },
                },
            },
        },
        Vpc = exampleIsVpc.IsVpcId,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsReservation;
import com.pulumi.ibm.IsReservationArgs;
import com.pulumi.ibm.inputs.IsReservationCapacityArgs;
import com.pulumi.ibm.inputs.IsReservationCommittedUseArgs;
import com.pulumi.ibm.inputs.IsReservationProfileArgs;
import com.pulumi.ibm.IsVpc;
import com.pulumi.ibm.IsSubnet;
import com.pulumi.ibm.IsSubnetArgs;
import com.pulumi.ibm.IsSshKey;
import com.pulumi.ibm.IsSshKeyArgs;
import com.pulumi.ibm.IsBareMetalServer;
import com.pulumi.ibm.IsBareMetalServerArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerPrimaryNetworkInterfaceArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerReservationAffinityArgs;
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) {
        var exampleIsReservation = new IsReservation("exampleIsReservation", IsReservationArgs.builder()
            .capacity(IsReservationCapacityArgs.builder()
                .total(5)
                .build())
            .committedUse(IsReservationCommittedUseArgs.builder()
                .term("one_year")
                .build())
            .profile(IsReservationProfileArgs.builder()
                .name("mx2d-metal-32x192")
                .resourceType("bare_metal_server_profile")
                .build())
            .zone("us-east-3")
            .build());

        var exampleIsVpc = new IsVpc("exampleIsVpc");

        var exampleIsSubnet = new IsSubnet("exampleIsSubnet", IsSubnetArgs.builder()
            .vpc(ibm_is_vpc.vpc().id())
            .zone("us-south-3")
            .ipv4CidrBlock("10.240.129.0/24")
            .build());

        var exampleIsSshKey = new IsSshKey("exampleIsSshKey", IsSshKeyArgs.builder()
            .publicKey("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR")
            .build());

        var exampleIsBareMetalServer = new IsBareMetalServer("exampleIsBareMetalServer", IsBareMetalServerArgs.builder()
            .profile("mx2d-metal-32x192")
            .image("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e")
            .zone("us-south-3")
            .keys(exampleIsSshKey.isSshKeyId())
            .primaryNetworkInterface(IsBareMetalServerPrimaryNetworkInterfaceArgs.builder()
                .subnet(exampleIsSubnet.isSubnetId())
                .build())
            .reservationAffinities(IsBareMetalServerReservationAffinityArgs.builder()
                .policy("manual")
                .pools(IsBareMetalServerReservationAffinityPoolArgs.builder()
                    .id(exampleIsReservation.id())
                    .build())
                .build())
            .vpc(exampleIsVpc.isVpcId())
            .build());

    }
}
Copy
resources:
  exampleIsReservation:
    type: ibm:IsReservation
    properties:
      capacity:
        total: 5
      committedUse:
        term: one_year
      profile:
        name: mx2d-metal-32x192
        resourceType: bare_metal_server_profile
      zone: us-east-3
  exampleIsVpc:
    type: ibm:IsVpc
  exampleIsSubnet:
    type: ibm:IsSubnet
    properties:
      vpc: ${ibm_is_vpc.vpc.id}
      zone: us-south-3
      ipv4CidrBlock: 10.240.129.0/24
  exampleIsSshKey:
    type: ibm:IsSshKey
    properties:
      publicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR
  exampleIsBareMetalServer:
    type: ibm:IsBareMetalServer
    properties:
      profile: mx2d-metal-32x192
      image: r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e
      zone: us-south-3
      keys:
        - ${exampleIsSshKey.isSshKeyId}
      primaryNetworkInterface:
        subnet: ${exampleIsSubnet.isSubnetId}
      reservationAffinities:
        - policy: manual
          pools:
            - id: ${exampleIsReservation.id}
      vpc: ${exampleIsVpc.isVpcId}
Copy

VNI example

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

const bms = new ibm.IsBareMetalServer("bms", {
    profile: "mx2d-metal-32x192",
    image: "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
    zone: "us-south-3",
    keys: [ibm_is_ssh_key.example.id],
    primaryNetworkAttachment: {
        name: "test-vni-100-102",
        virtualNetworkInterface: {
            id: ibm_is_virtual_network_interface.testacc_vni.id,
        },
        allowedVlans: [
            100,
            102,
        ],
    },
    vpc: ibm_is_vpc.example.id,
});
Copy
import pulumi
import pulumi_ibm as ibm

bms = ibm.IsBareMetalServer("bms",
    profile="mx2d-metal-32x192",
    image="r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
    zone="us-south-3",
    keys=[ibm_is_ssh_key["example"]["id"]],
    primary_network_attachment={
        "name": "test-vni-100-102",
        "virtual_network_interface": {
            "id": ibm_is_virtual_network_interface["testacc_vni"]["id"],
        },
        "allowed_vlans": [
            100,
            102,
        ],
    },
    vpc=ibm_is_vpc["example"]["id"])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ibm.NewIsBareMetalServer(ctx, "bms", &ibm.IsBareMetalServerArgs{
			Profile: pulumi.String("mx2d-metal-32x192"),
			Image:   pulumi.String("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e"),
			Zone:    pulumi.String("us-south-3"),
			Keys: pulumi.StringArray{
				ibm_is_ssh_key.Example.Id,
			},
			PrimaryNetworkAttachment: &ibm.IsBareMetalServerPrimaryNetworkAttachmentArgs{
				Name: pulumi.String("test-vni-100-102"),
				VirtualNetworkInterface: &ibm.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs{
					Id: pulumi.Any(ibm_is_virtual_network_interface.Testacc_vni.Id),
				},
				AllowedVlans: pulumi.Float64Array{
					pulumi.Float64(100),
					pulumi.Float64(102),
				},
			},
			Vpc: pulumi.Any(ibm_is_vpc.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var bms = new Ibm.IsBareMetalServer("bms", new()
    {
        Profile = "mx2d-metal-32x192",
        Image = "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
        Zone = "us-south-3",
        Keys = new[]
        {
            ibm_is_ssh_key.Example.Id,
        },
        PrimaryNetworkAttachment = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentArgs
        {
            Name = "test-vni-100-102",
            VirtualNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs
            {
                Id = ibm_is_virtual_network_interface.Testacc_vni.Id,
            },
            AllowedVlans = new[]
            {
                100,
                102,
            },
        },
        Vpc = ibm_is_vpc.Example.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsBareMetalServer;
import com.pulumi.ibm.IsBareMetalServerArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerPrimaryNetworkAttachmentArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs;
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) {
        var bms = new IsBareMetalServer("bms", IsBareMetalServerArgs.builder()
            .profile("mx2d-metal-32x192")
            .image("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e")
            .zone("us-south-3")
            .keys(ibm_is_ssh_key.example().id())
            .primaryNetworkAttachment(IsBareMetalServerPrimaryNetworkAttachmentArgs.builder()
                .name("test-vni-100-102")
                .virtualNetworkInterface(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs.builder()
                    .id(ibm_is_virtual_network_interface.testacc_vni().id())
                    .build())
                .allowedVlans(                
                    100,
                    102)
                .build())
            .vpc(ibm_is_vpc.example().id())
            .build());

    }
}
Copy
resources:
  bms:
    type: ibm:IsBareMetalServer
    properties:
      profile: mx2d-metal-32x192
      image: r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e
      zone: us-south-3
      keys:
        - ${ibm_is_ssh_key.example.id}
      primaryNetworkAttachment:
        name: test-vni-100-102
        virtualNetworkInterface:
          id: ${ibm_is_virtual_network_interface.testacc_vni.id}
        allowedVlans:
          - 100
          - 102
      vpc: ${ibm_is_vpc.example.id}
Copy

Create bare metal server with bandwidth

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

const bms = new ibm.IsBareMetalServer("bms", {
    bandwidth: 25000,
    profile: "bx3-metal-48x256",
    image: "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
    zone: "us-south-3",
    keys: [ibm_is_ssh_key.example.id],
    primaryNetworkAttachment: {
        name: "test-vni-100-102",
        virtualNetworkInterface: {
            id: ibm_is_virtual_network_interface.testacc_vni.id,
        },
        allowedVlans: [
            100,
            102,
        ],
    },
    vpc: ibm_is_vpc.example.id,
});
Copy
import pulumi
import pulumi_ibm as ibm

bms = ibm.IsBareMetalServer("bms",
    bandwidth=25000,
    profile="bx3-metal-48x256",
    image="r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
    zone="us-south-3",
    keys=[ibm_is_ssh_key["example"]["id"]],
    primary_network_attachment={
        "name": "test-vni-100-102",
        "virtual_network_interface": {
            "id": ibm_is_virtual_network_interface["testacc_vni"]["id"],
        },
        "allowed_vlans": [
            100,
            102,
        ],
    },
    vpc=ibm_is_vpc["example"]["id"])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ibm.NewIsBareMetalServer(ctx, "bms", &ibm.IsBareMetalServerArgs{
			Bandwidth: pulumi.Float64(25000),
			Profile:   pulumi.String("bx3-metal-48x256"),
			Image:     pulumi.String("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e"),
			Zone:      pulumi.String("us-south-3"),
			Keys: pulumi.StringArray{
				ibm_is_ssh_key.Example.Id,
			},
			PrimaryNetworkAttachment: &ibm.IsBareMetalServerPrimaryNetworkAttachmentArgs{
				Name: pulumi.String("test-vni-100-102"),
				VirtualNetworkInterface: &ibm.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs{
					Id: pulumi.Any(ibm_is_virtual_network_interface.Testacc_vni.Id),
				},
				AllowedVlans: pulumi.Float64Array{
					pulumi.Float64(100),
					pulumi.Float64(102),
				},
			},
			Vpc: pulumi.Any(ibm_is_vpc.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var bms = new Ibm.IsBareMetalServer("bms", new()
    {
        Bandwidth = 25000,
        Profile = "bx3-metal-48x256",
        Image = "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
        Zone = "us-south-3",
        Keys = new[]
        {
            ibm_is_ssh_key.Example.Id,
        },
        PrimaryNetworkAttachment = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentArgs
        {
            Name = "test-vni-100-102",
            VirtualNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs
            {
                Id = ibm_is_virtual_network_interface.Testacc_vni.Id,
            },
            AllowedVlans = new[]
            {
                100,
                102,
            },
        },
        Vpc = ibm_is_vpc.Example.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsBareMetalServer;
import com.pulumi.ibm.IsBareMetalServerArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerPrimaryNetworkAttachmentArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs;
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) {
        var bms = new IsBareMetalServer("bms", IsBareMetalServerArgs.builder()
            .bandwidth(25000)
            .profile("bx3-metal-48x256")
            .image("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e")
            .zone("us-south-3")
            .keys(ibm_is_ssh_key.example().id())
            .primaryNetworkAttachment(IsBareMetalServerPrimaryNetworkAttachmentArgs.builder()
                .name("test-vni-100-102")
                .virtualNetworkInterface(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs.builder()
                    .id(ibm_is_virtual_network_interface.testacc_vni().id())
                    .build())
                .allowedVlans(                
                    100,
                    102)
                .build())
            .vpc(ibm_is_vpc.example().id())
            .build());

    }
}
Copy
resources:
  bms:
    type: ibm:IsBareMetalServer
    properties:
      bandwidth: 25000
      profile: bx3-metal-48x256
      image: r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e
      zone: us-south-3
      keys:
        - ${ibm_is_ssh_key.example.id}
      primaryNetworkAttachment:
        name: test-vni-100-102
        virtualNetworkInterface:
          id: ${ibm_is_virtual_network_interface.testacc_vni.id}
        allowedVlans:
          - 100
          - 102
      vpc: ${ibm_is_vpc.example.id}
Copy

Syntax

$ terraform import ibm_is_bare_metal_server.example <bare_metal_server_id>

Example

$ terraform import ibm_is_bare_metal_server.example d7bec597-4726-451f-8a63-e62e6f19c32c

Create IsBareMetalServer Resource

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

Constructor syntax

new IsBareMetalServer(name: string, args: IsBareMetalServerArgs, opts?: CustomResourceOptions);
@overload
def IsBareMetalServer(resource_name: str,
                      args: IsBareMetalServerArgs,
                      opts: Optional[ResourceOptions] = None)

@overload
def IsBareMetalServer(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      image: Optional[str] = None,
                      zone: Optional[str] = None,
                      profile: Optional[str] = None,
                      keys: Optional[Sequence[str]] = None,
                      network_interfaces: Optional[Sequence[IsBareMetalServerNetworkInterfaceArgs]] = None,
                      bandwidth: Optional[float] = None,
                      is_bare_metal_server_id: Optional[str] = None,
                      delete_type: Optional[str] = None,
                      name: Optional[str] = None,
                      network_attachments: Optional[Sequence[IsBareMetalServerNetworkAttachmentArgs]] = None,
                      access_tags: Optional[Sequence[str]] = None,
                      primary_network_attachment: Optional[IsBareMetalServerPrimaryNetworkAttachmentArgs] = None,
                      primary_network_interface: Optional[IsBareMetalServerPrimaryNetworkInterfaceArgs] = None,
                      enable_secure_boot: Optional[bool] = None,
                      reservation_affinities: Optional[Sequence[IsBareMetalServerReservationAffinityArgs]] = None,
                      resource_group: Optional[str] = None,
                      tags: Optional[Sequence[str]] = None,
                      timeouts: Optional[IsBareMetalServerTimeoutsArgs] = None,
                      trusted_platform_module: Optional[IsBareMetalServerTrustedPlatformModuleArgs] = None,
                      user_data: Optional[str] = None,
                      vpc: Optional[str] = None,
                      action: Optional[str] = None)
func NewIsBareMetalServer(ctx *Context, name string, args IsBareMetalServerArgs, opts ...ResourceOption) (*IsBareMetalServer, error)
public IsBareMetalServer(string name, IsBareMetalServerArgs args, CustomResourceOptions? opts = null)
public IsBareMetalServer(String name, IsBareMetalServerArgs args)
public IsBareMetalServer(String name, IsBareMetalServerArgs args, CustomResourceOptions options)
type: ibm:IsBareMetalServer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IsBareMetalServerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IsBareMetalServerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IsBareMetalServerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IsBareMetalServerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IsBareMetalServerArgs
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 isBareMetalServerResource = new Ibm.IsBareMetalServer("isBareMetalServerResource", new()
{
    Image = "string",
    Zone = "string",
    Profile = "string",
    Keys = new[]
    {
        "string",
    },
    NetworkInterfaces = new[]
    {
        new Ibm.Inputs.IsBareMetalServerNetworkInterfaceArgs
        {
            Name = "string",
            Subnet = "string",
            InterfaceType = "string",
            EnableInfrastructureNat = false,
            Href = "string",
            Id = "string",
            AllowInterfaceToFloat = false,
            AllowedVlans = new[]
            {
                0,
            },
            PortSpeed = 0,
            PrimaryIp = new Ibm.Inputs.IsBareMetalServerNetworkInterfacePrimaryIpArgs
            {
                Address = "string",
                AutoDelete = false,
                Href = "string",
                Name = "string",
                ReservedIp = "string",
                ResourceType = "string",
            },
            SecurityGroups = new[]
            {
                "string",
            },
            AllowIpSpoofing = false,
            Vlan = 0,
        },
    },
    Bandwidth = 0,
    IsBareMetalServerId = "string",
    DeleteType = "string",
    Name = "string",
    NetworkAttachments = new[]
    {
        new Ibm.Inputs.IsBareMetalServerNetworkAttachmentArgs
        {
            Name = "string",
            AllowToFloat = false,
            AllowedVlans = new[]
            {
                0,
            },
            Deleteds = new[]
            {
                new Ibm.Inputs.IsBareMetalServerNetworkAttachmentDeletedArgs
                {
                    MoreInfo = "string",
                },
            },
            Href = "string",
            Id = "string",
            InterfaceType = "string",
            ResourceType = "string",
            VirtualNetworkInterfaces = new[]
            {
                new Ibm.Inputs.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs
                {
                    AllowIpSpoofing = false,
                    AutoDelete = false,
                    EnableInfrastructureNat = false,
                    Id = "string",
                    Ips = new[]
                    {
                        new Ibm.Inputs.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpArgs
                        {
                            ReservedIp = "string",
                            Address = "string",
                            AutoDelete = false,
                            Deleteds = new[]
                            {
                                new Ibm.Inputs.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs
                                {
                                    MoreInfo = "string",
                                },
                            },
                            Href = "string",
                            Name = "string",
                            ResourceType = "string",
                        },
                    },
                    Name = "string",
                    PrimaryIps = new[]
                    {
                        new Ibm.Inputs.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs
                        {
                            Address = "string",
                            Deleteds = new[]
                            {
                                new Ibm.Inputs.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs
                                {
                                    MoreInfo = "string",
                                },
                            },
                            Href = "string",
                            Name = "string",
                            ReservedIp = "string",
                            ResourceType = "string",
                        },
                    },
                    ProtocolStateFilteringMode = "string",
                    ResourceGroup = "string",
                    ResourceType = "string",
                    SecurityGroups = new[]
                    {
                        "string",
                    },
                    Subnet = "string",
                },
            },
            Vlan = 0,
        },
    },
    AccessTags = new[]
    {
        "string",
    },
    PrimaryNetworkAttachment = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentArgs
    {
        AllowInterfaceToFloat = false,
        AllowedVlans = new[]
        {
            0,
        },
        Deleteds = new[]
        {
            new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentDeletedArgs
            {
                MoreInfo = "string",
            },
        },
        Href = "string",
        Id = "string",
        InterfaceType = "string",
        Name = "string",
        ResourceType = "string",
        VirtualNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs
        {
            AllowIpSpoofing = false,
            AutoDelete = false,
            EnableInfrastructureNat = false,
            Id = "string",
            Ips = new[]
            {
                new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpArgs
                {
                    ReservedIp = "string",
                    Address = "string",
                    AutoDelete = false,
                    Deleteds = new[]
                    {
                        new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs
                        {
                            MoreInfo = "string",
                        },
                    },
                    Href = "string",
                    Name = "string",
                    ResourceType = "string",
                },
            },
            Name = "string",
            PrimaryIp = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs
            {
                Address = "string",
                Deleteds = new[]
                {
                    new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs
                    {
                        MoreInfo = "string",
                    },
                },
                Href = "string",
                Name = "string",
                ReservedIp = "string",
                ResourceType = "string",
            },
            ProtocolStateFilteringMode = "string",
            ResourceGroup = "string",
            ResourceType = "string",
            SecurityGroups = new[]
            {
                "string",
            },
            Subnet = "string",
        },
        Vlan = 0,
    },
    PrimaryNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkInterfaceArgs
    {
        Subnet = "string",
        AllowIpSpoofing = false,
        AllowedVlans = new[]
        {
            0,
        },
        EnableInfrastructureNat = false,
        Href = "string",
        Id = "string",
        InterfaceType = "string",
        Name = "string",
        PortSpeed = 0,
        PrimaryIp = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkInterfacePrimaryIpArgs
        {
            Address = "string",
            AutoDelete = false,
            Href = "string",
            Name = "string",
            ReservedIp = "string",
            ResourceType = "string",
        },
        SecurityGroups = new[]
        {
            "string",
        },
    },
    EnableSecureBoot = false,
    ReservationAffinities = new[]
    {
        new Ibm.Inputs.IsBareMetalServerReservationAffinityArgs
        {
            Policy = "string",
            Pools = new[]
            {
                new Ibm.Inputs.IsBareMetalServerReservationAffinityPoolArgs
                {
                    Crn = "string",
                    Deleteds = new[]
                    {
                        new Ibm.Inputs.IsBareMetalServerReservationAffinityPoolDeletedArgs
                        {
                            MoreInfo = "string",
                        },
                    },
                    Href = "string",
                    Id = "string",
                    Name = "string",
                    ResourceType = "string",
                },
            },
        },
    },
    ResourceGroup = "string",
    Tags = new[]
    {
        "string",
    },
    Timeouts = new Ibm.Inputs.IsBareMetalServerTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
    TrustedPlatformModule = new Ibm.Inputs.IsBareMetalServerTrustedPlatformModuleArgs
    {
        Enabled = false,
        Mode = "string",
        SupportedModes = new[]
        {
            "string",
        },
    },
    UserData = "string",
    Vpc = "string",
    Action = "string",
});
Copy
example, err := ibm.NewIsBareMetalServer(ctx, "isBareMetalServerResource", &ibm.IsBareMetalServerArgs{
Image: pulumi.String("string"),
Zone: pulumi.String("string"),
Profile: pulumi.String("string"),
Keys: pulumi.StringArray{
pulumi.String("string"),
},
NetworkInterfaces: .IsBareMetalServerNetworkInterfaceTypeArray{
&.IsBareMetalServerNetworkInterfaceTypeArgs{
Name: pulumi.String("string"),
Subnet: pulumi.String("string"),
InterfaceType: pulumi.String("string"),
EnableInfrastructureNat: pulumi.Bool(false),
Href: pulumi.String("string"),
Id: pulumi.String("string"),
AllowInterfaceToFloat: pulumi.Bool(false),
AllowedVlans: pulumi.Float64Array{
pulumi.Float64(0),
},
PortSpeed: pulumi.Float64(0),
PrimaryIp: &.IsBareMetalServerNetworkInterfacePrimaryIpArgs{
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ReservedIp: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
AllowIpSpoofing: pulumi.Bool(false),
Vlan: pulumi.Float64(0),
},
},
Bandwidth: pulumi.Float64(0),
IsBareMetalServerId: pulumi.String("string"),
DeleteType: pulumi.String("string"),
Name: pulumi.String("string"),
NetworkAttachments: .IsBareMetalServerNetworkAttachmentTypeArray{
&.IsBareMetalServerNetworkAttachmentTypeArgs{
Name: pulumi.String("string"),
AllowToFloat: pulumi.Bool(false),
AllowedVlans: pulumi.Float64Array{
pulumi.Float64(0),
},
Deleteds: .IsBareMetalServerNetworkAttachmentDeletedArray{
&.IsBareMetalServerNetworkAttachmentDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Id: pulumi.String("string"),
InterfaceType: pulumi.String("string"),
ResourceType: pulumi.String("string"),
VirtualNetworkInterfaces: .IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArray{
&.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs{
AllowIpSpoofing: pulumi.Bool(false),
AutoDelete: pulumi.Bool(false),
EnableInfrastructureNat: pulumi.Bool(false),
Id: pulumi.String("string"),
Ips: .IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpArray{
&.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpArgs{
ReservedIp: pulumi.String("string"),
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Deleteds: .IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeletedArray{
&.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
PrimaryIps: .IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpArray{
&.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs{
Address: pulumi.String("string"),
Deleteds: .IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArray{
&.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ReservedIp: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
ProtocolStateFilteringMode: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
ResourceType: pulumi.String("string"),
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
Subnet: pulumi.String("string"),
},
},
Vlan: pulumi.Float64(0),
},
},
AccessTags: pulumi.StringArray{
pulumi.String("string"),
},
PrimaryNetworkAttachment: &.IsBareMetalServerPrimaryNetworkAttachmentArgs{
AllowInterfaceToFloat: pulumi.Bool(false),
AllowedVlans: pulumi.Float64Array{
pulumi.Float64(0),
},
Deleteds: .IsBareMetalServerPrimaryNetworkAttachmentDeletedArray{
&.IsBareMetalServerPrimaryNetworkAttachmentDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Id: pulumi.String("string"),
InterfaceType: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceType: pulumi.String("string"),
VirtualNetworkInterface: &.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs{
AllowIpSpoofing: pulumi.Bool(false),
AutoDelete: pulumi.Bool(false),
EnableInfrastructureNat: pulumi.Bool(false),
Id: pulumi.String("string"),
Ips: .IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpArray{
&.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpArgs{
ReservedIp: pulumi.String("string"),
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Deleteds: .IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArray{
&.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
PrimaryIp: &.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs{
Address: pulumi.String("string"),
Deleteds: .IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArray{
&.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ReservedIp: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
ProtocolStateFilteringMode: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
ResourceType: pulumi.String("string"),
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
Subnet: pulumi.String("string"),
},
Vlan: pulumi.Float64(0),
},
PrimaryNetworkInterface: &.IsBareMetalServerPrimaryNetworkInterfaceArgs{
Subnet: pulumi.String("string"),
AllowIpSpoofing: pulumi.Bool(false),
AllowedVlans: pulumi.Float64Array{
pulumi.Float64(0),
},
EnableInfrastructureNat: pulumi.Bool(false),
Href: pulumi.String("string"),
Id: pulumi.String("string"),
InterfaceType: pulumi.String("string"),
Name: pulumi.String("string"),
PortSpeed: pulumi.Float64(0),
PrimaryIp: &.IsBareMetalServerPrimaryNetworkInterfacePrimaryIpArgs{
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ReservedIp: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
},
EnableSecureBoot: pulumi.Bool(false),
ReservationAffinities: .IsBareMetalServerReservationAffinityArray{
&.IsBareMetalServerReservationAffinityArgs{
Policy: pulumi.String("string"),
Pools: .IsBareMetalServerReservationAffinityPoolArray{
&.IsBareMetalServerReservationAffinityPoolArgs{
Crn: pulumi.String("string"),
Deleteds: .IsBareMetalServerReservationAffinityPoolDeletedArray{
&.IsBareMetalServerReservationAffinityPoolDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
},
},
ResourceGroup: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &.IsBareMetalServerTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
TrustedPlatformModule: &.IsBareMetalServerTrustedPlatformModuleArgs{
Enabled: pulumi.Bool(false),
Mode: pulumi.String("string"),
SupportedModes: pulumi.StringArray{
pulumi.String("string"),
},
},
UserData: pulumi.String("string"),
Vpc: pulumi.String("string"),
Action: pulumi.String("string"),
})
Copy
var isBareMetalServerResource = new IsBareMetalServer("isBareMetalServerResource", IsBareMetalServerArgs.builder()
    .image("string")
    .zone("string")
    .profile("string")
    .keys("string")
    .networkInterfaces(IsBareMetalServerNetworkInterfaceArgs.builder()
        .name("string")
        .subnet("string")
        .interfaceType("string")
        .enableInfrastructureNat(false)
        .href("string")
        .id("string")
        .allowInterfaceToFloat(false)
        .allowedVlans(0)
        .portSpeed(0)
        .primaryIp(IsBareMetalServerNetworkInterfacePrimaryIpArgs.builder()
            .address("string")
            .autoDelete(false)
            .href("string")
            .name("string")
            .reservedIp("string")
            .resourceType("string")
            .build())
        .securityGroups("string")
        .allowIpSpoofing(false)
        .vlan(0)
        .build())
    .bandwidth(0)
    .isBareMetalServerId("string")
    .deleteType("string")
    .name("string")
    .networkAttachments(IsBareMetalServerNetworkAttachmentArgs.builder()
        .name("string")
        .allowToFloat(false)
        .allowedVlans(0)
        .deleteds(IsBareMetalServerNetworkAttachmentDeletedArgs.builder()
            .moreInfo("string")
            .build())
        .href("string")
        .id("string")
        .interfaceType("string")
        .resourceType("string")
        .virtualNetworkInterfaces(IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs.builder()
            .allowIpSpoofing(false)
            .autoDelete(false)
            .enableInfrastructureNat(false)
            .id("string")
            .ips(IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpArgs.builder()
                .reservedIp("string")
                .address("string")
                .autoDelete(false)
                .deleteds(IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs.builder()
                    .moreInfo("string")
                    .build())
                .href("string")
                .name("string")
                .resourceType("string")
                .build())
            .name("string")
            .primaryIps(IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs.builder()
                .address("string")
                .deleteds(IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs.builder()
                    .moreInfo("string")
                    .build())
                .href("string")
                .name("string")
                .reservedIp("string")
                .resourceType("string")
                .build())
            .protocolStateFilteringMode("string")
            .resourceGroup("string")
            .resourceType("string")
            .securityGroups("string")
            .subnet("string")
            .build())
        .vlan(0)
        .build())
    .accessTags("string")
    .primaryNetworkAttachment(IsBareMetalServerPrimaryNetworkAttachmentArgs.builder()
        .allowInterfaceToFloat(false)
        .allowedVlans(0)
        .deleteds(IsBareMetalServerPrimaryNetworkAttachmentDeletedArgs.builder()
            .moreInfo("string")
            .build())
        .href("string")
        .id("string")
        .interfaceType("string")
        .name("string")
        .resourceType("string")
        .virtualNetworkInterface(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs.builder()
            .allowIpSpoofing(false)
            .autoDelete(false)
            .enableInfrastructureNat(false)
            .id("string")
            .ips(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpArgs.builder()
                .reservedIp("string")
                .address("string")
                .autoDelete(false)
                .deleteds(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs.builder()
                    .moreInfo("string")
                    .build())
                .href("string")
                .name("string")
                .resourceType("string")
                .build())
            .name("string")
            .primaryIp(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs.builder()
                .address("string")
                .deleteds(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs.builder()
                    .moreInfo("string")
                    .build())
                .href("string")
                .name("string")
                .reservedIp("string")
                .resourceType("string")
                .build())
            .protocolStateFilteringMode("string")
            .resourceGroup("string")
            .resourceType("string")
            .securityGroups("string")
            .subnet("string")
            .build())
        .vlan(0)
        .build())
    .primaryNetworkInterface(IsBareMetalServerPrimaryNetworkInterfaceArgs.builder()
        .subnet("string")
        .allowIpSpoofing(false)
        .allowedVlans(0)
        .enableInfrastructureNat(false)
        .href("string")
        .id("string")
        .interfaceType("string")
        .name("string")
        .portSpeed(0)
        .primaryIp(IsBareMetalServerPrimaryNetworkInterfacePrimaryIpArgs.builder()
            .address("string")
            .autoDelete(false)
            .href("string")
            .name("string")
            .reservedIp("string")
            .resourceType("string")
            .build())
        .securityGroups("string")
        .build())
    .enableSecureBoot(false)
    .reservationAffinities(IsBareMetalServerReservationAffinityArgs.builder()
        .policy("string")
        .pools(IsBareMetalServerReservationAffinityPoolArgs.builder()
            .crn("string")
            .deleteds(IsBareMetalServerReservationAffinityPoolDeletedArgs.builder()
                .moreInfo("string")
                .build())
            .href("string")
            .id("string")
            .name("string")
            .resourceType("string")
            .build())
        .build())
    .resourceGroup("string")
    .tags("string")
    .timeouts(IsBareMetalServerTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .trustedPlatformModule(IsBareMetalServerTrustedPlatformModuleArgs.builder()
        .enabled(false)
        .mode("string")
        .supportedModes("string")
        .build())
    .userData("string")
    .vpc("string")
    .action("string")
    .build());
Copy
is_bare_metal_server_resource = ibm.IsBareMetalServer("isBareMetalServerResource",
    image="string",
    zone="string",
    profile="string",
    keys=["string"],
    network_interfaces=[{
        "name": "string",
        "subnet": "string",
        "interface_type": "string",
        "enable_infrastructure_nat": False,
        "href": "string",
        "id": "string",
        "allow_interface_to_float": False,
        "allowed_vlans": [0],
        "port_speed": 0,
        "primary_ip": {
            "address": "string",
            "auto_delete": False,
            "href": "string",
            "name": "string",
            "reserved_ip": "string",
            "resource_type": "string",
        },
        "security_groups": ["string"],
        "allow_ip_spoofing": False,
        "vlan": 0,
    }],
    bandwidth=0,
    is_bare_metal_server_id="string",
    delete_type="string",
    name="string",
    network_attachments=[{
        "name": "string",
        "allow_to_float": False,
        "allowed_vlans": [0],
        "deleteds": [{
            "more_info": "string",
        }],
        "href": "string",
        "id": "string",
        "interface_type": "string",
        "resource_type": "string",
        "virtual_network_interfaces": [{
            "allow_ip_spoofing": False,
            "auto_delete": False,
            "enable_infrastructure_nat": False,
            "id": "string",
            "ips": [{
                "reserved_ip": "string",
                "address": "string",
                "auto_delete": False,
                "deleteds": [{
                    "more_info": "string",
                }],
                "href": "string",
                "name": "string",
                "resource_type": "string",
            }],
            "name": "string",
            "primary_ips": [{
                "address": "string",
                "deleteds": [{
                    "more_info": "string",
                }],
                "href": "string",
                "name": "string",
                "reserved_ip": "string",
                "resource_type": "string",
            }],
            "protocol_state_filtering_mode": "string",
            "resource_group": "string",
            "resource_type": "string",
            "security_groups": ["string"],
            "subnet": "string",
        }],
        "vlan": 0,
    }],
    access_tags=["string"],
    primary_network_attachment={
        "allow_interface_to_float": False,
        "allowed_vlans": [0],
        "deleteds": [{
            "more_info": "string",
        }],
        "href": "string",
        "id": "string",
        "interface_type": "string",
        "name": "string",
        "resource_type": "string",
        "virtual_network_interface": {
            "allow_ip_spoofing": False,
            "auto_delete": False,
            "enable_infrastructure_nat": False,
            "id": "string",
            "ips": [{
                "reserved_ip": "string",
                "address": "string",
                "auto_delete": False,
                "deleteds": [{
                    "more_info": "string",
                }],
                "href": "string",
                "name": "string",
                "resource_type": "string",
            }],
            "name": "string",
            "primary_ip": {
                "address": "string",
                "deleteds": [{
                    "more_info": "string",
                }],
                "href": "string",
                "name": "string",
                "reserved_ip": "string",
                "resource_type": "string",
            },
            "protocol_state_filtering_mode": "string",
            "resource_group": "string",
            "resource_type": "string",
            "security_groups": ["string"],
            "subnet": "string",
        },
        "vlan": 0,
    },
    primary_network_interface={
        "subnet": "string",
        "allow_ip_spoofing": False,
        "allowed_vlans": [0],
        "enable_infrastructure_nat": False,
        "href": "string",
        "id": "string",
        "interface_type": "string",
        "name": "string",
        "port_speed": 0,
        "primary_ip": {
            "address": "string",
            "auto_delete": False,
            "href": "string",
            "name": "string",
            "reserved_ip": "string",
            "resource_type": "string",
        },
        "security_groups": ["string"],
    },
    enable_secure_boot=False,
    reservation_affinities=[{
        "policy": "string",
        "pools": [{
            "crn": "string",
            "deleteds": [{
                "more_info": "string",
            }],
            "href": "string",
            "id": "string",
            "name": "string",
            "resource_type": "string",
        }],
    }],
    resource_group="string",
    tags=["string"],
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    },
    trusted_platform_module={
        "enabled": False,
        "mode": "string",
        "supported_modes": ["string"],
    },
    user_data="string",
    vpc="string",
    action="string")
Copy
const isBareMetalServerResource = new ibm.IsBareMetalServer("isBareMetalServerResource", {
    image: "string",
    zone: "string",
    profile: "string",
    keys: ["string"],
    networkInterfaces: [{
        name: "string",
        subnet: "string",
        interfaceType: "string",
        enableInfrastructureNat: false,
        href: "string",
        id: "string",
        allowInterfaceToFloat: false,
        allowedVlans: [0],
        portSpeed: 0,
        primaryIp: {
            address: "string",
            autoDelete: false,
            href: "string",
            name: "string",
            reservedIp: "string",
            resourceType: "string",
        },
        securityGroups: ["string"],
        allowIpSpoofing: false,
        vlan: 0,
    }],
    bandwidth: 0,
    isBareMetalServerId: "string",
    deleteType: "string",
    name: "string",
    networkAttachments: [{
        name: "string",
        allowToFloat: false,
        allowedVlans: [0],
        deleteds: [{
            moreInfo: "string",
        }],
        href: "string",
        id: "string",
        interfaceType: "string",
        resourceType: "string",
        virtualNetworkInterfaces: [{
            allowIpSpoofing: false,
            autoDelete: false,
            enableInfrastructureNat: false,
            id: "string",
            ips: [{
                reservedIp: "string",
                address: "string",
                autoDelete: false,
                deleteds: [{
                    moreInfo: "string",
                }],
                href: "string",
                name: "string",
                resourceType: "string",
            }],
            name: "string",
            primaryIps: [{
                address: "string",
                deleteds: [{
                    moreInfo: "string",
                }],
                href: "string",
                name: "string",
                reservedIp: "string",
                resourceType: "string",
            }],
            protocolStateFilteringMode: "string",
            resourceGroup: "string",
            resourceType: "string",
            securityGroups: ["string"],
            subnet: "string",
        }],
        vlan: 0,
    }],
    accessTags: ["string"],
    primaryNetworkAttachment: {
        allowInterfaceToFloat: false,
        allowedVlans: [0],
        deleteds: [{
            moreInfo: "string",
        }],
        href: "string",
        id: "string",
        interfaceType: "string",
        name: "string",
        resourceType: "string",
        virtualNetworkInterface: {
            allowIpSpoofing: false,
            autoDelete: false,
            enableInfrastructureNat: false,
            id: "string",
            ips: [{
                reservedIp: "string",
                address: "string",
                autoDelete: false,
                deleteds: [{
                    moreInfo: "string",
                }],
                href: "string",
                name: "string",
                resourceType: "string",
            }],
            name: "string",
            primaryIp: {
                address: "string",
                deleteds: [{
                    moreInfo: "string",
                }],
                href: "string",
                name: "string",
                reservedIp: "string",
                resourceType: "string",
            },
            protocolStateFilteringMode: "string",
            resourceGroup: "string",
            resourceType: "string",
            securityGroups: ["string"],
            subnet: "string",
        },
        vlan: 0,
    },
    primaryNetworkInterface: {
        subnet: "string",
        allowIpSpoofing: false,
        allowedVlans: [0],
        enableInfrastructureNat: false,
        href: "string",
        id: "string",
        interfaceType: "string",
        name: "string",
        portSpeed: 0,
        primaryIp: {
            address: "string",
            autoDelete: false,
            href: "string",
            name: "string",
            reservedIp: "string",
            resourceType: "string",
        },
        securityGroups: ["string"],
    },
    enableSecureBoot: false,
    reservationAffinities: [{
        policy: "string",
        pools: [{
            crn: "string",
            deleteds: [{
                moreInfo: "string",
            }],
            href: "string",
            id: "string",
            name: "string",
            resourceType: "string",
        }],
    }],
    resourceGroup: "string",
    tags: ["string"],
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
    trustedPlatformModule: {
        enabled: false,
        mode: "string",
        supportedModes: ["string"],
    },
    userData: "string",
    vpc: "string",
    action: "string",
});
Copy
type: ibm:IsBareMetalServer
properties:
    accessTags:
        - string
    action: string
    bandwidth: 0
    deleteType: string
    enableSecureBoot: false
    image: string
    isBareMetalServerId: string
    keys:
        - string
    name: string
    networkAttachments:
        - allowToFloat: false
          allowedVlans:
            - 0
          deleteds:
            - moreInfo: string
          href: string
          id: string
          interfaceType: string
          name: string
          resourceType: string
          virtualNetworkInterfaces:
            - allowIpSpoofing: false
              autoDelete: false
              enableInfrastructureNat: false
              id: string
              ips:
                - address: string
                  autoDelete: false
                  deleteds:
                    - moreInfo: string
                  href: string
                  name: string
                  reservedIp: string
                  resourceType: string
              name: string
              primaryIps:
                - address: string
                  deleteds:
                    - moreInfo: string
                  href: string
                  name: string
                  reservedIp: string
                  resourceType: string
              protocolStateFilteringMode: string
              resourceGroup: string
              resourceType: string
              securityGroups:
                - string
              subnet: string
          vlan: 0
    networkInterfaces:
        - allowInterfaceToFloat: false
          allowIpSpoofing: false
          allowedVlans:
            - 0
          enableInfrastructureNat: false
          href: string
          id: string
          interfaceType: string
          name: string
          portSpeed: 0
          primaryIp:
            address: string
            autoDelete: false
            href: string
            name: string
            reservedIp: string
            resourceType: string
          securityGroups:
            - string
          subnet: string
          vlan: 0
    primaryNetworkAttachment:
        allowInterfaceToFloat: false
        allowedVlans:
            - 0
        deleteds:
            - moreInfo: string
        href: string
        id: string
        interfaceType: string
        name: string
        resourceType: string
        virtualNetworkInterface:
            allowIpSpoofing: false
            autoDelete: false
            enableInfrastructureNat: false
            id: string
            ips:
                - address: string
                  autoDelete: false
                  deleteds:
                    - moreInfo: string
                  href: string
                  name: string
                  reservedIp: string
                  resourceType: string
            name: string
            primaryIp:
                address: string
                deleteds:
                    - moreInfo: string
                href: string
                name: string
                reservedIp: string
                resourceType: string
            protocolStateFilteringMode: string
            resourceGroup: string
            resourceType: string
            securityGroups:
                - string
            subnet: string
        vlan: 0
    primaryNetworkInterface:
        allowIpSpoofing: false
        allowedVlans:
            - 0
        enableInfrastructureNat: false
        href: string
        id: string
        interfaceType: string
        name: string
        portSpeed: 0
        primaryIp:
            address: string
            autoDelete: false
            href: string
            name: string
            reservedIp: string
            resourceType: string
        securityGroups:
            - string
        subnet: string
    profile: string
    reservationAffinities:
        - policy: string
          pools:
            - crn: string
              deleteds:
                - moreInfo: string
              href: string
              id: string
              name: string
              resourceType: string
    resourceGroup: string
    tags:
        - string
    timeouts:
        create: string
        delete: string
        update: string
    trustedPlatformModule:
        enabled: false
        mode: string
        supportedModes:
            - string
    userData: string
    vpc: string
    zone: string
Copy

IsBareMetalServer 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 IsBareMetalServer resource accepts the following input properties:

Image This property is required. string

ID of the image. ( On update of image, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

Keys This property is required. List<string>

Comma separated IDs of ssh keys. ( On update of keys, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

Note: ed25519 can only be used if the operating system supports this key type. ed25519 can't be used with Windows or VMware images.

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

Profile This property is required. string
The name the profile to use for this bare metal server.
Zone This property is required. string
Zone name
AccessTags List<string>

A list of access management tags to attach to the bare metal server.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

Action string
This restart/start/stops a bare metal server.
Bandwidth double
The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
DeleteType string
Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its hard.
EnableSecureBoot bool
Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating enable_secure_boot requires the server to be stopped and then it would be started.
IsBareMetalServerId string
The unique identifier for this reservation
Name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

NetworkAttachments List<IsBareMetalServerNetworkAttachment>
The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
NetworkInterfaces List<IsBareMetalServerNetworkInterface>

The additional network interfaces to create for the bare metal server to this bare metal server. Use ibm.IsBareMetalServerNetworkInterface & ibm.IsBareMetalServerNetworkInterfaceAllowFloat resource for network interfaces.

NOTE: creating network interfaces both inline with ibm.IsBareMetalServer & as a separate ibm.IsBareMetalServerNetworkInterface resource, will show change alternatively on both resources, to avoid this use ibm.IsBareMetalServerNetworkInterface for creating network interfaces.

Nested scheme for network_interfaces:

PrimaryNetworkAttachment IsBareMetalServerPrimaryNetworkAttachment
The primary network attachment. Nested schema for primary_network_attachment:
PrimaryNetworkInterface IsBareMetalServerPrimaryNetworkInterface

A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.

Nested scheme for primary_network_interface:

ReservationAffinities List<IsBareMetalServerReservationAffinity>
(Optional, List) The reservation affinity for the bare metal server Nested scheme for reservation_affinity:
ResourceGroup string
Resource group name
Tags List<string>
Tags for the Bare metal server
Timeouts IsBareMetalServerTimeouts
TrustedPlatformModule IsBareMetalServerTrustedPlatformModule
(List) trusted platform module (TPM) configuration for this bare metal server
UserData string
User data given for the bare metal server
Vpc string
The VPC the bare metal server is to be a part of
Image This property is required. string

ID of the image. ( On update of image, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

Keys This property is required. []string

Comma separated IDs of ssh keys. ( On update of keys, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

Note: ed25519 can only be used if the operating system supports this key type. ed25519 can't be used with Windows or VMware images.

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

Profile This property is required. string
The name the profile to use for this bare metal server.
Zone This property is required. string
Zone name
AccessTags []string

A list of access management tags to attach to the bare metal server.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

Action string
This restart/start/stops a bare metal server.
Bandwidth float64
The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
DeleteType string
Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its hard.
EnableSecureBoot bool
Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating enable_secure_boot requires the server to be stopped and then it would be started.
IsBareMetalServerId string
The unique identifier for this reservation
Name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

NetworkAttachments []IsBareMetalServerNetworkAttachmentTypeArgs
The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
NetworkInterfaces []IsBareMetalServerNetworkInterfaceTypeArgs

The additional network interfaces to create for the bare metal server to this bare metal server. Use ibm.IsBareMetalServerNetworkInterface & ibm.IsBareMetalServerNetworkInterfaceAllowFloat resource for network interfaces.

NOTE: creating network interfaces both inline with ibm.IsBareMetalServer & as a separate ibm.IsBareMetalServerNetworkInterface resource, will show change alternatively on both resources, to avoid this use ibm.IsBareMetalServerNetworkInterface for creating network interfaces.

Nested scheme for network_interfaces:

PrimaryNetworkAttachment IsBareMetalServerPrimaryNetworkAttachmentArgs
The primary network attachment. Nested schema for primary_network_attachment:
PrimaryNetworkInterface IsBareMetalServerPrimaryNetworkInterfaceArgs

A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.

Nested scheme for primary_network_interface:

ReservationAffinities []IsBareMetalServerReservationAffinityArgs
(Optional, List) The reservation affinity for the bare metal server Nested scheme for reservation_affinity:
ResourceGroup string
Resource group name
Tags []string
Tags for the Bare metal server
Timeouts IsBareMetalServerTimeoutsArgs
TrustedPlatformModule IsBareMetalServerTrustedPlatformModuleArgs
(List) trusted platform module (TPM) configuration for this bare metal server
UserData string
User data given for the bare metal server
Vpc string
The VPC the bare metal server is to be a part of
image This property is required. String

ID of the image. ( On update of image, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

keys This property is required. List<String>

Comma separated IDs of ssh keys. ( On update of keys, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

Note: ed25519 can only be used if the operating system supports this key type. ed25519 can't be used with Windows or VMware images.

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

profile This property is required. String
The name the profile to use for this bare metal server.
zone This property is required. String
Zone name
accessTags List<String>

A list of access management tags to attach to the bare metal server.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

action String
This restart/start/stops a bare metal server.
bandwidth Double
The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
deleteType String
Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its hard.
enableSecureBoot Boolean
Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating enable_secure_boot requires the server to be stopped and then it would be started.
isBareMetalServerId String
The unique identifier for this reservation
name String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

networkAttachments List<IsBareMetalServerNetworkAttachment>
The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
networkInterfaces List<IsBareMetalServerNetworkInterface>

The additional network interfaces to create for the bare metal server to this bare metal server. Use ibm.IsBareMetalServerNetworkInterface & ibm.IsBareMetalServerNetworkInterfaceAllowFloat resource for network interfaces.

NOTE: creating network interfaces both inline with ibm.IsBareMetalServer & as a separate ibm.IsBareMetalServerNetworkInterface resource, will show change alternatively on both resources, to avoid this use ibm.IsBareMetalServerNetworkInterface for creating network interfaces.

Nested scheme for network_interfaces:

primaryNetworkAttachment IsBareMetalServerPrimaryNetworkAttachment
The primary network attachment. Nested schema for primary_network_attachment:
primaryNetworkInterface IsBareMetalServerPrimaryNetworkInterface

A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.

Nested scheme for primary_network_interface:

reservationAffinities List<IsBareMetalServerReservationAffinity>
(Optional, List) The reservation affinity for the bare metal server Nested scheme for reservation_affinity:
resourceGroup String
Resource group name
tags List<String>
Tags for the Bare metal server
timeouts IsBareMetalServerTimeouts
trustedPlatformModule IsBareMetalServerTrustedPlatformModule
(List) trusted platform module (TPM) configuration for this bare metal server
userData String
User data given for the bare metal server
vpc String
The VPC the bare metal server is to be a part of
image This property is required. string

ID of the image. ( On update of image, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

keys This property is required. string[]

Comma separated IDs of ssh keys. ( On update of keys, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

Note: ed25519 can only be used if the operating system supports this key type. ed25519 can't be used with Windows or VMware images.

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

profile This property is required. string
The name the profile to use for this bare metal server.
zone This property is required. string
Zone name
accessTags string[]

A list of access management tags to attach to the bare metal server.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

action string
This restart/start/stops a bare metal server.
bandwidth number
The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
deleteType string
Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its hard.
enableSecureBoot boolean
Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating enable_secure_boot requires the server to be stopped and then it would be started.
isBareMetalServerId string
The unique identifier for this reservation
name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

networkAttachments IsBareMetalServerNetworkAttachment[]
The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
networkInterfaces IsBareMetalServerNetworkInterface[]

The additional network interfaces to create for the bare metal server to this bare metal server. Use ibm.IsBareMetalServerNetworkInterface & ibm.IsBareMetalServerNetworkInterfaceAllowFloat resource for network interfaces.

NOTE: creating network interfaces both inline with ibm.IsBareMetalServer & as a separate ibm.IsBareMetalServerNetworkInterface resource, will show change alternatively on both resources, to avoid this use ibm.IsBareMetalServerNetworkInterface for creating network interfaces.

Nested scheme for network_interfaces:

primaryNetworkAttachment IsBareMetalServerPrimaryNetworkAttachment
The primary network attachment. Nested schema for primary_network_attachment:
primaryNetworkInterface IsBareMetalServerPrimaryNetworkInterface

A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.

Nested scheme for primary_network_interface:

reservationAffinities IsBareMetalServerReservationAffinity[]
(Optional, List) The reservation affinity for the bare metal server Nested scheme for reservation_affinity:
resourceGroup string
Resource group name
tags string[]
Tags for the Bare metal server
timeouts IsBareMetalServerTimeouts
trustedPlatformModule IsBareMetalServerTrustedPlatformModule
(List) trusted platform module (TPM) configuration for this bare metal server
userData string
User data given for the bare metal server
vpc string
The VPC the bare metal server is to be a part of
image This property is required. str

ID of the image. ( On update of image, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

keys This property is required. Sequence[str]

Comma separated IDs of ssh keys. ( On update of keys, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

Note: ed25519 can only be used if the operating system supports this key type. ed25519 can't be used with Windows or VMware images.

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

profile This property is required. str
The name the profile to use for this bare metal server.
zone This property is required. str
Zone name
access_tags Sequence[str]

A list of access management tags to attach to the bare metal server.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

action str
This restart/start/stops a bare metal server.
bandwidth float
The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
delete_type str
Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its hard.
enable_secure_boot bool
Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating enable_secure_boot requires the server to be stopped and then it would be started.
is_bare_metal_server_id str
The unique identifier for this reservation
name str

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

network_attachments Sequence[IsBareMetalServerNetworkAttachmentArgs]
The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
network_interfaces Sequence[IsBareMetalServerNetworkInterfaceArgs]

The additional network interfaces to create for the bare metal server to this bare metal server. Use ibm.IsBareMetalServerNetworkInterface & ibm.IsBareMetalServerNetworkInterfaceAllowFloat resource for network interfaces.

NOTE: creating network interfaces both inline with ibm.IsBareMetalServer & as a separate ibm.IsBareMetalServerNetworkInterface resource, will show change alternatively on both resources, to avoid this use ibm.IsBareMetalServerNetworkInterface for creating network interfaces.

Nested scheme for network_interfaces:

primary_network_attachment IsBareMetalServerPrimaryNetworkAttachmentArgs
The primary network attachment. Nested schema for primary_network_attachment:
primary_network_interface IsBareMetalServerPrimaryNetworkInterfaceArgs

A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.

Nested scheme for primary_network_interface:

reservation_affinities Sequence[IsBareMetalServerReservationAffinityArgs]
(Optional, List) The reservation affinity for the bare metal server Nested scheme for reservation_affinity:
resource_group str
Resource group name
tags Sequence[str]
Tags for the Bare metal server
timeouts IsBareMetalServerTimeoutsArgs
trusted_platform_module IsBareMetalServerTrustedPlatformModuleArgs
(List) trusted platform module (TPM) configuration for this bare metal server
user_data str
User data given for the bare metal server
vpc str
The VPC the bare metal server is to be a part of
image This property is required. String

ID of the image. ( On update of image, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

keys This property is required. List<String>

Comma separated IDs of ssh keys. ( On update of keys, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

Note: ed25519 can only be used if the operating system supports this key type. ed25519 can't be used with Windows or VMware images.

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

profile This property is required. String
The name the profile to use for this bare metal server.
zone This property is required. String
Zone name
accessTags List<String>

A list of access management tags to attach to the bare metal server.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

action String
This restart/start/stops a bare metal server.
bandwidth Number
The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
deleteType String
Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its hard.
enableSecureBoot Boolean
Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating enable_secure_boot requires the server to be stopped and then it would be started.
isBareMetalServerId String
The unique identifier for this reservation
name String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

networkAttachments List<Property Map>
The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
networkInterfaces List<Property Map>

The additional network interfaces to create for the bare metal server to this bare metal server. Use ibm.IsBareMetalServerNetworkInterface & ibm.IsBareMetalServerNetworkInterfaceAllowFloat resource for network interfaces.

NOTE: creating network interfaces both inline with ibm.IsBareMetalServer & as a separate ibm.IsBareMetalServerNetworkInterface resource, will show change alternatively on both resources, to avoid this use ibm.IsBareMetalServerNetworkInterface for creating network interfaces.

Nested scheme for network_interfaces:

primaryNetworkAttachment Property Map
The primary network attachment. Nested schema for primary_network_attachment:
primaryNetworkInterface Property Map

A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.

Nested scheme for primary_network_interface:

reservationAffinities List<Property Map>
(Optional, List) The reservation affinity for the bare metal server Nested scheme for reservation_affinity:
resourceGroup String
Resource group name
tags List<String>
Tags for the Bare metal server
timeouts Property Map
trustedPlatformModule Property Map
(List) trusted platform module (TPM) configuration for this bare metal server
userData String
User data given for the bare metal server
vpc String
The VPC the bare metal server is to be a part of

Outputs

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

BootTarget string
(String) The unique identifier for this bare metal server disk.
Cpus List<IsBareMetalServerCpus>
(String) A nested block describing the CPU configuration of this bare metal server.
Crn string
(String) The CRN for this bare metal server
Disks List<IsBareMetalServerDisk>
The disks for this bare metal server, including any disks that are associated with the boot_target.
FirmwareUpdateTypeAvailable string

(String) The firmware update type available for the bare metal server.

Supported firmware update types • none • optional • required

HealthReasons List<IsBareMetalServerHealthReason>

The reasons for the current health_state (if any).

Nested scheme for health_reasons:

HealthState string
The health of this resource.
Href string
(String) The URL for this bare metal server
Id string
The provider-assigned unique ID for this managed resource.
Memory double
(Integer) The amount of memory, truncated to whole gibibytes
Reservations List<IsBareMetalServerReservation>
The reservation used by this bare metal server. Nested scheme for reservation:
ResourceType string
(String) The type of resource.
Status string
(String) The status of the bare metal server.
StatusReasons List<IsBareMetalServerStatusReason>
(List) Array of reasons for the current status (if any).
BootTarget string
(String) The unique identifier for this bare metal server disk.
Cpus []IsBareMetalServerCpus
(String) A nested block describing the CPU configuration of this bare metal server.
Crn string
(String) The CRN for this bare metal server
Disks []IsBareMetalServerDiskType
The disks for this bare metal server, including any disks that are associated with the boot_target.
FirmwareUpdateTypeAvailable string

(String) The firmware update type available for the bare metal server.

Supported firmware update types • none • optional • required

HealthReasons []IsBareMetalServerHealthReason

The reasons for the current health_state (if any).

Nested scheme for health_reasons:

HealthState string
The health of this resource.
Href string
(String) The URL for this bare metal server
Id string
The provider-assigned unique ID for this managed resource.
Memory float64
(Integer) The amount of memory, truncated to whole gibibytes
Reservations []IsBareMetalServerReservation
The reservation used by this bare metal server. Nested scheme for reservation:
ResourceType string
(String) The type of resource.
Status string
(String) The status of the bare metal server.
StatusReasons []IsBareMetalServerStatusReason
(List) Array of reasons for the current status (if any).
bootTarget String
(String) The unique identifier for this bare metal server disk.
cpus List<IsBareMetalServerCpus>
(String) A nested block describing the CPU configuration of this bare metal server.
crn String
(String) The CRN for this bare metal server
disks List<IsBareMetalServerDisk>
The disks for this bare metal server, including any disks that are associated with the boot_target.
firmwareUpdateTypeAvailable String

(String) The firmware update type available for the bare metal server.

Supported firmware update types • none • optional • required

healthReasons List<IsBareMetalServerHealthReason>

The reasons for the current health_state (if any).

Nested scheme for health_reasons:

healthState String
The health of this resource.
href String
(String) The URL for this bare metal server
id String
The provider-assigned unique ID for this managed resource.
memory Double
(Integer) The amount of memory, truncated to whole gibibytes
reservations List<IsBareMetalServerReservation>
The reservation used by this bare metal server. Nested scheme for reservation:
resourceType String
(String) The type of resource.
status String
(String) The status of the bare metal server.
statusReasons List<IsBareMetalServerStatusReason>
(List) Array of reasons for the current status (if any).
bootTarget string
(String) The unique identifier for this bare metal server disk.
cpus IsBareMetalServerCpus[]
(String) A nested block describing the CPU configuration of this bare metal server.
crn string
(String) The CRN for this bare metal server
disks IsBareMetalServerDisk[]
The disks for this bare metal server, including any disks that are associated with the boot_target.
firmwareUpdateTypeAvailable string

(String) The firmware update type available for the bare metal server.

Supported firmware update types • none • optional • required

healthReasons IsBareMetalServerHealthReason[]

The reasons for the current health_state (if any).

Nested scheme for health_reasons:

healthState string
The health of this resource.
href string
(String) The URL for this bare metal server
id string
The provider-assigned unique ID for this managed resource.
memory number
(Integer) The amount of memory, truncated to whole gibibytes
reservations IsBareMetalServerReservation[]
The reservation used by this bare metal server. Nested scheme for reservation:
resourceType string
(String) The type of resource.
status string
(String) The status of the bare metal server.
statusReasons IsBareMetalServerStatusReason[]
(List) Array of reasons for the current status (if any).
boot_target str
(String) The unique identifier for this bare metal server disk.
cpus Sequence[IsBareMetalServerCpus]
(String) A nested block describing the CPU configuration of this bare metal server.
crn str
(String) The CRN for this bare metal server
disks Sequence[IsBareMetalServerDisk]
The disks for this bare metal server, including any disks that are associated with the boot_target.
firmware_update_type_available str

(String) The firmware update type available for the bare metal server.

Supported firmware update types • none • optional • required

health_reasons Sequence[IsBareMetalServerHealthReason]

The reasons for the current health_state (if any).

Nested scheme for health_reasons:

health_state str
The health of this resource.
href str
(String) The URL for this bare metal server
id str
The provider-assigned unique ID for this managed resource.
memory float
(Integer) The amount of memory, truncated to whole gibibytes
reservations Sequence[IsBareMetalServerReservation]
The reservation used by this bare metal server. Nested scheme for reservation:
resource_type str
(String) The type of resource.
status str
(String) The status of the bare metal server.
status_reasons Sequence[IsBareMetalServerStatusReason]
(List) Array of reasons for the current status (if any).
bootTarget String
(String) The unique identifier for this bare metal server disk.
cpus List<Property Map>
(String) A nested block describing the CPU configuration of this bare metal server.
crn String
(String) The CRN for this bare metal server
disks List<Property Map>
The disks for this bare metal server, including any disks that are associated with the boot_target.
firmwareUpdateTypeAvailable String

(String) The firmware update type available for the bare metal server.

Supported firmware update types • none • optional • required

healthReasons List<Property Map>

The reasons for the current health_state (if any).

Nested scheme for health_reasons:

healthState String
The health of this resource.
href String
(String) The URL for this bare metal server
id String
The provider-assigned unique ID for this managed resource.
memory Number
(Integer) The amount of memory, truncated to whole gibibytes
reservations List<Property Map>
The reservation used by this bare metal server. Nested scheme for reservation:
resourceType String
(String) The type of resource.
status String
(String) The status of the bare metal server.
statusReasons List<Property Map>
(List) Array of reasons for the current status (if any).

Look up Existing IsBareMetalServer Resource

Get an existing IsBareMetalServer 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?: IsBareMetalServerState, opts?: CustomResourceOptions): IsBareMetalServer
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access_tags: Optional[Sequence[str]] = None,
        action: Optional[str] = None,
        bandwidth: Optional[float] = None,
        boot_target: Optional[str] = None,
        cpus: Optional[Sequence[IsBareMetalServerCpusArgs]] = None,
        crn: Optional[str] = None,
        delete_type: Optional[str] = None,
        disks: Optional[Sequence[IsBareMetalServerDiskArgs]] = None,
        enable_secure_boot: Optional[bool] = None,
        firmware_update_type_available: Optional[str] = None,
        health_reasons: Optional[Sequence[IsBareMetalServerHealthReasonArgs]] = None,
        health_state: Optional[str] = None,
        href: Optional[str] = None,
        image: Optional[str] = None,
        is_bare_metal_server_id: Optional[str] = None,
        keys: Optional[Sequence[str]] = None,
        memory: Optional[float] = None,
        name: Optional[str] = None,
        network_attachments: Optional[Sequence[IsBareMetalServerNetworkAttachmentArgs]] = None,
        network_interfaces: Optional[Sequence[IsBareMetalServerNetworkInterfaceArgs]] = None,
        primary_network_attachment: Optional[IsBareMetalServerPrimaryNetworkAttachmentArgs] = None,
        primary_network_interface: Optional[IsBareMetalServerPrimaryNetworkInterfaceArgs] = None,
        profile: Optional[str] = None,
        reservation_affinities: Optional[Sequence[IsBareMetalServerReservationAffinityArgs]] = None,
        reservations: Optional[Sequence[IsBareMetalServerReservationArgs]] = None,
        resource_group: Optional[str] = None,
        resource_type: Optional[str] = None,
        status: Optional[str] = None,
        status_reasons: Optional[Sequence[IsBareMetalServerStatusReasonArgs]] = None,
        tags: Optional[Sequence[str]] = None,
        timeouts: Optional[IsBareMetalServerTimeoutsArgs] = None,
        trusted_platform_module: Optional[IsBareMetalServerTrustedPlatformModuleArgs] = None,
        user_data: Optional[str] = None,
        vpc: Optional[str] = None,
        zone: Optional[str] = None) -> IsBareMetalServer
func GetIsBareMetalServer(ctx *Context, name string, id IDInput, state *IsBareMetalServerState, opts ...ResourceOption) (*IsBareMetalServer, error)
public static IsBareMetalServer Get(string name, Input<string> id, IsBareMetalServerState? state, CustomResourceOptions? opts = null)
public static IsBareMetalServer get(String name, Output<String> id, IsBareMetalServerState state, CustomResourceOptions options)
resources:  _:    type: ibm:IsBareMetalServer    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AccessTags List<string>

A list of access management tags to attach to the bare metal server.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

Action string
This restart/start/stops a bare metal server.
Bandwidth double
The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
BootTarget string
(String) The unique identifier for this bare metal server disk.
Cpus List<IsBareMetalServerCpus>
(String) A nested block describing the CPU configuration of this bare metal server.
Crn string
(String) The CRN for this bare metal server
DeleteType string
Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its hard.
Disks List<IsBareMetalServerDisk>
The disks for this bare metal server, including any disks that are associated with the boot_target.
EnableSecureBoot bool
Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating enable_secure_boot requires the server to be stopped and then it would be started.
FirmwareUpdateTypeAvailable string

(String) The firmware update type available for the bare metal server.

Supported firmware update types • none • optional • required

HealthReasons List<IsBareMetalServerHealthReason>

The reasons for the current health_state (if any).

Nested scheme for health_reasons:

HealthState string
The health of this resource.
Href string
(String) The URL for this bare metal server
Image string

ID of the image. ( On update of image, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

IsBareMetalServerId string
The unique identifier for this reservation
Keys List<string>

Comma separated IDs of ssh keys. ( On update of keys, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

Note: ed25519 can only be used if the operating system supports this key type. ed25519 can't be used with Windows or VMware images.

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

Memory double
(Integer) The amount of memory, truncated to whole gibibytes
Name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

NetworkAttachments List<IsBareMetalServerNetworkAttachment>
The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
NetworkInterfaces List<IsBareMetalServerNetworkInterface>

The additional network interfaces to create for the bare metal server to this bare metal server. Use ibm.IsBareMetalServerNetworkInterface & ibm.IsBareMetalServerNetworkInterfaceAllowFloat resource for network interfaces.

NOTE: creating network interfaces both inline with ibm.IsBareMetalServer & as a separate ibm.IsBareMetalServerNetworkInterface resource, will show change alternatively on both resources, to avoid this use ibm.IsBareMetalServerNetworkInterface for creating network interfaces.

Nested scheme for network_interfaces:

PrimaryNetworkAttachment IsBareMetalServerPrimaryNetworkAttachment
The primary network attachment. Nested schema for primary_network_attachment:
PrimaryNetworkInterface IsBareMetalServerPrimaryNetworkInterface

A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.

Nested scheme for primary_network_interface:

Profile string
The name the profile to use for this bare metal server.
ReservationAffinities List<IsBareMetalServerReservationAffinity>
(Optional, List) The reservation affinity for the bare metal server Nested scheme for reservation_affinity:
Reservations List<IsBareMetalServerReservation>
The reservation used by this bare metal server. Nested scheme for reservation:
ResourceGroup string
Resource group name
ResourceType string
(String) The type of resource.
Status string
(String) The status of the bare metal server.
StatusReasons List<IsBareMetalServerStatusReason>
(List) Array of reasons for the current status (if any).
Tags List<string>
Tags for the Bare metal server
Timeouts IsBareMetalServerTimeouts
TrustedPlatformModule IsBareMetalServerTrustedPlatformModule
(List) trusted platform module (TPM) configuration for this bare metal server
UserData string
User data given for the bare metal server
Vpc string
The VPC the bare metal server is to be a part of
Zone string
Zone name
AccessTags []string

A list of access management tags to attach to the bare metal server.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

Action string
This restart/start/stops a bare metal server.
Bandwidth float64
The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
BootTarget string
(String) The unique identifier for this bare metal server disk.
Cpus []IsBareMetalServerCpusArgs
(String) A nested block describing the CPU configuration of this bare metal server.
Crn string
(String) The CRN for this bare metal server
DeleteType string
Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its hard.
Disks []IsBareMetalServerDiskTypeArgs
The disks for this bare metal server, including any disks that are associated with the boot_target.
EnableSecureBoot bool
Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating enable_secure_boot requires the server to be stopped and then it would be started.
FirmwareUpdateTypeAvailable string

(String) The firmware update type available for the bare metal server.

Supported firmware update types • none • optional • required

HealthReasons []IsBareMetalServerHealthReasonArgs

The reasons for the current health_state (if any).

Nested scheme for health_reasons:

HealthState string
The health of this resource.
Href string
(String) The URL for this bare metal server
Image string

ID of the image. ( On update of image, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

IsBareMetalServerId string
The unique identifier for this reservation
Keys []string

Comma separated IDs of ssh keys. ( On update of keys, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

Note: ed25519 can only be used if the operating system supports this key type. ed25519 can't be used with Windows or VMware images.

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

Memory float64
(Integer) The amount of memory, truncated to whole gibibytes
Name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

NetworkAttachments []IsBareMetalServerNetworkAttachmentTypeArgs
The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
NetworkInterfaces []IsBareMetalServerNetworkInterfaceTypeArgs

The additional network interfaces to create for the bare metal server to this bare metal server. Use ibm.IsBareMetalServerNetworkInterface & ibm.IsBareMetalServerNetworkInterfaceAllowFloat resource for network interfaces.

NOTE: creating network interfaces both inline with ibm.IsBareMetalServer & as a separate ibm.IsBareMetalServerNetworkInterface resource, will show change alternatively on both resources, to avoid this use ibm.IsBareMetalServerNetworkInterface for creating network interfaces.

Nested scheme for network_interfaces:

PrimaryNetworkAttachment IsBareMetalServerPrimaryNetworkAttachmentArgs
The primary network attachment. Nested schema for primary_network_attachment:
PrimaryNetworkInterface IsBareMetalServerPrimaryNetworkInterfaceArgs

A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.

Nested scheme for primary_network_interface:

Profile string
The name the profile to use for this bare metal server.
ReservationAffinities []IsBareMetalServerReservationAffinityArgs
(Optional, List) The reservation affinity for the bare metal server Nested scheme for reservation_affinity:
Reservations []IsBareMetalServerReservationArgs
The reservation used by this bare metal server. Nested scheme for reservation:
ResourceGroup string
Resource group name
ResourceType string
(String) The type of resource.
Status string
(String) The status of the bare metal server.
StatusReasons []IsBareMetalServerStatusReasonArgs
(List) Array of reasons for the current status (if any).
Tags []string
Tags for the Bare metal server
Timeouts IsBareMetalServerTimeoutsArgs
TrustedPlatformModule IsBareMetalServerTrustedPlatformModuleArgs
(List) trusted platform module (TPM) configuration for this bare metal server
UserData string
User data given for the bare metal server
Vpc string
The VPC the bare metal server is to be a part of
Zone string
Zone name
accessTags List<String>

A list of access management tags to attach to the bare metal server.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

action String
This restart/start/stops a bare metal server.
bandwidth Double
The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
bootTarget String
(String) The unique identifier for this bare metal server disk.
cpus List<IsBareMetalServerCpus>
(String) A nested block describing the CPU configuration of this bare metal server.
crn String
(String) The CRN for this bare metal server
deleteType String
Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its hard.
disks List<IsBareMetalServerDisk>
The disks for this bare metal server, including any disks that are associated with the boot_target.
enableSecureBoot Boolean
Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating enable_secure_boot requires the server to be stopped and then it would be started.
firmwareUpdateTypeAvailable String

(String) The firmware update type available for the bare metal server.

Supported firmware update types • none • optional • required

healthReasons List<IsBareMetalServerHealthReason>

The reasons for the current health_state (if any).

Nested scheme for health_reasons:

healthState String
The health of this resource.
href String
(String) The URL for this bare metal server
image String

ID of the image. ( On update of image, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

isBareMetalServerId String
The unique identifier for this reservation
keys List<String>

Comma separated IDs of ssh keys. ( On update of keys, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

Note: ed25519 can only be used if the operating system supports this key type. ed25519 can't be used with Windows or VMware images.

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

memory Double
(Integer) The amount of memory, truncated to whole gibibytes
name String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

networkAttachments List<IsBareMetalServerNetworkAttachment>
The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
networkInterfaces List<IsBareMetalServerNetworkInterface>

The additional network interfaces to create for the bare metal server to this bare metal server. Use ibm.IsBareMetalServerNetworkInterface & ibm.IsBareMetalServerNetworkInterfaceAllowFloat resource for network interfaces.

NOTE: creating network interfaces both inline with ibm.IsBareMetalServer & as a separate ibm.IsBareMetalServerNetworkInterface resource, will show change alternatively on both resources, to avoid this use ibm.IsBareMetalServerNetworkInterface for creating network interfaces.

Nested scheme for network_interfaces:

primaryNetworkAttachment IsBareMetalServerPrimaryNetworkAttachment
The primary network attachment. Nested schema for primary_network_attachment:
primaryNetworkInterface IsBareMetalServerPrimaryNetworkInterface

A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.

Nested scheme for primary_network_interface:

profile String
The name the profile to use for this bare metal server.
reservationAffinities List<IsBareMetalServerReservationAffinity>
(Optional, List) The reservation affinity for the bare metal server Nested scheme for reservation_affinity:
reservations List<IsBareMetalServerReservation>
The reservation used by this bare metal server. Nested scheme for reservation:
resourceGroup String
Resource group name
resourceType String
(String) The type of resource.
status String
(String) The status of the bare metal server.
statusReasons List<IsBareMetalServerStatusReason>
(List) Array of reasons for the current status (if any).
tags List<String>
Tags for the Bare metal server
timeouts IsBareMetalServerTimeouts
trustedPlatformModule IsBareMetalServerTrustedPlatformModule
(List) trusted platform module (TPM) configuration for this bare metal server
userData String
User data given for the bare metal server
vpc String
The VPC the bare metal server is to be a part of
zone String
Zone name
accessTags string[]

A list of access management tags to attach to the bare metal server.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

action string
This restart/start/stops a bare metal server.
bandwidth number
The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
bootTarget string
(String) The unique identifier for this bare metal server disk.
cpus IsBareMetalServerCpus[]
(String) A nested block describing the CPU configuration of this bare metal server.
crn string
(String) The CRN for this bare metal server
deleteType string
Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its hard.
disks IsBareMetalServerDisk[]
The disks for this bare metal server, including any disks that are associated with the boot_target.
enableSecureBoot boolean
Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating enable_secure_boot requires the server to be stopped and then it would be started.
firmwareUpdateTypeAvailable string

(String) The firmware update type available for the bare metal server.

Supported firmware update types • none • optional • required

healthReasons IsBareMetalServerHealthReason[]

The reasons for the current health_state (if any).

Nested scheme for health_reasons:

healthState string
The health of this resource.
href string
(String) The URL for this bare metal server
image string

ID of the image. ( On update of image, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

isBareMetalServerId string
The unique identifier for this reservation
keys string[]

Comma separated IDs of ssh keys. ( On update of keys, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

Note: ed25519 can only be used if the operating system supports this key type. ed25519 can't be used with Windows or VMware images.

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

memory number
(Integer) The amount of memory, truncated to whole gibibytes
name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

networkAttachments IsBareMetalServerNetworkAttachment[]
The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
networkInterfaces IsBareMetalServerNetworkInterface[]

The additional network interfaces to create for the bare metal server to this bare metal server. Use ibm.IsBareMetalServerNetworkInterface & ibm.IsBareMetalServerNetworkInterfaceAllowFloat resource for network interfaces.

NOTE: creating network interfaces both inline with ibm.IsBareMetalServer & as a separate ibm.IsBareMetalServerNetworkInterface resource, will show change alternatively on both resources, to avoid this use ibm.IsBareMetalServerNetworkInterface for creating network interfaces.

Nested scheme for network_interfaces:

primaryNetworkAttachment IsBareMetalServerPrimaryNetworkAttachment
The primary network attachment. Nested schema for primary_network_attachment:
primaryNetworkInterface IsBareMetalServerPrimaryNetworkInterface

A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.

Nested scheme for primary_network_interface:

profile string
The name the profile to use for this bare metal server.
reservationAffinities IsBareMetalServerReservationAffinity[]
(Optional, List) The reservation affinity for the bare metal server Nested scheme for reservation_affinity:
reservations IsBareMetalServerReservation[]
The reservation used by this bare metal server. Nested scheme for reservation:
resourceGroup string
Resource group name
resourceType string
(String) The type of resource.
status string
(String) The status of the bare metal server.
statusReasons IsBareMetalServerStatusReason[]
(List) Array of reasons for the current status (if any).
tags string[]
Tags for the Bare metal server
timeouts IsBareMetalServerTimeouts
trustedPlatformModule IsBareMetalServerTrustedPlatformModule
(List) trusted platform module (TPM) configuration for this bare metal server
userData string
User data given for the bare metal server
vpc string
The VPC the bare metal server is to be a part of
zone string
Zone name
access_tags Sequence[str]

A list of access management tags to attach to the bare metal server.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

action str
This restart/start/stops a bare metal server.
bandwidth float
The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
boot_target str
(String) The unique identifier for this bare metal server disk.
cpus Sequence[IsBareMetalServerCpusArgs]
(String) A nested block describing the CPU configuration of this bare metal server.
crn str
(String) The CRN for this bare metal server
delete_type str
Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its hard.
disks Sequence[IsBareMetalServerDiskArgs]
The disks for this bare metal server, including any disks that are associated with the boot_target.
enable_secure_boot bool
Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating enable_secure_boot requires the server to be stopped and then it would be started.
firmware_update_type_available str

(String) The firmware update type available for the bare metal server.

Supported firmware update types • none • optional • required

health_reasons Sequence[IsBareMetalServerHealthReasonArgs]

The reasons for the current health_state (if any).

Nested scheme for health_reasons:

health_state str
The health of this resource.
href str
(String) The URL for this bare metal server
image str

ID of the image. ( On update of image, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

is_bare_metal_server_id str
The unique identifier for this reservation
keys Sequence[str]

Comma separated IDs of ssh keys. ( On update of keys, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

Note: ed25519 can only be used if the operating system supports this key type. ed25519 can't be used with Windows or VMware images.

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

memory float
(Integer) The amount of memory, truncated to whole gibibytes
name str

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

network_attachments Sequence[IsBareMetalServerNetworkAttachmentArgs]
The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
network_interfaces Sequence[IsBareMetalServerNetworkInterfaceArgs]

The additional network interfaces to create for the bare metal server to this bare metal server. Use ibm.IsBareMetalServerNetworkInterface & ibm.IsBareMetalServerNetworkInterfaceAllowFloat resource for network interfaces.

NOTE: creating network interfaces both inline with ibm.IsBareMetalServer & as a separate ibm.IsBareMetalServerNetworkInterface resource, will show change alternatively on both resources, to avoid this use ibm.IsBareMetalServerNetworkInterface for creating network interfaces.

Nested scheme for network_interfaces:

primary_network_attachment IsBareMetalServerPrimaryNetworkAttachmentArgs
The primary network attachment. Nested schema for primary_network_attachment:
primary_network_interface IsBareMetalServerPrimaryNetworkInterfaceArgs

A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.

Nested scheme for primary_network_interface:

profile str
The name the profile to use for this bare metal server.
reservation_affinities Sequence[IsBareMetalServerReservationAffinityArgs]
(Optional, List) The reservation affinity for the bare metal server Nested scheme for reservation_affinity:
reservations Sequence[IsBareMetalServerReservationArgs]
The reservation used by this bare metal server. Nested scheme for reservation:
resource_group str
Resource group name
resource_type str
(String) The type of resource.
status str
(String) The status of the bare metal server.
status_reasons Sequence[IsBareMetalServerStatusReasonArgs]
(List) Array of reasons for the current status (if any).
tags Sequence[str]
Tags for the Bare metal server
timeouts IsBareMetalServerTimeoutsArgs
trusted_platform_module IsBareMetalServerTrustedPlatformModuleArgs
(List) trusted platform module (TPM) configuration for this bare metal server
user_data str
User data given for the bare metal server
vpc str
The VPC the bare metal server is to be a part of
zone str
Zone name
accessTags List<String>

A list of access management tags to attach to the bare metal server.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

action String
This restart/start/stops a bare metal server.
bandwidth Number
The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
bootTarget String
(String) The unique identifier for this bare metal server disk.
cpus List<Property Map>
(String) A nested block describing the CPU configuration of this bare metal server.
crn String
(String) The CRN for this bare metal server
deleteType String
Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its hard.
disks List<Property Map>
The disks for this bare metal server, including any disks that are associated with the boot_target.
enableSecureBoot Boolean
Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating enable_secure_boot requires the server to be stopped and then it would be started.
firmwareUpdateTypeAvailable String

(String) The firmware update type available for the bare metal server.

Supported firmware update types • none • optional • required

healthReasons List<Property Map>

The reasons for the current health_state (if any).

Nested scheme for health_reasons:

healthState String
The health of this resource.
href String
(String) The URL for this bare metal server
image String

ID of the image. ( On update of image, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

isBareMetalServerId String
The unique identifier for this reservation
keys List<String>

Comma separated IDs of ssh keys. ( On update of keys, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )

Note: ed25519 can only be used if the operating system supports this key type. ed25519 can't be used with Windows or VMware images.

NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.

memory Number
(Integer) The amount of memory, truncated to whole gibibytes
name String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

networkAttachments List<Property Map>
The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
networkInterfaces List<Property Map>

The additional network interfaces to create for the bare metal server to this bare metal server. Use ibm.IsBareMetalServerNetworkInterface & ibm.IsBareMetalServerNetworkInterfaceAllowFloat resource for network interfaces.

NOTE: creating network interfaces both inline with ibm.IsBareMetalServer & as a separate ibm.IsBareMetalServerNetworkInterface resource, will show change alternatively on both resources, to avoid this use ibm.IsBareMetalServerNetworkInterface for creating network interfaces.

Nested scheme for network_interfaces:

primaryNetworkAttachment Property Map
The primary network attachment. Nested schema for primary_network_attachment:
primaryNetworkInterface Property Map

A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.

Nested scheme for primary_network_interface:

profile String
The name the profile to use for this bare metal server.
reservationAffinities List<Property Map>
(Optional, List) The reservation affinity for the bare metal server Nested scheme for reservation_affinity:
reservations List<Property Map>
The reservation used by this bare metal server. Nested scheme for reservation:
resourceGroup String
Resource group name
resourceType String
(String) The type of resource.
status String
(String) The status of the bare metal server.
statusReasons List<Property Map>
(List) Array of reasons for the current status (if any).
tags List<String>
Tags for the Bare metal server
timeouts Property Map
trustedPlatformModule Property Map
(List) trusted platform module (TPM) configuration for this bare metal server
userData String
User data given for the bare metal server
vpc String
The VPC the bare metal server is to be a part of
zone String
Zone name

Supporting Types

IsBareMetalServerCpus
, IsBareMetalServerCpusArgs

Architecture This property is required. string
(String) The architecture of the bare metal server.
CoreCount This property is required. double
(Integer) The total number of cores
SocketCount This property is required. double
(Integer) The total number of CPU sockets
ThreadsPerCore This property is required. double
(Integer) The total number of hardware threads per core
Architecture This property is required. string
(String) The architecture of the bare metal server.
CoreCount This property is required. float64
(Integer) The total number of cores
SocketCount This property is required. float64
(Integer) The total number of CPU sockets
ThreadsPerCore This property is required. float64
(Integer) The total number of hardware threads per core
architecture This property is required. String
(String) The architecture of the bare metal server.
coreCount This property is required. Double
(Integer) The total number of cores
socketCount This property is required. Double
(Integer) The total number of CPU sockets
threadsPerCore This property is required. Double
(Integer) The total number of hardware threads per core
architecture This property is required. string
(String) The architecture of the bare metal server.
coreCount This property is required. number
(Integer) The total number of cores
socketCount This property is required. number
(Integer) The total number of CPU sockets
threadsPerCore This property is required. number
(Integer) The total number of hardware threads per core
architecture This property is required. str
(String) The architecture of the bare metal server.
core_count This property is required. float
(Integer) The total number of cores
socket_count This property is required. float
(Integer) The total number of CPU sockets
threads_per_core This property is required. float
(Integer) The total number of hardware threads per core
architecture This property is required. String
(String) The architecture of the bare metal server.
coreCount This property is required. Number
(Integer) The total number of cores
socketCount This property is required. Number
(Integer) The total number of CPU sockets
threadsPerCore This property is required. Number
(Integer) The total number of hardware threads per core

IsBareMetalServerDisk
, IsBareMetalServerDiskArgs

Href This property is required. string
(String) The URL for this bare metal server
Id This property is required. string
The unique identifier for this reservation
InterfaceType This property is required. string
Name This property is required. string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

ResourceType This property is required. string
(String) The type of resource.
Size This property is required. double
Href This property is required. string
(String) The URL for this bare metal server
Id This property is required. string
The unique identifier for this reservation
InterfaceType This property is required. string
Name This property is required. string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

ResourceType This property is required. string
(String) The type of resource.
Size This property is required. float64
href This property is required. String
(String) The URL for this bare metal server
id This property is required. String
The unique identifier for this reservation
interfaceType This property is required. String
name This property is required. String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resourceType This property is required. String
(String) The type of resource.
size This property is required. Double
href This property is required. string
(String) The URL for this bare metal server
id This property is required. string
The unique identifier for this reservation
interfaceType This property is required. string
name This property is required. string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resourceType This property is required. string
(String) The type of resource.
size This property is required. number
href This property is required. str
(String) The URL for this bare metal server
id This property is required. str
The unique identifier for this reservation
interface_type This property is required. str
name This property is required. str

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resource_type This property is required. str
(String) The type of resource.
size This property is required. float
href This property is required. String
(String) The URL for this bare metal server
id This property is required. String
The unique identifier for this reservation
interfaceType This property is required. String
name This property is required. String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resourceType This property is required. String
(String) The type of resource.
size This property is required. Number

IsBareMetalServerHealthReason
, IsBareMetalServerHealthReasonArgs

Code This property is required. string
A snake case string succinctly identifying the reason for this health state.
Message This property is required. string
An explanation of the reason for this health state.
MoreInfo This property is required. string
Link to documentation about the reason for this health state.
Code This property is required. string
A snake case string succinctly identifying the reason for this health state.
Message This property is required. string
An explanation of the reason for this health state.
MoreInfo This property is required. string
Link to documentation about the reason for this health state.
code This property is required. String
A snake case string succinctly identifying the reason for this health state.
message This property is required. String
An explanation of the reason for this health state.
moreInfo This property is required. String
Link to documentation about the reason for this health state.
code This property is required. string
A snake case string succinctly identifying the reason for this health state.
message This property is required. string
An explanation of the reason for this health state.
moreInfo This property is required. string
Link to documentation about the reason for this health state.
code This property is required. str
A snake case string succinctly identifying the reason for this health state.
message This property is required. str
An explanation of the reason for this health state.
more_info This property is required. str
Link to documentation about the reason for this health state.
code This property is required. String
A snake case string succinctly identifying the reason for this health state.
message This property is required. String
An explanation of the reason for this health state.
moreInfo This property is required. String
Link to documentation about the reason for this health state.

IsBareMetalServerNetworkAttachment
, IsBareMetalServerNetworkAttachmentArgs

Name This property is required. string
Name for this network attachment.
AllowToFloat bool
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
AllowedVlans List<double>
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI, VLAN type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
Deleteds List<IsBareMetalServerNetworkAttachmentDeleted>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
Href string
(String) The URL for this bare metal server
Id string
The unique identifier for this reservation
InterfaceType string
The type of the network interface.[pci, vlan].
ResourceType string
(String) The type of resource.
VirtualNetworkInterfaces List<IsBareMetalServerNetworkAttachmentVirtualNetworkInterface>
A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
Vlan double
(Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
Name This property is required. string
Name for this network attachment.
AllowToFloat bool
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
AllowedVlans []float64
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI, VLAN type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
Deleteds []IsBareMetalServerNetworkAttachmentDeleted
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
Href string
(String) The URL for this bare metal server
Id string
The unique identifier for this reservation
InterfaceType string
The type of the network interface.[pci, vlan].
ResourceType string
(String) The type of resource.
VirtualNetworkInterfaces []IsBareMetalServerNetworkAttachmentVirtualNetworkInterface
A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
Vlan float64
(Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
name This property is required. String
Name for this network attachment.
allowToFloat Boolean
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
allowedVlans List<Double>
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI, VLAN type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
deleteds List<IsBareMetalServerNetworkAttachmentDeleted>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href String
(String) The URL for this bare metal server
id String
The unique identifier for this reservation
interfaceType String
The type of the network interface.[pci, vlan].
resourceType String
(String) The type of resource.
virtualNetworkInterfaces List<IsBareMetalServerNetworkAttachmentVirtualNetworkInterface>
A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
vlan Double
(Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
name This property is required. string
Name for this network attachment.
allowToFloat boolean
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
allowedVlans number[]
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI, VLAN type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
deleteds IsBareMetalServerNetworkAttachmentDeleted[]
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href string
(String) The URL for this bare metal server
id string
The unique identifier for this reservation
interfaceType string
The type of the network interface.[pci, vlan].
resourceType string
(String) The type of resource.
virtualNetworkInterfaces IsBareMetalServerNetworkAttachmentVirtualNetworkInterface[]
A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
vlan number
(Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
name This property is required. str
Name for this network attachment.
allow_to_float bool
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
allowed_vlans Sequence[float]
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI, VLAN type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
deleteds Sequence[IsBareMetalServerNetworkAttachmentDeleted]
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href str
(String) The URL for this bare metal server
id str
The unique identifier for this reservation
interface_type str
The type of the network interface.[pci, vlan].
resource_type str
(String) The type of resource.
virtual_network_interfaces Sequence[IsBareMetalServerNetworkAttachmentVirtualNetworkInterface]
A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
vlan float
(Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
name This property is required. String
Name for this network attachment.
allowToFloat Boolean
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
allowedVlans List<Number>
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI, VLAN type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
deleteds List<Property Map>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href String
(String) The URL for this bare metal server
id String
The unique identifier for this reservation
interfaceType String
The type of the network interface.[pci, vlan].
resourceType String
(String) The type of resource.
virtualNetworkInterfaces List<Property Map>
A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
vlan Number
(Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]

IsBareMetalServerNetworkAttachmentDeleted
, IsBareMetalServerNetworkAttachmentDeletedArgs

MoreInfo This property is required. string
Link to documentation about deleted resources.
MoreInfo This property is required. string
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.
moreInfo This property is required. string
Link to documentation about deleted resources.
more_info This property is required. str
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.

IsBareMetalServerNetworkAttachmentVirtualNetworkInterface
, IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs

AllowIpSpoofing bool
Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
AutoDelete bool
Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
EnableInfrastructureNat bool
If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP. If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
Id string
(String) The unique identifier for this subnet.
Ips List<IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIp>
The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending. Nested schema for ips:
Name string
The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
PrimaryIps List<IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIp>
The reserved IP for this virtual network interface. Nested schema for primary_ip:
ProtocolStateFilteringMode string

The protocol state filtering mode to use for this virtual network interface.

If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

ResourceGroup string
The resource group id for this virtual network interface.
ResourceType string
(String) The resource type.
SecurityGroups List<string>
The security group ids list for this virtual network interface.
Subnet string
The associated subnet id.
AllowIpSpoofing bool
Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
AutoDelete bool
Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
EnableInfrastructureNat bool
If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP. If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
Id string
(String) The unique identifier for this subnet.
Ips []IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIp
The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending. Nested schema for ips:
Name string
The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
PrimaryIps []IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIp
The reserved IP for this virtual network interface. Nested schema for primary_ip:
ProtocolStateFilteringMode string

The protocol state filtering mode to use for this virtual network interface.

If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

ResourceGroup string
The resource group id for this virtual network interface.
ResourceType string
(String) The resource type.
SecurityGroups []string
The security group ids list for this virtual network interface.
Subnet string
The associated subnet id.
allowIpSpoofing Boolean
Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
autoDelete Boolean
Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
enableInfrastructureNat Boolean
If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP. If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
id String
(String) The unique identifier for this subnet.
ips List<IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIp>
The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending. Nested schema for ips:
name String
The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
primaryIps List<IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIp>
The reserved IP for this virtual network interface. Nested schema for primary_ip:
protocolStateFilteringMode String

The protocol state filtering mode to use for this virtual network interface.

If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

resourceGroup String
The resource group id for this virtual network interface.
resourceType String
(String) The resource type.
securityGroups List<String>
The security group ids list for this virtual network interface.
subnet String
The associated subnet id.
allowIpSpoofing boolean
Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
autoDelete boolean
Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
enableInfrastructureNat boolean
If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP. If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
id string
(String) The unique identifier for this subnet.
ips IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIp[]
The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending. Nested schema for ips:
name string
The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
primaryIps IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIp[]
The reserved IP for this virtual network interface. Nested schema for primary_ip:
protocolStateFilteringMode string

The protocol state filtering mode to use for this virtual network interface.

If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

resourceGroup string
The resource group id for this virtual network interface.
resourceType string
(String) The resource type.
securityGroups string[]
The security group ids list for this virtual network interface.
subnet string
The associated subnet id.
allow_ip_spoofing bool
Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
auto_delete bool
Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
enable_infrastructure_nat bool
If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP. If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
id str
(String) The unique identifier for this subnet.
ips Sequence[IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIp]
The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending. Nested schema for ips:
name str
The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
primary_ips Sequence[IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIp]
The reserved IP for this virtual network interface. Nested schema for primary_ip:
protocol_state_filtering_mode str

The protocol state filtering mode to use for this virtual network interface.

If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

resource_group str
The resource group id for this virtual network interface.
resource_type str
(String) The resource type.
security_groups Sequence[str]
The security group ids list for this virtual network interface.
subnet str
The associated subnet id.
allowIpSpoofing Boolean
Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
autoDelete Boolean
Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
enableInfrastructureNat Boolean
If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP. If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
id String
(String) The unique identifier for this subnet.
ips List<Property Map>
The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending. Nested schema for ips:
name String
The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
primaryIps List<Property Map>
The reserved IP for this virtual network interface. Nested schema for primary_ip:
protocolStateFilteringMode String

The protocol state filtering mode to use for this virtual network interface.

If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

resourceGroup String
The resource group id for this virtual network interface.
resourceType String
(String) The resource type.
securityGroups List<String>
The security group ids list for this virtual network interface.
subnet String
The associated subnet id.

IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIp
, IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpArgs

ReservedIp This property is required. string
The unique identifier for this reserved IP.
Address string
The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
AutoDelete bool
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
Deleteds List<IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeleted>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
Href string
The URL for this reserved IP.
Name string
The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
ResourceType string
The resource type.
ReservedIp This property is required. string
The unique identifier for this reserved IP.
Address string
The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
AutoDelete bool
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
Deleteds []IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeleted
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
Href string
The URL for this reserved IP.
Name string
The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
ResourceType string
The resource type.
reservedIp This property is required. String
The unique identifier for this reserved IP.
address String
The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
autoDelete Boolean
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
deleteds List<IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeleted>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
href String
The URL for this reserved IP.
name String
The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
resourceType String
The resource type.
reservedIp This property is required. string
The unique identifier for this reserved IP.
address string
The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
autoDelete boolean
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
deleteds IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeleted[]
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
href string
The URL for this reserved IP.
name string
The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
resourceType string
The resource type.
reserved_ip This property is required. str
The unique identifier for this reserved IP.
address str
The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
auto_delete bool
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
deleteds Sequence[IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeleted]
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
href str
The URL for this reserved IP.
name str
The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
resource_type str
The resource type.
reservedIp This property is required. String
The unique identifier for this reserved IP.
address String
The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
autoDelete Boolean
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
deleteds List<Property Map>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
href String
The URL for this reserved IP.
name String
The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
resourceType String
The resource type.

IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeleted
, IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs

MoreInfo This property is required. string
Link to documentation about deleted resources.
MoreInfo This property is required. string
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.
moreInfo This property is required. string
Link to documentation about deleted resources.
more_info This property is required. str
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.

IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIp
, IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs

Address string
The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
Deleteds List<IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
Href string
The URL for this reserved IP.
Name string
The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
ReservedIp string
The unique identifier for this reserved IP.
ResourceType string
The resource type.
Address string
The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
Deleteds []IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
Href string
The URL for this reserved IP.
Name string
The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
ReservedIp string
The unique identifier for this reserved IP.
ResourceType string
The resource type.
address String
The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
deleteds List<IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
href String
The URL for this reserved IP.
name String
The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
reservedIp String
The unique identifier for this reserved IP.
resourceType String
The resource type.
address string
The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
deleteds IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted[]
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
href string
The URL for this reserved IP.
name string
The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
reservedIp string
The unique identifier for this reserved IP.
resourceType string
The resource type.
address str
The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
deleteds Sequence[IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted]
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
href str
The URL for this reserved IP.
name str
The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
reserved_ip str
The unique identifier for this reserved IP.
resource_type str
The resource type.
address String
The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
deleteds List<Property Map>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
href String
The URL for this reserved IP.
name String
The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
reservedIp String
The unique identifier for this reserved IP.
resourceType String
The resource type.

IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted
, IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs

MoreInfo This property is required. string
Link to documentation about deleted resources.
MoreInfo This property is required. string
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.
moreInfo This property is required. string
Link to documentation about deleted resources.
more_info This property is required. str
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.

IsBareMetalServerNetworkInterface
, IsBareMetalServerNetworkInterfaceArgs

Name This property is required. string
The name of the network interface.
Subnet This property is required. string
ID of the subnet to associate with.
AllowInterfaceToFloat bool
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
AllowIpSpoofing bool
Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
AllowedVlans List<double>
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. [ conflicts with vlan]
EnableInfrastructureNat bool
If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
Href string
(String) The URL for this bare metal server
Id string
The unique identifier for this reservation
InterfaceType string
The network interface type: [ pci, vlan, hipersocket ]
PortSpeed double
PrimaryIp IsBareMetalServerNetworkInterfacePrimaryIp

The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.

Nested scheme for primary_ip:

SecurityGroups List<string>
Comma separated IDs of security groups.
Vlan double
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
Name This property is required. string
The name of the network interface.
Subnet This property is required. string
ID of the subnet to associate with.
AllowInterfaceToFloat bool
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
AllowIpSpoofing bool
Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
AllowedVlans []float64
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. [ conflicts with vlan]
EnableInfrastructureNat bool
If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
Href string
(String) The URL for this bare metal server
Id string
The unique identifier for this reservation
InterfaceType string
The network interface type: [ pci, vlan, hipersocket ]
PortSpeed float64
PrimaryIp IsBareMetalServerNetworkInterfacePrimaryIp

The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.

Nested scheme for primary_ip:

SecurityGroups []string
Comma separated IDs of security groups.
Vlan float64
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
name This property is required. String
The name of the network interface.
subnet This property is required. String
ID of the subnet to associate with.
allowInterfaceToFloat Boolean
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
allowIpSpoofing Boolean
Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
allowedVlans List<Double>
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. [ conflicts with vlan]
enableInfrastructureNat Boolean
If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
href String
(String) The URL for this bare metal server
id String
The unique identifier for this reservation
interfaceType String
The network interface type: [ pci, vlan, hipersocket ]
portSpeed Double
primaryIp IsBareMetalServerNetworkInterfacePrimaryIp

The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.

Nested scheme for primary_ip:

securityGroups List<String>
Comma separated IDs of security groups.
vlan Double
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
name This property is required. string
The name of the network interface.
subnet This property is required. string
ID of the subnet to associate with.
allowInterfaceToFloat boolean
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
allowIpSpoofing boolean
Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
allowedVlans number[]
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. [ conflicts with vlan]
enableInfrastructureNat boolean
If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
href string
(String) The URL for this bare metal server
id string
The unique identifier for this reservation
interfaceType string
The network interface type: [ pci, vlan, hipersocket ]
portSpeed number
primaryIp IsBareMetalServerNetworkInterfacePrimaryIp

The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.

Nested scheme for primary_ip:

securityGroups string[]
Comma separated IDs of security groups.
vlan number
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
name This property is required. str
The name of the network interface.
subnet This property is required. str
ID of the subnet to associate with.
allow_interface_to_float bool
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
allow_ip_spoofing bool
Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
allowed_vlans Sequence[float]
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. [ conflicts with vlan]
enable_infrastructure_nat bool
If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
href str
(String) The URL for this bare metal server
id str
The unique identifier for this reservation
interface_type str
The network interface type: [ pci, vlan, hipersocket ]
port_speed float
primary_ip IsBareMetalServerNetworkInterfacePrimaryIp

The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.

Nested scheme for primary_ip:

security_groups Sequence[str]
Comma separated IDs of security groups.
vlan float
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
name This property is required. String
The name of the network interface.
subnet This property is required. String
ID of the subnet to associate with.
allowInterfaceToFloat Boolean
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
allowIpSpoofing Boolean
Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
allowedVlans List<Number>
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. [ conflicts with vlan]
enableInfrastructureNat Boolean
If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
href String
(String) The URL for this bare metal server
id String
The unique identifier for this reservation
interfaceType String
The network interface type: [ pci, vlan, hipersocket ]
portSpeed Number
primaryIp Property Map

The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.

Nested scheme for primary_ip:

securityGroups List<String>
Comma separated IDs of security groups.
vlan Number
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]

IsBareMetalServerNetworkInterfacePrimaryIp
, IsBareMetalServerNetworkInterfacePrimaryIpArgs

Address string
title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
AutoDelete bool
If set to true, this reserved IP will be automatically deleted when the target is deleted or when the reserved IP is unbound.
Href string
(String) The URL for this network interface
Name string
The user-defined name for this network interface
ReservedIp string
The unique identifier for this reserved IP
ResourceType string
(String)The resource type [ subnet_reserved_ip ]
Address string
title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
AutoDelete bool
If set to true, this reserved IP will be automatically deleted when the target is deleted or when the reserved IP is unbound.
Href string
(String) The URL for this network interface
Name string
The user-defined name for this network interface
ReservedIp string
The unique identifier for this reserved IP
ResourceType string
(String)The resource type [ subnet_reserved_ip ]
address String
title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
autoDelete Boolean
If set to true, this reserved IP will be automatically deleted when the target is deleted or when the reserved IP is unbound.
href String
(String) The URL for this network interface
name String
The user-defined name for this network interface
reservedIp String
The unique identifier for this reserved IP
resourceType String
(String)The resource type [ subnet_reserved_ip ]
address string
title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
autoDelete boolean
If set to true, this reserved IP will be automatically deleted when the target is deleted or when the reserved IP is unbound.
href string
(String) The URL for this network interface
name string
The user-defined name for this network interface
reservedIp string
The unique identifier for this reserved IP
resourceType string
(String)The resource type [ subnet_reserved_ip ]
address str
title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
auto_delete bool
If set to true, this reserved IP will be automatically deleted when the target is deleted or when the reserved IP is unbound.
href str
(String) The URL for this network interface
name str
The user-defined name for this network interface
reserved_ip str
The unique identifier for this reserved IP
resource_type str
(String)The resource type [ subnet_reserved_ip ]
address String
title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
autoDelete Boolean
If set to true, this reserved IP will be automatically deleted when the target is deleted or when the reserved IP is unbound.
href String
(String) The URL for this network interface
name String
The user-defined name for this network interface
reservedIp String
The unique identifier for this reserved IP
resourceType String
(String)The resource type [ subnet_reserved_ip ]

IsBareMetalServerPrimaryNetworkAttachment
, IsBareMetalServerPrimaryNetworkAttachmentArgs

AllowInterfaceToFloat bool
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
AllowedVlans List<double>
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
Deleteds List<IsBareMetalServerPrimaryNetworkAttachmentDeleted>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
Href string
(String) The URL for this bare metal server
Id string
The unique identifier for this reservation
InterfaceType string
The type of the network interface.[pci].
Name string
Name for this primary network attachment.
ResourceType string
(String) The type of resource.
VirtualNetworkInterface IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterface
A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
Vlan double
(Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
AllowInterfaceToFloat bool
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
AllowedVlans []float64
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
Deleteds []IsBareMetalServerPrimaryNetworkAttachmentDeleted
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
Href string
(String) The URL for this bare metal server
Id string
The unique identifier for this reservation
InterfaceType string
The type of the network interface.[pci].
Name string
Name for this primary network attachment.
ResourceType string
(String) The type of resource.
VirtualNetworkInterface IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterface
A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
Vlan float64
(Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
allowInterfaceToFloat Boolean
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
allowedVlans List<Double>
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
deleteds List<IsBareMetalServerPrimaryNetworkAttachmentDeleted>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href String
(String) The URL for this bare metal server
id String
The unique identifier for this reservation
interfaceType String
The type of the network interface.[pci].
name String
Name for this primary network attachment.
resourceType String
(String) The type of resource.
virtualNetworkInterface IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterface
A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
vlan Double
(Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
allowInterfaceToFloat boolean
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
allowedVlans number[]
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
deleteds IsBareMetalServerPrimaryNetworkAttachmentDeleted[]
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href string
(String) The URL for this bare metal server
id string
The unique identifier for this reservation
interfaceType string
The type of the network interface.[pci].
name string
Name for this primary network attachment.
resourceType string
(String) The type of resource.
virtualNetworkInterface IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterface
A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
vlan number
(Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
allow_interface_to_float bool
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
allowed_vlans Sequence[float]
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
deleteds Sequence[IsBareMetalServerPrimaryNetworkAttachmentDeleted]
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href str
(String) The URL for this bare metal server
id str
The unique identifier for this reservation
interface_type str
The type of the network interface.[pci].
name str
Name for this primary network attachment.
resource_type str
(String) The type of resource.
virtual_network_interface IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterface
A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
vlan float
(Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]
allowInterfaceToFloat Boolean
Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
allowedVlans List<Number>
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
deleteds List<Property Map>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href String
(String) The URL for this bare metal server
id String
The unique identifier for this reservation
interfaceType String
The type of the network interface.[pci].
name String
Name for this primary network attachment.
resourceType String
(String) The type of resource.
virtualNetworkInterface Property Map
A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
vlan Number
(Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with allowed_vlans]

IsBareMetalServerPrimaryNetworkAttachmentDeleted
, IsBareMetalServerPrimaryNetworkAttachmentDeletedArgs

MoreInfo This property is required. string
Link to documentation about deleted resources.
MoreInfo This property is required. string
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.
moreInfo This property is required. string
Link to documentation about deleted resources.
more_info This property is required. str
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.

IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterface
, IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs

AllowIpSpoofing bool
(Boolean) Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
AutoDelete bool
Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
EnableInfrastructureNat bool
(Boolean) If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
Id string
The unique identifier for this reservation
Ips List<IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIp>
The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending.
Name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

PrimaryIp IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIp
(List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
ProtocolStateFilteringMode string
The protocol state filtering mode used for this virtual network interface.
ResourceGroup string
The resource group id for this virtual network interface.
ResourceType string
(String) The type of resource.
SecurityGroups List<string>
(Array) Comma separated IDs of security groups.
Subnet string
(String) ID of the subnet to associate with.
AllowIpSpoofing bool
(Boolean) Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
AutoDelete bool
Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
EnableInfrastructureNat bool
(Boolean) If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
Id string
The unique identifier for this reservation
Ips []IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIp
The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending.
Name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

PrimaryIp IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIp
(List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
ProtocolStateFilteringMode string
The protocol state filtering mode used for this virtual network interface.
ResourceGroup string
The resource group id for this virtual network interface.
ResourceType string
(String) The type of resource.
SecurityGroups []string
(Array) Comma separated IDs of security groups.
Subnet string
(String) ID of the subnet to associate with.
allowIpSpoofing Boolean
(Boolean) Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
autoDelete Boolean
Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
enableInfrastructureNat Boolean
(Boolean) If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
id String
The unique identifier for this reservation
ips List<IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIp>
The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending.
name String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

primaryIp IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIp
(List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
protocolStateFilteringMode String
The protocol state filtering mode used for this virtual network interface.
resourceGroup String
The resource group id for this virtual network interface.
resourceType String
(String) The type of resource.
securityGroups List<String>
(Array) Comma separated IDs of security groups.
subnet String
(String) ID of the subnet to associate with.
allowIpSpoofing boolean
(Boolean) Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
autoDelete boolean
Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
enableInfrastructureNat boolean
(Boolean) If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
id string
The unique identifier for this reservation
ips IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIp[]
The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending.
name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

primaryIp IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIp
(List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
protocolStateFilteringMode string
The protocol state filtering mode used for this virtual network interface.
resourceGroup string
The resource group id for this virtual network interface.
resourceType string
(String) The type of resource.
securityGroups string[]
(Array) Comma separated IDs of security groups.
subnet string
(String) ID of the subnet to associate with.
allow_ip_spoofing bool
(Boolean) Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
auto_delete bool
Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
enable_infrastructure_nat bool
(Boolean) If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
id str
The unique identifier for this reservation
ips Sequence[IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIp]
The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending.
name str

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

primary_ip IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIp
(List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
protocol_state_filtering_mode str
The protocol state filtering mode used for this virtual network interface.
resource_group str
The resource group id for this virtual network interface.
resource_type str
(String) The type of resource.
security_groups Sequence[str]
(Array) Comma separated IDs of security groups.
subnet str
(String) ID of the subnet to associate with.
allowIpSpoofing Boolean
(Boolean) Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
autoDelete Boolean
Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
enableInfrastructureNat Boolean
(Boolean) If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
id String
The unique identifier for this reservation
ips List<Property Map>
The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending.
name String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

primaryIp Property Map
(List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
protocolStateFilteringMode String
The protocol state filtering mode used for this virtual network interface.
resourceGroup String
The resource group id for this virtual network interface.
resourceType String
(String) The type of resource.
securityGroups List<String>
(Array) Comma separated IDs of security groups.
subnet String
(String) ID of the subnet to associate with.

IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIp
, IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpArgs

ReservedIp This property is required. string
(String) The unique identifier for this reserved IP.
Address string
(String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
AutoDelete bool
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
Deleteds List<IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeleted>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
Href string
(String) The URL for this bare metal server
Name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

ResourceType string
(String) The type of resource.
ReservedIp This property is required. string
(String) The unique identifier for this reserved IP.
Address string
(String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
AutoDelete bool
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
Deleteds []IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeleted
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
Href string
(String) The URL for this bare metal server
Name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

ResourceType string
(String) The type of resource.
reservedIp This property is required. String
(String) The unique identifier for this reserved IP.
address String
(String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
autoDelete Boolean
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
deleteds List<IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeleted>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href String
(String) The URL for this bare metal server
name String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resourceType String
(String) The type of resource.
reservedIp This property is required. string
(String) The unique identifier for this reserved IP.
address string
(String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
autoDelete boolean
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
deleteds IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeleted[]
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href string
(String) The URL for this bare metal server
name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resourceType string
(String) The type of resource.
reserved_ip This property is required. str
(String) The unique identifier for this reserved IP.
address str
(String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
auto_delete bool
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
deleteds Sequence[IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeleted]
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href str
(String) The URL for this bare metal server
name str

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resource_type str
(String) The type of resource.
reservedIp This property is required. String
(String) The unique identifier for this reserved IP.
address String
(String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
autoDelete Boolean
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
deleteds List<Property Map>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href String
(String) The URL for this bare metal server
name String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resourceType String
(String) The type of resource.

IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeleted
, IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs

MoreInfo This property is required. string
Link to documentation about deleted resources.
MoreInfo This property is required. string
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.
moreInfo This property is required. string
Link to documentation about deleted resources.
more_info This property is required. str
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.

IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIp
, IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs

Address string
(String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
Deleteds List<IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
Href string
(String) The URL for this bare metal server
Name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

ReservedIp string
(String) The unique identifier for this reserved IP.
ResourceType string
(String) The type of resource.
Address string
(String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
Deleteds []IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
Href string
(String) The URL for this bare metal server
Name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

ReservedIp string
(String) The unique identifier for this reserved IP.
ResourceType string
(String) The type of resource.
address String
(String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
deleteds List<IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href String
(String) The URL for this bare metal server
name String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

reservedIp String
(String) The unique identifier for this reserved IP.
resourceType String
(String) The type of resource.
address string
(String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
deleteds IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted[]
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href string
(String) The URL for this bare metal server
name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

reservedIp string
(String) The unique identifier for this reserved IP.
resourceType string
(String) The type of resource.
address str
(String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
deleteds Sequence[IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted]
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href str
(String) The URL for this bare metal server
name str

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

reserved_ip str
(String) The unique identifier for this reserved IP.
resource_type str
(String) The type of resource.
address String
(String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
deleteds List<Property Map>
If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
href String
(String) The URL for this bare metal server
name String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

reservedIp String
(String) The unique identifier for this reserved IP.
resourceType String
(String) The type of resource.

IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted
, IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs

MoreInfo This property is required. string
Link to documentation about deleted resources.
MoreInfo This property is required. string
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.
moreInfo This property is required. string
Link to documentation about deleted resources.
more_info This property is required. str
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.

IsBareMetalServerPrimaryNetworkInterface
, IsBareMetalServerPrimaryNetworkInterfaceArgs

Subnet This property is required. string
ID of the subnet to associate with.
AllowIpSpoofing bool
Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
AllowedVlans List<double>
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
EnableInfrastructureNat bool
If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
Href string
(String) The URL for this bare metal server
Id string
The unique identifier for this reservation
InterfaceType string

The type of the network interface.[pci]. allowed_vlans is required for pci type.

The network interface type:

Name string
The name of the network interface.
PortSpeed double
PrimaryIp IsBareMetalServerPrimaryNetworkInterfacePrimaryIp

The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.

Nested scheme for primary_ip:

SecurityGroups List<string>
Comma separated IDs of security groups.
Subnet This property is required. string
ID of the subnet to associate with.
AllowIpSpoofing bool
Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
AllowedVlans []float64
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
EnableInfrastructureNat bool
If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
Href string
(String) The URL for this bare metal server
Id string
The unique identifier for this reservation
InterfaceType string

The type of the network interface.[pci]. allowed_vlans is required for pci type.

The network interface type:

Name string
The name of the network interface.
PortSpeed float64
PrimaryIp IsBareMetalServerPrimaryNetworkInterfacePrimaryIp

The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.

Nested scheme for primary_ip:

SecurityGroups []string
Comma separated IDs of security groups.
subnet This property is required. String
ID of the subnet to associate with.
allowIpSpoofing Boolean
Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
allowedVlans List<Double>
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
enableInfrastructureNat Boolean
If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
href String
(String) The URL for this bare metal server
id String
The unique identifier for this reservation
interfaceType String

The type of the network interface.[pci]. allowed_vlans is required for pci type.

The network interface type:

name String
The name of the network interface.
portSpeed Double
primaryIp IsBareMetalServerPrimaryNetworkInterfacePrimaryIp

The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.

Nested scheme for primary_ip:

securityGroups List<String>
Comma separated IDs of security groups.
subnet This property is required. string
ID of the subnet to associate with.
allowIpSpoofing boolean
Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
allowedVlans number[]
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
enableInfrastructureNat boolean
If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
href string
(String) The URL for this bare metal server
id string
The unique identifier for this reservation
interfaceType string

The type of the network interface.[pci]. allowed_vlans is required for pci type.

The network interface type:

name string
The name of the network interface.
portSpeed number
primaryIp IsBareMetalServerPrimaryNetworkInterfacePrimaryIp

The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.

Nested scheme for primary_ip:

securityGroups string[]
Comma separated IDs of security groups.
subnet This property is required. str
ID of the subnet to associate with.
allow_ip_spoofing bool
Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
allowed_vlans Sequence[float]
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
enable_infrastructure_nat bool
If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
href str
(String) The URL for this bare metal server
id str
The unique identifier for this reservation
interface_type str

The type of the network interface.[pci]. allowed_vlans is required for pci type.

The network interface type:

name str
The name of the network interface.
port_speed float
primary_ip IsBareMetalServerPrimaryNetworkInterfacePrimaryIp

The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.

Nested scheme for primary_ip:

security_groups Sequence[str]
Comma separated IDs of security groups.
subnet This property is required. String
ID of the subnet to associate with.
allowIpSpoofing Boolean
Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default : false]
allowedVlans List<Number>
Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server.
enableInfrastructureNat Boolean
If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default : true]
href String
(String) The URL for this bare metal server
id String
The unique identifier for this reservation
interfaceType String

The type of the network interface.[pci]. allowed_vlans is required for pci type.

The network interface type:

name String
The name of the network interface.
portSpeed Number
primaryIp Property Map

The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.

Nested scheme for primary_ip:

securityGroups List<String>
Comma separated IDs of security groups.

IsBareMetalServerPrimaryNetworkInterfacePrimaryIp
, IsBareMetalServerPrimaryNetworkInterfacePrimaryIpArgs

Address string
title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
AutoDelete bool
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
Href string
(String) The URL for this bare metal server
Name string
The user-defined or system-provided name for this reserved IP
ReservedIp string
The unique identifier for this reserved IP. reserved_ip is mutually exclusive with rest of the primary_ip attributes.
ResourceType string
(String) The type of resource.
Address string
title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
AutoDelete bool
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
Href string
(String) The URL for this bare metal server
Name string
The user-defined or system-provided name for this reserved IP
ReservedIp string
The unique identifier for this reserved IP. reserved_ip is mutually exclusive with rest of the primary_ip attributes.
ResourceType string
(String) The type of resource.
address String
title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
autoDelete Boolean
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
href String
(String) The URL for this bare metal server
name String
The user-defined or system-provided name for this reserved IP
reservedIp String
The unique identifier for this reserved IP. reserved_ip is mutually exclusive with rest of the primary_ip attributes.
resourceType String
(String) The type of resource.
address string
title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
autoDelete boolean
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
href string
(String) The URL for this bare metal server
name string
The user-defined or system-provided name for this reserved IP
reservedIp string
The unique identifier for this reserved IP. reserved_ip is mutually exclusive with rest of the primary_ip attributes.
resourceType string
(String) The type of resource.
address str
title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
auto_delete bool
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
href str
(String) The URL for this bare metal server
name str
The user-defined or system-provided name for this reserved IP
reserved_ip str
The unique identifier for this reserved IP. reserved_ip is mutually exclusive with rest of the primary_ip attributes.
resource_type str
(String) The type of resource.
address String
title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
autoDelete Boolean
Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
href String
(String) The URL for this bare metal server
name String
The user-defined or system-provided name for this reserved IP
reservedIp String
The unique identifier for this reserved IP. reserved_ip is mutually exclusive with rest of the primary_ip attributes.
resourceType String
(String) The type of resource.

IsBareMetalServerReservation
, IsBareMetalServerReservationArgs

Crn This property is required. string
The CRN for this reservation.
Deleteds This property is required. List<IsBareMetalServerReservationDeleted>
If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.
Href This property is required. string
(String) The URL for this bare metal server
Id This property is required. string
The unique identifier for this reservation
Name This property is required. string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

ResourceType This property is required. string
(String) The type of resource.
Crn This property is required. string
The CRN for this reservation.
Deleteds This property is required. []IsBareMetalServerReservationDeleted
If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.
Href This property is required. string
(String) The URL for this bare metal server
Id This property is required. string
The unique identifier for this reservation
Name This property is required. string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

ResourceType This property is required. string
(String) The type of resource.
crn This property is required. String
The CRN for this reservation.
deleteds This property is required. List<IsBareMetalServerReservationDeleted>
If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.
href This property is required. String
(String) The URL for this bare metal server
id This property is required. String
The unique identifier for this reservation
name This property is required. String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resourceType This property is required. String
(String) The type of resource.
crn This property is required. string
The CRN for this reservation.
deleteds This property is required. IsBareMetalServerReservationDeleted[]
If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.
href This property is required. string
(String) The URL for this bare metal server
id This property is required. string
The unique identifier for this reservation
name This property is required. string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resourceType This property is required. string
(String) The type of resource.
crn This property is required. str
The CRN for this reservation.
deleteds This property is required. Sequence[IsBareMetalServerReservationDeleted]
If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.
href This property is required. str
(String) The URL for this bare metal server
id This property is required. str
The unique identifier for this reservation
name This property is required. str

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resource_type This property is required. str
(String) The type of resource.
crn This property is required. String
The CRN for this reservation.
deleteds This property is required. List<Property Map>
If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.
href This property is required. String
(String) The URL for this bare metal server
id This property is required. String
The unique identifier for this reservation
name This property is required. String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resourceType This property is required. String
(String) The type of resource.

IsBareMetalServerReservationAffinity
, IsBareMetalServerReservationAffinityArgs

Policy string
(Optional, String) The reservation affinity policy to use for this bare metal server.
Pools List<IsBareMetalServerReservationAffinityPool>
(Optional, String) The pool of reservations available for use by this bare metal server. Specified reservations must have a status of active, and have the same profile and zone as this bare metal server. The pool must be empty if policy is disabled, and must not be empty if policy is manual. Nested scheme for pool:
Policy string
(Optional, String) The reservation affinity policy to use for this bare metal server.
Pools []IsBareMetalServerReservationAffinityPool
(Optional, String) The pool of reservations available for use by this bare metal server. Specified reservations must have a status of active, and have the same profile and zone as this bare metal server. The pool must be empty if policy is disabled, and must not be empty if policy is manual. Nested scheme for pool:
policy String
(Optional, String) The reservation affinity policy to use for this bare metal server.
pools List<IsBareMetalServerReservationAffinityPool>
(Optional, String) The pool of reservations available for use by this bare metal server. Specified reservations must have a status of active, and have the same profile and zone as this bare metal server. The pool must be empty if policy is disabled, and must not be empty if policy is manual. Nested scheme for pool:
policy string
(Optional, String) The reservation affinity policy to use for this bare metal server.
pools IsBareMetalServerReservationAffinityPool[]
(Optional, String) The pool of reservations available for use by this bare metal server. Specified reservations must have a status of active, and have the same profile and zone as this bare metal server. The pool must be empty if policy is disabled, and must not be empty if policy is manual. Nested scheme for pool:
policy str
(Optional, String) The reservation affinity policy to use for this bare metal server.
pools Sequence[IsBareMetalServerReservationAffinityPool]
(Optional, String) The pool of reservations available for use by this bare metal server. Specified reservations must have a status of active, and have the same profile and zone as this bare metal server. The pool must be empty if policy is disabled, and must not be empty if policy is manual. Nested scheme for pool:
policy String
(Optional, String) The reservation affinity policy to use for this bare metal server.
pools List<Property Map>
(Optional, String) The pool of reservations available for use by this bare metal server. Specified reservations must have a status of active, and have the same profile and zone as this bare metal server. The pool must be empty if policy is disabled, and must not be empty if policy is manual. Nested scheme for pool:

IsBareMetalServerReservationAffinityPool
, IsBareMetalServerReservationAffinityPoolArgs

Crn string
(String) The CRN for this bare metal server
Deleteds List<IsBareMetalServerReservationAffinityPoolDeleted>
If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
Href string
(String) The URL for this bare metal server
Id string
The unique identifier for this reservation
Name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

ResourceType string
(String) The type of resource.
Crn string
(String) The CRN for this bare metal server
Deleteds []IsBareMetalServerReservationAffinityPoolDeleted
If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
Href string
(String) The URL for this bare metal server
Id string
The unique identifier for this reservation
Name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

ResourceType string
(String) The type of resource.
crn String
(String) The CRN for this bare metal server
deleteds List<IsBareMetalServerReservationAffinityPoolDeleted>
If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
href String
(String) The URL for this bare metal server
id String
The unique identifier for this reservation
name String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resourceType String
(String) The type of resource.
crn string
(String) The CRN for this bare metal server
deleteds IsBareMetalServerReservationAffinityPoolDeleted[]
If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
href string
(String) The URL for this bare metal server
id string
The unique identifier for this reservation
name string

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resourceType string
(String) The type of resource.
crn str
(String) The CRN for this bare metal server
deleteds Sequence[IsBareMetalServerReservationAffinityPoolDeleted]
If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
href str
(String) The URL for this bare metal server
id str
The unique identifier for this reservation
name str

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resource_type str
(String) The type of resource.
crn String
(String) The CRN for this bare metal server
deleteds List<Property Map>
If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
href String
(String) The URL for this bare metal server
id String
The unique identifier for this reservation
name String

The bare metal server name.

NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error

resourceType String
(String) The type of resource.

IsBareMetalServerReservationAffinityPoolDeleted
, IsBareMetalServerReservationAffinityPoolDeletedArgs

MoreInfo This property is required. string
Link to documentation about deleted resources.
MoreInfo This property is required. string
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.
moreInfo This property is required. string
Link to documentation about deleted resources.
more_info This property is required. str
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.

IsBareMetalServerReservationDeleted
, IsBareMetalServerReservationDeletedArgs

MoreInfo This property is required. string
Link to documentation about deleted resources.
MoreInfo This property is required. string
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.
moreInfo This property is required. string
Link to documentation about deleted resources.
more_info This property is required. str
Link to documentation about deleted resources.
moreInfo This property is required. String
Link to documentation about deleted resources.

IsBareMetalServerStatusReason
, IsBareMetalServerStatusReasonArgs

Code This property is required. string
(String) The status reason code
Message This property is required. string
(String) An explanation of the status reason
MoreInfo This property is required. string
(String) Link to documentation about this status reason
Code This property is required. string
(String) The status reason code
Message This property is required. string
(String) An explanation of the status reason
MoreInfo This property is required. string
(String) Link to documentation about this status reason
code This property is required. String
(String) The status reason code
message This property is required. String
(String) An explanation of the status reason
moreInfo This property is required. String
(String) Link to documentation about this status reason
code This property is required. string
(String) The status reason code
message This property is required. string
(String) An explanation of the status reason
moreInfo This property is required. string
(String) Link to documentation about this status reason
code This property is required. str
(String) The status reason code
message This property is required. str
(String) An explanation of the status reason
more_info This property is required. str
(String) Link to documentation about this status reason
code This property is required. String
(String) The status reason code
message This property is required. String
(String) An explanation of the status reason
moreInfo This property is required. String
(String) Link to documentation about this status reason

IsBareMetalServerTimeouts
, IsBareMetalServerTimeoutsArgs

Create string
Delete string
Update string
Create string
Delete string
Update string
create String
delete String
update String
create string
delete string
update string
create str
delete str
update str
create String
delete String
update String

IsBareMetalServerTrustedPlatformModule
, IsBareMetalServerTrustedPlatformModuleArgs

Enabled bool
(Boolean) Indicates whether the trusted platform module is enabled.
Mode string
(String) The trusted platform module mode to use. The specified value must be listed in the bare metal server profile's supported_trusted_platform_module_modes. Updating trusted_platform_module mode would require the server to be stopped then started again.

  • Constraints: Allowable values are: disabled, tpm_2.
SupportedModes List<string>
(Array) The trusted platform module (TPM) mode:

  • disabled: No TPM functionality
  • tpm_2: TPM 2.0
  • The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
Enabled bool
(Boolean) Indicates whether the trusted platform module is enabled.
Mode string
(String) The trusted platform module mode to use. The specified value must be listed in the bare metal server profile's supported_trusted_platform_module_modes. Updating trusted_platform_module mode would require the server to be stopped then started again.

  • Constraints: Allowable values are: disabled, tpm_2.
SupportedModes []string
(Array) The trusted platform module (TPM) mode:

  • disabled: No TPM functionality
  • tpm_2: TPM 2.0
  • The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
enabled Boolean
(Boolean) Indicates whether the trusted platform module is enabled.
mode String
(String) The trusted platform module mode to use. The specified value must be listed in the bare metal server profile's supported_trusted_platform_module_modes. Updating trusted_platform_module mode would require the server to be stopped then started again.

  • Constraints: Allowable values are: disabled, tpm_2.
supportedModes List<String>
(Array) The trusted platform module (TPM) mode:

  • disabled: No TPM functionality
  • tpm_2: TPM 2.0
  • The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
enabled boolean
(Boolean) Indicates whether the trusted platform module is enabled.
mode string
(String) The trusted platform module mode to use. The specified value must be listed in the bare metal server profile's supported_trusted_platform_module_modes. Updating trusted_platform_module mode would require the server to be stopped then started again.

  • Constraints: Allowable values are: disabled, tpm_2.
supportedModes string[]
(Array) The trusted platform module (TPM) mode:

  • disabled: No TPM functionality
  • tpm_2: TPM 2.0
  • The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
enabled bool
(Boolean) Indicates whether the trusted platform module is enabled.
mode str
(String) The trusted platform module mode to use. The specified value must be listed in the bare metal server profile's supported_trusted_platform_module_modes. Updating trusted_platform_module mode would require the server to be stopped then started again.

  • Constraints: Allowable values are: disabled, tpm_2.
supported_modes Sequence[str]
(Array) The trusted platform module (TPM) mode:

  • disabled: No TPM functionality
  • tpm_2: TPM 2.0
  • The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
enabled Boolean
(Boolean) Indicates whether the trusted platform module is enabled.
mode String
(String) The trusted platform module mode to use. The specified value must be listed in the bare metal server profile's supported_trusted_platform_module_modes. Updating trusted_platform_module mode would require the server to be stopped then started again.

  • Constraints: Allowable values are: disabled, tpm_2.
supportedModes List<String>
(Array) The trusted platform module (TPM) mode:

  • disabled: No TPM functionality
  • tpm_2: TPM 2.0
  • The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.

Import

The ibm_is_bare_metal_server can be imported using Bare Metal Server ID

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

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.