ibm.IsBareMetalServerNetworkInterfaceAllowFloat
Explore with Pulumi AI
Create, update, or delete a VLAN Network Interface on an existing Bare Metal Server for VPC with allow_interface_to_float set to true. For more information, about managing VPC Bare Metal Server, see Network of Bare Metal Servers for VPC.
Note:
VPC infrastructure services are a regional specific based endpoint, by default targets to us-south
. Please make sure to target right region in the provider block as shown in the provider.tf
file, if VPC service is created in region other than us-south
.
provider.tf
import * as pulumi from "@pulumi/pulumi";
import pulumi
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
}
}
{}
Example Usage
In the following example, you can create a Bare Metal Server and add a network interface to it:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const vpc = new ibm.IsVpc("vpc", {});
const subnet = new ibm.IsSubnet("subnet", {
vpc: vpc.isVpcId,
zone: "us-south-3",
ipv4CidrBlock: "10.240.129.0/24",
});
const ssh = new ibm.IsSshKey("ssh", {publicKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR"});
const bms = new ibm.IsBareMetalServer("bms", {
profile: "mx2d-metal-32x192",
image: "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
zone: "us-south-3",
keys: [ibm_is_ssh_key.sshkey.id],
primaryNetworkInterface: {
subnet: subnet.isSubnetId,
},
vpc: vpc.isVpcId,
});
const bmsNicIsBareMetalServerNetworkInterface = new ibm.IsBareMetalServerNetworkInterface("bmsNicIsBareMetalServerNetworkInterface", {
bareMetalServer: bms.isBareMetalServerId,
subnet: subnet.isSubnetId,
allowIpSpoofing: true,
allowedVlans: [
101,
102,
],
});
const bmsNicIsBareMetalServerNetworkInterfaceAllowFloat = new ibm.IsBareMetalServerNetworkInterfaceAllowFloat("bmsNicIsBareMetalServerNetworkInterfaceAllowFloat", {
bareMetalServer: bms.isBareMetalServerId,
subnet: subnet.isSubnetId,
vlan: 101,
});
import pulumi
import pulumi_ibm as ibm
vpc = ibm.IsVpc("vpc")
subnet = ibm.IsSubnet("subnet",
vpc=vpc.is_vpc_id,
zone="us-south-3",
ipv4_cidr_block="10.240.129.0/24")
ssh = ibm.IsSshKey("ssh", public_key="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR")
bms = ibm.IsBareMetalServer("bms",
profile="mx2d-metal-32x192",
image="r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
zone="us-south-3",
keys=[ibm_is_ssh_key["sshkey"]["id"]],
primary_network_interface={
"subnet": subnet.is_subnet_id,
},
vpc=vpc.is_vpc_id)
bms_nic_is_bare_metal_server_network_interface = ibm.IsBareMetalServerNetworkInterface("bmsNicIsBareMetalServerNetworkInterface",
bare_metal_server=bms.is_bare_metal_server_id,
subnet=subnet.is_subnet_id,
allow_ip_spoofing=True,
allowed_vlans=[
101,
102,
])
bms_nic_is_bare_metal_server_network_interface_allow_float = ibm.IsBareMetalServerNetworkInterfaceAllowFloat("bmsNicIsBareMetalServerNetworkInterfaceAllowFloat",
bare_metal_server=bms.is_bare_metal_server_id,
subnet=subnet.is_subnet_id,
vlan=101)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
vpc, err := ibm.NewIsVpc(ctx, "vpc", nil)
if err != nil {
return err
}
subnet, err := ibm.NewIsSubnet(ctx, "subnet", &ibm.IsSubnetArgs{
Vpc: vpc.IsVpcId,
Zone: pulumi.String("us-south-3"),
Ipv4CidrBlock: pulumi.String("10.240.129.0/24"),
})
if err != nil {
return err
}
_, err = ibm.NewIsSshKey(ctx, "ssh", &ibm.IsSshKeyArgs{
PublicKey: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR"),
})
if err != nil {
return err
}
bms, err := ibm.NewIsBareMetalServer(ctx, "bms", &ibm.IsBareMetalServerArgs{
Profile: pulumi.String("mx2d-metal-32x192"),
Image: pulumi.String("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e"),
Zone: pulumi.String("us-south-3"),
Keys: pulumi.StringArray{
ibm_is_ssh_key.Sshkey.Id,
},
PrimaryNetworkInterface: &ibm.IsBareMetalServerPrimaryNetworkInterfaceArgs{
Subnet: subnet.IsSubnetId,
},
Vpc: vpc.IsVpcId,
})
if err != nil {
return err
}
_, err = ibm.NewIsBareMetalServerNetworkInterface(ctx, "bmsNicIsBareMetalServerNetworkInterface", &ibm.IsBareMetalServerNetworkInterfaceArgs{
BareMetalServer: bms.IsBareMetalServerId,
Subnet: subnet.IsSubnetId,
AllowIpSpoofing: pulumi.Bool(true),
AllowedVlans: pulumi.Float64Array{
pulumi.Float64(101),
pulumi.Float64(102),
},
})
if err != nil {
return err
}
_, err = ibm.NewIsBareMetalServerNetworkInterfaceAllowFloat(ctx, "bmsNicIsBareMetalServerNetworkInterfaceAllowFloat", &ibm.IsBareMetalServerNetworkInterfaceAllowFloatArgs{
BareMetalServer: bms.IsBareMetalServerId,
Subnet: subnet.IsSubnetId,
Vlan: pulumi.Float64(101),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var vpc = new Ibm.IsVpc("vpc");
var subnet = new Ibm.IsSubnet("subnet", new()
{
Vpc = vpc.IsVpcId,
Zone = "us-south-3",
Ipv4CidrBlock = "10.240.129.0/24",
});
var ssh = new Ibm.IsSshKey("ssh", new()
{
PublicKey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR",
});
var bms = new Ibm.IsBareMetalServer("bms", new()
{
Profile = "mx2d-metal-32x192",
Image = "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
Zone = "us-south-3",
Keys = new[]
{
ibm_is_ssh_key.Sshkey.Id,
},
PrimaryNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkInterfaceArgs
{
Subnet = subnet.IsSubnetId,
},
Vpc = vpc.IsVpcId,
});
var bmsNicIsBareMetalServerNetworkInterface = new Ibm.IsBareMetalServerNetworkInterface("bmsNicIsBareMetalServerNetworkInterface", new()
{
BareMetalServer = bms.IsBareMetalServerId,
Subnet = subnet.IsSubnetId,
AllowIpSpoofing = true,
AllowedVlans = new[]
{
101,
102,
},
});
var bmsNicIsBareMetalServerNetworkInterfaceAllowFloat = new Ibm.IsBareMetalServerNetworkInterfaceAllowFloat("bmsNicIsBareMetalServerNetworkInterfaceAllowFloat", new()
{
BareMetalServer = bms.IsBareMetalServerId,
Subnet = subnet.IsSubnetId,
Vlan = 101,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsVpc;
import com.pulumi.ibm.IsSubnet;
import com.pulumi.ibm.IsSubnetArgs;
import com.pulumi.ibm.IsSshKey;
import com.pulumi.ibm.IsSshKeyArgs;
import com.pulumi.ibm.IsBareMetalServer;
import com.pulumi.ibm.IsBareMetalServerArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerPrimaryNetworkInterfaceArgs;
import com.pulumi.ibm.IsBareMetalServerNetworkInterface;
import com.pulumi.ibm.IsBareMetalServerNetworkInterfaceArgs;
import com.pulumi.ibm.IsBareMetalServerNetworkInterfaceAllowFloat;
import com.pulumi.ibm.IsBareMetalServerNetworkInterfaceAllowFloatArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var vpc = new IsVpc("vpc");
var subnet = new IsSubnet("subnet", IsSubnetArgs.builder()
.vpc(vpc.isVpcId())
.zone("us-south-3")
.ipv4CidrBlock("10.240.129.0/24")
.build());
var ssh = new IsSshKey("ssh", IsSshKeyArgs.builder()
.publicKey("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR")
.build());
var bms = new IsBareMetalServer("bms", IsBareMetalServerArgs.builder()
.profile("mx2d-metal-32x192")
.image("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e")
.zone("us-south-3")
.keys(ibm_is_ssh_key.sshkey().id())
.primaryNetworkInterface(IsBareMetalServerPrimaryNetworkInterfaceArgs.builder()
.subnet(subnet.isSubnetId())
.build())
.vpc(vpc.isVpcId())
.build());
var bmsNicIsBareMetalServerNetworkInterface = new IsBareMetalServerNetworkInterface("bmsNicIsBareMetalServerNetworkInterface", IsBareMetalServerNetworkInterfaceArgs.builder()
.bareMetalServer(bms.isBareMetalServerId())
.subnet(subnet.isSubnetId())
.allowIpSpoofing(true)
.allowedVlans(
101,
102)
.build());
var bmsNicIsBareMetalServerNetworkInterfaceAllowFloat = new IsBareMetalServerNetworkInterfaceAllowFloat("bmsNicIsBareMetalServerNetworkInterfaceAllowFloat", IsBareMetalServerNetworkInterfaceAllowFloatArgs.builder()
.bareMetalServer(bms.isBareMetalServerId())
.subnet(subnet.isSubnetId())
.vlan(101)
.build());
}
}
resources:
vpc:
type: ibm:IsVpc
subnet:
type: ibm:IsSubnet
properties:
vpc: ${vpc.isVpcId}
zone: us-south-3
ipv4CidrBlock: 10.240.129.0/24
ssh:
type: ibm:IsSshKey
properties:
publicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR
bms:
type: ibm:IsBareMetalServer
properties:
profile: mx2d-metal-32x192
image: r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e
zone: us-south-3
keys:
- ${ibm_is_ssh_key.sshkey.id}
primaryNetworkInterface:
subnet: ${subnet.isSubnetId}
vpc: ${vpc.isVpcId}
bmsNicIsBareMetalServerNetworkInterface:
type: ibm:IsBareMetalServerNetworkInterface
properties:
bareMetalServer: ${bms.isBareMetalServerId}
subnet: ${subnet.isSubnetId}
allowIpSpoofing: true
allowedVlans:
- 101
- 102
bmsNicIsBareMetalServerNetworkInterfaceAllowFloat:
type: ibm:IsBareMetalServerNetworkInterfaceAllowFloat
properties:
bareMetalServer: ${bms.isBareMetalServerId}
subnet: ${subnet.isSubnetId}
vlan: 101
Syntax
$ terraform import ibm_is_bare_metal_server_network_interface.example <bare_metal_server_id>/<bare_metal_server_network_interface_id>
Example
$ terraform import ibm_is_bare_metal_server.example d7bec597-4726-451f-8a63-e62e6f19c32c/d7bec597-4726-451f-8a63-e62e6f19c32c
Create IsBareMetalServerNetworkInterfaceAllowFloat Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsBareMetalServerNetworkInterfaceAllowFloat(name: string, args: IsBareMetalServerNetworkInterfaceAllowFloatArgs, opts?: CustomResourceOptions);
@overload
def IsBareMetalServerNetworkInterfaceAllowFloat(resource_name: str,
args: IsBareMetalServerNetworkInterfaceAllowFloatArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IsBareMetalServerNetworkInterfaceAllowFloat(resource_name: str,
opts: Optional[ResourceOptions] = None,
bare_metal_server: Optional[str] = None,
subnet: Optional[str] = None,
vlan: Optional[float] = None,
allow_ip_spoofing: Optional[bool] = None,
enable_infrastructure_nat: Optional[bool] = None,
is_bare_metal_server_network_interface_allow_float_id: Optional[str] = None,
name: Optional[str] = None,
primary_ip: Optional[IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs] = None,
security_groups: Optional[Sequence[str]] = None,
timeouts: Optional[IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs] = None)
func NewIsBareMetalServerNetworkInterfaceAllowFloat(ctx *Context, name string, args IsBareMetalServerNetworkInterfaceAllowFloatArgs, opts ...ResourceOption) (*IsBareMetalServerNetworkInterfaceAllowFloat, error)
public IsBareMetalServerNetworkInterfaceAllowFloat(string name, IsBareMetalServerNetworkInterfaceAllowFloatArgs args, CustomResourceOptions? opts = null)
public IsBareMetalServerNetworkInterfaceAllowFloat(String name, IsBareMetalServerNetworkInterfaceAllowFloatArgs args)
public IsBareMetalServerNetworkInterfaceAllowFloat(String name, IsBareMetalServerNetworkInterfaceAllowFloatArgs args, CustomResourceOptions options)
type: ibm:IsBareMetalServerNetworkInterfaceAllowFloat
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IsBareMetalServerNetworkInterfaceAllowFloatArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IsBareMetalServerNetworkInterfaceAllowFloatArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IsBareMetalServerNetworkInterfaceAllowFloatArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsBareMetalServerNetworkInterfaceAllowFloatArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsBareMetalServerNetworkInterfaceAllowFloatArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var isBareMetalServerNetworkInterfaceAllowFloatResource = new Ibm.IsBareMetalServerNetworkInterfaceAllowFloat("isBareMetalServerNetworkInterfaceAllowFloatResource", new()
{
BareMetalServer = "string",
Subnet = "string",
Vlan = 0,
AllowIpSpoofing = false,
EnableInfrastructureNat = false,
IsBareMetalServerNetworkInterfaceAllowFloatId = "string",
Name = "string",
PrimaryIp = new Ibm.Inputs.IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs
{
Address = "string",
AutoDelete = false,
Href = "string",
Name = "string",
ReservedIp = "string",
ResourceType = "string",
},
SecurityGroups = new[]
{
"string",
},
Timeouts = new Ibm.Inputs.IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := ibm.NewIsBareMetalServerNetworkInterfaceAllowFloat(ctx, "isBareMetalServerNetworkInterfaceAllowFloatResource", &ibm.IsBareMetalServerNetworkInterfaceAllowFloatArgs{
BareMetalServer: pulumi.String("string"),
Subnet: pulumi.String("string"),
Vlan: pulumi.Float64(0),
AllowIpSpoofing: pulumi.Bool(false),
EnableInfrastructureNat: pulumi.Bool(false),
IsBareMetalServerNetworkInterfaceAllowFloatId: pulumi.String("string"),
Name: pulumi.String("string"),
PrimaryIp: &ibm.IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs{
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ReservedIp: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &ibm.IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var isBareMetalServerNetworkInterfaceAllowFloatResource = new IsBareMetalServerNetworkInterfaceAllowFloat("isBareMetalServerNetworkInterfaceAllowFloatResource", IsBareMetalServerNetworkInterfaceAllowFloatArgs.builder()
.bareMetalServer("string")
.subnet("string")
.vlan(0)
.allowIpSpoofing(false)
.enableInfrastructureNat(false)
.isBareMetalServerNetworkInterfaceAllowFloatId("string")
.name("string")
.primaryIp(IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs.builder()
.address("string")
.autoDelete(false)
.href("string")
.name("string")
.reservedIp("string")
.resourceType("string")
.build())
.securityGroups("string")
.timeouts(IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
is_bare_metal_server_network_interface_allow_float_resource = ibm.IsBareMetalServerNetworkInterfaceAllowFloat("isBareMetalServerNetworkInterfaceAllowFloatResource",
bare_metal_server="string",
subnet="string",
vlan=0,
allow_ip_spoofing=False,
enable_infrastructure_nat=False,
is_bare_metal_server_network_interface_allow_float_id="string",
name="string",
primary_ip={
"address": "string",
"auto_delete": False,
"href": "string",
"name": "string",
"reserved_ip": "string",
"resource_type": "string",
},
security_groups=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const isBareMetalServerNetworkInterfaceAllowFloatResource = new ibm.IsBareMetalServerNetworkInterfaceAllowFloat("isBareMetalServerNetworkInterfaceAllowFloatResource", {
bareMetalServer: "string",
subnet: "string",
vlan: 0,
allowIpSpoofing: false,
enableInfrastructureNat: false,
isBareMetalServerNetworkInterfaceAllowFloatId: "string",
name: "string",
primaryIp: {
address: "string",
autoDelete: false,
href: "string",
name: "string",
reservedIp: "string",
resourceType: "string",
},
securityGroups: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: ibm:IsBareMetalServerNetworkInterfaceAllowFloat
properties:
allowIpSpoofing: false
bareMetalServer: string
enableInfrastructureNat: false
isBareMetalServerNetworkInterfaceAllowFloatId: string
name: string
primaryIp:
address: string
autoDelete: false
href: string
name: string
reservedIp: string
resourceType: string
securityGroups:
- string
subnet: string
timeouts:
create: string
delete: string
update: string
vlan: 0
IsBareMetalServerNetworkInterfaceAllowFloat Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IsBareMetalServerNetworkInterfaceAllowFloat resource accepts the following input properties:
- Bare
Metal stringServer - The id for this bare metal server.
- Subnet string
- The associated subnet id
- Vlan double
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
- Allow
Ip boolSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- Enable
Infrastructure boolNat - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations.
- Is
Bare stringMetal Server Network Interface Allow Float Id - (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
- Name string
- The user-defined name for this network interface
- Primary
Ip IsBare Metal Server Network Interface Allow Float Primary Ip - title: IPv4, The IP address.
- Security
Groups List<string> - Collection of security groups
- Timeouts
Is
Bare Metal Server Network Interface Allow Float Timeouts
- Bare
Metal stringServer - The id for this bare metal server.
- Subnet string
- The associated subnet id
- Vlan float64
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
- Allow
Ip boolSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- Enable
Infrastructure boolNat - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations.
- Is
Bare stringMetal Server Network Interface Allow Float Id - (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
- Name string
- The user-defined name for this network interface
- Primary
Ip IsBare Metal Server Network Interface Allow Float Primary Ip Args - title: IPv4, The IP address.
- Security
Groups []string - Collection of security groups
- Timeouts
Is
Bare Metal Server Network Interface Allow Float Timeouts Args
- bare
Metal StringServer - The id for this bare metal server.
- subnet String
- The associated subnet id
- vlan Double
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
- allow
Ip BooleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- enable
Infrastructure BooleanNat - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations.
- is
Bare StringMetal Server Network Interface Allow Float Id - (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
- name String
- The user-defined name for this network interface
- primary
Ip IsBare Metal Server Network Interface Allow Float Primary Ip - title: IPv4, The IP address.
- security
Groups List<String> - Collection of security groups
- timeouts
Is
Bare Metal Server Network Interface Allow Float Timeouts
- bare
Metal stringServer - The id for this bare metal server.
- subnet string
- The associated subnet id
- vlan number
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
- allow
Ip booleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- enable
Infrastructure booleanNat - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations.
- is
Bare stringMetal Server Network Interface Allow Float Id - (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
- name string
- The user-defined name for this network interface
- primary
Ip IsBare Metal Server Network Interface Allow Float Primary Ip - title: IPv4, The IP address.
- security
Groups string[] - Collection of security groups
- timeouts
Is
Bare Metal Server Network Interface Allow Float Timeouts
- bare_
metal_ strserver - The id for this bare metal server.
- subnet str
- The associated subnet id
- vlan float
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
- allow_
ip_ boolspoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- enable_
infrastructure_ boolnat - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations.
- is_
bare_ strmetal_ server_ network_ interface_ allow_ float_ id - (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
- name str
- The user-defined name for this network interface
- primary_
ip IsBare Metal Server Network Interface Allow Float Primary Ip Args - title: IPv4, The IP address.
- security_
groups Sequence[str] - Collection of security groups
- timeouts
Is
Bare Metal Server Network Interface Allow Float Timeouts Args
- bare
Metal StringServer - The id for this bare metal server.
- subnet String
- The associated subnet id
- vlan Number
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
- allow
Ip BooleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- enable
Infrastructure BooleanNat - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations.
- is
Bare StringMetal Server Network Interface Allow Float Id - (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
- name String
- The user-defined name for this network interface
- primary
Ip Property Map - title: IPv4, The IP address.
- security
Groups List<String> - Collection of security groups
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the IsBareMetalServerNetworkInterfaceAllowFloat resource produces the following output properties:
- Allow
Interface boolTo Float - (Boolean) Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- Floating
Bare stringMetal Server - (String) Bare metal server id of the server to which the network interface is floating to. (Same as
bare_metal_server
if its not floating) - Floating
Ips List<IsBare Metal Server Network Interface Allow Float Floating Ip> - (List) The floating IPs associated with this network interface.
- Href string
- (String) The URL for this network interface
- Id string
- The provider-assigned unique ID for this managed resource.
- Interface
Type string - (String) The network interface type, supported values are [ pci, vlan ]
- Mac
Address string - (String) The MAC address of the interface. If absent, the value is not known.
- Network
Interface string - (String) The network interface id.
- Port
Speed double - (Integer) The network interface port speed in Mbps
- Resource
Type string - (String)The resource type [ subnet_reserved_ip ]
- Status string
- (String) The status of the network interface.
- Type string
- (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
- Allow
Interface boolTo Float - (Boolean) Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- Floating
Bare stringMetal Server - (String) Bare metal server id of the server to which the network interface is floating to. (Same as
bare_metal_server
if its not floating) - Floating
Ips []IsBare Metal Server Network Interface Allow Float Floating Ip - (List) The floating IPs associated with this network interface.
- Href string
- (String) The URL for this network interface
- Id string
- The provider-assigned unique ID for this managed resource.
- Interface
Type string - (String) The network interface type, supported values are [ pci, vlan ]
- Mac
Address string - (String) The MAC address of the interface. If absent, the value is not known.
- Network
Interface string - (String) The network interface id.
- Port
Speed float64 - (Integer) The network interface port speed in Mbps
- Resource
Type string - (String)The resource type [ subnet_reserved_ip ]
- Status string
- (String) The status of the network interface.
- Type string
- (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
- allow
Interface BooleanTo Float - (Boolean) Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- floating
Bare StringMetal Server - (String) Bare metal server id of the server to which the network interface is floating to. (Same as
bare_metal_server
if its not floating) - floating
Ips List<IsBare Metal Server Network Interface Allow Float Floating Ip> - (List) The floating IPs associated with this network interface.
- href String
- (String) The URL for this network interface
- id String
- The provider-assigned unique ID for this managed resource.
- interface
Type String - (String) The network interface type, supported values are [ pci, vlan ]
- mac
Address String - (String) The MAC address of the interface. If absent, the value is not known.
- network
Interface String - (String) The network interface id.
- port
Speed Double - (Integer) The network interface port speed in Mbps
- resource
Type String - (String)The resource type [ subnet_reserved_ip ]
- status String
- (String) The status of the network interface.
- type String
- (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
- allow
Interface booleanTo Float - (Boolean) Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- floating
Bare stringMetal Server - (String) Bare metal server id of the server to which the network interface is floating to. (Same as
bare_metal_server
if its not floating) - floating
Ips IsBare Metal Server Network Interface Allow Float Floating Ip[] - (List) The floating IPs associated with this network interface.
- href string
- (String) The URL for this network interface
- id string
- The provider-assigned unique ID for this managed resource.
- interface
Type string - (String) The network interface type, supported values are [ pci, vlan ]
- mac
Address string - (String) The MAC address of the interface. If absent, the value is not known.
- network
Interface string - (String) The network interface id.
- port
Speed number - (Integer) The network interface port speed in Mbps
- resource
Type string - (String)The resource type [ subnet_reserved_ip ]
- status string
- (String) The status of the network interface.
- type string
- (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
- allow_
interface_ boolto_ float - (Boolean) Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- floating_
bare_ strmetal_ server - (String) Bare metal server id of the server to which the network interface is floating to. (Same as
bare_metal_server
if its not floating) - floating_
ips Sequence[IsBare Metal Server Network Interface Allow Float Floating Ip] - (List) The floating IPs associated with this network interface.
- href str
- (String) The URL for this network interface
- id str
- The provider-assigned unique ID for this managed resource.
- interface_
type str - (String) The network interface type, supported values are [ pci, vlan ]
- mac_
address str - (String) The MAC address of the interface. If absent, the value is not known.
- network_
interface str - (String) The network interface id.
- port_
speed float - (Integer) The network interface port speed in Mbps
- resource_
type str - (String)The resource type [ subnet_reserved_ip ]
- status str
- (String) The status of the network interface.
- type str
- (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
- allow
Interface BooleanTo Float - (Boolean) Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- floating
Bare StringMetal Server - (String) Bare metal server id of the server to which the network interface is floating to. (Same as
bare_metal_server
if its not floating) - floating
Ips List<Property Map> - (List) The floating IPs associated with this network interface.
- href String
- (String) The URL for this network interface
- id String
- The provider-assigned unique ID for this managed resource.
- interface
Type String - (String) The network interface type, supported values are [ pci, vlan ]
- mac
Address String - (String) The MAC address of the interface. If absent, the value is not known.
- network
Interface String - (String) The network interface id.
- port
Speed Number - (Integer) The network interface port speed in Mbps
- resource
Type String - (String)The resource type [ subnet_reserved_ip ]
- status String
- (String) The status of the network interface.
- type String
- (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
Look up Existing IsBareMetalServerNetworkInterfaceAllowFloat Resource
Get an existing IsBareMetalServerNetworkInterfaceAllowFloat resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IsBareMetalServerNetworkInterfaceAllowFloatState, opts?: CustomResourceOptions): IsBareMetalServerNetworkInterfaceAllowFloat
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_interface_to_float: Optional[bool] = None,
allow_ip_spoofing: Optional[bool] = None,
bare_metal_server: Optional[str] = None,
enable_infrastructure_nat: Optional[bool] = None,
floating_bare_metal_server: Optional[str] = None,
floating_ips: Optional[Sequence[IsBareMetalServerNetworkInterfaceAllowFloatFloatingIpArgs]] = None,
href: Optional[str] = None,
interface_type: Optional[str] = None,
is_bare_metal_server_network_interface_allow_float_id: Optional[str] = None,
mac_address: Optional[str] = None,
name: Optional[str] = None,
network_interface: Optional[str] = None,
port_speed: Optional[float] = None,
primary_ip: Optional[IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs] = None,
resource_type: Optional[str] = None,
security_groups: Optional[Sequence[str]] = None,
status: Optional[str] = None,
subnet: Optional[str] = None,
timeouts: Optional[IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs] = None,
type: Optional[str] = None,
vlan: Optional[float] = None) -> IsBareMetalServerNetworkInterfaceAllowFloat
func GetIsBareMetalServerNetworkInterfaceAllowFloat(ctx *Context, name string, id IDInput, state *IsBareMetalServerNetworkInterfaceAllowFloatState, opts ...ResourceOption) (*IsBareMetalServerNetworkInterfaceAllowFloat, error)
public static IsBareMetalServerNetworkInterfaceAllowFloat Get(string name, Input<string> id, IsBareMetalServerNetworkInterfaceAllowFloatState? state, CustomResourceOptions? opts = null)
public static IsBareMetalServerNetworkInterfaceAllowFloat get(String name, Output<String> id, IsBareMetalServerNetworkInterfaceAllowFloatState state, CustomResourceOptions options)
resources: _: type: ibm:IsBareMetalServerNetworkInterfaceAllowFloat get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Allow
Interface boolTo Float - (Boolean) Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- Allow
Ip boolSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- Bare
Metal stringServer - The id for this bare metal server.
- Enable
Infrastructure boolNat - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations.
- Floating
Bare stringMetal Server - (String) Bare metal server id of the server to which the network interface is floating to. (Same as
bare_metal_server
if its not floating) - Floating
Ips List<IsBare Metal Server Network Interface Allow Float Floating Ip> - (List) The floating IPs associated with this network interface.
- Href string
- (String) The URL for this network interface
- Interface
Type string - (String) The network interface type, supported values are [ pci, vlan ]
- Is
Bare stringMetal Server Network Interface Allow Float Id - (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
- Mac
Address string - (String) The MAC address of the interface. If absent, the value is not known.
- Name string
- The user-defined name for this network interface
- Network
Interface string - (String) The network interface id.
- Port
Speed double - (Integer) The network interface port speed in Mbps
- Primary
Ip IsBare Metal Server Network Interface Allow Float Primary Ip - title: IPv4, The IP address.
- Resource
Type string - (String)The resource type [ subnet_reserved_ip ]
- Security
Groups List<string> - Collection of security groups
- Status string
- (String) The status of the network interface.
- Subnet string
- The associated subnet id
- Timeouts
Is
Bare Metal Server Network Interface Allow Float Timeouts - Type string
- (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
- Vlan double
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
- Allow
Interface boolTo Float - (Boolean) Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- Allow
Ip boolSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- Bare
Metal stringServer - The id for this bare metal server.
- Enable
Infrastructure boolNat - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations.
- Floating
Bare stringMetal Server - (String) Bare metal server id of the server to which the network interface is floating to. (Same as
bare_metal_server
if its not floating) - Floating
Ips []IsBare Metal Server Network Interface Allow Float Floating Ip Args - (List) The floating IPs associated with this network interface.
- Href string
- (String) The URL for this network interface
- Interface
Type string - (String) The network interface type, supported values are [ pci, vlan ]
- Is
Bare stringMetal Server Network Interface Allow Float Id - (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
- Mac
Address string - (String) The MAC address of the interface. If absent, the value is not known.
- Name string
- The user-defined name for this network interface
- Network
Interface string - (String) The network interface id.
- Port
Speed float64 - (Integer) The network interface port speed in Mbps
- Primary
Ip IsBare Metal Server Network Interface Allow Float Primary Ip Args - title: IPv4, The IP address.
- Resource
Type string - (String)The resource type [ subnet_reserved_ip ]
- Security
Groups []string - Collection of security groups
- Status string
- (String) The status of the network interface.
- Subnet string
- The associated subnet id
- Timeouts
Is
Bare Metal Server Network Interface Allow Float Timeouts Args - Type string
- (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
- Vlan float64
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
- allow
Interface BooleanTo Float - (Boolean) Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- allow
Ip BooleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- bare
Metal StringServer - The id for this bare metal server.
- enable
Infrastructure BooleanNat - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations.
- floating
Bare StringMetal Server - (String) Bare metal server id of the server to which the network interface is floating to. (Same as
bare_metal_server
if its not floating) - floating
Ips List<IsBare Metal Server Network Interface Allow Float Floating Ip> - (List) The floating IPs associated with this network interface.
- href String
- (String) The URL for this network interface
- interface
Type String - (String) The network interface type, supported values are [ pci, vlan ]
- is
Bare StringMetal Server Network Interface Allow Float Id - (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
- mac
Address String - (String) The MAC address of the interface. If absent, the value is not known.
- name String
- The user-defined name for this network interface
- network
Interface String - (String) The network interface id.
- port
Speed Double - (Integer) The network interface port speed in Mbps
- primary
Ip IsBare Metal Server Network Interface Allow Float Primary Ip - title: IPv4, The IP address.
- resource
Type String - (String)The resource type [ subnet_reserved_ip ]
- security
Groups List<String> - Collection of security groups
- status String
- (String) The status of the network interface.
- subnet String
- The associated subnet id
- timeouts
Is
Bare Metal Server Network Interface Allow Float Timeouts - type String
- (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
- vlan Double
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
- allow
Interface booleanTo Float - (Boolean) Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- allow
Ip booleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- bare
Metal stringServer - The id for this bare metal server.
- enable
Infrastructure booleanNat - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations.
- floating
Bare stringMetal Server - (String) Bare metal server id of the server to which the network interface is floating to. (Same as
bare_metal_server
if its not floating) - floating
Ips IsBare Metal Server Network Interface Allow Float Floating Ip[] - (List) The floating IPs associated with this network interface.
- href string
- (String) The URL for this network interface
- interface
Type string - (String) The network interface type, supported values are [ pci, vlan ]
- is
Bare stringMetal Server Network Interface Allow Float Id - (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
- mac
Address string - (String) The MAC address of the interface. If absent, the value is not known.
- name string
- The user-defined name for this network interface
- network
Interface string - (String) The network interface id.
- port
Speed number - (Integer) The network interface port speed in Mbps
- primary
Ip IsBare Metal Server Network Interface Allow Float Primary Ip - title: IPv4, The IP address.
- resource
Type string - (String)The resource type [ subnet_reserved_ip ]
- security
Groups string[] - Collection of security groups
- status string
- (String) The status of the network interface.
- subnet string
- The associated subnet id
- timeouts
Is
Bare Metal Server Network Interface Allow Float Timeouts - type string
- (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
- vlan number
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
- allow_
interface_ boolto_ float - (Boolean) Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- allow_
ip_ boolspoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- bare_
metal_ strserver - The id for this bare metal server.
- enable_
infrastructure_ boolnat - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations.
- floating_
bare_ strmetal_ server - (String) Bare metal server id of the server to which the network interface is floating to. (Same as
bare_metal_server
if its not floating) - floating_
ips Sequence[IsBare Metal Server Network Interface Allow Float Floating Ip Args] - (List) The floating IPs associated with this network interface.
- href str
- (String) The URL for this network interface
- interface_
type str - (String) The network interface type, supported values are [ pci, vlan ]
- is_
bare_ strmetal_ server_ network_ interface_ allow_ float_ id - (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
- mac_
address str - (String) The MAC address of the interface. If absent, the value is not known.
- name str
- The user-defined name for this network interface
- network_
interface str - (String) The network interface id.
- port_
speed float - (Integer) The network interface port speed in Mbps
- primary_
ip IsBare Metal Server Network Interface Allow Float Primary Ip Args - title: IPv4, The IP address.
- resource_
type str - (String)The resource type [ subnet_reserved_ip ]
- security_
groups Sequence[str] - Collection of security groups
- status str
- (String) The status of the network interface.
- subnet str
- The associated subnet id
- timeouts
Is
Bare Metal Server Network Interface Allow Float Timeouts Args - type str
- (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
- vlan float
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
- allow
Interface BooleanTo Float - (Boolean) Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- allow
Ip BooleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
- bare
Metal StringServer - The id for this bare metal server.
- enable
Infrastructure BooleanNat - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations.
- floating
Bare StringMetal Server - (String) Bare metal server id of the server to which the network interface is floating to. (Same as
bare_metal_server
if its not floating) - floating
Ips List<Property Map> - (List) The floating IPs associated with this network interface.
- href String
- (String) The URL for this network interface
- interface
Type String - (String) The network interface type, supported values are [ pci, vlan ]
- is
Bare StringMetal Server Network Interface Allow Float Id - (String) The unique identifier for this network interface. Its of the format <bare_metal_server_id>/<network_interface_id>
- mac
Address String - (String) The MAC address of the interface. If absent, the value is not known.
- name String
- The user-defined name for this network interface
- network
Interface String - (String) The network interface id.
- port
Speed Number - (Integer) The network interface port speed in Mbps
- primary
Ip Property Map - title: IPv4, The IP address.
- resource
Type String - (String)The resource type [ subnet_reserved_ip ]
- security
Groups List<String> - Collection of security groups
- status String
- (String) The status of the network interface.
- subnet String
- The associated subnet id
- timeouts Property Map
- type String
- (String) The type of this bare metal server network interface. Supported values are [ primary, secondary ]
- vlan Number
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface
Supporting Types
IsBareMetalServerNetworkInterfaceAllowFloatFloatingIp, IsBareMetalServerNetworkInterfaceAllowFloatFloatingIpArgs
IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIp, IsBareMetalServerNetworkInterfaceAllowFloatPrimaryIpArgs
- Address string
- title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- Href string
- (String) The URL for this network interface
- Name string
- The user-defined name for this network interface
- Reserved
Ip string - Identifies a reserved IP by a unique property.
- Resource
Type string - (String)The resource type [ subnet_reserved_ip ]
- Address string
- title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- Href string
- (String) The URL for this network interface
- Name string
- The user-defined name for this network interface
- Reserved
Ip string - Identifies a reserved IP by a unique property.
- Resource
Type string - (String)The resource type [ subnet_reserved_ip ]
- address String
- title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- href String
- (String) The URL for this network interface
- name String
- The user-defined name for this network interface
- reserved
Ip String - Identifies a reserved IP by a unique property.
- resource
Type String - (String)The resource type [ subnet_reserved_ip ]
- address string
- title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- auto
Delete boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- href string
- (String) The URL for this network interface
- name string
- The user-defined name for this network interface
- reserved
Ip string - Identifies a reserved IP by a unique property.
- resource
Type string - (String)The resource type [ subnet_reserved_ip ]
- address str
- title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- auto_
delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- href str
- (String) The URL for this network interface
- name str
- The user-defined name for this network interface
- reserved_
ip str - Identifies a reserved IP by a unique property.
- resource_
type str - (String)The resource type [ subnet_reserved_ip ]
- address String
- title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- href String
- (String) The URL for this network interface
- name String
- The user-defined name for this network interface
- reserved
Ip String - Identifies a reserved IP by a unique property.
- resource
Type String - (String)The resource type [ subnet_reserved_ip ]
IsBareMetalServerNetworkInterfaceAllowFloatTimeouts, IsBareMetalServerNetworkInterfaceAllowFloatTimeoutsArgs
Import
ibm_is_bare_metal_server can be imported using bare metal server ID and network interface id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.