opennebula.VirtualNetwork
Explore with Pulumi AI
Provides an OpenNebula virtual network resource.
This resource allows you to manage virtual networks on your OpenNebula clusters. When applied, a new virtual network is created. When destroyed, that virtual network is removed.
Example Usage
Reservation of a virtual network
Allocate a new virtual network from the parent virtual network “394”:
import * as pulumi from "@pulumi/pulumi";
import * as opennebula from "@pulumi/opennebula";
const example = new opennebula.VirtualNetwork("example", {
description: "Terraform vnet",
reservationArId: 1,
reservationFirstIp: "172.16.100.105",
reservationSize: 5,
reservationVnet: 394,
securityGroups: [0],
});
import pulumi
import pulumi_opennebula as opennebula
example = opennebula.VirtualNetwork("example",
description="Terraform vnet",
reservation_ar_id=1,
reservation_first_ip="172.16.100.105",
reservation_size=5,
reservation_vnet=394,
security_groups=[0])
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 {
_, err := opennebula.NewVirtualNetwork(ctx, "example", &opennebula.VirtualNetworkArgs{
Description: pulumi.String("Terraform vnet"),
ReservationArId: pulumi.Float64(1),
ReservationFirstIp: pulumi.String("172.16.100.105"),
ReservationSize: pulumi.Float64(5),
ReservationVnet: pulumi.Float64(394),
SecurityGroups: pulumi.Float64Array{
pulumi.Float64(0),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opennebula = Pulumi.Opennebula;
return await Deployment.RunAsync(() =>
{
var example = new Opennebula.VirtualNetwork("example", new()
{
Description = "Terraform vnet",
ReservationArId = 1,
ReservationFirstIp = "172.16.100.105",
ReservationSize = 5,
ReservationVnet = 394,
SecurityGroups = new[]
{
0,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opennebula.VirtualNetwork;
import com.pulumi.opennebula.VirtualNetworkArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new VirtualNetwork("example", VirtualNetworkArgs.builder()
.description("Terraform vnet")
.reservationArId(1)
.reservationFirstIp("172.16.100.105")
.reservationSize(5)
.reservationVnet(394)
.securityGroups(0)
.build());
}
}
resources:
example:
type: opennebula:VirtualNetwork
properties:
description: Terraform vnet
reservationArId: 1
reservationFirstIp: 172.16.100.105
reservationSize: 5
reservationVnet: 394
securityGroups:
- 0
Virtual network creation
import * as pulumi from "@pulumi/pulumi";
import * as opennebula from "@pulumi/opennebula";
const example = new opennebula.VirtualNetwork("example", {
permissions: "660",
group: opennebula_group.example.name,
bridge: "br0",
physicalDevice: "eth0",
type: "fw",
mtu: 1500,
dns: "172.16.100.1",
gateway: "172.16.100.1",
securityGroups: [0],
clusterIds: [0],
ars: [{
arType: "IP4",
size: 16,
ip4: "172.16.100.101",
}],
tags: {
environment: "example",
},
templateSections: [{
name: "example",
elements: {
key1: "value1",
},
}],
});
import pulumi
import pulumi_opennebula as opennebula
example = opennebula.VirtualNetwork("example",
permissions="660",
group=opennebula_group["example"]["name"],
bridge="br0",
physical_device="eth0",
type="fw",
mtu=1500,
dns="172.16.100.1",
gateway="172.16.100.1",
security_groups=[0],
cluster_ids=[0],
ars=[{
"ar_type": "IP4",
"size": 16,
"ip4": "172.16.100.101",
}],
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 {
_, err := opennebula.NewVirtualNetwork(ctx, "example", &opennebula.VirtualNetworkArgs{
Permissions: pulumi.String("660"),
Group: pulumi.Any(opennebula_group.Example.Name),
Bridge: pulumi.String("br0"),
PhysicalDevice: pulumi.String("eth0"),
Type: pulumi.String("fw"),
Mtu: pulumi.Float64(1500),
Dns: pulumi.String("172.16.100.1"),
Gateway: pulumi.String("172.16.100.1"),
SecurityGroups: pulumi.Float64Array{
pulumi.Float64(0),
},
ClusterIds: pulumi.Float64Array{
pulumi.Float64(0),
},
Ars: opennebula.VirtualNetworkArArray{
&opennebula.VirtualNetworkArArgs{
ArType: pulumi.String("IP4"),
Size: pulumi.Float64(16),
Ip4: pulumi.String("172.16.100.101"),
},
},
Tags: pulumi.StringMap{
"environment": pulumi.String("example"),
},
TemplateSections: opennebula.VirtualNetworkTemplateSectionArray{
&opennebula.VirtualNetworkTemplateSectionArgs{
Name: pulumi.String("example"),
Elements: pulumi.StringMap{
"key1": pulumi.String("value1"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opennebula = Pulumi.Opennebula;
return await Deployment.RunAsync(() =>
{
var example = new Opennebula.VirtualNetwork("example", new()
{
Permissions = "660",
Group = opennebula_group.Example.Name,
Bridge = "br0",
PhysicalDevice = "eth0",
Type = "fw",
Mtu = 1500,
Dns = "172.16.100.1",
Gateway = "172.16.100.1",
SecurityGroups = new[]
{
0,
},
ClusterIds = new[]
{
0,
},
Ars = new[]
{
new Opennebula.Inputs.VirtualNetworkArArgs
{
ArType = "IP4",
Size = 16,
Ip4 = "172.16.100.101",
},
},
Tags =
{
{ "environment", "example" },
},
TemplateSections = new[]
{
new Opennebula.Inputs.VirtualNetworkTemplateSectionArgs
{
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.VirtualNetwork;
import com.pulumi.opennebula.VirtualNetworkArgs;
import com.pulumi.opennebula.inputs.VirtualNetworkArArgs;
import com.pulumi.opennebula.inputs.VirtualNetworkTemplateSectionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new VirtualNetwork("example", VirtualNetworkArgs.builder()
.permissions("660")
.group(opennebula_group.example().name())
.bridge("br0")
.physicalDevice("eth0")
.type("fw")
.mtu(1500)
.dns("172.16.100.1")
.gateway("172.16.100.1")
.securityGroups(0)
.clusterIds(0)
.ars(VirtualNetworkArArgs.builder()
.arType("IP4")
.size(16)
.ip4("172.16.100.101")
.build())
.tags(Map.of("environment", "example"))
.templateSections(VirtualNetworkTemplateSectionArgs.builder()
.name("example")
.elements(Map.of("key1", "value1"))
.build())
.build());
}
}
resources:
example:
type: opennebula:VirtualNetwork
properties:
permissions: '660'
group: ${opennebula_group.example.name}
bridge: br0
physicalDevice: eth0
type: fw
mtu: 1500
dns: 172.16.100.1
gateway: 172.16.100.1
securityGroups:
- 0
clusterIds:
- 0
ars:
- arType: IP4
size: 16
ip4: 172.16.100.101
tags:
environment: example
templateSections:
- name: example
elements:
key1: value1
Create VirtualNetwork Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualNetwork(name: string, args?: VirtualNetworkArgs, opts?: CustomResourceOptions);
@overload
def VirtualNetwork(resource_name: str,
args: Optional[VirtualNetworkArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualNetwork(resource_name: str,
opts: Optional[ResourceOptions] = None,
ars: Optional[Sequence[VirtualNetworkArArgs]] = None,
automatic_vlan_id: Optional[bool] = None,
bridge: Optional[str] = None,
cluster_ids: Optional[Sequence[float]] = None,
description: Optional[str] = None,
dns: Optional[str] = None,
gateway: Optional[str] = None,
group: Optional[str] = None,
guest_mtu: Optional[float] = None,
hold_ips: Optional[Sequence[str]] = None,
lock: Optional[str] = None,
mtu: Optional[float] = None,
name: Optional[str] = None,
network_address: Optional[str] = None,
network_mask: Optional[str] = None,
permissions: Optional[str] = None,
physical_device: Optional[str] = None,
reservation_ar_id: Optional[float] = None,
reservation_first_ip: Optional[str] = None,
reservation_size: Optional[float] = None,
reservation_vnet: Optional[float] = None,
search_domain: Optional[str] = None,
security_groups: Optional[Sequence[float]] = None,
tags: Optional[Mapping[str, str]] = None,
template_sections: Optional[Sequence[VirtualNetworkTemplateSectionArgs]] = None,
timeouts: Optional[VirtualNetworkTimeoutsArgs] = None,
type: Optional[str] = None,
user: Optional[str] = None,
virtual_network_id: Optional[str] = None,
vlan_id: Optional[str] = None)
func NewVirtualNetwork(ctx *Context, name string, args *VirtualNetworkArgs, opts ...ResourceOption) (*VirtualNetwork, error)
public VirtualNetwork(string name, VirtualNetworkArgs? args = null, CustomResourceOptions? opts = null)
public VirtualNetwork(String name, VirtualNetworkArgs args)
public VirtualNetwork(String name, VirtualNetworkArgs args, CustomResourceOptions options)
type: opennebula:VirtualNetwork
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 VirtualNetworkArgs
- 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 VirtualNetworkArgs
- 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 VirtualNetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualNetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualNetworkArgs
- 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 virtualNetworkResource = new Opennebula.VirtualNetwork("virtualNetworkResource", new()
{
AutomaticVlanId = false,
Bridge = "string",
ClusterIds = new[]
{
0,
},
Description = "string",
Dns = "string",
Gateway = "string",
Group = "string",
GuestMtu = 0,
Lock = "string",
Mtu = 0,
Name = "string",
NetworkAddress = "string",
NetworkMask = "string",
Permissions = "string",
PhysicalDevice = "string",
ReservationArId = 0,
ReservationFirstIp = "string",
ReservationSize = 0,
ReservationVnet = 0,
SearchDomain = "string",
SecurityGroups = new[]
{
0,
},
Tags =
{
{ "string", "string" },
},
TemplateSections = new[]
{
new Opennebula.Inputs.VirtualNetworkTemplateSectionArgs
{
Name = "string",
Elements =
{
{ "string", "string" },
},
},
},
Timeouts = new Opennebula.Inputs.VirtualNetworkTimeoutsArgs
{
Create = "string",
},
Type = "string",
User = "string",
VirtualNetworkId = "string",
VlanId = "string",
});
example, err := opennebula.NewVirtualNetwork(ctx, "virtualNetworkResource", &opennebula.VirtualNetworkArgs{
AutomaticVlanId: pulumi.Bool(false),
Bridge: pulumi.String("string"),
ClusterIds: pulumi.Float64Array{
pulumi.Float64(0),
},
Description: pulumi.String("string"),
Dns: pulumi.String("string"),
Gateway: pulumi.String("string"),
Group: pulumi.String("string"),
GuestMtu: pulumi.Float64(0),
Lock: pulumi.String("string"),
Mtu: pulumi.Float64(0),
Name: pulumi.String("string"),
NetworkAddress: pulumi.String("string"),
NetworkMask: pulumi.String("string"),
Permissions: pulumi.String("string"),
PhysicalDevice: pulumi.String("string"),
ReservationArId: pulumi.Float64(0),
ReservationFirstIp: pulumi.String("string"),
ReservationSize: pulumi.Float64(0),
ReservationVnet: pulumi.Float64(0),
SearchDomain: pulumi.String("string"),
SecurityGroups: pulumi.Float64Array{
pulumi.Float64(0),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TemplateSections: opennebula.VirtualNetworkTemplateSectionArray{
&opennebula.VirtualNetworkTemplateSectionArgs{
Name: pulumi.String("string"),
Elements: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Timeouts: &opennebula.VirtualNetworkTimeoutsArgs{
Create: pulumi.String("string"),
},
Type: pulumi.String("string"),
User: pulumi.String("string"),
VirtualNetworkId: pulumi.String("string"),
VlanId: pulumi.String("string"),
})
var virtualNetworkResource = new VirtualNetwork("virtualNetworkResource", VirtualNetworkArgs.builder()
.automaticVlanId(false)
.bridge("string")
.clusterIds(0)
.description("string")
.dns("string")
.gateway("string")
.group("string")
.guestMtu(0)
.lock("string")
.mtu(0)
.name("string")
.networkAddress("string")
.networkMask("string")
.permissions("string")
.physicalDevice("string")
.reservationArId(0)
.reservationFirstIp("string")
.reservationSize(0)
.reservationVnet(0)
.searchDomain("string")
.securityGroups(0)
.tags(Map.of("string", "string"))
.templateSections(VirtualNetworkTemplateSectionArgs.builder()
.name("string")
.elements(Map.of("string", "string"))
.build())
.timeouts(VirtualNetworkTimeoutsArgs.builder()
.create("string")
.build())
.type("string")
.user("string")
.virtualNetworkId("string")
.vlanId("string")
.build());
virtual_network_resource = opennebula.VirtualNetwork("virtualNetworkResource",
automatic_vlan_id=False,
bridge="string",
cluster_ids=[0],
description="string",
dns="string",
gateway="string",
group="string",
guest_mtu=0,
lock="string",
mtu=0,
name="string",
network_address="string",
network_mask="string",
permissions="string",
physical_device="string",
reservation_ar_id=0,
reservation_first_ip="string",
reservation_size=0,
reservation_vnet=0,
search_domain="string",
security_groups=[0],
tags={
"string": "string",
},
template_sections=[{
"name": "string",
"elements": {
"string": "string",
},
}],
timeouts={
"create": "string",
},
type="string",
user="string",
virtual_network_id="string",
vlan_id="string")
const virtualNetworkResource = new opennebula.VirtualNetwork("virtualNetworkResource", {
automaticVlanId: false,
bridge: "string",
clusterIds: [0],
description: "string",
dns: "string",
gateway: "string",
group: "string",
guestMtu: 0,
lock: "string",
mtu: 0,
name: "string",
networkAddress: "string",
networkMask: "string",
permissions: "string",
physicalDevice: "string",
reservationArId: 0,
reservationFirstIp: "string",
reservationSize: 0,
reservationVnet: 0,
searchDomain: "string",
securityGroups: [0],
tags: {
string: "string",
},
templateSections: [{
name: "string",
elements: {
string: "string",
},
}],
timeouts: {
create: "string",
},
type: "string",
user: "string",
virtualNetworkId: "string",
vlanId: "string",
});
type: opennebula:VirtualNetwork
properties:
automaticVlanId: false
bridge: string
clusterIds:
- 0
description: string
dns: string
gateway: string
group: string
guestMtu: 0
lock: string
mtu: 0
name: string
networkAddress: string
networkMask: string
permissions: string
physicalDevice: string
reservationArId: 0
reservationFirstIp: string
reservationSize: 0
reservationVnet: 0
searchDomain: string
securityGroups:
- 0
tags:
string: string
templateSections:
- elements:
string: string
name: string
timeouts:
create: string
type: string
user: string
virtualNetworkId: string
vlanId: string
VirtualNetwork 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 VirtualNetwork resource accepts the following input properties:
- Ars
List<Virtual
Network Ar> - List of address ranges. See Address Range Parameters below for more details. Conflicts with
reservation_vnet
andreservation_size
. - Automatic
Vlan boolId - Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with
reservation_vnet
,reservation_size
andvlan_id
. - Bridge string
- Name of the bridge interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - Cluster
Ids List<double> - List of cluster IDs where the virtual network can be use. Conflicts with
reservation_vnet
andreservation_size
. Minimum 1 item. - Description string
- Description of the virtual network.
- Dns string
- Text String containing a space separated list of DNS IPs. Conflicts with
reservation_vnet
andreservation_size
. - Gateway string
- IP of the gateway. Conflicts with
reservation_vnet
andreservation_size
. - Group string
- Name of the group which owns the virtual network. Defaults to the caller primary group.
- Guest
Mtu double - MTU of the network caord on the virtual machine. Cannot be greater than
mtu
. Defaults to1500
. Conflicts withreservation_vnet
andreservation_size
. - Hold
Ips List<string> - Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held
. Conflicts with
reservation_vnetand
reservation_size`. - Lock string
- Lock the virtual network with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - Mtu double
- Virtual network MTU. Defaults to
1500
. Conflicts withreservation_vnet
andreservation_size
. - Name string
- The name of the virtual network.
- Network
Address string - Base network address. Conflicts with
reservation_vnet
andreservation_size
. - Network
Mask string - Network mask. Conflicts with
reservation_vnet
andreservation_size
. - Permissions string
- Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- Physical
Device string - Name of the physical device interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - Reservation
Ar doubleId - ID of the address range from which to reserve the addresses. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_size
,reservation_first_ip
andreservation_vnet
. - Reservation
First stringIp - The first IPv4 address to start the reservation range. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_size
andreservation_vnet
. - Reservation
Size double - Size (in address) reserved. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_vnet
. - Reservation
Vnet double - ID of the parent virtual network to reserve from. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_size
. - Search
Domain string - Default search domains for DNS resolution. Conflicts with
reservation_vnet
andreservation_size
. - Security
Groups List<double> - List of security group IDs to apply on the virtual network.
- 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
Sections List<VirtualNetwork Template Section> - Allow to add a custom vector. See Template section parameters
- Timeouts
Virtual
Network Timeouts - Type string
- Virtual network type. One of these:
dummy
,bridge
'fw
,ebtables
,802.1Q
,vxlan
orovswitch
. Defaults tobridge
. Conflicts withreservation_vnet
andreservation_size
. - User string
- Name of the user which owns the virtual network.
- Virtual
Network stringId - ID of the address range
- Vlan
Id string - ID of VLAN. Only if
type
is802.1Q
,vxlan
orovswitch
. Conflicts withreservation_vnet
,reservation_size
andautomatic_vlan_id
.
- Ars
[]Virtual
Network Ar Args - List of address ranges. See Address Range Parameters below for more details. Conflicts with
reservation_vnet
andreservation_size
. - Automatic
Vlan boolId - Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with
reservation_vnet
,reservation_size
andvlan_id
. - Bridge string
- Name of the bridge interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - Cluster
Ids []float64 - List of cluster IDs where the virtual network can be use. Conflicts with
reservation_vnet
andreservation_size
. Minimum 1 item. - Description string
- Description of the virtual network.
- Dns string
- Text String containing a space separated list of DNS IPs. Conflicts with
reservation_vnet
andreservation_size
. - Gateway string
- IP of the gateway. Conflicts with
reservation_vnet
andreservation_size
. - Group string
- Name of the group which owns the virtual network. Defaults to the caller primary group.
- Guest
Mtu float64 - MTU of the network caord on the virtual machine. Cannot be greater than
mtu
. Defaults to1500
. Conflicts withreservation_vnet
andreservation_size
. - Hold
Ips []string - Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held
. Conflicts with
reservation_vnetand
reservation_size`. - Lock string
- Lock the virtual network with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - Mtu float64
- Virtual network MTU. Defaults to
1500
. Conflicts withreservation_vnet
andreservation_size
. - Name string
- The name of the virtual network.
- Network
Address string - Base network address. Conflicts with
reservation_vnet
andreservation_size
. - Network
Mask string - Network mask. Conflicts with
reservation_vnet
andreservation_size
. - Permissions string
- Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- Physical
Device string - Name of the physical device interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - Reservation
Ar float64Id - ID of the address range from which to reserve the addresses. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_size
,reservation_first_ip
andreservation_vnet
. - Reservation
First stringIp - The first IPv4 address to start the reservation range. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_size
andreservation_vnet
. - Reservation
Size float64 - Size (in address) reserved. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_vnet
. - Reservation
Vnet float64 - ID of the parent virtual network to reserve from. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_size
. - Search
Domain string - Default search domains for DNS resolution. Conflicts with
reservation_vnet
andreservation_size
. - Security
Groups []float64 - List of security group IDs to apply on the virtual network.
- 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
Sections []VirtualNetwork Template Section Args - Allow to add a custom vector. See Template section parameters
- Timeouts
Virtual
Network Timeouts Args - Type string
- Virtual network type. One of these:
dummy
,bridge
'fw
,ebtables
,802.1Q
,vxlan
orovswitch
. Defaults tobridge
. Conflicts withreservation_vnet
andreservation_size
. - User string
- Name of the user which owns the virtual network.
- Virtual
Network stringId - ID of the address range
- Vlan
Id string - ID of VLAN. Only if
type
is802.1Q
,vxlan
orovswitch
. Conflicts withreservation_vnet
,reservation_size
andautomatic_vlan_id
.
- ars
List<Virtual
Network Ar> - List of address ranges. See Address Range Parameters below for more details. Conflicts with
reservation_vnet
andreservation_size
. - automatic
Vlan BooleanId - Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with
reservation_vnet
,reservation_size
andvlan_id
. - bridge String
- Name of the bridge interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - cluster
Ids List<Double> - List of cluster IDs where the virtual network can be use. Conflicts with
reservation_vnet
andreservation_size
. Minimum 1 item. - description String
- Description of the virtual network.
- dns String
- Text String containing a space separated list of DNS IPs. Conflicts with
reservation_vnet
andreservation_size
. - gateway String
- IP of the gateway. Conflicts with
reservation_vnet
andreservation_size
. - group String
- Name of the group which owns the virtual network. Defaults to the caller primary group.
- guest
Mtu Double - MTU of the network caord on the virtual machine. Cannot be greater than
mtu
. Defaults to1500
. Conflicts withreservation_vnet
andreservation_size
. - hold
Ips List<String> - Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held
. Conflicts with
reservation_vnetand
reservation_size`. - lock String
- Lock the virtual network with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - mtu Double
- Virtual network MTU. Defaults to
1500
. Conflicts withreservation_vnet
andreservation_size
. - name String
- The name of the virtual network.
- network
Address String - Base network address. Conflicts with
reservation_vnet
andreservation_size
. - network
Mask String - Network mask. Conflicts with
reservation_vnet
andreservation_size
. - permissions String
- Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- physical
Device String - Name of the physical device interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - reservation
Ar DoubleId - ID of the address range from which to reserve the addresses. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_size
,reservation_first_ip
andreservation_vnet
. - reservation
First StringIp - The first IPv4 address to start the reservation range. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_size
andreservation_vnet
. - reservation
Size Double - Size (in address) reserved. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_vnet
. - reservation
Vnet Double - ID of the parent virtual network to reserve from. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_size
. - search
Domain String - Default search domains for DNS resolution. Conflicts with
reservation_vnet
andreservation_size
. - security
Groups List<Double> - List of security group IDs to apply on the virtual network.
- 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
Sections List<VirtualNetwork Template Section> - Allow to add a custom vector. See Template section parameters
- timeouts
Virtual
Network Timeouts - type String
- Virtual network type. One of these:
dummy
,bridge
'fw
,ebtables
,802.1Q
,vxlan
orovswitch
. Defaults tobridge
. Conflicts withreservation_vnet
andreservation_size
. - user String
- Name of the user which owns the virtual network.
- virtual
Network StringId - ID of the address range
- vlan
Id String - ID of VLAN. Only if
type
is802.1Q
,vxlan
orovswitch
. Conflicts withreservation_vnet
,reservation_size
andautomatic_vlan_id
.
- ars
Virtual
Network Ar[] - List of address ranges. See Address Range Parameters below for more details. Conflicts with
reservation_vnet
andreservation_size
. - automatic
Vlan booleanId - Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with
reservation_vnet
,reservation_size
andvlan_id
. - bridge string
- Name of the bridge interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - cluster
Ids number[] - List of cluster IDs where the virtual network can be use. Conflicts with
reservation_vnet
andreservation_size
. Minimum 1 item. - description string
- Description of the virtual network.
- dns string
- Text String containing a space separated list of DNS IPs. Conflicts with
reservation_vnet
andreservation_size
. - gateway string
- IP of the gateway. Conflicts with
reservation_vnet
andreservation_size
. - group string
- Name of the group which owns the virtual network. Defaults to the caller primary group.
- guest
Mtu number - MTU of the network caord on the virtual machine. Cannot be greater than
mtu
. Defaults to1500
. Conflicts withreservation_vnet
andreservation_size
. - hold
Ips string[] - Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held
. Conflicts with
reservation_vnetand
reservation_size`. - lock string
- Lock the virtual network with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - mtu number
- Virtual network MTU. Defaults to
1500
. Conflicts withreservation_vnet
andreservation_size
. - name string
- The name of the virtual network.
- network
Address string - Base network address. Conflicts with
reservation_vnet
andreservation_size
. - network
Mask string - Network mask. Conflicts with
reservation_vnet
andreservation_size
. - permissions string
- Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- physical
Device string - Name of the physical device interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - reservation
Ar numberId - ID of the address range from which to reserve the addresses. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_size
,reservation_first_ip
andreservation_vnet
. - reservation
First stringIp - The first IPv4 address to start the reservation range. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_size
andreservation_vnet
. - reservation
Size number - Size (in address) reserved. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_vnet
. - reservation
Vnet number - ID of the parent virtual network to reserve from. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_size
. - search
Domain string - Default search domains for DNS resolution. Conflicts with
reservation_vnet
andreservation_size
. - security
Groups number[] - List of security group IDs to apply on the virtual network.
- {[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
Sections VirtualNetwork Template Section[] - Allow to add a custom vector. See Template section parameters
- timeouts
Virtual
Network Timeouts - type string
- Virtual network type. One of these:
dummy
,bridge
'fw
,ebtables
,802.1Q
,vxlan
orovswitch
. Defaults tobridge
. Conflicts withreservation_vnet
andreservation_size
. - user string
- Name of the user which owns the virtual network.
- virtual
Network stringId - ID of the address range
- vlan
Id string - ID of VLAN. Only if
type
is802.1Q
,vxlan
orovswitch
. Conflicts withreservation_vnet
,reservation_size
andautomatic_vlan_id
.
- ars
Sequence[Virtual
Network Ar Args] - List of address ranges. See Address Range Parameters below for more details. Conflicts with
reservation_vnet
andreservation_size
. - automatic_
vlan_ boolid - Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with
reservation_vnet
,reservation_size
andvlan_id
. - bridge str
- Name of the bridge interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - cluster_
ids Sequence[float] - List of cluster IDs where the virtual network can be use. Conflicts with
reservation_vnet
andreservation_size
. Minimum 1 item. - description str
- Description of the virtual network.
- dns str
- Text String containing a space separated list of DNS IPs. Conflicts with
reservation_vnet
andreservation_size
. - gateway str
- IP of the gateway. Conflicts with
reservation_vnet
andreservation_size
. - group str
- Name of the group which owns the virtual network. Defaults to the caller primary group.
- guest_
mtu float - MTU of the network caord on the virtual machine. Cannot be greater than
mtu
. Defaults to1500
. Conflicts withreservation_vnet
andreservation_size
. - hold_
ips Sequence[str] - Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held
. Conflicts with
reservation_vnetand
reservation_size`. - lock str
- Lock the virtual network with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - mtu float
- Virtual network MTU. Defaults to
1500
. Conflicts withreservation_vnet
andreservation_size
. - name str
- The name of the virtual network.
- network_
address str - Base network address. Conflicts with
reservation_vnet
andreservation_size
. - network_
mask str - Network mask. Conflicts with
reservation_vnet
andreservation_size
. - permissions str
- Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- physical_
device str - Name of the physical device interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - reservation_
ar_ floatid - ID of the address range from which to reserve the addresses. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_size
,reservation_first_ip
andreservation_vnet
. - reservation_
first_ strip - The first IPv4 address to start the reservation range. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_size
andreservation_vnet
. - reservation_
size float - Size (in address) reserved. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_vnet
. - reservation_
vnet float - ID of the parent virtual network to reserve from. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_size
. - search_
domain str - Default search domains for DNS resolution. Conflicts with
reservation_vnet
andreservation_size
. - security_
groups Sequence[float] - List of security group IDs to apply on the virtual network.
- 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_
sections Sequence[VirtualNetwork Template Section Args] - Allow to add a custom vector. See Template section parameters
- timeouts
Virtual
Network Timeouts Args - type str
- Virtual network type. One of these:
dummy
,bridge
'fw
,ebtables
,802.1Q
,vxlan
orovswitch
. Defaults tobridge
. Conflicts withreservation_vnet
andreservation_size
. - user str
- Name of the user which owns the virtual network.
- virtual_
network_ strid - ID of the address range
- vlan_
id str - ID of VLAN. Only if
type
is802.1Q
,vxlan
orovswitch
. Conflicts withreservation_vnet
,reservation_size
andautomatic_vlan_id
.
- ars List<Property Map>
- List of address ranges. See Address Range Parameters below for more details. Conflicts with
reservation_vnet
andreservation_size
. - automatic
Vlan BooleanId - Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with
reservation_vnet
,reservation_size
andvlan_id
. - bridge String
- Name of the bridge interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - cluster
Ids List<Number> - List of cluster IDs where the virtual network can be use. Conflicts with
reservation_vnet
andreservation_size
. Minimum 1 item. - description String
- Description of the virtual network.
- dns String
- Text String containing a space separated list of DNS IPs. Conflicts with
reservation_vnet
andreservation_size
. - gateway String
- IP of the gateway. Conflicts with
reservation_vnet
andreservation_size
. - group String
- Name of the group which owns the virtual network. Defaults to the caller primary group.
- guest
Mtu Number - MTU of the network caord on the virtual machine. Cannot be greater than
mtu
. Defaults to1500
. Conflicts withreservation_vnet
andreservation_size
. - hold
Ips List<String> - Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held
. Conflicts with
reservation_vnetand
reservation_size`. - lock String
- Lock the virtual network with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - mtu Number
- Virtual network MTU. Defaults to
1500
. Conflicts withreservation_vnet
andreservation_size
. - name String
- The name of the virtual network.
- network
Address String - Base network address. Conflicts with
reservation_vnet
andreservation_size
. - network
Mask String - Network mask. Conflicts with
reservation_vnet
andreservation_size
. - permissions String
- Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- physical
Device String - Name of the physical device interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - reservation
Ar NumberId - ID of the address range from which to reserve the addresses. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_size
,reservation_first_ip
andreservation_vnet
. - reservation
First StringIp - The first IPv4 address to start the reservation range. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_size
andreservation_vnet
. - reservation
Size Number - Size (in address) reserved. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_vnet
. - reservation
Vnet Number - ID of the parent virtual network to reserve from. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_size
. - search
Domain String - Default search domains for DNS resolution. Conflicts with
reservation_vnet
andreservation_size
. - security
Groups List<Number> - List of security group IDs to apply on the virtual network.
- 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
Sections List<Property Map> - Allow to add a custom vector. See Template section parameters
- timeouts Property Map
- type String
- Virtual network type. One of these:
dummy
,bridge
'fw
,ebtables
,802.1Q
,vxlan
orovswitch
. Defaults tobridge
. Conflicts withreservation_vnet
andreservation_size
. - user String
- Name of the user which owns the virtual network.
- virtual
Network StringId - ID of the address range
- vlan
Id String - ID of VLAN. Only if
type
is802.1Q
,vxlan
orovswitch
. Conflicts withreservation_vnet
,reservation_size
andautomatic_vlan_id
.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualNetwork resource produces the following output properties:
- Dictionary<string, string>
- Default tags defined in the provider configuration.
- Gid double
- Group ID which owns the virtual network.
- Gname string
- Group Name which owns the virtual network.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- Result of the applied
default_tags
and then resourcetags
. - Uid double
- User ID whom owns the virtual network.
- Uname string
- User Name whom owns the virtual network.
- map[string]string
- Default tags defined in the provider configuration.
- Gid float64
- Group ID which owns the virtual network.
- Gname string
- Group Name which owns the virtual network.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- Result of the applied
default_tags
and then resourcetags
. - Uid float64
- User ID whom owns the virtual network.
- Uname string
- User Name whom owns the virtual network.
- Map<String,String>
- Default tags defined in the provider configuration.
- gid Double
- Group ID which owns the virtual network.
- gname String
- Group Name which owns the virtual network.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- Result of the applied
default_tags
and then resourcetags
. - uid Double
- User ID whom owns the virtual network.
- uname String
- User Name whom owns the virtual network.
- {[key: string]: string}
- Default tags defined in the provider configuration.
- gid number
- Group ID which owns the virtual network.
- gname string
- Group Name which owns the virtual network.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- Result of the applied
default_tags
and then resourcetags
. - uid number
- User ID whom owns the virtual network.
- uname string
- User Name whom owns the virtual network.
- Mapping[str, str]
- Default tags defined in the provider configuration.
- gid float
- Group ID which owns the virtual network.
- gname str
- Group Name which owns the virtual network.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- Result of the applied
default_tags
and then resourcetags
. - uid float
- User ID whom owns the virtual network.
- uname str
- User Name whom owns the virtual network.
- Map<String>
- Default tags defined in the provider configuration.
- gid Number
- Group ID which owns the virtual network.
- gname String
- Group Name which owns the virtual network.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- Result of the applied
default_tags
and then resourcetags
. - uid Number
- User ID whom owns the virtual network.
- uname String
- User Name whom owns the virtual network.
Look up Existing VirtualNetwork Resource
Get an existing VirtualNetwork 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?: VirtualNetworkState, opts?: CustomResourceOptions): VirtualNetwork
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ars: Optional[Sequence[VirtualNetworkArArgs]] = None,
automatic_vlan_id: Optional[bool] = None,
bridge: Optional[str] = None,
cluster_ids: Optional[Sequence[float]] = None,
default_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
dns: Optional[str] = None,
gateway: Optional[str] = None,
gid: Optional[float] = None,
gname: Optional[str] = None,
group: Optional[str] = None,
guest_mtu: Optional[float] = None,
hold_ips: Optional[Sequence[str]] = None,
lock: Optional[str] = None,
mtu: Optional[float] = None,
name: Optional[str] = None,
network_address: Optional[str] = None,
network_mask: Optional[str] = None,
permissions: Optional[str] = None,
physical_device: Optional[str] = None,
reservation_ar_id: Optional[float] = None,
reservation_first_ip: Optional[str] = None,
reservation_size: Optional[float] = None,
reservation_vnet: Optional[float] = None,
search_domain: Optional[str] = None,
security_groups: Optional[Sequence[float]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
template_sections: Optional[Sequence[VirtualNetworkTemplateSectionArgs]] = None,
timeouts: Optional[VirtualNetworkTimeoutsArgs] = None,
type: Optional[str] = None,
uid: Optional[float] = None,
uname: Optional[str] = None,
user: Optional[str] = None,
virtual_network_id: Optional[str] = None,
vlan_id: Optional[str] = None) -> VirtualNetwork
func GetVirtualNetwork(ctx *Context, name string, id IDInput, state *VirtualNetworkState, opts ...ResourceOption) (*VirtualNetwork, error)
public static VirtualNetwork Get(string name, Input<string> id, VirtualNetworkState? state, CustomResourceOptions? opts = null)
public static VirtualNetwork get(String name, Output<String> id, VirtualNetworkState state, CustomResourceOptions options)
resources: _: type: opennebula:VirtualNetwork 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.
- Ars
List<Virtual
Network Ar> - List of address ranges. See Address Range Parameters below for more details. Conflicts with
reservation_vnet
andreservation_size
. - Automatic
Vlan boolId - Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with
reservation_vnet
,reservation_size
andvlan_id
. - Bridge string
- Name of the bridge interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - Cluster
Ids List<double> - List of cluster IDs where the virtual network can be use. Conflicts with
reservation_vnet
andreservation_size
. Minimum 1 item. - Dictionary<string, string>
- Default tags defined in the provider configuration.
- Description string
- Description of the virtual network.
- Dns string
- Text String containing a space separated list of DNS IPs. Conflicts with
reservation_vnet
andreservation_size
. - Gateway string
- IP of the gateway. Conflicts with
reservation_vnet
andreservation_size
. - Gid double
- Group ID which owns the virtual network.
- Gname string
- Group Name which owns the virtual network.
- Group string
- Name of the group which owns the virtual network. Defaults to the caller primary group.
- Guest
Mtu double - MTU of the network caord on the virtual machine. Cannot be greater than
mtu
. Defaults to1500
. Conflicts withreservation_vnet
andreservation_size
. - Hold
Ips List<string> - Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held
. Conflicts with
reservation_vnetand
reservation_size`. - Lock string
- Lock the virtual network with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - Mtu double
- Virtual network MTU. Defaults to
1500
. Conflicts withreservation_vnet
andreservation_size
. - Name string
- The name of the virtual network.
- Network
Address string - Base network address. Conflicts with
reservation_vnet
andreservation_size
. - Network
Mask string - Network mask. Conflicts with
reservation_vnet
andreservation_size
. - Permissions string
- Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- Physical
Device string - Name of the physical device interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - Reservation
Ar doubleId - ID of the address range from which to reserve the addresses. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_size
,reservation_first_ip
andreservation_vnet
. - Reservation
First stringIp - The first IPv4 address to start the reservation range. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_size
andreservation_vnet
. - Reservation
Size double - Size (in address) reserved. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_vnet
. - Reservation
Vnet double - ID of the parent virtual network to reserve from. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_size
. - Search
Domain string - Default search domains for DNS resolution. Conflicts with
reservation_vnet
andreservation_size
. - Security
Groups List<double> - List of security group IDs to apply on the virtual network.
- 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
Sections List<VirtualNetwork Template Section> - Allow to add a custom vector. See Template section parameters
- Timeouts
Virtual
Network Timeouts - Type string
- Virtual network type. One of these:
dummy
,bridge
'fw
,ebtables
,802.1Q
,vxlan
orovswitch
. Defaults tobridge
. Conflicts withreservation_vnet
andreservation_size
. - Uid double
- User ID whom owns the virtual network.
- Uname string
- User Name whom owns the virtual network.
- User string
- Name of the user which owns the virtual network.
- Virtual
Network stringId - ID of the address range
- Vlan
Id string - ID of VLAN. Only if
type
is802.1Q
,vxlan
orovswitch
. Conflicts withreservation_vnet
,reservation_size
andautomatic_vlan_id
.
- Ars
[]Virtual
Network Ar Args - List of address ranges. See Address Range Parameters below for more details. Conflicts with
reservation_vnet
andreservation_size
. - Automatic
Vlan boolId - Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with
reservation_vnet
,reservation_size
andvlan_id
. - Bridge string
- Name of the bridge interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - Cluster
Ids []float64 - List of cluster IDs where the virtual network can be use. Conflicts with
reservation_vnet
andreservation_size
. Minimum 1 item. - map[string]string
- Default tags defined in the provider configuration.
- Description string
- Description of the virtual network.
- Dns string
- Text String containing a space separated list of DNS IPs. Conflicts with
reservation_vnet
andreservation_size
. - Gateway string
- IP of the gateway. Conflicts with
reservation_vnet
andreservation_size
. - Gid float64
- Group ID which owns the virtual network.
- Gname string
- Group Name which owns the virtual network.
- Group string
- Name of the group which owns the virtual network. Defaults to the caller primary group.
- Guest
Mtu float64 - MTU of the network caord on the virtual machine. Cannot be greater than
mtu
. Defaults to1500
. Conflicts withreservation_vnet
andreservation_size
. - Hold
Ips []string - Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held
. Conflicts with
reservation_vnetand
reservation_size`. - Lock string
- Lock the virtual network with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - Mtu float64
- Virtual network MTU. Defaults to
1500
. Conflicts withreservation_vnet
andreservation_size
. - Name string
- The name of the virtual network.
- Network
Address string - Base network address. Conflicts with
reservation_vnet
andreservation_size
. - Network
Mask string - Network mask. Conflicts with
reservation_vnet
andreservation_size
. - Permissions string
- Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- Physical
Device string - Name of the physical device interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - Reservation
Ar float64Id - ID of the address range from which to reserve the addresses. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_size
,reservation_first_ip
andreservation_vnet
. - Reservation
First stringIp - The first IPv4 address to start the reservation range. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_size
andreservation_vnet
. - Reservation
Size float64 - Size (in address) reserved. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_vnet
. - Reservation
Vnet float64 - ID of the parent virtual network to reserve from. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_size
. - Search
Domain string - Default search domains for DNS resolution. Conflicts with
reservation_vnet
andreservation_size
. - Security
Groups []float64 - List of security group IDs to apply on the virtual network.
- 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
Sections []VirtualNetwork Template Section Args - Allow to add a custom vector. See Template section parameters
- Timeouts
Virtual
Network Timeouts Args - Type string
- Virtual network type. One of these:
dummy
,bridge
'fw
,ebtables
,802.1Q
,vxlan
orovswitch
. Defaults tobridge
. Conflicts withreservation_vnet
andreservation_size
. - Uid float64
- User ID whom owns the virtual network.
- Uname string
- User Name whom owns the virtual network.
- User string
- Name of the user which owns the virtual network.
- Virtual
Network stringId - ID of the address range
- Vlan
Id string - ID of VLAN. Only if
type
is802.1Q
,vxlan
orovswitch
. Conflicts withreservation_vnet
,reservation_size
andautomatic_vlan_id
.
- ars
List<Virtual
Network Ar> - List of address ranges. See Address Range Parameters below for more details. Conflicts with
reservation_vnet
andreservation_size
. - automatic
Vlan BooleanId - Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with
reservation_vnet
,reservation_size
andvlan_id
. - bridge String
- Name of the bridge interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - cluster
Ids List<Double> - List of cluster IDs where the virtual network can be use. Conflicts with
reservation_vnet
andreservation_size
. Minimum 1 item. - Map<String,String>
- Default tags defined in the provider configuration.
- description String
- Description of the virtual network.
- dns String
- Text String containing a space separated list of DNS IPs. Conflicts with
reservation_vnet
andreservation_size
. - gateway String
- IP of the gateway. Conflicts with
reservation_vnet
andreservation_size
. - gid Double
- Group ID which owns the virtual network.
- gname String
- Group Name which owns the virtual network.
- group String
- Name of the group which owns the virtual network. Defaults to the caller primary group.
- guest
Mtu Double - MTU of the network caord on the virtual machine. Cannot be greater than
mtu
. Defaults to1500
. Conflicts withreservation_vnet
andreservation_size
. - hold
Ips List<String> - Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held
. Conflicts with
reservation_vnetand
reservation_size`. - lock String
- Lock the virtual network with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - mtu Double
- Virtual network MTU. Defaults to
1500
. Conflicts withreservation_vnet
andreservation_size
. - name String
- The name of the virtual network.
- network
Address String - Base network address. Conflicts with
reservation_vnet
andreservation_size
. - network
Mask String - Network mask. Conflicts with
reservation_vnet
andreservation_size
. - permissions String
- Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- physical
Device String - Name of the physical device interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - reservation
Ar DoubleId - ID of the address range from which to reserve the addresses. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_size
,reservation_first_ip
andreservation_vnet
. - reservation
First StringIp - The first IPv4 address to start the reservation range. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_size
andreservation_vnet
. - reservation
Size Double - Size (in address) reserved. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_vnet
. - reservation
Vnet Double - ID of the parent virtual network to reserve from. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_size
. - search
Domain String - Default search domains for DNS resolution. Conflicts with
reservation_vnet
andreservation_size
. - security
Groups List<Double> - List of security group IDs to apply on the virtual network.
- 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
Sections List<VirtualNetwork Template Section> - Allow to add a custom vector. See Template section parameters
- timeouts
Virtual
Network Timeouts - type String
- Virtual network type. One of these:
dummy
,bridge
'fw
,ebtables
,802.1Q
,vxlan
orovswitch
. Defaults tobridge
. Conflicts withreservation_vnet
andreservation_size
. - uid Double
- User ID whom owns the virtual network.
- uname String
- User Name whom owns the virtual network.
- user String
- Name of the user which owns the virtual network.
- virtual
Network StringId - ID of the address range
- vlan
Id String - ID of VLAN. Only if
type
is802.1Q
,vxlan
orovswitch
. Conflicts withreservation_vnet
,reservation_size
andautomatic_vlan_id
.
- ars
Virtual
Network Ar[] - List of address ranges. See Address Range Parameters below for more details. Conflicts with
reservation_vnet
andreservation_size
. - automatic
Vlan booleanId - Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with
reservation_vnet
,reservation_size
andvlan_id
. - bridge string
- Name of the bridge interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - cluster
Ids number[] - List of cluster IDs where the virtual network can be use. Conflicts with
reservation_vnet
andreservation_size
. Minimum 1 item. - {[key: string]: string}
- Default tags defined in the provider configuration.
- description string
- Description of the virtual network.
- dns string
- Text String containing a space separated list of DNS IPs. Conflicts with
reservation_vnet
andreservation_size
. - gateway string
- IP of the gateway. Conflicts with
reservation_vnet
andreservation_size
. - gid number
- Group ID which owns the virtual network.
- gname string
- Group Name which owns the virtual network.
- group string
- Name of the group which owns the virtual network. Defaults to the caller primary group.
- guest
Mtu number - MTU of the network caord on the virtual machine. Cannot be greater than
mtu
. Defaults to1500
. Conflicts withreservation_vnet
andreservation_size
. - hold
Ips string[] - Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held
. Conflicts with
reservation_vnetand
reservation_size`. - lock string
- Lock the virtual network with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - mtu number
- Virtual network MTU. Defaults to
1500
. Conflicts withreservation_vnet
andreservation_size
. - name string
- The name of the virtual network.
- network
Address string - Base network address. Conflicts with
reservation_vnet
andreservation_size
. - network
Mask string - Network mask. Conflicts with
reservation_vnet
andreservation_size
. - permissions string
- Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- physical
Device string - Name of the physical device interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - reservation
Ar numberId - ID of the address range from which to reserve the addresses. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_size
,reservation_first_ip
andreservation_vnet
. - reservation
First stringIp - The first IPv4 address to start the reservation range. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_size
andreservation_vnet
. - reservation
Size number - Size (in address) reserved. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_vnet
. - reservation
Vnet number - ID of the parent virtual network to reserve from. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_size
. - search
Domain string - Default search domains for DNS resolution. Conflicts with
reservation_vnet
andreservation_size
. - security
Groups number[] - List of security group IDs to apply on the virtual network.
- {[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
Sections VirtualNetwork Template Section[] - Allow to add a custom vector. See Template section parameters
- timeouts
Virtual
Network Timeouts - type string
- Virtual network type. One of these:
dummy
,bridge
'fw
,ebtables
,802.1Q
,vxlan
orovswitch
. Defaults tobridge
. Conflicts withreservation_vnet
andreservation_size
. - uid number
- User ID whom owns the virtual network.
- uname string
- User Name whom owns the virtual network.
- user string
- Name of the user which owns the virtual network.
- virtual
Network stringId - ID of the address range
- vlan
Id string - ID of VLAN. Only if
type
is802.1Q
,vxlan
orovswitch
. Conflicts withreservation_vnet
,reservation_size
andautomatic_vlan_id
.
- ars
Sequence[Virtual
Network Ar Args] - List of address ranges. See Address Range Parameters below for more details. Conflicts with
reservation_vnet
andreservation_size
. - automatic_
vlan_ boolid - Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with
reservation_vnet
,reservation_size
andvlan_id
. - bridge str
- Name of the bridge interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - cluster_
ids Sequence[float] - List of cluster IDs where the virtual network can be use. Conflicts with
reservation_vnet
andreservation_size
. Minimum 1 item. - Mapping[str, str]
- Default tags defined in the provider configuration.
- description str
- Description of the virtual network.
- dns str
- Text String containing a space separated list of DNS IPs. Conflicts with
reservation_vnet
andreservation_size
. - gateway str
- IP of the gateway. Conflicts with
reservation_vnet
andreservation_size
. - gid float
- Group ID which owns the virtual network.
- gname str
- Group Name which owns the virtual network.
- group str
- Name of the group which owns the virtual network. Defaults to the caller primary group.
- guest_
mtu float - MTU of the network caord on the virtual machine. Cannot be greater than
mtu
. Defaults to1500
. Conflicts withreservation_vnet
andreservation_size
. - hold_
ips Sequence[str] - Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held
. Conflicts with
reservation_vnetand
reservation_size`. - lock str
- Lock the virtual network with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - mtu float
- Virtual network MTU. Defaults to
1500
. Conflicts withreservation_vnet
andreservation_size
. - name str
- The name of the virtual network.
- network_
address str - Base network address. Conflicts with
reservation_vnet
andreservation_size
. - network_
mask str - Network mask. Conflicts with
reservation_vnet
andreservation_size
. - permissions str
- Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- physical_
device str - Name of the physical device interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - reservation_
ar_ floatid - ID of the address range from which to reserve the addresses. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_size
,reservation_first_ip
andreservation_vnet
. - reservation_
first_ strip - The first IPv4 address to start the reservation range. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_size
andreservation_vnet
. - reservation_
size float - Size (in address) reserved. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_vnet
. - reservation_
vnet float - ID of the parent virtual network to reserve from. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_size
. - search_
domain str - Default search domains for DNS resolution. Conflicts with
reservation_vnet
andreservation_size
. - security_
groups Sequence[float] - List of security group IDs to apply on the virtual network.
- 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_
sections Sequence[VirtualNetwork Template Section Args] - Allow to add a custom vector. See Template section parameters
- timeouts
Virtual
Network Timeouts Args - type str
- Virtual network type. One of these:
dummy
,bridge
'fw
,ebtables
,802.1Q
,vxlan
orovswitch
. Defaults tobridge
. Conflicts withreservation_vnet
andreservation_size
. - uid float
- User ID whom owns the virtual network.
- uname str
- User Name whom owns the virtual network.
- user str
- Name of the user which owns the virtual network.
- virtual_
network_ strid - ID of the address range
- vlan_
id str - ID of VLAN. Only if
type
is802.1Q
,vxlan
orovswitch
. Conflicts withreservation_vnet
,reservation_size
andautomatic_vlan_id
.
- ars List<Property Map>
- List of address ranges. See Address Range Parameters below for more details. Conflicts with
reservation_vnet
andreservation_size
. - automatic
Vlan BooleanId - Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with
reservation_vnet
,reservation_size
andvlan_id
. - bridge String
- Name of the bridge interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - cluster
Ids List<Number> - List of cluster IDs where the virtual network can be use. Conflicts with
reservation_vnet
andreservation_size
. Minimum 1 item. - Map<String>
- Default tags defined in the provider configuration.
- description String
- Description of the virtual network.
- dns String
- Text String containing a space separated list of DNS IPs. Conflicts with
reservation_vnet
andreservation_size
. - gateway String
- IP of the gateway. Conflicts with
reservation_vnet
andreservation_size
. - gid Number
- Group ID which owns the virtual network.
- gname String
- Group Name which owns the virtual network.
- group String
- Name of the group which owns the virtual network. Defaults to the caller primary group.
- guest
Mtu Number - MTU of the network caord on the virtual machine. Cannot be greater than
mtu
. Defaults to1500
. Conflicts withreservation_vnet
andreservation_size
. - hold
Ips List<String> - Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held
. Conflicts with
reservation_vnetand
reservation_size`. - lock String
- Lock the virtual network with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - mtu Number
- Virtual network MTU. Defaults to
1500
. Conflicts withreservation_vnet
andreservation_size
. - name String
- The name of the virtual network.
- network
Address String - Base network address. Conflicts with
reservation_vnet
andreservation_size
. - network
Mask String - Network mask. Conflicts with
reservation_vnet
andreservation_size
. - permissions String
- Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- physical
Device String - Name of the physical device interface to which the virtual network should be associated. Conflicts with
reservation_vnet
andreservation_size
. - reservation
Ar NumberId - ID of the address range from which to reserve the addresses. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_size
,reservation_first_ip
andreservation_vnet
. - reservation
First StringIp - The first IPv4 address to start the reservation range. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_size
andreservation_vnet
. - reservation
Size Number - Size (in address) reserved. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_vnet
. - reservation
Vnet Number - ID of the parent virtual network to reserve from. Conflicts with all parameters except
name
,description
,permissions
,security_groups
,group
,reservation_ar_id
,reservation_first_ip
andreservation_size
. - search
Domain String - Default search domains for DNS resolution. Conflicts with
reservation_vnet
andreservation_size
. - security
Groups List<Number> - List of security group IDs to apply on the virtual network.
- 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
Sections List<Property Map> - Allow to add a custom vector. See Template section parameters
- timeouts Property Map
- type String
- Virtual network type. One of these:
dummy
,bridge
'fw
,ebtables
,802.1Q
,vxlan
orovswitch
. Defaults tobridge
. Conflicts withreservation_vnet
andreservation_size
. - uid Number
- User ID whom owns the virtual network.
- uname String
- User Name whom owns the virtual network.
- user String
- Name of the user which owns the virtual network.
- virtual
Network StringId - ID of the address range
- vlan
Id String - ID of VLAN. Only if
type
is802.1Q
,vxlan
orovswitch
. Conflicts withreservation_vnet
,reservation_size
andautomatic_vlan_id
.
Supporting Types
VirtualNetworkAr, VirtualNetworkArArgs
- Size double
- Address range size.
- Ar
Type string - Address range type. Supported values:
IP4
,IP6
,IP6_STATIC
,IP4_6
orIP4_6_STATIC
orETHER
. Defaults toIP4
. - Computed
Global stringPrefix - Global prefix for type
IP6
orIP_4_6
. - Computed
Ip6 string - Starting IPv6 address of the range.
- Computed
Mac string - Starting MAC Address of the range.
- Computed
Ula stringPrefix - ULA prefix for type
IP6
orIP_4_6
. - Global
Prefix string - Global prefix for
IP6
orIP_4_6
. - Id string
- ID of the address range
- Ip4 string
- Starting IPv4 address of the range. Required if
ar_type
isIP4
orIP4_6
. - Ip6 string
- Starting IPv6 address of the range. Required if
ar_type
isIP6_STATIC
orIP4_6_STATIC
. - Mac string
- Starting MAC Address of the range.
- Prefix
Length string - Prefix length. Only needed for
IP6_STATIC
orIP4_6_STATIC
- Ula
Prefix string - ULA prefix for
IP6
orIP_4_6
.
- Size float64
- Address range size.
- Ar
Type string - Address range type. Supported values:
IP4
,IP6
,IP6_STATIC
,IP4_6
orIP4_6_STATIC
orETHER
. Defaults toIP4
. - Computed
Global stringPrefix - Global prefix for type
IP6
orIP_4_6
. - Computed
Ip6 string - Starting IPv6 address of the range.
- Computed
Mac string - Starting MAC Address of the range.
- Computed
Ula stringPrefix - ULA prefix for type
IP6
orIP_4_6
. - Global
Prefix string - Global prefix for
IP6
orIP_4_6
. - Id string
- ID of the address range
- Ip4 string
- Starting IPv4 address of the range. Required if
ar_type
isIP4
orIP4_6
. - Ip6 string
- Starting IPv6 address of the range. Required if
ar_type
isIP6_STATIC
orIP4_6_STATIC
. - Mac string
- Starting MAC Address of the range.
- Prefix
Length string - Prefix length. Only needed for
IP6_STATIC
orIP4_6_STATIC
- Ula
Prefix string - ULA prefix for
IP6
orIP_4_6
.
- size Double
- Address range size.
- ar
Type String - Address range type. Supported values:
IP4
,IP6
,IP6_STATIC
,IP4_6
orIP4_6_STATIC
orETHER
. Defaults toIP4
. - computed
Global StringPrefix - Global prefix for type
IP6
orIP_4_6
. - computed
Ip6 String - Starting IPv6 address of the range.
- computed
Mac String - Starting MAC Address of the range.
- computed
Ula StringPrefix - ULA prefix for type
IP6
orIP_4_6
. - global
Prefix String - Global prefix for
IP6
orIP_4_6
. - id String
- ID of the address range
- ip4 String
- Starting IPv4 address of the range. Required if
ar_type
isIP4
orIP4_6
. - ip6 String
- Starting IPv6 address of the range. Required if
ar_type
isIP6_STATIC
orIP4_6_STATIC
. - mac String
- Starting MAC Address of the range.
- prefix
Length String - Prefix length. Only needed for
IP6_STATIC
orIP4_6_STATIC
- ula
Prefix String - ULA prefix for
IP6
orIP_4_6
.
- size number
- Address range size.
- ar
Type string - Address range type. Supported values:
IP4
,IP6
,IP6_STATIC
,IP4_6
orIP4_6_STATIC
orETHER
. Defaults toIP4
. - computed
Global stringPrefix - Global prefix for type
IP6
orIP_4_6
. - computed
Ip6 string - Starting IPv6 address of the range.
- computed
Mac string - Starting MAC Address of the range.
- computed
Ula stringPrefix - ULA prefix for type
IP6
orIP_4_6
. - global
Prefix string - Global prefix for
IP6
orIP_4_6
. - id string
- ID of the address range
- ip4 string
- Starting IPv4 address of the range. Required if
ar_type
isIP4
orIP4_6
. - ip6 string
- Starting IPv6 address of the range. Required if
ar_type
isIP6_STATIC
orIP4_6_STATIC
. - mac string
- Starting MAC Address of the range.
- prefix
Length string - Prefix length. Only needed for
IP6_STATIC
orIP4_6_STATIC
- ula
Prefix string - ULA prefix for
IP6
orIP_4_6
.
- size float
- Address range size.
- ar_
type str - Address range type. Supported values:
IP4
,IP6
,IP6_STATIC
,IP4_6
orIP4_6_STATIC
orETHER
. Defaults toIP4
. - computed_
global_ strprefix - Global prefix for type
IP6
orIP_4_6
. - computed_
ip6 str - Starting IPv6 address of the range.
- computed_
mac str - Starting MAC Address of the range.
- computed_
ula_ strprefix - ULA prefix for type
IP6
orIP_4_6
. - global_
prefix str - Global prefix for
IP6
orIP_4_6
. - id str
- ID of the address range
- ip4 str
- Starting IPv4 address of the range. Required if
ar_type
isIP4
orIP4_6
. - ip6 str
- Starting IPv6 address of the range. Required if
ar_type
isIP6_STATIC
orIP4_6_STATIC
. - mac str
- Starting MAC Address of the range.
- prefix_
length str - Prefix length. Only needed for
IP6_STATIC
orIP4_6_STATIC
- ula_
prefix str - ULA prefix for
IP6
orIP_4_6
.
- size Number
- Address range size.
- ar
Type String - Address range type. Supported values:
IP4
,IP6
,IP6_STATIC
,IP4_6
orIP4_6_STATIC
orETHER
. Defaults toIP4
. - computed
Global StringPrefix - Global prefix for type
IP6
orIP_4_6
. - computed
Ip6 String - Starting IPv6 address of the range.
- computed
Mac String - Starting MAC Address of the range.
- computed
Ula StringPrefix - ULA prefix for type
IP6
orIP_4_6
. - global
Prefix String - Global prefix for
IP6
orIP_4_6
. - id String
- ID of the address range
- ip4 String
- Starting IPv4 address of the range. Required if
ar_type
isIP4
orIP4_6
. - ip6 String
- Starting IPv6 address of the range. Required if
ar_type
isIP6_STATIC
orIP4_6_STATIC
. - mac String
- Starting MAC Address of the range.
- prefix
Length String - Prefix length. Only needed for
IP6_STATIC
orIP4_6_STATIC
- ula
Prefix String - ULA prefix for
IP6
orIP_4_6
.
VirtualNetworkTemplateSection, VirtualNetworkTemplateSectionArgs
VirtualNetworkTimeouts, VirtualNetworkTimeoutsArgs
- Create string
- Create string
- create String
- create string
- create str
- create String
Import
opennebula_virtual_network
can be imported using its ID:
$ pulumi import opennebula:index/virtualNetwork:VirtualNetwork 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.