opentelekomcloud.ComputeBmsServerV2
Explore with Pulumi AI
Manages a BMS Server resource within OpenTelekomCloud.
Example Usage
Basic Instance
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const imageId = config.requireObject("imageId");
const flavorId = config.requireObject("flavorId");
const keypairName = config.requireObject("keypairName");
const networkId = config.requireObject("networkId");
const availabilityZone = config.requireObject("availabilityZone");
const basic = new opentelekomcloud.ComputeBmsServerV2("basic", {
imageId: imageId,
flavorId: flavorId,
keyPair: keypairName,
securityGroups: ["default"],
availabilityZone: availabilityZone,
metadata: {
"this": "that",
},
networks: [{
uuid: networkId,
}],
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
image_id = config.require_object("imageId")
flavor_id = config.require_object("flavorId")
keypair_name = config.require_object("keypairName")
network_id = config.require_object("networkId")
availability_zone = config.require_object("availabilityZone")
basic = opentelekomcloud.ComputeBmsServerV2("basic",
image_id=image_id,
flavor_id=flavor_id,
key_pair=keypair_name,
security_groups=["default"],
availability_zone=availability_zone,
metadata={
"this": "that",
},
networks=[{
"uuid": network_id,
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
imageId := cfg.RequireObject("imageId")
flavorId := cfg.RequireObject("flavorId")
keypairName := cfg.RequireObject("keypairName")
networkId := cfg.RequireObject("networkId")
availabilityZone := cfg.RequireObject("availabilityZone")
_, err := opentelekomcloud.NewComputeBmsServerV2(ctx, "basic", &opentelekomcloud.ComputeBmsServerV2Args{
ImageId: pulumi.Any(imageId),
FlavorId: pulumi.Any(flavorId),
KeyPair: pulumi.Any(keypairName),
SecurityGroups: pulumi.StringArray{
pulumi.String("default"),
},
AvailabilityZone: pulumi.Any(availabilityZone),
Metadata: pulumi.StringMap{
"this": pulumi.String("that"),
},
Networks: opentelekomcloud.ComputeBmsServerV2NetworkArray{
&opentelekomcloud.ComputeBmsServerV2NetworkArgs{
Uuid: pulumi.Any(networkId),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var imageId = config.RequireObject<dynamic>("imageId");
var flavorId = config.RequireObject<dynamic>("flavorId");
var keypairName = config.RequireObject<dynamic>("keypairName");
var networkId = config.RequireObject<dynamic>("networkId");
var availabilityZone = config.RequireObject<dynamic>("availabilityZone");
var basic = new Opentelekomcloud.ComputeBmsServerV2("basic", new()
{
ImageId = imageId,
FlavorId = flavorId,
KeyPair = keypairName,
SecurityGroups = new[]
{
"default",
},
AvailabilityZone = availabilityZone,
Metadata =
{
{ "this", "that" },
},
Networks = new[]
{
new Opentelekomcloud.Inputs.ComputeBmsServerV2NetworkArgs
{
Uuid = networkId,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.ComputeBmsServerV2;
import com.pulumi.opentelekomcloud.ComputeBmsServerV2Args;
import com.pulumi.opentelekomcloud.inputs.ComputeBmsServerV2NetworkArgs;
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) {
final var config = ctx.config();
final var imageId = config.get("imageId");
final var flavorId = config.get("flavorId");
final var keypairName = config.get("keypairName");
final var networkId = config.get("networkId");
final var availabilityZone = config.get("availabilityZone");
var basic = new ComputeBmsServerV2("basic", ComputeBmsServerV2Args.builder()
.imageId(imageId)
.flavorId(flavorId)
.keyPair(keypairName)
.securityGroups("default")
.availabilityZone(availabilityZone)
.metadata(Map.of("this", "that"))
.networks(ComputeBmsServerV2NetworkArgs.builder()
.uuid(networkId)
.build())
.build());
}
}
configuration:
imageId:
type: dynamic
flavorId:
type: dynamic
keypairName:
type: dynamic
networkId:
type: dynamic
availabilityZone:
type: dynamic
resources:
basic:
type: opentelekomcloud:ComputeBmsServerV2
properties:
imageId: ${imageId}
flavorId: ${flavorId}
keyPair: ${keypairName}
securityGroups:
- default
availabilityZone: ${availabilityZone}
metadata:
this: that
networks:
- uuid: ${networkId}
Instance Boot From Volume Image
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const flavorId = config.requireObject("flavorId");
const keypairName = config.requireObject("keypairName");
const networkId = config.requireObject("networkId");
const availabilityZone = config.requireObject("availabilityZone");
const basic = new opentelekomcloud.ComputeBmsServerV2("basic", {
flavorId: flavorId,
keyPair: keypairName,
securityGroups: ["default"],
availabilityZone: availabilityZone,
metadata: {
"this": "that",
},
networks: [{
uuid: networkId,
}],
blockDevices: [{
uuid: _var.image_id,
sourceType: "image",
volumeType: "SATA",
volumeSize: 100,
bootIndex: 0,
destinationType: "volume",
deleteOnTermination: true,
deviceName: "/dev/sda",
}],
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
flavor_id = config.require_object("flavorId")
keypair_name = config.require_object("keypairName")
network_id = config.require_object("networkId")
availability_zone = config.require_object("availabilityZone")
basic = opentelekomcloud.ComputeBmsServerV2("basic",
flavor_id=flavor_id,
key_pair=keypair_name,
security_groups=["default"],
availability_zone=availability_zone,
metadata={
"this": "that",
},
networks=[{
"uuid": network_id,
}],
block_devices=[{
"uuid": var["image_id"],
"source_type": "image",
"volume_type": "SATA",
"volume_size": 100,
"boot_index": 0,
"destination_type": "volume",
"delete_on_termination": True,
"device_name": "/dev/sda",
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
flavorId := cfg.RequireObject("flavorId")
keypairName := cfg.RequireObject("keypairName")
networkId := cfg.RequireObject("networkId")
availabilityZone := cfg.RequireObject("availabilityZone")
_, err := opentelekomcloud.NewComputeBmsServerV2(ctx, "basic", &opentelekomcloud.ComputeBmsServerV2Args{
FlavorId: pulumi.Any(flavorId),
KeyPair: pulumi.Any(keypairName),
SecurityGroups: pulumi.StringArray{
pulumi.String("default"),
},
AvailabilityZone: pulumi.Any(availabilityZone),
Metadata: pulumi.StringMap{
"this": pulumi.String("that"),
},
Networks: opentelekomcloud.ComputeBmsServerV2NetworkArray{
&opentelekomcloud.ComputeBmsServerV2NetworkArgs{
Uuid: pulumi.Any(networkId),
},
},
BlockDevices: opentelekomcloud.ComputeBmsServerV2BlockDeviceArray{
&opentelekomcloud.ComputeBmsServerV2BlockDeviceArgs{
Uuid: pulumi.Any(_var.Image_id),
SourceType: pulumi.String("image"),
VolumeType: pulumi.String("SATA"),
VolumeSize: pulumi.Float64(100),
BootIndex: pulumi.Float64(0),
DestinationType: pulumi.String("volume"),
DeleteOnTermination: pulumi.Bool(true),
DeviceName: pulumi.String("/dev/sda"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var flavorId = config.RequireObject<dynamic>("flavorId");
var keypairName = config.RequireObject<dynamic>("keypairName");
var networkId = config.RequireObject<dynamic>("networkId");
var availabilityZone = config.RequireObject<dynamic>("availabilityZone");
var basic = new Opentelekomcloud.ComputeBmsServerV2("basic", new()
{
FlavorId = flavorId,
KeyPair = keypairName,
SecurityGroups = new[]
{
"default",
},
AvailabilityZone = availabilityZone,
Metadata =
{
{ "this", "that" },
},
Networks = new[]
{
new Opentelekomcloud.Inputs.ComputeBmsServerV2NetworkArgs
{
Uuid = networkId,
},
},
BlockDevices = new[]
{
new Opentelekomcloud.Inputs.ComputeBmsServerV2BlockDeviceArgs
{
Uuid = @var.Image_id,
SourceType = "image",
VolumeType = "SATA",
VolumeSize = 100,
BootIndex = 0,
DestinationType = "volume",
DeleteOnTermination = true,
DeviceName = "/dev/sda",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.ComputeBmsServerV2;
import com.pulumi.opentelekomcloud.ComputeBmsServerV2Args;
import com.pulumi.opentelekomcloud.inputs.ComputeBmsServerV2NetworkArgs;
import com.pulumi.opentelekomcloud.inputs.ComputeBmsServerV2BlockDeviceArgs;
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) {
final var config = ctx.config();
final var flavorId = config.get("flavorId");
final var keypairName = config.get("keypairName");
final var networkId = config.get("networkId");
final var availabilityZone = config.get("availabilityZone");
var basic = new ComputeBmsServerV2("basic", ComputeBmsServerV2Args.builder()
.flavorId(flavorId)
.keyPair(keypairName)
.securityGroups("default")
.availabilityZone(availabilityZone)
.metadata(Map.of("this", "that"))
.networks(ComputeBmsServerV2NetworkArgs.builder()
.uuid(networkId)
.build())
.blockDevices(ComputeBmsServerV2BlockDeviceArgs.builder()
.uuid(var_.image_id())
.sourceType("image")
.volumeType("SATA")
.volumeSize(100)
.bootIndex(0)
.destinationType("volume")
.deleteOnTermination(true)
.deviceName("/dev/sda")
.build())
.build());
}
}
configuration:
flavorId:
type: dynamic
keypairName:
type: dynamic
networkId:
type: dynamic
availabilityZone:
type: dynamic
resources:
basic:
type: opentelekomcloud:ComputeBmsServerV2
properties:
flavorId: ${flavorId}
keyPair: ${keypairName}
securityGroups:
- default
availabilityZone: ${availabilityZone}
metadata:
this: that
networks:
- uuid: ${networkId}
blockDevices:
- uuid: ${var.image_id}
sourceType: image
volumeType: SATA
volumeSize: 100
bootIndex: 0
destinationType: volume
deleteOnTermination: true
deviceName: /dev/sda
Create ComputeBmsServerV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ComputeBmsServerV2(name: string, args: ComputeBmsServerV2Args, opts?: CustomResourceOptions);
@overload
def ComputeBmsServerV2(resource_name: str,
args: ComputeBmsServerV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def ComputeBmsServerV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
availability_zone: Optional[str] = None,
key_pair: Optional[str] = None,
name: Optional[str] = None,
compute_bms_server_v2_id: Optional[str] = None,
flavor_id: Optional[str] = None,
flavor_name: Optional[str] = None,
image_id: Optional[str] = None,
image_name: Optional[str] = None,
admin_pass: Optional[str] = None,
block_devices: Optional[Sequence[ComputeBmsServerV2BlockDeviceArgs]] = None,
networks: Optional[Sequence[ComputeBmsServerV2NetworkArgs]] = None,
metadata: Optional[Mapping[str, str]] = None,
region: Optional[str] = None,
security_groups: Optional[Sequence[str]] = None,
stop_before_destroy: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[ComputeBmsServerV2TimeoutsArgs] = None,
user_data: Optional[str] = None)
func NewComputeBmsServerV2(ctx *Context, name string, args ComputeBmsServerV2Args, opts ...ResourceOption) (*ComputeBmsServerV2, error)
public ComputeBmsServerV2(string name, ComputeBmsServerV2Args args, CustomResourceOptions? opts = null)
public ComputeBmsServerV2(String name, ComputeBmsServerV2Args args)
public ComputeBmsServerV2(String name, ComputeBmsServerV2Args args, CustomResourceOptions options)
type: opentelekomcloud:ComputeBmsServerV2
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 ComputeBmsServerV2Args
- 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 ComputeBmsServerV2Args
- 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 ComputeBmsServerV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ComputeBmsServerV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ComputeBmsServerV2Args
- 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 computeBmsServerV2Resource = new Opentelekomcloud.ComputeBmsServerV2("computeBmsServerV2Resource", new()
{
AvailabilityZone = "string",
KeyPair = "string",
Name = "string",
ComputeBmsServerV2Id = "string",
FlavorId = "string",
FlavorName = "string",
ImageId = "string",
ImageName = "string",
AdminPass = "string",
BlockDevices = new[]
{
new Opentelekomcloud.Inputs.ComputeBmsServerV2BlockDeviceArgs
{
SourceType = "string",
BootIndex = 0,
DeleteOnTermination = false,
DestinationType = "string",
DeviceName = "string",
GuestFormat = "string",
Uuid = "string",
VolumeSize = 0,
VolumeType = "string",
},
},
Networks = new[]
{
new Opentelekomcloud.Inputs.ComputeBmsServerV2NetworkArgs
{
AccessNetwork = false,
FixedIpV4 = "string",
FixedIpV6 = "string",
Mac = "string",
Name = "string",
Port = "string",
Uuid = "string",
},
},
Metadata =
{
{ "string", "string" },
},
Region = "string",
SecurityGroups = new[]
{
"string",
},
StopBeforeDestroy = false,
Tags =
{
{ "string", "string" },
},
Timeouts = new Opentelekomcloud.Inputs.ComputeBmsServerV2TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
UserData = "string",
});
example, err := opentelekomcloud.NewComputeBmsServerV2(ctx, "computeBmsServerV2Resource", &opentelekomcloud.ComputeBmsServerV2Args{
AvailabilityZone: pulumi.String("string"),
KeyPair: pulumi.String("string"),
Name: pulumi.String("string"),
ComputeBmsServerV2Id: pulumi.String("string"),
FlavorId: pulumi.String("string"),
FlavorName: pulumi.String("string"),
ImageId: pulumi.String("string"),
ImageName: pulumi.String("string"),
AdminPass: pulumi.String("string"),
BlockDevices: opentelekomcloud.ComputeBmsServerV2BlockDeviceArray{
&opentelekomcloud.ComputeBmsServerV2BlockDeviceArgs{
SourceType: pulumi.String("string"),
BootIndex: pulumi.Float64(0),
DeleteOnTermination: pulumi.Bool(false),
DestinationType: pulumi.String("string"),
DeviceName: pulumi.String("string"),
GuestFormat: pulumi.String("string"),
Uuid: pulumi.String("string"),
VolumeSize: pulumi.Float64(0),
VolumeType: pulumi.String("string"),
},
},
Networks: opentelekomcloud.ComputeBmsServerV2NetworkArray{
&opentelekomcloud.ComputeBmsServerV2NetworkArgs{
AccessNetwork: pulumi.Bool(false),
FixedIpV4: pulumi.String("string"),
FixedIpV6: pulumi.String("string"),
Mac: pulumi.String("string"),
Name: pulumi.String("string"),
Port: pulumi.String("string"),
Uuid: pulumi.String("string"),
},
},
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
Region: pulumi.String("string"),
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
StopBeforeDestroy: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &opentelekomcloud.ComputeBmsServerV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
UserData: pulumi.String("string"),
})
var computeBmsServerV2Resource = new ComputeBmsServerV2("computeBmsServerV2Resource", ComputeBmsServerV2Args.builder()
.availabilityZone("string")
.keyPair("string")
.name("string")
.computeBmsServerV2Id("string")
.flavorId("string")
.flavorName("string")
.imageId("string")
.imageName("string")
.adminPass("string")
.blockDevices(ComputeBmsServerV2BlockDeviceArgs.builder()
.sourceType("string")
.bootIndex(0)
.deleteOnTermination(false)
.destinationType("string")
.deviceName("string")
.guestFormat("string")
.uuid("string")
.volumeSize(0)
.volumeType("string")
.build())
.networks(ComputeBmsServerV2NetworkArgs.builder()
.accessNetwork(false)
.fixedIpV4("string")
.fixedIpV6("string")
.mac("string")
.name("string")
.port("string")
.uuid("string")
.build())
.metadata(Map.of("string", "string"))
.region("string")
.securityGroups("string")
.stopBeforeDestroy(false)
.tags(Map.of("string", "string"))
.timeouts(ComputeBmsServerV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.userData("string")
.build());
compute_bms_server_v2_resource = opentelekomcloud.ComputeBmsServerV2("computeBmsServerV2Resource",
availability_zone="string",
key_pair="string",
name="string",
compute_bms_server_v2_id="string",
flavor_id="string",
flavor_name="string",
image_id="string",
image_name="string",
admin_pass="string",
block_devices=[{
"source_type": "string",
"boot_index": 0,
"delete_on_termination": False,
"destination_type": "string",
"device_name": "string",
"guest_format": "string",
"uuid": "string",
"volume_size": 0,
"volume_type": "string",
}],
networks=[{
"access_network": False,
"fixed_ip_v4": "string",
"fixed_ip_v6": "string",
"mac": "string",
"name": "string",
"port": "string",
"uuid": "string",
}],
metadata={
"string": "string",
},
region="string",
security_groups=["string"],
stop_before_destroy=False,
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
user_data="string")
const computeBmsServerV2Resource = new opentelekomcloud.ComputeBmsServerV2("computeBmsServerV2Resource", {
availabilityZone: "string",
keyPair: "string",
name: "string",
computeBmsServerV2Id: "string",
flavorId: "string",
flavorName: "string",
imageId: "string",
imageName: "string",
adminPass: "string",
blockDevices: [{
sourceType: "string",
bootIndex: 0,
deleteOnTermination: false,
destinationType: "string",
deviceName: "string",
guestFormat: "string",
uuid: "string",
volumeSize: 0,
volumeType: "string",
}],
networks: [{
accessNetwork: false,
fixedIpV4: "string",
fixedIpV6: "string",
mac: "string",
name: "string",
port: "string",
uuid: "string",
}],
metadata: {
string: "string",
},
region: "string",
securityGroups: ["string"],
stopBeforeDestroy: false,
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
userData: "string",
});
type: opentelekomcloud:ComputeBmsServerV2
properties:
adminPass: string
availabilityZone: string
blockDevices:
- bootIndex: 0
deleteOnTermination: false
destinationType: string
deviceName: string
guestFormat: string
sourceType: string
uuid: string
volumeSize: 0
volumeType: string
computeBmsServerV2Id: string
flavorId: string
flavorName: string
imageId: string
imageName: string
keyPair: string
metadata:
string: string
name: string
networks:
- accessNetwork: false
fixedIpV4: string
fixedIpV6: string
mac: string
name: string
port: string
uuid: string
region: string
securityGroups:
- string
stopBeforeDestroy: false
tags:
string: string
timeouts:
create: string
delete: string
update: string
userData: string
ComputeBmsServerV2 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 ComputeBmsServerV2 resource accepts the following input properties:
- Availability
Zone string - The availability zone in which to create the BMS server.
- Admin
Pass string - The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- Block
Devices List<ComputeBms Server V2Block Device> - Compute
Bms stringServer V2Id - The id of the BMS server.
- Flavor
Id string - The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- Flavor
Name string - The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- Image
Id string - Changing this creates a new bms server.
- Image
Name string - The name of the desired image for the bms server. Changing this creates a new BMS server.
- Key
Pair string - The name of a key pair to put on the BMS server. The key pair must already be created and associated with the tenant's account. Changing this creates a new BMS server.
- Metadata Dictionary<string, string>
- Metadata key/value pairs to make available from within the instance. Changing this updates the existing BMS server metadata.
- Name string
- The name of the BMS.
- Networks
List<Compute
Bms Server V2Network> - An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- Region string
- Security
Groups List<string> - An array of one or more security group names to associate with the BMS server. Changing this results in adding/removing security groups from the existing BMS server.
- Stop
Before boolDestroy - Whether to try stop instance gracefully before destroying it, thus giving chance for guest OS daemons to stop correctly. If instance doesn't stop within timeout, it will be destroyed anyway.
- Dictionary<string, string>
- Tags key/value pairs to associate with the instance.
- Timeouts
Compute
Bms Server V2Timeouts - User
Data string - The user data to provide when launching the instance. Changing this creates a new BMS server.
- Availability
Zone string - The availability zone in which to create the BMS server.
- Admin
Pass string - The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- Block
Devices []ComputeBms Server V2Block Device Args - Compute
Bms stringServer V2Id - The id of the BMS server.
- Flavor
Id string - The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- Flavor
Name string - The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- Image
Id string - Changing this creates a new bms server.
- Image
Name string - The name of the desired image for the bms server. Changing this creates a new BMS server.
- Key
Pair string - The name of a key pair to put on the BMS server. The key pair must already be created and associated with the tenant's account. Changing this creates a new BMS server.
- Metadata map[string]string
- Metadata key/value pairs to make available from within the instance. Changing this updates the existing BMS server metadata.
- Name string
- The name of the BMS.
- Networks
[]Compute
Bms Server V2Network Args - An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- Region string
- Security
Groups []string - An array of one or more security group names to associate with the BMS server. Changing this results in adding/removing security groups from the existing BMS server.
- Stop
Before boolDestroy - Whether to try stop instance gracefully before destroying it, thus giving chance for guest OS daemons to stop correctly. If instance doesn't stop within timeout, it will be destroyed anyway.
- map[string]string
- Tags key/value pairs to associate with the instance.
- Timeouts
Compute
Bms Server V2Timeouts Args - User
Data string - The user data to provide when launching the instance. Changing this creates a new BMS server.
- availability
Zone String - The availability zone in which to create the BMS server.
- admin
Pass String - The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- block
Devices List<ComputeBms Server V2Block Device> - compute
Bms StringServer V2Id - The id of the BMS server.
- flavor
Id String - The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- flavor
Name String - The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- image
Id String - Changing this creates a new bms server.
- image
Name String - The name of the desired image for the bms server. Changing this creates a new BMS server.
- key
Pair String - The name of a key pair to put on the BMS server. The key pair must already be created and associated with the tenant's account. Changing this creates a new BMS server.
- metadata Map<String,String>
- Metadata key/value pairs to make available from within the instance. Changing this updates the existing BMS server metadata.
- name String
- The name of the BMS.
- networks
List<Compute
Bms Server V2Network> - An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- region String
- security
Groups List<String> - An array of one or more security group names to associate with the BMS server. Changing this results in adding/removing security groups from the existing BMS server.
- stop
Before BooleanDestroy - Whether to try stop instance gracefully before destroying it, thus giving chance for guest OS daemons to stop correctly. If instance doesn't stop within timeout, it will be destroyed anyway.
- Map<String,String>
- Tags key/value pairs to associate with the instance.
- timeouts
Compute
Bms Server V2Timeouts - user
Data String - The user data to provide when launching the instance. Changing this creates a new BMS server.
- availability
Zone string - The availability zone in which to create the BMS server.
- admin
Pass string - The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- block
Devices ComputeBms Server V2Block Device[] - compute
Bms stringServer V2Id - The id of the BMS server.
- flavor
Id string - The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- flavor
Name string - The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- image
Id string - Changing this creates a new bms server.
- image
Name string - The name of the desired image for the bms server. Changing this creates a new BMS server.
- key
Pair string - The name of a key pair to put on the BMS server. The key pair must already be created and associated with the tenant's account. Changing this creates a new BMS server.
- metadata {[key: string]: string}
- Metadata key/value pairs to make available from within the instance. Changing this updates the existing BMS server metadata.
- name string
- The name of the BMS.
- networks
Compute
Bms Server V2Network[] - An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- region string
- security
Groups string[] - An array of one or more security group names to associate with the BMS server. Changing this results in adding/removing security groups from the existing BMS server.
- stop
Before booleanDestroy - Whether to try stop instance gracefully before destroying it, thus giving chance for guest OS daemons to stop correctly. If instance doesn't stop within timeout, it will be destroyed anyway.
- {[key: string]: string}
- Tags key/value pairs to associate with the instance.
- timeouts
Compute
Bms Server V2Timeouts - user
Data string - The user data to provide when launching the instance. Changing this creates a new BMS server.
- availability_
zone str - The availability zone in which to create the BMS server.
- admin_
pass str - The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- block_
devices Sequence[ComputeBms Server V2Block Device Args] - compute_
bms_ strserver_ v2_ id - The id of the BMS server.
- flavor_
id str - The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- flavor_
name str - The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- image_
id str - Changing this creates a new bms server.
- image_
name str - The name of the desired image for the bms server. Changing this creates a new BMS server.
- key_
pair str - The name of a key pair to put on the BMS server. The key pair must already be created and associated with the tenant's account. Changing this creates a new BMS server.
- metadata Mapping[str, str]
- Metadata key/value pairs to make available from within the instance. Changing this updates the existing BMS server metadata.
- name str
- The name of the BMS.
- networks
Sequence[Compute
Bms Server V2Network Args] - An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- region str
- security_
groups Sequence[str] - An array of one or more security group names to associate with the BMS server. Changing this results in adding/removing security groups from the existing BMS server.
- stop_
before_ booldestroy - Whether to try stop instance gracefully before destroying it, thus giving chance for guest OS daemons to stop correctly. If instance doesn't stop within timeout, it will be destroyed anyway.
- Mapping[str, str]
- Tags key/value pairs to associate with the instance.
- timeouts
Compute
Bms Server V2Timeouts Args - user_
data str - The user data to provide when launching the instance. Changing this creates a new BMS server.
- availability
Zone String - The availability zone in which to create the BMS server.
- admin
Pass String - The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- block
Devices List<Property Map> - compute
Bms StringServer V2Id - The id of the BMS server.
- flavor
Id String - The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- flavor
Name String - The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- image
Id String - Changing this creates a new bms server.
- image
Name String - The name of the desired image for the bms server. Changing this creates a new BMS server.
- key
Pair String - The name of a key pair to put on the BMS server. The key pair must already be created and associated with the tenant's account. Changing this creates a new BMS server.
- metadata Map<String>
- Metadata key/value pairs to make available from within the instance. Changing this updates the existing BMS server metadata.
- name String
- The name of the BMS.
- networks List<Property Map>
- An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- region String
- security
Groups List<String> - An array of one or more security group names to associate with the BMS server. Changing this results in adding/removing security groups from the existing BMS server.
- stop
Before BooleanDestroy - Whether to try stop instance gracefully before destroying it, thus giving chance for guest OS daemons to stop correctly. If instance doesn't stop within timeout, it will be destroyed anyway.
- Map<String>
- Tags key/value pairs to associate with the instance.
- timeouts Property Map
- user
Data String - The user data to provide when launching the instance. Changing this creates a new BMS server.
Outputs
All input properties are implicitly available as output properties. Additionally, the ComputeBmsServerV2 resource produces the following output properties:
- Access
Ip stringV4 - Access
Ip stringV6 - Config
Drive bool - Whether to use the config_drive feature to configure the instance.
- Host
Id string - Host
Status string - The nova-compute status:
UP
,UNKNOWN
,DOWN
,MAINTENANCE
andNull
. - Id string
- The provider-assigned unique ID for this managed resource.
- Kernel
Id string - The UUID of the kernel image when the AMI image is used.
- Tenant
Id string - User
Id string - The ID of the user to which the BMS belongs.
- Access
Ip stringV4 - Access
Ip stringV6 - Config
Drive bool - Whether to use the config_drive feature to configure the instance.
- Host
Id string - Host
Status string - The nova-compute status:
UP
,UNKNOWN
,DOWN
,MAINTENANCE
andNull
. - Id string
- The provider-assigned unique ID for this managed resource.
- Kernel
Id string - The UUID of the kernel image when the AMI image is used.
- Tenant
Id string - User
Id string - The ID of the user to which the BMS belongs.
- access
Ip StringV4 - access
Ip StringV6 - config
Drive Boolean - Whether to use the config_drive feature to configure the instance.
- host
Id String - host
Status String - The nova-compute status:
UP
,UNKNOWN
,DOWN
,MAINTENANCE
andNull
. - id String
- The provider-assigned unique ID for this managed resource.
- kernel
Id String - The UUID of the kernel image when the AMI image is used.
- tenant
Id String - user
Id String - The ID of the user to which the BMS belongs.
- access
Ip stringV4 - access
Ip stringV6 - config
Drive boolean - Whether to use the config_drive feature to configure the instance.
- host
Id string - host
Status string - The nova-compute status:
UP
,UNKNOWN
,DOWN
,MAINTENANCE
andNull
. - id string
- The provider-assigned unique ID for this managed resource.
- kernel
Id string - The UUID of the kernel image when the AMI image is used.
- tenant
Id string - user
Id string - The ID of the user to which the BMS belongs.
- access_
ip_ strv4 - access_
ip_ strv6 - config_
drive bool - Whether to use the config_drive feature to configure the instance.
- host_
id str - host_
status str - The nova-compute status:
UP
,UNKNOWN
,DOWN
,MAINTENANCE
andNull
. - id str
- The provider-assigned unique ID for this managed resource.
- kernel_
id str - The UUID of the kernel image when the AMI image is used.
- tenant_
id str - user_
id str - The ID of the user to which the BMS belongs.
- access
Ip StringV4 - access
Ip StringV6 - config
Drive Boolean - Whether to use the config_drive feature to configure the instance.
- host
Id String - host
Status String - The nova-compute status:
UP
,UNKNOWN
,DOWN
,MAINTENANCE
andNull
. - id String
- The provider-assigned unique ID for this managed resource.
- kernel
Id String - The UUID of the kernel image when the AMI image is used.
- tenant
Id String - user
Id String - The ID of the user to which the BMS belongs.
Look up Existing ComputeBmsServerV2 Resource
Get an existing ComputeBmsServerV2 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?: ComputeBmsServerV2State, opts?: CustomResourceOptions): ComputeBmsServerV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_ip_v4: Optional[str] = None,
access_ip_v6: Optional[str] = None,
admin_pass: Optional[str] = None,
availability_zone: Optional[str] = None,
block_devices: Optional[Sequence[ComputeBmsServerV2BlockDeviceArgs]] = None,
compute_bms_server_v2_id: Optional[str] = None,
config_drive: Optional[bool] = None,
flavor_id: Optional[str] = None,
flavor_name: Optional[str] = None,
host_id: Optional[str] = None,
host_status: Optional[str] = None,
image_id: Optional[str] = None,
image_name: Optional[str] = None,
kernel_id: Optional[str] = None,
key_pair: Optional[str] = None,
metadata: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
networks: Optional[Sequence[ComputeBmsServerV2NetworkArgs]] = None,
region: Optional[str] = None,
security_groups: Optional[Sequence[str]] = None,
stop_before_destroy: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
tenant_id: Optional[str] = None,
timeouts: Optional[ComputeBmsServerV2TimeoutsArgs] = None,
user_data: Optional[str] = None,
user_id: Optional[str] = None) -> ComputeBmsServerV2
func GetComputeBmsServerV2(ctx *Context, name string, id IDInput, state *ComputeBmsServerV2State, opts ...ResourceOption) (*ComputeBmsServerV2, error)
public static ComputeBmsServerV2 Get(string name, Input<string> id, ComputeBmsServerV2State? state, CustomResourceOptions? opts = null)
public static ComputeBmsServerV2 get(String name, Output<String> id, ComputeBmsServerV2State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:ComputeBmsServerV2 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.
- Access
Ip stringV4 - Access
Ip stringV6 - Admin
Pass string - The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- Availability
Zone string - The availability zone in which to create the BMS server.
- Block
Devices List<ComputeBms Server V2Block Device> - Compute
Bms stringServer V2Id - The id of the BMS server.
- Config
Drive bool - Whether to use the config_drive feature to configure the instance.
- Flavor
Id string - The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- Flavor
Name string - The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- Host
Id string - Host
Status string - The nova-compute status:
UP
,UNKNOWN
,DOWN
,MAINTENANCE
andNull
. - Image
Id string - Changing this creates a new bms server.
- Image
Name string - The name of the desired image for the bms server. Changing this creates a new BMS server.
- Kernel
Id string - The UUID of the kernel image when the AMI image is used.
- Key
Pair string - The name of a key pair to put on the BMS server. The key pair must already be created and associated with the tenant's account. Changing this creates a new BMS server.
- Metadata Dictionary<string, string>
- Metadata key/value pairs to make available from within the instance. Changing this updates the existing BMS server metadata.
- Name string
- The name of the BMS.
- Networks
List<Compute
Bms Server V2Network> - An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- Region string
- Security
Groups List<string> - An array of one or more security group names to associate with the BMS server. Changing this results in adding/removing security groups from the existing BMS server.
- Stop
Before boolDestroy - Whether to try stop instance gracefully before destroying it, thus giving chance for guest OS daemons to stop correctly. If instance doesn't stop within timeout, it will be destroyed anyway.
- Dictionary<string, string>
- Tags key/value pairs to associate with the instance.
- Tenant
Id string - Timeouts
Compute
Bms Server V2Timeouts - User
Data string - The user data to provide when launching the instance. Changing this creates a new BMS server.
- User
Id string - The ID of the user to which the BMS belongs.
- Access
Ip stringV4 - Access
Ip stringV6 - Admin
Pass string - The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- Availability
Zone string - The availability zone in which to create the BMS server.
- Block
Devices []ComputeBms Server V2Block Device Args - Compute
Bms stringServer V2Id - The id of the BMS server.
- Config
Drive bool - Whether to use the config_drive feature to configure the instance.
- Flavor
Id string - The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- Flavor
Name string - The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- Host
Id string - Host
Status string - The nova-compute status:
UP
,UNKNOWN
,DOWN
,MAINTENANCE
andNull
. - Image
Id string - Changing this creates a new bms server.
- Image
Name string - The name of the desired image for the bms server. Changing this creates a new BMS server.
- Kernel
Id string - The UUID of the kernel image when the AMI image is used.
- Key
Pair string - The name of a key pair to put on the BMS server. The key pair must already be created and associated with the tenant's account. Changing this creates a new BMS server.
- Metadata map[string]string
- Metadata key/value pairs to make available from within the instance. Changing this updates the existing BMS server metadata.
- Name string
- The name of the BMS.
- Networks
[]Compute
Bms Server V2Network Args - An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- Region string
- Security
Groups []string - An array of one or more security group names to associate with the BMS server. Changing this results in adding/removing security groups from the existing BMS server.
- Stop
Before boolDestroy - Whether to try stop instance gracefully before destroying it, thus giving chance for guest OS daemons to stop correctly. If instance doesn't stop within timeout, it will be destroyed anyway.
- map[string]string
- Tags key/value pairs to associate with the instance.
- Tenant
Id string - Timeouts
Compute
Bms Server V2Timeouts Args - User
Data string - The user data to provide when launching the instance. Changing this creates a new BMS server.
- User
Id string - The ID of the user to which the BMS belongs.
- access
Ip StringV4 - access
Ip StringV6 - admin
Pass String - The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- availability
Zone String - The availability zone in which to create the BMS server.
- block
Devices List<ComputeBms Server V2Block Device> - compute
Bms StringServer V2Id - The id of the BMS server.
- config
Drive Boolean - Whether to use the config_drive feature to configure the instance.
- flavor
Id String - The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- flavor
Name String - The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- host
Id String - host
Status String - The nova-compute status:
UP
,UNKNOWN
,DOWN
,MAINTENANCE
andNull
. - image
Id String - Changing this creates a new bms server.
- image
Name String - The name of the desired image for the bms server. Changing this creates a new BMS server.
- kernel
Id String - The UUID of the kernel image when the AMI image is used.
- key
Pair String - The name of a key pair to put on the BMS server. The key pair must already be created and associated with the tenant's account. Changing this creates a new BMS server.
- metadata Map<String,String>
- Metadata key/value pairs to make available from within the instance. Changing this updates the existing BMS server metadata.
- name String
- The name of the BMS.
- networks
List<Compute
Bms Server V2Network> - An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- region String
- security
Groups List<String> - An array of one or more security group names to associate with the BMS server. Changing this results in adding/removing security groups from the existing BMS server.
- stop
Before BooleanDestroy - Whether to try stop instance gracefully before destroying it, thus giving chance for guest OS daemons to stop correctly. If instance doesn't stop within timeout, it will be destroyed anyway.
- Map<String,String>
- Tags key/value pairs to associate with the instance.
- tenant
Id String - timeouts
Compute
Bms Server V2Timeouts - user
Data String - The user data to provide when launching the instance. Changing this creates a new BMS server.
- user
Id String - The ID of the user to which the BMS belongs.
- access
Ip stringV4 - access
Ip stringV6 - admin
Pass string - The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- availability
Zone string - The availability zone in which to create the BMS server.
- block
Devices ComputeBms Server V2Block Device[] - compute
Bms stringServer V2Id - The id of the BMS server.
- config
Drive boolean - Whether to use the config_drive feature to configure the instance.
- flavor
Id string - The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- flavor
Name string - The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- host
Id string - host
Status string - The nova-compute status:
UP
,UNKNOWN
,DOWN
,MAINTENANCE
andNull
. - image
Id string - Changing this creates a new bms server.
- image
Name string - The name of the desired image for the bms server. Changing this creates a new BMS server.
- kernel
Id string - The UUID of the kernel image when the AMI image is used.
- key
Pair string - The name of a key pair to put on the BMS server. The key pair must already be created and associated with the tenant's account. Changing this creates a new BMS server.
- metadata {[key: string]: string}
- Metadata key/value pairs to make available from within the instance. Changing this updates the existing BMS server metadata.
- name string
- The name of the BMS.
- networks
Compute
Bms Server V2Network[] - An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- region string
- security
Groups string[] - An array of one or more security group names to associate with the BMS server. Changing this results in adding/removing security groups from the existing BMS server.
- stop
Before booleanDestroy - Whether to try stop instance gracefully before destroying it, thus giving chance for guest OS daemons to stop correctly. If instance doesn't stop within timeout, it will be destroyed anyway.
- {[key: string]: string}
- Tags key/value pairs to associate with the instance.
- tenant
Id string - timeouts
Compute
Bms Server V2Timeouts - user
Data string - The user data to provide when launching the instance. Changing this creates a new BMS server.
- user
Id string - The ID of the user to which the BMS belongs.
- access_
ip_ strv4 - access_
ip_ strv6 - admin_
pass str - The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- availability_
zone str - The availability zone in which to create the BMS server.
- block_
devices Sequence[ComputeBms Server V2Block Device Args] - compute_
bms_ strserver_ v2_ id - The id of the BMS server.
- config_
drive bool - Whether to use the config_drive feature to configure the instance.
- flavor_
id str - The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- flavor_
name str - The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- host_
id str - host_
status str - The nova-compute status:
UP
,UNKNOWN
,DOWN
,MAINTENANCE
andNull
. - image_
id str - Changing this creates a new bms server.
- image_
name str - The name of the desired image for the bms server. Changing this creates a new BMS server.
- kernel_
id str - The UUID of the kernel image when the AMI image is used.
- key_
pair str - The name of a key pair to put on the BMS server. The key pair must already be created and associated with the tenant's account. Changing this creates a new BMS server.
- metadata Mapping[str, str]
- Metadata key/value pairs to make available from within the instance. Changing this updates the existing BMS server metadata.
- name str
- The name of the BMS.
- networks
Sequence[Compute
Bms Server V2Network Args] - An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- region str
- security_
groups Sequence[str] - An array of one or more security group names to associate with the BMS server. Changing this results in adding/removing security groups from the existing BMS server.
- stop_
before_ booldestroy - Whether to try stop instance gracefully before destroying it, thus giving chance for guest OS daemons to stop correctly. If instance doesn't stop within timeout, it will be destroyed anyway.
- Mapping[str, str]
- Tags key/value pairs to associate with the instance.
- tenant_
id str - timeouts
Compute
Bms Server V2Timeouts Args - user_
data str - The user data to provide when launching the instance. Changing this creates a new BMS server.
- user_
id str - The ID of the user to which the BMS belongs.
- access
Ip StringV4 - access
Ip StringV6 - admin
Pass String - The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- availability
Zone String - The availability zone in which to create the BMS server.
- block
Devices List<Property Map> - compute
Bms StringServer V2Id - The id of the BMS server.
- config
Drive Boolean - Whether to use the config_drive feature to configure the instance.
- flavor
Id String - The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- flavor
Name String - The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- host
Id String - host
Status String - The nova-compute status:
UP
,UNKNOWN
,DOWN
,MAINTENANCE
andNull
. - image
Id String - Changing this creates a new bms server.
- image
Name String - The name of the desired image for the bms server. Changing this creates a new BMS server.
- kernel
Id String - The UUID of the kernel image when the AMI image is used.
- key
Pair String - The name of a key pair to put on the BMS server. The key pair must already be created and associated with the tenant's account. Changing this creates a new BMS server.
- metadata Map<String>
- Metadata key/value pairs to make available from within the instance. Changing this updates the existing BMS server metadata.
- name String
- The name of the BMS.
- networks List<Property Map>
- An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- region String
- security
Groups List<String> - An array of one or more security group names to associate with the BMS server. Changing this results in adding/removing security groups from the existing BMS server.
- stop
Before BooleanDestroy - Whether to try stop instance gracefully before destroying it, thus giving chance for guest OS daemons to stop correctly. If instance doesn't stop within timeout, it will be destroyed anyway.
- Map<String>
- Tags key/value pairs to associate with the instance.
- tenant
Id String - timeouts Property Map
- user
Data String - The user data to provide when launching the instance. Changing this creates a new BMS server.
- user
Id String - The ID of the user to which the BMS belongs.
Supporting Types
ComputeBmsServerV2BlockDevice, ComputeBmsServerV2BlockDeviceArgs
- Source
Type string - Boot
Index double - Delete
On boolTermination - Destination
Type string - Device
Name string - Guest
Format string - Uuid string
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- Volume
Size double - Volume
Type string
- Source
Type string - Boot
Index float64 - Delete
On boolTermination - Destination
Type string - Device
Name string - Guest
Format string - Uuid string
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- Volume
Size float64 - Volume
Type string
- source
Type String - boot
Index Double - delete
On BooleanTermination - destination
Type String - device
Name String - guest
Format String - uuid String
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- volume
Size Double - volume
Type String
- source
Type string - boot
Index number - delete
On booleanTermination - destination
Type string - device
Name string - guest
Format string - uuid string
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- volume
Size number - volume
Type string
- source_
type str - boot_
index float - delete_
on_ booltermination - destination_
type str - device_
name str - guest_
format str - uuid str
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- volume_
size float - volume_
type str
- source
Type String - boot
Index Number - delete
On BooleanTermination - destination
Type String - device
Name String - guest
Format String - uuid String
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- volume
Size Number - volume
Type String
ComputeBmsServerV2Network, ComputeBmsServerV2NetworkArgs
- Access
Network bool - Specifies if this network should be used for provisioning access. Accepts true or false. Defaults to false.
- Fixed
Ip stringV4 - Specifies a fixed IPv4 address to be used on this network. Changing this creates a new BMS server.
- Fixed
Ip stringV6 - Specifies a fixed IPv6 address to be used on this network. Changing this creates a new BMS server.
- Mac string
- Name string
- The human-readable name of the network. Changing this creates a new BMS server.
- Port string
- The port UUID of a network to attach to the BMS server. Changing this creates a new server.
- Uuid string
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- Access
Network bool - Specifies if this network should be used for provisioning access. Accepts true or false. Defaults to false.
- Fixed
Ip stringV4 - Specifies a fixed IPv4 address to be used on this network. Changing this creates a new BMS server.
- Fixed
Ip stringV6 - Specifies a fixed IPv6 address to be used on this network. Changing this creates a new BMS server.
- Mac string
- Name string
- The human-readable name of the network. Changing this creates a new BMS server.
- Port string
- The port UUID of a network to attach to the BMS server. Changing this creates a new server.
- Uuid string
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- access
Network Boolean - Specifies if this network should be used for provisioning access. Accepts true or false. Defaults to false.
- fixed
Ip StringV4 - Specifies a fixed IPv4 address to be used on this network. Changing this creates a new BMS server.
- fixed
Ip StringV6 - Specifies a fixed IPv6 address to be used on this network. Changing this creates a new BMS server.
- mac String
- name String
- The human-readable name of the network. Changing this creates a new BMS server.
- port String
- The port UUID of a network to attach to the BMS server. Changing this creates a new server.
- uuid String
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- access
Network boolean - Specifies if this network should be used for provisioning access. Accepts true or false. Defaults to false.
- fixed
Ip stringV4 - Specifies a fixed IPv4 address to be used on this network. Changing this creates a new BMS server.
- fixed
Ip stringV6 - Specifies a fixed IPv6 address to be used on this network. Changing this creates a new BMS server.
- mac string
- name string
- The human-readable name of the network. Changing this creates a new BMS server.
- port string
- The port UUID of a network to attach to the BMS server. Changing this creates a new server.
- uuid string
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- access_
network bool - Specifies if this network should be used for provisioning access. Accepts true or false. Defaults to false.
- fixed_
ip_ strv4 - Specifies a fixed IPv4 address to be used on this network. Changing this creates a new BMS server.
- fixed_
ip_ strv6 - Specifies a fixed IPv6 address to be used on this network. Changing this creates a new BMS server.
- mac str
- name str
- The human-readable name of the network. Changing this creates a new BMS server.
- port str
- The port UUID of a network to attach to the BMS server. Changing this creates a new server.
- uuid str
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- access
Network Boolean - Specifies if this network should be used for provisioning access. Accepts true or false. Defaults to false.
- fixed
Ip StringV4 - Specifies a fixed IPv4 address to be used on this network. Changing this creates a new BMS server.
- fixed
Ip StringV6 - Specifies a fixed IPv6 address to be used on this network. Changing this creates a new BMS server.
- mac String
- name String
- The human-readable name of the network. Changing this creates a new BMS server.
- port String
- The port UUID of a network to attach to the BMS server. Changing this creates a new server.
- uuid String
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
ComputeBmsServerV2Timeouts, ComputeBmsServerV2TimeoutsArgs
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.