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",
},
});
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",
})
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
})
}
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",
},
});
});
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());
}
}
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
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 string
- The unique name of the resource.
- args IsBareMetalServerNetworkAttachmentArgs
- 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 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 string
- The unique name of the resource.
- args IsBareMetalServerNetworkAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsBareMetalServerNetworkAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
});
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),
})
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());
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)
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,
});
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
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:
- Bare
Metal stringServer - The bare metal server identifier.
- Allow
To boolFloat - 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 withvlan
interface type. - Allowed
Vlans List<double> - 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 string - The network attachment's interface type:-
hipersocket
: a virtual network device that provides high-speed TCP/IP connectivity within as390x
based system-pci
: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has anallowed_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 apci
device that has thevlan
in its array ofallowed_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 stringMetal Server Network Attachment Id - (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
Is
Bare Metal Server Network Attachment Timeouts - Virtual
Network IsInterface Bare Metal Server Network Attachment Virtual Network Interface - 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.
- Bare
Metal stringServer - The bare metal server identifier.
- Allow
To boolFloat - 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 withvlan
interface type. - Allowed
Vlans []float64 - 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 string - The network attachment's interface type:-
hipersocket
: a virtual network device that provides high-speed TCP/IP connectivity within as390x
based system-pci
: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has anallowed_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 apci
device that has thevlan
in its array ofallowed_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 stringMetal Server Network Attachment Id - (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
Is
Bare Metal Server Network Attachment Timeouts Args - Virtual
Network IsInterface Bare Metal Server Network Attachment Virtual Network Interface Args - 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.
- bare
Metal StringServer - The bare metal server identifier.
- allow
To BooleanFloat - 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 withvlan
interface type. - allowed
Vlans List<Double> - Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
- hard
Stop Boolean - Only used for PCI network attachments, whether to hard/immediately stop server
- interface
Type String - The network attachment's interface type:-
hipersocket
: a virtual network device that provides high-speed TCP/IP connectivity within as390x
based system-pci
: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has anallowed_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 apci
device that has thevlan
in its array ofallowed_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 StringMetal Server Network Attachment Id - (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
Is
Bare Metal Server Network Attachment Timeouts - virtual
Network IsInterface Bare Metal Server Network Attachment Virtual Network Interface - 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.
- bare
Metal stringServer - The bare metal server identifier.
- allow
To booleanFloat - 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 withvlan
interface type. - allowed
Vlans number[] - Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
- hard
Stop boolean - Only used for PCI network attachments, whether to hard/immediately stop server
- interface
Type string - The network attachment's interface type:-
hipersocket
: a virtual network device that provides high-speed TCP/IP connectivity within as390x
based system-pci
: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has anallowed_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 apci
device that has thevlan
in its array ofallowed_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 stringMetal Server Network Attachment Id - (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
Is
Bare Metal Server Network Attachment Timeouts - virtual
Network IsInterface Bare Metal Server Network Attachment Virtual Network Interface - 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_ strserver - The bare metal server identifier.
- allow_
to_ boolfloat - 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 withvlan
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 as390x
based system-pci
: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has anallowed_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 apci
device that has thevlan
in its array ofallowed_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_ strmetal_ server_ network_ attachment_ id - (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
Is
Bare Metal Server Network Attachment Timeouts Args - virtual_
network_ Isinterface Bare Metal Server Network Attachment Virtual Network Interface Args - 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.
- bare
Metal StringServer - The bare metal server identifier.
- allow
To BooleanFloat - 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 withvlan
interface type. - allowed
Vlans List<Number> - Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
- hard
Stop Boolean - Only used for PCI network attachments, whether to hard/immediately stop server
- interface
Type String - The network attachment's interface type:-
hipersocket
: a virtual network device that provides high-speed TCP/IP connectivity within as390x
based system-pci
: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has anallowed_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 apci
device that has thevlan
in its array ofallowed_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 StringMetal Server Network Attachment Id - (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
- virtual
Network Property MapInterface - 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:
- Created
At string - (String) The date and time that the bare metal server network attachment was created.
- Floating
Bare stringMetal Server - 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.
- Lifecycle
State string - (String) The lifecycle state of the bare metal server network attachment.
- Network
Attachment string - The network attachment's id.
- Port
Speed double - (Integer) The port speed for this bare metal server network attachment in Mbps.
- Resource
Type string - (String) The resource type.
- Type string
- (String) The bare metal server network attachment type.
- Virtual
Network stringInterface Id - The virtual_network_interface's id.
- Created
At string - (String) The date and time that the bare metal server network attachment was created.
- Floating
Bare stringMetal Server - 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.
- Lifecycle
State string - (String) The lifecycle state of the bare metal server network attachment.
- Network
Attachment string - The network attachment's id.
- Port
Speed float64 - (Integer) The port speed for this bare metal server network attachment in Mbps.
- Resource
Type string - (String) The resource type.
- Type string
- (String) The bare metal server network attachment type.
- Virtual
Network stringInterface Id - The virtual_network_interface's id.
- created
At String - (String) The date and time that the bare metal server network attachment was created.
- floating
Bare StringMetal Server - 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.
- lifecycle
State String - (String) The lifecycle state of the bare metal server network attachment.
- network
Attachment String - The network attachment's id.
- port
Speed Double - (Integer) The port speed for this bare metal server network attachment in Mbps.
- resource
Type String - (String) The resource type.
- type String
- (String) The bare metal server network attachment type.
- virtual
Network StringInterface Id - The virtual_network_interface's id.
- created
At string - (String) The date and time that the bare metal server network attachment was created.
- floating
Bare stringMetal Server - 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.
- lifecycle
State string - (String) The lifecycle state of the bare metal server network attachment.
- network
Attachment string - The network attachment's id.
- port
Speed number - (Integer) The port speed for this bare metal server network attachment in Mbps.
- resource
Type string - (String) The resource type.
- type string
- (String) The bare metal server network attachment type.
- virtual
Network stringInterface Id - 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_ strmetal_ server - 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_ strinterface_ id - The virtual_network_interface's id.
- created
At String - (String) The date and time that the bare metal server network attachment was created.
- floating
Bare StringMetal Server - 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.
- lifecycle
State String - (String) The lifecycle state of the bare metal server network attachment.
- network
Attachment String - The network attachment's id.
- port
Speed Number - (Integer) The port speed for this bare metal server network attachment in Mbps.
- resource
Type String - (String) The resource type.
- type String
- (String) The bare metal server network attachment type.
- virtual
Network StringInterface Id - 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
- 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.
- Allow
To boolFloat - 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 withvlan
interface type. - Allowed
Vlans List<double> - Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
- Bare
Metal stringServer - The bare metal server identifier.
- Created
At string - (String) The date and time that the bare metal server network attachment was created.
- Floating
Bare stringMetal Server - 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 string
- (String) The URL for this subnet.
- Interface
Type string - The network attachment's interface type:-
hipersocket
: a virtual network device that provides high-speed TCP/IP connectivity within as390x
based system-pci
: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has anallowed_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 apci
device that has thevlan
in its array ofallowed_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 stringMetal Server Network Attachment Id - (String) The unique identifier for this subnet.
- Lifecycle
State 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.
- Network
Attachment string - The network attachment's id.
- Port
Speed double - (Integer) The port speed for this bare metal server network attachment in Mbps.
- Resource
Type string - (String) The resource type.
- Timeouts
Is
Bare Metal Server Network Attachment Timeouts - Type string
- (String) The bare metal server network attachment type.
- Virtual
Network IsInterface Bare Metal Server Network Attachment Virtual Network Interface - The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
- Virtual
Network stringInterface Id - 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.
- Allow
To boolFloat - 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 withvlan
interface type. - Allowed
Vlans []float64 - Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
- Bare
Metal stringServer - The bare metal server identifier.
- Created
At string - (String) The date and time that the bare metal server network attachment was created.
- Floating
Bare stringMetal Server - 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 string
- (String) The URL for this subnet.
- Interface
Type string - The network attachment's interface type:-
hipersocket
: a virtual network device that provides high-speed TCP/IP connectivity within as390x
based system-pci
: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has anallowed_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 apci
device that has thevlan
in its array ofallowed_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 stringMetal Server Network Attachment Id - (String) The unique identifier for this subnet.
- Lifecycle
State 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.
- Network
Attachment string - The network attachment's id.
- Port
Speed float64 - (Integer) The port speed for this bare metal server network attachment in Mbps.
- Resource
Type string - (String) The resource type.
- Timeouts
Is
Bare Metal Server Network Attachment Timeouts Args - Type string
- (String) The bare metal server network attachment type.
- Virtual
Network IsInterface Bare Metal Server Network Attachment Virtual Network Interface Args - The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
- Virtual
Network stringInterface Id - 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.
- allow
To BooleanFloat - 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 withvlan
interface type. - allowed
Vlans List<Double> - Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
- bare
Metal StringServer - The bare metal server identifier.
- created
At String - (String) The date and time that the bare metal server network attachment was created.
- floating
Bare StringMetal Server - The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
- hard
Stop Boolean - Only used for PCI network attachments, whether to hard/immediately stop server
- href String
- (String) The URL for this subnet.
- interface
Type String - The network attachment's interface type:-
hipersocket
: a virtual network device that provides high-speed TCP/IP connectivity within as390x
based system-pci
: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has anallowed_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 apci
device that has thevlan
in its array ofallowed_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 StringMetal Server Network Attachment Id - (String) The unique identifier for this subnet.
- lifecycle
State 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.
- network
Attachment String - The network attachment's id.
- port
Speed Double - (Integer) The port speed for this bare metal server network attachment in Mbps.
- resource
Type String - (String) The resource type.
- timeouts
Is
Bare Metal Server Network Attachment Timeouts - type String
- (String) The bare metal server network attachment type.
- virtual
Network IsInterface Bare Metal Server Network Attachment Virtual Network Interface - The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
- virtual
Network StringInterface Id - 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.
- allow
To booleanFloat - 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 withvlan
interface type. - allowed
Vlans number[] - Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
- bare
Metal stringServer - The bare metal server identifier.
- created
At string - (String) The date and time that the bare metal server network attachment was created.
- floating
Bare stringMetal Server - The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
- hard
Stop boolean - Only used for PCI network attachments, whether to hard/immediately stop server
- href string
- (String) The URL for this subnet.
- interface
Type string - The network attachment's interface type:-
hipersocket
: a virtual network device that provides high-speed TCP/IP connectivity within as390x
based system-pci
: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has anallowed_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 apci
device that has thevlan
in its array ofallowed_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 stringMetal Server Network Attachment Id - (String) The unique identifier for this subnet.
- lifecycle
State 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.
- network
Attachment string - The network attachment's id.
- port
Speed number - (Integer) The port speed for this bare metal server network attachment in Mbps.
- resource
Type string - (String) The resource type.
- timeouts
Is
Bare Metal Server Network Attachment Timeouts - type string
- (String) The bare metal server network attachment type.
- virtual
Network IsInterface Bare Metal Server Network Attachment Virtual Network Interface - The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
- virtual
Network stringInterface Id - 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_ boolfloat - 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 withvlan
interface type. - allowed_
vlans Sequence[float] - Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
- bare_
metal_ strserver - The bare metal server identifier.
- created_
at str - (String) The date and time that the bare metal server network attachment was created.
- floating_
bare_ strmetal_ server - 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 as390x
based system-pci
: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has anallowed_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 apci
device that has thevlan
in its array ofallowed_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_ strmetal_ server_ network_ attachment_ id - (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
Is
Bare Metal Server Network Attachment Timeouts Args - type str
- (String) The bare metal server network attachment type.
- virtual_
network_ Isinterface Bare Metal Server Network Attachment Virtual Network Interface Args - The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
- virtual_
network_ strinterface_ id - 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.
- allow
To BooleanFloat - 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 withvlan
interface type. - allowed
Vlans List<Number> - Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) attachment.
- bare
Metal StringServer - The bare metal server identifier.
- created
At String - (String) The date and time that the bare metal server network attachment was created.
- floating
Bare StringMetal Server - The bare metal server identifier of the server where the attachment is floated to(only applicated for allow_to_float true).
- hard
Stop Boolean - Only used for PCI network attachments, whether to hard/immediately stop server
- href String
- (String) The URL for this subnet.
- interface
Type String - The network attachment's interface type:-
hipersocket
: a virtual network device that provides high-speed TCP/IP connectivity within as390x
based system-pci
: a physical PCI device which can only be created or deleted when the bare metal server is stopped - Has anallowed_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 apci
device that has thevlan
in its array ofallowed_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 StringMetal Server Network Attachment Id - (String) The unique identifier for this subnet.
- lifecycle
State 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.
- network
Attachment String - The network attachment's id.
- port
Speed Number - (Integer) The port speed for this bare metal server network attachment in Mbps.
- resource
Type String - (String) The resource type.
- timeouts Property Map
- type String
- (String) The bare metal server network attachment type.
- virtual
Network Property MapInterface - The virtual network interface for this bare metal server network attachment. Nested schema for virtual_network_interface:
- virtual
Network StringInterface Id - 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
IsBareMetalServerNetworkAttachmentVirtualNetworkInterface, IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs
- Allow
Ip boolSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - Auto
Delete bool - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. - Enable
Infrastructure boolNat - If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP. Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
. - Id string
- (String) The unique identifier for this subnet.
- Ips
List<Is
Bare Metal Server Network Attachment Virtual Network Interface Ip> - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. 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.
- Primary
Ips List<IsBare Metal Server Network Attachment Virtual Network Interface Primary Ip> - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- Protocol
State stringFiltering Mode 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 string - The resource group id for this virtual network interface.
- Resource
Type string - (String) The resource type.
- Security
Groups List<string> - The security group ids list for this virtual network interface.
- Subnet string
- The associated subnet id.
- Allow
Ip boolSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - Auto
Delete bool - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. - Enable
Infrastructure boolNat - If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP. Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
. - Id string
- (String) The unique identifier for this subnet.
- Ips
[]Is
Bare Metal Server Network Attachment Virtual Network Interface Ip - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. 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.
- Primary
Ips []IsBare Metal Server Network Attachment Virtual Network Interface Primary Ip - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- Protocol
State stringFiltering Mode 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 string - The resource group id for this virtual network interface.
- Resource
Type string - (String) The resource type.
- Security
Groups []string - The security group ids list for this virtual network interface.
- Subnet string
- The associated subnet id.
- allow
Ip BooleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - auto
Delete Boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. - enable
Infrastructure BooleanNat - If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP. Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
. - id String
- (String) The unique identifier for this subnet.
- ips
List<Is
Bare Metal Server Network Attachment Virtual Network Interface Ip> - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. 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.
- primary
Ips List<IsBare Metal Server Network Attachment Virtual Network Interface Primary Ip> - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- protocol
State StringFiltering Mode 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 String - The resource group id for this virtual network interface.
- resource
Type String - (String) The resource type.
- security
Groups List<String> - The security group ids list for this virtual network interface.
- subnet String
- The associated subnet id.
- allow
Ip booleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - auto
Delete boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. - enable
Infrastructure booleanNat - If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP. Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
. - id string
- (String) The unique identifier for this subnet.
- ips
Is
Bare Metal Server Network Attachment Virtual Network Interface Ip[] - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. 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.
- primary
Ips IsBare Metal Server Network Attachment Virtual Network Interface Primary Ip[] - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- protocol
State stringFiltering Mode 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 string - The resource group id for this virtual network interface.
- resource
Type string - (String) The resource type.
- security
Groups string[] - The security group ids list for this virtual network interface.
- subnet string
- The associated subnet id.
- allow_
ip_ boolspoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - auto_
delete bool - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. - enable_
infrastructure_ boolnat - If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP. Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
. - id str
- (String) The unique identifier for this subnet.
- ips
Sequence[Is
Bare Metal Server Network Attachment Virtual Network Interface Ip] - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. 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[IsBare Metal Server Network Attachment Virtual Network Interface Primary Ip] - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- protocol_
state_ strfiltering_ mode 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.
- allow
Ip BooleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - auto
Delete Boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. - enable
Infrastructure BooleanNat - If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP. Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
. - 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
ispending
. 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.
- primary
Ips List<Property Map> - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- protocol
State StringFiltering Mode 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 String - The resource group id for this virtual network interface.
- resource
Type String - (String) The resource type.
- security
Groups List<String> - The security group ids list for this virtual network interface.
- subnet String
- The associated subnet id.
IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIp, IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpArgs
- Reserved
Ip 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. - 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
List<Is
Bare Metal Server Network Attachment Virtual Network Interface Ip Deleted> - 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.
- Resource
Type string - The resource type.
- Reserved
Ip 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. - 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
[]Is
Bare Metal Server Network Attachment Virtual Network Interface Ip Deleted - 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.
- Resource
Type string - The resource type.
- reserved
Ip 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. - auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds
List<Is
Bare Metal Server Network Attachment Virtual Network Interface Ip Deleted> - 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.
- resource
Type String - The resource type.
- reserved
Ip 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. - auto
Delete boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds
Is
Bare Metal Server Network Attachment Virtual Network Interface Ip Deleted[] - 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.
- resource
Type string - The resource type.
- reserved_
ip 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[Is
Bare Metal Server Network Attachment Virtual Network Interface Ip Deleted] - 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.
- reserved
Ip 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. - auto
Delete 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.
- resource
Type String - The resource type.
IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeleted, IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs
- More
Info string - Link to documentation about deleted resources.
- More
Info string - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
- more
Info string - Link to documentation about deleted resources.
- more_
info str - Link to documentation about deleted resources.
- more
Info 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<Is
Bare Metal Server Network Attachment Virtual Network Interface Primary Ip Deleted> - 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.
- Reserved
Ip string - The unique identifier for this reserved IP.
- Resource
Type 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
[]Is
Bare Metal Server Network Attachment Virtual Network Interface Primary Ip Deleted - 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.
- Reserved
Ip string - The unique identifier for this reserved IP.
- Resource
Type 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<Is
Bare Metal Server Network Attachment Virtual Network Interface Primary Ip Deleted> - 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.
- reserved
Ip String - The unique identifier for this reserved IP.
- resource
Type 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
Is
Bare Metal Server Network Attachment Virtual Network Interface Primary Ip Deleted[] - 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.
- reserved
Ip string - The unique identifier for this reserved IP.
- resource
Type 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[Is
Bare Metal Server Network Attachment Virtual Network Interface Primary Ip Deleted] - 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.
- reserved
Ip String - The unique identifier for this reserved IP.
- resource
Type String - The resource type.
IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted, IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs
- More
Info string - Link to documentation about deleted resources.
- More
Info string - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
- more
Info string - Link to documentation about deleted resources.
- more_
info str - Link to documentation about deleted resources.
- more
Info 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>
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.