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: .ComputeBmsServerV2BlockDeviceArray{
&.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: .ComputeBmsServerV2NetworkArray{
&.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: &.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:
- AvailabilityZone string
- The availability zone in which to create the BMS server.
- AdminPass string
- The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- BlockDevices List<ComputeBms Server V2Block Device> 
- ComputeBms stringServer V2Id 
- The id of the BMS server.
- FlavorId string
- The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- FlavorName string
- The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- ImageId string
- Changing this creates a new bms server.
- ImageName string
- The name of the desired image for the bms server. Changing this creates a new BMS server.
- KeyPair 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<ComputeBms Server V2Network> 
- An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- Region string
- SecurityGroups 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.
- StopBefore 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
ComputeBms Server V2Timeouts 
- UserData string
- The user data to provide when launching the instance. Changing this creates a new BMS server.
- AvailabilityZone string
- The availability zone in which to create the BMS server.
- AdminPass string
- The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- BlockDevices []ComputeBms Server V2Block Device Args 
- ComputeBms stringServer V2Id 
- The id of the BMS server.
- FlavorId string
- The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- FlavorName string
- The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- ImageId string
- Changing this creates a new bms server.
- ImageName string
- The name of the desired image for the bms server. Changing this creates a new BMS server.
- KeyPair 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
[]ComputeBms 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
- SecurityGroups []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.
- StopBefore 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
ComputeBms Server V2Timeouts Args 
- UserData string
- The user data to provide when launching the instance. Changing this creates a new BMS server.
- availabilityZone String
- The availability zone in which to create the BMS server.
- adminPass String
- The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- blockDevices List<ComputeBms Server V2Block Device> 
- computeBms StringServer V2Id 
- The id of the BMS server.
- flavorId String
- The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- flavorName String
- The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- imageId String
- Changing this creates a new bms server.
- imageName String
- The name of the desired image for the bms server. Changing this creates a new BMS server.
- keyPair 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<ComputeBms Server V2Network> 
- An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- region String
- securityGroups 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.
- stopBefore 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
ComputeBms Server V2Timeouts 
- userData String
- The user data to provide when launching the instance. Changing this creates a new BMS server.
- availabilityZone string
- The availability zone in which to create the BMS server.
- adminPass string
- The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- blockDevices ComputeBms Server V2Block Device[] 
- computeBms stringServer V2Id 
- The id of the BMS server.
- flavorId string
- The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- flavorName string
- The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- imageId string
- Changing this creates a new bms server.
- imageName string
- The name of the desired image for the bms server. Changing this creates a new BMS server.
- keyPair 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
ComputeBms Server V2Network[] 
- An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- region string
- securityGroups 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.
- stopBefore 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
ComputeBms Server V2Timeouts 
- userData 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[ComputeBms 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
ComputeBms Server V2Timeouts Args 
- user_data str
- The user data to provide when launching the instance. Changing this creates a new BMS server.
- availabilityZone String
- The availability zone in which to create the BMS server.
- adminPass String
- The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- blockDevices List<Property Map>
- computeBms StringServer V2Id 
- The id of the BMS server.
- flavorId String
- The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- flavorName String
- The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- imageId String
- Changing this creates a new bms server.
- imageName String
- The name of the desired image for the bms server. Changing this creates a new BMS server.
- keyPair 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
- securityGroups 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.
- stopBefore 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
- userData 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:
- AccessIp stringV4 
- AccessIp stringV6 
- ConfigDrive bool
- Whether to use the config_drive feature to configure the instance.
- HostId string
- HostStatus string
- The nova-compute status: UP,UNKNOWN,DOWN,MAINTENANCEandNull.
- Id string
- The provider-assigned unique ID for this managed resource.
- KernelId string
- The UUID of the kernel image when the AMI image is used.
- TenantId string
- UserId string
- The ID of the user to which the BMS belongs.
- AccessIp stringV4 
- AccessIp stringV6 
- ConfigDrive bool
- Whether to use the config_drive feature to configure the instance.
- HostId string
- HostStatus string
- The nova-compute status: UP,UNKNOWN,DOWN,MAINTENANCEandNull.
- Id string
- The provider-assigned unique ID for this managed resource.
- KernelId string
- The UUID of the kernel image when the AMI image is used.
- TenantId string
- UserId string
- The ID of the user to which the BMS belongs.
- accessIp StringV4 
- accessIp StringV6 
- configDrive Boolean
- Whether to use the config_drive feature to configure the instance.
- hostId String
- hostStatus String
- The nova-compute status: UP,UNKNOWN,DOWN,MAINTENANCEandNull.
- id String
- The provider-assigned unique ID for this managed resource.
- kernelId String
- The UUID of the kernel image when the AMI image is used.
- tenantId String
- userId String
- The ID of the user to which the BMS belongs.
- accessIp stringV4 
- accessIp stringV6 
- configDrive boolean
- Whether to use the config_drive feature to configure the instance.
- hostId string
- hostStatus string
- The nova-compute status: UP,UNKNOWN,DOWN,MAINTENANCEandNull.
- id string
- The provider-assigned unique ID for this managed resource.
- kernelId string
- The UUID of the kernel image when the AMI image is used.
- tenantId string
- userId 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,MAINTENANCEandNull.
- 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.
- accessIp StringV4 
- accessIp StringV6 
- configDrive Boolean
- Whether to use the config_drive feature to configure the instance.
- hostId String
- hostStatus String
- The nova-compute status: UP,UNKNOWN,DOWN,MAINTENANCEandNull.
- id String
- The provider-assigned unique ID for this managed resource.
- kernelId String
- The UUID of the kernel image when the AMI image is used.
- tenantId String
- userId 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) -> ComputeBmsServerV2func 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.
- AccessIp stringV4 
- AccessIp stringV6 
- AdminPass string
- The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- AvailabilityZone string
- The availability zone in which to create the BMS server.
- BlockDevices List<ComputeBms Server V2Block Device> 
- ComputeBms stringServer V2Id 
- The id of the BMS server.
- ConfigDrive bool
- Whether to use the config_drive feature to configure the instance.
- FlavorId string
- The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- FlavorName string
- The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- HostId string
- HostStatus string
- The nova-compute status: UP,UNKNOWN,DOWN,MAINTENANCEandNull.
- ImageId string
- Changing this creates a new bms server.
- ImageName string
- The name of the desired image for the bms server. Changing this creates a new BMS server.
- KernelId string
- The UUID of the kernel image when the AMI image is used.
- KeyPair 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<ComputeBms Server V2Network> 
- An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- Region string
- SecurityGroups 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.
- StopBefore 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.
- TenantId string
- Timeouts
ComputeBms Server V2Timeouts 
- UserData string
- The user data to provide when launching the instance. Changing this creates a new BMS server.
- UserId string
- The ID of the user to which the BMS belongs.
- AccessIp stringV4 
- AccessIp stringV6 
- AdminPass string
- The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- AvailabilityZone string
- The availability zone in which to create the BMS server.
- BlockDevices []ComputeBms Server V2Block Device Args 
- ComputeBms stringServer V2Id 
- The id of the BMS server.
- ConfigDrive bool
- Whether to use the config_drive feature to configure the instance.
- FlavorId string
- The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- FlavorName string
- The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- HostId string
- HostStatus string
- The nova-compute status: UP,UNKNOWN,DOWN,MAINTENANCEandNull.
- ImageId string
- Changing this creates a new bms server.
- ImageName string
- The name of the desired image for the bms server. Changing this creates a new BMS server.
- KernelId string
- The UUID of the kernel image when the AMI image is used.
- KeyPair 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
[]ComputeBms 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
- SecurityGroups []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.
- StopBefore 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.
- TenantId string
- Timeouts
ComputeBms Server V2Timeouts Args 
- UserData string
- The user data to provide when launching the instance. Changing this creates a new BMS server.
- UserId string
- The ID of the user to which the BMS belongs.
- accessIp StringV4 
- accessIp StringV6 
- adminPass String
- The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- availabilityZone String
- The availability zone in which to create the BMS server.
- blockDevices List<ComputeBms Server V2Block Device> 
- computeBms StringServer V2Id 
- The id of the BMS server.
- configDrive Boolean
- Whether to use the config_drive feature to configure the instance.
- flavorId String
- The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- flavorName String
- The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- hostId String
- hostStatus String
- The nova-compute status: UP,UNKNOWN,DOWN,MAINTENANCEandNull.
- imageId String
- Changing this creates a new bms server.
- imageName String
- The name of the desired image for the bms server. Changing this creates a new BMS server.
- kernelId String
- The UUID of the kernel image when the AMI image is used.
- keyPair 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<ComputeBms Server V2Network> 
- An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- region String
- securityGroups 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.
- stopBefore 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.
- tenantId String
- timeouts
ComputeBms Server V2Timeouts 
- userData String
- The user data to provide when launching the instance. Changing this creates a new BMS server.
- userId String
- The ID of the user to which the BMS belongs.
- accessIp stringV4 
- accessIp stringV6 
- adminPass string
- The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- availabilityZone string
- The availability zone in which to create the BMS server.
- blockDevices ComputeBms Server V2Block Device[] 
- computeBms stringServer V2Id 
- The id of the BMS server.
- configDrive boolean
- Whether to use the config_drive feature to configure the instance.
- flavorId string
- The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- flavorName string
- The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- hostId string
- hostStatus string
- The nova-compute status: UP,UNKNOWN,DOWN,MAINTENANCEandNull.
- imageId string
- Changing this creates a new bms server.
- imageName string
- The name of the desired image for the bms server. Changing this creates a new BMS server.
- kernelId string
- The UUID of the kernel image when the AMI image is used.
- keyPair 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
ComputeBms Server V2Network[] 
- An array of one or more networks to attach to the BMS instance. Changing this creates a new BMS server.
- region string
- securityGroups 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.
- stopBefore 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.
- tenantId string
- timeouts
ComputeBms Server V2Timeouts 
- userData string
- The user data to provide when launching the instance. Changing this creates a new BMS server.
- userId 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,MAINTENANCEandNull.
- 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[ComputeBms 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
ComputeBms 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.
- accessIp StringV4 
- accessIp StringV6 
- adminPass String
- The administrative password to assign to the BMS server. Changing this changes the root password on the existing server.
- availabilityZone String
- The availability zone in which to create the BMS server.
- blockDevices List<Property Map>
- computeBms StringServer V2Id 
- The id of the BMS server.
- configDrive Boolean
- Whether to use the config_drive feature to configure the instance.
- flavorId String
- The flavor ID of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- flavorName String
- The name of the desired flavor for the BMS server. Changing this resizes the existing BMS server.
- hostId String
- hostStatus String
- The nova-compute status: UP,UNKNOWN,DOWN,MAINTENANCEandNull.
- imageId String
- Changing this creates a new bms server.
- imageName String
- The name of the desired image for the bms server. Changing this creates a new BMS server.
- kernelId String
- The UUID of the kernel image when the AMI image is used.
- keyPair 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
- securityGroups 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.
- stopBefore 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.
- tenantId String
- timeouts Property Map
- userData String
- The user data to provide when launching the instance. Changing this creates a new BMS server.
- userId String
- The ID of the user to which the BMS belongs.
Supporting Types
ComputeBmsServerV2BlockDevice, ComputeBmsServerV2BlockDeviceArgs          
- SourceType string
- BootIndex double
- DeleteOn boolTermination 
- DestinationType string
- DeviceName string
- GuestFormat string
- Uuid string
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- VolumeSize double
- VolumeType string
- SourceType string
- BootIndex float64
- DeleteOn boolTermination 
- DestinationType string
- DeviceName string
- GuestFormat string
- Uuid string
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- VolumeSize float64
- VolumeType string
- sourceType String
- bootIndex Double
- deleteOn BooleanTermination 
- destinationType String
- deviceName String
- guestFormat String
- uuid String
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- volumeSize Double
- volumeType String
- sourceType string
- bootIndex number
- deleteOn booleanTermination 
- destinationType string
- deviceName string
- guestFormat string
- uuid string
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- volumeSize number
- volumeType 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
- sourceType String
- bootIndex Number
- deleteOn BooleanTermination 
- destinationType String
- deviceName String
- guestFormat String
- uuid String
- The network UUID to attach to the BMS server. Changing this creates a new BMS server.
- volumeSize Number
- volumeType String
ComputeBmsServerV2Network, ComputeBmsServerV2NetworkArgs        
- AccessNetwork bool
- Specifies if this network should be used for provisioning access. Accepts true or false. Defaults to false.
- FixedIp stringV4 
- Specifies a fixed IPv4 address to be used on this network. Changing this creates a new BMS server.
- FixedIp 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.
- AccessNetwork bool
- Specifies if this network should be used for provisioning access. Accepts true or false. Defaults to false.
- FixedIp stringV4 
- Specifies a fixed IPv4 address to be used on this network. Changing this creates a new BMS server.
- FixedIp 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.
- accessNetwork Boolean
- Specifies if this network should be used for provisioning access. Accepts true or false. Defaults to false.
- fixedIp StringV4 
- Specifies a fixed IPv4 address to be used on this network. Changing this creates a new BMS server.
- fixedIp 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.
- accessNetwork boolean
- Specifies if this network should be used for provisioning access. Accepts true or false. Defaults to false.
- fixedIp stringV4 
- Specifies a fixed IPv4 address to be used on this network. Changing this creates a new BMS server.
- fixedIp 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.
- accessNetwork Boolean
- Specifies if this network should be used for provisioning access. Accepts true or false. Defaults to false.
- fixedIp StringV4 
- Specifies a fixed IPv4 address to be used on this network. Changing this creates a new BMS server.
- fixedIp 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 opentelekomcloudTerraform Provider.