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

ibm.IsBareMetalServerNetworkAttachment

Explore with Pulumi AI

Create, update, and delete is_bare_metal_server_network_attachments with this resource.

Example Usage

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

const testaccBms = new ibm.IsBareMetalServer("testaccBms", {
    image: "r134-f47cc24c-e020-4db5-ad96-1e5be8b5853b",
    keys: ["r134-349aac10-ed14-4dc6-a95d-2ce66c3b447c"],
    primaryNetworkAttachment: {
        allowedVlans: [
            100,
            102,
        ],
        name: "vni-2",
        virtualNetworkInterface: {
            id: "0726-b1755e04-1430-48d7-971d-661ba2836b54",
        },
    },
    profile: "cx2-metal-96x192",
    vpc: "r134-6d509c8a-470e-4cdd-a82c-103f2353f5fc",
    zone: `${_var.region}-2`,
});
const na = new ibm.IsBareMetalServerNetworkAttachment("na", {
    allowedVlans: [
        200,
        202,
        203,
    ],
    bareMetalServer: "0726-e17dbe53-25d2-42da-8532-bcb3b5a19f37",
    virtualNetworkInterface: {
        id: "0726-b1755e04-1430-48d7-971d-661ba2836b54",
    },
});
Copy
import pulumi
import pulumi_ibm as ibm

testacc_bms = ibm.IsBareMetalServer("testaccBms",
    image="r134-f47cc24c-e020-4db5-ad96-1e5be8b5853b",
    keys=["r134-349aac10-ed14-4dc6-a95d-2ce66c3b447c"],
    primary_network_attachment={
        "allowed_vlans": [
            100,
            102,
        ],
        "name": "vni-2",
        "virtual_network_interface": {
            "id": "0726-b1755e04-1430-48d7-971d-661ba2836b54",
        },
    },
    profile="cx2-metal-96x192",
    vpc="r134-6d509c8a-470e-4cdd-a82c-103f2353f5fc",
    zone=f"{var['region']}-2")
na = ibm.IsBareMetalServerNetworkAttachment("na",
    allowed_vlans=[
        200,
        202,
        203,
    ],
    bare_metal_server="0726-e17dbe53-25d2-42da-8532-bcb3b5a19f37",
    virtual_network_interface={
        "id": "0726-b1755e04-1430-48d7-971d-661ba2836b54",
    })
Copy
package main

