opennebula.Group
Explore with Pulumi AI
Provides an OpenNebula group resource.
This resource allows you to manage groups on your OpenNebula clusters. When applied, a new group is created. When destroyed, it is removed.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opennebula from "@pulumi/opennebula";
const exampleGroup = new opennebula.Group("exampleGroup", {
tags: {
environment: "example",
},
templateSections: [{
name: "example",
elements: {
key1: "value1",
},
}],
});
const exampleGroupQuotas = new opennebula.GroupQuotas("exampleGroupQuotas", {
groupId: exampleGroup.groupId,
datastores: [{
id: 1,
images: 3,
size: 10000,
}],
vms: [{
cpu: 3,
runningCpu: 3,
memory: 2048,
runningMemory: 2048,
}],
networks: [
{
id: 10,
leases: 6,
},
{
id: 11,
leases: 4,
},
],
images: [
{
id: 8,
runningVms: 1,
},
{
id: 9,
runningVms: 1,
},
],
});
import pulumi
import pulumi_opennebula as opennebula
example_group = opennebula.Group("exampleGroup",
tags={
"environment": "example",
},
template_sections=[{
"name": "example",
"elements": {
"key1": "value1",
},
}])
example_group_quotas = opennebula.GroupQuotas("exampleGroupQuotas",
group_id=example_group.group_id,
datastores=[{
"id": 1,
"images": 3,
"size": 10000,
}],
vms=[{
"cpu": 3,
"running_cpu": 3,
"memory": 2048,
"running_memory": 2048,
}],
networks=[
{
"id": 10,
"leases": 6,
},
{
"id": 11,
"leases": 4,
},
],
images=[
{
"id": 8,
"running_vms": 1,
},
{
"id": 9,
"running_vms": 1,
},
])
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 {
exampleGroup, err := opennebula.NewGroup(ctx, "exampleGroup", &opennebula.GroupArgs{
Tags: pulumi.StringMap{
"environment": pulumi.String("example"),
},
TemplateSections: opennebula.GroupTemplateSectionArray{
&opennebula.GroupTemplateSectionArgs{
Name: pulumi.String("example"),
Elements: pulumi.StringMap{
"key1": pulumi.String("value1"),
},
},
},
})
if err != nil {
return err
}
_, err = opennebula.NewGroupQuotas(ctx, "exampleGroupQuotas", &opennebula.GroupQuotasArgs{
GroupId: exampleGroup.GroupId,
Datastores: opennebula.GroupQuotasDatastoreArray{
&opennebula.GroupQuotasDatastoreArgs{
Id: pulumi.Float64(1),
Images: pulumi.Float64(3),
Size: pulumi.Float64(10000),
},
},
Vms: opennebula.GroupQuotasVmArray{
&opennebula.GroupQuotasVmArgs{
Cpu: pulumi.Float64(3),
RunningCpu: pulumi.Float64(3),
Memory: pulumi.Float64(2048),
RunningMemory: pulumi.Float64(2048),
},
},
Networks: opennebula.GroupQuotasNetworkArray{
&opennebula.GroupQuotasNetworkArgs{
Id: pulumi.Float64(10),
Leases: pulumi.Float64(6),
},
&opennebula.GroupQuotasNetworkArgs{
Id: pulumi.Float64(11),
Leases: pulumi.Float64(4),
},
},
Images: opennebula.GroupQuotasImageArray{
&opennebula.GroupQuotasImageArgs{
Id: pulumi.Float64(8),
RunningVms: pulumi.Float64(1),
},
&opennebula.GroupQuotasImageArgs{
Id: pulumi.Float64(9),
RunningVms: pulumi.Float64(1),
},
},
})
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 exampleGroup = new Opennebula.Group("exampleGroup", new()
{
Tags =
{
{ "environment", "example" },
},
TemplateSections = new[]
{
new Opennebula.Inputs.GroupTemplateSectionArgs
{
Name = "example",
Elements =
{
{ "key1", "value1" },
},
},
},
});
var exampleGroupQuotas = new Opennebula.GroupQuotas("exampleGroupQuotas", new()
{
GroupId = exampleGroup.GroupId,
Datastores = new[]
{
new Opennebula.Inputs.GroupQuotasDatastoreArgs
{
Id = 1,
Images = 3,
Size = 10000,
},
},
Vms = new[]
{
new Opennebula.Inputs.GroupQuotasVmArgs
{
Cpu = 3,
RunningCpu = 3,
Memory = 2048,
RunningMemory = 2048,
},
},
Networks = new[]
{
new Opennebula.Inputs.GroupQuotasNetworkArgs
{
Id = 10,
Leases = 6,
},
new Opennebula.Inputs.GroupQuotasNetworkArgs
{
Id = 11,
Leases = 4,
},
},
Images = new[]
{
new Opennebula.Inputs.GroupQuotasImageArgs
{
Id = 8,
RunningVms = 1,
},
new Opennebula.Inputs.GroupQuotasImageArgs
{
Id = 9,
RunningVms = 1,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opennebula.Group;
import com.pulumi.opennebula.GroupArgs;
import com.pulumi.opennebula.inputs.GroupTemplateSectionArgs;
import com.pulumi.opennebula.GroupQuotas;
import com.pulumi.opennebula.GroupQuotasArgs;
import com.pulumi.opennebula.inputs.GroupQuotasDatastoreArgs;
import com.pulumi.opennebula.inputs.GroupQuotasVmArgs;
import com.pulumi.opennebula.inputs.GroupQuotasNetworkArgs;
import com.pulumi.opennebula.inputs.GroupQuotasImageArgs;
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 exampleGroup = new Group("exampleGroup", GroupArgs.builder()
.tags(Map.of("environment", "example"))
.templateSections(GroupTemplateSectionArgs.builder()
.name("example")
.elements(Map.of("key1", "value1"))
.build())
.build());
var exampleGroupQuotas = new GroupQuotas("exampleGroupQuotas", GroupQuotasArgs.builder()
.groupId(exampleGroup.groupId())
.datastores(GroupQuotasDatastoreArgs.builder()
.id(1)
.images(3)
.size(10000)
.build())
.vms(GroupQuotasVmArgs.builder()
.cpu(3)
.runningCpu(3)
.memory(2048)
.runningMemory(2048)
.build())
.networks(
GroupQuotasNetworkArgs.builder()
.id(10)
.leases(6)
.build(),
GroupQuotasNetworkArgs.builder()
.id(11)
.leases(4)
.build())
.images(
GroupQuotasImageArgs.builder()
.id(8)
.runningVms(1)
.build(),
GroupQuotasImageArgs.builder()
.id(9)
.runningVms(1)
.build())
.build());
}
}
resources:
exampleGroup:
type: opennebula:Group
properties:
tags:
environment: example
templateSections:
- name: example
elements:
key1: value1
exampleGroupQuotas:
type: opennebula:GroupQuotas
properties:
groupId: ${exampleGroup.groupId}
datastores:
- id: 1
images: 3
size: 10000
vms:
- cpu: 3
runningCpu: 3
memory: 2048
runningMemory: 2048
networks:
- id: 10
leases: 6
- id: 11
leases: 4
images:
- id: 8
runningVms: 1
- id: 9
runningVms: 1
Create Group Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Group(name: string, args?: GroupArgs, opts?: CustomResourceOptions);
@overload
def Group(resource_name: str,
args: Optional[GroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Group(resource_name: str,
opts: Optional[ResourceOptions] = None,
admins: Optional[Sequence[float]] = None,
group_id: Optional[str] = None,
name: Optional[str] = None,
opennebulas: Optional[Sequence[GroupOpennebulaArgs]] = None,
quotas: Optional[Sequence[GroupQuotaArgs]] = None,
sunstones: Optional[Sequence[GroupSunstoneArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
template_sections: Optional[Sequence[GroupTemplateSectionArgs]] = None,
users: Optional[Sequence[float]] = None)
func NewGroup(ctx *Context, name string, args *GroupArgs, opts ...ResourceOption) (*Group, error)
public Group(string name, GroupArgs? args = null, CustomResourceOptions? opts = null)
type: opennebula:Group
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 GroupArgs
- 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 GroupArgs
- 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 GroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GroupArgs
- 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 groupResource = new Opennebula.Group("groupResource", new()
{
GroupId = "string",
Name = "string",
Opennebulas = new[]
{
new Opennebula.Inputs.GroupOpennebulaArgs
{
ApiListOrder = "string",
DefaultImagePersistent = "string",
DefaultImagePersistentNew = "string",
},
},
Sunstones = new[]
{
new Opennebula.Inputs.GroupSunstoneArgs
{
DefaultView = "string",
GroupAdminDefaultView = "string",
GroupAdminViews = "string",
Views = "string",
},
},
Tags =
{
{ "string", "string" },
},
TemplateSections = new[]
{
new Opennebula.Inputs.GroupTemplateSectionArgs
{
Name = "string",
Elements =
{
{ "string", "string" },
},
},
},
});
example, err := opennebula.NewGroup(ctx, "groupResource", &opennebula.GroupArgs{
GroupId: pulumi.String("string"),
Name: pulumi.String("string"),
Opennebulas: opennebula.GroupOpennebulaArray{
&opennebula.GroupOpennebulaArgs{
ApiListOrder: pulumi.String("string"),
DefaultImagePersistent: pulumi.String("string"),
DefaultImagePersistentNew: pulumi.String("string"),
},
},
Sunstones: opennebula.GroupSunstoneArray{
&opennebula.GroupSunstoneArgs{
DefaultView: pulumi.String("string"),
GroupAdminDefaultView: pulumi.String("string"),
GroupAdminViews: pulumi.String("string"),
Views: pulumi.String("string"),
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TemplateSections: opennebula.GroupTemplateSectionArray{
&opennebula.GroupTemplateSectionArgs{
Name: pulumi.String("string"),
Elements: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
})
var groupResource = new Group("groupResource", GroupArgs.builder()
.groupId("string")
.name("string")
.opennebulas(GroupOpennebulaArgs.builder()
.apiListOrder("string")
.defaultImagePersistent("string")
.defaultImagePersistentNew("string")
.build())
.sunstones(GroupSunstoneArgs.builder()
.defaultView("string")
.groupAdminDefaultView("string")
.groupAdminViews("string")
.views("string")
.build())
.tags(Map.of("string", "string"))
.templateSections(GroupTemplateSectionArgs.builder()
.name("string")
.elements(Map.of("string", "string"))
.build())
.build());
group_resource = opennebula.Group("groupResource",
group_id="string",
name="string",
opennebulas=[{
"api_list_order": "string",
"default_image_persistent": "string",
"default_image_persistent_new": "string",
}],
sunstones=[{
"default_view": "string",
"group_admin_default_view": "string",
"group_admin_views": "string",
"views": "string",
}],
tags={
"string": "string",
},
template_sections=[{
"name": "string",
"elements": {
"string": "string",
},
}])
const groupResource = new opennebula.Group("groupResource", {
groupId: "string",
name: "string",
opennebulas: [{
apiListOrder: "string",
defaultImagePersistent: "string",
defaultImagePersistentNew: "string",
}],
sunstones: [{
defaultView: "string",
groupAdminDefaultView: "string",
groupAdminViews: "string",
views: "string",
}],
tags: {
string: "string",
},
templateSections: [{
name: "string",
elements: {
string: "string",
},
}],
});
type: opennebula:Group
properties:
groupId: string
name: string
opennebulas:
- apiListOrder: string
defaultImagePersistent: string
defaultImagePersistentNew: string
sunstones:
- defaultView: string
groupAdminDefaultView: string
groupAdminViews: string
views: string
tags:
string: string
templateSections:
- elements:
string: string
name: string
Group 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 Group resource accepts the following input properties:
- Admins List<double>
- List of Administrator user IDs part of the group.
- Group
Id string - ID of the group.
- Name string
- The name of the group.
- Opennebulas
List<Group
Opennebula> - OpenNebula core configuration. See Opennebula parameters below for details
- Quotas
List<Group
Quota> - See Quotas parameters below for details. Use
resource_opennebula_group_quotas
instead. - Sunstones
List<Group
Sunstone> - Allow users and group admins to access specific views. See Sunstone parameters below for details
- 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<GroupTemplate Section> - Allow to add a custom vector. See Template section parameters
- Users List<double>
- List of user IDs part of the group
- Admins []float64
- List of Administrator user IDs part of the group.
- Group
Id string - ID of the group.
- Name string
- The name of the group.
- Opennebulas
[]Group
Opennebula Args - OpenNebula core configuration. See Opennebula parameters below for details
- Quotas
[]Group
Quota Args - See Quotas parameters below for details. Use
resource_opennebula_group_quotas
instead. - Sunstones
[]Group
Sunstone Args - Allow users and group admins to access specific views. See Sunstone parameters below for details
- 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 []GroupTemplate Section Args - Allow to add a custom vector. See Template section parameters
- Users []float64
- List of user IDs part of the group
- admins List<Double>
- List of Administrator user IDs part of the group.
- group
Id String - ID of the group.
- name String
- The name of the group.
- opennebulas
List<Group
Opennebula> - OpenNebula core configuration. See Opennebula parameters below for details
- quotas
List<Group
Quota> - See Quotas parameters below for details. Use
resource_opennebula_group_quotas
instead. - sunstones
List<Group
Sunstone> - Allow users and group admins to access specific views. See Sunstone parameters below for details
- 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<GroupTemplate Section> - Allow to add a custom vector. See Template section parameters
- users List<Double>
- List of user IDs part of the group
- admins number[]
- List of Administrator user IDs part of the group.
- group
Id string - ID of the group.
- name string
- The name of the group.
- opennebulas
Group
Opennebula[] - OpenNebula core configuration. See Opennebula parameters below for details
- quotas
Group
Quota[] - See Quotas parameters below for details. Use
resource_opennebula_group_quotas
instead. - sunstones
Group
Sunstone[] - Allow users and group admins to access specific views. See Sunstone parameters below for details
- {[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 GroupTemplate Section[] - Allow to add a custom vector. See Template section parameters
- users number[]
- List of user IDs part of the group
- admins Sequence[float]
- List of Administrator user IDs part of the group.
- group_
id str - ID of the group.
- name str
- The name of the group.
- opennebulas
Sequence[Group
Opennebula Args] - OpenNebula core configuration. See Opennebula parameters below for details
- quotas
Sequence[Group
Quota Args] - See Quotas parameters below for details. Use
resource_opennebula_group_quotas
instead. - sunstones
Sequence[Group
Sunstone Args] - Allow users and group admins to access specific views. See Sunstone parameters below for details
- 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[GroupTemplate Section Args] - Allow to add a custom vector. See Template section parameters
- users Sequence[float]
- List of user IDs part of the group
- admins List<Number>
- List of Administrator user IDs part of the group.
- group
Id String - ID of the group.
- name String
- The name of the group.
- opennebulas List<Property Map>
- OpenNebula core configuration. See Opennebula parameters below for details
- quotas List<Property Map>
- See Quotas parameters below for details. Use
resource_opennebula_group_quotas
instead. - sunstones List<Property Map>
- Allow users and group admins to access specific views. See Sunstone parameters below for details
- 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
- users List<Number>
- List of user IDs part of the group
Outputs
All input properties are implicitly available as output properties. Additionally, the Group resource produces the following output properties:
- Dictionary<string, string>
- Default tags defined in the provider configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- Result of the applied
default_tags
and then resourcetags
.
- map[string]string
- Default tags defined in the provider configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- Result of the applied
default_tags
and then resourcetags
.
- Map<String,String>
- Default tags defined in the provider configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- Result of the applied
default_tags
and then resourcetags
.
- {[key: string]: string}
- Default tags defined in the provider configuration.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- Result of the applied
default_tags
and then resourcetags
.
- Mapping[str, str]
- Default tags defined in the provider configuration.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- Result of the applied
default_tags
and then resourcetags
.
- Map<String>
- Default tags defined in the provider configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- Result of the applied
default_tags
and then resourcetags
.
Look up Existing Group Resource
Get an existing Group 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?: GroupState, opts?: CustomResourceOptions): Group
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admins: Optional[Sequence[float]] = None,
default_tags: Optional[Mapping[str, str]] = None,
group_id: Optional[str] = None,
name: Optional[str] = None,
opennebulas: Optional[Sequence[GroupOpennebulaArgs]] = None,
quotas: Optional[Sequence[GroupQuotaArgs]] = None,
sunstones: Optional[Sequence[GroupSunstoneArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
template_sections: Optional[Sequence[GroupTemplateSectionArgs]] = None,
users: Optional[Sequence[float]] = None) -> Group
func GetGroup(ctx *Context, name string, id IDInput, state *GroupState, opts ...ResourceOption) (*Group, error)
public static Group Get(string name, Input<string> id, GroupState? state, CustomResourceOptions? opts = null)
public static Group get(String name, Output<String> id, GroupState state, CustomResourceOptions options)
resources: _: type: opennebula:Group 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.
- Admins List<double>
- List of Administrator user IDs part of the group.
- Dictionary<string, string>
- Default tags defined in the provider configuration.
- Group
Id string - ID of the group.
- Name string
- The name of the group.
- Opennebulas
List<Group
Opennebula> - OpenNebula core configuration. See Opennebula parameters below for details
- Quotas
List<Group
Quota> - See Quotas parameters below for details. Use
resource_opennebula_group_quotas
instead. - Sunstones
List<Group
Sunstone> - Allow users and group admins to access specific views. See Sunstone parameters below for details
- 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<GroupTemplate Section> - Allow to add a custom vector. See Template section parameters
- Users List<double>
- List of user IDs part of the group
- Admins []float64
- List of Administrator user IDs part of the group.
- map[string]string
- Default tags defined in the provider configuration.
- Group
Id string - ID of the group.
- Name string
- The name of the group.
- Opennebulas
[]Group
Opennebula Args - OpenNebula core configuration. See Opennebula parameters below for details
- Quotas
[]Group
Quota Args - See Quotas parameters below for details. Use
resource_opennebula_group_quotas
instead. - Sunstones
[]Group
Sunstone Args - Allow users and group admins to access specific views. See Sunstone parameters below for details
- 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 []GroupTemplate Section Args - Allow to add a custom vector. See Template section parameters
- Users []float64
- List of user IDs part of the group
- admins List<Double>
- List of Administrator user IDs part of the group.
- Map<String,String>
- Default tags defined in the provider configuration.
- group
Id String - ID of the group.
- name String
- The name of the group.
- opennebulas
List<Group
Opennebula> - OpenNebula core configuration. See Opennebula parameters below for details
- quotas
List<Group
Quota> - See Quotas parameters below for details. Use
resource_opennebula_group_quotas
instead. - sunstones
List<Group
Sunstone> - Allow users and group admins to access specific views. See Sunstone parameters below for details
- 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<GroupTemplate Section> - Allow to add a custom vector. See Template section parameters
- users List<Double>
- List of user IDs part of the group
- admins number[]
- List of Administrator user IDs part of the group.
- {[key: string]: string}
- Default tags defined in the provider configuration.
- group
Id string - ID of the group.
- name string
- The name of the group.
- opennebulas
Group
Opennebula[] - OpenNebula core configuration. See Opennebula parameters below for details
- quotas
Group
Quota[] - See Quotas parameters below for details. Use
resource_opennebula_group_quotas
instead. - sunstones
Group
Sunstone[] - Allow users and group admins to access specific views. See Sunstone parameters below for details
- {[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 GroupTemplate Section[] - Allow to add a custom vector. See Template section parameters
- users number[]
- List of user IDs part of the group
- admins Sequence[float]
- List of Administrator user IDs part of the group.
- Mapping[str, str]
- Default tags defined in the provider configuration.
- group_
id str - ID of the group.
- name str
- The name of the group.
- opennebulas
Sequence[Group
Opennebula Args] - OpenNebula core configuration. See Opennebula parameters below for details
- quotas
Sequence[Group
Quota Args] - See Quotas parameters below for details. Use
resource_opennebula_group_quotas
instead. - sunstones
Sequence[Group
Sunstone Args] - Allow users and group admins to access specific views. See Sunstone parameters below for details
- 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[GroupTemplate Section Args] - Allow to add a custom vector. See Template section parameters
- users Sequence[float]
- List of user IDs part of the group
- admins List<Number>
- List of Administrator user IDs part of the group.
- Map<String>
- Default tags defined in the provider configuration.
- group
Id String - ID of the group.
- name String
- The name of the group.
- opennebulas List<Property Map>
- OpenNebula core configuration. See Opennebula parameters below for details
- quotas List<Property Map>
- See Quotas parameters below for details. Use
resource_opennebula_group_quotas
instead. - sunstones List<Property Map>
- Allow users and group admins to access specific views. See Sunstone parameters below for details
- 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
- users List<Number>
- List of user IDs part of the group
Supporting Types
GroupOpennebula, GroupOpennebulaArgs
- Api
List stringOrder - Sets order of elements by ID in list API calls: ASC or DESC respectively for ascending or descending order
- Default
Image stringPersistent - Control the default value for the PERSISTENT attribute on image creation ( clone and disk save-as): should be YES or NO
- Default
Image stringPersistent New - Control the default value for the PERSISTENT attribute on image creation ( only new images): should be YES or NO
- Api
List stringOrder - Sets order of elements by ID in list API calls: ASC or DESC respectively for ascending or descending order
- Default
Image stringPersistent - Control the default value for the PERSISTENT attribute on image creation ( clone and disk save-as): should be YES or NO
- Default
Image stringPersistent New - Control the default value for the PERSISTENT attribute on image creation ( only new images): should be YES or NO
- api
List StringOrder - Sets order of elements by ID in list API calls: ASC or DESC respectively for ascending or descending order
- default
Image StringPersistent - Control the default value for the PERSISTENT attribute on image creation ( clone and disk save-as): should be YES or NO
- default
Image StringPersistent New - Control the default value for the PERSISTENT attribute on image creation ( only new images): should be YES or NO
- api
List stringOrder - Sets order of elements by ID in list API calls: ASC or DESC respectively for ascending or descending order
- default
Image stringPersistent - Control the default value for the PERSISTENT attribute on image creation ( clone and disk save-as): should be YES or NO
- default
Image stringPersistent New - Control the default value for the PERSISTENT attribute on image creation ( only new images): should be YES or NO
- api_
list_ strorder - Sets order of elements by ID in list API calls: ASC or DESC respectively for ascending or descending order
- default_
image_ strpersistent - Control the default value for the PERSISTENT attribute on image creation ( clone and disk save-as): should be YES or NO
- default_
image_ strpersistent_ new - Control the default value for the PERSISTENT attribute on image creation ( only new images): should be YES or NO
- api
List StringOrder - Sets order of elements by ID in list API calls: ASC or DESC respectively for ascending or descending order
- default
Image StringPersistent - Control the default value for the PERSISTENT attribute on image creation ( clone and disk save-as): should be YES or NO
- default
Image StringPersistent New - Control the default value for the PERSISTENT attribute on image creation ( only new images): should be YES or NO
GroupQuota, GroupQuotaArgs
- Datastore
Quotas List<GroupQuota Datastore Quota> - List of datastore quotas. See Datastore quotas parameters below for details.
- Image
Quotas List<GroupQuota Image Quota> - List of image quotas. See Image quotas parameters below for details
- Network
Quotas List<GroupQuota Network Quota> - List of network quotas. See Network quotas parameters below for details.
- Vm
Quotas List<GroupQuota Vm Quota> - See Virtual Machine quotas parameters below for details
- Datastore
Quotas []GroupQuota Datastore Quota - List of datastore quotas. See Datastore quotas parameters below for details.
- Image
Quotas []GroupQuota Image Quota - List of image quotas. See Image quotas parameters below for details
- Network
Quotas []GroupQuota Network Quota - List of network quotas. See Network quotas parameters below for details.
- Vm
Quotas []GroupQuota Vm Quota - See Virtual Machine quotas parameters below for details
- datastore
Quotas List<GroupQuota Datastore Quota> - List of datastore quotas. See Datastore quotas parameters below for details.
- image
Quotas List<GroupQuota Image Quota> - List of image quotas. See Image quotas parameters below for details
- network
Quotas List<GroupQuota Network Quota> - List of network quotas. See Network quotas parameters below for details.
- vm
Quotas List<GroupQuota Vm Quota> - See Virtual Machine quotas parameters below for details
- datastore
Quotas GroupQuota Datastore Quota[] - List of datastore quotas. See Datastore quotas parameters below for details.
- image
Quotas GroupQuota Image Quota[] - List of image quotas. See Image quotas parameters below for details
- network
Quotas GroupQuota Network Quota[] - List of network quotas. See Network quotas parameters below for details.
- vm
Quotas GroupQuota Vm Quota[] - See Virtual Machine quotas parameters below for details
- datastore_
quotas Sequence[GroupQuota Datastore Quota] - List of datastore quotas. See Datastore quotas parameters below for details.
- image_
quotas Sequence[GroupQuota Image Quota] - List of image quotas. See Image quotas parameters below for details
- network_
quotas Sequence[GroupQuota Network Quota] - List of network quotas. See Network quotas parameters below for details.
- vm_
quotas Sequence[GroupQuota Vm Quota] - See Virtual Machine quotas parameters below for details
- datastore
Quotas List<Property Map> - List of datastore quotas. See Datastore quotas parameters below for details.
- image
Quotas List<Property Map> - List of image quotas. See Image quotas parameters below for details
- network
Quotas List<Property Map> - List of network quotas. See Network quotas parameters below for details.
- vm
Quotas List<Property Map> - See Virtual Machine quotas parameters below for details
GroupQuotaDatastoreQuota, GroupQuotaDatastoreQuotaArgs
GroupQuotaImageQuota, GroupQuotaImageQuotaArgs
- Id double
- ID of the group.
- Running
Vms double - Maximum number of Running VMs allowed for this image (default: default quota)
- Id float64
- ID of the group.
- Running
Vms float64 - Maximum number of Running VMs allowed for this image (default: default quota)
- id Double
- ID of the group.
- running
Vms Double - Maximum number of Running VMs allowed for this image (default: default quota)
- id number
- ID of the group.
- running
Vms number - Maximum number of Running VMs allowed for this image (default: default quota)
- id float
- ID of the group.
- running_
vms float - Maximum number of Running VMs allowed for this image (default: default quota)
- id Number
- ID of the group.
- running
Vms Number - Maximum number of Running VMs allowed for this image (default: default quota)
GroupQuotaNetworkQuota, GroupQuotaNetworkQuotaArgs
GroupQuotaVmQuota, GroupQuotaVmQuotaArgs
- Cpu double
- Maximum number of CPU allowed (default: default quota)
- Memory double
- Maximum Memory (MB) allowed (default: default quota)
- Running
Cpu double - Maximum number of 'running' CPUs allowed (default: default quota)
- Running
Memory double - 'Running' Memory (MB) allowed (default: default quota)
- Running
Vms double - Maximum number of Running VMs allowed (default: default quota)
- System
Disk doubleSize - Maximum System Disk size (MB) allowed (default: default quota)
- Vms double
- Maximum number of VMs allowed (default: default quota)
- Cpu float64
- Maximum number of CPU allowed (default: default quota)
- Memory float64
- Maximum Memory (MB) allowed (default: default quota)
- Running
Cpu float64 - Maximum number of 'running' CPUs allowed (default: default quota)
- Running
Memory float64 - 'Running' Memory (MB) allowed (default: default quota)
- Running
Vms float64 - Maximum number of Running VMs allowed (default: default quota)
- System
Disk float64Size - Maximum System Disk size (MB) allowed (default: default quota)
- Vms float64
- Maximum number of VMs allowed (default: default quota)
- cpu Double
- Maximum number of CPU allowed (default: default quota)
- memory Double
- Maximum Memory (MB) allowed (default: default quota)
- running
Cpu Double - Maximum number of 'running' CPUs allowed (default: default quota)
- running
Memory Double - 'Running' Memory (MB) allowed (default: default quota)
- running
Vms Double - Maximum number of Running VMs allowed (default: default quota)
- system
Disk DoubleSize - Maximum System Disk size (MB) allowed (default: default quota)
- vms Double
- Maximum number of VMs allowed (default: default quota)
- cpu number
- Maximum number of CPU allowed (default: default quota)
- memory number
- Maximum Memory (MB) allowed (default: default quota)
- running
Cpu number - Maximum number of 'running' CPUs allowed (default: default quota)
- running
Memory number - 'Running' Memory (MB) allowed (default: default quota)
- running
Vms number - Maximum number of Running VMs allowed (default: default quota)
- system
Disk numberSize - Maximum System Disk size (MB) allowed (default: default quota)
- vms number
- Maximum number of VMs allowed (default: default quota)
- cpu float
- Maximum number of CPU allowed (default: default quota)
- memory float
- Maximum Memory (MB) allowed (default: default quota)
- running_
cpu float - Maximum number of 'running' CPUs allowed (default: default quota)
- running_
memory float - 'Running' Memory (MB) allowed (default: default quota)
- running_
vms float - Maximum number of Running VMs allowed (default: default quota)
- system_
disk_ floatsize - Maximum System Disk size (MB) allowed (default: default quota)
- vms float
- Maximum number of VMs allowed (default: default quota)
- cpu Number
- Maximum number of CPU allowed (default: default quota)
- memory Number
- Maximum Memory (MB) allowed (default: default quota)
- running
Cpu Number - Maximum number of 'running' CPUs allowed (default: default quota)
- running
Memory Number - 'Running' Memory (MB) allowed (default: default quota)
- running
Vms Number - Maximum number of Running VMs allowed (default: default quota)
- system
Disk NumberSize - Maximum System Disk size (MB) allowed (default: default quota)
- vms Number
- Maximum number of VMs allowed (default: default quota)
GroupSunstone, GroupSunstoneArgs
- Default
View string - Default Sunstone view for regular users
- Group
Admin stringDefault View - Default Sunstone view for group admin users
- Group
Admin stringViews - List of available views for the group admins
- Views string
- List of available views for regular users
- Default
View string - Default Sunstone view for regular users
- Group
Admin stringDefault View - Default Sunstone view for group admin users
- Group
Admin stringViews - List of available views for the group admins
- Views string
- List of available views for regular users
- default
View String - Default Sunstone view for regular users
- group
Admin StringDefault View - Default Sunstone view for group admin users
- group
Admin StringViews - List of available views for the group admins
- views String
- List of available views for regular users
- default
View string - Default Sunstone view for regular users
- group
Admin stringDefault View - Default Sunstone view for group admin users
- group
Admin stringViews - List of available views for the group admins
- views string
- List of available views for regular users
- default_
view str - Default Sunstone view for regular users
- group_
admin_ strdefault_ view - Default Sunstone view for group admin users
- group_
admin_ strviews - List of available views for the group admins
- views str
- List of available views for regular users
- default
View String - Default Sunstone view for regular users
- group
Admin StringDefault View - Default Sunstone view for group admin users
- group
Admin StringViews - List of available views for the group admins
- views String
- List of available views for regular users
GroupTemplateSection, GroupTemplateSectionArgs
Import
opennebula_group
can be imported using its ID:
$ pulumi import opennebula:index/group:Group 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.