ibm.IsBareMetalServer
Explore with Pulumi AI
Create, update, or delete a Bare Metal Server for VPC. For more information, about managing VPC Bare Metal Server, see About Bare Metal Servers for VPC.
Note:
VPC infrastructure services are a regional specific based endpoint, by default targets to us-south
. Please make sure to target right region in the provider block as shown in the provider.tf
file, if VPC service is created in region other than us-south
.
provider.tf
import * as pulumi from "@pulumi/pulumi";
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:
Basic Example
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const exampleIsVpc = new ibm.IsVpc("exampleIsVpc", {});
const exampleIsSubnet = new ibm.IsSubnet("exampleIsSubnet", {
vpc: ibm_is_vpc.vpc.id,
zone: "us-south-3",
ipv4CidrBlock: "10.240.129.0/24",
});
const exampleIsSshKey = new ibm.IsSshKey("exampleIsSshKey", {publicKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR"});
const exampleIsBareMetalServer = new ibm.IsBareMetalServer("exampleIsBareMetalServer", {
profile: "mx2d-metal-32x192",
image: "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
zone: "us-south-3",
keys: [exampleIsSshKey.isSshKeyId],
primaryNetworkInterface: {
subnet: exampleIsSubnet.isSubnetId,
},
vpc: exampleIsVpc.isVpcId,
});
import pulumi
import pulumi_ibm as ibm
example_is_vpc = ibm.IsVpc("exampleIsVpc")
example_is_subnet = ibm.IsSubnet("exampleIsSubnet",
vpc=ibm_is_vpc["vpc"]["id"],
zone="us-south-3",
ipv4_cidr_block="10.240.129.0/24")
example_is_ssh_key = ibm.IsSshKey("exampleIsSshKey", public_key="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR")
example_is_bare_metal_server = ibm.IsBareMetalServer("exampleIsBareMetalServer",
profile="mx2d-metal-32x192",
image="r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
zone="us-south-3",
keys=[example_is_ssh_key.is_ssh_key_id],
primary_network_interface={
"subnet": example_is_subnet.is_subnet_id,
},
vpc=example_is_vpc.is_vpc_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleIsVpc, err := ibm.NewIsVpc(ctx, "exampleIsVpc", nil)
if err != nil {
return err
}
exampleIsSubnet, err := ibm.NewIsSubnet(ctx, "exampleIsSubnet", &ibm.IsSubnetArgs{
Vpc: pulumi.Any(ibm_is_vpc.Vpc.Id),
Zone: pulumi.String("us-south-3"),
Ipv4CidrBlock: pulumi.String("10.240.129.0/24"),
})
if err != nil {
return err
}
exampleIsSshKey, err := ibm.NewIsSshKey(ctx, "exampleIsSshKey", &ibm.IsSshKeyArgs{
PublicKey: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR"),
})
if err != nil {
return err
}
_, err = ibm.NewIsBareMetalServer(ctx, "exampleIsBareMetalServer", &ibm.IsBareMetalServerArgs{
Profile: pulumi.String("mx2d-metal-32x192"),
Image: pulumi.String("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e"),
Zone: pulumi.String("us-south-3"),
Keys: pulumi.StringArray{
exampleIsSshKey.IsSshKeyId,
},
PrimaryNetworkInterface: &ibm.IsBareMetalServerPrimaryNetworkInterfaceArgs{
Subnet: exampleIsSubnet.IsSubnetId,
},
Vpc: exampleIsVpc.IsVpcId,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var exampleIsVpc = new Ibm.IsVpc("exampleIsVpc");
var exampleIsSubnet = new Ibm.IsSubnet("exampleIsSubnet", new()
{
Vpc = ibm_is_vpc.Vpc.Id,
Zone = "us-south-3",
Ipv4CidrBlock = "10.240.129.0/24",
});
var exampleIsSshKey = new Ibm.IsSshKey("exampleIsSshKey", new()
{
PublicKey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR",
});
var exampleIsBareMetalServer = new Ibm.IsBareMetalServer("exampleIsBareMetalServer", new()
{
Profile = "mx2d-metal-32x192",
Image = "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
Zone = "us-south-3",
Keys = new[]
{
exampleIsSshKey.IsSshKeyId,
},
PrimaryNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkInterfaceArgs
{
Subnet = exampleIsSubnet.IsSubnetId,
},
Vpc = exampleIsVpc.IsVpcId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsVpc;
import com.pulumi.ibm.IsSubnet;
import com.pulumi.ibm.IsSubnetArgs;
import com.pulumi.ibm.IsSshKey;
import com.pulumi.ibm.IsSshKeyArgs;
import com.pulumi.ibm.IsBareMetalServer;
import com.pulumi.ibm.IsBareMetalServerArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerPrimaryNetworkInterfaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleIsVpc = new IsVpc("exampleIsVpc");
var exampleIsSubnet = new IsSubnet("exampleIsSubnet", IsSubnetArgs.builder()
.vpc(ibm_is_vpc.vpc().id())
.zone("us-south-3")
.ipv4CidrBlock("10.240.129.0/24")
.build());
var exampleIsSshKey = new IsSshKey("exampleIsSshKey", IsSshKeyArgs.builder()
.publicKey("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR")
.build());
var exampleIsBareMetalServer = new IsBareMetalServer("exampleIsBareMetalServer", IsBareMetalServerArgs.builder()
.profile("mx2d-metal-32x192")
.image("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e")
.zone("us-south-3")
.keys(exampleIsSshKey.isSshKeyId())
.primaryNetworkInterface(IsBareMetalServerPrimaryNetworkInterfaceArgs.builder()
.subnet(exampleIsSubnet.isSubnetId())
.build())
.vpc(exampleIsVpc.isVpcId())
.build());
}
}
resources:
exampleIsVpc:
type: ibm:IsVpc
exampleIsSubnet:
type: ibm:IsSubnet
properties:
vpc: ${ibm_is_vpc.vpc.id}
zone: us-south-3
ipv4CidrBlock: 10.240.129.0/24
exampleIsSshKey:
type: ibm:IsSshKey
properties:
publicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR
exampleIsBareMetalServer:
type: ibm:IsBareMetalServer
properties:
profile: mx2d-metal-32x192
image: r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e
zone: us-south-3
keys:
- ${exampleIsSshKey.isSshKeyId}
primaryNetworkInterface:
subnet: ${exampleIsSubnet.isSubnetId}
vpc: ${exampleIsVpc.isVpcId}
Reservation Example
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const exampleIsReservation = new ibm.IsReservation("exampleIsReservation", {
capacity: {
total: 5,
},
committedUse: {
term: "one_year",
},
profile: {
name: "mx2d-metal-32x192",
resourceType: "bare_metal_server_profile",
},
zone: "us-east-3",
});
const exampleIsVpc = new ibm.IsVpc("exampleIsVpc", {});
const exampleIsSubnet = new ibm.IsSubnet("exampleIsSubnet", {
vpc: ibm_is_vpc.vpc.id,
zone: "us-south-3",
ipv4CidrBlock: "10.240.129.0/24",
});
const exampleIsSshKey = new ibm.IsSshKey("exampleIsSshKey", {publicKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR"});
const exampleIsBareMetalServer = new ibm.IsBareMetalServer("exampleIsBareMetalServer", {
profile: "mx2d-metal-32x192",
image: "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
zone: "us-south-3",
keys: [exampleIsSshKey.isSshKeyId],
primaryNetworkInterface: {
subnet: exampleIsSubnet.isSubnetId,
},
reservationAffinities: [{
policy: "manual",
pools: [{
id: exampleIsReservation.id,
}],
}],
vpc: exampleIsVpc.isVpcId,
});
import pulumi
import pulumi_ibm as ibm
example_is_reservation = ibm.IsReservation("exampleIsReservation",
capacity={
"total": 5,
},
committed_use={
"term": "one_year",
},
profile={
"name": "mx2d-metal-32x192",
"resource_type": "bare_metal_server_profile",
},
zone="us-east-3")
example_is_vpc = ibm.IsVpc("exampleIsVpc")
example_is_subnet = ibm.IsSubnet("exampleIsSubnet",
vpc=ibm_is_vpc["vpc"]["id"],
zone="us-south-3",
ipv4_cidr_block="10.240.129.0/24")
example_is_ssh_key = ibm.IsSshKey("exampleIsSshKey", public_key="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR")
example_is_bare_metal_server = ibm.IsBareMetalServer("exampleIsBareMetalServer",
profile="mx2d-metal-32x192",
image="r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
zone="us-south-3",
keys=[example_is_ssh_key.is_ssh_key_id],
primary_network_interface={
"subnet": example_is_subnet.is_subnet_id,
},
reservation_affinities=[{
"policy": "manual",
"pools": [{
"id": example_is_reservation.id,
}],
}],
vpc=example_is_vpc.is_vpc_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleIsReservation, err := ibm.NewIsReservation(ctx, "exampleIsReservation", &ibm.IsReservationArgs{
Capacity: &ibm.IsReservationCapacityArgs{
Total: pulumi.Float64(5),
},
CommittedUse: &ibm.IsReservationCommittedUseArgs{
Term: pulumi.String("one_year"),
},
Profile: &ibm.IsReservationProfileArgs{
Name: pulumi.String("mx2d-metal-32x192"),
ResourceType: pulumi.String("bare_metal_server_profile"),
},
Zone: pulumi.String("us-east-3"),
})
if err != nil {
return err
}
exampleIsVpc, err := ibm.NewIsVpc(ctx, "exampleIsVpc", nil)
if err != nil {
return err
}
exampleIsSubnet, err := ibm.NewIsSubnet(ctx, "exampleIsSubnet", &ibm.IsSubnetArgs{
Vpc: pulumi.Any(ibm_is_vpc.Vpc.Id),
Zone: pulumi.String("us-south-3"),
Ipv4CidrBlock: pulumi.String("10.240.129.0/24"),
})
if err != nil {
return err
}
exampleIsSshKey, err := ibm.NewIsSshKey(ctx, "exampleIsSshKey", &ibm.IsSshKeyArgs{
PublicKey: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR"),
})
if err != nil {
return err
}
_, err = ibm.NewIsBareMetalServer(ctx, "exampleIsBareMetalServer", &ibm.IsBareMetalServerArgs{
Profile: pulumi.String("mx2d-metal-32x192"),
Image: pulumi.String("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e"),
Zone: pulumi.String("us-south-3"),
Keys: pulumi.StringArray{
exampleIsSshKey.IsSshKeyId,
},
PrimaryNetworkInterface: &ibm.IsBareMetalServerPrimaryNetworkInterfaceArgs{
Subnet: exampleIsSubnet.IsSubnetId,
},
ReservationAffinities: ibm.IsBareMetalServerReservationAffinityArray{
&ibm.IsBareMetalServerReservationAffinityArgs{
Policy: pulumi.String("manual"),
Pools: ibm.IsBareMetalServerReservationAffinityPoolArray{
&ibm.IsBareMetalServerReservationAffinityPoolArgs{
Id: exampleIsReservation.ID(),
},
},
},
},
Vpc: exampleIsVpc.IsVpcId,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var exampleIsReservation = new Ibm.IsReservation("exampleIsReservation", new()
{
Capacity = new Ibm.Inputs.IsReservationCapacityArgs
{
Total = 5,
},
CommittedUse = new Ibm.Inputs.IsReservationCommittedUseArgs
{
Term = "one_year",
},
Profile = new Ibm.Inputs.IsReservationProfileArgs
{
Name = "mx2d-metal-32x192",
ResourceType = "bare_metal_server_profile",
},
Zone = "us-east-3",
});
var exampleIsVpc = new Ibm.IsVpc("exampleIsVpc");
var exampleIsSubnet = new Ibm.IsSubnet("exampleIsSubnet", new()
{
Vpc = ibm_is_vpc.Vpc.Id,
Zone = "us-south-3",
Ipv4CidrBlock = "10.240.129.0/24",
});
var exampleIsSshKey = new Ibm.IsSshKey("exampleIsSshKey", new()
{
PublicKey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR",
});
var exampleIsBareMetalServer = new Ibm.IsBareMetalServer("exampleIsBareMetalServer", new()
{
Profile = "mx2d-metal-32x192",
Image = "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
Zone = "us-south-3",
Keys = new[]
{
exampleIsSshKey.IsSshKeyId,
},
PrimaryNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkInterfaceArgs
{
Subnet = exampleIsSubnet.IsSubnetId,
},
ReservationAffinities = new[]
{
new Ibm.Inputs.IsBareMetalServerReservationAffinityArgs
{
Policy = "manual",
Pools = new[]
{
new Ibm.Inputs.IsBareMetalServerReservationAffinityPoolArgs
{
Id = exampleIsReservation.Id,
},
},
},
},
Vpc = exampleIsVpc.IsVpcId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsReservation;
import com.pulumi.ibm.IsReservationArgs;
import com.pulumi.ibm.inputs.IsReservationCapacityArgs;
import com.pulumi.ibm.inputs.IsReservationCommittedUseArgs;
import com.pulumi.ibm.inputs.IsReservationProfileArgs;
import com.pulumi.ibm.IsVpc;
import com.pulumi.ibm.IsSubnet;
import com.pulumi.ibm.IsSubnetArgs;
import com.pulumi.ibm.IsSshKey;
import com.pulumi.ibm.IsSshKeyArgs;
import com.pulumi.ibm.IsBareMetalServer;
import com.pulumi.ibm.IsBareMetalServerArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerPrimaryNetworkInterfaceArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerReservationAffinityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleIsReservation = new IsReservation("exampleIsReservation", IsReservationArgs.builder()
.capacity(IsReservationCapacityArgs.builder()
.total(5)
.build())
.committedUse(IsReservationCommittedUseArgs.builder()
.term("one_year")
.build())
.profile(IsReservationProfileArgs.builder()
.name("mx2d-metal-32x192")
.resourceType("bare_metal_server_profile")
.build())
.zone("us-east-3")
.build());
var exampleIsVpc = new IsVpc("exampleIsVpc");
var exampleIsSubnet = new IsSubnet("exampleIsSubnet", IsSubnetArgs.builder()
.vpc(ibm_is_vpc.vpc().id())
.zone("us-south-3")
.ipv4CidrBlock("10.240.129.0/24")
.build());
var exampleIsSshKey = new IsSshKey("exampleIsSshKey", IsSshKeyArgs.builder()
.publicKey("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR")
.build());
var exampleIsBareMetalServer = new IsBareMetalServer("exampleIsBareMetalServer", IsBareMetalServerArgs.builder()
.profile("mx2d-metal-32x192")
.image("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e")
.zone("us-south-3")
.keys(exampleIsSshKey.isSshKeyId())
.primaryNetworkInterface(IsBareMetalServerPrimaryNetworkInterfaceArgs.builder()
.subnet(exampleIsSubnet.isSubnetId())
.build())
.reservationAffinities(IsBareMetalServerReservationAffinityArgs.builder()
.policy("manual")
.pools(IsBareMetalServerReservationAffinityPoolArgs.builder()
.id(exampleIsReservation.id())
.build())
.build())
.vpc(exampleIsVpc.isVpcId())
.build());
}
}
resources:
exampleIsReservation:
type: ibm:IsReservation
properties:
capacity:
total: 5
committedUse:
term: one_year
profile:
name: mx2d-metal-32x192
resourceType: bare_metal_server_profile
zone: us-east-3
exampleIsVpc:
type: ibm:IsVpc
exampleIsSubnet:
type: ibm:IsSubnet
properties:
vpc: ${ibm_is_vpc.vpc.id}
zone: us-south-3
ipv4CidrBlock: 10.240.129.0/24
exampleIsSshKey:
type: ibm:IsSshKey
properties:
publicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR
exampleIsBareMetalServer:
type: ibm:IsBareMetalServer
properties:
profile: mx2d-metal-32x192
image: r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e
zone: us-south-3
keys:
- ${exampleIsSshKey.isSshKeyId}
primaryNetworkInterface:
subnet: ${exampleIsSubnet.isSubnetId}
reservationAffinities:
- policy: manual
pools:
- id: ${exampleIsReservation.id}
vpc: ${exampleIsVpc.isVpcId}
VNI example
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const bms = new ibm.IsBareMetalServer("bms", {
profile: "mx2d-metal-32x192",
image: "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
zone: "us-south-3",
keys: [ibm_is_ssh_key.example.id],
primaryNetworkAttachment: {
name: "test-vni-100-102",
virtualNetworkInterface: {
id: ibm_is_virtual_network_interface.testacc_vni.id,
},
allowedVlans: [
100,
102,
],
},
vpc: ibm_is_vpc.example.id,
});
import pulumi
import pulumi_ibm as ibm
bms = ibm.IsBareMetalServer("bms",
profile="mx2d-metal-32x192",
image="r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
zone="us-south-3",
keys=[ibm_is_ssh_key["example"]["id"]],
primary_network_attachment={
"name": "test-vni-100-102",
"virtual_network_interface": {
"id": ibm_is_virtual_network_interface["testacc_vni"]["id"],
},
"allowed_vlans": [
100,
102,
],
},
vpc=ibm_is_vpc["example"]["id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIsBareMetalServer(ctx, "bms", &ibm.IsBareMetalServerArgs{
Profile: pulumi.String("mx2d-metal-32x192"),
Image: pulumi.String("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e"),
Zone: pulumi.String("us-south-3"),
Keys: pulumi.StringArray{
ibm_is_ssh_key.Example.Id,
},
PrimaryNetworkAttachment: &ibm.IsBareMetalServerPrimaryNetworkAttachmentArgs{
Name: pulumi.String("test-vni-100-102"),
VirtualNetworkInterface: &ibm.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs{
Id: pulumi.Any(ibm_is_virtual_network_interface.Testacc_vni.Id),
},
AllowedVlans: pulumi.Float64Array{
pulumi.Float64(100),
pulumi.Float64(102),
},
},
Vpc: pulumi.Any(ibm_is_vpc.Example.Id),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var bms = new Ibm.IsBareMetalServer("bms", new()
{
Profile = "mx2d-metal-32x192",
Image = "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
Zone = "us-south-3",
Keys = new[]
{
ibm_is_ssh_key.Example.Id,
},
PrimaryNetworkAttachment = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentArgs
{
Name = "test-vni-100-102",
VirtualNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs
{
Id = ibm_is_virtual_network_interface.Testacc_vni.Id,
},
AllowedVlans = new[]
{
100,
102,
},
},
Vpc = ibm_is_vpc.Example.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsBareMetalServer;
import com.pulumi.ibm.IsBareMetalServerArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerPrimaryNetworkAttachmentArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var bms = new IsBareMetalServer("bms", IsBareMetalServerArgs.builder()
.profile("mx2d-metal-32x192")
.image("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e")
.zone("us-south-3")
.keys(ibm_is_ssh_key.example().id())
.primaryNetworkAttachment(IsBareMetalServerPrimaryNetworkAttachmentArgs.builder()
.name("test-vni-100-102")
.virtualNetworkInterface(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs.builder()
.id(ibm_is_virtual_network_interface.testacc_vni().id())
.build())
.allowedVlans(
100,
102)
.build())
.vpc(ibm_is_vpc.example().id())
.build());
}
}
resources:
bms:
type: ibm:IsBareMetalServer
properties:
profile: mx2d-metal-32x192
image: r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e
zone: us-south-3
keys:
- ${ibm_is_ssh_key.example.id}
primaryNetworkAttachment:
name: test-vni-100-102
virtualNetworkInterface:
id: ${ibm_is_virtual_network_interface.testacc_vni.id}
allowedVlans:
- 100
- 102
vpc: ${ibm_is_vpc.example.id}
Create bare metal server with bandwidth
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const bms = new ibm.IsBareMetalServer("bms", {
bandwidth: 25000,
profile: "bx3-metal-48x256",
image: "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
zone: "us-south-3",
keys: [ibm_is_ssh_key.example.id],
primaryNetworkAttachment: {
name: "test-vni-100-102",
virtualNetworkInterface: {
id: ibm_is_virtual_network_interface.testacc_vni.id,
},
allowedVlans: [
100,
102,
],
},
vpc: ibm_is_vpc.example.id,
});
import pulumi
import pulumi_ibm as ibm
bms = ibm.IsBareMetalServer("bms",
bandwidth=25000,
profile="bx3-metal-48x256",
image="r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
zone="us-south-3",
keys=[ibm_is_ssh_key["example"]["id"]],
primary_network_attachment={
"name": "test-vni-100-102",
"virtual_network_interface": {
"id": ibm_is_virtual_network_interface["testacc_vni"]["id"],
},
"allowed_vlans": [
100,
102,
],
},
vpc=ibm_is_vpc["example"]["id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIsBareMetalServer(ctx, "bms", &ibm.IsBareMetalServerArgs{
Bandwidth: pulumi.Float64(25000),
Profile: pulumi.String("bx3-metal-48x256"),
Image: pulumi.String("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e"),
Zone: pulumi.String("us-south-3"),
Keys: pulumi.StringArray{
ibm_is_ssh_key.Example.Id,
},
PrimaryNetworkAttachment: &ibm.IsBareMetalServerPrimaryNetworkAttachmentArgs{
Name: pulumi.String("test-vni-100-102"),
VirtualNetworkInterface: &ibm.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs{
Id: pulumi.Any(ibm_is_virtual_network_interface.Testacc_vni.Id),
},
AllowedVlans: pulumi.Float64Array{
pulumi.Float64(100),
pulumi.Float64(102),
},
},
Vpc: pulumi.Any(ibm_is_vpc.Example.Id),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var bms = new Ibm.IsBareMetalServer("bms", new()
{
Bandwidth = 25000,
Profile = "bx3-metal-48x256",
Image = "r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e",
Zone = "us-south-3",
Keys = new[]
{
ibm_is_ssh_key.Example.Id,
},
PrimaryNetworkAttachment = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentArgs
{
Name = "test-vni-100-102",
VirtualNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs
{
Id = ibm_is_virtual_network_interface.Testacc_vni.Id,
},
AllowedVlans = new[]
{
100,
102,
},
},
Vpc = ibm_is_vpc.Example.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsBareMetalServer;
import com.pulumi.ibm.IsBareMetalServerArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerPrimaryNetworkAttachmentArgs;
import com.pulumi.ibm.inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var bms = new IsBareMetalServer("bms", IsBareMetalServerArgs.builder()
.bandwidth(25000)
.profile("bx3-metal-48x256")
.image("r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e")
.zone("us-south-3")
.keys(ibm_is_ssh_key.example().id())
.primaryNetworkAttachment(IsBareMetalServerPrimaryNetworkAttachmentArgs.builder()
.name("test-vni-100-102")
.virtualNetworkInterface(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs.builder()
.id(ibm_is_virtual_network_interface.testacc_vni().id())
.build())
.allowedVlans(
100,
102)
.build())
.vpc(ibm_is_vpc.example().id())
.build());
}
}
resources:
bms:
type: ibm:IsBareMetalServer
properties:
bandwidth: 25000
profile: bx3-metal-48x256
image: r134-31c8ca90-2623-48d7-8cf7-737be6fc4c3e
zone: us-south-3
keys:
- ${ibm_is_ssh_key.example.id}
primaryNetworkAttachment:
name: test-vni-100-102
virtualNetworkInterface:
id: ${ibm_is_virtual_network_interface.testacc_vni.id}
allowedVlans:
- 100
- 102
vpc: ${ibm_is_vpc.example.id}
Syntax
$ terraform import ibm_is_bare_metal_server.example <bare_metal_server_id>
Example
$ terraform import ibm_is_bare_metal_server.example d7bec597-4726-451f-8a63-e62e6f19c32c
Create IsBareMetalServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsBareMetalServer(name: string, args: IsBareMetalServerArgs, opts?: CustomResourceOptions);
@overload
def IsBareMetalServer(resource_name: str,
args: IsBareMetalServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IsBareMetalServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
image: Optional[str] = None,
zone: Optional[str] = None,
profile: Optional[str] = None,
keys: Optional[Sequence[str]] = None,
network_interfaces: Optional[Sequence[IsBareMetalServerNetworkInterfaceArgs]] = None,
bandwidth: Optional[float] = None,
is_bare_metal_server_id: Optional[str] = None,
delete_type: Optional[str] = None,
name: Optional[str] = None,
network_attachments: Optional[Sequence[IsBareMetalServerNetworkAttachmentArgs]] = None,
access_tags: Optional[Sequence[str]] = None,
primary_network_attachment: Optional[IsBareMetalServerPrimaryNetworkAttachmentArgs] = None,
primary_network_interface: Optional[IsBareMetalServerPrimaryNetworkInterfaceArgs] = None,
enable_secure_boot: Optional[bool] = None,
reservation_affinities: Optional[Sequence[IsBareMetalServerReservationAffinityArgs]] = None,
resource_group: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[IsBareMetalServerTimeoutsArgs] = None,
trusted_platform_module: Optional[IsBareMetalServerTrustedPlatformModuleArgs] = None,
user_data: Optional[str] = None,
vpc: Optional[str] = None,
action: Optional[str] = None)
func NewIsBareMetalServer(ctx *Context, name string, args IsBareMetalServerArgs, opts ...ResourceOption) (*IsBareMetalServer, error)
public IsBareMetalServer(string name, IsBareMetalServerArgs args, CustomResourceOptions? opts = null)
public IsBareMetalServer(String name, IsBareMetalServerArgs args)
public IsBareMetalServer(String name, IsBareMetalServerArgs args, CustomResourceOptions options)
type: ibm:IsBareMetalServer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IsBareMetalServerArgs
- 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 IsBareMetalServerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IsBareMetalServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsBareMetalServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsBareMetalServerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var isBareMetalServerResource = new Ibm.IsBareMetalServer("isBareMetalServerResource", new()
{
Image = "string",
Zone = "string",
Profile = "string",
Keys = new[]
{
"string",
},
NetworkInterfaces = new[]
{
new Ibm.Inputs.IsBareMetalServerNetworkInterfaceArgs
{
Name = "string",
Subnet = "string",
InterfaceType = "string",
EnableInfrastructureNat = false,
Href = "string",
Id = "string",
AllowInterfaceToFloat = false,
AllowedVlans = new[]
{
0,
},
PortSpeed = 0,
PrimaryIp = new Ibm.Inputs.IsBareMetalServerNetworkInterfacePrimaryIpArgs
{
Address = "string",
AutoDelete = false,
Href = "string",
Name = "string",
ReservedIp = "string",
ResourceType = "string",
},
SecurityGroups = new[]
{
"string",
},
AllowIpSpoofing = false,
Vlan = 0,
},
},
Bandwidth = 0,
IsBareMetalServerId = "string",
DeleteType = "string",
Name = "string",
NetworkAttachments = new[]
{
new Ibm.Inputs.IsBareMetalServerNetworkAttachmentArgs
{
Name = "string",
AllowToFloat = false,
AllowedVlans = new[]
{
0,
},
Deleteds = new[]
{
new Ibm.Inputs.IsBareMetalServerNetworkAttachmentDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Id = "string",
InterfaceType = "string",
ResourceType = "string",
VirtualNetworkInterfaces = new[]
{
new Ibm.Inputs.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs
{
AllowIpSpoofing = false,
AutoDelete = false,
EnableInfrastructureNat = false,
Id = "string",
Ips = new[]
{
new Ibm.Inputs.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpArgs
{
ReservedIp = "string",
Address = "string",
AutoDelete = false,
Deleteds = new[]
{
new Ibm.Inputs.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Name = "string",
ResourceType = "string",
},
},
Name = "string",
PrimaryIps = new[]
{
new Ibm.Inputs.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs
{
Address = "string",
Deleteds = new[]
{
new Ibm.Inputs.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Name = "string",
ReservedIp = "string",
ResourceType = "string",
},
},
ProtocolStateFilteringMode = "string",
ResourceGroup = "string",
ResourceType = "string",
SecurityGroups = new[]
{
"string",
},
Subnet = "string",
},
},
Vlan = 0,
},
},
AccessTags = new[]
{
"string",
},
PrimaryNetworkAttachment = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentArgs
{
AllowInterfaceToFloat = false,
AllowedVlans = new[]
{
0,
},
Deleteds = new[]
{
new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Id = "string",
InterfaceType = "string",
Name = "string",
ResourceType = "string",
VirtualNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs
{
AllowIpSpoofing = false,
AutoDelete = false,
EnableInfrastructureNat = false,
Id = "string",
Ips = new[]
{
new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpArgs
{
ReservedIp = "string",
Address = "string",
AutoDelete = false,
Deleteds = new[]
{
new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Name = "string",
ResourceType = "string",
},
},
Name = "string",
PrimaryIp = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs
{
Address = "string",
Deleteds = new[]
{
new Ibm.Inputs.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Name = "string",
ReservedIp = "string",
ResourceType = "string",
},
ProtocolStateFilteringMode = "string",
ResourceGroup = "string",
ResourceType = "string",
SecurityGroups = new[]
{
"string",
},
Subnet = "string",
},
Vlan = 0,
},
PrimaryNetworkInterface = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkInterfaceArgs
{
Subnet = "string",
AllowIpSpoofing = false,
AllowedVlans = new[]
{
0,
},
EnableInfrastructureNat = false,
Href = "string",
Id = "string",
InterfaceType = "string",
Name = "string",
PortSpeed = 0,
PrimaryIp = new Ibm.Inputs.IsBareMetalServerPrimaryNetworkInterfacePrimaryIpArgs
{
Address = "string",
AutoDelete = false,
Href = "string",
Name = "string",
ReservedIp = "string",
ResourceType = "string",
},
SecurityGroups = new[]
{
"string",
},
},
EnableSecureBoot = false,
ReservationAffinities = new[]
{
new Ibm.Inputs.IsBareMetalServerReservationAffinityArgs
{
Policy = "string",
Pools = new[]
{
new Ibm.Inputs.IsBareMetalServerReservationAffinityPoolArgs
{
Crn = "string",
Deleteds = new[]
{
new Ibm.Inputs.IsBareMetalServerReservationAffinityPoolDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Id = "string",
Name = "string",
ResourceType = "string",
},
},
},
},
ResourceGroup = "string",
Tags = new[]
{
"string",
},
Timeouts = new Ibm.Inputs.IsBareMetalServerTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
TrustedPlatformModule = new Ibm.Inputs.IsBareMetalServerTrustedPlatformModuleArgs
{
Enabled = false,
Mode = "string",
SupportedModes = new[]
{
"string",
},
},
UserData = "string",
Vpc = "string",
Action = "string",
});
example, err := ibm.NewIsBareMetalServer(ctx, "isBareMetalServerResource", &ibm.IsBareMetalServerArgs{
Image: pulumi.String("string"),
Zone: pulumi.String("string"),
Profile: pulumi.String("string"),
Keys: pulumi.StringArray{
pulumi.String("string"),
},
NetworkInterfaces: ibm.IsBareMetalServerNetworkInterfaceTypeArray{
&ibm.IsBareMetalServerNetworkInterfaceTypeArgs{
Name: pulumi.String("string"),
Subnet: pulumi.String("string"),
InterfaceType: pulumi.String("string"),
EnableInfrastructureNat: pulumi.Bool(false),
Href: pulumi.String("string"),
Id: pulumi.String("string"),
AllowInterfaceToFloat: pulumi.Bool(false),
AllowedVlans: pulumi.Float64Array{
pulumi.Float64(0),
},
PortSpeed: pulumi.Float64(0),
PrimaryIp: &ibm.IsBareMetalServerNetworkInterfacePrimaryIpArgs{
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ReservedIp: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
AllowIpSpoofing: pulumi.Bool(false),
Vlan: pulumi.Float64(0),
},
},
Bandwidth: pulumi.Float64(0),
IsBareMetalServerId: pulumi.String("string"),
DeleteType: pulumi.String("string"),
Name: pulumi.String("string"),
NetworkAttachments: ibm.IsBareMetalServerNetworkAttachmentTypeArray{
&ibm.IsBareMetalServerNetworkAttachmentTypeArgs{
Name: pulumi.String("string"),
AllowToFloat: pulumi.Bool(false),
AllowedVlans: pulumi.Float64Array{
pulumi.Float64(0),
},
Deleteds: ibm.IsBareMetalServerNetworkAttachmentDeletedArray{
&ibm.IsBareMetalServerNetworkAttachmentDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Id: pulumi.String("string"),
InterfaceType: pulumi.String("string"),
ResourceType: pulumi.String("string"),
VirtualNetworkInterfaces: ibm.IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArray{
&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),
},
},
AccessTags: pulumi.StringArray{
pulumi.String("string"),
},
PrimaryNetworkAttachment: &ibm.IsBareMetalServerPrimaryNetworkAttachmentArgs{
AllowInterfaceToFloat: pulumi.Bool(false),
AllowedVlans: pulumi.Float64Array{
pulumi.Float64(0),
},
Deleteds: ibm.IsBareMetalServerPrimaryNetworkAttachmentDeletedArray{
&ibm.IsBareMetalServerPrimaryNetworkAttachmentDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Id: pulumi.String("string"),
InterfaceType: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceType: pulumi.String("string"),
VirtualNetworkInterface: &ibm.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs{
AllowIpSpoofing: pulumi.Bool(false),
AutoDelete: pulumi.Bool(false),
EnableInfrastructureNat: pulumi.Bool(false),
Id: pulumi.String("string"),
Ips: ibm.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpArray{
&ibm.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpArgs{
ReservedIp: pulumi.String("string"),
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Deleteds: ibm.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArray{
&ibm.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
PrimaryIp: &ibm.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs{
Address: pulumi.String("string"),
Deleteds: ibm.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArray{
&ibm.IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ReservedIp: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
ProtocolStateFilteringMode: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
ResourceType: pulumi.String("string"),
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
Subnet: pulumi.String("string"),
},
Vlan: pulumi.Float64(0),
},
PrimaryNetworkInterface: &ibm.IsBareMetalServerPrimaryNetworkInterfaceArgs{
Subnet: pulumi.String("string"),
AllowIpSpoofing: pulumi.Bool(false),
AllowedVlans: pulumi.Float64Array{
pulumi.Float64(0),
},
EnableInfrastructureNat: pulumi.Bool(false),
Href: pulumi.String("string"),
Id: pulumi.String("string"),
InterfaceType: pulumi.String("string"),
Name: pulumi.String("string"),
PortSpeed: pulumi.Float64(0),
PrimaryIp: &ibm.IsBareMetalServerPrimaryNetworkInterfacePrimaryIpArgs{
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ReservedIp: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
},
EnableSecureBoot: pulumi.Bool(false),
ReservationAffinities: ibm.IsBareMetalServerReservationAffinityArray{
&ibm.IsBareMetalServerReservationAffinityArgs{
Policy: pulumi.String("string"),
Pools: ibm.IsBareMetalServerReservationAffinityPoolArray{
&ibm.IsBareMetalServerReservationAffinityPoolArgs{
Crn: pulumi.String("string"),
Deleteds: ibm.IsBareMetalServerReservationAffinityPoolDeletedArray{
&ibm.IsBareMetalServerReservationAffinityPoolDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
},
},
ResourceGroup: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &ibm.IsBareMetalServerTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
TrustedPlatformModule: &ibm.IsBareMetalServerTrustedPlatformModuleArgs{
Enabled: pulumi.Bool(false),
Mode: pulumi.String("string"),
SupportedModes: pulumi.StringArray{
pulumi.String("string"),
},
},
UserData: pulumi.String("string"),
Vpc: pulumi.String("string"),
Action: pulumi.String("string"),
})
var isBareMetalServerResource = new IsBareMetalServer("isBareMetalServerResource", IsBareMetalServerArgs.builder()
.image("string")
.zone("string")
.profile("string")
.keys("string")
.networkInterfaces(IsBareMetalServerNetworkInterfaceArgs.builder()
.name("string")
.subnet("string")
.interfaceType("string")
.enableInfrastructureNat(false)
.href("string")
.id("string")
.allowInterfaceToFloat(false)
.allowedVlans(0)
.portSpeed(0)
.primaryIp(IsBareMetalServerNetworkInterfacePrimaryIpArgs.builder()
.address("string")
.autoDelete(false)
.href("string")
.name("string")
.reservedIp("string")
.resourceType("string")
.build())
.securityGroups("string")
.allowIpSpoofing(false)
.vlan(0)
.build())
.bandwidth(0)
.isBareMetalServerId("string")
.deleteType("string")
.name("string")
.networkAttachments(IsBareMetalServerNetworkAttachmentArgs.builder()
.name("string")
.allowToFloat(false)
.allowedVlans(0)
.deleteds(IsBareMetalServerNetworkAttachmentDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.id("string")
.interfaceType("string")
.resourceType("string")
.virtualNetworkInterfaces(IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceArgs.builder()
.allowIpSpoofing(false)
.autoDelete(false)
.enableInfrastructureNat(false)
.id("string")
.ips(IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpArgs.builder()
.reservedIp("string")
.address("string")
.autoDelete(false)
.deleteds(IsBareMetalServerNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.name("string")
.resourceType("string")
.build())
.name("string")
.primaryIps(IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs.builder()
.address("string")
.deleteds(IsBareMetalServerNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.name("string")
.reservedIp("string")
.resourceType("string")
.build())
.protocolStateFilteringMode("string")
.resourceGroup("string")
.resourceType("string")
.securityGroups("string")
.subnet("string")
.build())
.vlan(0)
.build())
.accessTags("string")
.primaryNetworkAttachment(IsBareMetalServerPrimaryNetworkAttachmentArgs.builder()
.allowInterfaceToFloat(false)
.allowedVlans(0)
.deleteds(IsBareMetalServerPrimaryNetworkAttachmentDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.id("string")
.interfaceType("string")
.name("string")
.resourceType("string")
.virtualNetworkInterface(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs.builder()
.allowIpSpoofing(false)
.autoDelete(false)
.enableInfrastructureNat(false)
.id("string")
.ips(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpArgs.builder()
.reservedIp("string")
.address("string")
.autoDelete(false)
.deleteds(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.name("string")
.resourceType("string")
.build())
.name("string")
.primaryIp(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs.builder()
.address("string")
.deleteds(IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.name("string")
.reservedIp("string")
.resourceType("string")
.build())
.protocolStateFilteringMode("string")
.resourceGroup("string")
.resourceType("string")
.securityGroups("string")
.subnet("string")
.build())
.vlan(0)
.build())
.primaryNetworkInterface(IsBareMetalServerPrimaryNetworkInterfaceArgs.builder()
.subnet("string")
.allowIpSpoofing(false)
.allowedVlans(0)
.enableInfrastructureNat(false)
.href("string")
.id("string")
.interfaceType("string")
.name("string")
.portSpeed(0)
.primaryIp(IsBareMetalServerPrimaryNetworkInterfacePrimaryIpArgs.builder()
.address("string")
.autoDelete(false)
.href("string")
.name("string")
.reservedIp("string")
.resourceType("string")
.build())
.securityGroups("string")
.build())
.enableSecureBoot(false)
.reservationAffinities(IsBareMetalServerReservationAffinityArgs.builder()
.policy("string")
.pools(IsBareMetalServerReservationAffinityPoolArgs.builder()
.crn("string")
.deleteds(IsBareMetalServerReservationAffinityPoolDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.id("string")
.name("string")
.resourceType("string")
.build())
.build())
.resourceGroup("string")
.tags("string")
.timeouts(IsBareMetalServerTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.trustedPlatformModule(IsBareMetalServerTrustedPlatformModuleArgs.builder()
.enabled(false)
.mode("string")
.supportedModes("string")
.build())
.userData("string")
.vpc("string")
.action("string")
.build());
is_bare_metal_server_resource = ibm.IsBareMetalServer("isBareMetalServerResource",
image="string",
zone="string",
profile="string",
keys=["string"],
network_interfaces=[{
"name": "string",
"subnet": "string",
"interface_type": "string",
"enable_infrastructure_nat": False,
"href": "string",
"id": "string",
"allow_interface_to_float": False,
"allowed_vlans": [0],
"port_speed": 0,
"primary_ip": {
"address": "string",
"auto_delete": False,
"href": "string",
"name": "string",
"reserved_ip": "string",
"resource_type": "string",
},
"security_groups": ["string"],
"allow_ip_spoofing": False,
"vlan": 0,
}],
bandwidth=0,
is_bare_metal_server_id="string",
delete_type="string",
name="string",
network_attachments=[{
"name": "string",
"allow_to_float": False,
"allowed_vlans": [0],
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"id": "string",
"interface_type": "string",
"resource_type": "string",
"virtual_network_interfaces": [{
"allow_ip_spoofing": False,
"auto_delete": False,
"enable_infrastructure_nat": False,
"id": "string",
"ips": [{
"reserved_ip": "string",
"address": "string",
"auto_delete": False,
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"name": "string",
"resource_type": "string",
}],
"name": "string",
"primary_ips": [{
"address": "string",
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"name": "string",
"reserved_ip": "string",
"resource_type": "string",
}],
"protocol_state_filtering_mode": "string",
"resource_group": "string",
"resource_type": "string",
"security_groups": ["string"],
"subnet": "string",
}],
"vlan": 0,
}],
access_tags=["string"],
primary_network_attachment={
"allow_interface_to_float": False,
"allowed_vlans": [0],
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"id": "string",
"interface_type": "string",
"name": "string",
"resource_type": "string",
"virtual_network_interface": {
"allow_ip_spoofing": False,
"auto_delete": False,
"enable_infrastructure_nat": False,
"id": "string",
"ips": [{
"reserved_ip": "string",
"address": "string",
"auto_delete": False,
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"name": "string",
"resource_type": "string",
}],
"name": "string",
"primary_ip": {
"address": "string",
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"name": "string",
"reserved_ip": "string",
"resource_type": "string",
},
"protocol_state_filtering_mode": "string",
"resource_group": "string",
"resource_type": "string",
"security_groups": ["string"],
"subnet": "string",
},
"vlan": 0,
},
primary_network_interface={
"subnet": "string",
"allow_ip_spoofing": False,
"allowed_vlans": [0],
"enable_infrastructure_nat": False,
"href": "string",
"id": "string",
"interface_type": "string",
"name": "string",
"port_speed": 0,
"primary_ip": {
"address": "string",
"auto_delete": False,
"href": "string",
"name": "string",
"reserved_ip": "string",
"resource_type": "string",
},
"security_groups": ["string"],
},
enable_secure_boot=False,
reservation_affinities=[{
"policy": "string",
"pools": [{
"crn": "string",
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"id": "string",
"name": "string",
"resource_type": "string",
}],
}],
resource_group="string",
tags=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
trusted_platform_module={
"enabled": False,
"mode": "string",
"supported_modes": ["string"],
},
user_data="string",
vpc="string",
action="string")
const isBareMetalServerResource = new ibm.IsBareMetalServer("isBareMetalServerResource", {
image: "string",
zone: "string",
profile: "string",
keys: ["string"],
networkInterfaces: [{
name: "string",
subnet: "string",
interfaceType: "string",
enableInfrastructureNat: false,
href: "string",
id: "string",
allowInterfaceToFloat: false,
allowedVlans: [0],
portSpeed: 0,
primaryIp: {
address: "string",
autoDelete: false,
href: "string",
name: "string",
reservedIp: "string",
resourceType: "string",
},
securityGroups: ["string"],
allowIpSpoofing: false,
vlan: 0,
}],
bandwidth: 0,
isBareMetalServerId: "string",
deleteType: "string",
name: "string",
networkAttachments: [{
name: "string",
allowToFloat: false,
allowedVlans: [0],
deleteds: [{
moreInfo: "string",
}],
href: "string",
id: "string",
interfaceType: "string",
resourceType: "string",
virtualNetworkInterfaces: [{
allowIpSpoofing: false,
autoDelete: false,
enableInfrastructureNat: false,
id: "string",
ips: [{
reservedIp: "string",
address: "string",
autoDelete: false,
deleteds: [{
moreInfo: "string",
}],
href: "string",
name: "string",
resourceType: "string",
}],
name: "string",
primaryIps: [{
address: "string",
deleteds: [{
moreInfo: "string",
}],
href: "string",
name: "string",
reservedIp: "string",
resourceType: "string",
}],
protocolStateFilteringMode: "string",
resourceGroup: "string",
resourceType: "string",
securityGroups: ["string"],
subnet: "string",
}],
vlan: 0,
}],
accessTags: ["string"],
primaryNetworkAttachment: {
allowInterfaceToFloat: false,
allowedVlans: [0],
deleteds: [{
moreInfo: "string",
}],
href: "string",
id: "string",
interfaceType: "string",
name: "string",
resourceType: "string",
virtualNetworkInterface: {
allowIpSpoofing: false,
autoDelete: false,
enableInfrastructureNat: false,
id: "string",
ips: [{
reservedIp: "string",
address: "string",
autoDelete: false,
deleteds: [{
moreInfo: "string",
}],
href: "string",
name: "string",
resourceType: "string",
}],
name: "string",
primaryIp: {
address: "string",
deleteds: [{
moreInfo: "string",
}],
href: "string",
name: "string",
reservedIp: "string",
resourceType: "string",
},
protocolStateFilteringMode: "string",
resourceGroup: "string",
resourceType: "string",
securityGroups: ["string"],
subnet: "string",
},
vlan: 0,
},
primaryNetworkInterface: {
subnet: "string",
allowIpSpoofing: false,
allowedVlans: [0],
enableInfrastructureNat: false,
href: "string",
id: "string",
interfaceType: "string",
name: "string",
portSpeed: 0,
primaryIp: {
address: "string",
autoDelete: false,
href: "string",
name: "string",
reservedIp: "string",
resourceType: "string",
},
securityGroups: ["string"],
},
enableSecureBoot: false,
reservationAffinities: [{
policy: "string",
pools: [{
crn: "string",
deleteds: [{
moreInfo: "string",
}],
href: "string",
id: "string",
name: "string",
resourceType: "string",
}],
}],
resourceGroup: "string",
tags: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
trustedPlatformModule: {
enabled: false,
mode: "string",
supportedModes: ["string"],
},
userData: "string",
vpc: "string",
action: "string",
});
type: ibm:IsBareMetalServer
properties:
accessTags:
- string
action: string
bandwidth: 0
deleteType: string
enableSecureBoot: false
image: string
isBareMetalServerId: string
keys:
- string
name: string
networkAttachments:
- allowToFloat: false
allowedVlans:
- 0
deleteds:
- moreInfo: string
href: string
id: string
interfaceType: string
name: string
resourceType: string
virtualNetworkInterfaces:
- allowIpSpoofing: false
autoDelete: false
enableInfrastructureNat: false
id: string
ips:
- address: string
autoDelete: false
deleteds:
- moreInfo: string
href: string
name: string
reservedIp: string
resourceType: string
name: string
primaryIps:
- address: string
deleteds:
- moreInfo: string
href: string
name: string
reservedIp: string
resourceType: string
protocolStateFilteringMode: string
resourceGroup: string
resourceType: string
securityGroups:
- string
subnet: string
vlan: 0
networkInterfaces:
- allowInterfaceToFloat: false
allowIpSpoofing: false
allowedVlans:
- 0
enableInfrastructureNat: false
href: string
id: string
interfaceType: string
name: string
portSpeed: 0
primaryIp:
address: string
autoDelete: false
href: string
name: string
reservedIp: string
resourceType: string
securityGroups:
- string
subnet: string
vlan: 0
primaryNetworkAttachment:
allowInterfaceToFloat: false
allowedVlans:
- 0
deleteds:
- moreInfo: string
href: string
id: string
interfaceType: string
name: string
resourceType: string
virtualNetworkInterface:
allowIpSpoofing: false
autoDelete: false
enableInfrastructureNat: false
id: string
ips:
- address: string
autoDelete: false
deleteds:
- moreInfo: string
href: string
name: string
reservedIp: string
resourceType: string
name: string
primaryIp:
address: string
deleteds:
- moreInfo: string
href: string
name: string
reservedIp: string
resourceType: string
protocolStateFilteringMode: string
resourceGroup: string
resourceType: string
securityGroups:
- string
subnet: string
vlan: 0
primaryNetworkInterface:
allowIpSpoofing: false
allowedVlans:
- 0
enableInfrastructureNat: false
href: string
id: string
interfaceType: string
name: string
portSpeed: 0
primaryIp:
address: string
autoDelete: false
href: string
name: string
reservedIp: string
resourceType: string
securityGroups:
- string
subnet: string
profile: string
reservationAffinities:
- policy: string
pools:
- crn: string
deleteds:
- moreInfo: string
href: string
id: string
name: string
resourceType: string
resourceGroup: string
tags:
- string
timeouts:
create: string
delete: string
update: string
trustedPlatformModule:
enabled: false
mode: string
supportedModes:
- string
userData: string
vpc: string
zone: string
IsBareMetalServer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IsBareMetalServer resource accepts the following input properties:
- Image string
ID of the image. ( On update of
image
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- Keys List<string>
Comma separated IDs of ssh keys. ( On update of
keys
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )Note: •
ed25519
can only be used if the operating system supports this key type. •ed25519
can't be used with Windows or VMware images.NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- Profile string
- The name the profile to use for this bare metal server.
- Zone string
- Zone name
- List<string>
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- Action string
- This restart/start/stops a bare metal server.
- Bandwidth double
- The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
- Delete
Type string - Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its
hard
. - Enable
Secure boolBoot - Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating
enable_secure_boot
requires the server to be stopped and then it would be started. - Is
Bare stringMetal Server Id - The unique identifier for this reservation
- Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Network
Attachments List<IsBare Metal Server Network Attachment> - The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
- Network
Interfaces List<IsBare Metal Server Network Interface> The additional network interfaces to create for the bare metal server to this bare metal server. Use
ibm.IsBareMetalServerNetworkInterface
&ibm.IsBareMetalServerNetworkInterfaceAllowFloat
resource for network interfaces.NOTE: creating network interfaces both inline with
ibm.IsBareMetalServer
& as a separateibm.IsBareMetalServerNetworkInterface
resource, will show change alternatively on both resources, to avoid this useibm.IsBareMetalServerNetworkInterface
for creating network interfaces.Nested scheme for
network_interfaces
:- Primary
Network IsAttachment Bare Metal Server Primary Network Attachment - The primary network attachment. Nested schema for primary_network_attachment:
- Primary
Network IsInterface Bare Metal Server Primary Network Interface A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.
Nested scheme for
primary_network_interface
:- Reservation
Affinities List<IsBare Metal Server Reservation Affinity> - (Optional, List) The reservation affinity for the bare metal server
Nested scheme for
reservation_affinity
: - Resource
Group string - Resource group name
- List<string>
- Tags for the Bare metal server
- Timeouts
Is
Bare Metal Server Timeouts - Trusted
Platform IsModule Bare Metal Server Trusted Platform Module - (List) trusted platform module (TPM) configuration for this bare metal server
- User
Data string - User data given for the bare metal server
- Vpc string
- The VPC the bare metal server is to be a part of
- Image string
ID of the image. ( On update of
image
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- Keys []string
Comma separated IDs of ssh keys. ( On update of
keys
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )Note: •
ed25519
can only be used if the operating system supports this key type. •ed25519
can't be used with Windows or VMware images.NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- Profile string
- The name the profile to use for this bare metal server.
- Zone string
- Zone name
- []string
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- Action string
- This restart/start/stops a bare metal server.
- Bandwidth float64
- The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
- Delete
Type string - Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its
hard
. - Enable
Secure boolBoot - Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating
enable_secure_boot
requires the server to be stopped and then it would be started. - Is
Bare stringMetal Server Id - The unique identifier for this reservation
- Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Network
Attachments []IsBare Metal Server Network Attachment Type Args - The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
- Network
Interfaces []IsBare Metal Server Network Interface Type Args The additional network interfaces to create for the bare metal server to this bare metal server. Use
ibm.IsBareMetalServerNetworkInterface
&ibm.IsBareMetalServerNetworkInterfaceAllowFloat
resource for network interfaces.NOTE: creating network interfaces both inline with
ibm.IsBareMetalServer
& as a separateibm.IsBareMetalServerNetworkInterface
resource, will show change alternatively on both resources, to avoid this useibm.IsBareMetalServerNetworkInterface
for creating network interfaces.Nested scheme for
network_interfaces
:- Primary
Network IsAttachment Bare Metal Server Primary Network Attachment Args - The primary network attachment. Nested schema for primary_network_attachment:
- Primary
Network IsInterface Bare Metal Server Primary Network Interface Args A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.
Nested scheme for
primary_network_interface
:- Reservation
Affinities []IsBare Metal Server Reservation Affinity Args - (Optional, List) The reservation affinity for the bare metal server
Nested scheme for
reservation_affinity
: - Resource
Group string - Resource group name
- []string
- Tags for the Bare metal server
- Timeouts
Is
Bare Metal Server Timeouts Args - Trusted
Platform IsModule Bare Metal Server Trusted Platform Module Args - (List) trusted platform module (TPM) configuration for this bare metal server
- User
Data string - User data given for the bare metal server
- Vpc string
- The VPC the bare metal server is to be a part of
- image String
ID of the image. ( On update of
image
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- keys List<String>
Comma separated IDs of ssh keys. ( On update of
keys
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )Note: •
ed25519
can only be used if the operating system supports this key type. •ed25519
can't be used with Windows or VMware images.NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- profile String
- The name the profile to use for this bare metal server.
- zone String
- Zone name
- List<String>
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- action String
- This restart/start/stops a bare metal server.
- bandwidth Double
- The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
- delete
Type String - Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its
hard
. - enable
Secure BooleanBoot - Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating
enable_secure_boot
requires the server to be stopped and then it would be started. - is
Bare StringMetal Server Id - The unique identifier for this reservation
- name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- network
Attachments List<IsBare Metal Server Network Attachment> - The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
- network
Interfaces List<IsBare Metal Server Network Interface> The additional network interfaces to create for the bare metal server to this bare metal server. Use
ibm.IsBareMetalServerNetworkInterface
&ibm.IsBareMetalServerNetworkInterfaceAllowFloat
resource for network interfaces.NOTE: creating network interfaces both inline with
ibm.IsBareMetalServer
& as a separateibm.IsBareMetalServerNetworkInterface
resource, will show change alternatively on both resources, to avoid this useibm.IsBareMetalServerNetworkInterface
for creating network interfaces.Nested scheme for
network_interfaces
:- primary
Network IsAttachment Bare Metal Server Primary Network Attachment - The primary network attachment. Nested schema for primary_network_attachment:
- primary
Network IsInterface Bare Metal Server Primary Network Interface A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.
Nested scheme for
primary_network_interface
:- reservation
Affinities List<IsBare Metal Server Reservation Affinity> - (Optional, List) The reservation affinity for the bare metal server
Nested scheme for
reservation_affinity
: - resource
Group String - Resource group name
- List<String>
- Tags for the Bare metal server
- timeouts
Is
Bare Metal Server Timeouts - trusted
Platform IsModule Bare Metal Server Trusted Platform Module - (List) trusted platform module (TPM) configuration for this bare metal server
- user
Data String - User data given for the bare metal server
- vpc String
- The VPC the bare metal server is to be a part of
- image string
ID of the image. ( On update of
image
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- keys string[]
Comma separated IDs of ssh keys. ( On update of
keys
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )Note: •
ed25519
can only be used if the operating system supports this key type. •ed25519
can't be used with Windows or VMware images.NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- profile string
- The name the profile to use for this bare metal server.
- zone string
- Zone name
- string[]
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- action string
- This restart/start/stops a bare metal server.
- bandwidth number
- The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
- delete
Type string - Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its
hard
. - enable
Secure booleanBoot - Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating
enable_secure_boot
requires the server to be stopped and then it would be started. - is
Bare stringMetal Server Id - The unique identifier for this reservation
- name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- network
Attachments IsBare Metal Server Network Attachment[] - The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
- network
Interfaces IsBare Metal Server Network Interface[] The additional network interfaces to create for the bare metal server to this bare metal server. Use
ibm.IsBareMetalServerNetworkInterface
&ibm.IsBareMetalServerNetworkInterfaceAllowFloat
resource for network interfaces.NOTE: creating network interfaces both inline with
ibm.IsBareMetalServer
& as a separateibm.IsBareMetalServerNetworkInterface
resource, will show change alternatively on both resources, to avoid this useibm.IsBareMetalServerNetworkInterface
for creating network interfaces.Nested scheme for
network_interfaces
:- primary
Network IsAttachment Bare Metal Server Primary Network Attachment - The primary network attachment. Nested schema for primary_network_attachment:
- primary
Network IsInterface Bare Metal Server Primary Network Interface A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.
Nested scheme for
primary_network_interface
:- reservation
Affinities IsBare Metal Server Reservation Affinity[] - (Optional, List) The reservation affinity for the bare metal server
Nested scheme for
reservation_affinity
: - resource
Group string - Resource group name
- string[]
- Tags for the Bare metal server
- timeouts
Is
Bare Metal Server Timeouts - trusted
Platform IsModule Bare Metal Server Trusted Platform Module - (List) trusted platform module (TPM) configuration for this bare metal server
- user
Data string - User data given for the bare metal server
- vpc string
- The VPC the bare metal server is to be a part of
- image str
ID of the image. ( On update of
image
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- keys Sequence[str]
Comma separated IDs of ssh keys. ( On update of
keys
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )Note: •
ed25519
can only be used if the operating system supports this key type. •ed25519
can't be used with Windows or VMware images.NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- profile str
- The name the profile to use for this bare metal server.
- zone str
- Zone name
- Sequence[str]
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- action str
- This restart/start/stops a bare metal server.
- bandwidth float
- The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
- delete_
type str - Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its
hard
. - enable_
secure_ boolboot - Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating
enable_secure_boot
requires the server to be stopped and then it would be started. - is_
bare_ strmetal_ server_ id - The unique identifier for this reservation
- name str
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- network_
attachments Sequence[IsBare Metal Server Network Attachment Args] - The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
- network_
interfaces Sequence[IsBare Metal Server Network Interface Args] The additional network interfaces to create for the bare metal server to this bare metal server. Use
ibm.IsBareMetalServerNetworkInterface
&ibm.IsBareMetalServerNetworkInterfaceAllowFloat
resource for network interfaces.NOTE: creating network interfaces both inline with
ibm.IsBareMetalServer
& as a separateibm.IsBareMetalServerNetworkInterface
resource, will show change alternatively on both resources, to avoid this useibm.IsBareMetalServerNetworkInterface
for creating network interfaces.Nested scheme for
network_interfaces
:- primary_
network_ Isattachment Bare Metal Server Primary Network Attachment Args - The primary network attachment. Nested schema for primary_network_attachment:
- primary_
network_ Isinterface Bare Metal Server Primary Network Interface Args A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.
Nested scheme for
primary_network_interface
:- reservation_
affinities Sequence[IsBare Metal Server Reservation Affinity Args] - (Optional, List) The reservation affinity for the bare metal server
Nested scheme for
reservation_affinity
: - resource_
group str - Resource group name
- Sequence[str]
- Tags for the Bare metal server
- timeouts
Is
Bare Metal Server Timeouts Args - trusted_
platform_ Ismodule Bare Metal Server Trusted Platform Module Args - (List) trusted platform module (TPM) configuration for this bare metal server
- user_
data str - User data given for the bare metal server
- vpc str
- The VPC the bare metal server is to be a part of
- image String
ID of the image. ( On update of
image
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- keys List<String>
Comma separated IDs of ssh keys. ( On update of
keys
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )Note: •
ed25519
can only be used if the operating system supports this key type. •ed25519
can't be used with Windows or VMware images.NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- profile String
- The name the profile to use for this bare metal server.
- zone String
- Zone name
- List<String>
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- action String
- This restart/start/stops a bare metal server.
- bandwidth Number
- The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
- delete
Type String - Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its
hard
. - enable
Secure BooleanBoot - Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating
enable_secure_boot
requires the server to be stopped and then it would be started. - is
Bare StringMetal Server Id - The unique identifier for this reservation
- name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- network
Attachments List<Property Map> - The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
- network
Interfaces List<Property Map> The additional network interfaces to create for the bare metal server to this bare metal server. Use
ibm.IsBareMetalServerNetworkInterface
&ibm.IsBareMetalServerNetworkInterfaceAllowFloat
resource for network interfaces.NOTE: creating network interfaces both inline with
ibm.IsBareMetalServer
& as a separateibm.IsBareMetalServerNetworkInterface
resource, will show change alternatively on both resources, to avoid this useibm.IsBareMetalServerNetworkInterface
for creating network interfaces.Nested scheme for
network_interfaces
:- primary
Network Property MapAttachment - The primary network attachment. Nested schema for primary_network_attachment:
- primary
Network Property MapInterface A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.
Nested scheme for
primary_network_interface
:- reservation
Affinities List<Property Map> - (Optional, List) The reservation affinity for the bare metal server
Nested scheme for
reservation_affinity
: - resource
Group String - Resource group name
- List<String>
- Tags for the Bare metal server
- timeouts Property Map
- trusted
Platform Property MapModule - (List) trusted platform module (TPM) configuration for this bare metal server
- user
Data String - User data given for the bare metal server
- vpc String
- The VPC the bare metal server is to be a part of
Outputs
All input properties are implicitly available as output properties. Additionally, the IsBareMetalServer resource produces the following output properties:
- Boot
Target string - (String) The unique identifier for this bare metal server disk.
- Cpus
List<Is
Bare Metal Server Cpus> - (String) A nested block describing the CPU configuration of this bare metal server.
- Crn string
- (String) The CRN for this bare metal server
- Disks
List<Is
Bare Metal Server Disk> - The disks for this bare metal server, including any disks that are associated with the boot_target.
- Firmware
Update stringType Available (String) The firmware update type available for the bare metal server.
Supported firmware update types • none • optional • required
- Health
Reasons List<IsBare Metal Server Health Reason> The reasons for the current health_state (if any).
Nested scheme for
health_reasons
:- Health
State string - The health of this resource.
- Href string
- (String) The URL for this bare metal server
- Id string
- The provider-assigned unique ID for this managed resource.
- Memory double
- (Integer) The amount of memory, truncated to whole gibibytes
- Reservations
List<Is
Bare Metal Server Reservation> - The reservation used by this bare metal server.
Nested scheme for
reservation
: - Resource
Type string - (String) The type of resource.
- Status string
- (String) The status of the bare metal server.
- Status
Reasons List<IsBare Metal Server Status Reason> - (List) Array of reasons for the current status (if any).
- Boot
Target string - (String) The unique identifier for this bare metal server disk.
- Cpus
[]Is
Bare Metal Server Cpus - (String) A nested block describing the CPU configuration of this bare metal server.
- Crn string
- (String) The CRN for this bare metal server
- Disks
[]Is
Bare Metal Server Disk Type - The disks for this bare metal server, including any disks that are associated with the boot_target.
- Firmware
Update stringType Available (String) The firmware update type available for the bare metal server.
Supported firmware update types • none • optional • required
- Health
Reasons []IsBare Metal Server Health Reason The reasons for the current health_state (if any).
Nested scheme for
health_reasons
:- Health
State string - The health of this resource.
- Href string
- (String) The URL for this bare metal server
- Id string
- The provider-assigned unique ID for this managed resource.
- Memory float64
- (Integer) The amount of memory, truncated to whole gibibytes
- Reservations
[]Is
Bare Metal Server Reservation - The reservation used by this bare metal server.
Nested scheme for
reservation
: - Resource
Type string - (String) The type of resource.
- Status string
- (String) The status of the bare metal server.
- Status
Reasons []IsBare Metal Server Status Reason - (List) Array of reasons for the current status (if any).
- boot
Target String - (String) The unique identifier for this bare metal server disk.
- cpus
List<Is
Bare Metal Server Cpus> - (String) A nested block describing the CPU configuration of this bare metal server.
- crn String
- (String) The CRN for this bare metal server
- disks
List<Is
Bare Metal Server Disk> - The disks for this bare metal server, including any disks that are associated with the boot_target.
- firmware
Update StringType Available (String) The firmware update type available for the bare metal server.
Supported firmware update types • none • optional • required
- health
Reasons List<IsBare Metal Server Health Reason> The reasons for the current health_state (if any).
Nested scheme for
health_reasons
:- health
State String - The health of this resource.
- href String
- (String) The URL for this bare metal server
- id String
- The provider-assigned unique ID for this managed resource.
- memory Double
- (Integer) The amount of memory, truncated to whole gibibytes
- reservations
List<Is
Bare Metal Server Reservation> - The reservation used by this bare metal server.
Nested scheme for
reservation
: - resource
Type String - (String) The type of resource.
- status String
- (String) The status of the bare metal server.
- status
Reasons List<IsBare Metal Server Status Reason> - (List) Array of reasons for the current status (if any).
- boot
Target string - (String) The unique identifier for this bare metal server disk.
- cpus
Is
Bare Metal Server Cpus[] - (String) A nested block describing the CPU configuration of this bare metal server.
- crn string
- (String) The CRN for this bare metal server
- disks
Is
Bare Metal Server Disk[] - The disks for this bare metal server, including any disks that are associated with the boot_target.
- firmware
Update stringType Available (String) The firmware update type available for the bare metal server.
Supported firmware update types • none • optional • required
- health
Reasons IsBare Metal Server Health Reason[] The reasons for the current health_state (if any).
Nested scheme for
health_reasons
:- health
State string - The health of this resource.
- href string
- (String) The URL for this bare metal server
- id string
- The provider-assigned unique ID for this managed resource.
- memory number
- (Integer) The amount of memory, truncated to whole gibibytes
- reservations
Is
Bare Metal Server Reservation[] - The reservation used by this bare metal server.
Nested scheme for
reservation
: - resource
Type string - (String) The type of resource.
- status string
- (String) The status of the bare metal server.
- status
Reasons IsBare Metal Server Status Reason[] - (List) Array of reasons for the current status (if any).
- boot_
target str - (String) The unique identifier for this bare metal server disk.
- cpus
Sequence[Is
Bare Metal Server Cpus] - (String) A nested block describing the CPU configuration of this bare metal server.
- crn str
- (String) The CRN for this bare metal server
- disks
Sequence[Is
Bare Metal Server Disk] - The disks for this bare metal server, including any disks that are associated with the boot_target.
- firmware_
update_ strtype_ available (String) The firmware update type available for the bare metal server.
Supported firmware update types • none • optional • required
- health_
reasons Sequence[IsBare Metal Server Health Reason] The reasons for the current health_state (if any).
Nested scheme for
health_reasons
:- health_
state str - The health of this resource.
- href str
- (String) The URL for this bare metal server
- id str
- The provider-assigned unique ID for this managed resource.
- memory float
- (Integer) The amount of memory, truncated to whole gibibytes
- reservations
Sequence[Is
Bare Metal Server Reservation] - The reservation used by this bare metal server.
Nested scheme for
reservation
: - resource_
type str - (String) The type of resource.
- status str
- (String) The status of the bare metal server.
- status_
reasons Sequence[IsBare Metal Server Status Reason] - (List) Array of reasons for the current status (if any).
- boot
Target String - (String) The unique identifier for this bare metal server disk.
- cpus List<Property Map>
- (String) A nested block describing the CPU configuration of this bare metal server.
- crn String
- (String) The CRN for this bare metal server
- disks List<Property Map>
- The disks for this bare metal server, including any disks that are associated with the boot_target.
- firmware
Update StringType Available (String) The firmware update type available for the bare metal server.
Supported firmware update types • none • optional • required
- health
Reasons List<Property Map> The reasons for the current health_state (if any).
Nested scheme for
health_reasons
:- health
State String - The health of this resource.
- href String
- (String) The URL for this bare metal server
- id String
- The provider-assigned unique ID for this managed resource.
- memory Number
- (Integer) The amount of memory, truncated to whole gibibytes
- reservations List<Property Map>
- The reservation used by this bare metal server.
Nested scheme for
reservation
: - resource
Type String - (String) The type of resource.
- status String
- (String) The status of the bare metal server.
- status
Reasons List<Property Map> - (List) Array of reasons for the current status (if any).
Look up Existing IsBareMetalServer Resource
Get an existing IsBareMetalServer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IsBareMetalServerState, opts?: CustomResourceOptions): IsBareMetalServer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_tags: Optional[Sequence[str]] = None,
action: Optional[str] = None,
bandwidth: Optional[float] = None,
boot_target: Optional[str] = None,
cpus: Optional[Sequence[IsBareMetalServerCpusArgs]] = None,
crn: Optional[str] = None,
delete_type: Optional[str] = None,
disks: Optional[Sequence[IsBareMetalServerDiskArgs]] = None,
enable_secure_boot: Optional[bool] = None,
firmware_update_type_available: Optional[str] = None,
health_reasons: Optional[Sequence[IsBareMetalServerHealthReasonArgs]] = None,
health_state: Optional[str] = None,
href: Optional[str] = None,
image: Optional[str] = None,
is_bare_metal_server_id: Optional[str] = None,
keys: Optional[Sequence[str]] = None,
memory: Optional[float] = None,
name: Optional[str] = None,
network_attachments: Optional[Sequence[IsBareMetalServerNetworkAttachmentArgs]] = None,
network_interfaces: Optional[Sequence[IsBareMetalServerNetworkInterfaceArgs]] = None,
primary_network_attachment: Optional[IsBareMetalServerPrimaryNetworkAttachmentArgs] = None,
primary_network_interface: Optional[IsBareMetalServerPrimaryNetworkInterfaceArgs] = None,
profile: Optional[str] = None,
reservation_affinities: Optional[Sequence[IsBareMetalServerReservationAffinityArgs]] = None,
reservations: Optional[Sequence[IsBareMetalServerReservationArgs]] = None,
resource_group: Optional[str] = None,
resource_type: Optional[str] = None,
status: Optional[str] = None,
status_reasons: Optional[Sequence[IsBareMetalServerStatusReasonArgs]] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[IsBareMetalServerTimeoutsArgs] = None,
trusted_platform_module: Optional[IsBareMetalServerTrustedPlatformModuleArgs] = None,
user_data: Optional[str] = None,
vpc: Optional[str] = None,
zone: Optional[str] = None) -> IsBareMetalServer
func GetIsBareMetalServer(ctx *Context, name string, id IDInput, state *IsBareMetalServerState, opts ...ResourceOption) (*IsBareMetalServer, error)
public static IsBareMetalServer Get(string name, Input<string> id, IsBareMetalServerState? state, CustomResourceOptions? opts = null)
public static IsBareMetalServer get(String name, Output<String> id, IsBareMetalServerState state, CustomResourceOptions options)
resources: _: type: ibm:IsBareMetalServer get: id: ${id}
- name
- 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.
- List<string>
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- Action string
- This restart/start/stops a bare metal server.
- Bandwidth double
- The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
- Boot
Target string - (String) The unique identifier for this bare metal server disk.
- Cpus
List<Is
Bare Metal Server Cpus> - (String) A nested block describing the CPU configuration of this bare metal server.
- Crn string
- (String) The CRN for this bare metal server
- Delete
Type string - Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its
hard
. - Disks
List<Is
Bare Metal Server Disk> - The disks for this bare metal server, including any disks that are associated with the boot_target.
- Enable
Secure boolBoot - Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating
enable_secure_boot
requires the server to be stopped and then it would be started. - Firmware
Update stringType Available (String) The firmware update type available for the bare metal server.
Supported firmware update types • none • optional • required
- Health
Reasons List<IsBare Metal Server Health Reason> The reasons for the current health_state (if any).
Nested scheme for
health_reasons
:- Health
State string - The health of this resource.
- Href string
- (String) The URL for this bare metal server
- Image string
ID of the image. ( On update of
image
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- Is
Bare stringMetal Server Id - The unique identifier for this reservation
- Keys List<string>
Comma separated IDs of ssh keys. ( On update of
keys
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )Note: •
ed25519
can only be used if the operating system supports this key type. •ed25519
can't be used with Windows or VMware images.NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- Memory double
- (Integer) The amount of memory, truncated to whole gibibytes
- Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Network
Attachments List<IsBare Metal Server Network Attachment> - The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
- Network
Interfaces List<IsBare Metal Server Network Interface> The additional network interfaces to create for the bare metal server to this bare metal server. Use
ibm.IsBareMetalServerNetworkInterface
&ibm.IsBareMetalServerNetworkInterfaceAllowFloat
resource for network interfaces.NOTE: creating network interfaces both inline with
ibm.IsBareMetalServer
& as a separateibm.IsBareMetalServerNetworkInterface
resource, will show change alternatively on both resources, to avoid this useibm.IsBareMetalServerNetworkInterface
for creating network interfaces.Nested scheme for
network_interfaces
:- Primary
Network IsAttachment Bare Metal Server Primary Network Attachment - The primary network attachment. Nested schema for primary_network_attachment:
- Primary
Network IsInterface Bare Metal Server Primary Network Interface A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.
Nested scheme for
primary_network_interface
:- Profile string
- The name the profile to use for this bare metal server.
- Reservation
Affinities List<IsBare Metal Server Reservation Affinity> - (Optional, List) The reservation affinity for the bare metal server
Nested scheme for
reservation_affinity
: - Reservations
List<Is
Bare Metal Server Reservation> - The reservation used by this bare metal server.
Nested scheme for
reservation
: - Resource
Group string - Resource group name
- Resource
Type string - (String) The type of resource.
- Status string
- (String) The status of the bare metal server.
- Status
Reasons List<IsBare Metal Server Status Reason> - (List) Array of reasons for the current status (if any).
- List<string>
- Tags for the Bare metal server
- Timeouts
Is
Bare Metal Server Timeouts - Trusted
Platform IsModule Bare Metal Server Trusted Platform Module - (List) trusted platform module (TPM) configuration for this bare metal server
- User
Data string - User data given for the bare metal server
- Vpc string
- The VPC the bare metal server is to be a part of
- Zone string
- Zone name
- []string
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- Action string
- This restart/start/stops a bare metal server.
- Bandwidth float64
- The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
- Boot
Target string - (String) The unique identifier for this bare metal server disk.
- Cpus
[]Is
Bare Metal Server Cpus Args - (String) A nested block describing the CPU configuration of this bare metal server.
- Crn string
- (String) The CRN for this bare metal server
- Delete
Type string - Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its
hard
. - Disks
[]Is
Bare Metal Server Disk Type Args - The disks for this bare metal server, including any disks that are associated with the boot_target.
- Enable
Secure boolBoot - Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating
enable_secure_boot
requires the server to be stopped and then it would be started. - Firmware
Update stringType Available (String) The firmware update type available for the bare metal server.
Supported firmware update types • none • optional • required
- Health
Reasons []IsBare Metal Server Health Reason Args The reasons for the current health_state (if any).
Nested scheme for
health_reasons
:- Health
State string - The health of this resource.
- Href string
- (String) The URL for this bare metal server
- Image string
ID of the image. ( On update of
image
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- Is
Bare stringMetal Server Id - The unique identifier for this reservation
- Keys []string
Comma separated IDs of ssh keys. ( On update of
keys
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )Note: •
ed25519
can only be used if the operating system supports this key type. •ed25519
can't be used with Windows or VMware images.NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- Memory float64
- (Integer) The amount of memory, truncated to whole gibibytes
- Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Network
Attachments []IsBare Metal Server Network Attachment Type Args - The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
- Network
Interfaces []IsBare Metal Server Network Interface Type Args The additional network interfaces to create for the bare metal server to this bare metal server. Use
ibm.IsBareMetalServerNetworkInterface
&ibm.IsBareMetalServerNetworkInterfaceAllowFloat
resource for network interfaces.NOTE: creating network interfaces both inline with
ibm.IsBareMetalServer
& as a separateibm.IsBareMetalServerNetworkInterface
resource, will show change alternatively on both resources, to avoid this useibm.IsBareMetalServerNetworkInterface
for creating network interfaces.Nested scheme for
network_interfaces
:- Primary
Network IsAttachment Bare Metal Server Primary Network Attachment Args - The primary network attachment. Nested schema for primary_network_attachment:
- Primary
Network IsInterface Bare Metal Server Primary Network Interface Args A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.
Nested scheme for
primary_network_interface
:- Profile string
- The name the profile to use for this bare metal server.
- Reservation
Affinities []IsBare Metal Server Reservation Affinity Args - (Optional, List) The reservation affinity for the bare metal server
Nested scheme for
reservation_affinity
: - Reservations
[]Is
Bare Metal Server Reservation Args - The reservation used by this bare metal server.
Nested scheme for
reservation
: - Resource
Group string - Resource group name
- Resource
Type string - (String) The type of resource.
- Status string
- (String) The status of the bare metal server.
- Status
Reasons []IsBare Metal Server Status Reason Args - (List) Array of reasons for the current status (if any).
- []string
- Tags for the Bare metal server
- Timeouts
Is
Bare Metal Server Timeouts Args - Trusted
Platform IsModule Bare Metal Server Trusted Platform Module Args - (List) trusted platform module (TPM) configuration for this bare metal server
- User
Data string - User data given for the bare metal server
- Vpc string
- The VPC the bare metal server is to be a part of
- Zone string
- Zone name
- List<String>
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- action String
- This restart/start/stops a bare metal server.
- bandwidth Double
- The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
- boot
Target String - (String) The unique identifier for this bare metal server disk.
- cpus
List<Is
Bare Metal Server Cpus> - (String) A nested block describing the CPU configuration of this bare metal server.
- crn String
- (String) The CRN for this bare metal server
- delete
Type String - Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its
hard
. - disks
List<Is
Bare Metal Server Disk> - The disks for this bare metal server, including any disks that are associated with the boot_target.
- enable
Secure BooleanBoot - Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating
enable_secure_boot
requires the server to be stopped and then it would be started. - firmware
Update StringType Available (String) The firmware update type available for the bare metal server.
Supported firmware update types • none • optional • required
- health
Reasons List<IsBare Metal Server Health Reason> The reasons for the current health_state (if any).
Nested scheme for
health_reasons
:- health
State String - The health of this resource.
- href String
- (String) The URL for this bare metal server
- image String
ID of the image. ( On update of
image
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- is
Bare StringMetal Server Id - The unique identifier for this reservation
- keys List<String>
Comma separated IDs of ssh keys. ( On update of
keys
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )Note: •
ed25519
can only be used if the operating system supports this key type. •ed25519
can't be used with Windows or VMware images.NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- memory Double
- (Integer) The amount of memory, truncated to whole gibibytes
- name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- network
Attachments List<IsBare Metal Server Network Attachment> - The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
- network
Interfaces List<IsBare Metal Server Network Interface> The additional network interfaces to create for the bare metal server to this bare metal server. Use
ibm.IsBareMetalServerNetworkInterface
&ibm.IsBareMetalServerNetworkInterfaceAllowFloat
resource for network interfaces.NOTE: creating network interfaces both inline with
ibm.IsBareMetalServer
& as a separateibm.IsBareMetalServerNetworkInterface
resource, will show change alternatively on both resources, to avoid this useibm.IsBareMetalServerNetworkInterface
for creating network interfaces.Nested scheme for
network_interfaces
:- primary
Network IsAttachment Bare Metal Server Primary Network Attachment - The primary network attachment. Nested schema for primary_network_attachment:
- primary
Network IsInterface Bare Metal Server Primary Network Interface A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.
Nested scheme for
primary_network_interface
:- profile String
- The name the profile to use for this bare metal server.
- reservation
Affinities List<IsBare Metal Server Reservation Affinity> - (Optional, List) The reservation affinity for the bare metal server
Nested scheme for
reservation_affinity
: - reservations
List<Is
Bare Metal Server Reservation> - The reservation used by this bare metal server.
Nested scheme for
reservation
: - resource
Group String - Resource group name
- resource
Type String - (String) The type of resource.
- status String
- (String) The status of the bare metal server.
- status
Reasons List<IsBare Metal Server Status Reason> - (List) Array of reasons for the current status (if any).
- List<String>
- Tags for the Bare metal server
- timeouts
Is
Bare Metal Server Timeouts - trusted
Platform IsModule Bare Metal Server Trusted Platform Module - (List) trusted platform module (TPM) configuration for this bare metal server
- user
Data String - User data given for the bare metal server
- vpc String
- The VPC the bare metal server is to be a part of
- zone String
- Zone name
- string[]
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- action string
- This restart/start/stops a bare metal server.
- bandwidth number
- The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
- boot
Target string - (String) The unique identifier for this bare metal server disk.
- cpus
Is
Bare Metal Server Cpus[] - (String) A nested block describing the CPU configuration of this bare metal server.
- crn string
- (String) The CRN for this bare metal server
- delete
Type string - Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its
hard
. - disks
Is
Bare Metal Server Disk[] - The disks for this bare metal server, including any disks that are associated with the boot_target.
- enable
Secure booleanBoot - Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating
enable_secure_boot
requires the server to be stopped and then it would be started. - firmware
Update stringType Available (String) The firmware update type available for the bare metal server.
Supported firmware update types • none • optional • required
- health
Reasons IsBare Metal Server Health Reason[] The reasons for the current health_state (if any).
Nested scheme for
health_reasons
:- health
State string - The health of this resource.
- href string
- (String) The URL for this bare metal server
- image string
ID of the image. ( On update of
image
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- is
Bare stringMetal Server Id - The unique identifier for this reservation
- keys string[]
Comma separated IDs of ssh keys. ( On update of
keys
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )Note: •
ed25519
can only be used if the operating system supports this key type. •ed25519
can't be used with Windows or VMware images.NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- memory number
- (Integer) The amount of memory, truncated to whole gibibytes
- name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- network
Attachments IsBare Metal Server Network Attachment[] - The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
- network
Interfaces IsBare Metal Server Network Interface[] The additional network interfaces to create for the bare metal server to this bare metal server. Use
ibm.IsBareMetalServerNetworkInterface
&ibm.IsBareMetalServerNetworkInterfaceAllowFloat
resource for network interfaces.NOTE: creating network interfaces both inline with
ibm.IsBareMetalServer
& as a separateibm.IsBareMetalServerNetworkInterface
resource, will show change alternatively on both resources, to avoid this useibm.IsBareMetalServerNetworkInterface
for creating network interfaces.Nested scheme for
network_interfaces
:- primary
Network IsAttachment Bare Metal Server Primary Network Attachment - The primary network attachment. Nested schema for primary_network_attachment:
- primary
Network IsInterface Bare Metal Server Primary Network Interface A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.
Nested scheme for
primary_network_interface
:- profile string
- The name the profile to use for this bare metal server.
- reservation
Affinities IsBare Metal Server Reservation Affinity[] - (Optional, List) The reservation affinity for the bare metal server
Nested scheme for
reservation_affinity
: - reservations
Is
Bare Metal Server Reservation[] - The reservation used by this bare metal server.
Nested scheme for
reservation
: - resource
Group string - Resource group name
- resource
Type string - (String) The type of resource.
- status string
- (String) The status of the bare metal server.
- status
Reasons IsBare Metal Server Status Reason[] - (List) Array of reasons for the current status (if any).
- string[]
- Tags for the Bare metal server
- timeouts
Is
Bare Metal Server Timeouts - trusted
Platform IsModule Bare Metal Server Trusted Platform Module - (List) trusted platform module (TPM) configuration for this bare metal server
- user
Data string - User data given for the bare metal server
- vpc string
- The VPC the bare metal server is to be a part of
- zone string
- Zone name
- Sequence[str]
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- action str
- This restart/start/stops a bare metal server.
- bandwidth float
- The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
- boot_
target str - (String) The unique identifier for this bare metal server disk.
- cpus
Sequence[Is
Bare Metal Server Cpus Args] - (String) A nested block describing the CPU configuration of this bare metal server.
- crn str
- (String) The CRN for this bare metal server
- delete_
type str - Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its
hard
. - disks
Sequence[Is
Bare Metal Server Disk Args] - The disks for this bare metal server, including any disks that are associated with the boot_target.
- enable_
secure_ boolboot - Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating
enable_secure_boot
requires the server to be stopped and then it would be started. - firmware_
update_ strtype_ available (String) The firmware update type available for the bare metal server.
Supported firmware update types • none • optional • required
- health_
reasons Sequence[IsBare Metal Server Health Reason Args] The reasons for the current health_state (if any).
Nested scheme for
health_reasons
:- health_
state str - The health of this resource.
- href str
- (String) The URL for this bare metal server
- image str
ID of the image. ( On update of
image
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- is_
bare_ strmetal_ server_ id - The unique identifier for this reservation
- keys Sequence[str]
Comma separated IDs of ssh keys. ( On update of
keys
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )Note: •
ed25519
can only be used if the operating system supports this key type. •ed25519
can't be used with Windows or VMware images.NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- memory float
- (Integer) The amount of memory, truncated to whole gibibytes
- name str
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- network_
attachments Sequence[IsBare Metal Server Network Attachment Args] - The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
- network_
interfaces Sequence[IsBare Metal Server Network Interface Args] The additional network interfaces to create for the bare metal server to this bare metal server. Use
ibm.IsBareMetalServerNetworkInterface
&ibm.IsBareMetalServerNetworkInterfaceAllowFloat
resource for network interfaces.NOTE: creating network interfaces both inline with
ibm.IsBareMetalServer
& as a separateibm.IsBareMetalServerNetworkInterface
resource, will show change alternatively on both resources, to avoid this useibm.IsBareMetalServerNetworkInterface
for creating network interfaces.Nested scheme for
network_interfaces
:- primary_
network_ Isattachment Bare Metal Server Primary Network Attachment Args - The primary network attachment. Nested schema for primary_network_attachment:
- primary_
network_ Isinterface Bare Metal Server Primary Network Interface Args A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.
Nested scheme for
primary_network_interface
:- profile str
- The name the profile to use for this bare metal server.
- reservation_
affinities Sequence[IsBare Metal Server Reservation Affinity Args] - (Optional, List) The reservation affinity for the bare metal server
Nested scheme for
reservation_affinity
: - reservations
Sequence[Is
Bare Metal Server Reservation Args] - The reservation used by this bare metal server.
Nested scheme for
reservation
: - resource_
group str - Resource group name
- resource_
type str - (String) The type of resource.
- status str
- (String) The status of the bare metal server.
- status_
reasons Sequence[IsBare Metal Server Status Reason Args] - (List) Array of reasons for the current status (if any).
- Sequence[str]
- Tags for the Bare metal server
- timeouts
Is
Bare Metal Server Timeouts Args - trusted_
platform_ Ismodule Bare Metal Server Trusted Platform Module Args - (List) trusted platform module (TPM) configuration for this bare metal server
- user_
data str - User data given for the bare metal server
- vpc str
- The VPC the bare metal server is to be a part of
- zone str
- Zone name
- List<String>
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- action String
- This restart/start/stops a bare metal server.
- bandwidth Number
- The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
- boot
Target String - (String) The unique identifier for this bare metal server disk.
- cpus List<Property Map>
- (String) A nested block describing the CPU configuration of this bare metal server.
- crn String
- (String) The CRN for this bare metal server
- delete
Type String - Type of deletion on destroy. soft signals running operating system to quiesce and shutdown cleanly, hard immediately stop the server. By default its
hard
. - disks List<Property Map>
- The disks for this bare metal server, including any disks that are associated with the boot_target.
- enable
Secure BooleanBoot - Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the server will fail to boot. Updating
enable_secure_boot
requires the server to be stopped and then it would be started. - firmware
Update StringType Available (String) The firmware update type available for the bare metal server.
Supported firmware update types • none • optional • required
- health
Reasons List<Property Map> The reasons for the current health_state (if any).
Nested scheme for
health_reasons
:- health
State String - The health of this resource.
- href String
- (String) The URL for this bare metal server
- image String
ID of the image. ( On update of
image
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- is
Bare StringMetal Server Id - The unique identifier for this reservation
- keys List<String>
Comma separated IDs of ssh keys. ( On update of
keys
, server will be reinitialized if server is in stopped state, else server will be stopped and restarted during update )Note: •
ed25519
can only be used if the operating system supports this key type. •ed25519
can't be used with Windows or VMware images.NOTE: To reinitialize a bare metal server, the server status must be stopped, or have failed a previous reinitialization. For more information, see Managing Bare Metal Servers for VPC.
- memory Number
- (Integer) The amount of memory, truncated to whole gibibytes
- name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- network
Attachments List<Property Map> - The network attachments for this bare metal server, including the primary network attachment. Nested schema for network_attachments:
- network
Interfaces List<Property Map> The additional network interfaces to create for the bare metal server to this bare metal server. Use
ibm.IsBareMetalServerNetworkInterface
&ibm.IsBareMetalServerNetworkInterfaceAllowFloat
resource for network interfaces.NOTE: creating network interfaces both inline with
ibm.IsBareMetalServer
& as a separateibm.IsBareMetalServerNetworkInterface
resource, will show change alternatively on both resources, to avoid this useibm.IsBareMetalServerNetworkInterface
for creating network interfaces.Nested scheme for
network_interfaces
:- primary
Network Property MapAttachment - The primary network attachment. Nested schema for primary_network_attachment:
- primary
Network Property MapInterface A nested block describing the primary network interface of this bare metal server. We can have only one primary network interface.
Nested scheme for
primary_network_interface
:- profile String
- The name the profile to use for this bare metal server.
- reservation
Affinities List<Property Map> - (Optional, List) The reservation affinity for the bare metal server
Nested scheme for
reservation_affinity
: - reservations List<Property Map>
- The reservation used by this bare metal server.
Nested scheme for
reservation
: - resource
Group String - Resource group name
- resource
Type String - (String) The type of resource.
- status String
- (String) The status of the bare metal server.
- status
Reasons List<Property Map> - (List) Array of reasons for the current status (if any).
- List<String>
- Tags for the Bare metal server
- timeouts Property Map
- trusted
Platform Property MapModule - (List) trusted platform module (TPM) configuration for this bare metal server
- user
Data String - User data given for the bare metal server
- vpc String
- The VPC the bare metal server is to be a part of
- zone String
- Zone name
Supporting Types
IsBareMetalServerCpus, IsBareMetalServerCpusArgs
- Architecture string
- (String) The architecture of the bare metal server.
- Core
Count double - (Integer) The total number of cores
- Socket
Count double - (Integer) The total number of CPU sockets
- Threads
Per doubleCore - (Integer) The total number of hardware threads per core
- Architecture string
- (String) The architecture of the bare metal server.
- Core
Count float64 - (Integer) The total number of cores
- Socket
Count float64 - (Integer) The total number of CPU sockets
- Threads
Per float64Core - (Integer) The total number of hardware threads per core
- architecture String
- (String) The architecture of the bare metal server.
- core
Count Double - (Integer) The total number of cores
- socket
Count Double - (Integer) The total number of CPU sockets
- threads
Per DoubleCore - (Integer) The total number of hardware threads per core
- architecture string
- (String) The architecture of the bare metal server.
- core
Count number - (Integer) The total number of cores
- socket
Count number - (Integer) The total number of CPU sockets
- threads
Per numberCore - (Integer) The total number of hardware threads per core
- architecture str
- (String) The architecture of the bare metal server.
- core_
count float - (Integer) The total number of cores
- socket_
count float - (Integer) The total number of CPU sockets
- threads_
per_ floatcore - (Integer) The total number of hardware threads per core
- architecture String
- (String) The architecture of the bare metal server.
- core
Count Number - (Integer) The total number of cores
- socket
Count Number - (Integer) The total number of CPU sockets
- threads
Per NumberCore - (Integer) The total number of hardware threads per core
IsBareMetalServerDisk, IsBareMetalServerDiskArgs
- Href string
- (String) The URL for this bare metal server
- Id string
- The unique identifier for this reservation
- Interface
Type string - Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Resource
Type string - (String) The type of resource.
- Size double
- Href string
- (String) The URL for this bare metal server
- Id string
- The unique identifier for this reservation
- Interface
Type string - Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Resource
Type string - (String) The type of resource.
- Size float64
- href String
- (String) The URL for this bare metal server
- id String
- The unique identifier for this reservation
- interface
Type String - name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource
Type String - (String) The type of resource.
- size Double
- href string
- (String) The URL for this bare metal server
- id string
- The unique identifier for this reservation
- interface
Type string - name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource
Type string - (String) The type of resource.
- size number
- href str
- (String) The URL for this bare metal server
- id str
- The unique identifier for this reservation
- interface_
type str - name str
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource_
type str - (String) The type of resource.
- size float
- href String
- (String) The URL for this bare metal server
- id String
- The unique identifier for this reservation
- interface
Type String - name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource
Type String - (String) The type of resource.
- size Number
IsBareMetalServerHealthReason, IsBareMetalServerHealthReasonArgs
IsBareMetalServerNetworkAttachment, IsBareMetalServerNetworkAttachmentArgs
- Name string
- Name for this network attachment.
- Allow
To boolFloat - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- Allowed
Vlans List<double> - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
,VLAN
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - Deleteds
List<Is
Bare Metal Server Network Attachment Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- Href string
- (String) The URL for this bare metal server
- Id string
- The unique identifier for this reservation
- Interface
Type string - The type of the network interface.[pci, vlan].
- Resource
Type string - (String) The type of resource.
- Virtual
Network List<IsInterfaces Bare Metal Server Network Attachment Virtual Network Interface> - A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
- Vlan double
- (Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- Name string
- Name for this network attachment.
- Allow
To boolFloat - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- Allowed
Vlans []float64 - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
,VLAN
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - Deleteds
[]Is
Bare Metal Server Network Attachment Deleted - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- Href string
- (String) The URL for this bare metal server
- Id string
- The unique identifier for this reservation
- Interface
Type string - The type of the network interface.[pci, vlan].
- Resource
Type string - (String) The type of resource.
- Virtual
Network []IsInterfaces Bare Metal Server Network Attachment Virtual Network Interface - A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
- Vlan float64
- (Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- name String
- Name for this network attachment.
- allow
To BooleanFloat - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- allowed
Vlans List<Double> - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
,VLAN
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - deleteds
List<Is
Bare Metal Server Network Attachment Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href String
- (String) The URL for this bare metal server
- id String
- The unique identifier for this reservation
- interface
Type String - The type of the network interface.[pci, vlan].
- resource
Type String - (String) The type of resource.
- virtual
Network List<IsInterfaces Bare Metal Server Network Attachment Virtual Network Interface> - A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
- vlan Double
- (Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- name string
- Name for this network attachment.
- allow
To booleanFloat - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- allowed
Vlans number[] - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
,VLAN
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - deleteds
Is
Bare Metal Server Network Attachment Deleted[] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href string
- (String) The URL for this bare metal server
- id string
- The unique identifier for this reservation
- interface
Type string - The type of the network interface.[pci, vlan].
- resource
Type string - (String) The type of resource.
- virtual
Network IsInterfaces Bare Metal Server Network Attachment Virtual Network Interface[] - A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
- vlan number
- (Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- name str
- Name for this network attachment.
- allow_
to_ boolfloat - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- allowed_
vlans Sequence[float] - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
,VLAN
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - deleteds
Sequence[Is
Bare Metal Server Network Attachment Deleted] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href str
- (String) The URL for this bare metal server
- id str
- The unique identifier for this reservation
- interface_
type str - The type of the network interface.[pci, vlan].
- resource_
type str - (String) The type of resource.
- virtual_
network_ Sequence[Isinterfaces Bare Metal Server Network Attachment Virtual Network Interface] - A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
- vlan float
- (Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- name String
- Name for this network attachment.
- allow
To BooleanFloat - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- allowed
Vlans List<Number> - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
,VLAN
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - deleteds List<Property Map>
- If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href String
- (String) The URL for this bare metal server
- id String
- The unique identifier for this reservation
- interface
Type String - The type of the network interface.[pci, vlan].
- resource
Type String - (String) The type of resource.
- virtual
Network List<Property Map>Interfaces - A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
- vlan Number
- (Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
IsBareMetalServerNetworkAttachmentDeleted, IsBareMetalServerNetworkAttachmentDeletedArgs
- 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.
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.
IsBareMetalServerNetworkInterface, IsBareMetalServerNetworkInterfaceArgs
- Name string
- The name of the network interface.
- Subnet string
- ID of the subnet to associate with.
- Allow
Interface boolTo Float - 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 IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - Allowed
Vlans List<double> - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in theallowed_vlans
array for one PCI type adapter per bare metal server. [ conflicts withvlan
] - 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. [default :
true
] - Href string
- (String) The URL for this bare metal server
- Id string
- The unique identifier for this reservation
- Interface
Type string - The network interface type: [ pci, vlan, hipersocket ]
- Port
Speed double - Primary
Ip IsBare Metal Server Network Interface Primary Ip The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
Nested scheme for
primary_ip
:- Security
Groups List<string> - Comma separated IDs of security groups.
- Vlan double
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- Name string
- The name of the network interface.
- Subnet string
- ID of the subnet to associate with.
- Allow
Interface boolTo Float - 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 IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - Allowed
Vlans []float64 - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in theallowed_vlans
array for one PCI type adapter per bare metal server. [ conflicts withvlan
] - 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. [default :
true
] - Href string
- (String) The URL for this bare metal server
- Id string
- The unique identifier for this reservation
- Interface
Type string - The network interface type: [ pci, vlan, hipersocket ]
- Port
Speed float64 - Primary
Ip IsBare Metal Server Network Interface Primary Ip The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
Nested scheme for
primary_ip
:- Security
Groups []string - Comma separated IDs of security groups.
- Vlan float64
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- name String
- The name of the network interface.
- subnet String
- ID of the subnet to associate with.
- allow
Interface BooleanTo Float - 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 IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - allowed
Vlans List<Double> - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in theallowed_vlans
array for one PCI type adapter per bare metal server. [ conflicts withvlan
] - 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. [default :
true
] - href String
- (String) The URL for this bare metal server
- id String
- The unique identifier for this reservation
- interface
Type String - The network interface type: [ pci, vlan, hipersocket ]
- port
Speed Double - primary
Ip IsBare Metal Server Network Interface Primary Ip The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
Nested scheme for
primary_ip
:- security
Groups List<String> - Comma separated IDs of security groups.
- vlan Double
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- name string
- The name of the network interface.
- subnet string
- ID of the subnet to associate with.
- allow
Interface booleanTo Float - 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 IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - allowed
Vlans number[] - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in theallowed_vlans
array for one PCI type adapter per bare metal server. [ conflicts withvlan
] - 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. [default :
true
] - href string
- (String) The URL for this bare metal server
- id string
- The unique identifier for this reservation
- interface
Type string - The network interface type: [ pci, vlan, hipersocket ]
- port
Speed number - primary
Ip IsBare Metal Server Network Interface Primary Ip The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
Nested scheme for
primary_ip
:- security
Groups string[] - Comma separated IDs of security groups.
- vlan number
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- name str
- The name of the network interface.
- subnet str
- ID of the subnet to associate with.
- allow_
interface_ boolto_ float - 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 IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - allowed_
vlans Sequence[float] - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in theallowed_vlans
array for one PCI type adapter per bare metal server. [ conflicts withvlan
] - 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. [default :
true
] - href str
- (String) The URL for this bare metal server
- id str
- The unique identifier for this reservation
- interface_
type str - The network interface type: [ pci, vlan, hipersocket ]
- port_
speed float - primary_
ip IsBare Metal Server Network Interface Primary Ip The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
Nested scheme for
primary_ip
:- security_
groups Sequence[str] - Comma separated IDs of security groups.
- vlan float
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- name String
- The name of the network interface.
- subnet String
- ID of the subnet to associate with.
- allow
Interface BooleanTo Float - 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 IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - allowed
Vlans List<Number> - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in theallowed_vlans
array for one PCI type adapter per bare metal server. [ conflicts withvlan
] - 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. [default :
true
] - href String
- (String) The URL for this bare metal server
- id String
- The unique identifier for this reservation
- interface
Type String - The network interface type: [ pci, vlan, hipersocket ]
- port
Speed Number - primary
Ip Property Map The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
Nested scheme for
primary_ip
:- security
Groups List<String> - Comma separated IDs of security groups.
- vlan Number
- Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
IsBareMetalServerNetworkInterfacePrimaryIp, IsBareMetalServerNetworkInterfacePrimaryIpArgs
- Address string
- title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- Auto
Delete bool - If set to true, this reserved IP will be automatically deleted when the target is deleted or when the reserved IP is unbound.
- Href string
- (String) The URL for this network interface
- Name string
- The user-defined name for this network interface
- Reserved
Ip string - The unique identifier for this reserved IP
- 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 - If set to true, this reserved IP will be automatically deleted when the target is deleted or when the reserved IP is unbound.
- Href string
- (String) The URL for this network interface
- Name string
- The user-defined name for this network interface
- Reserved
Ip string - The unique identifier for this reserved IP
- 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 - If set to true, this reserved IP will be automatically deleted when the target is deleted or when the reserved IP is unbound.
- href String
- (String) The URL for this network interface
- name String
- The user-defined name for this network interface
- reserved
Ip String - The unique identifier for this reserved IP
- 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 - If set to true, this reserved IP will be automatically deleted when the target is deleted or when the reserved IP is unbound.
- href string
- (String) The URL for this network interface
- name string
- The user-defined name for this network interface
- reserved
Ip string - The unique identifier for this reserved IP
- 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 - If set to true, this reserved IP will be automatically deleted when the target is deleted or when the reserved IP is unbound.
- href str
- (String) The URL for this network interface
- name str
- The user-defined name for this network interface
- reserved_
ip str - The unique identifier for this reserved IP
- resource_
type str - (String)The resource type [ subnet_reserved_ip ]
- address String
- title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- auto
Delete Boolean - If set to true, this reserved IP will be automatically deleted when the target is deleted or when the reserved IP is unbound.
- href String
- (String) The URL for this network interface
- name String
- The user-defined name for this network interface
- reserved
Ip String - The unique identifier for this reserved IP
- resource
Type String - (String)The resource type [ subnet_reserved_ip ]
IsBareMetalServerPrimaryNetworkAttachment, IsBareMetalServerPrimaryNetworkAttachmentArgs
- Allow
Interface boolTo Float - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- Allowed
Vlans List<double> - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - Deleteds
List<Is
Bare Metal Server Primary Network Attachment Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- Href string
- (String) The URL for this bare metal server
- Id string
- The unique identifier for this reservation
- Interface
Type string - The type of the network interface.[pci].
- Name string
- Name for this primary network attachment.
- Resource
Type string - (String) The type of resource.
- Virtual
Network IsInterface Bare Metal Server Primary Network Attachment Virtual Network Interface - A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
- Vlan double
- (Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- Allow
Interface boolTo Float - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- Allowed
Vlans []float64 - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - Deleteds
[]Is
Bare Metal Server Primary Network Attachment Deleted - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- Href string
- (String) The URL for this bare metal server
- Id string
- The unique identifier for this reservation
- Interface
Type string - The type of the network interface.[pci].
- Name string
- Name for this primary network attachment.
- Resource
Type string - (String) The type of resource.
- Virtual
Network IsInterface Bare Metal Server Primary Network Attachment Virtual Network Interface - A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
- Vlan float64
- (Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- allow
Interface BooleanTo Float - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- allowed
Vlans List<Double> - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - deleteds
List<Is
Bare Metal Server Primary Network Attachment Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href String
- (String) The URL for this bare metal server
- id String
- The unique identifier for this reservation
- interface
Type String - The type of the network interface.[pci].
- name String
- Name for this primary network attachment.
- resource
Type String - (String) The type of resource.
- virtual
Network IsInterface Bare Metal Server Primary Network Attachment Virtual Network Interface - A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
- vlan Double
- (Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- allow
Interface booleanTo Float - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- allowed
Vlans number[] - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - deleteds
Is
Bare Metal Server Primary Network Attachment Deleted[] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href string
- (String) The URL for this bare metal server
- id string
- The unique identifier for this reservation
- interface
Type string - The type of the network interface.[pci].
- name string
- Name for this primary network attachment.
- resource
Type string - (String) The type of resource.
- virtual
Network IsInterface Bare Metal Server Primary Network Attachment Virtual Network Interface - A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
- vlan number
- (Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- allow_
interface_ boolto_ float - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- allowed_
vlans Sequence[float] - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - deleteds
Sequence[Is
Bare Metal Server Primary Network Attachment Deleted] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href str
- (String) The URL for this bare metal server
- id str
- The unique identifier for this reservation
- interface_
type str - The type of the network interface.[pci].
- name str
- Name for this primary network attachment.
- resource_
type str - (String) The type of resource.
- virtual_
network_ Isinterface Bare Metal Server Primary Network Attachment Virtual Network Interface - A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
- vlan float
- (Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
- allow
Interface BooleanTo Float - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces.
- allowed
Vlans List<Number> - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - deleteds List<Property Map>
- If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href String
- (String) The URL for this bare metal server
- id String
- The unique identifier for this reservation
- interface
Type String - The type of the network interface.[pci].
- name String
- Name for this primary network attachment.
- resource
Type String - (String) The type of resource.
- virtual
Network Property MapInterface - A virtual network interface for the bare metal server network attachment. This can be specified using an existing virtual network interface, or a prototype object for a new virtual network interface.
- vlan Number
- (Integer) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface. [ conflicts with
allowed_vlans
]
IsBareMetalServerPrimaryNetworkAttachmentDeleted, IsBareMetalServerPrimaryNetworkAttachmentDeletedArgs
- 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.
IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterface, IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceArgs
- Allow
Ip boolSpoofing - (Boolean) Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - Auto
Delete bool - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. - Enable
Infrastructure boolNat - (Boolean) If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default :
true
] - Id string
- The unique identifier for this reservation
- Ips
List<Is
Bare Metal Server Primary Network Attachment Virtual Network Interface Ip> - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. - Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Primary
Ip IsBare Metal Server Primary Network Attachment Virtual Network Interface Primary Ip - (List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- Protocol
State stringFiltering Mode - The protocol state filtering mode used for this virtual network interface.
- Resource
Group string - The resource group id for this virtual network interface.
- Resource
Type string - (String) The type of resource.
- Security
Groups List<string> - (Array) Comma separated IDs of security groups.
- Subnet string
- (String) ID of the subnet to associate with.
- Allow
Ip boolSpoofing - (Boolean) Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - Auto
Delete bool - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. - Enable
Infrastructure boolNat - (Boolean) If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default :
true
] - Id string
- The unique identifier for this reservation
- Ips
[]Is
Bare Metal Server Primary Network Attachment Virtual Network Interface Ip - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. - Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Primary
Ip IsBare Metal Server Primary Network Attachment Virtual Network Interface Primary Ip - (List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- Protocol
State stringFiltering Mode - The protocol state filtering mode used for this virtual network interface.
- Resource
Group string - The resource group id for this virtual network interface.
- Resource
Type string - (String) The type of resource.
- Security
Groups []string - (Array) Comma separated IDs of security groups.
- Subnet string
- (String) ID of the subnet to associate with.
- allow
Ip BooleanSpoofing - (Boolean) Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - auto
Delete Boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. - enable
Infrastructure BooleanNat - (Boolean) If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default :
true
] - id String
- The unique identifier for this reservation
- ips
List<Is
Bare Metal Server Primary Network Attachment Virtual Network Interface Ip> - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. - name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- primary
Ip IsBare Metal Server Primary Network Attachment Virtual Network Interface Primary Ip - (List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- protocol
State StringFiltering Mode - The protocol state filtering mode used for this virtual network interface.
- resource
Group String - The resource group id for this virtual network interface.
- resource
Type String - (String) The type of resource.
- security
Groups List<String> - (Array) Comma separated IDs of security groups.
- subnet String
- (String) ID of the subnet to associate with.
- allow
Ip booleanSpoofing - (Boolean) Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - auto
Delete boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. - enable
Infrastructure booleanNat - (Boolean) If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default :
true
] - id string
- The unique identifier for this reservation
- ips
Is
Bare Metal Server Primary Network Attachment Virtual Network Interface Ip[] - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. - name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- primary
Ip IsBare Metal Server Primary Network Attachment Virtual Network Interface Primary Ip - (List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- protocol
State stringFiltering Mode - The protocol state filtering mode used for this virtual network interface.
- resource
Group string - The resource group id for this virtual network interface.
- resource
Type string - (String) The type of resource.
- security
Groups string[] - (Array) Comma separated IDs of security groups.
- subnet string
- (String) ID of the subnet to associate with.
- allow_
ip_ boolspoofing - (Boolean) Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - auto_
delete bool - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. - enable_
infrastructure_ boolnat - (Boolean) If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default :
true
] - id str
- The unique identifier for this reservation
- ips
Sequence[Is
Bare Metal Server Primary Network Attachment Virtual Network Interface Ip] - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. - name str
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- primary_
ip IsBare Metal Server Primary Network Attachment Virtual Network Interface Primary Ip - (List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- protocol_
state_ strfiltering_ mode - The protocol state filtering mode used for this virtual network interface.
- resource_
group str - The resource group id for this virtual network interface.
- resource_
type str - (String) The type of resource.
- security_
groups Sequence[str] - (Array) Comma separated IDs of security groups.
- subnet str
- (String) ID of the subnet to associate with.
- allow
Ip BooleanSpoofing - (Boolean) Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - auto
Delete Boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. - enable
Infrastructure BooleanNat - (Boolean) If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. [default :
true
] - id String
- The unique identifier for this reservation
- ips List<Property Map>
- The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. - name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- primary
Ip Property Map - (List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
- protocol
State StringFiltering Mode - The protocol state filtering mode used for this virtual network interface.
- resource
Group String - The resource group id for this virtual network interface.
- resource
Type String - (String) The type of resource.
- security
Groups List<String> - (Array) Comma separated IDs of security groups.
- subnet String
- (String) ID of the subnet to associate with.
IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIp, IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpArgs
- Reserved
Ip string - (String) The unique identifier for this reserved IP.
- Address string
- (String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- 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 Primary Network Attachment Virtual Network Interface Ip Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- Href string
- (String) The URL for this bare metal server
- Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Resource
Type string - (String) The type of resource.
- Reserved
Ip string - (String) The unique identifier for this reserved IP.
- Address string
- (String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- 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 Primary Network Attachment Virtual Network Interface Ip Deleted - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- Href string
- (String) The URL for this bare metal server
- Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Resource
Type string - (String) The type of resource.
- reserved
Ip String - (String) The unique identifier for this reserved IP.
- address String
- (String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- 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 Primary Network Attachment Virtual Network Interface Ip Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href String
- (String) The URL for this bare metal server
- name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource
Type String - (String) The type of resource.
- reserved
Ip string - (String) The unique identifier for this reserved IP.
- address string
- (String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- 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 Primary Network Attachment Virtual Network Interface Ip Deleted[] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href string
- (String) The URL for this bare metal server
- name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource
Type string - (String) The type of resource.
- reserved_
ip str - (String) The unique identifier for this reserved IP.
- address str
- (String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- auto_
delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- deleteds
Sequence[Is
Bare Metal Server Primary Network Attachment Virtual Network Interface Ip Deleted] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href str
- (String) The URL for this bare metal server
- name str
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource_
type str - (String) The type of resource.
- reserved
Ip String - (String) The unique identifier for this reserved IP.
- address String
- (String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- 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.
- href String
- (String) The URL for this bare metal server
- name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource
Type String - (String) The type of resource.
IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeleted, IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs
- 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.
IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIp, IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs
- Address string
- (String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- Deleteds
List<Is
Bare Metal Server Primary Network Attachment Virtual Network Interface Primary Ip Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- Href string
- (String) The URL for this bare metal server
- Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Reserved
Ip string - (String) The unique identifier for this reserved IP.
- Resource
Type string - (String) The type of resource.
- Address string
- (String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- Deleteds
[]Is
Bare Metal Server Primary Network Attachment Virtual Network Interface Primary Ip Deleted - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- Href string
- (String) The URL for this bare metal server
- Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Reserved
Ip string - (String) The unique identifier for this reserved IP.
- Resource
Type string - (String) The type of resource.
- address String
- (String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- deleteds
List<Is
Bare Metal Server Primary Network Attachment Virtual Network Interface Primary Ip Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href String
- (String) The URL for this bare metal server
- name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- reserved
Ip String - (String) The unique identifier for this reserved IP.
- resource
Type String - (String) The type of resource.
- address string
- (String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- deleteds
Is
Bare Metal Server Primary Network Attachment Virtual Network Interface Primary Ip Deleted[] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href string
- (String) The URL for this bare metal server
- name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- reserved
Ip string - (String) The unique identifier for this reserved IP.
- resource
Type string - (String) The type of resource.
- address str
- (String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- deleteds
Sequence[Is
Bare Metal Server Primary Network Attachment Virtual Network Interface Primary Ip Deleted] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href str
- (String) The URL for this bare metal server
- name str
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- reserved_
ip str - (String) The unique identifier for this reserved IP.
- resource_
type str - (String) The type of resource.
- address String
- (String) title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- deleteds List<Property Map>
- If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.
- href String
- (String) The URL for this bare metal server
- name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- reserved
Ip String - (String) The unique identifier for this reserved IP.
- resource
Type String - (String) The type of resource.
IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted, IsBareMetalServerPrimaryNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs
- 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.
IsBareMetalServerPrimaryNetworkInterface, IsBareMetalServerPrimaryNetworkInterfaceArgs
- Subnet string
- ID of the subnet to associate with.
- Allow
Ip boolSpoofing - Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - Allowed
Vlans List<double> - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - 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. [default :
true
] - Href string
- (String) The URL for this bare metal server
- Id string
- The unique identifier for this reservation
- Interface
Type string The type of the network interface.[pci].
allowed_vlans
is required forpci
type.The network interface type:
- Name string
- The name of the network interface.
- Port
Speed double - Primary
Ip IsBare Metal Server Primary Network Interface Primary Ip The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
Nested scheme for
primary_ip
:- Security
Groups List<string> - Comma separated IDs of security groups.
- Subnet string
- ID of the subnet to associate with.
- Allow
Ip boolSpoofing - Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - Allowed
Vlans []float64 - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - 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. [default :
true
] - Href string
- (String) The URL for this bare metal server
- Id string
- The unique identifier for this reservation
- Interface
Type string The type of the network interface.[pci].
allowed_vlans
is required forpci
type.The network interface type:
- Name string
- The name of the network interface.
- Port
Speed float64 - Primary
Ip IsBare Metal Server Primary Network Interface Primary Ip The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
Nested scheme for
primary_ip
:- Security
Groups []string - Comma separated IDs of security groups.
- subnet String
- ID of the subnet to associate with.
- allow
Ip BooleanSpoofing - Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - allowed
Vlans List<Double> - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - 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. [default :
true
] - href String
- (String) The URL for this bare metal server
- id String
- The unique identifier for this reservation
- interface
Type String The type of the network interface.[pci].
allowed_vlans
is required forpci
type.The network interface type:
- name String
- The name of the network interface.
- port
Speed Double - primary
Ip IsBare Metal Server Primary Network Interface Primary Ip The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
Nested scheme for
primary_ip
:- security
Groups List<String> - Comma separated IDs of security groups.
- subnet string
- ID of the subnet to associate with.
- allow
Ip booleanSpoofing - Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - allowed
Vlans number[] - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - 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. [default :
true
] - href string
- (String) The URL for this bare metal server
- id string
- The unique identifier for this reservation
- interface
Type string The type of the network interface.[pci].
allowed_vlans
is required forpci
type.The network interface type:
- name string
- The name of the network interface.
- port
Speed number - primary
Ip IsBare Metal Server Primary Network Interface Primary Ip The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
Nested scheme for
primary_ip
:- security
Groups string[] - Comma separated IDs of security groups.
- subnet str
- ID of the subnet to associate with.
- allow_
ip_ boolspoofing - Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - allowed_
vlans Sequence[float] - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - enable_
infrastructure_ 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. [default :
true
] - href str
- (String) The URL for this bare metal server
- id str
- The unique identifier for this reservation
- interface_
type str The type of the network interface.[pci].
allowed_vlans
is required forpci
type.The network interface type:
- name str
- The name of the network interface.
- port_
speed float - primary_
ip IsBare Metal Server Primary Network Interface Primary Ip The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
Nested scheme for
primary_ip
:- security_
groups Sequence[str] - Comma separated IDs of security groups.
- subnet String
- ID of the subnet to associate with.
- allow
Ip BooleanSpoofing - Indicates whether IP spoofing is allowed on this interface. If false, IP spoofing is prevented on this interface. If true, IP spoofing is allowed on this interface. [default :
false
] - allowed
Vlans List<Number> - Comma separated VLANs, Indicates what VLAN IDs (for VLAN type only) can use this physical (
PCI
type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - 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. [default :
true
] - href String
- (String) The URL for this bare metal server
- id String
- The unique identifier for this reservation
- interface
Type String The type of the network interface.[pci].
allowed_vlans
is required forpci
type.The network interface type:
- name String
- The name of the network interface.
- port
Speed Number - primary
Ip Property Map The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
Nested scheme for
primary_ip
:- security
Groups List<String> - Comma separated IDs of security groups.
IsBareMetalServerPrimaryNetworkInterfacePrimaryIp, IsBareMetalServerPrimaryNetworkInterfacePrimaryIpArgs
- Address string
- title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- 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 bare metal server
- Name string
- The user-defined or system-provided name for this reserved IP
- Reserved
Ip string - The unique identifier for this reserved IP.
reserved_ip
is mutually exclusive with rest of theprimary_ip
attributes. - Resource
Type string - (String) The type of resource.
- Address string
- title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- 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 bare metal server
- Name string
- The user-defined or system-provided name for this reserved IP
- Reserved
Ip string - The unique identifier for this reserved IP.
reserved_ip
is mutually exclusive with rest of theprimary_ip
attributes. - Resource
Type string - (String) The type of resource.
- address String
- title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- 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 bare metal server
- name String
- The user-defined or system-provided name for this reserved IP
- reserved
Ip String - The unique identifier for this reserved IP.
reserved_ip
is mutually exclusive with rest of theprimary_ip
attributes. - resource
Type String - (String) The type of resource.
- address string
- title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- 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 bare metal server
- name string
- The user-defined or system-provided name for this reserved IP
- reserved
Ip string - The unique identifier for this reserved IP.
reserved_ip
is mutually exclusive with rest of theprimary_ip
attributes. - resource
Type string - (String) The type of resource.
- address str
- title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- auto_
delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
- href str
- (String) The URL for this bare metal server
- name str
- The user-defined or system-provided name for this reserved IP
- reserved_
ip str - The unique identifier for this reserved IP.
reserved_ip
is mutually exclusive with rest of theprimary_ip
attributes. - resource_
type str - (String) The type of resource.
- address String
- title: IPv4 The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- 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 bare metal server
- name String
- The user-defined or system-provided name for this reserved IP
- reserved
Ip String - The unique identifier for this reserved IP.
reserved_ip
is mutually exclusive with rest of theprimary_ip
attributes. - resource
Type String - (String) The type of resource.
IsBareMetalServerReservation, IsBareMetalServerReservationArgs
- Crn string
- The CRN for this reservation.
- Deleteds
List<Is
Bare Metal Server Reservation Deleted> - If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.
- Href string
- (String) The URL for this bare metal server
- Id string
- The unique identifier for this reservation
- Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Resource
Type string - (String) The type of resource.
- Crn string
- The CRN for this reservation.
- Deleteds
[]Is
Bare Metal Server Reservation Deleted - If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.
- Href string
- (String) The URL for this bare metal server
- Id string
- The unique identifier for this reservation
- Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Resource
Type string - (String) The type of resource.
- crn String
- The CRN for this reservation.
- deleteds
List<Is
Bare Metal Server Reservation Deleted> - If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.
- href String
- (String) The URL for this bare metal server
- id String
- The unique identifier for this reservation
- name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource
Type String - (String) The type of resource.
- crn string
- The CRN for this reservation.
- deleteds
Is
Bare Metal Server Reservation Deleted[] - If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.
- href string
- (String) The URL for this bare metal server
- id string
- The unique identifier for this reservation
- name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource
Type string - (String) The type of resource.
- crn str
- The CRN for this reservation.
- deleteds
Sequence[Is
Bare Metal Server Reservation Deleted] - If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.
- href str
- (String) The URL for this bare metal server
- id str
- The unique identifier for this reservation
- name str
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource_
type str - (String) The type of resource.
- crn String
- The CRN for this reservation.
- deleteds List<Property Map>
- If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.
- href String
- (String) The URL for this bare metal server
- id String
- The unique identifier for this reservation
- name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource
Type String - (String) The type of resource.
IsBareMetalServerReservationAffinity, IsBareMetalServerReservationAffinityArgs
- Policy string
- (Optional, String) The reservation affinity policy to use for this bare metal server.
- Pools
List<Is
Bare Metal Server Reservation Affinity Pool> - (Optional, String) The pool of reservations available for use by this bare metal server. Specified reservations must have a status of active, and have the same profile and zone as this bare metal server. The pool must be empty if policy is disabled, and must not be empty if policy is manual.
Nested scheme for
pool
:
- Policy string
- (Optional, String) The reservation affinity policy to use for this bare metal server.
- Pools
[]Is
Bare Metal Server Reservation Affinity Pool - (Optional, String) The pool of reservations available for use by this bare metal server. Specified reservations must have a status of active, and have the same profile and zone as this bare metal server. The pool must be empty if policy is disabled, and must not be empty if policy is manual.
Nested scheme for
pool
:
- policy String
- (Optional, String) The reservation affinity policy to use for this bare metal server.
- pools
List<Is
Bare Metal Server Reservation Affinity Pool> - (Optional, String) The pool of reservations available for use by this bare metal server. Specified reservations must have a status of active, and have the same profile and zone as this bare metal server. The pool must be empty if policy is disabled, and must not be empty if policy is manual.
Nested scheme for
pool
:
- policy string
- (Optional, String) The reservation affinity policy to use for this bare metal server.
- pools
Is
Bare Metal Server Reservation Affinity Pool[] - (Optional, String) The pool of reservations available for use by this bare metal server. Specified reservations must have a status of active, and have the same profile and zone as this bare metal server. The pool must be empty if policy is disabled, and must not be empty if policy is manual.
Nested scheme for
pool
:
- policy str
- (Optional, String) The reservation affinity policy to use for this bare metal server.
- pools
Sequence[Is
Bare Metal Server Reservation Affinity Pool] - (Optional, String) The pool of reservations available for use by this bare metal server. Specified reservations must have a status of active, and have the same profile and zone as this bare metal server. The pool must be empty if policy is disabled, and must not be empty if policy is manual.
Nested scheme for
pool
:
- policy String
- (Optional, String) The reservation affinity policy to use for this bare metal server.
- pools List<Property Map>
- (Optional, String) The pool of reservations available for use by this bare metal server. Specified reservations must have a status of active, and have the same profile and zone as this bare metal server. The pool must be empty if policy is disabled, and must not be empty if policy is manual.
Nested scheme for
pool
:
IsBareMetalServerReservationAffinityPool, IsBareMetalServerReservationAffinityPoolArgs
- Crn string
- (String) The CRN for this bare metal server
- Deleteds
List<Is
Bare Metal Server Reservation Affinity Pool Deleted> - If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
- Href string
- (String) The URL for this bare metal server
- Id string
- The unique identifier for this reservation
- Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Resource
Type string - (String) The type of resource.
- Crn string
- (String) The CRN for this bare metal server
- Deleteds
[]Is
Bare Metal Server Reservation Affinity Pool Deleted - If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
- Href string
- (String) The URL for this bare metal server
- Id string
- The unique identifier for this reservation
- Name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- Resource
Type string - (String) The type of resource.
- crn String
- (String) The CRN for this bare metal server
- deleteds
List<Is
Bare Metal Server Reservation Affinity Pool Deleted> - If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
- href String
- (String) The URL for this bare metal server
- id String
- The unique identifier for this reservation
- name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource
Type String - (String) The type of resource.
- crn string
- (String) The CRN for this bare metal server
- deleteds
Is
Bare Metal Server Reservation Affinity Pool Deleted[] - If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
- href string
- (String) The URL for this bare metal server
- id string
- The unique identifier for this reservation
- name string
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource
Type string - (String) The type of resource.
- crn str
- (String) The CRN for this bare metal server
- deleteds
Sequence[Is
Bare Metal Server Reservation Affinity Pool Deleted] - If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
- href str
- (String) The URL for this bare metal server
- id str
- The unique identifier for this reservation
- name str
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource_
type str - (String) The type of resource.
- crn String
- (String) The CRN for this bare metal server
- deleteds List<Property Map>
- If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
- href String
- (String) The URL for this bare metal server
- id String
- The unique identifier for this reservation
- name String
The bare metal server name.
NOTE: a bare metal server can take up to 30 mins to clean up on delete, replacement/re-creation using the same name may return error
- resource
Type String - (String) The type of resource.
IsBareMetalServerReservationAffinityPoolDeleted, IsBareMetalServerReservationAffinityPoolDeletedArgs
- 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.
IsBareMetalServerReservationDeleted, IsBareMetalServerReservationDeletedArgs
- 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.
IsBareMetalServerStatusReason, IsBareMetalServerStatusReasonArgs
IsBareMetalServerTimeouts, IsBareMetalServerTimeoutsArgs
IsBareMetalServerTrustedPlatformModule, IsBareMetalServerTrustedPlatformModuleArgs
- Enabled bool
- (Boolean) Indicates whether the trusted platform module is enabled.
- Mode string
- (String) The trusted platform module mode to use. The specified value must be listed in the bare metal server profile's supported_trusted_platform_module_modes. Updating trusted_platform_module mode would require the server to be stopped then started again.
- Constraints: Allowable values are:
disabled
,tpm_2
.
- Constraints: Allowable values are:
- Supported
Modes List<string> - (Array) The trusted platform module (TPM) mode:
- disabled: No TPM functionality
- tpm_2: TPM 2.0
- The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
- Enabled bool
- (Boolean) Indicates whether the trusted platform module is enabled.
- Mode string
- (String) The trusted platform module mode to use. The specified value must be listed in the bare metal server profile's supported_trusted_platform_module_modes. Updating trusted_platform_module mode would require the server to be stopped then started again.
- Constraints: Allowable values are:
disabled
,tpm_2
.
- Constraints: Allowable values are:
- Supported
Modes []string - (Array) The trusted platform module (TPM) mode:
- disabled: No TPM functionality
- tpm_2: TPM 2.0
- The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
- enabled Boolean
- (Boolean) Indicates whether the trusted platform module is enabled.
- mode String
- (String) The trusted platform module mode to use. The specified value must be listed in the bare metal server profile's supported_trusted_platform_module_modes. Updating trusted_platform_module mode would require the server to be stopped then started again.
- Constraints: Allowable values are:
disabled
,tpm_2
.
- Constraints: Allowable values are:
- supported
Modes List<String> - (Array) The trusted platform module (TPM) mode:
- disabled: No TPM functionality
- tpm_2: TPM 2.0
- The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
- enabled boolean
- (Boolean) Indicates whether the trusted platform module is enabled.
- mode string
- (String) The trusted platform module mode to use. The specified value must be listed in the bare metal server profile's supported_trusted_platform_module_modes. Updating trusted_platform_module mode would require the server to be stopped then started again.
- Constraints: Allowable values are:
disabled
,tpm_2
.
- Constraints: Allowable values are:
- supported
Modes string[] - (Array) The trusted platform module (TPM) mode:
- disabled: No TPM functionality
- tpm_2: TPM 2.0
- The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
- enabled bool
- (Boolean) Indicates whether the trusted platform module is enabled.
- mode str
- (String) The trusted platform module mode to use. The specified value must be listed in the bare metal server profile's supported_trusted_platform_module_modes. Updating trusted_platform_module mode would require the server to be stopped then started again.
- Constraints: Allowable values are:
disabled
,tpm_2
.
- Constraints: Allowable values are:
- supported_
modes Sequence[str] - (Array) The trusted platform module (TPM) mode:
- disabled: No TPM functionality
- tpm_2: TPM 2.0
- The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
- enabled Boolean
- (Boolean) Indicates whether the trusted platform module is enabled.
- mode String
- (String) The trusted platform module mode to use. The specified value must be listed in the bare metal server profile's supported_trusted_platform_module_modes. Updating trusted_platform_module mode would require the server to be stopped then started again.
- Constraints: Allowable values are:
disabled
,tpm_2
.
- Constraints: Allowable values are:
- supported
Modes List<String> - (Array) The trusted platform module (TPM) mode:
- disabled: No TPM functionality
- tpm_2: TPM 2.0
- The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
Import
The ibm_is_bare_metal_server
can be imported using Bare Metal Server ID
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.