1. Packages
  2. Ibm Provider
  3. API Docs
  4. IsBareMetalServerNetworkInterfaceAllowFloat
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.IsBareMetalServerNetworkInterfaceAllowFloat

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create, update, or delete a VLAN Network Interface on an existing Bare Metal Server for VPC with allow_interface_to_float set to true. For more information, about managing VPC Bare Metal Server, see Network of 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";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    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) {
        }
    }
    
    {}
    

    Example Usage

    In the following example, you can create a Bare Metal Server and add a network interface to it:

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const vpc = new ibm.IsVpc("vpc", {});
    const subnet = new ibm.IsSubnet("subnet", {
        vpc: vpc.isVpcId,
        zone: "us-south-3",
        ipv4CidrBlock: "10.240.129.0/24",
    });
    const ssh = new ibm.IsSshKey("ssh", {publicKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR"});
    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.sshkey.id],
        primaryNetworkInterface: {
            subnet: subnet.isSubnetId,
        },
        vpc: vpc.isVpcId,
    });
    const bmsNicIsBareMetalServerNetworkInterface = new ibm.IsBareMetalServerNetworkInterface("bmsNicIsBareMetalServerNetworkInterface", {
        bareMetalServer: bms.isBareMetalServerId,
        subnet: subnet.isSubnetId,
        allowIpSpoofing: true,
        allowedVlans: [
            101,
            102,
        ],
    });
    const bmsNicIsBareMetalServerNetworkInterfaceAllowFloat = new ibm.IsBareMetalServerNetworkInterfaceAllowFloat("bmsNicIsBareMetalServerNetworkInterfaceAllowFloat", {
        bareMetalServer: bms.isBareMetalServerId,
        subnet: subnet.isSubnetId,
        vlan: 101,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    vpc = ibm.IsVpc("vpc")
    subnet = ibm.IsSubnet("subnet",
        vpc=vpc.is_vpc_id,
        zone="us-south-3",
        ipv4_cidr_block="10.240.129.0/24")
    ssh = ibm.IsSshKey("ssh", public_key="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR")
    bms = ibm.IsBareMetalServer("bms",
        profile="mx2d-metal-32x192",
        image="r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
        zone="us-south-3",
        keys=[ibm_is_ssh_key["sshkey"]["id"]],
        primary_network_interface={
            "subnet": subnet.is_subnet_id,
        },
        vpc=vpc.is_vpc_id)
    bms_nic_is_bare_metal_server_network_interface = ibm.IsBareMetalServerNetworkInterface("bmsNicIsBareMetalServerNetworkInterface",
        bare_metal_server=bms.is_bare_metal_server_id,
        subnet=subnet.is_subnet_id,
        allow_ip_spoofing=True,
        allowed_vlans=[
            101,
            102,
        ])
    bms_nic_is_bare_metal_server_network_interface_allow_float = ibm.IsBareMetalServerNetworkInterfaceAllowFloat("bmsNicIsBareMetalServerNetworkInterfaceAllowFloat",
        bare_metal_server=bms.is_bare_metal_server_id,
        subnet=subnet.is_subnet_id,
        vlan=101)
    
    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 {
    		vpc, err := ibm.NewIsVpc(ctx, "vpc", nil)
    		if err != nil {
    			return err
    		}
    		subnet, err := ibm.NewIsSubnet(ctx, "subnet", &ibm.IsSubnetArgs{
    			Vpc:           vpc.IsVpcId,
    			Zone:          pulumi.String("us-south-3"),
    			Ipv4CidrBlock: pulumi.String("10.240.129.0/24"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ibm.NewIsSshKey(ctx, "ssh", &ibm.IsSshKeyArgs{
    			PublicKey: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR"),
    		})
    		if err != nil {
    			return err
    		}
    		bms, 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.Sshkey.Id,
    			},
    			PrimaryNetworkInterface: &ibm.IsBareMetalServerPrimaryNetworkInterfaceArgs{
    				Subnet: subnet.IsSubnetId,
    			},
    			Vpc: vpc.IsVpcId,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ibm.NewIsBareMetalServerNetworkInterface(ctx, "bmsNicIsBareMetalServerNetworkInterface", &ibm.IsBareMetalServerNetworkInterfaceArgs{
    			BareMetalServer: bms.IsBareMetalServerId,
    			Subnet:          subnet.IsSubnetId,
    			AllowIpSpoofing: pulumi.Bool(true),
    			AllowedVlans: pulumi.Float64Array{
    				pulumi.Float64(101),
    				pulumi.Float64(102),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ibm.NewIsBareMetalServerNetworkInterfaceAllowFloat(ctx, "bmsNicIsBareMetalServerNetworkInterfaceAllowFloat", &ibm.IsBareMetalServerNetworkInterfaceAllowFloatArgs{
    			BareMetalServer: bms.IsBareMetalServerId,
    			Subnet:          subnet.IsSubnetId,
    			Vlan:            pulumi.Float64(101),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var vpc = new Ibm.IsVpc("vpc");
    
        var subnet = new Ibm.IsSubnet("subnet", new()
        {
            Vpc = vpc.IsVpcId,
            Zone = "us-south-3",
            Ipv4CidrBlock = "10.240.129.0/24",
        });
    
        var ssh = new Ibm.IsSshKey("ssh", new()
        {
            PublicKey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR",
        });
    
        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.Sshkey.Id,
            },
            PrimaryNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkInterfaceArgs
            {
                Subnet = subnet.IsSubnetId,
            },
            Vpc = vpc.IsVpcId,
        });
    
        var bmsNicIsBareMetalServerNetworkInterface = new Ibm.IsBareMetalServerNetworkInterface("bmsNicIsBareMetalServerNetworkInterface", new()
        {
            BareMetalServer = bms.IsBareMetalServerId,
            Subnet = subnet.IsSubnetId,
            AllowIpSpoofing = true,
            AllowedVlans = new[]
            {
                101,
                102,
            },
        });
    
        var bmsNicIsBareMetalServerNetworkInterfaceAllowFloat = new Ibm.IsBareMetalServerNetworkInterfaceAllowFloat("bmsNicIsBareMetalServerNetworkInterfaceAllowFloat", new()
        {
            BareMetalServer = bms.IsBareMetalServerId,
            Subnet = subnet.IsSubnetId,
            Vlan = 101,
        });
    
    });
    
    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 com.pulumi.ibm.IsBareMetalServerNetworkInterface;
    import com.pulumi.ibm.IsBareMetalServerNetworkInterfaceArgs;
    import com.pulumi.ibm.IsBareMetalServerNetworkInterfaceAllowFloat;
    import com.pulumi.ibm.IsBareMetalServerNetworkInterfaceAllowFloatArgs;
    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 vpc = new IsVpc("vpc");
    
            var subnet = new IsSubnet("subnet", IsSubnetArgs.builder()
                .vpc(vpc.isVpcId())
                .zone("us-south-3")
                .ipv4CidrBlock("10.240.129.0/24")
                .build());
    
            var ssh = new IsSshKey("ssh", IsSshKeyArgs.builder()
                .publicKey("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR")
                .build());
    
            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.sshkey().id())
                .primaryNetworkInterface(IsBareMetalServerPrimaryNetworkInterfaceArgs.builder()
                    .subnet(subnet.isSubnetId())
                    .build())
                .vpc(vpc.isVpcId())
                .build());
    
            var bmsNicIsBareMetalServerNetworkInterface = new IsBareMetalServerNetworkInterface("bmsNicIsBareMetalServerNetworkInterface", IsBareMetalServerNetworkInterfaceArgs.builder()
                .bareMetalServer(bms.isBareMetalServerId())
                .subnet(subnet.isSubnetId())
                .allowIpSpoofing(true)
                .allowedVlans(            
                    101,
                    102)
                .build());
    
            var bmsNicIsBareMetalServerNetworkInterfaceAllowFloat = new IsBareMetalServerNetworkInterfaceAllowFloat("bmsNicIsBareMetalServerNetworkInterfaceAllowFloat", IsBareMetalServerNetworkInterfaceAllowFloatArgs.builder()
                .bareMetalServer(bms.isBareMetalServerId())
                .subnet(subnet.isSubnetId())
                .vlan(101)
                .build());
    
        }
    }
    
    resources:
      vpc:
        type: ibm:IsVpc
      subnet:
        type: ibm:IsSubnet
        properties:
          vpc: ${vpc.isVpcId}
          zone: us-south-3
          ipv4CidrBlock: 10.240.129.0/24
      ssh:
        type: ibm:IsSshKey
        properties:
          publicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR
      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.sshkey.id}
          primaryNetworkInterface:
            subnet: ${subnet.isSubnetId}
          vpc: ${vpc.isVpcId}
      bmsNicIsBareMetalServerNetworkInterface:
        type: ibm:IsBareMetalServerNetworkInterface
        properties:
          bareMetalServer: ${bms.isBareMetalServerId}
          subnet: ${subnet.isSubnetId}
          allowIpSpoofing: true
          allowedVlans:
            - 101
            - 102
      bmsNicIsBareMetalServerNetworkInterfaceAllowFloat:
        type: ibm:IsBareMetalServerNetworkInterfaceAllowFloat
        properties:
          bareMetalServer: ${bms.isBareMetalServerId}
          subnet: ${subnet.isSubnetId}
          vlan: 101
    

    Syntax

    $ terraform import ibm_is_bare_metal_server_network_interface.example <bare_metal_server_id>/<bare_metal_server_network_interface_id>
    

    Example

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

    Create IsBareMetalServerNetworkInterfaceAllowFloat Resource

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

    Constructor syntax

    new IsBareMetalServerNetworkInterfaceAllowFloat(name: string, args: IsBareMetalServerNetworkInterfaceAllowFloatArgs, opts?: CustomResourceOptions);
    @overload
    def IsBareMetalServerNetworkInterfaceAllowFloat(resource_name: str,
                                                    args: IsBareMetalServerNetworkInterfaceAllowFloatArgs,
                                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def IsBareMetalServerNetworkInterfaceAllowFloat(resource_name: str,
                                                    opts: Optional[ResourceOptions] = None,
                                                    bare_metal_server: Optional[str] = None,
                                                    subnet: Optional[str] = None,
                                                    vlan: Optional[float] = None,
                                                    allow_ip_spoofing: Optional[bool] = None,
                                                    enable_infrastructure_nat: Optional[bool] = None,
                                                    is_bare_metal_server_network_interface_allow_float_id: Optional[str] = None,
                                                    name: Optional[str] = None,
                                                    primary_ip: Optional[IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs] = None,
                                                    security_groups: Optional[Sequence[str]] = None,
                                                    timeouts: Optional[IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs] = None)
    func NewIsBareMetalServerNetworkInterfaceAllowFloat(ctx *Context, name string, args IsBareMetalServerNetworkInterfaceAllowFloatArgs, opts ...ResourceOption) (*IsBareMetalServerNetworkInterfaceAllowFloat, error)
    public IsBareMetalServerNetworkInterfaceAllowFloat(string name, IsBareMetalServerNetworkInterfaceAllowFloatArgs args, CustomResourceOptions? opts = null)
    public IsBareMetalServerNetworkInterfaceAllowFloat(String name, IsBareMetalServerNetworkInterfaceAllowFloatArgs args)
    public IsBareMetalServerNetworkInterfaceAllowFloat(String name, IsBareMetalServerNetworkInterfaceAllowFloatArgs args, CustomResourceOptions options)
    
    type: ibm:IsBareMetalServerNetworkInterfaceAllowFloat
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IsBareMetalServerNetworkInterfaceAllowFloatArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IsBareMetalServerNetworkInterfaceAllowFloatArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IsBareMetalServerNetworkInterfaceAllowFloatArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IsBareMetalServerNetworkInterfaceAllowFloatArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IsBareMetalServerNetworkInterfaceAllowFloatArgs
    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 isBareMetalServerNetworkInterfaceAllowFloatResource = new Ibm.IsBareMetalServerNetworkInterfaceAllowFloat("isBareMetalServerNetworkInterfaceAllowFloatResource", new()
    {
        BareMetalServer = "string",
        Subnet = "string",
        Vlan = 0,
        AllowIpSpoofing = false,
        EnableInfrastructureNat = false,
        IsBareMetalServerNetworkInterfaceAllowFloatId = "string",
        Name = "string",
        PrimaryIp = new Ibm.Inputs.IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs
        {
            Address = "string",
            AutoDelete = false,
            Href = "string",
            Name = "string",
            ReservedIp = "string",
            ResourceType = "string",
        },
        SecurityGroups = new[]
        {
            "string",
        },
        Timeouts = new Ibm.Inputs.IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := ibm.NewIsBareMetalServerNetworkInterfaceAllowFloat(ctx, "isBareMetalServerNetworkInterfaceAllowFloatResource", &ibm.IsBareMetalServerNetworkInterfaceAllowFloatArgs{
    	BareMetalServer:         pulumi.String("string"),
    	Subnet:                  pulumi.String("string"),
    	Vlan:                    pulumi.Float64(0),
    	AllowIpSpoofing:         pulumi.Bool(false),
    	EnableInfrastructureNat: pulumi.Bool(false),
    	IsBareMetalServerNetworkInterfaceAllowFloatId: pulumi.String("string"),
    	Name: pulumi.String("string"),
    	PrimaryIp: &ibm.IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs{
    		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"),
    	},
    	Timeouts: &ibm.IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var isBareMetalServerNetworkInterfaceAllowFloatResource = new IsBareMetalServerNetworkInterfaceAllowFloat("isBareMetalServerNetworkInterfaceAllowFloatResource", IsBareMetalServerNetworkInterfaceAllowFloatArgs.builder()
        .bareMetalServer("string")
        .subnet("string")
        .vlan(0)
        .allowIpSpoofing(false)
        .enableInfrastructureNat(false)
        .isBareMetalServerNetworkInterfaceAllowFloatId("string")
        .name("string")
        .primaryIp(IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs.builder()
            .address("string")
            .autoDelete(false)
            .href("string")
            .name("string")
            .reservedIp("string")
            .resourceType("string")
            .build())
        .securityGroups("string")
        .timeouts(IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    is_bare_metal_server_network_interface_allow_float_resource = ibm.IsBareMetalServerNetworkInterfaceAllowFloat("isBareMetalServerNetworkInterfaceAllowFloatResource",
        bare_metal_server="string",
        subnet="string",
        vlan=0,
        allow_ip_spoofing=False,
        enable_infrastructure_nat=False,
        is_bare_metal_server_network_interface_allow_float_id="string",
        name="string",
        primary_ip={
            "address": "string",
            "auto_delete": False,
            "href": "string",
            "name": "string",
            "reserved_ip": "string",
            "resource_type": "string",
        },
        security_groups=["string"],
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const isBareMetalServerNetworkInterfaceAllowFloatResource = new ibm.IsBareMetalServerNetworkInterfaceAllowFloat("isBareMetalServerNetworkInterfaceAllowFloatResource", {
        bareMetalServer: "string",
        subnet: "string",
        vlan: 0,
        allowIpSpoofing: false,
        enableInfrastructureNat: false,
        isBareMetalServerNetworkInterfaceAllowFloatId: "string",
        name: "string",
        primaryIp: {
            address: "string",
            autoDelete: false,
            href: "string",
            name: "string",
            reservedIp: "string",
            resourceType: "string",
        },
        securityGroups: ["string"],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: ibm:IsBareMetalServerNetworkInterfaceAllowFloat
    properties:
        allowIpSpoofing: false
        bareMetalServer: string
        enableInfrastructureNat: false
        isBareMetalServerNetworkInterfaceAllowFloatId: string
        name: string
        primaryIp:
            address: string
            autoDelete: false
            href: string
            name: string
            reservedIp: string
            resourceType: string
        securityGroups:
            - string
        subnet: string
        timeouts:
            create: string
            delete: string
            update: string
        vlan: 0
    

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

    BareMetalServer string
    The id for this bare metal server.
    Subnet string
    The associated subnet id
    Vlan double
    Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
    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.
    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.
    IsBareMetalServerNetworkInterfaceAllowFloatId string
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    Name string
    The user-defined name for this network interface
    PrimaryIp IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIp
    title: IPv4, The IP address.
    SecurityGroups List<string>
    Collection of security groups
    Timeouts IsBareMetalServerNetworkInterfaceAllowFloatTimeouts
    BareMetalServer string
    The id for this bare metal server.
    Subnet string
    The associated subnet id
    Vlan float64
    Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
    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.
    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.
    IsBareMetalServerNetworkInterfaceAllowFloatId string
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    Name string
    The user-defined name for this network interface
    PrimaryIp IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs
    title: IPv4, The IP address.
    SecurityGroups []string
    Collection of security groups
    Timeouts IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs
    bareMetalServer String
    The id for this bare metal server.
    subnet String
    The associated subnet id
    vlan Double
    Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
    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.
    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.
    isBareMetalServerNetworkInterfaceAllowFloatId String
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    name String
    The user-defined name for this network interface
    primaryIp IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIp
    title: IPv4, The IP address.
    securityGroups List<String>
    Collection of security groups
    timeouts IsBareMetalServerNetworkInterfaceAllowFloatTimeouts
    bareMetalServer string
    The id for this bare metal server.
    subnet string
    The associated subnet id
    vlan number
    Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
    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.
    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.
    isBareMetalServerNetworkInterfaceAllowFloatId string
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    name string
    The user-defined name for this network interface
    primaryIp IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIp
    title: IPv4, The IP address.
    securityGroups string[]
    Collection of security groups
    timeouts IsBareMetalServerNetworkInterfaceAllowFloatTimeouts
    bare_metal_server str
    The id for this bare metal server.
    subnet str
    The associated subnet id
    vlan float
    Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
    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.
    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.
    is_bare_metal_server_network_interface_allow_float_id str
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    name str
    The user-defined name for this network interface
    primary_ip IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs
    title: IPv4, The IP address.
    security_groups Sequence[str]
    Collection of security groups
    timeouts IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs
    bareMetalServer String
    The id for this bare metal server.
    subnet String
    The associated subnet id
    vlan Number
    Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
    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.
    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.
    isBareMetalServerNetworkInterfaceAllowFloatId String
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    name String
    The user-defined name for this network interface
    primaryIp Property Map
    title: IPv4, The IP address.
    securityGroups List<String>
    Collection of security groups
    timeouts Property Map

    Outputs

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

    AllowInterfaceToFloat bool
    (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.
    FloatingBareMetalServer string
    (String) Bare metal server id of the server to which the network interface is floating to. (Same as bare_metal_server if its not floating)
    FloatingIps List<IsBareMetalServerNetworkInterfaceAllowFloatFloatingIp>
    (List) The floating IPs associated with this network interface.
    Href string
    (String) The URL for this network interface
    Id string
    The provider-assigned unique ID for this managed resource.
    InterfaceType string
    (String) The network interface type, supported values are [ pci, vlan ]
    MacAddress string
    (String) The MAC address of the interface. If absent, the value is not known.
    NetworkInterface string
    (String) The network interface id.
    PortSpeed double
    (Integer) The network interface port speed in Mbps
    ResourceType string
    (String)The resource type [ subnet_reserved_ip ]
    Status string
    (String) The status of the network interface.
    Type string
    (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
    AllowInterfaceToFloat bool
    (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.
    FloatingBareMetalServer string
    (String) Bare metal server id of the server to which the network interface is floating to. (Same as bare_metal_server if its not floating)
    FloatingIps []IsBareMetalServerNetworkInterfaceAllowFloatFloatingIp
    (List) The floating IPs associated with this network interface.
    Href string
    (String) The URL for this network interface
    Id string
    The provider-assigned unique ID for this managed resource.
    InterfaceType string
    (String) The network interface type, supported values are [ pci, vlan ]
    MacAddress string
    (String) The MAC address of the interface. If absent, the value is not known.
    NetworkInterface string
    (String) The network interface id.
    PortSpeed float64
    (Integer) The network interface port speed in Mbps
    ResourceType string
    (String)The resource type [ subnet_reserved_ip ]
    Status string
    (String) The status of the network interface.
    Type string
    (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
    allowInterfaceToFloat Boolean
    (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.
    floatingBareMetalServer String
    (String) Bare metal server id of the server to which the network interface is floating to. (Same as bare_metal_server if its not floating)
    floatingIps List<IsBareMetalServerNetworkInterfaceAllowFloatFloatingIp>
    (List) The floating IPs associated with this network interface.
    href String
    (String) The URL for this network interface
    id String
    The provider-assigned unique ID for this managed resource.
    interfaceType String
    (String) The network interface type, supported values are [ pci, vlan ]
    macAddress String
    (String) The MAC address of the interface. If absent, the value is not known.
    networkInterface String
    (String) The network interface id.
    portSpeed Double
    (Integer) The network interface port speed in Mbps
    resourceType String
    (String)The resource type [ subnet_reserved_ip ]
    status String
    (String) The status of the network interface.
    type String
    (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
    allowInterfaceToFloat boolean
    (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.
    floatingBareMetalServer string
    (String) Bare metal server id of the server to which the network interface is floating to. (Same as bare_metal_server if its not floating)
    floatingIps IsBareMetalServerNetworkInterfaceAllowFloatFloatingIp[]
    (List) The floating IPs associated with this network interface.
    href string
    (String) The URL for this network interface
    id string
    The provider-assigned unique ID for this managed resource.
    interfaceType string
    (String) The network interface type, supported values are [ pci, vlan ]
    macAddress string
    (String) The MAC address of the interface. If absent, the value is not known.
    networkInterface string
    (String) The network interface id.
    portSpeed number
    (Integer) The network interface port speed in Mbps
    resourceType string
    (String)The resource type [ subnet_reserved_ip ]
    status string
    (String) The status of the network interface.
    type string
    (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
    allow_interface_to_float bool
    (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.
    floating_bare_metal_server str
    (String) Bare metal server id of the server to which the network interface is floating to. (Same as bare_metal_server if its not floating)
    floating_ips Sequence[IsBareMetalServerNetworkInterfaceAllowFloatFloatingIp]
    (List) The floating IPs associated with this network interface.
    href str
    (String) The URL for this network interface
    id str
    The provider-assigned unique ID for this managed resource.
    interface_type str
    (String) The network interface type, supported values are [ pci, vlan ]
    mac_address str
    (String) The MAC address of the interface. If absent, the value is not known.
    network_interface str
    (String) The network interface id.
    port_speed float
    (Integer) The network interface port speed in Mbps
    resource_type str
    (String)The resource type [ subnet_reserved_ip ]
    status str
    (String) The status of the network interface.
    type str
    (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
    allowInterfaceToFloat Boolean
    (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.
    floatingBareMetalServer String
    (String) Bare metal server id of the server to which the network interface is floating to. (Same as bare_metal_server if its not floating)
    floatingIps List<Property Map>
    (List) The floating IPs associated with this network interface.
    href String
    (String) The URL for this network interface
    id String
    The provider-assigned unique ID for this managed resource.
    interfaceType String
    (String) The network interface type, supported values are [ pci, vlan ]
    macAddress String
    (String) The MAC address of the interface. If absent, the value is not known.
    networkInterface String
    (String) The network interface id.
    portSpeed Number
    (Integer) The network interface port speed in Mbps
    resourceType String
    (String)The resource type [ subnet_reserved_ip ]
    status String
    (String) The status of the network interface.
    type String
    (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]

    Look up Existing IsBareMetalServerNetworkInterfaceAllowFloat Resource

    Get an existing IsBareMetalServerNetworkInterfaceAllowFloat 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?: IsBareMetalServerNetworkInterfaceAllowFloatState, opts?: CustomResourceOptions): IsBareMetalServerNetworkInterfaceAllowFloat
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allow_interface_to_float: Optional[bool] = None,
            allow_ip_spoofing: Optional[bool] = None,
            bare_metal_server: Optional[str] = None,
            enable_infrastructure_nat: Optional[bool] = None,
            floating_bare_metal_server: Optional[str] = None,
            floating_ips: Optional[Sequence[IsBareMetalServerNetworkInterfaceAllowFloatFloatingIpArgs]] = None,
            href: Optional[str] = None,
            interface_type: Optional[str] = None,
            is_bare_metal_server_network_interface_allow_float_id: Optional[str] = None,
            mac_address: Optional[str] = None,
            name: Optional[str] = None,
            network_interface: Optional[str] = None,
            port_speed: Optional[float] = None,
            primary_ip: Optional[IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs] = None,
            resource_type: Optional[str] = None,
            security_groups: Optional[Sequence[str]] = None,
            status: Optional[str] = None,
            subnet: Optional[str] = None,
            timeouts: Optional[IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs] = None,
            type: Optional[str] = None,
            vlan: Optional[float] = None) -> IsBareMetalServerNetworkInterfaceAllowFloat
    func GetIsBareMetalServerNetworkInterfaceAllowFloat(ctx *Context, name string, id IDInput, state *IsBareMetalServerNetworkInterfaceAllowFloatState, opts ...ResourceOption) (*IsBareMetalServerNetworkInterfaceAllowFloat, error)
    public static IsBareMetalServerNetworkInterfaceAllowFloat Get(string name, Input<string> id, IsBareMetalServerNetworkInterfaceAllowFloatState? state, CustomResourceOptions? opts = null)
    public static IsBareMetalServerNetworkInterfaceAllowFloat get(String name, Output<String> id, IsBareMetalServerNetworkInterfaceAllowFloatState state, CustomResourceOptions options)
    resources:  _:    type: ibm:IsBareMetalServerNetworkInterfaceAllowFloat    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AllowInterfaceToFloat bool
    (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 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.
    BareMetalServer string
    The id for this 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.
    FloatingBareMetalServer string
    (String) Bare metal server id of the server to which the network interface is floating to. (Same as bare_metal_server if its not floating)
    FloatingIps List<IsBareMetalServerNetworkInterfaceAllowFloatFloatingIp>
    (List) The floating IPs associated with this network interface.
    Href string
    (String) The URL for this network interface
    InterfaceType string
    (String) The network interface type, supported values are [ pci, vlan ]
    IsBareMetalServerNetworkInterfaceAllowFloatId string
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    MacAddress string
    (String) The MAC address of the interface. If absent, the value is not known.
    Name string
    The user-defined name for this network interface
    NetworkInterface string
    (String) The network interface id.
    PortSpeed double
    (Integer) The network interface port speed in Mbps
    PrimaryIp IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIp
    title: IPv4, The IP address.
    ResourceType string
    (String)The resource type [ subnet_reserved_ip ]
    SecurityGroups List<string>
    Collection of security groups
    Status string
    (String) The status of the network interface.
    Subnet string
    The associated subnet id
    Timeouts IsBareMetalServerNetworkInterfaceAllowFloatTimeouts
    Type string
    (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
    Vlan double
    Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
    AllowInterfaceToFloat bool
    (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 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.
    BareMetalServer string
    The id for this 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.
    FloatingBareMetalServer string
    (String) Bare metal server id of the server to which the network interface is floating to. (Same as bare_metal_server if its not floating)
    FloatingIps []IsBareMetalServerNetworkInterfaceAllowFloatFloatingIpArgs
    (List) The floating IPs associated with this network interface.
    Href string
    (String) The URL for this network interface
    InterfaceType string
    (String) The network interface type, supported values are [ pci, vlan ]
    IsBareMetalServerNetworkInterfaceAllowFloatId string
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    MacAddress string
    (String) The MAC address of the interface. If absent, the value is not known.
    Name string
    The user-defined name for this network interface
    NetworkInterface string
    (String) The network interface id.
    PortSpeed float64
    (Integer) The network interface port speed in Mbps
    PrimaryIp IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs
    title: IPv4, The IP address.
    ResourceType string
    (String)The resource type [ subnet_reserved_ip ]
    SecurityGroups []string
    Collection of security groups
    Status string
    (String) The status of the network interface.
    Subnet string
    The associated subnet id
    Timeouts IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs
    Type string
    (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
    Vlan float64
    Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
    allowInterfaceToFloat Boolean
    (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 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.
    bareMetalServer String
    The id for this 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.
    floatingBareMetalServer String
    (String) Bare metal server id of the server to which the network interface is floating to. (Same as bare_metal_server if its not floating)
    floatingIps List<IsBareMetalServerNetworkInterfaceAllowFloatFloatingIp>
    (List) The floating IPs associated with this network interface.
    href String
    (String) The URL for this network interface
    interfaceType String
    (String) The network interface type, supported values are [ pci, vlan ]
    isBareMetalServerNetworkInterfaceAllowFloatId String
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    macAddress String
    (String) The MAC address of the interface. If absent, the value is not known.
    name String
    The user-defined name for this network interface
    networkInterface String
    (String) The network interface id.
    portSpeed Double
    (Integer) The network interface port speed in Mbps
    primaryIp IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIp
    title: IPv4, The IP address.
    resourceType String
    (String)The resource type [ subnet_reserved_ip ]
    securityGroups List<String>
    Collection of security groups
    status String
    (String) The status of the network interface.
    subnet String
    The associated subnet id
    timeouts IsBareMetalServerNetworkInterfaceAllowFloatTimeouts
    type String
    (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
    vlan Double
    Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
    allowInterfaceToFloat boolean
    (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 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.
    bareMetalServer string
    The id for this 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.
    floatingBareMetalServer string
    (String) Bare metal server id of the server to which the network interface is floating to. (Same as bare_metal_server if its not floating)
    floatingIps IsBareMetalServerNetworkInterfaceAllowFloatFloatingIp[]
    (List) The floating IPs associated with this network interface.
    href string
    (String) The URL for this network interface
    interfaceType string
    (String) The network interface type, supported values are [ pci, vlan ]
    isBareMetalServerNetworkInterfaceAllowFloatId string
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    macAddress string
    (String) The MAC address of the interface. If absent, the value is not known.
    name string
    The user-defined name for this network interface
    networkInterface string
    (String) The network interface id.
    portSpeed number
    (Integer) The network interface port speed in Mbps
    primaryIp IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIp
    title: IPv4, The IP address.
    resourceType string
    (String)The resource type [ subnet_reserved_ip ]
    securityGroups string[]
    Collection of security groups
    status string
    (String) The status of the network interface.
    subnet string
    The associated subnet id
    timeouts IsBareMetalServerNetworkInterfaceAllowFloatTimeouts
    type string
    (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
    vlan number
    Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
    allow_interface_to_float bool
    (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.
    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.
    bare_metal_server str
    The id for this 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.
    floating_bare_metal_server str
    (String) Bare metal server id of the server to which the network interface is floating to. (Same as bare_metal_server if its not floating)
    floating_ips Sequence[IsBareMetalServerNetworkInterfaceAllowFloatFloatingIpArgs]
    (List) The floating IPs associated with this network interface.
    href str
    (String) The URL for this network interface
    interface_type str
    (String) The network interface type, supported values are [ pci, vlan ]
    is_bare_metal_server_network_interface_allow_float_id str
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    mac_address str
    (String) The MAC address of the interface. If absent, the value is not known.
    name str
    The user-defined name for this network interface
    network_interface str
    (String) The network interface id.
    port_speed float
    (Integer) The network interface port speed in Mbps
    primary_ip IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs
    title: IPv4, The IP address.
    resource_type str
    (String)The resource type [ subnet_reserved_ip ]
    security_groups Sequence[str]
    Collection of security groups
    status str
    (String) The status of the network interface.
    subnet str
    The associated subnet id
    timeouts IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs
    type str
    (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
    vlan float
    Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
    allowInterfaceToFloat Boolean
    (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 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.
    bareMetalServer String
    The id for this 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.
    floatingBareMetalServer String
    (String) Bare metal server id of the server to which the network interface is floating to. (Same as bare_metal_server if its not floating)
    floatingIps List<Property Map>
    (List) The floating IPs associated with this network interface.
    href String
    (String) The URL for this network interface
    interfaceType String
    (String) The network interface type, supported values are [ pci, vlan ]
    isBareMetalServerNetworkInterfaceAllowFloatId String
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    macAddress String
    (String) The MAC address of the interface. If absent, the value is not known.
    name String
    The user-defined name for this network interface
    networkInterface String
    (String) The network interface id.
    portSpeed Number
    (Integer) The network interface port speed in Mbps
    primaryIp Property Map
    title: IPv4, The IP address.
    resourceType String
    (String)The resource type [ subnet_reserved_ip ]
    securityGroups List<String>
    Collection of security groups
    status String
    (String) The status of the network interface.
    subnet String
    The associated subnet id
    timeouts Property Map
    type String
    (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
    vlan Number
    Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface

    Supporting Types

    IsBareMetalServerNetworkInterfaceAllowFloatFloatingIp, IsBareMetalServerNetworkInterfaceAllowFloatFloatingIpArgs

    Address string
    (String) The floating IP address.
    Id string
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    Address string
    (String) The floating IP address.
    Id string
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    address String
    (String) The floating IP address.
    id String
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    address string
    (String) The floating IP address.
    id string
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    address str
    (String) The floating IP address.
    id str
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
    address String
    (String) The floating IP address.
    id String
    (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>

    IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIp, IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs

    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 network interface
    Name string
    The user-defined name for this network interface
    ReservedIp string
    Identifies a reserved IP by a unique property.
    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
    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 network interface
    Name string
    The user-defined name for this network interface
    ReservedIp string
    Identifies a reserved IP by a unique property.
    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
    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 network interface
    name String
    The user-defined name for this network interface
    reservedIp String
    Identifies a reserved IP by a unique property.
    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
    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 network interface
    name string
    The user-defined name for this network interface
    reservedIp string
    Identifies a reserved IP by a unique property.
    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
    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 network interface
    name str
    The user-defined name for this network interface
    reserved_ip str
    Identifies a reserved IP by a unique property.
    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
    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 network interface
    name String
    The user-defined name for this network interface
    reservedIp String
    Identifies a reserved IP by a unique property.
    resourceType String
    (String)The resource type [ subnet_reserved_ip ]

    IsBareMetalServerNetworkInterfaceAllowFloatTimeouts, IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs

    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

    Import

    ibm_is_bare_metal_server can be imported using bare metal server ID and network interface 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.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud