opennebula.VirtualRouter
Explore with Pulumi AI
Provides an OpenNebula virtual router resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opennebula from "@pulumi/opennebula";
const example = new opennebula.VirtualRouter("example", {
permissions: "642",
group: "oneadmin",
description: "This is an example of virtual router",
instanceTemplateId: opennebula_virtual_router_instance_template.example.id,
lock: "USE",
tags: {
environment: "example",
},
templateSections: [{
name: "example",
elements: {
key1: "value1",
},
}],
});
import pulumi
import pulumi_opennebula as opennebula
example = opennebula.VirtualRouter("example",
permissions="642",
group="oneadmin",
description="This is an example of virtual router",
instance_template_id=opennebula_virtual_router_instance_template["example"]["id"],
lock="USE",
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.NewVirtualRouter(ctx, "example", &opennebula.VirtualRouterArgs{
Permissions: pulumi.String("642"),
Group: pulumi.String("oneadmin"),
Description: pulumi.String("This is an example of virtual router"),
InstanceTemplateId: pulumi.Any(opennebula_virtual_router_instance_template.Example.Id),
Lock: pulumi.String("USE"),
Tags: pulumi.StringMap{
"environment": pulumi.String("example"),
},
TemplateSections: opennebula.VirtualRouterTemplateSectionArray{
&opennebula.VirtualRouterTemplateSectionArgs{
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.VirtualRouter("example", new()
{
Permissions = "642",
Group = "oneadmin",
Description = "This is an example of virtual router",
InstanceTemplateId = opennebula_virtual_router_instance_template.Example.Id,
Lock = "USE",
Tags =
{
{ "environment", "example" },
},
TemplateSections = new[]
{
new Opennebula.Inputs.VirtualRouterTemplateSectionArgs
{
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.VirtualRouter;
import com.pulumi.opennebula.VirtualRouterArgs;
import com.pulumi.opennebula.inputs.VirtualRouterTemplateSectionArgs;
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 VirtualRouter("example", VirtualRouterArgs.builder()
.permissions("642")
.group("oneadmin")
.description("This is an example of virtual router")
.instanceTemplateId(opennebula_virtual_router_instance_template.example().id())
.lock("USE")
.tags(Map.of("environment", "example"))
.templateSections(VirtualRouterTemplateSectionArgs.builder()
.name("example")
.elements(Map.of("key1", "value1"))
.build())
.build());
}
}
resources:
example:
type: opennebula:VirtualRouter
properties:
permissions: '642'
group: oneadmin
description: This is an example of virtual router
instanceTemplateId: ${opennebula_virtual_router_instance_template.example.id}
lock: USE
tags:
environment: example
templateSections:
- name: example
elements:
key1: value1
Create VirtualRouter Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualRouter(name: string, args: VirtualRouterArgs, opts?: CustomResourceOptions);
@overload
def VirtualRouter(resource_name: str,
args: VirtualRouterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualRouter(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_template_id: Optional[float] = None,
description: Optional[str] = None,
group: Optional[str] = None,
lock: Optional[str] = None,
name: Optional[str] = None,
permissions: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
template_sections: Optional[Sequence[VirtualRouterTemplateSectionArgs]] = None,
virtual_router_id: Optional[str] = None)
func NewVirtualRouter(ctx *Context, name string, args VirtualRouterArgs, opts ...ResourceOption) (*VirtualRouter, error)
public VirtualRouter(string name, VirtualRouterArgs args, CustomResourceOptions? opts = null)
public VirtualRouter(String name, VirtualRouterArgs args)
public VirtualRouter(String name, VirtualRouterArgs args, CustomResourceOptions options)
type: opennebula:VirtualRouter
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 VirtualRouterArgs
- 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 VirtualRouterArgs
- 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 VirtualRouterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualRouterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualRouterArgs
- 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 virtualRouterResource = new Opennebula.VirtualRouter("virtualRouterResource", new()
{
InstanceTemplateId = 0,
Description = "string",
Group = "string",
Lock = "string",
Name = "string",
Permissions = "string",
Tags =
{
{ "string", "string" },
},
TemplateSections = new[]
{
new Opennebula.Inputs.VirtualRouterTemplateSectionArgs
{
Name = "string",
Elements =
{
{ "string", "string" },
},
},
},
VirtualRouterId = "string",
});
example, err := opennebula.NewVirtualRouter(ctx, "virtualRouterResource", &opennebula.VirtualRouterArgs{
InstanceTemplateId: pulumi.Float64(0),
Description: pulumi.String("string"),
Group: pulumi.String("string"),
Lock: pulumi.String("string"),
Name: pulumi.String("string"),
Permissions: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TemplateSections: opennebula.VirtualRouterTemplateSectionArray{
&opennebula.VirtualRouterTemplateSectionArgs{
Name: pulumi.String("string"),
Elements: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
VirtualRouterId: pulumi.String("string"),
})
var virtualRouterResource = new VirtualRouter("virtualRouterResource", VirtualRouterArgs.builder()
.instanceTemplateId(0)
.description("string")
.group("string")
.lock("string")
.name("string")
.permissions("string")
.tags(Map.of("string", "string"))
.templateSections(VirtualRouterTemplateSectionArgs.builder()
.name("string")
.elements(Map.of("string", "string"))
.build())
.virtualRouterId("string")
.build());
virtual_router_resource = opennebula.VirtualRouter("virtualRouterResource",
instance_template_id=0,
description="string",
group="string",
lock="string",
name="string",
permissions="string",
tags={
"string": "string",
},
template_sections=[{
"name": "string",
"elements": {
"string": "string",
},
}],
virtual_router_id="string")
const virtualRouterResource = new opennebula.VirtualRouter("virtualRouterResource", {
instanceTemplateId: 0,
description: "string",
group: "string",
lock: "string",
name: "string",
permissions: "string",
tags: {
string: "string",
},
templateSections: [{
name: "string",
elements: {
string: "string",
},
}],
virtualRouterId: "string",
});
type: opennebula:VirtualRouter
properties:
description: string
group: string
instanceTemplateId: 0
lock: string
name: string
permissions: string
tags:
string: string
templateSections:
- elements:
string: string
name: string
virtualRouterId: string
VirtualRouter 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 VirtualRouter resource accepts the following input properties:
- Instance
Template doubleId - The ID of the template of the virtual router instances.
- Description string
- Description of the virtual router.
- Group string
- Name of the group which owns the virtual router. Defaults to the caller primary group.
- Lock string
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - Name string
- The name of the virtual router.
- Permissions string
- Permissions applied on virtual router. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- 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<VirtualRouter Template Section> - Allow to add a custom vector. See Template section parameters
- Virtual
Router stringId - ID of the virtual router.
- Instance
Template float64Id - The ID of the template of the virtual router instances.
- Description string
- Description of the virtual router.
- Group string
- Name of the group which owns the virtual router. Defaults to the caller primary group.
- Lock string
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - Name string
- The name of the virtual router.
- Permissions string
- Permissions applied on virtual router. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- 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 []VirtualRouter Template Section Args - Allow to add a custom vector. See Template section parameters
- Virtual
Router stringId - ID of the virtual router.
- instance
Template DoubleId - The ID of the template of the virtual router instances.
- description String
- Description of the virtual router.
- group String
- Name of the group which owns the virtual router. Defaults to the caller primary group.
- lock String
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - name String
- The name of the virtual router.
- permissions String
- Permissions applied on virtual router. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- 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<VirtualRouter Template Section> - Allow to add a custom vector. See Template section parameters
- virtual
Router StringId - ID of the virtual router.
- instance
Template numberId - The ID of the template of the virtual router instances.
- description string
- Description of the virtual router.
- group string
- Name of the group which owns the virtual router. Defaults to the caller primary group.
- lock string
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - name string
- The name of the virtual router.
- permissions string
- Permissions applied on virtual router. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- {[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 VirtualRouter Template Section[] - Allow to add a custom vector. See Template section parameters
- virtual
Router stringId - ID of the virtual router.
- instance_
template_ floatid - The ID of the template of the virtual router instances.
- description str
- Description of the virtual router.
- group str
- Name of the group which owns the virtual router. Defaults to the caller primary group.
- lock str
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - name str
- The name of the virtual router.
- permissions str
- Permissions applied on virtual router. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- 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[VirtualRouter Template Section Args] - Allow to add a custom vector. See Template section parameters
- virtual_
router_ strid - ID of the virtual router.
- instance
Template NumberId - The ID of the template of the virtual router instances.
- description String
- Description of the virtual router.
- group String
- Name of the group which owns the virtual router. Defaults to the caller primary group.
- lock String
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - name String
- The name of the virtual router.
- permissions String
- Permissions applied on virtual router. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- 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
- virtual
Router StringId - ID of the virtual router.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualRouter resource produces the following output properties:
- Dictionary<string, string>
- Default tags defined in the provider configuration.
- Gid double
- Group ID which owns the virtual router.
- Gname string
- Group Name which owns the virtual router.
- 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 router.
- Uname string
- User Name whom owns the virtual router.
- map[string]string
- Default tags defined in the provider configuration.
- Gid float64
- Group ID which owns the virtual router.
- Gname string
- Group Name which owns the virtual router.
- 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 router.
- Uname string
- User Name whom owns the virtual router.
- Map<String,String>
- Default tags defined in the provider configuration.
- gid Double
- Group ID which owns the virtual router.
- gname String
- Group Name which owns the virtual router.
- 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 router.
- uname String
- User Name whom owns the virtual router.
- {[key: string]: string}
- Default tags defined in the provider configuration.
- gid number
- Group ID which owns the virtual router.
- gname string
- Group Name which owns the virtual router.
- 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 router.
- uname string
- User Name whom owns the virtual router.
- Mapping[str, str]
- Default tags defined in the provider configuration.
- gid float
- Group ID which owns the virtual router.
- gname str
- Group Name which owns the virtual router.
- 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 router.
- uname str
- User Name whom owns the virtual router.
- Map<String>
- Default tags defined in the provider configuration.
- gid Number
- Group ID which owns the virtual router.
- gname String
- Group Name which owns the virtual router.
- 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 router.
- uname String
- User Name whom owns the virtual router.
Look up Existing VirtualRouter Resource
Get an existing VirtualRouter 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?: VirtualRouterState, opts?: CustomResourceOptions): VirtualRouter
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
default_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
gid: Optional[float] = None,
gname: Optional[str] = None,
group: Optional[str] = None,
instance_template_id: Optional[float] = None,
lock: Optional[str] = None,
name: Optional[str] = None,
permissions: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
template_sections: Optional[Sequence[VirtualRouterTemplateSectionArgs]] = None,
uid: Optional[float] = None,
uname: Optional[str] = None,
virtual_router_id: Optional[str] = None) -> VirtualRouter
func GetVirtualRouter(ctx *Context, name string, id IDInput, state *VirtualRouterState, opts ...ResourceOption) (*VirtualRouter, error)
public static VirtualRouter Get(string name, Input<string> id, VirtualRouterState? state, CustomResourceOptions? opts = null)
public static VirtualRouter get(String name, Output<String> id, VirtualRouterState state, CustomResourceOptions options)
resources: _: type: opennebula:VirtualRouter 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.
- Dictionary<string, string>
- Default tags defined in the provider configuration.
- Description string
- Description of the virtual router.
- Gid double
- Group ID which owns the virtual router.
- Gname string
- Group Name which owns the virtual router.
- Group string
- Name of the group which owns the virtual router. Defaults to the caller primary group.
- Instance
Template doubleId - The ID of the template of the virtual router instances.
- Lock string
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - Name string
- The name of the virtual router.
- Permissions string
- Permissions applied on virtual router. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- 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<VirtualRouter Template Section> - Allow to add a custom vector. See Template section parameters
- Uid double
- User ID whom owns the virtual router.
- Uname string
- User Name whom owns the virtual router.
- Virtual
Router stringId - ID of the virtual router.
- map[string]string
- Default tags defined in the provider configuration.
- Description string
- Description of the virtual router.
- Gid float64
- Group ID which owns the virtual router.
- Gname string
- Group Name which owns the virtual router.
- Group string
- Name of the group which owns the virtual router. Defaults to the caller primary group.
- Instance
Template float64Id - The ID of the template of the virtual router instances.
- Lock string
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - Name string
- The name of the virtual router.
- Permissions string
- Permissions applied on virtual router. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- 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 []VirtualRouter Template Section Args - Allow to add a custom vector. See Template section parameters
- Uid float64
- User ID whom owns the virtual router.
- Uname string
- User Name whom owns the virtual router.
- Virtual
Router stringId - ID of the virtual router.
- Map<String,String>
- Default tags defined in the provider configuration.
- description String
- Description of the virtual router.
- gid Double
- Group ID which owns the virtual router.
- gname String
- Group Name which owns the virtual router.
- group String
- Name of the group which owns the virtual router. Defaults to the caller primary group.
- instance
Template DoubleId - The ID of the template of the virtual router instances.
- lock String
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - name String
- The name of the virtual router.
- permissions String
- Permissions applied on virtual router. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- 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<VirtualRouter Template Section> - Allow to add a custom vector. See Template section parameters
- uid Double
- User ID whom owns the virtual router.
- uname String
- User Name whom owns the virtual router.
- virtual
Router StringId - ID of the virtual router.
- {[key: string]: string}
- Default tags defined in the provider configuration.
- description string
- Description of the virtual router.
- gid number
- Group ID which owns the virtual router.
- gname string
- Group Name which owns the virtual router.
- group string
- Name of the group which owns the virtual router. Defaults to the caller primary group.
- instance
Template numberId - The ID of the template of the virtual router instances.
- lock string
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - name string
- The name of the virtual router.
- permissions string
- Permissions applied on virtual router. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- {[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 VirtualRouter Template Section[] - Allow to add a custom vector. See Template section parameters
- uid number
- User ID whom owns the virtual router.
- uname string
- User Name whom owns the virtual router.
- virtual
Router stringId - ID of the virtual router.
- Mapping[str, str]
- Default tags defined in the provider configuration.
- description str
- Description of the virtual router.
- gid float
- Group ID which owns the virtual router.
- gname str
- Group Name which owns the virtual router.
- group str
- Name of the group which owns the virtual router. Defaults to the caller primary group.
- instance_
template_ floatid - The ID of the template of the virtual router instances.
- lock str
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - name str
- The name of the virtual router.
- permissions str
- Permissions applied on virtual router. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- 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[VirtualRouter Template Section Args] - Allow to add a custom vector. See Template section parameters
- uid float
- User ID whom owns the virtual router.
- uname str
- User Name whom owns the virtual router.
- virtual_
router_ strid - ID of the virtual router.
- Map<String>
- Default tags defined in the provider configuration.
- description String
- Description of the virtual router.
- gid Number
- Group ID which owns the virtual router.
- gname String
- Group Name which owns the virtual router.
- group String
- Name of the group which owns the virtual router. Defaults to the caller primary group.
- instance
Template NumberId - The ID of the template of the virtual router instances.
- lock String
- Lock the VM with a specific lock level. Supported values:
USE
,MANAGE
,ADMIN
,ALL
orUNLOCK
. - name String
- The name of the virtual router.
- permissions String
- Permissions applied on virtual router. Defaults to the UMASK in OpenNebula (in UNIX Format: owner-group-other => Use-Manage-Admin).
- 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
- uid Number
- User ID whom owns the virtual router.
- uname String
- User Name whom owns the virtual router.
- virtual
Router StringId - ID of the virtual router.
Supporting Types
VirtualRouterTemplateSection, VirtualRouterTemplateSectionArgs
Import
opennebula_virtual_router
can be imported using its ID:
$ pulumi import opennebula:index/virtualRouter:VirtualRouter 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.