opennebula.GroupQuotas
Explore with Pulumi AI
Provides an OpenNebula group quotas resource.
This resource allows you to manage the quotas for a group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opennebula from "@pulumi/opennebula";
const exampleGroupQuotas = new opennebula.GroupQuotas("exampleGroupQuotas", {
groupId: opennebula_group.example.id,
datastores: [{
id: 1,
images: 5,
size: 10000,
}],
});
const exampleIndex_groupQuotasGroupQuotas = new opennebula.GroupQuotas("exampleIndex/groupQuotasGroupQuotas", {
groupId: opennebula_group.example.id,
vms: [{
cpu: 3,
runningCpu: 3,
memory: 2048,
runningMemory: 2048,
}],
});
const exampleOpennebulaIndex_groupQuotasGroupQuotas = new opennebula.GroupQuotas("exampleOpennebulaIndex/groupQuotasGroupQuotas", {
groupId: opennebula_group.example.id,
networks: [
{
id: 10,
leases: 6,
},
{
id: 11,
leases: 4,
},
],
});
const exampleOpennebulaIndex_groupQuotasGroupQuotas1 = new opennebula.GroupQuotas("exampleOpennebulaIndex/groupQuotasGroupQuotas1", {
groupId: opennebula_group.example.id,
images: [
{
id: 8,
runningVms: 1,
},
{
id: 9,
runningVms: 1,
},
],
});
import pulumi
import pulumi_opennebula as opennebula
example_group_quotas = opennebula.GroupQuotas("exampleGroupQuotas",
group_id=opennebula_group["example"]["id"],
datastores=[{
"id": 1,
"images": 5,
"size": 10000,
}])
example_index_group_quotas_group_quotas = opennebula.GroupQuotas("exampleIndex/groupQuotasGroupQuotas",
group_id=opennebula_group["example"]["id"],
vms=[{
"cpu": 3,
"running_cpu": 3,
"memory": 2048,
"running_memory": 2048,
}])
example_opennebula_index_group_quotas_group_quotas = opennebula.GroupQuotas("exampleOpennebulaIndex/groupQuotasGroupQuotas",
group_id=opennebula_group["example"]["id"],
networks=[
{
"id": 10,
"leases": 6,
},
{
"id": 11,
"leases": 4,
},
])
example_opennebula_index_group_quotas_group_quotas1 = opennebula.GroupQuotas("exampleOpennebulaIndex/groupQuotasGroupQuotas1",
group_id=opennebula_group["example"]["id"],
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 {
_, err := opennebula.NewGroupQuotas(ctx, "exampleGroupQuotas", &opennebula.GroupQuotasArgs{
GroupId: pulumi.Any(opennebula_group.Example.Id),
Datastores: opennebula.GroupQuotasDatastoreArray{
&opennebula.GroupQuotasDatastoreArgs{
Id: pulumi.Float64(1),
Images: pulumi.Float64(5),
Size: pulumi.Float64(10000),
},
},
})
if err != nil {
return err
}
_, err = opennebula.NewGroupQuotas(ctx, "exampleIndex/groupQuotasGroupQuotas", &opennebula.GroupQuotasArgs{
GroupId: pulumi.Any(opennebula_group.Example.Id),
Vms: opennebula.GroupQuotasVmArray{
&opennebula.GroupQuotasVmArgs{
Cpu: pulumi.Float64(3),
RunningCpu: pulumi.Float64(3),
Memory: pulumi.Float64(2048),
RunningMemory: pulumi.Float64(2048),
},
},
})
if err != nil {
return err
}
_, err = opennebula.NewGroupQuotas(ctx, "exampleOpennebulaIndex/groupQuotasGroupQuotas", &opennebula.GroupQuotasArgs{
GroupId: pulumi.Any(opennebula_group.Example.Id),
Networks: opennebula.GroupQuotasNetworkArray{
&opennebula.GroupQuotasNetworkArgs{
Id: pulumi.Float64(10),
Leases: pulumi.Float64(6),
},
&opennebula.GroupQuotasNetworkArgs{
Id: pulumi.Float64(11),
Leases: pulumi.Float64(4),
},
},
})
if err != nil {
return err
}
_, err = opennebula.NewGroupQuotas(ctx, "exampleOpennebulaIndex/groupQuotasGroupQuotas1", &opennebula.GroupQuotasArgs{
GroupId: pulumi.Any(opennebula_group.Example.Id),
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 exampleGroupQuotas = new Opennebula.GroupQuotas("exampleGroupQuotas", new()
{
GroupId = opennebula_group.Example.Id,
Datastores = new[]
{
new Opennebula.Inputs.GroupQuotasDatastoreArgs
{
Id = 1,
Images = 5,
Size = 10000,
},
},
});
var exampleIndex_groupQuotasGroupQuotas = new Opennebula.GroupQuotas("exampleIndex/groupQuotasGroupQuotas", new()
{
GroupId = opennebula_group.Example.Id,
Vms = new[]
{
new Opennebula.Inputs.GroupQuotasVmArgs
{
Cpu = 3,
RunningCpu = 3,
Memory = 2048,
RunningMemory = 2048,
},
},
});
var exampleOpennebulaIndex_groupQuotasGroupQuotas = new Opennebula.GroupQuotas("exampleOpennebulaIndex/groupQuotasGroupQuotas", new()
{
GroupId = opennebula_group.Example.Id,
Networks = new[]
{
new Opennebula.Inputs.GroupQuotasNetworkArgs
{
Id = 10,
Leases = 6,
},
new Opennebula.Inputs.GroupQuotasNetworkArgs
{
Id = 11,
Leases = 4,
},
},
});
var exampleOpennebulaIndex_groupQuotasGroupQuotas1 = new Opennebula.GroupQuotas("exampleOpennebulaIndex/groupQuotasGroupQuotas1", new()
{
GroupId = opennebula_group.Example.Id,
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.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 exampleGroupQuotas = new GroupQuotas("exampleGroupQuotas", GroupQuotasArgs.builder()
.groupId(opennebula_group.example().id())
.datastores(GroupQuotasDatastoreArgs.builder()
.id(1)
.images(5)
.size(10000)
.build())
.build());
var exampleIndex_groupQuotasGroupQuotas = new GroupQuotas("exampleIndex/groupQuotasGroupQuotas", GroupQuotasArgs.builder()
.groupId(opennebula_group.example().id())
.vms(GroupQuotasVmArgs.builder()
.cpu(3)
.runningCpu(3)
.memory(2048)
.runningMemory(2048)
.build())
.build());
var exampleOpennebulaIndex_groupQuotasGroupQuotas = new GroupQuotas("exampleOpennebulaIndex/groupQuotasGroupQuotas", GroupQuotasArgs.builder()
.groupId(opennebula_group.example().id())
.networks(
GroupQuotasNetworkArgs.builder()
.id(10)
.leases(6)
.build(),
GroupQuotasNetworkArgs.builder()
.id(11)
.leases(4)
.build())
.build());
var exampleOpennebulaIndex_groupQuotasGroupQuotas1 = new GroupQuotas("exampleOpennebulaIndex/groupQuotasGroupQuotas1", GroupQuotasArgs.builder()
.groupId(opennebula_group.example().id())
.images(
GroupQuotasImageArgs.builder()
.id(8)
.runningVms(1)
.build(),
GroupQuotasImageArgs.builder()
.id(9)
.runningVms(1)
.build())
.build());
}
}
resources:
exampleGroupQuotas:
type: opennebula:GroupQuotas
properties:
groupId: ${opennebula_group.example.id}
datastores:
- id: 1
images: 5
size: 10000
exampleIndex/groupQuotasGroupQuotas:
type: opennebula:GroupQuotas
properties:
groupId: ${opennebula_group.example.id}
vms:
- cpu: 3
runningCpu: 3
memory: 2048
runningMemory: 2048
exampleOpennebulaIndex/groupQuotasGroupQuotas:
type: opennebula:GroupQuotas
properties:
groupId: ${opennebula_group.example.id}
networks:
- id: 10
leases: 6
- id: 11
leases: 4
exampleOpennebulaIndex/groupQuotasGroupQuotas1:
type: opennebula:GroupQuotas
properties:
groupId: ${opennebula_group.example.id}
images:
- id: 8
runningVms: 1
- id: 9
runningVms: 1
Create GroupQuotas Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GroupQuotas(name: string, args: GroupQuotasArgs, opts?: CustomResourceOptions);
@overload
def GroupQuotas(resource_name: str,
args: GroupQuotasArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GroupQuotas(resource_name: str,
opts: Optional[ResourceOptions] = None,
group_id: Optional[float] = None,
datastores: Optional[Sequence[GroupQuotasDatastoreArgs]] = None,
group_quotas_id: Optional[str] = None,
images: Optional[Sequence[GroupQuotasImageArgs]] = None,
networks: Optional[Sequence[GroupQuotasNetworkArgs]] = None,
vms: Optional[Sequence[GroupQuotasVmArgs]] = None)
func NewGroupQuotas(ctx *Context, name string, args GroupQuotasArgs, opts ...ResourceOption) (*GroupQuotas, error)
public GroupQuotas(string name, GroupQuotasArgs args, CustomResourceOptions? opts = null)
public GroupQuotas(String name, GroupQuotasArgs args)
public GroupQuotas(String name, GroupQuotasArgs args, CustomResourceOptions options)
type: opennebula:GroupQuotas
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 GroupQuotasArgs
- 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 GroupQuotasArgs
- 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 GroupQuotasArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GroupQuotasArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GroupQuotasArgs
- 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 groupQuotasResource = new Opennebula.GroupQuotas("groupQuotasResource", new()
{
GroupId = 0,
Datastores = new[]
{
new Opennebula.Inputs.GroupQuotasDatastoreArgs
{
Id = 0,
Images = 0,
Size = 0,
},
},
GroupQuotasId = "string",
Images = new[]
{
new Opennebula.Inputs.GroupQuotasImageArgs
{
Id = 0,
RunningVms = 0,
},
},
Networks = new[]
{
new Opennebula.Inputs.GroupQuotasNetworkArgs
{
Id = 0,
Leases = 0,
},
},
Vms = new[]
{
new Opennebula.Inputs.GroupQuotasVmArgs
{
Cpu = 0,
Memory = 0,
RunningCpu = 0,
RunningMemory = 0,
RunningVms = 0,
SystemDiskSize = 0,
Vms = 0,
},
},
});
example, err := opennebula.NewGroupQuotas(ctx, "groupQuotasResource", &opennebula.GroupQuotasArgs{
GroupId: pulumi.Float64(0),
Datastores: opennebula.GroupQuotasDatastoreArray{
&opennebula.GroupQuotasDatastoreArgs{
Id: pulumi.Float64(0),
Images: pulumi.Float64(0),
Size: pulumi.Float64(0),
},
},
GroupQuotasId: pulumi.String("string"),
Images: opennebula.GroupQuotasImageArray{
&opennebula.GroupQuotasImageArgs{
Id: pulumi.Float64(0),
RunningVms: pulumi.Float64(0),
},
},
Networks: opennebula.GroupQuotasNetworkArray{
&opennebula.GroupQuotasNetworkArgs{
Id: pulumi.Float64(0),
Leases: pulumi.Float64(0),
},
},
Vms: opennebula.GroupQuotasVmArray{
&opennebula.GroupQuotasVmArgs{
Cpu: pulumi.Float64(0),
Memory: pulumi.Float64(0),
RunningCpu: pulumi.Float64(0),
RunningMemory: pulumi.Float64(0),
RunningVms: pulumi.Float64(0),
SystemDiskSize: pulumi.Float64(0),
Vms: pulumi.Float64(0),
},
},
})
var groupQuotasResource = new GroupQuotas("groupQuotasResource", GroupQuotasArgs.builder()
.groupId(0)
.datastores(GroupQuotasDatastoreArgs.builder()
.id(0)
.images(0)
.size(0)
.build())
.groupQuotasId("string")
.images(GroupQuotasImageArgs.builder()
.id(0)
.runningVms(0)
.build())
.networks(GroupQuotasNetworkArgs.builder()
.id(0)
.leases(0)
.build())
.vms(GroupQuotasVmArgs.builder()
.cpu(0)
.memory(0)
.runningCpu(0)
.runningMemory(0)
.runningVms(0)
.systemDiskSize(0)
.vms(0)
.build())
.build());
group_quotas_resource = opennebula.GroupQuotas("groupQuotasResource",
group_id=0,
datastores=[{
"id": 0,
"images": 0,
"size": 0,
}],
group_quotas_id="string",
images=[{
"id": 0,
"running_vms": 0,
}],
networks=[{
"id": 0,
"leases": 0,
}],
vms=[{
"cpu": 0,
"memory": 0,
"running_cpu": 0,
"running_memory": 0,
"running_vms": 0,
"system_disk_size": 0,
"vms": 0,
}])
const groupQuotasResource = new opennebula.GroupQuotas("groupQuotasResource", {
groupId: 0,
datastores: [{
id: 0,
images: 0,
size: 0,
}],
groupQuotasId: "string",
images: [{
id: 0,
runningVms: 0,
}],
networks: [{
id: 0,
leases: 0,
}],
vms: [{
cpu: 0,
memory: 0,
runningCpu: 0,
runningMemory: 0,
runningVms: 0,
systemDiskSize: 0,
vms: 0,
}],
});
type: opennebula:GroupQuotas
properties:
datastores:
- id: 0
images: 0
size: 0
groupId: 0
groupQuotasId: string
images:
- id: 0
runningVms: 0
networks:
- id: 0
leases: 0
vms:
- cpu: 0
memory: 0
runningCpu: 0
runningMemory: 0
runningVms: 0
systemDiskSize: 0
vms: 0
GroupQuotas 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 GroupQuotas resource accepts the following input properties:
- Group
Id double - The related group ID.
- Datastores
List<Group
Quotas Datastore> - List of datastore quotas. See Datastore quotas parameters below for details. Conflicts with
network
,image
,vm
. - Group
Quotas stringId - Images
List<Group
Quotas Image> - List of image quotas. See Image quotas parameters below for details. Conflicts with
datastore
,network
,vm
. - Networks
List<Group
Quotas Network> - List of network quotas. See Network quotas parameters below for details. Conflicts with
datastore
,image
,vm
. - Vms
List<Group
Quotas Vm> - See Virtual Machine quotas parameters below for details. Conflicts with
datastore
,network
,image
.
- Group
Id float64 - The related group ID.
- Datastores
[]Group
Quotas Datastore Args - List of datastore quotas. See Datastore quotas parameters below for details. Conflicts with
network
,image
,vm
. - Group
Quotas stringId - Images
[]Group
Quotas Image Args - List of image quotas. See Image quotas parameters below for details. Conflicts with
datastore
,network
,vm
. - Networks
[]Group
Quotas Network Args - List of network quotas. See Network quotas parameters below for details. Conflicts with
datastore
,image
,vm
. - Vms
[]Group
Quotas Vm Args - See Virtual Machine quotas parameters below for details. Conflicts with
datastore
,network
,image
.
- group
Id Double - The related group ID.
- datastores
List<Group
Quotas Datastore> - List of datastore quotas. See Datastore quotas parameters below for details. Conflicts with
network
,image
,vm
. - group
Quotas StringId - images
List<Group
Quotas Image> - List of image quotas. See Image quotas parameters below for details. Conflicts with
datastore
,network
,vm
. - networks
List<Group
Quotas Network> - List of network quotas. See Network quotas parameters below for details. Conflicts with
datastore
,image
,vm
. - vms
List<Group
Quotas Vm> - See Virtual Machine quotas parameters below for details. Conflicts with
datastore
,network
,image
.
- group
Id number - The related group ID.
- datastores
Group
Quotas Datastore[] - List of datastore quotas. See Datastore quotas parameters below for details. Conflicts with
network
,image
,vm
. - group
Quotas stringId - images
Group
Quotas Image[] - List of image quotas. See Image quotas parameters below for details. Conflicts with
datastore
,network
,vm
. - networks
Group
Quotas Network[] - List of network quotas. See Network quotas parameters below for details. Conflicts with
datastore
,image
,vm
. - vms
Group
Quotas Vm[] - See Virtual Machine quotas parameters below for details. Conflicts with
datastore
,network
,image
.
- group_
id float - The related group ID.
- datastores
Sequence[Group
Quotas Datastore Args] - List of datastore quotas. See Datastore quotas parameters below for details. Conflicts with
network
,image
,vm
. - group_
quotas_ strid - images
Sequence[Group
Quotas Image Args] - List of image quotas. See Image quotas parameters below for details. Conflicts with
datastore
,network
,vm
. - networks
Sequence[Group
Quotas Network Args] - List of network quotas. See Network quotas parameters below for details. Conflicts with
datastore
,image
,vm
. - vms
Sequence[Group
Quotas Vm Args] - See Virtual Machine quotas parameters below for details. Conflicts with
datastore
,network
,image
.
- group
Id Number - The related group ID.
- datastores List<Property Map>
- List of datastore quotas. See Datastore quotas parameters below for details. Conflicts with
network
,image
,vm
. - group
Quotas StringId - images List<Property Map>
- List of image quotas. See Image quotas parameters below for details. Conflicts with
datastore
,network
,vm
. - networks List<Property Map>
- List of network quotas. See Network quotas parameters below for details. Conflicts with
datastore
,image
,vm
. - vms List<Property Map>
- See Virtual Machine quotas parameters below for details. Conflicts with
datastore
,network
,image
.
Outputs
All input properties are implicitly available as output properties. Additionally, the GroupQuotas resource produces the following output properties:
Look up Existing GroupQuotas Resource
Get an existing GroupQuotas 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?: GroupQuotasState, opts?: CustomResourceOptions): GroupQuotas
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
datastores: Optional[Sequence[GroupQuotasDatastoreArgs]] = None,
group_id: Optional[float] = None,
group_quotas_id: Optional[str] = None,
images: Optional[Sequence[GroupQuotasImageArgs]] = None,
networks: Optional[Sequence[GroupQuotasNetworkArgs]] = None,
type: Optional[str] = None,
vms: Optional[Sequence[GroupQuotasVmArgs]] = None) -> GroupQuotas
func GetGroupQuotas(ctx *Context, name string, id IDInput, state *GroupQuotasState, opts ...ResourceOption) (*GroupQuotas, error)
public static GroupQuotas Get(string name, Input<string> id, GroupQuotasState? state, CustomResourceOptions? opts = null)
public static GroupQuotas get(String name, Output<String> id, GroupQuotasState state, CustomResourceOptions options)
resources: _: type: opennebula:GroupQuotas 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.
- Datastores
List<Group
Quotas Datastore> - List of datastore quotas. See Datastore quotas parameters below for details. Conflicts with
network
,image
,vm
. - Group
Id double - The related group ID.
- Group
Quotas stringId - Images
List<Group
Quotas Image> - List of image quotas. See Image quotas parameters below for details. Conflicts with
datastore
,network
,vm
. - Networks
List<Group
Quotas Network> - List of network quotas. See Network quotas parameters below for details. Conflicts with
datastore
,image
,vm
. - Type string
- Vms
List<Group
Quotas Vm> - See Virtual Machine quotas parameters below for details. Conflicts with
datastore
,network
,image
.
- Datastores
[]Group
Quotas Datastore Args - List of datastore quotas. See Datastore quotas parameters below for details. Conflicts with
network
,image
,vm
. - Group
Id float64 - The related group ID.
- Group
Quotas stringId - Images
[]Group
Quotas Image Args - List of image quotas. See Image quotas parameters below for details. Conflicts with
datastore
,network
,vm
. - Networks
[]Group
Quotas Network Args - List of network quotas. See Network quotas parameters below for details. Conflicts with
datastore
,image
,vm
. - Type string
- Vms
[]Group
Quotas Vm Args - See Virtual Machine quotas parameters below for details. Conflicts with
datastore
,network
,image
.
- datastores
List<Group
Quotas Datastore> - List of datastore quotas. See Datastore quotas parameters below for details. Conflicts with
network
,image
,vm
. - group
Id Double - The related group ID.
- group
Quotas StringId - images
List<Group
Quotas Image> - List of image quotas. See Image quotas parameters below for details. Conflicts with
datastore
,network
,vm
. - networks
List<Group
Quotas Network> - List of network quotas. See Network quotas parameters below for details. Conflicts with
datastore
,image
,vm
. - type String
- vms
List<Group
Quotas Vm> - See Virtual Machine quotas parameters below for details. Conflicts with
datastore
,network
,image
.
- datastores
Group
Quotas Datastore[] - List of datastore quotas. See Datastore quotas parameters below for details. Conflicts with
network
,image
,vm
. - group
Id number - The related group ID.
- group
Quotas stringId - images
Group
Quotas Image[] - List of image quotas. See Image quotas parameters below for details. Conflicts with
datastore
,network
,vm
. - networks
Group
Quotas Network[] - List of network quotas. See Network quotas parameters below for details. Conflicts with
datastore
,image
,vm
. - type string
- vms
Group
Quotas Vm[] - See Virtual Machine quotas parameters below for details. Conflicts with
datastore
,network
,image
.
- datastores
Sequence[Group
Quotas Datastore Args] - List of datastore quotas. See Datastore quotas parameters below for details. Conflicts with
network
,image
,vm
. - group_
id float - The related group ID.
- group_
quotas_ strid - images
Sequence[Group
Quotas Image Args] - List of image quotas. See Image quotas parameters below for details. Conflicts with
datastore
,network
,vm
. - networks
Sequence[Group
Quotas Network Args] - List of network quotas. See Network quotas parameters below for details. Conflicts with
datastore
,image
,vm
. - type str
- vms
Sequence[Group
Quotas Vm Args] - See Virtual Machine quotas parameters below for details. Conflicts with
datastore
,network
,image
.
- datastores List<Property Map>
- List of datastore quotas. See Datastore quotas parameters below for details. Conflicts with
network
,image
,vm
. - group
Id Number - The related group ID.
- group
Quotas StringId - images List<Property Map>
- List of image quotas. See Image quotas parameters below for details. Conflicts with
datastore
,network
,vm
. - networks List<Property Map>
- List of network quotas. See Network quotas parameters below for details. Conflicts with
datastore
,image
,vm
. - type String
- vms List<Property Map>
- See Virtual Machine quotas parameters below for details. Conflicts with
datastore
,network
,image
.
Supporting Types
GroupQuotasDatastore, GroupQuotasDatastoreArgs
GroupQuotasImage, GroupQuotasImageArgs
- Id double
- Image ID.
- Running
Vms double - Maximum number of Virtual Machines in
RUNNING
state with this image ID attached. Defaults todefault quota
- Id float64
- Image ID.
- Running
Vms float64 - Maximum number of Virtual Machines in
RUNNING
state with this image ID attached. Defaults todefault quota
- id Double
- Image ID.
- running
Vms Double - Maximum number of Virtual Machines in
RUNNING
state with this image ID attached. Defaults todefault quota
- id number
- Image ID.
- running
Vms number - Maximum number of Virtual Machines in
RUNNING
state with this image ID attached. Defaults todefault quota
- id float
- Image ID.
- running_
vms float - Maximum number of Virtual Machines in
RUNNING
state with this image ID attached. Defaults todefault quota
- id Number
- Image ID.
- running
Vms Number - Maximum number of Virtual Machines in
RUNNING
state with this image ID attached. Defaults todefault quota
GroupQuotasNetwork, GroupQuotasNetworkArgs
GroupQuotasVm, GroupQuotasVmArgs
- Cpu double
- Total of CPUs allowed. Defaults to
default quota
. - Memory double
- Total of memory (in MB) allowed. Defaults to
default quota
. - Running
Cpu double - Virtual Machine CPUs allowed in
RUNNING
state. Defaults todefault quota
. - Running
Memory double - Virtual Machine Memory (in MB) allowed in
RUNNING
state. Defaults todefault quota
. - Running
Vms double - Number of Virtual Machines allowed in
RUNNING
state. Defaults todefault quota
. - System
Disk doubleSize - Maximum disk global size (in MB) allowed on a
SYSTEM
datastore. Defaults todefault quota
. - Vms double
- Maximum number of Virtual Machines allowed. Defaults to
default quota
.
- Cpu float64
- Total of CPUs allowed. Defaults to
default quota
. - Memory float64
- Total of memory (in MB) allowed. Defaults to
default quota
. - Running
Cpu float64 - Virtual Machine CPUs allowed in
RUNNING
state. Defaults todefault quota
. - Running
Memory float64 - Virtual Machine Memory (in MB) allowed in
RUNNING
state. Defaults todefault quota
. - Running
Vms float64 - Number of Virtual Machines allowed in
RUNNING
state. Defaults todefault quota
. - System
Disk float64Size - Maximum disk global size (in MB) allowed on a
SYSTEM
datastore. Defaults todefault quota
. - Vms float64
- Maximum number of Virtual Machines allowed. Defaults to
default quota
.
- cpu Double
- Total of CPUs allowed. Defaults to
default quota
. - memory Double
- Total of memory (in MB) allowed. Defaults to
default quota
. - running
Cpu Double - Virtual Machine CPUs allowed in
RUNNING
state. Defaults todefault quota
. - running
Memory Double - Virtual Machine Memory (in MB) allowed in
RUNNING
state. Defaults todefault quota
. - running
Vms Double - Number of Virtual Machines allowed in
RUNNING
state. Defaults todefault quota
. - system
Disk DoubleSize - Maximum disk global size (in MB) allowed on a
SYSTEM
datastore. Defaults todefault quota
. - vms Double
- Maximum number of Virtual Machines allowed. Defaults to
default quota
.
- cpu number
- Total of CPUs allowed. Defaults to
default quota
. - memory number
- Total of memory (in MB) allowed. Defaults to
default quota
. - running
Cpu number - Virtual Machine CPUs allowed in
RUNNING
state. Defaults todefault quota
. - running
Memory number - Virtual Machine Memory (in MB) allowed in
RUNNING
state. Defaults todefault quota
. - running
Vms number - Number of Virtual Machines allowed in
RUNNING
state. Defaults todefault quota
. - system
Disk numberSize - Maximum disk global size (in MB) allowed on a
SYSTEM
datastore. Defaults todefault quota
. - vms number
- Maximum number of Virtual Machines allowed. Defaults to
default quota
.
- cpu float
- Total of CPUs allowed. Defaults to
default quota
. - memory float
- Total of memory (in MB) allowed. Defaults to
default quota
. - running_
cpu float - Virtual Machine CPUs allowed in
RUNNING
state. Defaults todefault quota
. - running_
memory float - Virtual Machine Memory (in MB) allowed in
RUNNING
state. Defaults todefault quota
. - running_
vms float - Number of Virtual Machines allowed in
RUNNING
state. Defaults todefault quota
. - system_
disk_ floatsize - Maximum disk global size (in MB) allowed on a
SYSTEM
datastore. Defaults todefault quota
. - vms float
- Maximum number of Virtual Machines allowed. Defaults to
default quota
.
- cpu Number
- Total of CPUs allowed. Defaults to
default quota
. - memory Number
- Total of memory (in MB) allowed. Defaults to
default quota
. - running
Cpu Number - Virtual Machine CPUs allowed in
RUNNING
state. Defaults todefault quota
. - running
Memory Number - Virtual Machine Memory (in MB) allowed in
RUNNING
state. Defaults todefault quota
. - running
Vms Number - Number of Virtual Machines allowed in
RUNNING
state. Defaults todefault quota
. - system
Disk NumberSize - Maximum disk global size (in MB) allowed on a
SYSTEM
datastore. Defaults todefault quota
. - vms Number
- Maximum number of Virtual Machines allowed. Defaults to
default quota
.
Import
opennebula_group_quotas
can be imported using the group ID and the quota section to import:
$ pulumi import opennebula:index/groupQuotas:GroupQuotas example 123:image
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.