import (
	"fmt"

	"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, "testaccBms", &ibm.IsBareMetalServerArgs{
			Image: pulumi.String("r134-f47cc24c-e020-4db5-ad96-1e5be8b5853b"),
			Keys: pulumi.StringArray{
				pulumi.String("r134-349aac10-ed14-4dc6-a95d-2ce66c3b447c"),
			},
			PrimaryNetworkAttachment: &ibm.IsBareMetalServerPrimaryNetworkAttachmentArgs{
				AllowedVlans: pulumi.Float64Array{
					pulumi.Float64(100),
					pulumi.Float64(102),
				},
				Name: pulumi.String("vni-2"),
				VirtualNetworkInterface: &ibm.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs{
					Id: pulumi.String("0726-b1755e04-1430-48d7-971d-661ba2836b54"),
				},
			},
			Profile: pulumi.String("cx2-metal-96x192"),
			Vpc:     pulumi.String("r134-6d509c8a-470e-4cdd-a82c-103f2353f5fc"),
			Zone:    pulumi.Sprintf("%v-2", _var.Region),
		})
		if err != nil {
			return err
		}
		_, err = ibm.NewIsBareMetalServerNetworkAttachment(ctx, "na", &ibm.IsBareMetalServerNetworkAttachmentArgs{
			AllowedVlans: pulumi.Float64Array{
				pulumi.Float64(200),
				pulumi.Float64(202),
				pulumi.Float64(203),
			},
			BareMetalServer: pulumi.String("0726-e17dbe53-25d2-42da-8532-bcb3b5a19f37"),
			VirtualNetworkInterface: &ibm.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs{
				Id: pulumi.String("0726-b1755e04-1430-48d7-971d-661ba2836b54"),
			},
		})
		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 testaccBms = new Ibm.IsBareMetalServer("testaccBms", new()
    {
        Image = "r134-f47cc24c-e020-4db5-ad96-1e5be8b5853b",
        Keys = new[]
        {
            "r134-349aac10-ed14-4dc6-a95d-2ce66c3b447c",
        },
        PrimaryNetworkAttachment = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentArgs
        {
            AllowedVlans = new[]
            {
                100,
                102,
            },
            Name = "vni-2",
            VirtualNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs
            {
                Id = "0726-b1755e04-1430-48d7-971d-661ba2836b54",
            },
        },
        Profile = "cx2-metal-96x192",
        Vpc = "r134-6d509c8a-470e-4cdd-a82c-103f2353f5fc",
        Zone = $"{@var.Region}-2",
    });

    var na = new Ibm.IsBareMetalServerNetworkAttachment("na", new()
    {
        AllowedVlans = new[]
        {
            200,
            202,
            203,
        },
        BareMetalServer = "0726-e17dbe53-25d2-42da-8532-bcb3b5a19f37",
        VirtualNetworkInterface = new Ibm.Inputs.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs
        {
            Id = "0726-b1755e04-1430-48d7-971d-661ba2836b54",
        },
    });

});
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 com.pulumi.ibm.IsBareMetalServerNetworkAttachment;
import com.pulumi.ibm.IsBareMetalServerNetworkAttachmentArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs;
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 testaccBms = new IsBareMetalServer("testaccBms", IsBareMetalServerArgs.builder()
            .image("r134-f47cc24c-e020-4db5-ad96-1e5be8b5853b")
            .keys("r134-349aac10-ed14-4dc6-a95d-2ce66c3b447c")
            .primaryNetworkAttachment(IsBareMetalServerPrimaryNetworkAttachmentArgs.builder()
                .allowedVlans(                
                    100,
                    102)
                .name("vni-2")
                .virtualNetworkInterface(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs.builder()
                    .id("0726-b1755e04-1430-48d7-971d-661ba2836b54")
                    .build())
                .build())
            .profile("cx2-metal-96x192")
            .vpc("r134-6d509c8a-470e-4cdd-a82c-103f2353f5fc")
            .zone(String.format("%s-2", var_.region()))
            .build());

        var na = new IsBareMetalServerNetworkAttachment("na", IsBareMetalServerNetworkAttachmentArgs.builder()
            .allowedVlans(            
                200,
                202,
                203)
            .bareMetalServer("0726-e17dbe53-25d2-42da-8532-bcb3b5a19f37")
            .virtualNetworkInterface(IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs.builder()
                .id("0726-b1755e04-1430-48d7-971d-661ba2836b54")
                .build())
            .build());

    }
}
Copy
resources:
  testaccBms:
    type: ibm:IsBareMetalServer
    properties:
      image: r134-f47cc24c-e020-4db5-ad96-1e5be8b5853b
      keys:
        - r134-349aac10-ed14-4dc6-a95d-2ce66c3b447c
      primaryNetworkAttachment:
        allowedVlans:
          - 100
          - 102
        name: vni-2
        virtualNetworkInterface:
          id: 0726-b1755e04-1430-48d7-971d-661ba2836b54
      profile: cx2-metal-96x192
      vpc: r134-6d509c8a-470e-4cdd-a82c-103f2353f5fc
      zone: ${var.region}-2
  na:
    type: ibm:IsBareMetalServerNetworkAttachment
    properties:
      allowedVlans:
        - 200
        - 202
        - 203
      bareMetalServer: 0726-e17dbe53-25d2-42da-8532-bcb3b5a19f37
      virtualNetworkInterface:
        id: 0726-b1755e04-1430-48d7-971d-661ba2836b54
Copy

Create IsBareMetalServerNetworkAttachment Resource

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

Constructor syntax

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

@overload
def IsBareMetalServerNetworkAttachment(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       bare_metal_server: Optional[str] = None,
                                       allow_to_float: Optional[bool] = None,
                                       allowed_vlans: Optional[Sequence[float]] = None,
                                       hard_stop: Optional[bool] = None,
                                       interface_type: Optional[str] = None,
                                       is_bare_metal_server_network_attachment_id: Optional[str] = None,
                                       name: Optional[str] = None,
                                       timeouts: Optional[IsBareMetalServerNetworkAttachmentTimeoutsArgs] = None,
                                       virtual_network_interface: Optional[IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs] = None,
                                       vlan: Optional[float] = None)
