edgecenter.Baremetal
Explore with Pulumi AI
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:
- Flavor
Id string - Interfaces
List<Baremetal
Interface> - App
Config Dictionary<string, string> - Apptemplate
Id string - Baremetal
Id string - The ID of this resource.
- Image
Id string - Keypair
Name string - Last
Updated string - The timestamp of the last update (use with update context).
- Metadata
Map Dictionary<string, string> - A map containing metadata, for example tags.
- Metadatas
List<Baremetal
Metadata> - Name string
- The name of the baremetal instance.
- Name
Template string - Name
Templates List<string> - Password string
- Project
Id double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Timeouts
Baremetal
Timeouts - User
Data string - Username string
- Flavor
Id string - Interfaces
[]Baremetal
Interface Args - App
Config map[string]string - Apptemplate
Id string - Baremetal
Id string - The ID of this resource.
- Image
Id string - Keypair
Name string - Last
Updated string - The timestamp of the last update (use with update context).
- Metadata
Map map[string]string - A map containing metadata, for example tags.
- Metadatas
[]Baremetal
Metadata Args - Name string
- The name of the baremetal instance.
- Name
Template string - Name
Templates []string - Password string
- Project
Id float64 - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id float64 - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Timeouts
Baremetal
Timeouts Args - User
Data string - Username string
- flavor
Id String - interfaces
List<Baremetal
Interface> - app
Config Map<String,String> - apptemplate
Id String - baremetal
Id String - The ID of this resource.
- image
Id String - keypair
Name String - last
Updated String - The timestamp of the last update (use with update context).
- metadata
Map Map<String,String> - A map containing metadata, for example tags.
- metadatas
List<Baremetal
Metadata> - name String
- The name of the baremetal instance.
- name
Template String - name
Templates List<String> - password String
- project
Id Double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- timeouts
Baremetal
Timeouts - user
Data String - username String
- flavor
Id string - interfaces
Baremetal
Interface[] - app
Config {[key: string]: string} - apptemplate
Id string - baremetal
Id string - The ID of this resource.
- image
Id string - keypair
Name string - last
Updated string - The timestamp of the last update (use with update context).
- metadata
Map {[key: string]: string} - A map containing metadata, for example tags.
- metadatas
Baremetal
Metadata[] - name string
- The name of the baremetal instance.
- name
Template string - name
Templates string[] - password string
- project
Id number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- timeouts
Baremetal
Timeouts - user
Data string - username string
- flavor_
id str - interfaces
Sequence[Baremetal
Interface Args] - 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[Baremetal
Metadata Args] - name str
- The name of the baremetal instance.
- name_
template str - name_
templates Sequence[str] - 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
Baremetal
Timeouts Args - user_
data str - username str
- flavor
Id String - interfaces List<Property Map>
- app
Config Map<String> - apptemplate
Id String - baremetal
Id String - The ID of this resource.
- image
Id String - keypair
Name String - last
Updated String - The timestamp of the last update (use with update context).
- metadata
Map Map<String> - A map containing metadata, for example tags.
- metadatas List<Property Map>
- name String
- The name of the baremetal instance.
- name
Template String - name
Templates List<String> - password String
- project
Id Number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- timeouts Property Map
- user
Data String - username String
Outputs
All input properties are implicitly available as output properties. Additionally, the Baremetal resource produces the following output properties:
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.
- Addresses
List<Baremetal
Address> - App
Config Dictionary<string, string> - Apptemplate
Id string - Baremetal
Id string - The ID of this resource.
- Flavor Dictionary<string, string>
- Flavor
Id string - Image
Id string - Interfaces
List<Baremetal
Interface> - Keypair
Name string - Last
Updated string - The timestamp of the last update (use with update context).
- Metadata
Map Dictionary<string, string> - A map containing metadata, for example tags.
- Metadatas
List<Baremetal
Metadata> - Name string
- The name of the baremetal instance.
- Name
Template string - Name
Templates List<string> - Password string
- Project
Id double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Status string
- Timeouts
Baremetal
Timeouts - User
Data string - Username string
- Vm
State string
- Addresses
[]Baremetal
Address Args - App
Config map[string]string - Apptemplate
Id string - Baremetal
Id string - The ID of this resource.
- Flavor map[string]string
- Flavor
Id string - Image
Id string - Interfaces
[]Baremetal
Interface Args - Keypair
Name string - Last
Updated string - The timestamp of the last update (use with update context).
- Metadata
Map map[string]string - A map containing metadata, for example tags.
- Metadatas
[]Baremetal
Metadata Args - Name string
- The name of the baremetal instance.
- Name
Template string - Name
Templates []string - Password string
- Project
Id float64 - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id float64 - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Status string
- Timeouts
Baremetal
Timeouts Args - User
Data string - Username string
- Vm
State string
- addresses
List<Baremetal
Address> - app
Config Map<String,String> - apptemplate
Id String - baremetal
Id String - The ID of this resource.
- flavor Map<String,String>
- flavor
Id String - image
Id String - interfaces
List<Baremetal
Interface> - keypair
Name String - last
Updated String - The timestamp of the last update (use with update context).
- metadata
Map Map<String,String> - A map containing metadata, for example tags.
- metadatas
List<Baremetal
Metadata> - name String
- The name of the baremetal instance.
- name
Template String - name
Templates List<String> - password String
- project
Id Double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- status String
- timeouts
Baremetal
Timeouts - user
Data String - username String
- vm
State String
- addresses
Baremetal
Address[] - app
Config {[key: string]: string} - apptemplate
Id string - baremetal
Id string - The ID of this resource.
- flavor {[key: string]: string}
- flavor
Id string - image
Id string - interfaces
Baremetal
Interface[] - keypair
Name string - last
Updated string - The timestamp of the last update (use with update context).
- metadata
Map {[key: string]: string} - A map containing metadata, for example tags.
- metadatas
Baremetal
Metadata[] - name string
- The name of the baremetal instance.
- name
Template string - name
Templates string[] - password string
- project
Id number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- status string
- timeouts
Baremetal
Timeouts - user
Data string - username string
- vm
State string
- addresses
Sequence[Baremetal
Address Args] - 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[Baremetal
Interface Args] - 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[Baremetal
Metadata Args] - name str
- The name of the baremetal instance.
- name_
template str - name_
templates Sequence[str] - 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
Baremetal
Timeouts Args - user_
data str - username str
- vm_
state str
- addresses List<Property Map>
- app
Config Map<String> - apptemplate
Id String - baremetal
Id String - The ID of this resource.
- flavor Map<String>
- flavor
Id String - image
Id String - interfaces List<Property Map>
- keypair
Name String - last
Updated String - The timestamp of the last update (use with update context).
- metadata
Map Map<String> - A map containing metadata, for example tags.
- metadatas List<Property Map>
- name String
- The name of the baremetal instance.
- name
Template String - name
Templates List<String> - password String
- project
Id Number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- status String
- timeouts Property Map
- user
Data String - username String
- vm
State String
Supporting Types
BaremetalAddress, BaremetalAddressArgs
BaremetalAddressNet, BaremetalAddressNetArgs
BaremetalInterface, BaremetalInterfaceArgs
- Type string
- Available value is 'subnet', 'anysubnet', 'external', 'reservedfixed_ip'
- Existing
Fip stringId - Fip
Source string - Ip
Address string - 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 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
- Port
Id string - required if type is 'reservedfixedip'
- Subnet
Id string - required if type is 'subnet'
- Type string
- Available value is 'subnet', 'anysubnet', 'external', 'reservedfixed_ip'
- Existing
Fip stringId - Fip
Source string - Ip
Address string - 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 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
- Port
Id string - required if type is 'reservedfixedip'
- Subnet
Id string - required if type is 'subnet'
- type String
- Available value is 'subnet', 'anysubnet', 'external', 'reservedfixed_ip'
- existing
Fip StringId - fip
Source String - ip
Address String - is
Parent 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
- network
Id 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
- port
Id String - required if type is 'reservedfixedip'
- subnet
Id String - required if type is 'subnet'
- type string
- Available value is 'subnet', 'anysubnet', 'external', 'reservedfixed_ip'
- existing
Fip stringId - fip
Source string - ip
Address string - is
Parent 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
- network
Id 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
- port
Id string - required if type is 'reservedfixedip'
- subnet
Id string - required if type is 'subnet'
- type str
- Available value is 'subnet', 'anysubnet', 'external', 'reservedfixed_ip'
- existing_
fip_ strid - 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'
- existing
Fip StringId - fip
Source String - ip
Address String - is
Parent 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
- network
Id 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
- port
Id String - required if type is 'reservedfixedip'
- subnet
Id String - required if type is 'subnet'
BaremetalMetadata, BaremetalMetadataArgs
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.