opennebula.VirtualMachine
Explore with Pulumi AI
Provides an OpenNebula virtual machine resource.
This resource allows you to manage virtual machines on your OpenNebula clusters. When applied, a new virtual machine is created. When destroyed, this virtual machine is removed.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opennebula from "@pulumi/opennebula";
const example: opennebula.VirtualMachine[] = [];
for (const range = {value: 0}; range.value < 2; range.value++) {
example.push(new opennebula.VirtualMachine(`example-${range.value}`, {
description: "VM",
cpu: 1,
vcpu: 1,
memory: 1024,
group: "terraform",
permissions: "660",
context: {
NETWORK: "YES",
HOSTNAME: "$NAME",
START_SCRIPT: "yum upgrade",
},
graphics: {
type: "VNC",
listen: "0.0.0.0",
keymap: "fr",
},
os: {
arch: "x86_64",
boot: "disk0",
},
disks: [{
imageId: opennebula_image.example.id,
size: 10000,
target: "vda",
driver: "qcow2",
}],
onDiskChange: "RECREATE",
nics: [{
name: "vm-nic-1",
model: "virtio",
networkId: _var.vnetid,
securityGroups: [opennebula_security_group.example.id],
dns: "1.1.1.1",
}],
nicAliases: [{
parent: "vm-nic-1",
networkId: _var.vnetid,
ip: "172.20.0.45",
}],
vmgroup: {
vmgroupId: 42,
role: "vmgroup-role",
},
schedRequirements: "FREE_CPU > 60",
tags: {
environment: "example",
},
templateSections: [{
name: "example",
elements: {
key1: "value1",
},
}],
}));
}
import pulumi
import pulumi_opennebula as opennebula
example = []
for range in [{"value": i} for i in range(0, 2)]:
example.append(opennebula.VirtualMachine(f"example-{range['value']}",
description="VM",
cpu=1,
vcpu=1,
memory=1024,
group="terraform",
permissions="660",
context={
"NETWORK": "YES",
"HOSTNAME": "$NAME",
"START_SCRIPT": "yum upgrade",
},
graphics={
"type": "VNC",
"listen": "0.0.0.0",
"keymap": "fr",
},
os={
"arch": "x86_64",
"boot": "disk0",
},
disks=[{
"image_id": opennebula_image["example"]["id"],
"size": 10000,
"target": "vda",
"driver": "qcow2",
}],
on_disk_change="RECREATE",
nics=[{
"name": "vm-nic-1",
"model": "virtio",
"network_id": var["vnetid"],
"security_groups": [opennebula_security_group["example"]["id"]],
"dns": "1.1.1.1",
}],
nic_aliases=[{
"parent": "vm-nic-1",
"network_id": var["vnetid"],
"ip": "172.20.0.45",
}],
vmgroup={
"vmgroup_id": 42,
"role": "vmgroup-role",
},
sched_requirements="FREE_CPU > 60",
tags={
"environment": "example",
},
template_sections=[{
"name": "example",
"elements": {
"key1": "value1",
},
}]))
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opennebula/opennebula"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
var example []*opennebula.VirtualMachine
for index := 0; index < 2; index++ {
key0 := index
_ := index
__res, err := opennebula.NewVirtualMachine(ctx, fmt.Sprintf("example-%v", key0), &opennebula.VirtualMachineArgs{
Description: pulumi.String("VM"),
Cpu: pulumi.Float64(1),
Vcpu: pulumi.Float64(1),
Memory: pulumi.Float64(1024),
Group: pulumi.String("terraform"),
Permissions: pulumi.String("660"),
Context: pulumi.StringMap{
"NETWORK": pulumi.String("YES"),
"HOSTNAME": pulumi.String("$NAME"),
"START_SCRIPT": pulumi.String("yum upgrade"),
},
Graphics: &opennebula.VirtualMachineGraphicsArgs{
Type: pulumi.String("VNC"),
Listen: pulumi.String("0.0.0.0"),
Keymap: pulumi.String("fr"),
},
Os: &opennebula.VirtualMachineOsArgs{
Arch: pulumi.String("x86_64"),
Boot: pulumi.String("disk0"),
},
Disks: opennebula.VirtualMachineDiskArray{
&opennebula.VirtualMachineDiskArgs{
ImageId: pulumi.Any(opennebula_image.Example.Id),
Size: pulumi.Float64(10000),
Target: pulumi.String("vda"),
Driver: pulumi.String("qcow2"),
},
},
OnDiskChange: pulumi.String("RECREATE"),
Nics: opennebula.VirtualMachineNicArray{
&opennebula.VirtualMachineNicArgs{
Name: pulumi.String("vm-nic-1"),
Model: pulumi.String("virtio"),
NetworkId: pulumi.Any(_var.Vnetid),
SecurityGroups: pulumi.Float64Array{
opennebula_security_group.Example.Id,
},
Dns: pulumi.String("1.1.1.1"),
},
},
NicAliases: opennebula.VirtualMachineNicAliasArray{
&opennebula.VirtualMachineNicAliasArgs{
Parent: pulumi.String("vm-nic-1"),
NetworkId: pulumi.Any(_var.Vnetid),
Ip: pulumi.String("172.20.0.45"),
},
},
Vmgroup: &opennebula.VirtualMachineVmgroupArgs{
VmgroupId: pulumi.Float64(42),
Role: pulumi.String("vmgroup-role"),
},
SchedRequirements: pulumi.String("FREE_CPU > 60"),
Tags: pulumi.StringMap{
"environment": pulumi.String("example"),
},
TemplateSections: opennebula.VirtualMachineTemplateSectionArray{
&opennebula.VirtualMachineTemplateSectionArgs{
Name: pulumi.String("example"),
Elements: pulumi.StringMap{
"key1": pulumi.String("value1"),
},
},
},
})
if err != nil {
return err
}
example = append(example, __res)
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opennebula = Pulumi.Opennebula;
return await Deployment.RunAsync(() =>
{
var example = new List<Opennebula.VirtualMachine>();
for (var rangeIndex = 0; rangeIndex < 2; rangeIndex++)
{
var range = new { Value = rangeIndex };
example.Add(new Opennebula.VirtualMachine($"example-{range.Value}", new()
{
Description = "VM",
Cpu = 1,
Vcpu = 1,
Memory = 1024,
Group = "terraform",
Permissions = "660",
Context =
{
{ "NETWORK", "YES" },
{ "HOSTNAME", "$NAME" },
{ "START_SCRIPT", "yum upgrade" },
},
Graphics = new Opennebula.Inputs.VirtualMachineGraphicsArgs
{
Type = "VNC",
Listen = "0.0.0.0",
Keymap = "fr",
},
Os = new Opennebula.Inputs.VirtualMachineOsArgs
{
Arch = "x86_64",
Boot = "disk0",
},
Disks = new[]
{
new Opennebula.Inputs.VirtualMachineDiskArgs
{
ImageId = opennebula_image.Example.Id,
Size = 10000,
Target = "vda",
Driver = "qcow2",
},
},
OnDiskChange = "RECREATE",
Nics = new[]
{
new Opennebula.Inputs.VirtualMachineNicArgs
{
Name = "vm-nic-1",
Model = "virtio",
NetworkId = @var.Vnetid,
SecurityGroups = new[]
{
opennebula_security_group.Example.Id,
},
Dns = "1.1.1.1",
},
},
NicAliases = new[]
{
new Opennebula.Inputs.VirtualMachineNicAliasArgs
{
Parent = "vm-nic-1",
NetworkId = @var.Vnetid,
Ip = "172.20.0.45",
},
},
Vmgroup = new Opennebula.Inputs.VirtualMachineVmgroupArgs
{
VmgroupId = 42,
Role = "vmgroup-role",
},
SchedRequirements = "FREE_CPU > 60",
Tags =
{
{ "environment", "example" },
},
TemplateSections = new[]
{
new Opennebula.Inputs.VirtualMachineTemplateSectionArgs
{
Name = "example",
Elements =
{
{ "key1", "value1" },
},
},
},
}));
}
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opennebula.VirtualMachine;
import com.pulumi.opennebula.VirtualMachineArgs;
import com.pulumi.opennebula.inputs.VirtualMachineGraphicsArgs;
import com.pulumi.opennebula.inputs.VirtualMachineOsArgs;
import com.pulumi.opennebula.inputs.VirtualMachineDiskArgs;
import com.pulumi.opennebula.inputs.VirtualMachineNicArgs;
import com.pulumi.opennebula.inputs.VirtualMachineNicAliasArgs;
import com.pulumi.opennebula.inputs.VirtualMachineVmgroupArgs;
import com.pulumi.opennebula.inputs.VirtualMachineTemplateSectionArgs;
import com.pulumi.codegen.internal.KeyedValue;
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) {
for (var i = 0; i < 2; i++) {
new VirtualMachine("example-" + i, VirtualMachineArgs.builder()
.description("VM")
.cpu(1)
.vcpu(1)
.memory(1024)
.group("terraform")
.permissions("660")
.context(Map.ofEntries(
Map.entry("NETWORK", "YES"),
Map.entry("HOSTNAME", "$NAME"),
Map.entry("START_SCRIPT", "yum upgrade")
))
.graphics(VirtualMachineGraphicsArgs.builder()
.type("VNC")
.listen("0.0.0.0")
.keymap("fr")
.build())
.os(VirtualMachineOsArgs.builder()
.arch("x86_64")
.boot("disk0")
.build())
.disks(VirtualMachineDiskArgs.builder()
.imageId(opennebula_image.example().id())
.size(10000)
.target("vda")
.driver("qcow2")
.build())
.onDiskChange("RECREATE")
.nics(VirtualMachineNicArgs.builder()
.name("vm-nic-1")
.model("virtio")
.networkId(var_.vnetid())
.securityGroups(opennebula_security_group.example().id())
.dns("1.1.1.1")
.build())
.nicAliases(VirtualMachineNicAliasArgs.builder()
.parent("vm-nic-1")
.networkId(var_.vnetid())
.ip("172.20.0.45")
.build())
.vmgroup(VirtualMachineVmgroupArgs.builder()
.vmgroupId(42)
.role("vmgroup-role")
.build())
.schedRequirements("FREE_CPU > 60")
.tags(Map.of("environment", "example"))
.templateSections(VirtualMachineTemplateSectionArgs.builder()
.name("example")
.elements(Map.of("key1", "value1"))
.build())
.build());
}
}
}
resources:
example:
type: opennebula:VirtualMachine
properties:
description: VM
cpu: 1
vcpu: 1
memory: 1024
group: terraform
permissions: '660'
context:
NETWORK: YES
HOSTNAME: $NAME
START_SCRIPT: yum upgrade
graphics:
type: VNC
listen: 0.0.0.0
keymap: fr
os:
arch: x86_64
boot: disk0
disks:
- imageId: ${opennebula_image.example.id}
size: 10000
target: vda
driver: qcow2
onDiskChange: RECREATE
nics:
- name: vm-nic-1
model: virtio
networkId: ${var.vnetid}
securityGroups:
- ${opennebula_security_group.example.id}
dns: 1.1.1.1
nicAliases:
- parent: vm-nic-1
networkId: ${var.vnetid}
ip: 172.20.0.45
vmgroup:
vmgroupId: 42
role: vmgroup-role
schedRequirements: FREE_CPU > 60
tags:
environment: example
templateSections:
- name: example
elements:
key1: value1
options: {}
Instantiate from a template
When the attribute template_id
is set, here is the behavior:
For all parameters excepted context: parameters present in VM overrides parameters defined in template. For context: it merges them.
For disks and NICs defined in the template, if they are not overriden, are described in template_disk
, template_nic
and template_nic_alias
attributes of the instantiated VM and are not modifiable anymore.
Create VirtualMachine Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualMachine(name: string, args?: VirtualMachineArgs, opts?: CustomResourceOptions);
@overload
def VirtualMachine(resource_name: str,
args: Optional[VirtualMachineArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualMachine(resource_name: str,
opts: Optional[ResourceOptions] = None,
context: Optional[Mapping[str, str]] = None,
cpu: Optional[float] = None,
cpumodel: Optional[VirtualMachineCpumodelArgs] = None,
description: Optional[str] = None,
disks: Optional[Sequence[VirtualMachineDiskArgs]] = None,
graphics: Optional[VirtualMachineGraphicsArgs] = None,
group: Optional[str] = None,
hard_shutdown: Optional[bool] = None,
keep_nic_order: Optional[bool] = None,
lock: Optional[str] = None,
memory: Optional[float] = None,
name: Optional[str] = None,
nic_aliases: Optional[Sequence[VirtualMachineNicAliasArgs]] = None,
nics: Optional[Sequence[VirtualMachineNicArgs]] = None,
on_disk_change: Optional[str] = None,
os: Optional[VirtualMachineOsArgs] = None,
pending: Optional[bool] = None,
permissions: Optional[str] = None,
raw: Optional[VirtualMachineRawArgs] = None,
sched_ds_requirements: Optional[str] = None,
sched_requirements: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
template_id: Optional[float] = None,
template_sections: Optional[Sequence[VirtualMachineTemplateSectionArgs]] = None,
timeout: Optional[float] = None,
timeouts: Optional[VirtualMachineTimeoutsArgs] = None,
vcpu: Optional[float] = None,
virtual_machine_id: Optional[str] = None,
vmgroup: Optional[VirtualMachineVmgroupArgs] = None)
func NewVirtualMachine(ctx *Context, name string, args *VirtualMachineArgs, opts ...ResourceOption) (*VirtualMachine, error)
public VirtualMachine(string name, VirtualMachineArgs? args = null, CustomResourceOptions? opts = null)
public VirtualMachine(String name, VirtualMachineArgs args)
public VirtualMachine(String name, VirtualMachineArgs args, CustomResourceOptions options)
type: opennebula:VirtualMachine
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 VirtualMachineArgs
- 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 VirtualMachineArgs
- 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 VirtualMachineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualMachineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualMachineArgs
- 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 virtualMachineResource = new Opennebula.VirtualMachine("virtualMachineResource", new()
{
Context =
{
{ "string", "string" },
},
Cpu = 0,
Cpumodel = new Opennebula.Inputs.VirtualMachineCpumodelArgs
{
Model = "string",
},
Description = "string",
Disks = new[]
{
new Opennebula.Inputs.VirtualMachineDiskArgs
{
Cache = "string",
ComputedCache = "string",
ComputedDevPrefix = "string",
ComputedDiscard = "string",
ComputedDriver = "string",
ComputedIo = "string",
ComputedSize = 0,
ComputedTarget = "string",
ComputedVolatileFormat = "string",
DevPrefix = "string",
Discard = "string",
DiskId = 0,
Driver = "string",
ImageId = 0,
Io = "string",
Size = 0,
Target = "string",
VolatileFormat = "string",
VolatileType = "string",
},
},
Graphics = new Opennebula.Inputs.VirtualMachineGraphicsArgs
{
Listen = "string",
Type = "string",
Keymap = "string",
Passwd = "string",
Port = "string",
RandomPasswd = false,
},
Group = "string",
HardShutdown = false,
KeepNicOrder = false,
Lock = "string",
Memory = 0,
Name = "string",
NicAliases = new[]
{
new Opennebula.Inputs.VirtualMachineNicAliasArgs
{
Parent = "string",
ComputedParentId = 0,
Ip6Global = "string",
ComputedIp = "string",
ComputedIp6 = "string",
ComputedIp6Global = "string",
ComputedIp6Link = "string",
ComputedIp6Ula = "string",
ComputedMac = "string",
ComputedMethod = "string",
ComputedName = "string",
ComputedNetwork = "string",
ComputedNetworkId = 0,
ComputedParent = "string",
ComputedAliasId = 0,
ComputedGateway = "string",
Gateway = "string",
ComputedSecurityGroups = new[]
{
0,
},
Ip = "string",
Ip6 = "string",
Dns = "string",
Ip6Link = "string",
Ip6Ula = "string",
Mac = "string",
Name = "string",
Network = "string",
NetworkId = 0,
NicId = 0,
ComputedDns = "string",
SecurityGroups = new[]
{
0,
},
},
},
Nics = new[]
{
new Opennebula.Inputs.VirtualMachineNicArgs
{
ComputedAliasIds = "string",
ComputedDns = "string",
ComputedGateway = "string",
ComputedIp = "string",
ComputedIp6 = "string",
ComputedIp6Global = "string",
ComputedIp6Link = "string",
ComputedIp6Ula = "string",
ComputedMac = "string",
ComputedMethod = "string",
ComputedModel = "string",
ComputedName = "string",
ComputedPhysicalDevice = "string",
ComputedSecurityGroups = new[]
{
0,
},
ComputedVirtioQueues = "string",
Dns = "string",
Gateway = "string",
Ip = "string",
Ip6 = "string",
Ip6Global = "string",
Ip6Link = "string",
Ip6Ula = "string",
Mac = "string",
Method = "string",
Model = "string",
Name = "string",
Network = "string",
NetworkId = 0,
NetworkModeAuto = false,
NicId = 0,
PhysicalDevice = "string",
SchedRank = "string",
SchedRequirements = "string",
SecurityGroups = new[]
{
0,
},
VirtioQueues = "string",
},
},
OnDiskChange = "string",
Os = new Opennebula.Inputs.VirtualMachineOsArgs
{
Arch = "string",
Boot = "string",
Bootloader = "string",
Firmware = "string",
FirmwareSecure = false,
Initrd = "string",
InitrdDs = "string",
Kernel = "string",
KernelCmd = "string",
KernelDs = "string",
Machine = "string",
Root = "string",
SdDiskBus = "string",
Uuid = "string",
},
Pending = false,
Permissions = "string",
Raw = new Opennebula.Inputs.VirtualMachineRawArgs
{
Data = "string",
Type = "string",
},
SchedDsRequirements = "string",
SchedRequirements = "string",
Tags =
{
{ "string", "string" },
},
TemplateId = 0,
TemplateSections = new[]
{
new Opennebula.Inputs.VirtualMachineTemplateSectionArgs
{
Name = "string",
Elements =
{
{ "string", "string" },
},
},
},
Timeouts = new Opennebula.Inputs.VirtualMachineTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
Vcpu = 0,
VirtualMachineId = "string",
Vmgroup = new Opennebula.Inputs.VirtualMachineVmgroupArgs
{
Role = "string",
VmgroupId = 0,
},
});
example, err := opennebula.NewVirtualMachine(ctx, "virtualMachineResource", &opennebula.VirtualMachineArgs{
Context: pulumi.StringMap{
"string": pulumi.String("string"),
},
Cpu: pulumi.Float64(0),
Cpumodel: &opennebula.VirtualMachineCpumodelArgs{
Model: pulumi.String("string"),
},
Description: pulumi.String("string"),
Disks: opennebula.VirtualMachineDiskArray{
&opennebula.VirtualMachineDiskArgs{
Cache: pulumi.String("string"),
ComputedCache: pulumi.String("string"),
ComputedDevPrefix: pulumi.String("string"),
ComputedDiscard: pulumi.String("string"),
ComputedDriver: pulumi.String("string"),
ComputedIo: pulumi.String("string"),
ComputedSize: pulumi.Float64(0),
ComputedTarget: pulumi.String("string"),
ComputedVolatileFormat: pulumi.String("string"),
DevPrefix: pulumi.String("string"),
Discard: pulumi.String("string"),
DiskId: pulumi.Float64(0),
Driver: pulumi.String("string"),
ImageId: pulumi.Float64(0),
Io: pulumi.String("string"),
Size: pulumi.Float64(0),
Target: pulumi.String("string"),
VolatileFormat: pulumi.String("string"),
VolatileType: pulumi.String("string"),
},
},
Graphics: &opennebula.VirtualMachineGraphicsArgs{
Listen: pulumi.String("string"),
Type: pulumi.String("string"),
Keymap: pulumi.String("string"),
Passwd: pulumi.String("string"),
Port: pulumi.String("string"),
RandomPasswd: pulumi.Bool(false),
},
Group: pulumi.String("string"),
HardShutdown: pulumi.Bool(false),
KeepNicOrder: pulumi.Bool(false),
Lock: pulumi.String("string"),
Memory: pulumi.Float64(0),
Name: pulumi.String("string"),
NicAliases: opennebula.VirtualMachineNicAliasArray{
&opennebula.VirtualMachineNicAliasArgs{
Parent: pulumi.String("string"),
ComputedParentId: pulumi.Float64(0),
Ip6Global: pulumi.String("string"),
ComputedIp: pulumi.String("string"),
ComputedIp6: pulumi.String("string"),
ComputedIp6Global: pulumi.String("string"),
ComputedIp6Link: pulumi.String("string"),
ComputedIp6Ula: pulumi.String("string"),
ComputedMac: pulumi.String("string"),
ComputedMethod: pulumi.String("string"),
ComputedName: pulumi.String("string"),
ComputedNetwork: pulumi.String("string"),
ComputedNetworkId: pulumi.Float64(0),
ComputedParent: pulumi.String("string"),
ComputedAliasId: pulumi.Float64(0),
ComputedGateway: pulumi.String("string"),
Gateway: pulumi.String("string"),
ComputedSecurityGroups: pulumi.Float64Array{
pulumi.Float64(0),
},
Ip: pulumi.String("string"),
Ip6: pulumi.String("string"),
Dns: pulumi.String("string"),
Ip6Link: pulumi.String("string"),
Ip6Ula: pulumi.String("string"),
Mac: pulumi.String("string"),
Name: pulumi.String("string"),
Network: pulumi.String("string"),
NetworkId: pulumi.Float64(0),
NicId: pulumi.Float64(0),
ComputedDns: pulumi.String("string"),
SecurityGroups: pulumi.Float64Array{
pulumi.Float64(0),
},
},
},
Nics: opennebula.VirtualMachineNicArray{
&opennebula.VirtualMachineNicArgs{
ComputedAliasIds: pulumi.String("string"),
ComputedDns: pulumi.String("string"),
ComputedGateway: pulumi.String("string"),
ComputedIp: pulumi.String("string"),
ComputedIp6: pulumi.String("string"),
ComputedIp6Global: pulumi.String("string"),
ComputedIp6Link: pulumi.String("string"),
ComputedIp6Ula: pulumi.String("string"),
ComputedMac: pulumi.String("string"),
ComputedMethod: pulumi.String("string"),
ComputedModel: pulumi.String("string"),
ComputedName: pulumi.String("string"),
ComputedPhysicalDevice: pulumi.String("string"),
ComputedSecurityGroups: pulumi.Float64Array{
pulumi.Float64(0),
},
ComputedVirtioQueues: pulumi.String("string"),
Dns: pulumi.String("string"),
Gateway: pulumi.String("string"),
Ip: pulumi.String("string"),
Ip6: pulumi.String("string"),
Ip6Global: pulumi.String("string"),
Ip6Link: pulumi.String("string"),
Ip6Ula: pulumi.String("string"),
Mac: pulumi.String("string"),
Method: pulumi.String("string"),
Model: pulumi.String("string"),
Name: pulumi.String("string"),
Network: pulumi.String("string"),
NetworkId: pulumi.Float64(0),
NetworkModeAuto: pulumi.Bool(false),
NicId: pulumi.Float64(0),
PhysicalDevice: pulumi.String("string"),
SchedRank: pulumi.String("string"),
SchedRequirements: pulumi.String("string"),
SecurityGroups: pulumi.Float64Array{
pulumi.Float64(0),
},
VirtioQueues: pulumi.String("string"),
},
},
OnDiskChange: pulumi.String("string"),
Os: &opennebula.VirtualMachineOsArgs{
Arch: pulumi.String("string"),
Boot: pulumi.String("string"),
Bootloader: pulumi.String("string"),
Firmware: pulumi.String("string"),
FirmwareSecure: pulumi.Bool(false),
Initrd: pulumi.String("string"),
InitrdDs: pulumi.String("string"),
Kernel: pulumi.String("string"),
KernelCmd: pulumi.String("string"),
KernelDs: pulumi.String("string"),
Machine: pulumi.String("string"),
Root: pulumi.String("string"),
SdDiskBus: pulumi.String("string"),
Uuid: pulumi.String("string"),
},
Pending: pulumi.Bool(false),
Permissions: pulumi.String("string"),
Raw: &opennebula.VirtualMachineRawArgs{
Data: pulumi.String("string"),
Type: pulumi.String("string"),
},
SchedDsRequirements: pulumi.String("string"),
SchedRequirements: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TemplateId: pulumi.Float64(0),
TemplateSections: opennebula.VirtualMachineTemplateSectionArray{
&opennebula.VirtualMachineTemplateSectionArgs{
Name: pulumi.String("string"),
Elements: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Timeouts: &opennebula.VirtualMachineTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Vcpu: pulumi.Float64(0),
VirtualMachineId: pulumi.String("string"),
Vmgroup: &opennebula.VirtualMachineVmgroupArgs{
Role: pulumi.String("string"),
VmgroupId: pulumi.Float64(0),
},
})
var virtualMachineResource = new VirtualMachine("virtualMachineResource", VirtualMachineArgs.builder()
.context(Map.of("string", "string"))
.cpu(0.0)
.cpumodel(VirtualMachineCpumodelArgs.builder()
.model("string")
.build())
.description("string")
.disks(VirtualMachineDiskArgs.builder()
.cache("string")
.computedCache("string")
.computedDevPrefix("string")
.computedDiscard("string")
.computedDriver("string")
.computedIo("string")
.computedSize(0.0)
.computedTarget("string")
.computedVolatileFormat("string")
.devPrefix("string")
.discard("string")
.diskId(0.0)
.driver("string")
.imageId(0.0)
.io("string")
.size(0.0)
.target("string")
.volatileFormat("string")
.volatileType("string")
.build())
.graphics(VirtualMachineGraphicsArgs.builder()
.listen("string")
.type("string")
.keymap("string")
.passwd("string")
.port("string")
.randomPasswd(false)
.build())
.group("string")
.hardShutdown(false)
.keepNicOrder(false)
.lock("string")
.memory(0.0)
.name("string")
.nicAliases(VirtualMachineNicAliasArgs.builder()
.parent("string")
.computedParentId(0.0)
.ip6Global("string")
.computedIp("string")
.computedIp6("string")
.computedIp6Global("string")
.computedIp6Link("string")
.computedIp6Ula("string")
.computedMac("string")
.computedMethod("string")
.computedName("string")
.computedNetwork("string")
.computedNetworkId(0.0)
.computedParent("string")
.computedAliasId(0.0)
.computedGateway("string")
.gateway("string")
.computedSecurityGroups(0.0)
.ip("string")
.ip6("string")
.dns("string")
.ip6Link("string")
.ip6Ula("string")
.mac("string")
.name("string")
.network("string")
.networkId(0.0)
.nicId(0.0)
.computedDns("string")
.securityGroups(0.0)
.build())
.nics(VirtualMachineNicArgs.builder()
.computedAliasIds("string")
.computedDns("string")
.computedGateway("string")
.computedIp("string")
.computedIp6("string")
.computedIp6Global("string")
.computedIp6Link("string")
.computedIp6Ula("string")
.computedMac("string")
.computedMethod("string")
.computedModel("string")
.computedName("string")
.computedPhysicalDevice("string")
.computedSecurityGroups(0.0)
.computedVirtioQueues("string")
.dns("string")
.gateway("string")
.ip("string")
.ip6("string")
.ip6Global("string")
.ip6Link("string")
.ip6Ula("string")
.mac("string")
.method("string")
.model("string")
.name("string")
.network("string")
.networkId(0.0)
.networkModeAuto(false)
.nicId(0.0)
.physicalDevice("string")
.schedRank("string")
.schedRequirements("string")
.securityGroups(0.0)
.virtioQueues("string")
.build())
.onDiskChange("string")
.os(VirtualMachineOsArgs.builder()
.arch("string")
.boot("string")
.bootloader("string")
.firmware("string")
.firmwareSecure(false)
.initrd("string")
.initrdDs("string")
.kernel("string")
.kernelCmd("string")
.kernelDs("string")
.machine("string")
.root("string")
.sdDiskBus("string")
.uuid("string")
.build())
.pending(false)
.permissions("string")
.raw(VirtualMachineRawArgs.builder()
.data("string")
.type("string")
.build())
.schedDsRequirements("string")
.schedRequirements("string")
.tags(Map.of("string", "string"))
.templateId(0.0)
.templateSections(VirtualMachineTemplateSectionArgs.builder()
.name("string")
.elements(Map.of("string", "string"))
.build())
.timeouts(VirtualMachineTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.vcpu(0.0)
.virtualMachineId("string")
.vmgroup(VirtualMachineVmgroupArgs.builder()
.role("string")
.vmgroupId(0.0)
.build())
.build());
virtual_machine_resource = opennebula.VirtualMachine("virtualMachineResource",
context={
"string": "string",
},
cpu=0,
cpumodel={
"model": "string",
},
description="string",
disks=[{
"cache": "string",
"computed_cache": "string",
"computed_dev_prefix": "string",
"computed_discard": "string",
"computed_driver": "string",
"computed_io": "string",
"computed_size": 0,
"computed_target": "string",
"computed_volatile_format": "string",
"dev_prefix": "string",
"discard": "string",
"disk_id": 0,
"driver": "string",
"image_id": 0,
"io": "string",
"size": 0,
"target": "string",
"volatile_format": "string",
"volatile_type": "string",
}],
graphics={
"listen": "string",
"type": "string",
"keymap": "string",
"passwd": "string",
"port": "string",
"random_passwd": False,
},
group="string",
hard_shutdown=False,
keep_nic_order=False,
lock="string",
memory=0,
name="string",
nic_aliases=[{
"parent": "string",
"computed_parent_id": 0,
"ip6_global": "string",
"computed_ip": "string",
"computed_ip6": "string",
"computed_ip6_global": "string",
"computed_ip6_link": "string",
"computed_ip6_ula": "string",
"computed_mac": "string",
"computed_method": "string",
"computed_name": "string",
"computed_network": "string",
"computed_network_id": 0,
"computed_parent": "string",
"computed_alias_id": 0,
"computed_gateway": "string",
"gateway": "string",
"computed_security_groups": [0],
"ip": "string",
"ip6": "string",
"dns": "string",
"ip6_link": "string",
"ip6_ula": "string",
"mac": "string",
"name": "string",
"network": "string",
"network_id": 0,
"nic_id": 0,
"computed_dns": "string",
"security_groups": [0],
}],
nics=[{
"computed_alias_ids": "string",
"computed_dns": "string",
"computed_gateway": "string",
"computed_ip": "string",
"computed_ip6": "string",
"computed_ip6_global": "string",
"computed_ip6_link": "string",
"computed_ip6_ula": "string",
"computed_mac": "string",
"computed_method": "string",
"computed_model": "string",
"computed_name": "string",
"computed_physical_device": "string",
"computed_security_groups": [0],
"computed_virtio_queues": "string",
"dns": "string",
"gateway": "string",
"ip": "string",
"ip6": "string",
"ip6_global": "string",
"ip6_link": "string",
"ip6_ula": "string",
"mac": "string",
"method": "string",
"model": "string",
"name": "string",
"network": "string",
"network_id": 0,
"network_mode_auto": False,
"nic_id": 0,
"physical_device": "string",
"sched_rank": "string",
"sched_requirements": "string",
"security_groups": [0],
"virtio_queues": "string",
}],
on_disk_change="string",
os={
"arch": "string",
"boot": "string",
"bootloader": "string",
"firmware": "string",
"firmware_secure": False,
"initrd": "string",
"initrd_ds": "string",
"kernel": "string",
"kernel_cmd": "string",
"kernel_ds": "string",
"machine": "string",
"root": "string",
"sd_disk_bus": "string",
"uuid": "string",
},
pending=False,
permissions="string",
raw={
"data": "string",
"type": "string",
},
sched_ds_requirements="string",
sched_requirements="string",
tags={
"string": "string",
},
template_id=0,
template_sections=[{
"name": "string",
"elements": {
"string": "string",
},
}],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
vcpu=0,
virtual_machine_id="string",
vmgroup={
"role": "string",
"vmgroup_id": 0,
})
const virtualMachineResource = new opennebula.VirtualMachine("virtualMachineResource", {
context: {
string: "string",
},
cpu: 0,
cpumodel: {
model: "string",
},
description: "string",
disks: [{
cache: "string",
computedCache: "string",
computedDevPrefix: "string",
computedDiscard: "string",
computedDriver: "string",
computedIo: "string",
computedSize: 0,
computedTarget: "string",
computedVolatileFormat: "string",
devPrefix: "string",
discard: "string",
diskId: 0,
driver: "string",
imageId: 0,
io: "string",
size: 0,
target: "string",
volatileFormat: "string",
volatileType: "string",
}],
graphics: {
listen: "string",
type: "string",
keymap: "string",
passwd: "string",
port: "string",
randomPasswd: false,
},
group: "string",
hardShutdown: false,
keepNicOrder: false,
lock: "string",
memory: 0,
name: "string",
nicAliases: [{
parent: "string",
computedParentId: 0,
ip6Global: "string",
computedIp: "string",
computedIp6: "string",
computedIp6Global: "string",
computedIp6Link: "string",
computedIp6Ula: "string",
computedMac: "string",
computedMethod: "string",
computedName: "string",
computedNetwork: "string",
computedNetworkId: 0,
computedParent: "string",
computedAliasId: 0,
computedGateway: "string",
gateway: "string",
computedSecurityGroups: [0],
ip: "string",
ip6: "string",
dns: "string",
ip6Link: "string",
ip6Ula: "string",
mac: "string",
name: "string",
network: "string",
networkId: 0,
nicId: 0,
computedDns: "string",
securityGroups: [0],
}],
nics: [{
computedAliasIds: "string",
computedDns: "string",
computedGateway: "string",
computedIp: "string",
computedIp6: "string",
computedIp6Global: "string",
computedIp6Link: "string",
computedIp6Ula: "string",
computedMac: "string",
computedMethod: "string",
computedModel: "string",
computedName: "string",
computedPhysicalDevice: "string",
computedSecurityGroups: [0],
computedVirtioQueues: "string",
dns: "string",
gateway: "string",
ip: "string",
ip6: "string",
ip6Global: "string",
ip6Link: "string",
ip6Ula: "string",
mac: "string",
method: "string",
model: "string",
name: "string",
network: "string",
networkId: 0,
networkModeAuto: false,
nicId: 0,
physicalDevice: "string",
schedRank: "string",
schedRequirements: "string",
securityGroups: [0],
virtioQueues: "string",
}],
onDiskChange: "string",
os: {
arch: "string",
boot: "string",
bootloader: "string",
firmware: "string",
firmwareSecure: false,
initrd: "string",
initrdDs: "string",
kernel: "string",
kernelCmd: "string",
kernelDs: "string",
machine: "string",
root: "string",
sdDiskBus: "string",
uuid: "string",
},
pending: false,
permissions: "string",
raw: {
data: "string",
type: "string",
},
schedDsRequirements: "string",
schedRequirements: "string",
tags: {
string: "string",
},
templateId: 0,
templateSections: [{
name: "string",
elements: {
string: "string",
},
}],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
vcpu: 0,
virtualMachineId: "string",
vmgroup: {
role: "string",
vmgroupId: 0,
},
});
type: opennebula:VirtualMachine
properties:
context:
string: string
cpu: 0
cpumodel:
model: string
description: string
disks:
- cache: string
computedCache: string
computedDevPrefix: string
computedDiscard: string
computedDriver: string
computedIo: string
computedSize: 0
computedTarget: string
computedVolatileFormat: string
devPrefix: string
discard: string
diskId: 0
driver: string
imageId: 0
io: string
size: 0
target: string
volatileFormat: string
volatileType: string
graphics:
keymap: string
listen: string
passwd: string
port: string
randomPasswd: false
type: string
group: string
hardShutdown: false
keepNicOrder: false
lock: string
memory: 0
name: string
nicAliases:
- computedAliasId: 0
computedDns: string
computedGateway: string
computedIp: string
computedIp6: string
computedIp6Global: string
computedIp6Link: string
computedIp6Ula: string
computedMac: string
computedMethod: string
computedName: string
computedNetwork: string
computedNetworkId: 0
computedParent: string
computedParentId: 0
computedSecurityGroups:
- 0
dns: string
gateway: string
ip: string
ip6: string
ip6Global: string
ip6Link: string
ip6Ula: string
mac: string
name: string
network: string
networkId: 0
nicId: 0
parent: string
securityGroups:
- 0
nics:
- computedAliasIds: string
computedDns: string
computedGateway: string
computedIp: string
computedIp6: string
computedIp6Global: string
computedIp6Link: string
computedIp6Ula: string
computedMac: string
computedMethod: string
computedModel: string
computedName: string
computedPhysicalDevice: string
computedSecurityGroups:
- 0
computedVirtioQueues: string
dns: string
gateway: string
ip: string
ip6: string
ip6Global: string
ip6Link: string
ip6Ula: string
mac: string
method: string
model: string
name: string
network: string
networkId: 0
networkModeAuto: false
nicId: 0
physicalDevice: string
schedRank: string
schedRequirements: string
securityGroups:
- 0
virtioQueues: string
onDiskChange: string
os:
arch: string
boot: string
bootloader: string
firmware: string
firmwareSecure: false
initrd: string
initrdDs: string
kernel: string
kernelCmd: string
kernelDs: string
machine: string
root: string
sdDiskBus: string
uuid: string
pending: false
permissions: string
raw:
data: string
type: string
schedDsRequirements: string
schedRequirements: string
tags:
string: string
templateId: 0
templateSections:
- elements:
string: string
name: string
timeouts:
create: string
delete: string
update: string
vcpu: 0
virtualMachineId: string
vmgroup:
role: string
vmgroupId: 0
VirtualMachine 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 VirtualMachine resource accepts the following input properties:
- Context Dictionary<string, string>
- Array of free form key=value pairs, rendered and added to the CONTEXT variables for the VM. Recommended to include:
NETWORK = "YES"
andSET_HOSTNAME = "$NAME"
. If atemplate_id
is set, see Instantiate from a template for details. - Cpu double
- Amount of CPU shares assigned to the VM. Mandatory if
template_id
is not set. - Cpumodel
Virtual
Machine Cpumodel - Definition of CPU Model type for the Virtual Machine
- Description string
- The description of the template.
- Disks
List<Virtual
Machine Disk> - Can be specified multiple times to attach several disks. See Disk parameters below for details.
- Graphics
Virtual
Machine Graphics - See Graphics parameters below for details.
- Group string
- Name of the group which owns the virtual machine. Defaults to the caller primary group.
- Hard
Shutdown bool - If the VM doesn't have ACPI support, it immediately poweroff/terminate/reboot/undeploy the VM. Defaults to false.
- Keep
Nic boolOrder - Indicates if the provider should keep NIC list ordering at update.
- Lock string
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - Memory double
- Amount of RAM assigned to the VM in MB. Mandatory if
template_id
is not set. - Name string
- The name of the virtual machine.
- Nic
Aliases List<VirtualMachine Nic Alias> - Can be specified multiple times to attach several NIC aliases. See Nic alias parameters below for details.
- Nics
List<Virtual
Machine Nic> - Can be specified multiple times to attach several NICs. See Nic parameters below for details.
- On
Disk stringChange - Select the behavior for changing disk images. Supported values:
RECREATE
orSWAP
(default).RECREATE
forces recreation of the vm andSWAP
adopts the standard behavior of hot-swapping the disks. NOTE: This property does not affect the behavior of adding new disks. - Os
Virtual
Machine Os - See OS parameters below for details.
- Pending bool
- Pending state during VM creation. Defaults to
false
. - Permissions string
- Permissions applied on virtual machine. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- Raw
Virtual
Machine Raw - Allow to pass hypervisor level tuning content. See Raw parameters below for details.
- Sched
Ds stringRequirements - Storage placement requirements to deploy the resource following specific rule.
- Sched
Requirements string - Scheduling requirements to deploy the resource following specific rule.
- Dictionary<string, string>
- Map of tags (
key=value
) assigned to the resource. Override matching tags present in thedefault_tags
atribute when configured in theprovider
block. See tags usage related documentation for more information. - Template
Id double - If set, VM are instantiated from the template ID. See Instantiate from a template for details. Changing this argument triggers a new resource.
- Template
Sections List<VirtualMachine Template Section> - Allow to add a custom vector. See Template section parameters
- Timeout double
- Timeout (in Minutes) for VM availability. Defaults to 3 minutes.
- Timeouts
Virtual
Machine Timeouts - Vcpu double
- Number of virtual CPUs assigned to the virtual machine
- Virtual
Machine stringId - ID of the virtual machine.
- Vmgroup
Virtual
Machine Vmgroup - See VM group parameters below for details. Changing this argument triggers a new resource.
- Context map[string]string
- Array of free form key=value pairs, rendered and added to the CONTEXT variables for the VM. Recommended to include:
NETWORK = "YES"
andSET_HOSTNAME = "$NAME"
. If atemplate_id
is set, see Instantiate from a template for details. - Cpu float64
- Amount of CPU shares assigned to the VM. Mandatory if
template_id
is not set. - Cpumodel
Virtual
Machine Cpumodel Args - Definition of CPU Model type for the Virtual Machine
- Description string
- The description of the template.
- Disks
[]Virtual
Machine Disk Args - Can be specified multiple times to attach several disks. See Disk parameters below for details.
- Graphics
Virtual
Machine Graphics Args - See Graphics parameters below for details.
- Group string
- Name of the group which owns the virtual machine. Defaults to the caller primary group.
- Hard
Shutdown bool - If the VM doesn't have ACPI support, it immediately poweroff/terminate/reboot/undeploy the VM. Defaults to false.
- Keep
Nic boolOrder - Indicates if the provider should keep NIC list ordering at update.
- Lock string
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - Memory float64
- Amount of RAM assigned to the VM in MB. Mandatory if
template_id
is not set. - Name string
- The name of the virtual machine.
- Nic
Aliases []VirtualMachine Nic Alias Args - Can be specified multiple times to attach several NIC aliases. See Nic alias parameters below for details.
- Nics
[]Virtual
Machine Nic Args - Can be specified multiple times to attach several NICs. See Nic parameters below for details.
- On
Disk stringChange - Select the behavior for changing disk images. Supported values:
RECREATE
orSWAP
(default).RECREATE
forces recreation of the vm andSWAP
adopts the standard behavior of hot-swapping the disks. NOTE: This property does not affect the behavior of adding new disks. - Os
Virtual
Machine Os Args - See OS parameters below for details.
- Pending bool
- Pending state during VM creation. Defaults to
false
. - Permissions string
- Permissions applied on virtual machine. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- Raw
Virtual
Machine Raw Args - Allow to pass hypervisor level tuning content. See Raw parameters below for details.
- Sched
Ds stringRequirements - Storage placement requirements to deploy the resource following specific rule.
- Sched
Requirements string - Scheduling requirements to deploy the resource following specific rule.
- map[string]string
- Map of tags (
key=value
) assigned to the resource. Override matching tags present in thedefault_tags
atribute when configured in theprovider
block. See tags usage related documentation for more information. - Template
Id float64 - If set, VM are instantiated from the template ID. See Instantiate from a template for details. Changing this argument triggers a new resource.
- Template
Sections []VirtualMachine Template Section Args - Allow to add a custom vector. See Template section parameters
- Timeout float64
- Timeout (in Minutes) for VM availability. Defaults to 3 minutes.
- Timeouts
Virtual
Machine Timeouts Args - Vcpu float64
- Number of virtual CPUs assigned to the virtual machine
- Virtual
Machine stringId - ID of the virtual machine.
- Vmgroup
Virtual
Machine Vmgroup Args - See VM group parameters below for details. Changing this argument triggers a new resource.
- context Map<String,String>
- Array of free form key=value pairs, rendered and added to the CONTEXT variables for the VM. Recommended to include:
NETWORK = "YES"
andSET_HOSTNAME = "$NAME"
. If atemplate_id
is set, see Instantiate from a template for details. - cpu Double
- Amount of CPU shares assigned to the VM. Mandatory if
template_id
is not set. - cpumodel
Virtual
Machine Cpumodel - Definition of CPU Model type for the Virtual Machine
- description String
- The description of the template.
- disks
List<Virtual
Machine Disk> - Can be specified multiple times to attach several disks. See Disk parameters below for details.
- graphics
Virtual
Machine Graphics - See Graphics parameters below for details.
- group String
- Name of the group which owns the virtual machine. Defaults to the caller primary group.
- hard
Shutdown Boolean - If the VM doesn't have ACPI support, it immediately poweroff/terminate/reboot/undeploy the VM. Defaults to false.
- keep
Nic BooleanOrder - Indicates if the provider should keep NIC list ordering at update.
- lock String
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - memory Double
- Amount of RAM assigned to the VM in MB. Mandatory if
template_id
is not set. - name String
- The name of the virtual machine.
- nic
Aliases List<VirtualMachine Nic Alias> - Can be specified multiple times to attach several NIC aliases. See Nic alias parameters below for details.
- nics
List<Virtual
Machine Nic> - Can be specified multiple times to attach several NICs. See Nic parameters below for details.
- on
Disk StringChange - Select the behavior for changing disk images. Supported values:
RECREATE
orSWAP
(default).RECREATE
forces recreation of the vm andSWAP
adopts the standard behavior of hot-swapping the disks. NOTE: This property does not affect the behavior of adding new disks. - os
Virtual
Machine Os - See OS parameters below for details.
- pending Boolean
- Pending state during VM creation. Defaults to
false
. - permissions String
- Permissions applied on virtual machine. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- raw
Virtual
Machine Raw - Allow to pass hypervisor level tuning content. See Raw parameters below for details.
- sched
Ds StringRequirements - Storage placement requirements to deploy the resource following specific rule.
- sched
Requirements String - Scheduling requirements to deploy the resource following specific rule.
- Map<String,String>
- Map of tags (
key=value
) assigned to the resource. Override matching tags present in thedefault_tags
atribute when configured in theprovider
block. See tags usage related documentation for more information. - template
Id Double - If set, VM are instantiated from the template ID. See Instantiate from a template for details. Changing this argument triggers a new resource.
- template
Sections List<VirtualMachine Template Section> - Allow to add a custom vector. See Template section parameters
- timeout Double
- Timeout (in Minutes) for VM availability. Defaults to 3 minutes.
- timeouts
Virtual
Machine Timeouts - vcpu Double
- Number of virtual CPUs assigned to the virtual machine
- virtual
Machine StringId - ID of the virtual machine.
- vmgroup
Virtual
Machine Vmgroup - See VM group parameters below for details. Changing this argument triggers a new resource.
- context {[key: string]: string}
- Array of free form key=value pairs, rendered and added to the CONTEXT variables for the VM. Recommended to include:
NETWORK = "YES"
andSET_HOSTNAME = "$NAME"
. If atemplate_id
is set, see Instantiate from a template for details. - cpu number
- Amount of CPU shares assigned to the VM. Mandatory if
template_id
is not set. - cpumodel
Virtual
Machine Cpumodel - Definition of CPU Model type for the Virtual Machine
- description string
- The description of the template.
- disks
Virtual
Machine Disk[] - Can be specified multiple times to attach several disks. See Disk parameters below for details.
- graphics
Virtual
Machine Graphics - See Graphics parameters below for details.
- group string
- Name of the group which owns the virtual machine. Defaults to the caller primary group.
- hard
Shutdown boolean - If the VM doesn't have ACPI support, it immediately poweroff/terminate/reboot/undeploy the VM. Defaults to false.
- keep
Nic booleanOrder - Indicates if the provider should keep NIC list ordering at update.
- lock string
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - memory number
- Amount of RAM assigned to the VM in MB. Mandatory if
template_id
is not set. - name string
- The name of the virtual machine.
- nic
Aliases VirtualMachine Nic Alias[] - Can be specified multiple times to attach several NIC aliases. See Nic alias parameters below for details.
- nics
Virtual
Machine Nic[] - Can be specified multiple times to attach several NICs. See Nic parameters below for details.
- on
Disk stringChange - Select the behavior for changing disk images. Supported values:
RECREATE
orSWAP
(default).RECREATE
forces recreation of the vm andSWAP
adopts the standard behavior of hot-swapping the disks. NOTE: This property does not affect the behavior of adding new disks. - os
Virtual
Machine Os - See OS parameters below for details.
- pending boolean
- Pending state during VM creation. Defaults to
false
. - permissions string
- Permissions applied on virtual machine. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- raw
Virtual
Machine Raw - Allow to pass hypervisor level tuning content. See Raw parameters below for details.
- sched
Ds stringRequirements - Storage placement requirements to deploy the resource following specific rule.
- sched
Requirements string - Scheduling requirements to deploy the resource following specific rule.
- {[key: string]: string}
- Map of tags (
key=value
) assigned to the resource. Override matching tags present in thedefault_tags
atribute when configured in theprovider
block. See tags usage related documentation for more information. - template
Id number - If set, VM are instantiated from the template ID. See Instantiate from a template for details. Changing this argument triggers a new resource.
- template
Sections VirtualMachine Template Section[] - Allow to add a custom vector. See Template section parameters
- timeout number
- Timeout (in Minutes) for VM availability. Defaults to 3 minutes.
- timeouts
Virtual
Machine Timeouts - vcpu number
- Number of virtual CPUs assigned to the virtual machine
- virtual
Machine stringId - ID of the virtual machine.
- vmgroup
Virtual
Machine Vmgroup - See VM group parameters below for details. Changing this argument triggers a new resource.
- context Mapping[str, str]
- Array of free form key=value pairs, rendered and added to the CONTEXT variables for the VM. Recommended to include:
NETWORK = "YES"
andSET_HOSTNAME = "$NAME"
. If atemplate_id
is set, see Instantiate from a template for details. - cpu float
- Amount of CPU shares assigned to the VM. Mandatory if
template_id
is not set. - cpumodel
Virtual
Machine Cpumodel Args - Definition of CPU Model type for the Virtual Machine
- description str
- The description of the template.
- disks
Sequence[Virtual
Machine Disk Args] - Can be specified multiple times to attach several disks. See Disk parameters below for details.
- graphics
Virtual
Machine Graphics Args - See Graphics parameters below for details.
- group str
- Name of the group which owns the virtual machine. Defaults to the caller primary group.
- hard_
shutdown bool - If the VM doesn't have ACPI support, it immediately poweroff/terminate/reboot/undeploy the VM. Defaults to false.
- keep_
nic_ boolorder - Indicates if the provider should keep NIC list ordering at update.
- lock str
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - memory float
- Amount of RAM assigned to the VM in MB. Mandatory if
template_id
is not set. - name str
- The name of the virtual machine.
- nic_
aliases Sequence[VirtualMachine Nic Alias Args] - Can be specified multiple times to attach several NIC aliases. See Nic alias parameters below for details.
- nics
Sequence[Virtual
Machine Nic Args] - Can be specified multiple times to attach several NICs. See Nic parameters below for details.
- on_
disk_ strchange - Select the behavior for changing disk images. Supported values:
RECREATE
orSWAP
(default).RECREATE
forces recreation of the vm andSWAP
adopts the standard behavior of hot-swapping the disks. NOTE: This property does not affect the behavior of adding new disks. - os
Virtual
Machine Os Args - See OS parameters below for details.
- pending bool
- Pending state during VM creation. Defaults to
false
. - permissions str
- Permissions applied on virtual machine. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- raw
Virtual
Machine Raw Args - Allow to pass hypervisor level tuning content. See Raw parameters below for details.
- sched_
ds_ strrequirements - Storage placement requirements to deploy the resource following specific rule.
- sched_
requirements str - Scheduling requirements to deploy the resource following specific rule.
- Mapping[str, str]
- Map of tags (
key=value
) assigned to the resource. Override matching tags present in thedefault_tags
atribute when configured in theprovider
block. See tags usage related documentation for more information. - template_
id float - If set, VM are instantiated from the template ID. See Instantiate from a template for details. Changing this argument triggers a new resource.
- template_
sections Sequence[VirtualMachine Template Section Args] - Allow to add a custom vector. See Template section parameters
- timeout float
- Timeout (in Minutes) for VM availability. Defaults to 3 minutes.
- timeouts
Virtual
Machine Timeouts Args - vcpu float
- Number of virtual CPUs assigned to the virtual machine
- virtual_
machine_ strid - ID of the virtual machine.
- vmgroup
Virtual
Machine Vmgroup Args - See VM group parameters below for details. Changing this argument triggers a new resource.
- context Map<String>
- Array of free form key=value pairs, rendered and added to the CONTEXT variables for the VM. Recommended to include:
NETWORK = "YES"
andSET_HOSTNAME = "$NAME"
. If atemplate_id
is set, see Instantiate from a template for details. - cpu Number
- Amount of CPU shares assigned to the VM. Mandatory if
template_id
is not set. - cpumodel Property Map
- Definition of CPU Model type for the Virtual Machine
- description String
- The description of the template.
- disks List<Property Map>
- Can be specified multiple times to attach several disks. See Disk parameters below for details.
- graphics Property Map
- See Graphics parameters below for details.
- group String
- Name of the group which owns the virtual machine. Defaults to the caller primary group.
- hard
Shutdown Boolean - If the VM doesn't have ACPI support, it immediately poweroff/terminate/reboot/undeploy the VM. Defaults to false.
- keep
Nic BooleanOrder - Indicates if the provider should keep NIC list ordering at update.
- lock String
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - memory Number
- Amount of RAM assigned to the VM in MB. Mandatory if
template_id
is not set. - name String
- The name of the virtual machine.
- nic
Aliases List<Property Map> - Can be specified multiple times to attach several NIC aliases. See Nic alias parameters below for details.
- nics List<Property Map>
- Can be specified multiple times to attach several NICs. See Nic parameters below for details.
- on
Disk StringChange - Select the behavior for changing disk images. Supported values:
RECREATE
orSWAP
(default).RECREATE
forces recreation of the vm andSWAP
adopts the standard behavior of hot-swapping the disks. NOTE: This property does not affect the behavior of adding new disks. - os Property Map
- See OS parameters below for details.
- pending Boolean
- Pending state during VM creation. Defaults to
false
. - permissions String
- Permissions applied on virtual machine. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- raw Property Map
- Allow to pass hypervisor level tuning content. See Raw parameters below for details.
- sched
Ds StringRequirements - Storage placement requirements to deploy the resource following specific rule.
- sched
Requirements String - Scheduling requirements to deploy the resource following specific rule.
- Map<String>
- Map of tags (
key=value
) assigned to the resource. Override matching tags present in thedefault_tags
atribute when configured in theprovider
block. See tags usage related documentation for more information. - template
Id Number - If set, VM are instantiated from the template ID. See Instantiate from a template for details. Changing this argument triggers a new resource.
- template
Sections List<Property Map> - Allow to add a custom vector. See Template section parameters
- timeout Number
- Timeout (in Minutes) for VM availability. Defaults to 3 minutes.
- timeouts Property Map
- vcpu Number
- Number of virtual CPUs assigned to the virtual machine
- virtual
Machine StringId - ID of the virtual machine.
- vmgroup Property Map
- See VM group parameters below for details. Changing this argument triggers a new resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualMachine resource produces the following output properties:
- Dictionary<string, string>
- Default tags defined in the provider configuration.
- Gid double
- Group ID which owns the virtual machine.
- Gname string
- Group Name which owns the virtual machine.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip string
- Primary IPv4 address assigned by OpenNebula
- Ip6 string
- Primary IPv6 address assigned by OpenNebula
- Ip6Global string
- Global IPv6 address assigned by OpenNebula
- Ip6Link string
- Link-local IPv6 address assigned by OpenNebula.
- Ip6Ula string
- Unique local IPv6 address assigned by OpenNebula
- Lcmstate double
- LCM State of the virtual machine.
- State double
- State of the virtual machine.
- Dictionary<string, string>
- Result of the applied
default_tags
and then resourcetags
. - Template
Disks List<VirtualMachine Template Disk> - when
template_id
is used and the template define some disks, this contains the template disks description. - Template
Nic List<VirtualAliases Machine Template Nic Alias> - Network adapter(s) assigned to the Virtual Machine via a template
- Template
Nics List<VirtualMachine Template Nic> - when
template_id
is used and the template define some NICs, this contains the template NICs description. - Template
Section Dictionary<string, string>Names - When
template_id
was set this keeps the template section names only. - Dictionary<string, string>
- When
template_id
was set this keeps the template tags. - Uid double
- User ID whom owns the virtual machine.
- Uname string
- User Name whom owns the virtual machine.
- map[string]string
- Default tags defined in the provider configuration.
- Gid float64
- Group ID which owns the virtual machine.
- Gname string
- Group Name which owns the virtual machine.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip string
- Primary IPv4 address assigned by OpenNebula
- Ip6 string
- Primary IPv6 address assigned by OpenNebula
- Ip6Global string
- Global IPv6 address assigned by OpenNebula
- Ip6Link string
- Link-local IPv6 address assigned by OpenNebula.
- Ip6Ula string
- Unique local IPv6 address assigned by OpenNebula
- Lcmstate float64
- LCM State of the virtual machine.
- State float64
- State of the virtual machine.
- map[string]string
- Result of the applied
default_tags
and then resourcetags
. - Template
Disks []VirtualMachine Template Disk - when
template_id
is used and the template define some disks, this contains the template disks description. - Template
Nic []VirtualAliases Machine Template Nic Alias - Network adapter(s) assigned to the Virtual Machine via a template
- Template
Nics []VirtualMachine Template Nic - when
template_id
is used and the template define some NICs, this contains the template NICs description. - Template
Section map[string]stringNames - When
template_id
was set this keeps the template section names only. - map[string]string
- When
template_id
was set this keeps the template tags. - Uid float64
- User ID whom owns the virtual machine.
- Uname string
- User Name whom owns the virtual machine.
- Map<String,String>
- Default tags defined in the provider configuration.
- gid Double
- Group ID which owns the virtual machine.
- gname String
- Group Name which owns the virtual machine.
- id String
- The provider-assigned unique ID for this managed resource.
- ip String
- Primary IPv4 address assigned by OpenNebula
- ip6 String
- Primary IPv6 address assigned by OpenNebula
- ip6Global String
- Global IPv6 address assigned by OpenNebula
- ip6Link String
- Link-local IPv6 address assigned by OpenNebula.
- ip6Ula String
- Unique local IPv6 address assigned by OpenNebula
- lcmstate Double
- LCM State of the virtual machine.
- state Double
- State of the virtual machine.
- Map<String,String>
- Result of the applied
default_tags
and then resourcetags
. - template
Disks List<VirtualMachine Template Disk> - when
template_id
is used and the template define some disks, this contains the template disks description. - template
Nic List<VirtualAliases Machine Template Nic Alias> - Network adapter(s) assigned to the Virtual Machine via a template
- template
Nics List<VirtualMachine Template Nic> - when
template_id
is used and the template define some NICs, this contains the template NICs description. - template
Section Map<String,String>Names - When
template_id
was set this keeps the template section names only. - Map<String,String>
- When
template_id
was set this keeps the template tags. - uid Double
- User ID whom owns the virtual machine.
- uname String
- User Name whom owns the virtual machine.
- {[key: string]: string}
- Default tags defined in the provider configuration.
- gid number
- Group ID which owns the virtual machine.
- gname string
- Group Name which owns the virtual machine.
- id string
- The provider-assigned unique ID for this managed resource.
- ip string
- Primary IPv4 address assigned by OpenNebula
- ip6 string
- Primary IPv6 address assigned by OpenNebula
- ip6Global string
- Global IPv6 address assigned by OpenNebula
- ip6Link string
- Link-local IPv6 address assigned by OpenNebula.
- ip6Ula string
- Unique local IPv6 address assigned by OpenNebula
- lcmstate number
- LCM State of the virtual machine.
- state number
- State of the virtual machine.
- {[key: string]: string}
- Result of the applied
default_tags
and then resourcetags
. - template
Disks VirtualMachine Template Disk[] - when
template_id
is used and the template define some disks, this contains the template disks description. - template
Nic VirtualAliases Machine Template Nic Alias[] - Network adapter(s) assigned to the Virtual Machine via a template
- template
Nics VirtualMachine Template Nic[] - when
template_id
is used and the template define some NICs, this contains the template NICs description. - template
Section {[key: string]: string}Names - When
template_id
was set this keeps the template section names only. - {[key: string]: string}
- When
template_id
was set this keeps the template tags. - uid number
- User ID whom owns the virtual machine.
- uname string
- User Name whom owns the virtual machine.
- Mapping[str, str]
- Default tags defined in the provider configuration.
- gid float
- Group ID which owns the virtual machine.
- gname str
- Group Name which owns the virtual machine.
- id str
- The provider-assigned unique ID for this managed resource.
- ip str
- Primary IPv4 address assigned by OpenNebula
- ip6 str
- Primary IPv6 address assigned by OpenNebula
- ip6_
global str - Global IPv6 address assigned by OpenNebula
- ip6_
link str - Link-local IPv6 address assigned by OpenNebula.
- ip6_
ula str - Unique local IPv6 address assigned by OpenNebula
- lcmstate float
- LCM State of the virtual machine.
- state float
- State of the virtual machine.
- Mapping[str, str]
- Result of the applied
default_tags
and then resourcetags
. - template_
disks Sequence[VirtualMachine Template Disk] - when
template_id
is used and the template define some disks, this contains the template disks description. - template_
nic_ Sequence[Virtualaliases Machine Template Nic Alias] - Network adapter(s) assigned to the Virtual Machine via a template
- template_
nics Sequence[VirtualMachine Template Nic] - when
template_id
is used and the template define some NICs, this contains the template NICs description. - template_
section_ Mapping[str, str]names - When
template_id
was set this keeps the template section names only. - Mapping[str, str]
- When
template_id
was set this keeps the template tags. - uid float
- User ID whom owns the virtual machine.
- uname str
- User Name whom owns the virtual machine.
- Map<String>
- Default tags defined in the provider configuration.
- gid Number
- Group ID which owns the virtual machine.
- gname String
- Group Name which owns the virtual machine.
- id String
- The provider-assigned unique ID for this managed resource.
- ip String
- Primary IPv4 address assigned by OpenNebula
- ip6 String
- Primary IPv6 address assigned by OpenNebula
- ip6Global String
- Global IPv6 address assigned by OpenNebula
- ip6Link String
- Link-local IPv6 address assigned by OpenNebula.
- ip6Ula String
- Unique local IPv6 address assigned by OpenNebula
- lcmstate Number
- LCM State of the virtual machine.
- state Number
- State of the virtual machine.
- Map<String>
- Result of the applied
default_tags
and then resourcetags
. - template
Disks List<Property Map> - when
template_id
is used and the template define some disks, this contains the template disks description. - template
Nic List<Property Map>Aliases - Network adapter(s) assigned to the Virtual Machine via a template
- template
Nics List<Property Map> - when
template_id
is used and the template define some NICs, this contains the template NICs description. - template
Section Map<String>Names - When
template_id
was set this keeps the template section names only. - Map<String>
- When
template_id
was set this keeps the template tags. - uid Number
- User ID whom owns the virtual machine.
- uname String
- User Name whom owns the virtual machine.
Look up Existing VirtualMachine Resource
Get an existing VirtualMachine 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?: VirtualMachineState, opts?: CustomResourceOptions): VirtualMachine
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
context: Optional[Mapping[str, str]] = None,
cpu: Optional[float] = None,
cpumodel: Optional[VirtualMachineCpumodelArgs] = None,
default_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
disks: Optional[Sequence[VirtualMachineDiskArgs]] = None,
gid: Optional[float] = None,
gname: Optional[str] = None,
graphics: Optional[VirtualMachineGraphicsArgs] = None,
group: Optional[str] = None,
hard_shutdown: Optional[bool] = None,
ip: Optional[str] = None,
ip6: Optional[str] = None,
ip6_global: Optional[str] = None,
ip6_link: Optional[str] = None,
ip6_ula: Optional[str] = None,
keep_nic_order: Optional[bool] = None,
lcmstate: Optional[float] = None,
lock: Optional[str] = None,
memory: Optional[float] = None,
name: Optional[str] = None,
nic_aliases: Optional[Sequence[VirtualMachineNicAliasArgs]] = None,
nics: Optional[Sequence[VirtualMachineNicArgs]] = None,
on_disk_change: Optional[str] = None,
os: Optional[VirtualMachineOsArgs] = None,
pending: Optional[bool] = None,
permissions: Optional[str] = None,
raw: Optional[VirtualMachineRawArgs] = None,
sched_ds_requirements: Optional[str] = None,
sched_requirements: Optional[str] = None,
state: Optional[float] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
template_disks: Optional[Sequence[VirtualMachineTemplateDiskArgs]] = None,
template_id: Optional[float] = None,
template_nic_aliases: Optional[Sequence[VirtualMachineTemplateNicAliasArgs]] = None,
template_nics: Optional[Sequence[VirtualMachineTemplateNicArgs]] = None,
template_section_names: Optional[Mapping[str, str]] = None,
template_sections: Optional[Sequence[VirtualMachineTemplateSectionArgs]] = None,
template_tags: Optional[Mapping[str, str]] = None,
timeout: Optional[float] = None,
timeouts: Optional[VirtualMachineTimeoutsArgs] = None,
uid: Optional[float] = None,
uname: Optional[str] = None,
vcpu: Optional[float] = None,
virtual_machine_id: Optional[str] = None,
vmgroup: Optional[VirtualMachineVmgroupArgs] = None) -> VirtualMachine
func GetVirtualMachine(ctx *Context, name string, id IDInput, state *VirtualMachineState, opts ...ResourceOption) (*VirtualMachine, error)
public static VirtualMachine Get(string name, Input<string> id, VirtualMachineState? state, CustomResourceOptions? opts = null)
public static VirtualMachine get(String name, Output<String> id, VirtualMachineState state, CustomResourceOptions options)
resources: _: type: opennebula:VirtualMachine 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.
- Context Dictionary<string, string>
- Array of free form key=value pairs, rendered and added to the CONTEXT variables for the VM. Recommended to include:
NETWORK = "YES"
andSET_HOSTNAME = "$NAME"
. If atemplate_id
is set, see Instantiate from a template for details. - Cpu double
- Amount of CPU shares assigned to the VM. Mandatory if
template_id
is not set. - Cpumodel
Virtual
Machine Cpumodel - Definition of CPU Model type for the Virtual Machine
- Dictionary<string, string>
- Default tags defined in the provider configuration.
- Description string
- The description of the template.
- Disks
List<Virtual
Machine Disk> - Can be specified multiple times to attach several disks. See Disk parameters below for details.
- Gid double
- Group ID which owns the virtual machine.
- Gname string
- Group Name which owns the virtual machine.
- Graphics
Virtual
Machine Graphics - See Graphics parameters below for details.
- Group string
- Name of the group which owns the virtual machine. Defaults to the caller primary group.
- Hard
Shutdown bool - If the VM doesn't have ACPI support, it immediately poweroff/terminate/reboot/undeploy the VM. Defaults to false.
- Ip string
- Primary IPv4 address assigned by OpenNebula
- Ip6 string
- Primary IPv6 address assigned by OpenNebula
- Ip6Global string
- Global IPv6 address assigned by OpenNebula
- Ip6Link string
- Link-local IPv6 address assigned by OpenNebula.
- Ip6Ula string
- Unique local IPv6 address assigned by OpenNebula
- Keep
Nic boolOrder - Indicates if the provider should keep NIC list ordering at update.
- Lcmstate double
- LCM State of the virtual machine.
- Lock string
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - Memory double
- Amount of RAM assigned to the VM in MB. Mandatory if
template_id
is not set. - Name string
- The name of the virtual machine.
- Nic
Aliases List<VirtualMachine Nic Alias> - Can be specified multiple times to attach several NIC aliases. See Nic alias parameters below for details.
- Nics
List<Virtual
Machine Nic> - Can be specified multiple times to attach several NICs. See Nic parameters below for details.
- On
Disk stringChange - Select the behavior for changing disk images. Supported values:
RECREATE
orSWAP
(default).RECREATE
forces recreation of the vm andSWAP
adopts the standard behavior of hot-swapping the disks. NOTE: This property does not affect the behavior of adding new disks. - Os
Virtual
Machine Os - See OS parameters below for details.
- Pending bool
- Pending state during VM creation. Defaults to
false
. - Permissions string
- Permissions applied on virtual machine. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- Raw
Virtual
Machine Raw - Allow to pass hypervisor level tuning content. See Raw parameters below for details.
- Sched
Ds stringRequirements - Storage placement requirements to deploy the resource following specific rule.
- Sched
Requirements string - Scheduling requirements to deploy the resource following specific rule.
- State double
- State of the virtual machine.
- Dictionary<string, string>
- Map of tags (
key=value
) assigned to the resource. Override matching tags present in thedefault_tags
atribute when configured in theprovider
block. See tags usage related documentation for more information. - Dictionary<string, string>
- Result of the applied
default_tags
and then resourcetags
. - Template
Disks List<VirtualMachine Template Disk> - when
template_id
is used and the template define some disks, this contains the template disks description. - Template
Id double - If set, VM are instantiated from the template ID. See Instantiate from a template for details. Changing this argument triggers a new resource.
- Template
Nic List<VirtualAliases Machine Template Nic Alias> - Network adapter(s) assigned to the Virtual Machine via a template
- Template
Nics List<VirtualMachine Template Nic> - when
template_id
is used and the template define some NICs, this contains the template NICs description. - Template
Section Dictionary<string, string>Names - When
template_id
was set this keeps the template section names only. - Template
Sections List<VirtualMachine Template Section> - Allow to add a custom vector. See Template section parameters
- Dictionary<string, string>
- When
template_id
was set this keeps the template tags. - Timeout double
- Timeout (in Minutes) for VM availability. Defaults to 3 minutes.
- Timeouts
Virtual
Machine Timeouts - Uid double
- User ID whom owns the virtual machine.
- Uname string
- User Name whom owns the virtual machine.
- Vcpu double
- Number of virtual CPUs assigned to the virtual machine
- Virtual
Machine stringId - ID of the virtual machine.
- Vmgroup
Virtual
Machine Vmgroup - See VM group parameters below for details. Changing this argument triggers a new resource.
- Context map[string]string
- Array of free form key=value pairs, rendered and added to the CONTEXT variables for the VM. Recommended to include:
NETWORK = "YES"
andSET_HOSTNAME = "$NAME"
. If atemplate_id
is set, see Instantiate from a template for details. - Cpu float64
- Amount of CPU shares assigned to the VM. Mandatory if
template_id
is not set. - Cpumodel
Virtual
Machine Cpumodel Args - Definition of CPU Model type for the Virtual Machine
- map[string]string
- Default tags defined in the provider configuration.
- Description string
- The description of the template.
- Disks
[]Virtual
Machine Disk Args - Can be specified multiple times to attach several disks. See Disk parameters below for details.
- Gid float64
- Group ID which owns the virtual machine.
- Gname string
- Group Name which owns the virtual machine.
- Graphics
Virtual
Machine Graphics Args - See Graphics parameters below for details.
- Group string
- Name of the group which owns the virtual machine. Defaults to the caller primary group.
- Hard
Shutdown bool - If the VM doesn't have ACPI support, it immediately poweroff/terminate/reboot/undeploy the VM. Defaults to false.
- Ip string
- Primary IPv4 address assigned by OpenNebula
- Ip6 string
- Primary IPv6 address assigned by OpenNebula
- Ip6Global string
- Global IPv6 address assigned by OpenNebula
- Ip6Link string
- Link-local IPv6 address assigned by OpenNebula.
- Ip6Ula string
- Unique local IPv6 address assigned by OpenNebula
- Keep
Nic boolOrder - Indicates if the provider should keep NIC list ordering at update.
- Lcmstate float64
- LCM State of the virtual machine.
- Lock string
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - Memory float64
- Amount of RAM assigned to the VM in MB. Mandatory if
template_id
is not set. - Name string
- The name of the virtual machine.
- Nic
Aliases []VirtualMachine Nic Alias Args - Can be specified multiple times to attach several NIC aliases. See Nic alias parameters below for details.
- Nics
[]Virtual
Machine Nic Args - Can be specified multiple times to attach several NICs. See Nic parameters below for details.
- On
Disk stringChange - Select the behavior for changing disk images. Supported values:
RECREATE
orSWAP
(default).RECREATE
forces recreation of the vm andSWAP
adopts the standard behavior of hot-swapping the disks. NOTE: This property does not affect the behavior of adding new disks. - Os
Virtual
Machine Os Args - See OS parameters below for details.
- Pending bool
- Pending state during VM creation. Defaults to
false
. - Permissions string
- Permissions applied on virtual machine. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- Raw
Virtual
Machine Raw Args - Allow to pass hypervisor level tuning content. See Raw parameters below for details.
- Sched
Ds stringRequirements - Storage placement requirements to deploy the resource following specific rule.
- Sched
Requirements string - Scheduling requirements to deploy the resource following specific rule.
- State float64
- State of the virtual machine.
- map[string]string
- Map of tags (
key=value
) assigned to the resource. Override matching tags present in thedefault_tags
atribute when configured in theprovider
block. See tags usage related documentation for more information. - map[string]string
- Result of the applied
default_tags
and then resourcetags
. - Template
Disks []VirtualMachine Template Disk Args - when
template_id
is used and the template define some disks, this contains the template disks description. - Template
Id float64 - If set, VM are instantiated from the template ID. See Instantiate from a template for details. Changing this argument triggers a new resource.
- Template
Nic []VirtualAliases Machine Template Nic Alias Args - Network adapter(s) assigned to the Virtual Machine via a template
- Template
Nics []VirtualMachine Template Nic Args - when
template_id
is used and the template define some NICs, this contains the template NICs description. - Template
Section map[string]stringNames - When
template_id
was set this keeps the template section names only. - Template
Sections []VirtualMachine Template Section Args - Allow to add a custom vector. See Template section parameters
- map[string]string
- When
template_id
was set this keeps the template tags. - Timeout float64
- Timeout (in Minutes) for VM availability. Defaults to 3 minutes.
- Timeouts
Virtual
Machine Timeouts Args - Uid float64
- User ID whom owns the virtual machine.
- Uname string
- User Name whom owns the virtual machine.
- Vcpu float64
- Number of virtual CPUs assigned to the virtual machine
- Virtual
Machine stringId - ID of the virtual machine.
- Vmgroup
Virtual
Machine Vmgroup Args - See VM group parameters below for details. Changing this argument triggers a new resource.
- context Map<String,String>
- Array of free form key=value pairs, rendered and added to the CONTEXT variables for the VM. Recommended to include:
NETWORK = "YES"
andSET_HOSTNAME = "$NAME"
. If atemplate_id
is set, see Instantiate from a template for details. - cpu Double
- Amount of CPU shares assigned to the VM. Mandatory if
template_id
is not set. - cpumodel
Virtual
Machine Cpumodel - Definition of CPU Model type for the Virtual Machine
- Map<String,String>
- Default tags defined in the provider configuration.
- description String
- The description of the template.
- disks
List<Virtual
Machine Disk> - Can be specified multiple times to attach several disks. See Disk parameters below for details.
- gid Double
- Group ID which owns the virtual machine.
- gname String
- Group Name which owns the virtual machine.
- graphics
Virtual
Machine Graphics - See Graphics parameters below for details.
- group String
- Name of the group which owns the virtual machine. Defaults to the caller primary group.
- hard
Shutdown Boolean - If the VM doesn't have ACPI support, it immediately poweroff/terminate/reboot/undeploy the VM. Defaults to false.
- ip String
- Primary IPv4 address assigned by OpenNebula
- ip6 String
- Primary IPv6 address assigned by OpenNebula
- ip6Global String
- Global IPv6 address assigned by OpenNebula
- ip6Link String
- Link-local IPv6 address assigned by OpenNebula.
- ip6Ula String
- Unique local IPv6 address assigned by OpenNebula
- keep
Nic BooleanOrder - Indicates if the provider should keep NIC list ordering at update.
- lcmstate Double
- LCM State of the virtual machine.
- lock String
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - memory Double
- Amount of RAM assigned to the VM in MB. Mandatory if
template_id
is not set. - name String
- The name of the virtual machine.
- nic
Aliases List<VirtualMachine Nic Alias> - Can be specified multiple times to attach several NIC aliases. See Nic alias parameters below for details.
- nics
List<Virtual
Machine Nic> - Can be specified multiple times to attach several NICs. See Nic parameters below for details.
- on
Disk StringChange - Select the behavior for changing disk images. Supported values:
RECREATE
orSWAP
(default).RECREATE
forces recreation of the vm andSWAP
adopts the standard behavior of hot-swapping the disks. NOTE: This property does not affect the behavior of adding new disks. - os
Virtual
Machine Os - See OS parameters below for details.
- pending Boolean
- Pending state during VM creation. Defaults to
false
. - permissions String
- Permissions applied on virtual machine. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- raw
Virtual
Machine Raw - Allow to pass hypervisor level tuning content. See Raw parameters below for details.
- sched
Ds StringRequirements - Storage placement requirements to deploy the resource following specific rule.
- sched
Requirements String - Scheduling requirements to deploy the resource following specific rule.
- state Double
- State of the virtual machine.
- Map<String,String>
- Map of tags (
key=value
) assigned to the resource. Override matching tags present in thedefault_tags
atribute when configured in theprovider
block. See tags usage related documentation for more information. - Map<String,String>
- Result of the applied
default_tags
and then resourcetags
. - template
Disks List<VirtualMachine Template Disk> - when
template_id
is used and the template define some disks, this contains the template disks description. - template
Id Double - If set, VM are instantiated from the template ID. See Instantiate from a template for details. Changing this argument triggers a new resource.
- template
Nic List<VirtualAliases Machine Template Nic Alias> - Network adapter(s) assigned to the Virtual Machine via a template
- template
Nics List<VirtualMachine Template Nic> - when
template_id
is used and the template define some NICs, this contains the template NICs description. - template
Section Map<String,String>Names - When
template_id
was set this keeps the template section names only. - template
Sections List<VirtualMachine Template Section> - Allow to add a custom vector. See Template section parameters
- Map<String,String>
- When
template_id
was set this keeps the template tags. - timeout Double
- Timeout (in Minutes) for VM availability. Defaults to 3 minutes.
- timeouts
Virtual
Machine Timeouts - uid Double
- User ID whom owns the virtual machine.
- uname String
- User Name whom owns the virtual machine.
- vcpu Double
- Number of virtual CPUs assigned to the virtual machine
- virtual
Machine StringId - ID of the virtual machine.
- vmgroup
Virtual
Machine Vmgroup - See VM group parameters below for details. Changing this argument triggers a new resource.
- context {[key: string]: string}
- Array of free form key=value pairs, rendered and added to the CONTEXT variables for the VM. Recommended to include:
NETWORK = "YES"
andSET_HOSTNAME = "$NAME"
. If atemplate_id
is set, see Instantiate from a template for details. - cpu number
- Amount of CPU shares assigned to the VM. Mandatory if
template_id
is not set. - cpumodel
Virtual
Machine Cpumodel - Definition of CPU Model type for the Virtual Machine
- {[key: string]: string}
- Default tags defined in the provider configuration.
- description string
- The description of the template.
- disks
Virtual
Machine Disk[] - Can be specified multiple times to attach several disks. See Disk parameters below for details.
- gid number
- Group ID which owns the virtual machine.
- gname string
- Group Name which owns the virtual machine.
- graphics
Virtual
Machine Graphics - See Graphics parameters below for details.
- group string
- Name of the group which owns the virtual machine. Defaults to the caller primary group.
- hard
Shutdown boolean - If the VM doesn't have ACPI support, it immediately poweroff/terminate/reboot/undeploy the VM. Defaults to false.
- ip string
- Primary IPv4 address assigned by OpenNebula
- ip6 string
- Primary IPv6 address assigned by OpenNebula
- ip6Global string
- Global IPv6 address assigned by OpenNebula
- ip6Link string
- Link-local IPv6 address assigned by OpenNebula.
- ip6Ula string
- Unique local IPv6 address assigned by OpenNebula
- keep
Nic booleanOrder - Indicates if the provider should keep NIC list ordering at update.
- lcmstate number
- LCM State of the virtual machine.
- lock string
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - memory number
- Amount of RAM assigned to the VM in MB. Mandatory if
template_id
is not set. - name string
- The name of the virtual machine.
- nic
Aliases VirtualMachine Nic Alias[] - Can be specified multiple times to attach several NIC aliases. See Nic alias parameters below for details.
- nics
Virtual
Machine Nic[] - Can be specified multiple times to attach several NICs. See Nic parameters below for details.
- on
Disk stringChange - Select the behavior for changing disk images. Supported values:
RECREATE
orSWAP
(default).RECREATE
forces recreation of the vm andSWAP
adopts the standard behavior of hot-swapping the disks. NOTE: This property does not affect the behavior of adding new disks. - os
Virtual
Machine Os - See OS parameters below for details.
- pending boolean
- Pending state during VM creation. Defaults to
false
. - permissions string
- Permissions applied on virtual machine. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- raw
Virtual
Machine Raw - Allow to pass hypervisor level tuning content. See Raw parameters below for details.
- sched
Ds stringRequirements - Storage placement requirements to deploy the resource following specific rule.
- sched
Requirements string - Scheduling requirements to deploy the resource following specific rule.
- state number
- State of the virtual machine.
- {[key: string]: string}
- Map of tags (
key=value
) assigned to the resource. Override matching tags present in thedefault_tags
atribute when configured in theprovider
block. See tags usage related documentation for more information. - {[key: string]: string}
- Result of the applied
default_tags
and then resourcetags
. - template
Disks VirtualMachine Template Disk[] - when
template_id
is used and the template define some disks, this contains the template disks description. - template
Id number - If set, VM are instantiated from the template ID. See Instantiate from a template for details. Changing this argument triggers a new resource.
- template
Nic VirtualAliases Machine Template Nic Alias[] - Network adapter(s) assigned to the Virtual Machine via a template
- template
Nics VirtualMachine Template Nic[] - when
template_id
is used and the template define some NICs, this contains the template NICs description. - template
Section {[key: string]: string}Names - When
template_id
was set this keeps the template section names only. - template
Sections VirtualMachine Template Section[] - Allow to add a custom vector. See Template section parameters
- {[key: string]: string}
- When
template_id
was set this keeps the template tags. - timeout number
- Timeout (in Minutes) for VM availability. Defaults to 3 minutes.
- timeouts
Virtual
Machine Timeouts - uid number
- User ID whom owns the virtual machine.
- uname string
- User Name whom owns the virtual machine.
- vcpu number
- Number of virtual CPUs assigned to the virtual machine
- virtual
Machine stringId - ID of the virtual machine.
- vmgroup
Virtual
Machine Vmgroup - See VM group parameters below for details. Changing this argument triggers a new resource.
- context Mapping[str, str]
- Array of free form key=value pairs, rendered and added to the CONTEXT variables for the VM. Recommended to include:
NETWORK = "YES"
andSET_HOSTNAME = "$NAME"
. If atemplate_id
is set, see Instantiate from a template for details. - cpu float
- Amount of CPU shares assigned to the VM. Mandatory if
template_id
is not set. - cpumodel
Virtual
Machine Cpumodel Args - Definition of CPU Model type for the Virtual Machine
- Mapping[str, str]
- Default tags defined in the provider configuration.
- description str
- The description of the template.
- disks
Sequence[Virtual
Machine Disk Args] - Can be specified multiple times to attach several disks. See Disk parameters below for details.
- gid float
- Group ID which owns the virtual machine.
- gname str
- Group Name which owns the virtual machine.
- graphics
Virtual
Machine Graphics Args - See Graphics parameters below for details.
- group str
- Name of the group which owns the virtual machine. Defaults to the caller primary group.
- hard_
shutdown bool - If the VM doesn't have ACPI support, it immediately poweroff/terminate/reboot/undeploy the VM. Defaults to false.
- ip str
- Primary IPv4 address assigned by OpenNebula
- ip6 str
- Primary IPv6 address assigned by OpenNebula
- ip6_
global str - Global IPv6 address assigned by OpenNebula
- ip6_
link str - Link-local IPv6 address assigned by OpenNebula.
- ip6_
ula str - Unique local IPv6 address assigned by OpenNebula
- keep_
nic_ boolorder - Indicates if the provider should keep NIC list ordering at update.
- lcmstate float
- LCM State of the virtual machine.
- lock str
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - memory float
- Amount of RAM assigned to the VM in MB. Mandatory if
template_id
is not set. - name str
- The name of the virtual machine.
- nic_
aliases Sequence[VirtualMachine Nic Alias Args] - Can be specified multiple times to attach several NIC aliases. See Nic alias parameters below for details.
- nics
Sequence[Virtual
Machine Nic Args] - Can be specified multiple times to attach several NICs. See Nic parameters below for details.
- on_
disk_ strchange - Select the behavior for changing disk images. Supported values:
RECREATE
orSWAP
(default).RECREATE
forces recreation of the vm andSWAP
adopts the standard behavior of hot-swapping the disks. NOTE: This property does not affect the behavior of adding new disks. - os
Virtual
Machine Os Args - See OS parameters below for details.
- pending bool
- Pending state during VM creation. Defaults to
false
. - permissions str
- Permissions applied on virtual machine. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- raw
Virtual
Machine Raw Args - Allow to pass hypervisor level tuning content. See Raw parameters below for details.
- sched_
ds_ strrequirements - Storage placement requirements to deploy the resource following specific rule.
- sched_
requirements str - Scheduling requirements to deploy the resource following specific rule.
- state float
- State of the virtual machine.
- Mapping[str, str]
- Map of tags (
key=value
) assigned to the resource. Override matching tags present in thedefault_tags
atribute when configured in theprovider
block. See tags usage related documentation for more information. - Mapping[str, str]
- Result of the applied
default_tags
and then resourcetags
. - template_
disks Sequence[VirtualMachine Template Disk Args] - when
template_id
is used and the template define some disks, this contains the template disks description. - template_
id float - If set, VM are instantiated from the template ID. See Instantiate from a template for details. Changing this argument triggers a new resource.
- template_
nic_ Sequence[Virtualaliases Machine Template Nic Alias Args] - Network adapter(s) assigned to the Virtual Machine via a template
- template_
nics Sequence[VirtualMachine Template Nic Args] - when
template_id
is used and the template define some NICs, this contains the template NICs description. - template_
section_ Mapping[str, str]names - When
template_id
was set this keeps the template section names only. - template_
sections Sequence[VirtualMachine Template Section Args] - Allow to add a custom vector. See Template section parameters
- Mapping[str, str]
- When
template_id
was set this keeps the template tags. - timeout float
- Timeout (in Minutes) for VM availability. Defaults to 3 minutes.
- timeouts
Virtual
Machine Timeouts Args - uid float
- User ID whom owns the virtual machine.
- uname str
- User Name whom owns the virtual machine.
- vcpu float
- Number of virtual CPUs assigned to the virtual machine
- virtual_
machine_ strid - ID of the virtual machine.
- vmgroup
Virtual
Machine Vmgroup Args - See VM group parameters below for details. Changing this argument triggers a new resource.
- context Map<String>
- Array of free form key=value pairs, rendered and added to the CONTEXT variables for the VM. Recommended to include:
NETWORK = "YES"
andSET_HOSTNAME = "$NAME"
. If atemplate_id
is set, see Instantiate from a template for details. - cpu Number
- Amount of CPU shares assigned to the VM. Mandatory if
template_id
is not set. - cpumodel Property Map
- Definition of CPU Model type for the Virtual Machine
- Map<String>
- Default tags defined in the provider configuration.
- description String
- The description of the template.
- disks List<Property Map>
- Can be specified multiple times to attach several disks. See Disk parameters below for details.
- gid Number
- Group ID which owns the virtual machine.
- gname String
- Group Name which owns the virtual machine.
- graphics Property Map
- See Graphics parameters below for details.
- group String
- Name of the group which owns the virtual machine. Defaults to the caller primary group.
- hard
Shutdown Boolean - If the VM doesn't have ACPI support, it immediately poweroff/terminate/reboot/undeploy the VM. Defaults to false.
- ip String
- Primary IPv4 address assigned by OpenNebula
- ip6 String
- Primary IPv6 address assigned by OpenNebula
- ip6Global String
- Global IPv6 address assigned by OpenNebula
- ip6Link String
- Link-local IPv6 address assigned by OpenNebula.
- ip6Ula String
- Unique local IPv6 address assigned by OpenNebula
- keep
Nic BooleanOrder - Indicates if the provider should keep NIC list ordering at update.
- lcmstate Number
- LCM State of the virtual machine.
- lock String
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - memory Number
- Amount of RAM assigned to the VM in MB. Mandatory if
template_id
is not set. - name String
- The name of the virtual machine.
- nic
Aliases List<Property Map> - Can be specified multiple times to attach several NIC aliases. See Nic alias parameters below for details.
- nics List<Property Map>
- Can be specified multiple times to attach several NICs. See Nic parameters below for details.
- on
Disk StringChange - Select the behavior for changing disk images. Supported values:
RECREATE
orSWAP
(default).RECREATE
forces recreation of the vm andSWAP
adopts the standard behavior of hot-swapping the disks. NOTE: This property does not affect the behavior of adding new disks. - os Property Map
- See OS parameters below for details.
- pending Boolean
- Pending state during VM creation. Defaults to
false
. - permissions String
- Permissions applied on virtual machine. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- raw Property Map
- Allow to pass hypervisor level tuning content. See Raw parameters below for details.
- sched
Ds StringRequirements - Storage placement requirements to deploy the resource following specific rule.
- sched
Requirements String - Scheduling requirements to deploy the resource following specific rule.
- state Number
- State of the virtual machine.
- Map<String>
- Map of tags (
key=value
) assigned to the resource. Override matching tags present in thedefault_tags
atribute when configured in theprovider
block. See tags usage related documentation for more information. - Map<String>
- Result of the applied
default_tags
and then resourcetags
. - template
Disks List<Property Map> - when
template_id
is used and the template define some disks, this contains the template disks description. - template
Id Number - If set, VM are instantiated from the template ID. See Instantiate from a template for details. Changing this argument triggers a new resource.
- template
Nic List<Property Map>Aliases - Network adapter(s) assigned to the Virtual Machine via a template
- template
Nics List<Property Map> - when
template_id
is used and the template define some NICs, this contains the template NICs description. - template
Section Map<String>Names - When
template_id
was set this keeps the template section names only. - template
Sections List<Property Map> - Allow to add a custom vector. See Template section parameters
- Map<String>
- When
template_id
was set this keeps the template tags. - timeout Number
- Timeout (in Minutes) for VM availability. Defaults to 3 minutes.
- timeouts Property Map
- uid Number
- User ID whom owns the virtual machine.
- uname String
- User Name whom owns the virtual machine.
- vcpu Number
- Number of virtual CPUs assigned to the virtual machine
- virtual
Machine StringId - ID of the virtual machine.
- vmgroup Property Map
- See VM group parameters below for details. Changing this argument triggers a new resource.
Supporting Types
VirtualMachineCpumodel, VirtualMachineCpumodelArgs
- Model string
- Nic model driver. Example:
virtio
.
- Model string
- Nic model driver. Example:
virtio
.
- model String
- Nic model driver. Example:
virtio
.
- model string
- Nic model driver. Example:
virtio
.
- model str
- Nic model driver. Example:
virtio
.
- model String
- Nic model driver. Example:
virtio
.
VirtualMachineDisk, VirtualMachineDiskArgs
- Cache string
- Computed
Cache string - Computed
Dev stringPrefix - Computed
Discard string - Computed
Driver string - OpenNebula image driver.
- Computed
Io string - Computed
Size double - Size (in MB) of the image attached to the virtual machine. Not possible to change a cloned image size.
- Computed
Target string - Target name device on the virtual machine. Depends of the image
dev_prefix
. - Computed
Volatile stringFormat - Format of the Image:
raw
orqcow2
. - Dev
Prefix string - Discard string
- Disk
Id double - disk attachment identifier
- Driver string
- OpenNebula image driver.
- Image
Id double - ID of the image to attach to the virtual machine. Defaults to -1 if not set: this skip Image attchment to the VM. Conflicts with
volatile_type
andvolatile_format
. - Io string
- Size double
- Size (in MB) of the image. If set, it will resize the image disk to the targeted size. The size must be greater than the current one.
- Target string
- Target name device on the virtual machine. Depends of the image
dev_prefix
. - Volatile
Format string Format of the Image:
raw
orqcow2
. Conflicts withimage_id
.Minimum 1 item. Maximum 8 items.
A disk update will be triggered in adding or removing a
disk
section, or by a modification of any of these parameters:image_id
,target
,driver
- Volatile
Type string - Type of the disk:
swap
orfs
. Typeswap
is not supported in vcenter. Conflicts withimage_id
.
- Cache string
- Computed
Cache string - Computed
Dev stringPrefix - Computed
Discard string - Computed
Driver string - OpenNebula image driver.
- Computed
Io string - Computed
Size float64 - Size (in MB) of the image attached to the virtual machine. Not possible to change a cloned image size.
- Computed
Target string - Target name device on the virtual machine. Depends of the image
dev_prefix
. - Computed
Volatile stringFormat - Format of the Image:
raw
orqcow2
. - Dev
Prefix string - Discard string
- Disk
Id float64 - disk attachment identifier
- Driver string
- OpenNebula image driver.
- Image
Id float64 - ID of the image to attach to the virtual machine. Defaults to -1 if not set: this skip Image attchment to the VM. Conflicts with
volatile_type
andvolatile_format
. - Io string
- Size float64
- Size (in MB) of the image. If set, it will resize the image disk to the targeted size. The size must be greater than the current one.
- Target string
- Target name device on the virtual machine. Depends of the image
dev_prefix
. - Volatile
Format string Format of the Image:
raw
orqcow2
. Conflicts withimage_id
.Minimum 1 item. Maximum 8 items.
A disk update will be triggered in adding or removing a
disk
section, or by a modification of any of these parameters:image_id
,target
,driver
- Volatile
Type string - Type of the disk:
swap
orfs
. Typeswap
is not supported in vcenter. Conflicts withimage_id
.
- cache String
- computed
Cache String - computed
Dev StringPrefix - computed
Discard String - computed
Driver String - OpenNebula image driver.
- computed
Io String - computed
Size Double - Size (in MB) of the image attached to the virtual machine. Not possible to change a cloned image size.
- computed
Target String - Target name device on the virtual machine. Depends of the image
dev_prefix
. - computed
Volatile StringFormat - Format of the Image:
raw
orqcow2
. - dev
Prefix String - discard String
- disk
Id Double - disk attachment identifier
- driver String
- OpenNebula image driver.
- image
Id Double - ID of the image to attach to the virtual machine. Defaults to -1 if not set: this skip Image attchment to the VM. Conflicts with
volatile_type
andvolatile_format
. - io String
- size Double
- Size (in MB) of the image. If set, it will resize the image disk to the targeted size. The size must be greater than the current one.
- target String
- Target name device on the virtual machine. Depends of the image
dev_prefix
. - volatile
Format String Format of the Image:
raw
orqcow2
. Conflicts withimage_id
.Minimum 1 item. Maximum 8 items.
A disk update will be triggered in adding or removing a
disk
section, or by a modification of any of these parameters:image_id
,target
,driver
- volatile
Type String - Type of the disk:
swap
orfs
. Typeswap
is not supported in vcenter. Conflicts withimage_id
.
- cache string
- computed
Cache string - computed
Dev stringPrefix - computed
Discard string - computed
Driver string - OpenNebula image driver.
- computed
Io string - computed
Size number - Size (in MB) of the image attached to the virtual machine. Not possible to change a cloned image size.
- computed
Target string - Target name device on the virtual machine. Depends of the image
dev_prefix
. - computed
Volatile stringFormat - Format of the Image:
raw
orqcow2
. - dev
Prefix string - discard string
- disk
Id number - disk attachment identifier
- driver string
- OpenNebula image driver.
- image
Id number - ID of the image to attach to the virtual machine. Defaults to -1 if not set: this skip Image attchment to the VM. Conflicts with
volatile_type
andvolatile_format
. - io string
- size number
- Size (in MB) of the image. If set, it will resize the image disk to the targeted size. The size must be greater than the current one.
- target string
- Target name device on the virtual machine. Depends of the image
dev_prefix
. - volatile
Format string Format of the Image:
raw
orqcow2
. Conflicts withimage_id
.Minimum 1 item. Maximum 8 items.
A disk update will be triggered in adding or removing a
disk
section, or by a modification of any of these parameters:image_id
,target
,driver
- volatile
Type string - Type of the disk:
swap
orfs
. Typeswap
is not supported in vcenter. Conflicts withimage_id
.
- cache str
- computed_
cache str - computed_
dev_ strprefix - computed_
discard str - computed_
driver str - OpenNebula image driver.
- computed_
io str - computed_
size float - Size (in MB) of the image attached to the virtual machine. Not possible to change a cloned image size.
- computed_
target str - Target name device on the virtual machine. Depends of the image
dev_prefix
. - computed_
volatile_ strformat - Format of the Image:
raw
orqcow2
. - dev_
prefix str - discard str
- disk_
id float - disk attachment identifier
- driver str
- OpenNebula image driver.
- image_
id float - ID of the image to attach to the virtual machine. Defaults to -1 if not set: this skip Image attchment to the VM. Conflicts with
volatile_type
andvolatile_format
. - io str
- size float
- Size (in MB) of the image. If set, it will resize the image disk to the targeted size. The size must be greater than the current one.
- target str
- Target name device on the virtual machine. Depends of the image
dev_prefix
. - volatile_
format str Format of the Image:
raw
orqcow2
. Conflicts withimage_id
.Minimum 1 item. Maximum 8 items.
A disk update will be triggered in adding or removing a
disk
section, or by a modification of any of these parameters:image_id
,target
,driver
- volatile_
type str - Type of the disk:
swap
orfs
. Typeswap
is not supported in vcenter. Conflicts withimage_id
.
- cache String
- computed
Cache String - computed
Dev StringPrefix - computed
Discard String - computed
Driver String - OpenNebula image driver.
- computed
Io String - computed
Size Number - Size (in MB) of the image attached to the virtual machine. Not possible to change a cloned image size.
- computed
Target String - Target name device on the virtual machine. Depends of the image
dev_prefix
. - computed
Volatile StringFormat - Format of the Image:
raw
orqcow2
. - dev
Prefix String - discard String
- disk
Id Number - disk attachment identifier
- driver String
- OpenNebula image driver.
- image
Id Number - ID of the image to attach to the virtual machine. Defaults to -1 if not set: this skip Image attchment to the VM. Conflicts with
volatile_type
andvolatile_format
. - io String
- size Number
- Size (in MB) of the image. If set, it will resize the image disk to the targeted size. The size must be greater than the current one.
- target String
- Target name device on the virtual machine. Depends of the image
dev_prefix
. - volatile
Format String Format of the Image:
raw
orqcow2
. Conflicts withimage_id
.Minimum 1 item. Maximum 8 items.
A disk update will be triggered in adding or removing a
disk
section, or by a modification of any of these parameters:image_id
,target
,driver
- volatile
Type String - Type of the disk:
swap
orfs
. Typeswap
is not supported in vcenter. Conflicts withimage_id
.
VirtualMachineGraphics, VirtualMachineGraphicsArgs
VirtualMachineNic, VirtualMachineNicArgs
- Computed
Alias stringIds - List of the dependants NIC aliases for this NIC.
- Computed
Dns string - DNS server set for the NIC.
- Computed
Gateway string - Default gateway set for the NIC.
- Computed
Ip string - IP of the virtual machine on this network.
- Computed
Ip6 string - IPv6 of the virtual machine on this network.
- Computed
Ip6Global string - IPv6 global address of the virtual machine on this network.
- Computed
Ip6Link string - IPv6 link-local address of the virtual machine on this network.
- Computed
Ip6Ula string - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- Computed
Mac string - MAC of the virtual machine on this network.
- Computed
Method string - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - Computed
Model string - Nic model driver.
- Computed
Name string - Name of the NIC Alias resource.
- Computed
Physical stringDevice - Physical device hosting the virtual network.
- Computed
Security List<double>Groups - List of security group IDs to use on the virtual.
- Computed
Virtio stringQueues - Virtio multi-queue size.
- Dns string
- DNS server set for the NIC. Please make sure
INHERIT_VNET_ATTR="DNS"
is added to/etc/one/oned.conf
. - Gateway string
- Default gateway set for the NIC.
- Ip string
- IPv4 of the virtual machine on this network.
- Ip6 string
- IPv6 of the virtual machine on this network.
- Ip6Global string
- IPv6 global address of the virtual machine on this network.
- Ip6Link string
- IPv6 link-local address of the virtual machine on this network.
- Ip6Ula string
- IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- Mac string
- MAC of the virtual machine on this network.
- Method string
- Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - Model string
- Nic model driver. Example:
virtio
. - Name string
- The name of the NIC. This could be used for reference the NIC as a parent of a NIC Alias.
- Network string
- network name
- Network
Id double - ID of the virtual network to attach to the virtual machine.
- Network
Mode boolAuto - A boolean letting the scheduler pick the Virtual Networks the VM NICs will be attached to. Can only be used at VM creation.
- Nic
Id double - nic alias attachment identifier
- Physical
Device string - Physical device hosting the virtual network.
- Sched
Rank string Arithmetic expression to sort the suitable Virtual Networks for this NIC, when
network_mode_auto
is true. Can only be used at VM creation.Minimum 1 item. Maximum 8 items.
A NIC update will be triggered in adding or removing a
nic
section, or by a modification of any of these parameters:network_id
,ip
,mac
,security_groups
,physical_device
- Sched
Requirements string - A boolean expression to select virtual networks (evaluates to true) to attach the NIC, when
network_mode_auto
is true. Can only be used at VM creation. - Security
Groups List<double> - List of security group IDs to use on the virtual network.
- Virtio
Queues string - Virtio multi-queue size. Only if
model
isvirtio
.
- Computed
Alias stringIds - List of the dependants NIC aliases for this NIC.
- Computed
Dns string - DNS server set for the NIC.
- Computed
Gateway string - Default gateway set for the NIC.
- Computed
Ip string - IP of the virtual machine on this network.
- Computed
Ip6 string - IPv6 of the virtual machine on this network.
- Computed
Ip6Global string - IPv6 global address of the virtual machine on this network.
- Computed
Ip6Link string - IPv6 link-local address of the virtual machine on this network.
- Computed
Ip6Ula string - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- Computed
Mac string - MAC of the virtual machine on this network.
- Computed
Method string - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - Computed
Model string - Nic model driver.
- Computed
Name string - Name of the NIC Alias resource.
- Computed
Physical stringDevice - Physical device hosting the virtual network.
- Computed
Security []float64Groups - List of security group IDs to use on the virtual.
- Computed
Virtio stringQueues - Virtio multi-queue size.
- Dns string
- DNS server set for the NIC. Please make sure
INHERIT_VNET_ATTR="DNS"
is added to/etc/one/oned.conf
. - Gateway string
- Default gateway set for the NIC.
- Ip string
- IPv4 of the virtual machine on this network.
- Ip6 string
- IPv6 of the virtual machine on this network.
- Ip6Global string
- IPv6 global address of the virtual machine on this network.
- Ip6Link string
- IPv6 link-local address of the virtual machine on this network.
- Ip6Ula string
- IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- Mac string
- MAC of the virtual machine on this network.
- Method string
- Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - Model string
- Nic model driver. Example:
virtio
. - Name string
- The name of the NIC. This could be used for reference the NIC as a parent of a NIC Alias.
- Network string
- network name
- Network
Id float64 - ID of the virtual network to attach to the virtual machine.
- Network
Mode boolAuto - A boolean letting the scheduler pick the Virtual Networks the VM NICs will be attached to. Can only be used at VM creation.
- Nic
Id float64 - nic alias attachment identifier
- Physical
Device string - Physical device hosting the virtual network.
- Sched
Rank string Arithmetic expression to sort the suitable Virtual Networks for this NIC, when
network_mode_auto
is true. Can only be used at VM creation.Minimum 1 item. Maximum 8 items.
A NIC update will be triggered in adding or removing a
nic
section, or by a modification of any of these parameters:network_id
,ip
,mac
,security_groups
,physical_device
- Sched
Requirements string - A boolean expression to select virtual networks (evaluates to true) to attach the NIC, when
network_mode_auto
is true. Can only be used at VM creation. - Security
Groups []float64 - List of security group IDs to use on the virtual network.
- Virtio
Queues string - Virtio multi-queue size. Only if
model
isvirtio
.
- computed
Alias StringIds - List of the dependants NIC aliases for this NIC.
- computed
Dns String - DNS server set for the NIC.
- computed
Gateway String - Default gateway set for the NIC.
- computed
Ip String - IP of the virtual machine on this network.
- computed
Ip6 String - IPv6 of the virtual machine on this network.
- computed
Ip6Global String - IPv6 global address of the virtual machine on this network.
- computed
Ip6Link String - IPv6 link-local address of the virtual machine on this network.
- computed
Ip6Ula String - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed
Mac String - MAC of the virtual machine on this network.
- computed
Method String - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed
Model String - Nic model driver.
- computed
Name String - Name of the NIC Alias resource.
- computed
Physical StringDevice - Physical device hosting the virtual network.
- computed
Security List<Double>Groups - List of security group IDs to use on the virtual.
- computed
Virtio StringQueues - Virtio multi-queue size.
- dns String
- DNS server set for the NIC. Please make sure
INHERIT_VNET_ATTR="DNS"
is added to/etc/one/oned.conf
. - gateway String
- Default gateway set for the NIC.
- ip String
- IPv4 of the virtual machine on this network.
- ip6 String
- IPv6 of the virtual machine on this network.
- ip6Global String
- IPv6 global address of the virtual machine on this network.
- ip6Link String
- IPv6 link-local address of the virtual machine on this network.
- ip6Ula String
- IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- mac String
- MAC of the virtual machine on this network.
- method String
- Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - model String
- Nic model driver. Example:
virtio
. - name String
- The name of the NIC. This could be used for reference the NIC as a parent of a NIC Alias.
- network String
- network name
- network
Id Double - ID of the virtual network to attach to the virtual machine.
- network
Mode BooleanAuto - A boolean letting the scheduler pick the Virtual Networks the VM NICs will be attached to. Can only be used at VM creation.
- nic
Id Double - nic alias attachment identifier
- physical
Device String - Physical device hosting the virtual network.
- sched
Rank String Arithmetic expression to sort the suitable Virtual Networks for this NIC, when
network_mode_auto
is true. Can only be used at VM creation.Minimum 1 item. Maximum 8 items.
A NIC update will be triggered in adding or removing a
nic
section, or by a modification of any of these parameters:network_id
,ip
,mac
,security_groups
,physical_device
- sched
Requirements String - A boolean expression to select virtual networks (evaluates to true) to attach the NIC, when
network_mode_auto
is true. Can only be used at VM creation. - security
Groups List<Double> - List of security group IDs to use on the virtual network.
- virtio
Queues String - Virtio multi-queue size. Only if
model
isvirtio
.
- computed
Alias stringIds - List of the dependants NIC aliases for this NIC.
- computed
Dns string - DNS server set for the NIC.
- computed
Gateway string - Default gateway set for the NIC.
- computed
Ip string - IP of the virtual machine on this network.
- computed
Ip6 string - IPv6 of the virtual machine on this network.
- computed
Ip6Global string - IPv6 global address of the virtual machine on this network.
- computed
Ip6Link string - IPv6 link-local address of the virtual machine on this network.
- computed
Ip6Ula string - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed
Mac string - MAC of the virtual machine on this network.
- computed
Method string - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed
Model string - Nic model driver.
- computed
Name string - Name of the NIC Alias resource.
- computed
Physical stringDevice - Physical device hosting the virtual network.
- computed
Security number[]Groups - List of security group IDs to use on the virtual.
- computed
Virtio stringQueues - Virtio multi-queue size.
- dns string
- DNS server set for the NIC. Please make sure
INHERIT_VNET_ATTR="DNS"
is added to/etc/one/oned.conf
. - gateway string
- Default gateway set for the NIC.
- ip string
- IPv4 of the virtual machine on this network.
- ip6 string
- IPv6 of the virtual machine on this network.
- ip6Global string
- IPv6 global address of the virtual machine on this network.
- ip6Link string
- IPv6 link-local address of the virtual machine on this network.
- ip6Ula string
- IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- mac string
- MAC of the virtual machine on this network.
- method string
- Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - model string
- Nic model driver. Example:
virtio
. - name string
- The name of the NIC. This could be used for reference the NIC as a parent of a NIC Alias.
- network string
- network name
- network
Id number - ID of the virtual network to attach to the virtual machine.
- network
Mode booleanAuto - A boolean letting the scheduler pick the Virtual Networks the VM NICs will be attached to. Can only be used at VM creation.
- nic
Id number - nic alias attachment identifier
- physical
Device string - Physical device hosting the virtual network.
- sched
Rank string Arithmetic expression to sort the suitable Virtual Networks for this NIC, when
network_mode_auto
is true. Can only be used at VM creation.Minimum 1 item. Maximum 8 items.
A NIC update will be triggered in adding or removing a
nic
section, or by a modification of any of these parameters:network_id
,ip
,mac
,security_groups
,physical_device
- sched
Requirements string - A boolean expression to select virtual networks (evaluates to true) to attach the NIC, when
network_mode_auto
is true. Can only be used at VM creation. - security
Groups number[] - List of security group IDs to use on the virtual network.
- virtio
Queues string - Virtio multi-queue size. Only if
model
isvirtio
.
- computed_
alias_ strids - List of the dependants NIC aliases for this NIC.
- computed_
dns str - DNS server set for the NIC.
- computed_
gateway str - Default gateway set for the NIC.
- computed_
ip str - IP of the virtual machine on this network.
- computed_
ip6 str - IPv6 of the virtual machine on this network.
- computed_
ip6_ strglobal - IPv6 global address of the virtual machine on this network.
- computed_
ip6_ strlink - IPv6 link-local address of the virtual machine on this network.
- computed_
ip6_ strula - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed_
mac str - MAC of the virtual machine on this network.
- computed_
method str - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed_
model str - Nic model driver.
- computed_
name str - Name of the NIC Alias resource.
- computed_
physical_ strdevice - Physical device hosting the virtual network.
- computed_
security_ Sequence[float]groups - List of security group IDs to use on the virtual.
- computed_
virtio_ strqueues - Virtio multi-queue size.
- dns str
- DNS server set for the NIC. Please make sure
INHERIT_VNET_ATTR="DNS"
is added to/etc/one/oned.conf
. - gateway str
- Default gateway set for the NIC.
- ip str
- IPv4 of the virtual machine on this network.
- ip6 str
- IPv6 of the virtual machine on this network.
- ip6_
global str - IPv6 global address of the virtual machine on this network.
- ip6_
link str - IPv6 link-local address of the virtual machine on this network.
- ip6_
ula str - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- mac str
- MAC of the virtual machine on this network.
- method str
- Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - model str
- Nic model driver. Example:
virtio
. - name str
- The name of the NIC. This could be used for reference the NIC as a parent of a NIC Alias.
- network str
- network name
- network_
id float - ID of the virtual network to attach to the virtual machine.
- network_
mode_ boolauto - A boolean letting the scheduler pick the Virtual Networks the VM NICs will be attached to. Can only be used at VM creation.
- nic_
id float - nic alias attachment identifier
- physical_
device str - Physical device hosting the virtual network.
- sched_
rank str Arithmetic expression to sort the suitable Virtual Networks for this NIC, when
network_mode_auto
is true. Can only be used at VM creation.Minimum 1 item. Maximum 8 items.
A NIC update will be triggered in adding or removing a
nic
section, or by a modification of any of these parameters:network_id
,ip
,mac
,security_groups
,physical_device
- sched_
requirements str - A boolean expression to select virtual networks (evaluates to true) to attach the NIC, when
network_mode_auto
is true. Can only be used at VM creation. - security_
groups Sequence[float] - List of security group IDs to use on the virtual network.
- virtio_
queues str - Virtio multi-queue size. Only if
model
isvirtio
.
- computed
Alias StringIds - List of the dependants NIC aliases for this NIC.
- computed
Dns String - DNS server set for the NIC.
- computed
Gateway String - Default gateway set for the NIC.
- computed
Ip String - IP of the virtual machine on this network.
- computed
Ip6 String - IPv6 of the virtual machine on this network.
- computed
Ip6Global String - IPv6 global address of the virtual machine on this network.
- computed
Ip6Link String - IPv6 link-local address of the virtual machine on this network.
- computed
Ip6Ula String - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed
Mac String - MAC of the virtual machine on this network.
- computed
Method String - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed
Model String - Nic model driver.
- computed
Name String - Name of the NIC Alias resource.
- computed
Physical StringDevice - Physical device hosting the virtual network.
- computed
Security List<Number>Groups - List of security group IDs to use on the virtual.
- computed
Virtio StringQueues - Virtio multi-queue size.
- dns String
- DNS server set for the NIC. Please make sure
INHERIT_VNET_ATTR="DNS"
is added to/etc/one/oned.conf
. - gateway String
- Default gateway set for the NIC.
- ip String
- IPv4 of the virtual machine on this network.
- ip6 String
- IPv6 of the virtual machine on this network.
- ip6Global String
- IPv6 global address of the virtual machine on this network.
- ip6Link String
- IPv6 link-local address of the virtual machine on this network.
- ip6Ula String
- IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- mac String
- MAC of the virtual machine on this network.
- method String
- Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - model String
- Nic model driver. Example:
virtio
. - name String
- The name of the NIC. This could be used for reference the NIC as a parent of a NIC Alias.
- network String
- network name
- network
Id Number - ID of the virtual network to attach to the virtual machine.
- network
Mode BooleanAuto - A boolean letting the scheduler pick the Virtual Networks the VM NICs will be attached to. Can only be used at VM creation.
- nic
Id Number - nic alias attachment identifier
- physical
Device String - Physical device hosting the virtual network.
- sched
Rank String Arithmetic expression to sort the suitable Virtual Networks for this NIC, when
network_mode_auto
is true. Can only be used at VM creation.Minimum 1 item. Maximum 8 items.
A NIC update will be triggered in adding or removing a
nic
section, or by a modification of any of these parameters:network_id
,ip
,mac
,security_groups
,physical_device
- sched
Requirements String - A boolean expression to select virtual networks (evaluates to true) to attach the NIC, when
network_mode_auto
is true. Can only be used at VM creation. - security
Groups List<Number> - List of security group IDs to use on the virtual network.
- virtio
Queues String - Virtio multi-queue size. Only if
model
isvirtio
.
VirtualMachineNicAlias, VirtualMachineNicAliasArgs
- Parent string
- The parent NIC name.
- Computed
Alias doubleId - nic alias index (respective to the referenced NIC)
- Computed
Dns string - DNS server set for the NIC.
- Computed
Gateway string - Default gateway set for the NIC.
- Computed
Ip string - IP of the virtual machine on this network.
- Computed
Ip6 string - IPv6 of the virtual machine on this network.
- Computed
Ip6Global string - IPv6 global address of the virtual machine on this network.
- Computed
Ip6Link string - IPv6 link-local address of the virtual machine on this network.
- Computed
Ip6Ula string - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- Computed
Mac string - MAC of the virtual machine on this network.
- Computed
Method string - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - Computed
Name string - Name of the NIC Alias resource.
- Computed
Network string - network name
- Computed
Network doubleId - ID of the image attached to the virtual machine.
- Computed
Parent string - The parent NIC name.
- Computed
Parent doubleId - The parent NIC ID.
- Computed
Security List<double>Groups - List of security group IDs to use on the virtual.
- Dns string
DNS server set for the NIC. Please make sure
INHERIT_VNET_ATTR="DNS"
is added to/etc/one/oned.conf
.A NIC alias update will be triggered adding or removing a
nic_alias
section.- Gateway string
- Default gateway set for the NIC.
- Ip string
- IP of the virtual machine on this network.
- Ip6 string
- IPv6 of the virtual machine on this network.
- Ip6Global string
- IPv6 global address of the virtual machine on this network.
- Ip6Link string
- IPv6 link-local address of the virtual machine on this network.
- Ip6Ula string
- IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- Mac string
- MAC of the virtual machine on this network.
- Name string
- The name of the NIC Alias.
- Network string
- The name of the virtual network to attach to the virtual machine.
- Network
Id double - ID of the virtual network to attach to the virtual machine.
- Nic
Id double - nic alias attachment identifier
- Security
Groups List<double> - List of security group IDs to use on the virtual network.
- Parent string
- The parent NIC name.
- Computed
Alias float64Id - nic alias index (respective to the referenced NIC)
- Computed
Dns string - DNS server set for the NIC.
- Computed
Gateway string - Default gateway set for the NIC.
- Computed
Ip string - IP of the virtual machine on this network.
- Computed
Ip6 string - IPv6 of the virtual machine on this network.
- Computed
Ip6Global string - IPv6 global address of the virtual machine on this network.
- Computed
Ip6Link string - IPv6 link-local address of the virtual machine on this network.
- Computed
Ip6Ula string - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- Computed
Mac string - MAC of the virtual machine on this network.
- Computed
Method string - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - Computed
Name string - Name of the NIC Alias resource.
- Computed
Network string - network name
- Computed
Network float64Id - ID of the image attached to the virtual machine.
- Computed
Parent string - The parent NIC name.
- Computed
Parent float64Id - The parent NIC ID.
- Computed
Security []float64Groups - List of security group IDs to use on the virtual.
- Dns string
DNS server set for the NIC. Please make sure
INHERIT_VNET_ATTR="DNS"
is added to/etc/one/oned.conf
.A NIC alias update will be triggered adding or removing a
nic_alias
section.- Gateway string
- Default gateway set for the NIC.
- Ip string
- IP of the virtual machine on this network.
- Ip6 string
- IPv6 of the virtual machine on this network.
- Ip6Global string
- IPv6 global address of the virtual machine on this network.
- Ip6Link string
- IPv6 link-local address of the virtual machine on this network.
- Ip6Ula string
- IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- Mac string
- MAC of the virtual machine on this network.
- Name string
- The name of the NIC Alias.
- Network string
- The name of the virtual network to attach to the virtual machine.
- Network
Id float64 - ID of the virtual network to attach to the virtual machine.
- Nic
Id float64 - nic alias attachment identifier
- Security
Groups []float64 - List of security group IDs to use on the virtual network.
- parent String
- The parent NIC name.
- computed
Alias DoubleId - nic alias index (respective to the referenced NIC)
- computed
Dns String - DNS server set for the NIC.
- computed
Gateway String - Default gateway set for the NIC.
- computed
Ip String - IP of the virtual machine on this network.
- computed
Ip6 String - IPv6 of the virtual machine on this network.
- computed
Ip6Global String - IPv6 global address of the virtual machine on this network.
- computed
Ip6Link String - IPv6 link-local address of the virtual machine on this network.
- computed
Ip6Ula String - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed
Mac String - MAC of the virtual machine on this network.
- computed
Method String - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed
Name String - Name of the NIC Alias resource.
- computed
Network String - network name
- computed
Network DoubleId - ID of the image attached to the virtual machine.
- computed
Parent String - The parent NIC name.
- computed
Parent DoubleId - The parent NIC ID.
- computed
Security List<Double>Groups - List of security group IDs to use on the virtual.
- dns String
DNS server set for the NIC. Please make sure
INHERIT_VNET_ATTR="DNS"
is added to/etc/one/oned.conf
.A NIC alias update will be triggered adding or removing a
nic_alias
section.- gateway String
- Default gateway set for the NIC.
- ip String
- IP of the virtual machine on this network.
- ip6 String
- IPv6 of the virtual machine on this network.
- ip6Global String
- IPv6 global address of the virtual machine on this network.
- ip6Link String
- IPv6 link-local address of the virtual machine on this network.
- ip6Ula String
- IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- mac String
- MAC of the virtual machine on this network.
- name String
- The name of the NIC Alias.
- network String
- The name of the virtual network to attach to the virtual machine.
- network
Id Double - ID of the virtual network to attach to the virtual machine.
- nic
Id Double - nic alias attachment identifier
- security
Groups List<Double> - List of security group IDs to use on the virtual network.
- parent string
- The parent NIC name.
- computed
Alias numberId - nic alias index (respective to the referenced NIC)
- computed
Dns string - DNS server set for the NIC.
- computed
Gateway string - Default gateway set for the NIC.
- computed
Ip string - IP of the virtual machine on this network.
- computed
Ip6 string - IPv6 of the virtual machine on this network.
- computed
Ip6Global string - IPv6 global address of the virtual machine on this network.
- computed
Ip6Link string - IPv6 link-local address of the virtual machine on this network.
- computed
Ip6Ula string - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed
Mac string - MAC of the virtual machine on this network.
- computed
Method string - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed
Name string - Name of the NIC Alias resource.
- computed
Network string - network name
- computed
Network numberId - ID of the image attached to the virtual machine.
- computed
Parent string - The parent NIC name.
- computed
Parent numberId - The parent NIC ID.
- computed
Security number[]Groups - List of security group IDs to use on the virtual.
- dns string
DNS server set for the NIC. Please make sure
INHERIT_VNET_ATTR="DNS"
is added to/etc/one/oned.conf
.A NIC alias update will be triggered adding or removing a
nic_alias
section.- gateway string
- Default gateway set for the NIC.
- ip string
- IP of the virtual machine on this network.
- ip6 string
- IPv6 of the virtual machine on this network.
- ip6Global string
- IPv6 global address of the virtual machine on this network.
- ip6Link string
- IPv6 link-local address of the virtual machine on this network.
- ip6Ula string
- IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- mac string
- MAC of the virtual machine on this network.
- name string
- The name of the NIC Alias.
- network string
- The name of the virtual network to attach to the virtual machine.
- network
Id number - ID of the virtual network to attach to the virtual machine.
- nic
Id number - nic alias attachment identifier
- security
Groups number[] - List of security group IDs to use on the virtual network.
- parent str
- The parent NIC name.
- computed_
alias_ floatid - nic alias index (respective to the referenced NIC)
- computed_
dns str - DNS server set for the NIC.
- computed_
gateway str - Default gateway set for the NIC.
- computed_
ip str - IP of the virtual machine on this network.
- computed_
ip6 str - IPv6 of the virtual machine on this network.
- computed_
ip6_ strglobal - IPv6 global address of the virtual machine on this network.
- computed_
ip6_ strlink - IPv6 link-local address of the virtual machine on this network.
- computed_
ip6_ strula - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed_
mac str - MAC of the virtual machine on this network.
- computed_
method str - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed_
name str - Name of the NIC Alias resource.
- computed_
network str - network name
- computed_
network_ floatid - ID of the image attached to the virtual machine.
- computed_
parent str - The parent NIC name.
- computed_
parent_ floatid - The parent NIC ID.
- computed_
security_ Sequence[float]groups - List of security group IDs to use on the virtual.
- dns str
DNS server set for the NIC. Please make sure
INHERIT_VNET_ATTR="DNS"
is added to/etc/one/oned.conf
.A NIC alias update will be triggered adding or removing a
nic_alias
section.- gateway str
- Default gateway set for the NIC.
- ip str
- IP of the virtual machine on this network.
- ip6 str
- IPv6 of the virtual machine on this network.
- ip6_
global str - IPv6 global address of the virtual machine on this network.
- ip6_
link str - IPv6 link-local address of the virtual machine on this network.
- ip6_
ula str - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- mac str
- MAC of the virtual machine on this network.
- name str
- The name of the NIC Alias.
- network str
- The name of the virtual network to attach to the virtual machine.
- network_
id float - ID of the virtual network to attach to the virtual machine.
- nic_
id float - nic alias attachment identifier
- security_
groups Sequence[float] - List of security group IDs to use on the virtual network.
- parent String
- The parent NIC name.
- computed
Alias NumberId - nic alias index (respective to the referenced NIC)
- computed
Dns String - DNS server set for the NIC.
- computed
Gateway String - Default gateway set for the NIC.
- computed
Ip String - IP of the virtual machine on this network.
- computed
Ip6 String - IPv6 of the virtual machine on this network.
- computed
Ip6Global String - IPv6 global address of the virtual machine on this network.
- computed
Ip6Link String - IPv6 link-local address of the virtual machine on this network.
- computed
Ip6Ula String - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed
Mac String - MAC of the virtual machine on this network.
- computed
Method String - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed
Name String - Name of the NIC Alias resource.
- computed
Network String - network name
- computed
Network NumberId - ID of the image attached to the virtual machine.
- computed
Parent String - The parent NIC name.
- computed
Parent NumberId - The parent NIC ID.
- computed
Security List<Number>Groups - List of security group IDs to use on the virtual.
- dns String
DNS server set for the NIC. Please make sure
INHERIT_VNET_ATTR="DNS"
is added to/etc/one/oned.conf
.A NIC alias update will be triggered adding or removing a
nic_alias
section.- gateway String
- Default gateway set for the NIC.
- ip String
- IP of the virtual machine on this network.
- ip6 String
- IPv6 of the virtual machine on this network.
- ip6Global String
- IPv6 global address of the virtual machine on this network.
- ip6Link String
- IPv6 link-local address of the virtual machine on this network.
- ip6Ula String
- IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- mac String
- MAC of the virtual machine on this network.
- name String
- The name of the NIC Alias.
- network String
- The name of the virtual network to attach to the virtual machine.
- network
Id Number - ID of the virtual network to attach to the virtual machine.
- nic
Id Number - nic alias attachment identifier
- security
Groups List<Number> - List of security group IDs to use on the virtual network.
VirtualMachineOs, VirtualMachineOsArgs
- Arch string
- Hardware architecture of the Virtual machine. Must fit the host architecture.
- Boot string
OS
disk to use to boot on.- Bootloader string
- Path to the bootloader executable.
- Firmware string
- Firmware type or firmware path. Possible values:
BIOS
or path for KVM,BIOS
orUEFI
for vCenter. - Firmware
Secure bool - Enable Secure Boot. (Can be
true
orfalse
).- (!!) Use one of
kernel_ds
orkernel
(andinitrd
orinitrd_ds
).
- (!!) Use one of
- Initrd string
- Path to the initrd image in the host.
- Initrd
Ds string - Image to be used as ramdisk. (see !!)
- Kernel string
- Path to the
OS
kernel to boot the image in the host. - Kernel
Cmd string - Arguments for the booting kernel.
- Kernel
Ds string - Image to be used as kernel. (see !!)
- Machine string
- libvirt machine type.
- Root string
- Device to be mounted as root.
- Sd
Disk stringBus - Bus for disks with sd prefix, either
scsi
orsata
, if attribute is missing, libvirt chooses itself. - Uuid string
- Unique ID of the VM.
- Arch string
- Hardware architecture of the Virtual machine. Must fit the host architecture.
- Boot string
OS
disk to use to boot on.- Bootloader string
- Path to the bootloader executable.
- Firmware string
- Firmware type or firmware path. Possible values:
BIOS
or path for KVM,BIOS
orUEFI
for vCenter. - Firmware
Secure bool - Enable Secure Boot. (Can be
true
orfalse
).- (!!) Use one of
kernel_ds
orkernel
(andinitrd
orinitrd_ds
).
- (!!) Use one of
- Initrd string
- Path to the initrd image in the host.
- Initrd
Ds string - Image to be used as ramdisk. (see !!)
- Kernel string
- Path to the
OS
kernel to boot the image in the host. - Kernel
Cmd string - Arguments for the booting kernel.
- Kernel
Ds string - Image to be used as kernel. (see !!)
- Machine string
- libvirt machine type.
- Root string
- Device to be mounted as root.
- Sd
Disk stringBus - Bus for disks with sd prefix, either
scsi
orsata
, if attribute is missing, libvirt chooses itself. - Uuid string
- Unique ID of the VM.
- arch String
- Hardware architecture of the Virtual machine. Must fit the host architecture.
- boot String
OS
disk to use to boot on.- bootloader String
- Path to the bootloader executable.
- firmware String
- Firmware type or firmware path. Possible values:
BIOS
or path for KVM,BIOS
orUEFI
for vCenter. - firmware
Secure Boolean - Enable Secure Boot. (Can be
true
orfalse
).- (!!) Use one of
kernel_ds
orkernel
(andinitrd
orinitrd_ds
).
- (!!) Use one of
- initrd String
- Path to the initrd image in the host.
- initrd
Ds String - Image to be used as ramdisk. (see !!)
- kernel String
- Path to the
OS
kernel to boot the image in the host. - kernel
Cmd String - Arguments for the booting kernel.
- kernel
Ds String - Image to be used as kernel. (see !!)
- machine String
- libvirt machine type.
- root String
- Device to be mounted as root.
- sd
Disk StringBus - Bus for disks with sd prefix, either
scsi
orsata
, if attribute is missing, libvirt chooses itself. - uuid String
- Unique ID of the VM.
- arch string
- Hardware architecture of the Virtual machine. Must fit the host architecture.
- boot string
OS
disk to use to boot on.- bootloader string
- Path to the bootloader executable.
- firmware string
- Firmware type or firmware path. Possible values:
BIOS
or path for KVM,BIOS
orUEFI
for vCenter. - firmware
Secure boolean - Enable Secure Boot. (Can be
true
orfalse
).- (!!) Use one of
kernel_ds
orkernel
(andinitrd
orinitrd_ds
).
- (!!) Use one of
- initrd string
- Path to the initrd image in the host.
- initrd
Ds string - Image to be used as ramdisk. (see !!)
- kernel string
- Path to the
OS
kernel to boot the image in the host. - kernel
Cmd string - Arguments for the booting kernel.
- kernel
Ds string - Image to be used as kernel. (see !!)
- machine string
- libvirt machine type.
- root string
- Device to be mounted as root.
- sd
Disk stringBus - Bus for disks with sd prefix, either
scsi
orsata
, if attribute is missing, libvirt chooses itself. - uuid string
- Unique ID of the VM.
- arch str
- Hardware architecture of the Virtual machine. Must fit the host architecture.
- boot str
OS
disk to use to boot on.- bootloader str
- Path to the bootloader executable.
- firmware str
- Firmware type or firmware path. Possible values:
BIOS
or path for KVM,BIOS
orUEFI
for vCenter. - firmware_
secure bool - Enable Secure Boot. (Can be
true
orfalse
).- (!!) Use one of
kernel_ds
orkernel
(andinitrd
orinitrd_ds
).
- (!!) Use one of
- initrd str
- Path to the initrd image in the host.
- initrd_
ds str - Image to be used as ramdisk. (see !!)
- kernel str
- Path to the
OS
kernel to boot the image in the host. - kernel_
cmd str - Arguments for the booting kernel.
- kernel_
ds str - Image to be used as kernel. (see !!)
- machine str
- libvirt machine type.
- root str
- Device to be mounted as root.
- sd_
disk_ strbus - Bus for disks with sd prefix, either
scsi
orsata
, if attribute is missing, libvirt chooses itself. - uuid str
- Unique ID of the VM.
- arch String
- Hardware architecture of the Virtual machine. Must fit the host architecture.
- boot String
OS
disk to use to boot on.- bootloader String
- Path to the bootloader executable.
- firmware String
- Firmware type or firmware path. Possible values:
BIOS
or path for KVM,BIOS
orUEFI
for vCenter. - firmware
Secure Boolean - Enable Secure Boot. (Can be
true
orfalse
).- (!!) Use one of
kernel_ds
orkernel
(andinitrd
orinitrd_ds
).
- (!!) Use one of
- initrd String
- Path to the initrd image in the host.
- initrd
Ds String - Image to be used as ramdisk. (see !!)
- kernel String
- Path to the
OS
kernel to boot the image in the host. - kernel
Cmd String - Arguments for the booting kernel.
- kernel
Ds String - Image to be used as kernel. (see !!)
- machine String
- libvirt machine type.
- root String
- Device to be mounted as root.
- sd
Disk StringBus - Bus for disks with sd prefix, either
scsi
orsata
, if attribute is missing, libvirt chooses itself. - uuid String
- Unique ID of the VM.
VirtualMachineRaw, VirtualMachineRawArgs
VirtualMachineTemplateDisk, VirtualMachineTemplateDiskArgs
- Computed
Cache string - Computed
Dev stringPrefix - Computed
Discard string - Computed
Driver string - OpenNebula image driver.
- Computed
Io string - Computed
Size double - Size (in MB) of the image attached to the virtual machine. Not possible to change a cloned image size.
- Computed
Target string - Target name device on the virtual machine. Depends of the image
dev_prefix
. - Computed
Volatile stringFormat - Format of the Image:
raw
orqcow2
. - Disk
Id double - disk attachment identifier
- Image
Id double - ID of the image attached to the virtual machine.
- Computed
Cache string - Computed
Dev stringPrefix - Computed
Discard string - Computed
Driver string - OpenNebula image driver.
- Computed
Io string - Computed
Size float64 - Size (in MB) of the image attached to the virtual machine. Not possible to change a cloned image size.
- Computed
Target string - Target name device on the virtual machine. Depends of the image
dev_prefix
. - Computed
Volatile stringFormat - Format of the Image:
raw
orqcow2
. - Disk
Id float64 - disk attachment identifier
- Image
Id float64 - ID of the image attached to the virtual machine.
- computed
Cache String - computed
Dev StringPrefix - computed
Discard String - computed
Driver String - OpenNebula image driver.
- computed
Io String - computed
Size Double - Size (in MB) of the image attached to the virtual machine. Not possible to change a cloned image size.
- computed
Target String - Target name device on the virtual machine. Depends of the image
dev_prefix
. - computed
Volatile StringFormat - Format of the Image:
raw
orqcow2
. - disk
Id Double - disk attachment identifier
- image
Id Double - ID of the image attached to the virtual machine.
- computed
Cache string - computed
Dev stringPrefix - computed
Discard string - computed
Driver string - OpenNebula image driver.
- computed
Io string - computed
Size number - Size (in MB) of the image attached to the virtual machine. Not possible to change a cloned image size.
- computed
Target string - Target name device on the virtual machine. Depends of the image
dev_prefix
. - computed
Volatile stringFormat - Format of the Image:
raw
orqcow2
. - disk
Id number - disk attachment identifier
- image
Id number - ID of the image attached to the virtual machine.
- computed_
cache str - computed_
dev_ strprefix - computed_
discard str - computed_
driver str - OpenNebula image driver.
- computed_
io str - computed_
size float - Size (in MB) of the image attached to the virtual machine. Not possible to change a cloned image size.
- computed_
target str - Target name device on the virtual machine. Depends of the image
dev_prefix
. - computed_
volatile_ strformat - Format of the Image:
raw
orqcow2
. - disk_
id float - disk attachment identifier
- image_
id float - ID of the image attached to the virtual machine.
- computed
Cache String - computed
Dev StringPrefix - computed
Discard String - computed
Driver String - OpenNebula image driver.
- computed
Io String - computed
Size Number - Size (in MB) of the image attached to the virtual machine. Not possible to change a cloned image size.
- computed
Target String - Target name device on the virtual machine. Depends of the image
dev_prefix
. - computed
Volatile StringFormat - Format of the Image:
raw
orqcow2
. - disk
Id Number - disk attachment identifier
- image
Id Number - ID of the image attached to the virtual machine.
VirtualMachineTemplateNic, VirtualMachineTemplateNicArgs
- Computed
Alias stringIds - List of the dependants NIC aliases for this NIC.
- Computed
Dns string - DNS server set for the NIC.
- Computed
Gateway string - Default gateway set for the NIC.
- Computed
Ip string - IP of the virtual machine on this network.
- Computed
Ip6 string - IPv6 of the virtual machine on this network.
- Computed
Ip6Global string - IPv6 global address of the virtual machine on this network.
- Computed
Ip6Link string - IPv6 link-local address of the virtual machine on this network.
- Computed
Ip6Ula string - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- Computed
Mac string - MAC of the virtual machine on this network.
- Computed
Method string - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - Computed
Model string - Nic model driver.
- Computed
Name string - Name of the NIC Alias resource.
- Computed
Physical stringDevice - Physical device hosting the virtual network.
- Computed
Security List<double>Groups - List of security group IDs to use on the virtual.
- Computed
Virtio stringQueues - Virtio multi-queue size.
- Network string
- network name
- Network
Id double - ID of the image attached to the virtual machine.
- Nic
Id double - nic alias attachment identifier
- Computed
Alias stringIds - List of the dependants NIC aliases for this NIC.
- Computed
Dns string - DNS server set for the NIC.
- Computed
Gateway string - Default gateway set for the NIC.
- Computed
Ip string - IP of the virtual machine on this network.
- Computed
Ip6 string - IPv6 of the virtual machine on this network.
- Computed
Ip6Global string - IPv6 global address of the virtual machine on this network.
- Computed
Ip6Link string - IPv6 link-local address of the virtual machine on this network.
- Computed
Ip6Ula string - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- Computed
Mac string - MAC of the virtual machine on this network.
- Computed
Method string - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - Computed
Model string - Nic model driver.
- Computed
Name string - Name of the NIC Alias resource.
- Computed
Physical stringDevice - Physical device hosting the virtual network.
- Computed
Security []float64Groups - List of security group IDs to use on the virtual.
- Computed
Virtio stringQueues - Virtio multi-queue size.
- Network string
- network name
- Network
Id float64 - ID of the image attached to the virtual machine.
- Nic
Id float64 - nic alias attachment identifier
- computed
Alias StringIds - List of the dependants NIC aliases for this NIC.
- computed
Dns String - DNS server set for the NIC.
- computed
Gateway String - Default gateway set for the NIC.
- computed
Ip String - IP of the virtual machine on this network.
- computed
Ip6 String - IPv6 of the virtual machine on this network.
- computed
Ip6Global String - IPv6 global address of the virtual machine on this network.
- computed
Ip6Link String - IPv6 link-local address of the virtual machine on this network.
- computed
Ip6Ula String - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed
Mac String - MAC of the virtual machine on this network.
- computed
Method String - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed
Model String - Nic model driver.
- computed
Name String - Name of the NIC Alias resource.
- computed
Physical StringDevice - Physical device hosting the virtual network.
- computed
Security List<Double>Groups - List of security group IDs to use on the virtual.
- computed
Virtio StringQueues - Virtio multi-queue size.
- network String
- network name
- network
Id Double - ID of the image attached to the virtual machine.
- nic
Id Double - nic alias attachment identifier
- computed
Alias stringIds - List of the dependants NIC aliases for this NIC.
- computed
Dns string - DNS server set for the NIC.
- computed
Gateway string - Default gateway set for the NIC.
- computed
Ip string - IP of the virtual machine on this network.
- computed
Ip6 string - IPv6 of the virtual machine on this network.
- computed
Ip6Global string - IPv6 global address of the virtual machine on this network.
- computed
Ip6Link string - IPv6 link-local address of the virtual machine on this network.
- computed
Ip6Ula string - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed
Mac string - MAC of the virtual machine on this network.
- computed
Method string - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed
Model string - Nic model driver.
- computed
Name string - Name of the NIC Alias resource.
- computed
Physical stringDevice - Physical device hosting the virtual network.
- computed
Security number[]Groups - List of security group IDs to use on the virtual.
- computed
Virtio stringQueues - Virtio multi-queue size.
- network string
- network name
- network
Id number - ID of the image attached to the virtual machine.
- nic
Id number - nic alias attachment identifier
- computed_
alias_ strids - List of the dependants NIC aliases for this NIC.
- computed_
dns str - DNS server set for the NIC.
- computed_
gateway str - Default gateway set for the NIC.
- computed_
ip str - IP of the virtual machine on this network.
- computed_
ip6 str - IPv6 of the virtual machine on this network.
- computed_
ip6_ strglobal - IPv6 global address of the virtual machine on this network.
- computed_
ip6_ strlink - IPv6 link-local address of the virtual machine on this network.
- computed_
ip6_ strula - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed_
mac str - MAC of the virtual machine on this network.
- computed_
method str - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed_
model str - Nic model driver.
- computed_
name str - Name of the NIC Alias resource.
- computed_
physical_ strdevice - Physical device hosting the virtual network.
- computed_
security_ Sequence[float]groups - List of security group IDs to use on the virtual.
- computed_
virtio_ strqueues - Virtio multi-queue size.
- network str
- network name
- network_
id float - ID of the image attached to the virtual machine.
- nic_
id float - nic alias attachment identifier
- computed
Alias StringIds - List of the dependants NIC aliases for this NIC.
- computed
Dns String - DNS server set for the NIC.
- computed
Gateway String - Default gateway set for the NIC.
- computed
Ip String - IP of the virtual machine on this network.
- computed
Ip6 String - IPv6 of the virtual machine on this network.
- computed
Ip6Global String - IPv6 global address of the virtual machine on this network.
- computed
Ip6Link String - IPv6 link-local address of the virtual machine on this network.
- computed
Ip6Ula String - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed
Mac String - MAC of the virtual machine on this network.
- computed
Method String - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed
Model String - Nic model driver.
- computed
Name String - Name of the NIC Alias resource.
- computed
Physical StringDevice - Physical device hosting the virtual network.
- computed
Security List<Number>Groups - List of security group IDs to use on the virtual.
- computed
Virtio StringQueues - Virtio multi-queue size.
- network String
- network name
- network
Id Number - ID of the image attached to the virtual machine.
- nic
Id Number - nic alias attachment identifier
VirtualMachineTemplateNicAlias, VirtualMachineTemplateNicAliasArgs
- Computed
Alias doubleId - nic alias index (respective to the referenced NIC)
- Computed
Dns string - DNS server set for the NIC.
- Computed
Gateway string - Default gateway set for the NIC.
- Computed
Ip string - IP of the virtual machine on this network.
- Computed
Ip6 string - IPv6 of the virtual machine on this network.
- Computed
Ip6Global string - IPv6 global address of the virtual machine on this network.
- Computed
Ip6Link string - IPv6 link-local address of the virtual machine on this network.
- Computed
Ip6Ula string - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- Computed
Mac string - MAC of the virtual machine on this network.
- Computed
Method string - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - Computed
Name string - Name of the NIC Alias resource.
- Computed
Network string - network name
- Computed
Network doubleId - ID of the image attached to the virtual machine.
- Computed
Parent string - The parent NIC name.
- Computed
Parent doubleId - The parent NIC ID.
- Computed
Security List<double>Groups - List of security group IDs to use on the virtual.
- Network string
- network name
- Network
Id double - ID of the image attached to the virtual machine.
- Nic
Id double - nic alias attachment identifier
- Parent string
- The parent NIC name.
- Computed
Alias float64Id - nic alias index (respective to the referenced NIC)
- Computed
Dns string - DNS server set for the NIC.
- Computed
Gateway string - Default gateway set for the NIC.
- Computed
Ip string - IP of the virtual machine on this network.
- Computed
Ip6 string - IPv6 of the virtual machine on this network.
- Computed
Ip6Global string - IPv6 global address of the virtual machine on this network.
- Computed
Ip6Link string - IPv6 link-local address of the virtual machine on this network.
- Computed
Ip6Ula string - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- Computed
Mac string - MAC of the virtual machine on this network.
- Computed
Method string - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - Computed
Name string - Name of the NIC Alias resource.
- Computed
Network string - network name
- Computed
Network float64Id - ID of the image attached to the virtual machine.
- Computed
Parent string - The parent NIC name.
- Computed
Parent float64Id - The parent NIC ID.
- Computed
Security []float64Groups - List of security group IDs to use on the virtual.
- Network string
- network name
- Network
Id float64 - ID of the image attached to the virtual machine.
- Nic
Id float64 - nic alias attachment identifier
- Parent string
- The parent NIC name.
- computed
Alias DoubleId - nic alias index (respective to the referenced NIC)
- computed
Dns String - DNS server set for the NIC.
- computed
Gateway String - Default gateway set for the NIC.
- computed
Ip String - IP of the virtual machine on this network.
- computed
Ip6 String - IPv6 of the virtual machine on this network.
- computed
Ip6Global String - IPv6 global address of the virtual machine on this network.
- computed
Ip6Link String - IPv6 link-local address of the virtual machine on this network.
- computed
Ip6Ula String - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed
Mac String - MAC of the virtual machine on this network.
- computed
Method String - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed
Name String - Name of the NIC Alias resource.
- computed
Network String - network name
- computed
Network DoubleId - ID of the image attached to the virtual machine.
- computed
Parent String - The parent NIC name.
- computed
Parent DoubleId - The parent NIC ID.
- computed
Security List<Double>Groups - List of security group IDs to use on the virtual.
- network String
- network name
- network
Id Double - ID of the image attached to the virtual machine.
- nic
Id Double - nic alias attachment identifier
- parent String
- The parent NIC name.
- computed
Alias numberId - nic alias index (respective to the referenced NIC)
- computed
Dns string - DNS server set for the NIC.
- computed
Gateway string - Default gateway set for the NIC.
- computed
Ip string - IP of the virtual machine on this network.
- computed
Ip6 string - IPv6 of the virtual machine on this network.
- computed
Ip6Global string - IPv6 global address of the virtual machine on this network.
- computed
Ip6Link string - IPv6 link-local address of the virtual machine on this network.
- computed
Ip6Ula string - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed
Mac string - MAC of the virtual machine on this network.
- computed
Method string - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed
Name string - Name of the NIC Alias resource.
- computed
Network string - network name
- computed
Network numberId - ID of the image attached to the virtual machine.
- computed
Parent string - The parent NIC name.
- computed
Parent numberId - The parent NIC ID.
- computed
Security number[]Groups - List of security group IDs to use on the virtual.
- network string
- network name
- network
Id number - ID of the image attached to the virtual machine.
- nic
Id number - nic alias attachment identifier
- parent string
- The parent NIC name.
- computed_
alias_ floatid - nic alias index (respective to the referenced NIC)
- computed_
dns str - DNS server set for the NIC.
- computed_
gateway str - Default gateway set for the NIC.
- computed_
ip str - IP of the virtual machine on this network.
- computed_
ip6 str - IPv6 of the virtual machine on this network.
- computed_
ip6_ strglobal - IPv6 global address of the virtual machine on this network.
- computed_
ip6_ strlink - IPv6 link-local address of the virtual machine on this network.
- computed_
ip6_ strula - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed_
mac str - MAC of the virtual machine on this network.
- computed_
method str - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed_
name str - Name of the NIC Alias resource.
- computed_
network str - network name
- computed_
network_ floatid - ID of the image attached to the virtual machine.
- computed_
parent str - The parent NIC name.
- computed_
parent_ floatid - The parent NIC ID.
- computed_
security_ Sequence[float]groups - List of security group IDs to use on the virtual.
- network str
- network name
- network_
id float - ID of the image attached to the virtual machine.
- nic_
id float - nic alias attachment identifier
- parent str
- The parent NIC name.
- computed
Alias NumberId - nic alias index (respective to the referenced NIC)
- computed
Dns String - DNS server set for the NIC.
- computed
Gateway String - Default gateway set for the NIC.
- computed
Ip String - IP of the virtual machine on this network.
- computed
Ip6 String - IPv6 of the virtual machine on this network.
- computed
Ip6Global String - IPv6 global address of the virtual machine on this network.
- computed
Ip6Link String - IPv6 link-local address of the virtual machine on this network.
- computed
Ip6Ula String - IPv6 ULA (Unique Local Address) of the virtual machine on this network.
- computed
Mac String - MAC of the virtual machine on this network.
- computed
Method String - Method of obtaining IP addresses (empty or
static
,dhcp
,skip
). - computed
Name String - Name of the NIC Alias resource.
- computed
Network String - network name
- computed
Network NumberId - ID of the image attached to the virtual machine.
- computed
Parent String - The parent NIC name.
- computed
Parent NumberId - The parent NIC ID.
- computed
Security List<Number>Groups - List of security group IDs to use on the virtual.
- network String
- network name
- network
Id Number - ID of the image attached to the virtual machine.
- nic
Id Number - nic alias attachment identifier
- parent String
- The parent NIC name.
VirtualMachineTemplateSection, VirtualMachineTemplateSectionArgs
VirtualMachineTimeouts, VirtualMachineTimeoutsArgs
VirtualMachineVmgroup, VirtualMachineVmgroupArgs
- role str
- role of the VM group to use.
- vmgroup_
id float - ID of the VM group to use.
Import
opennebula_virtual_machine
can be imported using its ID:
$ pulumi import opennebula:index/virtualMachine:VirtualMachine example 123
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opennebula opennebula/terraform-provider-opennebula
- License
- Notes
- This Pulumi package is based on the
opennebula
Terraform Provider.