func NewIsBareMetalServerNetworkAttachment(ctx *Context, name string, args IsBareMetalServerNetworkAttachmentArgs, opts ...ResourceOption) (*IsBareMetalServerNetworkAttachment, error)
public IsBareMetalServerNetworkAttachment(string name, IsBareMetalServerNetworkAttachmentArgs args, CustomResourceOptions? opts = null)
public IsBareMetalServerNetworkAttachment(String name, IsBareMetalServerNetworkAttachmentArgs args)
public IsBareMetalServerNetworkAttachment(String name, IsBareMetalServerNetworkAttachmentArgs args, CustomResourceOptions options)
type: ibm:IsBareMetalServerNetworkAttachment
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. IsBareMetalServerNetworkAttachmentArgs
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. IsBareMetalServerNetworkAttachmentInitArgs
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. IsBareMetalServerNetworkAttachmentArgs
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. IsBareMetalServerNetworkAttachmentArgs
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. IsBareMetalServerNetworkAttachmentArgs
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 isBareMetalServerNetworkAttachmentResource = new Ibm.IsBareMetalServerNetworkAttachment("isBareMetalServerNetworkAttachmentResource", new()
{
    BareMetalServer = "string",
    AllowToFloat = false,
    AllowedVlans = new[]
    {
        0,
    },
    HardStop = false,
    InterfaceType = "string",
    IsBareMetalServerNetworkAttachmentId = "string",
    Name = "string",
    Timeouts = new Ibm.Inputs.IsBareMetalServerNetworkAttachmentTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
    VirtualNetworkInterface = 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,
});
Copy
example, err := ibm.NewIsBareMetalServerNetworkAttachment(ctx, "isBareMetalServerNetworkAttachmentResource", &ibm.IsBareMetalServerNetworkAttachmentArgs{
	BareMetalServer: pulumi.String("string"),
	AllowToFloat:    pulumi.Bool(false),
	AllowedVlans: pulumi.Float64Array{
		pulumi.Float64(0),
	},
	HardStop:                             pulumi.Bool(false),
	InterfaceType:                        pulumi.String("string"),
	IsBareMetalServerNetworkAttachmentId: pulumi.String("string"),
	Name:                                 pulumi.String("string"),
	Timeouts: &ibm.IsBareMetalServerNetworkAttachmentTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Update: pulumi.String("string"),
	},
	VirtualNetworkInterface: &ibm.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs{
		AllowIpSpoofing:         pulumi.Bool(false),
		AutoDelete:              pulumi.Bool(false),
		EnableInfrastructureNat: pulumi.Bool(false),
		Id:                      pulumi.String("string"),
		Ips: ibm.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpArray{
			&ibm.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpArgs{
				ReservedIp: pulumi.String("string"),
				Address:    pulumi.String("string"),
				AutoDelete: pulumi.Bool(false),
				Deleteds: ibm.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeletedArray{
					&ibm.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs{
						MoreInfo: pulumi.String("string"),
					},
				},
				Href:         pulumi.String("string"),
				Name:         pulumi.String("string"),
				ResourceType: pulumi.String("string"),
			},
		},
		Name: pulumi.String("string"),
		PrimaryIps: ibm.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpArray{
			&ibm.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs{
				Address: pulumi.String("string"),
				Deleteds: ibm.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArray{
					&ibm.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),
})
Copy
var isBareMetalServerNetworkAttachmentResource = new IsBareMetalServerNetworkAttachment("isBareMetalServerNetworkAttachmentResource", IsBareMetalServerNetworkAttachmentArgs.builder()
    .bareMetalServer("string")
    .allowToFloat(false)
    .allowedVlans(0)
    .hardStop(false)
    .interfaceType("string")
    .isBareMetalServerNetworkAttachmentId("string")
    .name("string")
    .timeouts(IsBareMetalServerNetworkAttachmentTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .virtualNetworkInterface(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());
Copy
is_bare_metal_server_network_attachment_resource = ibm.IsBareMetalServerNetworkAttachment("isBareMetalServerNetworkAttachmentResource",
    bare_metal_server="string",
    allow_to_float=False,
    allowed_vlans=[0],
    hard_stop=False,
    interface_type="string",
    is_bare_metal_server_network_attachment_id="string",
    name="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "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_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)
Copy
const isBareMetalServerNetworkAttachmentResource = new ibm.IsBareMetalServerNetworkAttachment("isBareMetalServerNetworkAttachmentResource", {
    bareMetalServer: "string",
    allowToFloat: false,
    allowedVlans: [0],
    hardStop: false,
    interfaceType: "string",
    isBareMetalServerNetworkAttachmentId: "string",
    name: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        update: "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",
        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,
});
Copy
type: ibm:IsBareMetalServerNetworkAttachment
properties:
    allowToFloat: false
    allowedVlans:
        - 0
    bareMetalServer: string
    hardStop: false
    interfaceType: string
    isBareMetalServerNetworkAttachmentId: string
    name: string
    timeouts:
        create: string
        delete: string
        update: 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
        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
Copy

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

BareMetalServer This property is required. string
The bare metal server identifier.
AllowToFloat bool
Indicates if the bare metal server network attachment can automatically float to any other server within the same resource_group. The bare metal server network attachment will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to bare metal server network attachments with vlan interface type.
AllowedVlans List<double>
Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
HardStop bool
Only used for PCI network attachments, whether to hard/immediately stop server
InterfaceType string
The network attachment's interface type:- hipersocket: a virtual network device that provides high-speed TCP/IP connectivity within a s390x based system- pci: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has an allowed_vlans property which controls the VLANs that will be permitted to use the PCI attachment - Cannot directly use an IEEE 802.1q VLAN tag.- vlan: a virtual device, used through a pci device that has the vlan in its array of allowed_vlans. - Must use an IEEE 802.1q tag.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.
IsBareMetalServerNetworkAttachmentId string
(String) The unique identifier for this subnet.
Name string
The name for this bare metal server network attachment. The name is unique across all network attachments for the bare metal server.
Timeouts IsBareMetalServerNetworkAttachmentTimeouts
VirtualNetworkInterface IsBareMetalServerNetworkAttachmentVirtualNetworkInterface
The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
Vlan double
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this attachment.
BareMetalServer This property is required. string
The bare metal server identifier.
AllowToFloat bool
Indicates if the bare metal server network attachment can automatically float to any other server within the same resource_group. The bare metal server network attachment will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to bare metal server network attachments with vlan interface type.
AllowedVlans []float64
Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
HardStop bool
Only used for PCI network attachments, whether to hard/immediately stop server
InterfaceType string
The network attachment's interface type:- hipersocket: a virtual network device that provides high-speed TCP/IP connectivity within a s390x based system- pci: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has an allowed_vlans property which controls the VLANs that will be permitted to use the PCI attachment - Cannot directly use an IEEE 802.1q VLAN tag.- vlan: a virtual device, used through a pci device that has the vlan in its array of allowed_vlans. - Must use an IEEE 802.1q tag.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.
IsBareMetalServerNetworkAttachmentId string
(String) The unique identifier for this subnet.
Name string
The name for this bare metal server network attachment. The name is unique across all network attachments for the bare metal server.
Timeouts IsBareMetalServerNetworkAttachmentTimeoutsArgs
VirtualNetworkInterface IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs
The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
Vlan float64
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this attachment.
bareMetalServer This property is required. String
The bare metal server identifier.
allowToFloat Boolean
Indicates if the bare metal server network attachment can automatically float to any other server within the same resource_group. The bare metal server network attachment will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to bare metal server network attachments with vlan interface type.
allowedVlans List<Double>
Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
hardStop Boolean
Only used for PCI network attachments, whether to hard/immediately stop server
interfaceType String
The network attachment's interface type:- hipersocket: a virtual network device that provides high-speed TCP/IP connectivity within a s390x based system- pci: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has an allowed_vlans property which controls the VLANs that will be permitted to use the PCI attachment - Cannot directly use an IEEE 802.1q VLAN tag.- vlan: a virtual device, used through a pci device that has the vlan in its array of allowed_vlans. - Must use an IEEE 802.1q tag.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.
isBareMetalServerNetworkAttachmentId String
(String) The unique identifier for this subnet.
name String
The name for this bare metal server network attachment. The name is unique across all network attachments for the bare metal server.
timeouts IsBareMetalServerNetworkAttachmentTimeouts
virtualNetworkInterface IsBareMetalServerNetworkAttachmentVirtualNetworkInterface
The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
vlan Double
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this attachment.
bareMetalServer This property is required. string
The bare metal server identifier.
allowToFloat boolean
Indicates if the bare metal server network attachment can automatically float to any other server within the same resource_group. The bare metal server network attachment will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to bare metal server network attachments with vlan interface type.
allowedVlans number[]
Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
hardStop boolean
Only used for PCI network attachments, whether to hard/immediately stop server
interfaceType string
The network attachment's interface type:- hipersocket: a virtual network device that provides high-speed TCP/IP connectivity within a s390x based system- pci: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has an allowed_vlans property which controls the VLANs that will be permitted to use the PCI attachment - Cannot directly use an IEEE 802.1q VLAN tag.- vlan: a virtual device, used through a pci device that has the vlan in its array of allowed_vlans. - Must use an IEEE 802.1q tag.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.
isBareMetalServerNetworkAttachmentId string
(String) The unique identifier for this subnet.
name string
The name for this bare metal server network attachment. The name is unique across all network attachments for the bare metal server.
timeouts IsBareMetalServerNetworkAttachmentTimeouts
virtualNetworkInterface IsBareMetalServerNetworkAttachmentVirtualNetworkInterface
The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
vlan number
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this attachment.
bare_metal_server This property is required. str
The bare metal server identifier.
allow_to_float bool
Indicates if the bare metal server network attachment can automatically float to any other server within the same resource_group. The bare metal server network attachment will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to bare metal server network attachments with vlan interface type.
allowed_vlans Sequence[float]
Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
hard_stop bool
Only used for PCI network attachments, whether to hard/immediately stop server
interface_type str
The network attachment's interface type:- hipersocket: a virtual network device that provides high-speed TCP/IP connectivity within a s390x based system- pci: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has an allowed_vlans property which controls the VLANs that will be permitted to use the PCI attachment - Cannot directly use an IEEE 802.1q VLAN tag.- vlan: a virtual device, used through a pci device that has the vlan in its array of allowed_vlans. - Must use an IEEE 802.1q tag.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.
is_bare_metal_server_network_attachment_id str
(String) The unique identifier for this subnet.
name str
The name for this bare metal server network attachment. The name is unique across all network attachments for the bare metal server.
timeouts IsBareMetalServerNetworkAttachmentTimeoutsArgs
virtual_network_interface IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs
The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
vlan float
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this attachment.
bareMetalServer This property is required. String
The bare metal server identifier.
allowToFloat Boolean
Indicates if the bare metal server network attachment can automatically float to any other server within the same resource_group. The bare metal server network attachment will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to bare metal server network attachments with vlan interface type.
allowedVlans List<Number>
Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
hardStop Boolean
Only used for PCI network attachments, whether to hard/immediately stop server
interfaceType String
The network attachment's interface type:- hipersocket: a virtual network device that provides high-speed TCP/IP connectivity within a s390x based system- pci: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has an allowed_vlans property which controls the VLANs that will be permitted to use the PCI attachment - Cannot directly use an IEEE 802.1q VLAN tag.- vlan: a virtual device, used through a pci device that has the vlan in its array of allowed_vlans. - Must use an IEEE 802.1q tag.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.
isBareMetalServerNetworkAttachmentId String
(String) The unique identifier for this subnet.
name String
The name for this bare metal server network attachment. The name is unique across all network attachments for the bare metal server.
timeouts Property Map
virtualNetworkInterface Property Map
The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
vlan Number
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this attachment.

Outputs

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

CreatedAt string
(String) The date and time that the bare metal server network attachment was created.
FloatingBareMetalServer string
The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
Href string
(String) The URL for this subnet.
Id string
The provider-assigned unique ID for this managed resource.
LifecycleState string
(String) The lifecycle state of the bare metal server network attachment.
NetworkAttachment string
The network attachment's id.
PortSpeed double
(Integer) The port speed for this bare metal server network attachment in Mbps.
ResourceType string
(String) The resource type.
Type string
(String) The bare metal server network attachment type.
VirtualNetworkInterfaceId string
The virtual_network_interface's id.
CreatedAt string
(String) The date and time that the bare metal server network attachment was created.
FloatingBareMetalServer string
The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
Href string
(String) The URL for this subnet.
Id string
The provider-assigned unique ID for this managed resource.
LifecycleState string
(String) The lifecycle state of the bare metal server network attachment.
NetworkAttachment string
The network attachment's id.
PortSpeed float64
(Integer) The port speed for this bare metal server network attachment in Mbps.
ResourceType string
(String) The resource type.
Type string
(String) The bare metal server network attachment type.
VirtualNetworkInterfaceId string
The virtual_network_interface's id.
createdAt String
(String) The date and time that the bare metal server network attachment was created.
floatingBareMetalServer String
The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
href String
(String) The URL for this subnet.
id String
The provider-assigned unique ID for this managed resource.
lifecycleState String
(String) The lifecycle state of the bare metal server network attachment.
networkAttachment String
The network attachment's id.
portSpeed Double
(Integer) The port speed for this bare metal server network attachment in Mbps.
resourceType String
(String) The resource type.
type String
(String) The bare metal server network attachment type.
virtualNetworkInterfaceId String
The virtual_network_interface's id.
createdAt string
(String) The date and time that the bare metal server network attachment was created.
floatingBareMetalServer string
The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
href string
(String) The URL for this subnet.
id string
The provider-assigned unique ID for this managed resource.
lifecycleState string
(String) The lifecycle state of the bare metal server network attachment.
networkAttachment string
The network attachment's id.
portSpeed number
(Integer) The port speed for this bare metal server network attachment in Mbps.
resourceType string
(String) The resource type.
type string
(String) The bare metal server network attachment type.
virtualNetworkInterfaceId string
The virtual_network_interface's id.
created_at str
(String) The date and time that the bare metal server network attachment was created.
floating_bare_metal_server str
The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
href str
(String) The URL for this subnet.
id str
The provider-assigned unique ID for this managed resource.
lifecycle_state str
(String) The lifecycle state of the bare metal server network attachment.
network_attachment str
The network attachment's id.
port_speed float
(Integer) The port speed for this bare metal server network attachment in Mbps.
resource_type str
(String) The resource type.
type str
(String) The bare metal server network attachment type.
virtual_network_interface_id str
The virtual_network_interface's id.
createdAt String
(String) The date and time that the bare metal server network attachment was created.
floatingBareMetalServer String
The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
href String
(String) The URL for this subnet.
id String
The provider-assigned unique ID for this managed resource.
lifecycleState String
(String) The lifecycle state of the bare metal server network attachment.
networkAttachment String
The network attachment's id.
portSpeed Number
(Integer) The port speed for this bare metal server network attachment in Mbps.
resourceType String
(String) The resource type.
type String
(String) The bare metal server network attachment type.
virtualNetworkInterfaceId String
The virtual_network_interface's id.

Look up Existing IsBareMetalServerNetworkAttachment Resource

Get an existing IsBareMetalServerNetworkAttachment 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?: IsBareMetalServerNetworkAttachmentState, opts?: CustomResourceOptions): IsBareMetalServerNetworkAttachment
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allow_to_float: Optional[bool] = None,
        allowed_vlans: Optional[Sequence[float]] = None,
        bare_metal_server: Optional[str] = None,
        created_at: Optional[str] = None,
        floating_bare_metal_server: Optional[str] = None,
        hard_stop: Optional[bool] = None,
        href: Optional[str] = None,
        interface_type: Optional[str] = None,
        is_bare_metal_server_network_attachment_id: Optional[str] = None,
        lifecycle_state: Optional[str] = None,
        name: Optional[str] = None,
        network_attachment: Optional[str] = None,
        port_speed: Optional[float] = None,
        resource_type: Optional[str] = None,
        timeouts: Optional[IsBareMetalServerNetworkAttachmentTimeoutsArgs] = None,
        type: Optional[str] = None,
        virtual_network_interface: Optional[IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs] = None,
        virtual_network_interface_id: Optional[str] = None,
        vlan: Optional[float] = None) -> IsBareMetalServerNetworkAttachment
func GetIsBareMetalServerNetworkAttachment(ctx *Context, name string, id IDInput, state *IsBareMetalServerNetworkAttachmentState, opts ...ResourceOption) (*IsBareMetalServerNetworkAttachment, error)
public static IsBareMetalServerNetworkAttachment Get(string name, Input<string> id, IsBareMetalServerNetworkAttachmentState? state, CustomResourceOptions? opts = null)
public static IsBareMetalServerNetworkAttachment get(String name, Output<String> id, IsBareMetalServerNetworkAttachmentState state, CustomResourceOptions options)
resources:  _:    type: ibm:IsBareMetalServerNetworkAttachment    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:
AllowToFloat bool
Indicates if the bare metal server network attachment can automatically float to any other server within the same resource_group. The bare metal server network attachment will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to bare metal server network attachments with vlan interface type.
AllowedVlans List<double>
Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
BareMetalServer string
The bare metal server identifier.
CreatedAt string
(String) The date and time that the bare metal server network attachment was created.
FloatingBareMetalServer string
The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
HardStop bool
Only used for PCI network attachments, whether to hard/immediately stop server
Href string
(String) The URL for this subnet.
InterfaceType string
The network attachment's interface type:- hipersocket: a virtual network device that provides high-speed TCP/IP connectivity within a s390x based system- pci: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has an allowed_vlans property which controls the VLANs that will be permitted to use the PCI attachment - Cannot directly use an IEEE 802.1q VLAN tag.- vlan: a virtual device, used through a pci device that has the vlan in its array of allowed_vlans. - Must use an IEEE 802.1q tag.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.
IsBareMetalServerNetworkAttachmentId string
(String) The unique identifier for this subnet.
LifecycleState string
(String) The lifecycle state of the bare metal server network attachment.
Name string
The name for this bare metal server network attachment. The name is unique across all network attachments for the bare metal server.
NetworkAttachment string
The network attachment's id.
PortSpeed double
(Integer) The port speed for this bare metal server network attachment in Mbps.
ResourceType string
(String) The resource type.
Timeouts IsBareMetalServerNetworkAttachmentTimeouts
Type string
(String) The bare metal server network attachment type.
VirtualNetworkInterface IsBareMetalServerNetworkAttachmentVirtualNetworkInterface
The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
VirtualNetworkInterfaceId string
The virtual_network_interface's id.
Vlan double
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this attachment.
AllowToFloat bool
Indicates if the bare metal server network attachment can automatically float to any other server within the same resource_group. The bare metal server network attachment will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to bare metal server network attachments with vlan interface type.
AllowedVlans []float64
Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
BareMetalServer string
The bare metal server identifier.
CreatedAt string
(String) The date and time that the bare metal server network attachment was created.
FloatingBareMetalServer string
The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
HardStop bool
Only used for PCI network attachments, whether to hard/immediately stop server
Href string
(String) The URL for this subnet.
InterfaceType string
The network attachment's interface type:- hipersocket: a virtual network device that provides high-speed TCP/IP connectivity within a s390x based system- pci: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has an allowed_vlans property which controls the VLANs that will be permitted to use the PCI attachment - Cannot directly use an IEEE 802.1q VLAN tag.- vlan: a virtual device, used through a pci device that has the vlan in its array of allowed_vlans. - Must use an IEEE 802.1q tag.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.
IsBareMetalServerNetworkAttachmentId string
(String) The unique identifier for this subnet.
LifecycleState string
(String) The lifecycle state of the bare metal server network attachment.
Name string
The name for this bare metal server network attachment. The name is unique across all network attachments for the bare metal server.
NetworkAttachment string
The network attachment's id.
PortSpeed float64
(Integer) The port speed for this bare metal server network attachment in Mbps.
ResourceType string
(String) The resource type.
Timeouts IsBareMetalServerNetworkAttachmentTimeoutsArgs
Type string
(String) The bare metal server network attachment type.
VirtualNetworkInterface IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs
The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
VirtualNetworkInterfaceId string
The virtual_network_interface's id.
Vlan float64
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this attachment.
allowToFloat Boolean
Indicates if the bare metal server network attachment can automatically float to any other server within the same resource_group. The bare metal server network attachment will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to bare metal server network attachments with vlan interface type.
allowedVlans List<Double>
Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
bareMetalServer String
The bare metal server identifier.
createdAt String
(String) The date and time that the bare metal server network attachment was created.
floatingBareMetalServer String
The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
hardStop Boolean
Only used for PCI network attachments, whether to hard/immediately stop server
href String
(String) The URL for this subnet.
interfaceType String
The network attachment's interface type:- hipersocket: a virtual network device that provides high-speed TCP/IP connectivity within a s390x based system- pci: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has an allowed_vlans property which controls the VLANs that will be permitted to use the PCI attachment - Cannot directly use an IEEE 802.1q VLAN tag.- vlan: a virtual device, used through a pci device that has the vlan in its array of allowed_vlans. - Must use an IEEE 802.1q tag.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.
isBareMetalServerNetworkAttachmentId String
(String) The unique identifier for this subnet.
lifecycleState String
(String) The lifecycle state of the bare metal server network attachment.
name String
The name for this bare metal server network attachment. The name is unique across all network attachments for the bare metal server.
networkAttachment String
The network attachment's id.
portSpeed Double
(Integer) The port speed for this bare metal server network attachment in Mbps.
resourceType String
(String) The resource type.
timeouts IsBareMetalServerNetworkAttachmentTimeouts
type String
(String) The bare metal server network attachment type.
virtualNetworkInterface IsBareMetalServerNetworkAttachmentVirtualNetworkInterface
The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
virtualNetworkInterfaceId String
The virtual_network_interface's id.
vlan Double
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this attachment.
allowToFloat boolean
Indicates if the bare metal server network attachment can automatically float to any other server within the same resource_group. The bare metal server network attachment will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to bare metal server network attachments with vlan interface type.
allowedVlans number[]
Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
bareMetalServer string
The bare metal server identifier.
createdAt string
(String) The date and time that the bare metal server network attachment was created.
floatingBareMetalServer string
The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
hardStop boolean
Only used for PCI network attachments, whether to hard/immediately stop server
href string
(String) The URL for this subnet.
interfaceType string
The network attachment's interface type:- hipersocket: a virtual network device that provides high-speed TCP/IP connectivity within a s390x based system- pci: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has an allowed_vlans property which controls the VLANs that will be permitted to use the PCI attachment - Cannot directly use an IEEE 802.1q VLAN tag.- vlan: a virtual device, used through a pci device that has the vlan in its array of allowed_vlans. - Must use an IEEE 802.1q tag.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.
isBareMetalServerNetworkAttachmentId string
(String) The unique identifier for this subnet.
lifecycleState string
(String) The lifecycle state of the bare metal server network attachment.
name string
The name for this bare metal server network attachment. The name is unique across all network attachments for the bare metal server.
networkAttachment string
The network attachment's id.
portSpeed number
(Integer) The port speed for this bare metal server network attachment in Mbps.
resourceType string
(String) The resource type.
timeouts IsBareMetalServerNetworkAttachmentTimeouts
type string
(String) The bare metal server network attachment type.
virtualNetworkInterface IsBareMetalServerNetworkAttachmentVirtualNetworkInterface
The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
virtualNetworkInterfaceId string
The virtual_network_interface's id.
vlan number
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this attachment.
allow_to_float bool
Indicates if the bare metal server network attachment can automatically float to any other server within the same resource_group. The bare metal server network attachment will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to bare metal server network attachments with vlan interface type.
allowed_vlans Sequence[float]
Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
bare_metal_server str
The bare metal server identifier.
created_at str
(String) The date and time that the bare metal server network attachment was created.
floating_bare_metal_server str
The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
hard_stop bool
Only used for PCI network attachments, whether to hard/immediately stop server
href str
(String) The URL for this subnet.
interface_type str
The network attachment's interface type:- hipersocket: a virtual network device that provides high-speed TCP/IP connectivity within a s390x based system- pci: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has an allowed_vlans property which controls the VLANs that will be permitted to use the PCI attachment - Cannot directly use an IEEE 802.1q VLAN tag.- vlan: a virtual device, used through a pci device that has the vlan in its array of allowed_vlans. - Must use an IEEE 802.1q tag.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.
is_bare_metal_server_network_attachment_id str
(String) The unique identifier for this subnet.
lifecycle_state str
(String) The lifecycle state of the bare metal server network attachment.
name str
The name for this bare metal server network attachment. The name is unique across all network attachments for the bare metal server.
network_attachment str
The network attachment's id.
port_speed float
(Integer) The port speed for this bare metal server network attachment in Mbps.
resource_type str
(String) The resource type.
timeouts IsBareMetalServerNetworkAttachmentTimeoutsArgs
type str
(String) The bare metal server network attachment type.
virtual_network_interface IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs
The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
virtual_network_interface_id str
The virtual_network_interface's id.
vlan float
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this attachment.
allowToFloat Boolean
Indicates if the bare metal server network attachment can automatically float to any other server within the same resource_group. The bare metal server network attachment will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to bare metal server network attachments with vlan interface type.
allowedVlans List<Number>
Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
bareMetalServer String
The bare metal server identifier.
createdAt String
(String) The date and time that the bare metal server network attachment was created.
floatingBareMetalServer String
The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
hardStop Boolean
Only used for PCI network attachments, whether to hard/immediately stop server
href String
(String) The URL for this subnet.
interfaceType String
The network attachment's interface type:- hipersocket: a virtual network device that provides high-speed TCP/IP connectivity within a s390x based system- pci: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has an allowed_vlans property which controls the VLANs that will be permitted to use the PCI attachment - Cannot directly use an IEEE 802.1q VLAN tag.- vlan: a virtual device, used through a pci device that has the vlan in its array of allowed_vlans. - Must use an IEEE 802.1q tag.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.
isBareMetalServerNetworkAttachmentId String
(String) The unique identifier for this subnet.
lifecycleState String
(String) The lifecycle state of the bare metal server network attachment.
name String
The name for this bare metal server network attachment. The name is unique across all network attachments for the bare metal server.
networkAttachment String
The network attachment's id.
portSpeed Number
(Integer) The port speed for this bare metal server network attachment in Mbps.
resourceType String
(String) The resource type.
timeouts Property Map
type String
(String) The bare metal server network attachment type.
virtualNetworkInterface Property Map
The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
virtualNetworkInterfaceId String
The virtual_network_interface's id.
vlan Number
Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this attachment.

Supporting Types

IsBareMetalServerNetworkAttachmentTimeouts
, IsBareMetalServerNetworkAttachmentTimeoutsArgs

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

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.

Import

You can import the ibm_is_bare_metal_server_network_attachment resource by using id.

The id property can be formed from bare_metal_server, and id in the following format:

<bare_metal_server>/

  • bare_metal_server: A string. The bare metal server identifier.

  • id: A string. The bare metal server network attachment identifier.

Syntax

$ pulumi import ibm:index/isBareMetalServerNetworkAttachment:IsBareMetalServerNetworkAttachment is_bare_metal_server_network_attachment <bare_metal_server>/<id>
Copy

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.