1. Packages
  2. Opennebula Provider
  3. API Docs
  4. VirtualNetwork
opennebula 1.4.1 published on Monday, Apr 14, 2025 by opennebula

opennebula.VirtualNetwork

Explore with Pulumi AI

opennebula logo
opennebula 1.4.1 published on Monday, Apr 14, 2025 by opennebula

    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<VirtualNetworkAr>
    List of address ranges. See Address Range Parameters below for more details. Conflicts with reservation_vnet and reservation_size.

    Deprecated: Deprecated

    AutomaticVlanId bool
    Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with reservation_vnet, reservation_size and vlan_id.
    Bridge string
    Name of the bridge interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    ClusterIds List<double>
    List of cluster IDs where the virtual network can be use. Conflicts with reservation_vnet and reservation_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 and reservation_size.
    Gateway string
    IP of the gateway. Conflicts with reservation_vnet and reservation_size.
    Group string
    Name of the group which owns the virtual network. Defaults to the caller primary group.
    GuestMtu double
    MTU of the network caord on the virtual machine. Cannot be greater than mtu. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    HoldIps List<string>
    Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held. Conflicts withreservation_vnetandreservation_size`.

    Deprecated: Deprecated

    Lock string
    Lock the virtual network with a specific lock level. Supported values: USE, MANAGE, ADMIN, ALL or UNLOCK.
    Mtu double
    Virtual network MTU. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    Name string
    The name of the virtual network.
    NetworkAddress string
    Base network address. Conflicts with reservation_vnet and reservation_size.
    NetworkMask string
    Network mask. Conflicts with reservation_vnet and reservation_size.
    Permissions string
    Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    PhysicalDevice string
    Name of the physical device interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    ReservationArId double
    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 and reservation_vnet.
    ReservationFirstIp string
    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 and reservation_vnet.
    ReservationSize double
    Size (in address) reserved. Conflicts with all parameters except name, description, permissions, security_groups, group, reservation_ar_id, reservation_first_ip and reservation_vnet.
    ReservationVnet 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 and reservation_size.
    SearchDomain string
    Default search domains for DNS resolution. Conflicts with reservation_vnet and reservation_size.
    SecurityGroups List<double>
    List of security group IDs to apply on the virtual network.
    Tags Dictionary<string, string>
    Map of tags (key=value) assigned to the resource. Override matching tags present in the default_tags atribute when configured in the provider block. See tags usage related documentation for more information.
    TemplateSections List<VirtualNetworkTemplateSection>
    Allow to add a custom vector. See Template section parameters
    Timeouts VirtualNetworkTimeouts
    Type string
    Virtual network type. One of these: dummy, bridge'fw, ebtables, 802.1Q, vxlan or ovswitch. Defaults to bridge. Conflicts with reservation_vnet and reservation_size.
    User string
    Name of the user which owns the virtual network.
    VirtualNetworkId string
    ID of the address range
    VlanId string
    ID of VLAN. Only if type is 802.1Q, vxlan or ovswitch. Conflicts with reservation_vnet, reservation_size and automatic_vlan_id.
    Ars []VirtualNetworkArArgs
    List of address ranges. See Address Range Parameters below for more details. Conflicts with reservation_vnet and reservation_size.

    Deprecated: Deprecated

    AutomaticVlanId bool
    Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with reservation_vnet, reservation_size and vlan_id.
    Bridge string
    Name of the bridge interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    ClusterIds []float64
    List of cluster IDs where the virtual network can be use. Conflicts with reservation_vnet and reservation_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 and reservation_size.
    Gateway string
    IP of the gateway. Conflicts with reservation_vnet and reservation_size.
    Group string
    Name of the group which owns the virtual network. Defaults to the caller primary group.
    GuestMtu float64
    MTU of the network caord on the virtual machine. Cannot be greater than mtu. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    HoldIps []string
    Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held. Conflicts withreservation_vnetandreservation_size`.

    Deprecated: Deprecated

    Lock string
    Lock the virtual network with a specific lock level. Supported values: USE, MANAGE, ADMIN, ALL or UNLOCK.
    Mtu float64
    Virtual network MTU. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    Name string
    The name of the virtual network.
    NetworkAddress string
    Base network address. Conflicts with reservation_vnet and reservation_size.
    NetworkMask string
    Network mask. Conflicts with reservation_vnet and reservation_size.
    Permissions string
    Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    PhysicalDevice string
    Name of the physical device interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    ReservationArId float64
    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 and reservation_vnet.
    ReservationFirstIp string
    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 and reservation_vnet.
    ReservationSize float64
    Size (in address) reserved. Conflicts with all parameters except name, description, permissions, security_groups, group, reservation_ar_id, reservation_first_ip and reservation_vnet.
    ReservationVnet 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 and reservation_size.
    SearchDomain string
    Default search domains for DNS resolution. Conflicts with reservation_vnet and reservation_size.
    SecurityGroups []float64
    List of security group IDs to apply on the virtual network.
    Tags map[string]string
    Map of tags (key=value) assigned to the resource. Override matching tags present in the default_tags atribute when configured in the provider block. See tags usage related documentation for more information.
    TemplateSections []VirtualNetworkTemplateSectionArgs
    Allow to add a custom vector. See Template section parameters
    Timeouts VirtualNetworkTimeoutsArgs
    Type string
    Virtual network type. One of these: dummy, bridge'fw, ebtables, 802.1Q, vxlan or ovswitch. Defaults to bridge. Conflicts with reservation_vnet and reservation_size.
    User string
    Name of the user which owns the virtual network.
    VirtualNetworkId string
    ID of the address range
    VlanId string
    ID of VLAN. Only if type is 802.1Q, vxlan or ovswitch. Conflicts with reservation_vnet, reservation_size and automatic_vlan_id.
    ars List<VirtualNetworkAr>
    List of address ranges. See Address Range Parameters below for more details. Conflicts with reservation_vnet and reservation_size.

    Deprecated: Deprecated

    automaticVlanId Boolean
    Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with reservation_vnet, reservation_size and vlan_id.
    bridge String
    Name of the bridge interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    clusterIds List<Double>
    List of cluster IDs where the virtual network can be use. Conflicts with reservation_vnet and reservation_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 and reservation_size.
    gateway String
    IP of the gateway. Conflicts with reservation_vnet and reservation_size.
    group String
    Name of the group which owns the virtual network. Defaults to the caller primary group.
    guestMtu Double
    MTU of the network caord on the virtual machine. Cannot be greater than mtu. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    holdIps List<String>
    Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held. Conflicts withreservation_vnetandreservation_size`.

    Deprecated: Deprecated

    lock String
    Lock the virtual network with a specific lock level. Supported values: USE, MANAGE, ADMIN, ALL or UNLOCK.
    mtu Double
    Virtual network MTU. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    name String
    The name of the virtual network.
    networkAddress String
    Base network address. Conflicts with reservation_vnet and reservation_size.
    networkMask String
    Network mask. Conflicts with reservation_vnet and reservation_size.
    permissions String
    Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    physicalDevice String
    Name of the physical device interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    reservationArId Double
    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 and reservation_vnet.
    reservationFirstIp String
    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 and reservation_vnet.
    reservationSize Double
    Size (in address) reserved. Conflicts with all parameters except name, description, permissions, security_groups, group, reservation_ar_id, reservation_first_ip and reservation_vnet.
    reservationVnet 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 and reservation_size.
    searchDomain String
    Default search domains for DNS resolution. Conflicts with reservation_vnet and reservation_size.
    securityGroups List<Double>
    List of security group IDs to apply on the virtual network.
    tags Map<String,String>
    Map of tags (key=value) assigned to the resource. Override matching tags present in the default_tags atribute when configured in the provider block. See tags usage related documentation for more information.
    templateSections List<VirtualNetworkTemplateSection>
    Allow to add a custom vector. See Template section parameters
    timeouts VirtualNetworkTimeouts
    type String
    Virtual network type. One of these: dummy, bridge'fw, ebtables, 802.1Q, vxlan or ovswitch. Defaults to bridge. Conflicts with reservation_vnet and reservation_size.
    user String
    Name of the user which owns the virtual network.
    virtualNetworkId String
    ID of the address range
    vlanId String
    ID of VLAN. Only if type is 802.1Q, vxlan or ovswitch. Conflicts with reservation_vnet, reservation_size and automatic_vlan_id.
    ars VirtualNetworkAr[]
    List of address ranges. See Address Range Parameters below for more details. Conflicts with reservation_vnet and reservation_size.

    Deprecated: Deprecated

    automaticVlanId boolean
    Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with reservation_vnet, reservation_size and vlan_id.
    bridge string
    Name of the bridge interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    clusterIds number[]
    List of cluster IDs where the virtual network can be use. Conflicts with reservation_vnet and reservation_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 and reservation_size.
    gateway string
    IP of the gateway. Conflicts with reservation_vnet and reservation_size.
    group string
    Name of the group which owns the virtual network. Defaults to the caller primary group.
    guestMtu number
    MTU of the network caord on the virtual machine. Cannot be greater than mtu. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    holdIps string[]
    Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held. Conflicts withreservation_vnetandreservation_size`.

    Deprecated: Deprecated

    lock string
    Lock the virtual network with a specific lock level. Supported values: USE, MANAGE, ADMIN, ALL or UNLOCK.
    mtu number
    Virtual network MTU. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    name string
    The name of the virtual network.
    networkAddress string
    Base network address. Conflicts with reservation_vnet and reservation_size.
    networkMask string
    Network mask. Conflicts with reservation_vnet and reservation_size.
    permissions string
    Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    physicalDevice string
    Name of the physical device interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    reservationArId number
    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 and reservation_vnet.
    reservationFirstIp string
    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 and reservation_vnet.
    reservationSize number
    Size (in address) reserved. Conflicts with all parameters except name, description, permissions, security_groups, group, reservation_ar_id, reservation_first_ip and reservation_vnet.
    reservationVnet 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 and reservation_size.
    searchDomain string
    Default search domains for DNS resolution. Conflicts with reservation_vnet and reservation_size.
    securityGroups number[]
    List of security group IDs to apply on the virtual network.
    tags {[key: string]: string}
    Map of tags (key=value) assigned to the resource. Override matching tags present in the default_tags atribute when configured in the provider block. See tags usage related documentation for more information.
    templateSections VirtualNetworkTemplateSection[]
    Allow to add a custom vector. See Template section parameters
    timeouts VirtualNetworkTimeouts
    type string
    Virtual network type. One of these: dummy, bridge'fw, ebtables, 802.1Q, vxlan or ovswitch. Defaults to bridge. Conflicts with reservation_vnet and reservation_size.
    user string
    Name of the user which owns the virtual network.
    virtualNetworkId string
    ID of the address range
    vlanId string
    ID of VLAN. Only if type is 802.1Q, vxlan or ovswitch. Conflicts with reservation_vnet, reservation_size and automatic_vlan_id.
    ars Sequence[VirtualNetworkArArgs]
    List of address ranges. See Address Range Parameters below for more details. Conflicts with reservation_vnet and reservation_size.

    Deprecated: Deprecated

    automatic_vlan_id bool
    Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with reservation_vnet, reservation_size and vlan_id.
    bridge str
    Name of the bridge interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    cluster_ids Sequence[float]
    List of cluster IDs where the virtual network can be use. Conflicts with reservation_vnet and reservation_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 and reservation_size.
    gateway str
    IP of the gateway. Conflicts with reservation_vnet and reservation_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 to 1500. Conflicts with reservation_vnet and reservation_size.
    hold_ips Sequence[str]
    Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held. Conflicts withreservation_vnetandreservation_size`.

    Deprecated: Deprecated

    lock str
    Lock the virtual network with a specific lock level. Supported values: USE, MANAGE, ADMIN, ALL or UNLOCK.
    mtu float
    Virtual network MTU. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    name str
    The name of the virtual network.
    network_address str
    Base network address. Conflicts with reservation_vnet and reservation_size.
    network_mask str
    Network mask. Conflicts with reservation_vnet and reservation_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 and reservation_size.
    reservation_ar_id float
    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 and reservation_vnet.
    reservation_first_ip str
    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 and reservation_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 and reservation_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 and reservation_size.
    search_domain str
    Default search domains for DNS resolution. Conflicts with reservation_vnet and reservation_size.
    security_groups Sequence[float]
    List of security group IDs to apply on the virtual network.
    tags Mapping[str, str]
    Map of tags (key=value) assigned to the resource. Override matching tags present in the default_tags atribute when configured in the provider block. See tags usage related documentation for more information.
    template_sections Sequence[VirtualNetworkTemplateSectionArgs]
    Allow to add a custom vector. See Template section parameters
    timeouts VirtualNetworkTimeoutsArgs
    type str
    Virtual network type. One of these: dummy, bridge'fw, ebtables, 802.1Q, vxlan or ovswitch. Defaults to bridge. Conflicts with reservation_vnet and reservation_size.
    user str
    Name of the user which owns the virtual network.
    virtual_network_id str
    ID of the address range
    vlan_id str
    ID of VLAN. Only if type is 802.1Q, vxlan or ovswitch. Conflicts with reservation_vnet, reservation_size and automatic_vlan_id.
    ars List<Property Map>
    List of address ranges. See Address Range Parameters below for more details. Conflicts with reservation_vnet and reservation_size.

    Deprecated: Deprecated

    automaticVlanId Boolean
    Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with reservation_vnet, reservation_size and vlan_id.
    bridge String
    Name of the bridge interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    clusterIds List<Number>
    List of cluster IDs where the virtual network can be use. Conflicts with reservation_vnet and reservation_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 and reservation_size.
    gateway String
    IP of the gateway. Conflicts with reservation_vnet and reservation_size.
    group String
    Name of the group which owns the virtual network. Defaults to the caller primary group.
    guestMtu Number
    MTU of the network caord on the virtual machine. Cannot be greater than mtu. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    holdIps List<String>
    Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held. Conflicts withreservation_vnetandreservation_size`.

    Deprecated: Deprecated

    lock String
    Lock the virtual network with a specific lock level. Supported values: USE, MANAGE, ADMIN, ALL or UNLOCK.
    mtu Number
    Virtual network MTU. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    name String
    The name of the virtual network.
    networkAddress String
    Base network address. Conflicts with reservation_vnet and reservation_size.
    networkMask String
    Network mask. Conflicts with reservation_vnet and reservation_size.
    permissions String
    Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    physicalDevice String
    Name of the physical device interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    reservationArId Number
    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 and reservation_vnet.
    reservationFirstIp String
    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 and reservation_vnet.
    reservationSize Number
    Size (in address) reserved. Conflicts with all parameters except name, description, permissions, security_groups, group, reservation_ar_id, reservation_first_ip and reservation_vnet.
    reservationVnet 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 and reservation_size.
    searchDomain String
    Default search domains for DNS resolution. Conflicts with reservation_vnet and reservation_size.
    securityGroups List<Number>
    List of security group IDs to apply on the virtual network.
    tags Map<String>
    Map of tags (key=value) assigned to the resource. Override matching tags present in the default_tags atribute when configured in the provider block. See tags usage related documentation for more information.
    templateSections 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 or ovswitch. Defaults to bridge. Conflicts with reservation_vnet and reservation_size.
    user String
    Name of the user which owns the virtual network.
    virtualNetworkId String
    ID of the address range
    vlanId String
    ID of VLAN. Only if type is 802.1Q, vxlan or ovswitch. Conflicts with reservation_vnet, reservation_size and automatic_vlan_id.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VirtualNetwork resource produces the following output properties:

    DefaultTags 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.
    TagsAll Dictionary<string, string>
    Result of the applied default_tags and then resource tags.
    Uid double
    User ID whom owns the virtual network.
    Uname string
    User Name whom owns the virtual network.
    DefaultTags 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.
    TagsAll map[string]string
    Result of the applied default_tags and then resource tags.
    Uid float64
    User ID whom owns the virtual network.
    Uname string
    User Name whom owns the virtual network.
    defaultTags 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.
    tagsAll Map<String,String>
    Result of the applied default_tags and then resource tags.
    uid Double
    User ID whom owns the virtual network.
    uname String
    User Name whom owns the virtual network.
    defaultTags {[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.
    tagsAll {[key: string]: string}
    Result of the applied default_tags and then resource tags.
    uid number
    User ID whom owns the virtual network.
    uname string
    User Name whom owns the virtual network.
    default_tags 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.
    tags_all Mapping[str, str]
    Result of the applied default_tags and then resource tags.
    uid float
    User ID whom owns the virtual network.
    uname str
    User Name whom owns the virtual network.
    defaultTags 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.
    tagsAll Map<String>
    Result of the applied default_tags and then resource tags.
    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.
    The following state arguments are supported:
    Ars List<VirtualNetworkAr>
    List of address ranges. See Address Range Parameters below for more details. Conflicts with reservation_vnet and reservation_size.

    Deprecated: Deprecated

    AutomaticVlanId bool
    Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with reservation_vnet, reservation_size and vlan_id.
    Bridge string
    Name of the bridge interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    ClusterIds List<double>
    List of cluster IDs where the virtual network can be use. Conflicts with reservation_vnet and reservation_size. Minimum 1 item.
    DefaultTags 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 and reservation_size.
    Gateway string
    IP of the gateway. Conflicts with reservation_vnet and reservation_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.
    GuestMtu double
    MTU of the network caord on the virtual machine. Cannot be greater than mtu. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    HoldIps List<string>
    Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held. Conflicts withreservation_vnetandreservation_size`.

    Deprecated: Deprecated

    Lock string
    Lock the virtual network with a specific lock level. Supported values: USE, MANAGE, ADMIN, ALL or UNLOCK.
    Mtu double
    Virtual network MTU. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    Name string
    The name of the virtual network.
    NetworkAddress string
    Base network address. Conflicts with reservation_vnet and reservation_size.
    NetworkMask string
    Network mask. Conflicts with reservation_vnet and reservation_size.
    Permissions string
    Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    PhysicalDevice string
    Name of the physical device interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    ReservationArId double
    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 and reservation_vnet.
    ReservationFirstIp string
    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 and reservation_vnet.
    ReservationSize double
    Size (in address) reserved. Conflicts with all parameters except name, description, permissions, security_groups, group, reservation_ar_id, reservation_first_ip and reservation_vnet.
    ReservationVnet 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 and reservation_size.
    SearchDomain string
    Default search domains for DNS resolution. Conflicts with reservation_vnet and reservation_size.
    SecurityGroups List<double>
    List of security group IDs to apply on the virtual network.
    Tags Dictionary<string, string>
    Map of tags (key=value) assigned to the resource. Override matching tags present in the default_tags atribute when configured in the provider block. See tags usage related documentation for more information.
    TagsAll Dictionary<string, string>
    Result of the applied default_tags and then resource tags.
    TemplateSections List<VirtualNetworkTemplateSection>
    Allow to add a custom vector. See Template section parameters
    Timeouts VirtualNetworkTimeouts
    Type string
    Virtual network type. One of these: dummy, bridge'fw, ebtables, 802.1Q, vxlan or ovswitch. Defaults to bridge. Conflicts with reservation_vnet and reservation_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.
    VirtualNetworkId string
    ID of the address range
    VlanId string
    ID of VLAN. Only if type is 802.1Q, vxlan or ovswitch. Conflicts with reservation_vnet, reservation_size and automatic_vlan_id.
    Ars []VirtualNetworkArArgs
    List of address ranges. See Address Range Parameters below for more details. Conflicts with reservation_vnet and reservation_size.

    Deprecated: Deprecated

    AutomaticVlanId bool
    Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with reservation_vnet, reservation_size and vlan_id.
    Bridge string
    Name of the bridge interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    ClusterIds []float64
    List of cluster IDs where the virtual network can be use. Conflicts with reservation_vnet and reservation_size. Minimum 1 item.
    DefaultTags 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 and reservation_size.
    Gateway string
    IP of the gateway. Conflicts with reservation_vnet and reservation_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.
    GuestMtu float64
    MTU of the network caord on the virtual machine. Cannot be greater than mtu. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    HoldIps []string
    Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held. Conflicts withreservation_vnetandreservation_size`.

    Deprecated: Deprecated

    Lock string
    Lock the virtual network with a specific lock level. Supported values: USE, MANAGE, ADMIN, ALL or UNLOCK.
    Mtu float64
    Virtual network MTU. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    Name string
    The name of the virtual network.
    NetworkAddress string
    Base network address. Conflicts with reservation_vnet and reservation_size.
    NetworkMask string
    Network mask. Conflicts with reservation_vnet and reservation_size.
    Permissions string
    Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    PhysicalDevice string
    Name of the physical device interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    ReservationArId float64
    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 and reservation_vnet.
    ReservationFirstIp string
    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 and reservation_vnet.
    ReservationSize float64
    Size (in address) reserved. Conflicts with all parameters except name, description, permissions, security_groups, group, reservation_ar_id, reservation_first_ip and reservation_vnet.
    ReservationVnet 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 and reservation_size.
    SearchDomain string
    Default search domains for DNS resolution. Conflicts with reservation_vnet and reservation_size.
    SecurityGroups []float64
    List of security group IDs to apply on the virtual network.
    Tags map[string]string
    Map of tags (key=value) assigned to the resource. Override matching tags present in the default_tags atribute when configured in the provider block. See tags usage related documentation for more information.
    TagsAll map[string]string
    Result of the applied default_tags and then resource tags.
    TemplateSections []VirtualNetworkTemplateSectionArgs
    Allow to add a custom vector. See Template section parameters
    Timeouts VirtualNetworkTimeoutsArgs
    Type string
    Virtual network type. One of these: dummy, bridge'fw, ebtables, 802.1Q, vxlan or ovswitch. Defaults to bridge. Conflicts with reservation_vnet and reservation_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.
    VirtualNetworkId string
    ID of the address range
    VlanId string
    ID of VLAN. Only if type is 802.1Q, vxlan or ovswitch. Conflicts with reservation_vnet, reservation_size and automatic_vlan_id.
    ars List<VirtualNetworkAr>
    List of address ranges. See Address Range Parameters below for more details. Conflicts with reservation_vnet and reservation_size.

    Deprecated: Deprecated

    automaticVlanId Boolean
    Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with reservation_vnet, reservation_size and vlan_id.
    bridge String
    Name of the bridge interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    clusterIds List<Double>
    List of cluster IDs where the virtual network can be use. Conflicts with reservation_vnet and reservation_size. Minimum 1 item.
    defaultTags 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 and reservation_size.
    gateway String
    IP of the gateway. Conflicts with reservation_vnet and reservation_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.
    guestMtu Double
    MTU of the network caord on the virtual machine. Cannot be greater than mtu. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    holdIps List<String>
    Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held. Conflicts withreservation_vnetandreservation_size`.

    Deprecated: Deprecated

    lock String
    Lock the virtual network with a specific lock level. Supported values: USE, MANAGE, ADMIN, ALL or UNLOCK.
    mtu Double
    Virtual network MTU. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    name String
    The name of the virtual network.
    networkAddress String
    Base network address. Conflicts with reservation_vnet and reservation_size.
    networkMask String
    Network mask. Conflicts with reservation_vnet and reservation_size.
    permissions String
    Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    physicalDevice String
    Name of the physical device interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    reservationArId Double
    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 and reservation_vnet.
    reservationFirstIp String
    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 and reservation_vnet.
    reservationSize Double
    Size (in address) reserved. Conflicts with all parameters except name, description, permissions, security_groups, group, reservation_ar_id, reservation_first_ip and reservation_vnet.
    reservationVnet 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 and reservation_size.
    searchDomain String
    Default search domains for DNS resolution. Conflicts with reservation_vnet and reservation_size.
    securityGroups List<Double>
    List of security group IDs to apply on the virtual network.
    tags Map<String,String>
    Map of tags (key=value) assigned to the resource. Override matching tags present in the default_tags atribute when configured in the provider block. See tags usage related documentation for more information.
    tagsAll Map<String,String>
    Result of the applied default_tags and then resource tags.
    templateSections List<VirtualNetworkTemplateSection>
    Allow to add a custom vector. See Template section parameters
    timeouts VirtualNetworkTimeouts
    type String
    Virtual network type. One of these: dummy, bridge'fw, ebtables, 802.1Q, vxlan or ovswitch. Defaults to bridge. Conflicts with reservation_vnet and reservation_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.
    virtualNetworkId String
    ID of the address range
    vlanId String
    ID of VLAN. Only if type is 802.1Q, vxlan or ovswitch. Conflicts with reservation_vnet, reservation_size and automatic_vlan_id.
    ars VirtualNetworkAr[]
    List of address ranges. See Address Range Parameters below for more details. Conflicts with reservation_vnet and reservation_size.

    Deprecated: Deprecated

    automaticVlanId boolean
    Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with reservation_vnet, reservation_size and vlan_id.
    bridge string
    Name of the bridge interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    clusterIds number[]
    List of cluster IDs where the virtual network can be use. Conflicts with reservation_vnet and reservation_size. Minimum 1 item.
    defaultTags {[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 and reservation_size.
    gateway string
    IP of the gateway. Conflicts with reservation_vnet and reservation_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.
    guestMtu number
    MTU of the network caord on the virtual machine. Cannot be greater than mtu. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    holdIps string[]
    Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held. Conflicts withreservation_vnetandreservation_size`.

    Deprecated: Deprecated

    lock string
    Lock the virtual network with a specific lock level. Supported values: USE, MANAGE, ADMIN, ALL or UNLOCK.
    mtu number
    Virtual network MTU. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    name string
    The name of the virtual network.
    networkAddress string
    Base network address. Conflicts with reservation_vnet and reservation_size.
    networkMask string
    Network mask. Conflicts with reservation_vnet and reservation_size.
    permissions string
    Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    physicalDevice string
    Name of the physical device interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    reservationArId number
    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 and reservation_vnet.
    reservationFirstIp string
    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 and reservation_vnet.
    reservationSize number
    Size (in address) reserved. Conflicts with all parameters except name, description, permissions, security_groups, group, reservation_ar_id, reservation_first_ip and reservation_vnet.
    reservationVnet 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 and reservation_size.
    searchDomain string
    Default search domains for DNS resolution. Conflicts with reservation_vnet and reservation_size.
    securityGroups number[]
    List of security group IDs to apply on the virtual network.
    tags {[key: string]: string}
    Map of tags (key=value) assigned to the resource. Override matching tags present in the default_tags atribute when configured in the provider block. See tags usage related documentation for more information.
    tagsAll {[key: string]: string}
    Result of the applied default_tags and then resource tags.
    templateSections VirtualNetworkTemplateSection[]
    Allow to add a custom vector. See Template section parameters
    timeouts VirtualNetworkTimeouts
    type string
    Virtual network type. One of these: dummy, bridge'fw, ebtables, 802.1Q, vxlan or ovswitch. Defaults to bridge. Conflicts with reservation_vnet and reservation_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.
    virtualNetworkId string
    ID of the address range
    vlanId string
    ID of VLAN. Only if type is 802.1Q, vxlan or ovswitch. Conflicts with reservation_vnet, reservation_size and automatic_vlan_id.
    ars Sequence[VirtualNetworkArArgs]
    List of address ranges. See Address Range Parameters below for more details. Conflicts with reservation_vnet and reservation_size.

    Deprecated: Deprecated

    automatic_vlan_id bool
    Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with reservation_vnet, reservation_size and vlan_id.
    bridge str
    Name of the bridge interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    cluster_ids Sequence[float]
    List of cluster IDs where the virtual network can be use. Conflicts with reservation_vnet and reservation_size. Minimum 1 item.
    default_tags 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 and reservation_size.
    gateway str
    IP of the gateway. Conflicts with reservation_vnet and reservation_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 to 1500. Conflicts with reservation_vnet and reservation_size.
    hold_ips Sequence[str]
    Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held. Conflicts withreservation_vnetandreservation_size`.

    Deprecated: Deprecated

    lock str
    Lock the virtual network with a specific lock level. Supported values: USE, MANAGE, ADMIN, ALL or UNLOCK.
    mtu float
    Virtual network MTU. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    name str
    The name of the virtual network.
    network_address str
    Base network address. Conflicts with reservation_vnet and reservation_size.
    network_mask str
    Network mask. Conflicts with reservation_vnet and reservation_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 and reservation_size.
    reservation_ar_id float
    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 and reservation_vnet.
    reservation_first_ip str
    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 and reservation_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 and reservation_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 and reservation_size.
    search_domain str
    Default search domains for DNS resolution. Conflicts with reservation_vnet and reservation_size.
    security_groups Sequence[float]
    List of security group IDs to apply on the virtual network.
    tags Mapping[str, str]
    Map of tags (key=value) assigned to the resource. Override matching tags present in the default_tags atribute when configured in the provider block. See tags usage related documentation for more information.
    tags_all Mapping[str, str]
    Result of the applied default_tags and then resource tags.
    template_sections Sequence[VirtualNetworkTemplateSectionArgs]
    Allow to add a custom vector. See Template section parameters
    timeouts VirtualNetworkTimeoutsArgs
    type str
    Virtual network type. One of these: dummy, bridge'fw, ebtables, 802.1Q, vxlan or ovswitch. Defaults to bridge. Conflicts with reservation_vnet and reservation_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_id str
    ID of the address range
    vlan_id str
    ID of VLAN. Only if type is 802.1Q, vxlan or ovswitch. Conflicts with reservation_vnet, reservation_size and automatic_vlan_id.
    ars List<Property Map>
    List of address ranges. See Address Range Parameters below for more details. Conflicts with reservation_vnet and reservation_size.

    Deprecated: Deprecated

    automaticVlanId Boolean
    Flag to let OpenNebula scheduler to attribute the VLAN ID. Conflicts with reservation_vnet, reservation_size and vlan_id.
    bridge String
    Name of the bridge interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    clusterIds List<Number>
    List of cluster IDs where the virtual network can be use. Conflicts with reservation_vnet and reservation_size. Minimum 1 item.
    defaultTags 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 and reservation_size.
    gateway String
    IP of the gateway. Conflicts with reservation_vnet and reservation_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.
    guestMtu Number
    MTU of the network caord on the virtual machine. Cannot be greater than mtu. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    holdIps List<String>
    Hold Ips from any Address Range of the Virtual Network. The IP must be available to be held. Conflicts withreservation_vnetandreservation_size`.

    Deprecated: Deprecated

    lock String
    Lock the virtual network with a specific lock level. Supported values: USE, MANAGE, ADMIN, ALL or UNLOCK.
    mtu Number
    Virtual network MTU. Defaults to 1500. Conflicts with reservation_vnet and reservation_size.
    name String
    The name of the virtual network.
    networkAddress String
    Base network address. Conflicts with reservation_vnet and reservation_size.
    networkMask String
    Network mask. Conflicts with reservation_vnet and reservation_size.
    permissions String
    Permissions applied on virtual network. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
    physicalDevice String
    Name of the physical device interface to which the virtual network should be associated. Conflicts with reservation_vnet and reservation_size.
    reservationArId Number
    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 and reservation_vnet.
    reservationFirstIp String
    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 and reservation_vnet.
    reservationSize Number
    Size (in address) reserved. Conflicts with all parameters except name, description, permissions, security_groups, group, reservation_ar_id, reservation_first_ip and reservation_vnet.
    reservationVnet 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 and reservation_size.
    searchDomain String
    Default search domains for DNS resolution. Conflicts with reservation_vnet and reservation_size.
    securityGroups List<Number>
    List of security group IDs to apply on the virtual network.
    tags Map<String>
    Map of tags (key=value) assigned to the resource. Override matching tags present in the default_tags atribute when configured in the provider block. See tags usage related documentation for more information.
    tagsAll Map<String>
    Result of the applied default_tags and then resource tags.
    templateSections 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 or ovswitch. Defaults to bridge. Conflicts with reservation_vnet and reservation_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.
    virtualNetworkId String
    ID of the address range
    vlanId String
    ID of VLAN. Only if type is 802.1Q, vxlan or ovswitch. Conflicts with reservation_vnet, reservation_size and automatic_vlan_id.

    Supporting Types

    VirtualNetworkAr, VirtualNetworkArArgs

    Size double
    Address range size.
    ArType string
    Address range type. Supported values: IP4, IP6, IP6_STATIC, IP4_6 or IP4_6_STATIC or ETHER. Defaults to IP4.
    ComputedGlobalPrefix string
    Global prefix for type IP6 or IP_4_6.
    ComputedIp6 string
    Starting IPv6 address of the range.
    ComputedMac string
    Starting MAC Address of the range.
    ComputedUlaPrefix string
    ULA prefix for type IP6 or IP_4_6.
    GlobalPrefix string
    Global prefix for IP6 or IP_4_6.
    Id string
    ID of the address range
    Ip4 string
    Starting IPv4 address of the range. Required if ar_type is IP4 or IP4_6.
    Ip6 string
    Starting IPv6 address of the range. Required if ar_type is IP6_STATIC or IP4_6_STATIC.
    Mac string
    Starting MAC Address of the range.
    PrefixLength string
    Prefix length. Only needed for IP6_STATIC or IP4_6_STATIC
    UlaPrefix string
    ULA prefix for IP6 or IP_4_6.
    Size float64
    Address range size.
    ArType string
    Address range type. Supported values: IP4, IP6, IP6_STATIC, IP4_6 or IP4_6_STATIC or ETHER. Defaults to IP4.
    ComputedGlobalPrefix string
    Global prefix for type IP6 or IP_4_6.
    ComputedIp6 string
    Starting IPv6 address of the range.
    ComputedMac string
    Starting MAC Address of the range.
    ComputedUlaPrefix string
    ULA prefix for type IP6 or IP_4_6.
    GlobalPrefix string
    Global prefix for IP6 or IP_4_6.
    Id string
    ID of the address range
    Ip4 string
    Starting IPv4 address of the range. Required if ar_type is IP4 or IP4_6.
    Ip6 string
    Starting IPv6 address of the range. Required if ar_type is IP6_STATIC or IP4_6_STATIC.
    Mac string
    Starting MAC Address of the range.
    PrefixLength string
    Prefix length. Only needed for IP6_STATIC or IP4_6_STATIC
    UlaPrefix string
    ULA prefix for IP6 or IP_4_6.
    size Double
    Address range size.
    arType String
    Address range type. Supported values: IP4, IP6, IP6_STATIC, IP4_6 or IP4_6_STATIC or ETHER. Defaults to IP4.
    computedGlobalPrefix String
    Global prefix for type IP6 or IP_4_6.
    computedIp6 String
    Starting IPv6 address of the range.
    computedMac String
    Starting MAC Address of the range.
    computedUlaPrefix String
    ULA prefix for type IP6 or IP_4_6.
    globalPrefix String
    Global prefix for IP6 or IP_4_6.
    id String
    ID of the address range
    ip4 String
    Starting IPv4 address of the range. Required if ar_type is IP4 or IP4_6.
    ip6 String
    Starting IPv6 address of the range. Required if ar_type is IP6_STATIC or IP4_6_STATIC.
    mac String
    Starting MAC Address of the range.
    prefixLength String
    Prefix length. Only needed for IP6_STATIC or IP4_6_STATIC
    ulaPrefix String
    ULA prefix for IP6 or IP_4_6.
    size number
    Address range size.
    arType string
    Address range type. Supported values: IP4, IP6, IP6_STATIC, IP4_6 or IP4_6_STATIC or ETHER. Defaults to IP4.
    computedGlobalPrefix string
    Global prefix for type IP6 or IP_4_6.
    computedIp6 string
    Starting IPv6 address of the range.
    computedMac string
    Starting MAC Address of the range.
    computedUlaPrefix string
    ULA prefix for type IP6 or IP_4_6.
    globalPrefix string
    Global prefix for IP6 or IP_4_6.
    id string
    ID of the address range
    ip4 string
    Starting IPv4 address of the range. Required if ar_type is IP4 or IP4_6.
    ip6 string
    Starting IPv6 address of the range. Required if ar_type is IP6_STATIC or IP4_6_STATIC.
    mac string
    Starting MAC Address of the range.
    prefixLength string
    Prefix length. Only needed for IP6_STATIC or IP4_6_STATIC
    ulaPrefix string
    ULA prefix for IP6 or IP_4_6.
    size float
    Address range size.
    ar_type str
    Address range type. Supported values: IP4, IP6, IP6_STATIC, IP4_6 or IP4_6_STATIC or ETHER. Defaults to IP4.
    computed_global_prefix str
    Global prefix for type IP6 or IP_4_6.
    computed_ip6 str
    Starting IPv6 address of the range.
    computed_mac str
    Starting MAC Address of the range.
    computed_ula_prefix str
    ULA prefix for type IP6 or IP_4_6.
    global_prefix str
    Global prefix for IP6 or IP_4_6.
    id str
    ID of the address range
    ip4 str
    Starting IPv4 address of the range. Required if ar_type is IP4 or IP4_6.
    ip6 str
    Starting IPv6 address of the range. Required if ar_type is IP6_STATIC or IP4_6_STATIC.
    mac str
    Starting MAC Address of the range.
    prefix_length str
    Prefix length. Only needed for IP6_STATIC or IP4_6_STATIC
    ula_prefix str
    ULA prefix for IP6 or IP_4_6.
    size Number
    Address range size.
    arType String
    Address range type. Supported values: IP4, IP6, IP6_STATIC, IP4_6 or IP4_6_STATIC or ETHER. Defaults to IP4.
    computedGlobalPrefix String
    Global prefix for type IP6 or IP_4_6.
    computedIp6 String
    Starting IPv6 address of the range.
    computedMac String
    Starting MAC Address of the range.
    computedUlaPrefix String
    ULA prefix for type IP6 or IP_4_6.
    globalPrefix String
    Global prefix for IP6 or IP_4_6.
    id String
    ID of the address range
    ip4 String
    Starting IPv4 address of the range. Required if ar_type is IP4 or IP4_6.
    ip6 String
    Starting IPv6 address of the range. Required if ar_type is IP6_STATIC or IP4_6_STATIC.
    mac String
    Starting MAC Address of the range.
    prefixLength String
    Prefix length. Only needed for IP6_STATIC or IP4_6_STATIC
    ulaPrefix String
    ULA prefix for IP6 or IP_4_6.

    VirtualNetworkTemplateSection, VirtualNetworkTemplateSectionArgs

    Name string
    The vector name.
    Elements Dictionary<string, string>
    Collection of custom tags.
    Name string
    The vector name.
    Elements map[string]string
    Collection of custom tags.
    name String
    The vector name.
    elements Map<String,String>
    Collection of custom tags.
    name string
    The vector name.
    elements {[key: string]: string}
    Collection of custom tags.
    name str
    The vector name.
    elements Mapping[str, str]
    Collection of custom tags.
    name String
    The vector name.
    elements Map<String>
    Collection of custom tags.

    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.
    opennebula logo
    opennebula 1.4.1 published on Monday, Apr 14, 2025 by opennebula