1. Packages
  2. Edgecenter Provider
  3. API Docs
  4. Baremetal
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center

edgecenter.Baremetal

Explore with Pulumi AI

edgecenter logo
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center

    Represent baremetal instance

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as edgecenter from "@pulumi/edgecenter";
    
    const bm = new edgecenter.Baremetal("bm", {
        flavorId: "bm1-infrastructure-small",
        imageId: "1ee7ccee-5003-48c9-8ae0-d96063af75b2",
        keypairName: "test",
        projectId: 1,
        regionId: 1,
    });
    
    import pulumi
    import pulumi_edgecenter as edgecenter
    
    bm = edgecenter.Baremetal("bm",
        flavor_id="bm1-infrastructure-small",
        image_id="1ee7ccee-5003-48c9-8ae0-d96063af75b2",
        keypair_name="test",
        project_id=1,
        region_id=1)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/edgecenter/edgecenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := edgecenter.NewBaremetal(ctx, "bm", &edgecenter.BaremetalArgs{
    			FlavorId:    pulumi.String("bm1-infrastructure-small"),
    			ImageId:     pulumi.String("1ee7ccee-5003-48c9-8ae0-d96063af75b2"),
    			KeypairName: pulumi.String("test"),
    			ProjectId:   pulumi.Float64(1),
    			RegionId:    pulumi.Float64(1),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Edgecenter = Pulumi.Edgecenter;
    
    return await Deployment.RunAsync(() => 
    {
        var bm = new Edgecenter.Baremetal("bm", new()
        {
            FlavorId = "bm1-infrastructure-small",
            ImageId = "1ee7ccee-5003-48c9-8ae0-d96063af75b2",
            KeypairName = "test",
            ProjectId = 1,
            RegionId = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.edgecenter.Baremetal;
    import com.pulumi.edgecenter.BaremetalArgs;
    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 bm = new Baremetal("bm", BaremetalArgs.builder()
                .flavorId("bm1-infrastructure-small")
                .imageId("1ee7ccee-5003-48c9-8ae0-d96063af75b2")
                .keypairName("test")
                .projectId(1)
                .regionId(1)
                .build());
    
        }
    }
    
    resources:
      bm:
        type: edgecenter:Baremetal
        properties:
          flavorId: bm1-infrastructure-small
          imageId: 1ee7ccee-5003-48c9-8ae0-d96063af75b2
          # your image id
          keypairName: test
          projectId: 1
          regionId: 1
    

    Create Baremetal Resource

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

    Constructor syntax

    new Baremetal(name: string, args: BaremetalArgs, opts?: CustomResourceOptions);
    @overload
    def Baremetal(resource_name: str,
                  args: BaremetalArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Baremetal(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  flavor_id: Optional[str] = None,
                  interfaces: Optional[Sequence[BaremetalInterfaceArgs]] = None,
                  name: Optional[str] = None,
                  name_template: Optional[str] = None,
                  image_id: Optional[str] = None,
                  apptemplate_id: Optional[str] = None,
                  keypair_name: Optional[str] = None,
                  last_updated: Optional[str] = None,
                  metadata_map: Optional[Mapping[str, str]] = None,
                  metadatas: Optional[Sequence[BaremetalMetadataArgs]] = None,
                  app_config: Optional[Mapping[str, str]] = None,
                  baremetal_id: Optional[str] = None,
                  name_templates: Optional[Sequence[str]] = None,
                  password: Optional[str] = None,
                  project_id: Optional[float] = None,
                  project_name: Optional[str] = None,
                  region_id: Optional[float] = None,
                  region_name: Optional[str] = None,
                  timeouts: Optional[BaremetalTimeoutsArgs] = None,
                  user_data: Optional[str] = None,
                  username: Optional[str] = None)
    func NewBaremetal(ctx *Context, name string, args BaremetalArgs, opts ...ResourceOption) (*Baremetal, error)
    public Baremetal(string name, BaremetalArgs args, CustomResourceOptions? opts = null)
    public Baremetal(String name, BaremetalArgs args)
    public Baremetal(String name, BaremetalArgs args, CustomResourceOptions options)
    
    type: edgecenter:Baremetal
    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 BaremetalArgs
    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 BaremetalArgs
    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 BaremetalArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BaremetalArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BaremetalArgs
    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 baremetalResource = new Edgecenter.Baremetal("baremetalResource", new()
    {
        FlavorId = "string",
        Interfaces = new[]
        {
            new Edgecenter.Inputs.BaremetalInterfaceArgs
            {
                Type = "string",
                ExistingFipId = "string",
                FipSource = "string",
                IpAddress = "string",
                IsParent = false,
                NetworkId = "string",
                Order = 0,
                PortId = "string",
                SubnetId = "string",
            },
        },
        Name = "string",
        NameTemplate = "string",
        ImageId = "string",
        ApptemplateId = "string",
        KeypairName = "string",
        LastUpdated = "string",
        MetadataMap = 
        {
            { "string", "string" },
        },
        AppConfig = 
        {
            { "string", "string" },
        },
        BaremetalId = "string",
        Password = "string",
        ProjectId = 0,
        ProjectName = "string",
        RegionId = 0,
        RegionName = "string",
        Timeouts = new Edgecenter.Inputs.BaremetalTimeoutsArgs
        {
            Create = "string",
        },
        UserData = "string",
        Username = "string",
    });
    
    example, err := edgecenter.NewBaremetal(ctx, "baremetalResource", &edgecenter.BaremetalArgs{
    	FlavorId: pulumi.String("string"),
    	Interfaces: edgecenter.BaremetalInterfaceArray{
    		&edgecenter.BaremetalInterfaceArgs{
    			Type:          pulumi.String("string"),
    			ExistingFipId: pulumi.String("string"),
    			FipSource:     pulumi.String("string"),
    			IpAddress:     pulumi.String("string"),
    			IsParent:      pulumi.Bool(false),
    			NetworkId:     pulumi.String("string"),
    			Order:         pulumi.Float64(0),
    			PortId:        pulumi.String("string"),
    			SubnetId:      pulumi.String("string"),
    		},
    	},
    	Name:          pulumi.String("string"),
    	NameTemplate:  pulumi.String("string"),
    	ImageId:       pulumi.String("string"),
    	ApptemplateId: pulumi.String("string"),
    	KeypairName:   pulumi.String("string"),
    	LastUpdated:   pulumi.String("string"),
    	MetadataMap: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	AppConfig: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	BaremetalId: pulumi.String("string"),
    	Password:    pulumi.String("string"),
    	ProjectId:   pulumi.Float64(0),
    	ProjectName: pulumi.String("string"),
    	RegionId:    pulumi.Float64(0),
    	RegionName:  pulumi.String("string"),
    	Timeouts: &edgecenter.BaremetalTimeoutsArgs{
    		Create: pulumi.String("string"),
    	},
    	UserData: pulumi.String("string"),
    	Username: pulumi.String("string"),
    })
    
    var baremetalResource = new Baremetal("baremetalResource", BaremetalArgs.builder()
        .flavorId("string")
        .interfaces(BaremetalInterfaceArgs.builder()
            .type("string")
            .existingFipId("string")
            .fipSource("string")
            .ipAddress("string")
            .isParent(false)
            .networkId("string")
            .order(0)
            .portId("string")
            .subnetId("string")
            .build())
        .name("string")
        .nameTemplate("string")
        .imageId("string")
        .apptemplateId("string")
        .keypairName("string")
        .lastUpdated("string")
        .metadataMap(Map.of("string", "string"))
        .appConfig(Map.of("string", "string"))
        .baremetalId("string")
        .password("string")
        .projectId(0)
        .projectName("string")
        .regionId(0)
        .regionName("string")
        .timeouts(BaremetalTimeoutsArgs.builder()
            .create("string")
            .build())
        .userData("string")
        .username("string")
        .build());
    
    baremetal_resource = edgecenter.Baremetal("baremetalResource",
        flavor_id="string",
        interfaces=[{
            "type": "string",
            "existing_fip_id": "string",
            "fip_source": "string",
            "ip_address": "string",
            "is_parent": False,
            "network_id": "string",
            "order": 0,
            "port_id": "string",
            "subnet_id": "string",
        }],
        name="string",
        name_template="string",
        image_id="string",
        apptemplate_id="string",
        keypair_name="string",
        last_updated="string",
        metadata_map={
            "string": "string",
        },
        app_config={
            "string": "string",
        },
        baremetal_id="string",
        password="string",
        project_id=0,
        project_name="string",
        region_id=0,
        region_name="string",
        timeouts={
            "create": "string",
        },
        user_data="string",
        username="string")
    
    const baremetalResource = new edgecenter.Baremetal("baremetalResource", {
        flavorId: "string",
        interfaces: [{
            type: "string",
            existingFipId: "string",
            fipSource: "string",
            ipAddress: "string",
            isParent: false,
            networkId: "string",
            order: 0,
            portId: "string",
            subnetId: "string",
        }],
        name: "string",
        nameTemplate: "string",
        imageId: "string",
        apptemplateId: "string",
        keypairName: "string",
        lastUpdated: "string",
        metadataMap: {
            string: "string",
        },
        appConfig: {
            string: "string",
        },
        baremetalId: "string",
        password: "string",
        projectId: 0,
        projectName: "string",
        regionId: 0,
        regionName: "string",
        timeouts: {
            create: "string",
        },
        userData: "string",
        username: "string",
    });
    
    type: edgecenter:Baremetal
    properties:
        appConfig:
            string: string
        apptemplateId: string
        baremetalId: string
        flavorId: string
        imageId: string
        interfaces:
            - existingFipId: string
              fipSource: string
              ipAddress: string
              isParent: false
              networkId: string
              order: 0
              portId: string
              subnetId: string
              type: string
        keypairName: string
        lastUpdated: string
        metadataMap:
            string: string
        name: string
        nameTemplate: string
        password: string
        projectId: 0
        projectName: string
        regionId: 0
        regionName: string
        timeouts:
            create: string
        userData: string
        username: string
    

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

    FlavorId string
    Interfaces List<BaremetalInterface>
    AppConfig Dictionary<string, string>
    ApptemplateId string
    BaremetalId string
    The ID of this resource.
    ImageId string
    KeypairName string
    LastUpdated string
    The timestamp of the last update (use with update context).
    MetadataMap Dictionary<string, string>
    A map containing metadata, for example tags.
    Metadatas List<BaremetalMetadata>

    Deprecated: Deprecated

    Name string
    The name of the baremetal instance.
    NameTemplate string
    NameTemplates List<string>

    Deprecated: Deprecated

    Password string
    ProjectId double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    Timeouts BaremetalTimeouts
    UserData string
    Username string
    FlavorId string
    Interfaces []BaremetalInterfaceArgs
    AppConfig map[string]string
    ApptemplateId string
    BaremetalId string
    The ID of this resource.
    ImageId string
    KeypairName string
    LastUpdated string
    The timestamp of the last update (use with update context).
    MetadataMap map[string]string
    A map containing metadata, for example tags.
    Metadatas []BaremetalMetadataArgs

    Deprecated: Deprecated

    Name string
    The name of the baremetal instance.
    NameTemplate string
    NameTemplates []string

    Deprecated: Deprecated

    Password string
    ProjectId float64
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId float64
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    Timeouts BaremetalTimeoutsArgs
    UserData string
    Username string
    flavorId String
    interfaces List<BaremetalInterface>
    appConfig Map<String,String>
    apptemplateId String
    baremetalId String
    The ID of this resource.
    imageId String
    keypairName String
    lastUpdated String
    The timestamp of the last update (use with update context).
    metadataMap Map<String,String>
    A map containing metadata, for example tags.
    metadatas List<BaremetalMetadata>

    Deprecated: Deprecated

    name String
    The name of the baremetal instance.
    nameTemplate String
    nameTemplates List<String>

    Deprecated: Deprecated

    password String
    projectId Double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    timeouts BaremetalTimeouts
    userData String
    username String
    flavorId string
    interfaces BaremetalInterface[]
    appConfig {[key: string]: string}
    apptemplateId string
    baremetalId string
    The ID of this resource.
    imageId string
    keypairName string
    lastUpdated string
    The timestamp of the last update (use with update context).
    metadataMap {[key: string]: string}
    A map containing metadata, for example tags.
    metadatas BaremetalMetadata[]

    Deprecated: Deprecated

    name string
    The name of the baremetal instance.
    nameTemplate string
    nameTemplates string[]

    Deprecated: Deprecated

    password string
    projectId number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    timeouts BaremetalTimeouts
    userData string
    username string
    flavor_id str
    interfaces Sequence[BaremetalInterfaceArgs]
    app_config Mapping[str, str]
    apptemplate_id str
    baremetal_id str
    The ID of this resource.
    image_id str
    keypair_name str
    last_updated str
    The timestamp of the last update (use with update context).
    metadata_map Mapping[str, str]
    A map containing metadata, for example tags.
    metadatas Sequence[BaremetalMetadataArgs]

    Deprecated: Deprecated

    name str
    The name of the baremetal instance.
    name_template str
    name_templates Sequence[str]

    Deprecated: Deprecated

    password str
    project_id float
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    project_name str
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    region_id float
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    region_name str
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    timeouts BaremetalTimeoutsArgs
    user_data str
    username str
    flavorId String
    interfaces List<Property Map>
    appConfig Map<String>
    apptemplateId String
    baremetalId String
    The ID of this resource.
    imageId String
    keypairName String
    lastUpdated String
    The timestamp of the last update (use with update context).
    metadataMap Map<String>
    A map containing metadata, for example tags.
    metadatas List<Property Map>

    Deprecated: Deprecated

    name String
    The name of the baremetal instance.
    nameTemplate String
    nameTemplates List<String>

    Deprecated: Deprecated

    password String
    projectId Number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    timeouts Property Map
    userData String
    username String

    Outputs

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

    Addresses List<BaremetalAddress>
    Flavor Dictionary<string, string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    VmState string
    Addresses []BaremetalAddress
    Flavor map[string]string
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    VmState string
    addresses List<BaremetalAddress>
    flavor Map<String,String>
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    vmState String
    addresses BaremetalAddress[]
    flavor {[key: string]: string}
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    vmState string
    addresses Sequence[BaremetalAddress]
    flavor Mapping[str, str]
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    vm_state str
    addresses List<Property Map>
    flavor Map<String>
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    vmState String

    Look up Existing Baremetal Resource

    Get an existing Baremetal 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?: BaremetalState, opts?: CustomResourceOptions): Baremetal
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            addresses: Optional[Sequence[BaremetalAddressArgs]] = None,
            app_config: Optional[Mapping[str, str]] = None,
            apptemplate_id: Optional[str] = None,
            baremetal_id: Optional[str] = None,
            flavor: Optional[Mapping[str, str]] = None,
            flavor_id: Optional[str] = None,
            image_id: Optional[str] = None,
            interfaces: Optional[Sequence[BaremetalInterfaceArgs]] = None,
            keypair_name: Optional[str] = None,
            last_updated: Optional[str] = None,
            metadata_map: Optional[Mapping[str, str]] = None,
            metadatas: Optional[Sequence[BaremetalMetadataArgs]] = None,
            name: Optional[str] = None,
            name_template: Optional[str] = None,
            name_templates: Optional[Sequence[str]] = None,
            password: Optional[str] = None,
            project_id: Optional[float] = None,
            project_name: Optional[str] = None,
            region_id: Optional[float] = None,
            region_name: Optional[str] = None,
            status: Optional[str] = None,
            timeouts: Optional[BaremetalTimeoutsArgs] = None,
            user_data: Optional[str] = None,
            username: Optional[str] = None,
            vm_state: Optional[str] = None) -> Baremetal
    func GetBaremetal(ctx *Context, name string, id IDInput, state *BaremetalState, opts ...ResourceOption) (*Baremetal, error)
    public static Baremetal Get(string name, Input<string> id, BaremetalState? state, CustomResourceOptions? opts = null)
    public static Baremetal get(String name, Output<String> id, BaremetalState state, CustomResourceOptions options)
    resources:  _:    type: edgecenter:Baremetal    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Addresses List<BaremetalAddress>
    AppConfig Dictionary<string, string>
    ApptemplateId string
    BaremetalId string
    The ID of this resource.
    Flavor Dictionary<string, string>
    FlavorId string
    ImageId string
    Interfaces List<BaremetalInterface>
    KeypairName string
    LastUpdated string
    The timestamp of the last update (use with update context).
    MetadataMap Dictionary<string, string>
    A map containing metadata, for example tags.
    Metadatas List<BaremetalMetadata>

    Deprecated: Deprecated

    Name string
    The name of the baremetal instance.
    NameTemplate string
    NameTemplates List<string>

    Deprecated: Deprecated

    Password string
    ProjectId double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    Status string
    Timeouts BaremetalTimeouts
    UserData string
    Username string
    VmState string
    Addresses []BaremetalAddressArgs
    AppConfig map[string]string
    ApptemplateId string
    BaremetalId string
    The ID of this resource.
    Flavor map[string]string
    FlavorId string
    ImageId string
    Interfaces []BaremetalInterfaceArgs
    KeypairName string
    LastUpdated string
    The timestamp of the last update (use with update context).
    MetadataMap map[string]string
    A map containing metadata, for example tags.
    Metadatas []BaremetalMetadataArgs

    Deprecated: Deprecated

    Name string
    The name of the baremetal instance.
    NameTemplate string
    NameTemplates []string

    Deprecated: Deprecated

    Password string
    ProjectId float64
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId float64
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    Status string
    Timeouts BaremetalTimeoutsArgs
    UserData string
    Username string
    VmState string
    addresses List<BaremetalAddress>
    appConfig Map<String,String>
    apptemplateId String
    baremetalId String
    The ID of this resource.
    flavor Map<String,String>
    flavorId String
    imageId String
    interfaces List<BaremetalInterface>
    keypairName String
    lastUpdated String
    The timestamp of the last update (use with update context).
    metadataMap Map<String,String>
    A map containing metadata, for example tags.
    metadatas List<BaremetalMetadata>

    Deprecated: Deprecated

    name String
    The name of the baremetal instance.
    nameTemplate String
    nameTemplates List<String>

    Deprecated: Deprecated

    password String
    projectId Double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    status String
    timeouts BaremetalTimeouts
    userData String
    username String
    vmState String
    addresses BaremetalAddress[]
    appConfig {[key: string]: string}
    apptemplateId string
    baremetalId string
    The ID of this resource.
    flavor {[key: string]: string}
    flavorId string
    imageId string
    interfaces BaremetalInterface[]
    keypairName string
    lastUpdated string
    The timestamp of the last update (use with update context).
    metadataMap {[key: string]: string}
    A map containing metadata, for example tags.
    metadatas BaremetalMetadata[]

    Deprecated: Deprecated

    name string
    The name of the baremetal instance.
    nameTemplate string
    nameTemplates string[]

    Deprecated: Deprecated

    password string
    projectId number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    status string
    timeouts BaremetalTimeouts
    userData string
    username string
    vmState string
    addresses Sequence[BaremetalAddressArgs]
    app_config Mapping[str, str]
    apptemplate_id str
    baremetal_id str
    The ID of this resource.
    flavor Mapping[str, str]
    flavor_id str
    image_id str
    interfaces Sequence[BaremetalInterfaceArgs]
    keypair_name str
    last_updated str
    The timestamp of the last update (use with update context).
    metadata_map Mapping[str, str]
    A map containing metadata, for example tags.
    metadatas Sequence[BaremetalMetadataArgs]

    Deprecated: Deprecated

    name str
    The name of the baremetal instance.
    name_template str
    name_templates Sequence[str]

    Deprecated: Deprecated

    password str
    project_id float
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    project_name str
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    region_id float
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    region_name str
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    status str
    timeouts BaremetalTimeoutsArgs
    user_data str
    username str
    vm_state str
    addresses List<Property Map>
    appConfig Map<String>
    apptemplateId String
    baremetalId String
    The ID of this resource.
    flavor Map<String>
    flavorId String
    imageId String
    interfaces List<Property Map>
    keypairName String
    lastUpdated String
    The timestamp of the last update (use with update context).
    metadataMap Map<String>
    A map containing metadata, for example tags.
    metadatas List<Property Map>

    Deprecated: Deprecated

    name String
    The name of the baremetal instance.
    nameTemplate String
    nameTemplates List<String>

    Deprecated: Deprecated

    password String
    projectId Number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    status String
    timeouts Property Map
    userData String
    username String
    vmState String

    Supporting Types

    BaremetalAddress, BaremetalAddressArgs

    BaremetalAddressNet, BaremetalAddressNetArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    BaremetalInterface, BaremetalInterfaceArgs

    Type string
    Available value is 'subnet', 'anysubnet', 'external', 'reservedfixed_ip'
    ExistingFipId string
    FipSource string
    IpAddress string
    IsParent bool
    If not set will be calculated after creation. Trunk interface always attached first. Can't detach interface if is_parent true. Fields affect only on creation
    NetworkId string
    required if type is 'subnet' or 'any_subnet'
    Order double
    Order of attaching interface. Trunk interface always attached first, fields affect only on creation
    PortId string
    required if type is 'reservedfixedip'
    SubnetId string
    required if type is 'subnet'
    Type string
    Available value is 'subnet', 'anysubnet', 'external', 'reservedfixed_ip'
    ExistingFipId string
    FipSource string
    IpAddress string
    IsParent bool
    If not set will be calculated after creation. Trunk interface always attached first. Can't detach interface if is_parent true. Fields affect only on creation
    NetworkId string
    required if type is 'subnet' or 'any_subnet'
    Order float64
    Order of attaching interface. Trunk interface always attached first, fields affect only on creation
    PortId string
    required if type is 'reservedfixedip'
    SubnetId string
    required if type is 'subnet'
    type String
    Available value is 'subnet', 'anysubnet', 'external', 'reservedfixed_ip'
    existingFipId String
    fipSource String
    ipAddress String
    isParent Boolean
    If not set will be calculated after creation. Trunk interface always attached first. Can't detach interface if is_parent true. Fields affect only on creation
    networkId String
    required if type is 'subnet' or 'any_subnet'
    order Double
    Order of attaching interface. Trunk interface always attached first, fields affect only on creation
    portId String
    required if type is 'reservedfixedip'
    subnetId String
    required if type is 'subnet'
    type string
    Available value is 'subnet', 'anysubnet', 'external', 'reservedfixed_ip'
    existingFipId string
    fipSource string
    ipAddress string
    isParent boolean
    If not set will be calculated after creation. Trunk interface always attached first. Can't detach interface if is_parent true. Fields affect only on creation
    networkId string
    required if type is 'subnet' or 'any_subnet'
    order number
    Order of attaching interface. Trunk interface always attached first, fields affect only on creation
    portId string
    required if type is 'reservedfixedip'
    subnetId string
    required if type is 'subnet'
    type str
    Available value is 'subnet', 'anysubnet', 'external', 'reservedfixed_ip'
    existing_fip_id str
    fip_source str
    ip_address str
    is_parent bool
    If not set will be calculated after creation. Trunk interface always attached first. Can't detach interface if is_parent true. Fields affect only on creation
    network_id str
    required if type is 'subnet' or 'any_subnet'
    order float
    Order of attaching interface. Trunk interface always attached first, fields affect only on creation
    port_id str
    required if type is 'reservedfixedip'
    subnet_id str
    required if type is 'subnet'
    type String
    Available value is 'subnet', 'anysubnet', 'external', 'reservedfixed_ip'
    existingFipId String
    fipSource String
    ipAddress String
    isParent Boolean
    If not set will be calculated after creation. Trunk interface always attached first. Can't detach interface if is_parent true. Fields affect only on creation
    networkId String
    required if type is 'subnet' or 'any_subnet'
    order Number
    Order of attaching interface. Trunk interface always attached first, fields affect only on creation
    portId String
    required if type is 'reservedfixedip'
    subnetId String
    required if type is 'subnet'

    BaremetalMetadata, BaremetalMetadataArgs

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    BaremetalTimeouts, BaremetalTimeoutsArgs

    Create string
    Create string
    create String
    create string
    create str
    create String

    Import

    import using <project_id>:<region_id>:<instance_id> format

    $ pulumi import edgecenter:index/baremetal:Baremetal instance1 1:6:447d2959-8ae0-4ca0-8d47-9f050a3637d7
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    edgecenter edge-center/terraform-provider-edgecenter
    License
    Notes
    This Pulumi package is based on the edgecenter Terraform Provider.
    edgecenter logo
    edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center