QuotaSetV2

Manages a V2 compute quotaset resource within OpenStack.

Note: This usually requires admin privileges.

Note: This resource has a no-op deletion so no actual actions will be done against the OpenStack API in case of delete call.

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
    public MyStack()
    {
        var project1 = new OpenStack.Identity.Project("project1", new OpenStack.Identity.ProjectArgs
        {
        });
        var quotaset1 = new OpenStack.Compute.QuotaSetV2("quotaset1", new OpenStack.Compute.QuotaSetV2Args
        {
            ProjectId = project1.Id,
            KeyPairs = 10,
            Ram = 40960,
            Cores = 32,
            Instances = 20,
            ServerGroups = 4,
            ServerGroupMembers = 8,
        });
    }

}

Coming soon!

import pulumi
import pulumi_openstack as openstack

project1 = openstack.identity.Project("project1")
quotaset1 = openstack.compute.QuotaSetV2("quotaset1",
    project_id=project1.id,
    key_pairs=10,
    ram=40960,
    cores=32,
    instances=20,
    server_groups=4,
    server_group_members=8)
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";

const project1 = new openstack.identity.Project("project1", {});
const quotaset1 = new openstack.compute.QuotaSetV2("quotaset1", {
    projectId: project1.id,
    keyPairs: 10,
    ram: 40960,
    cores: 32,
    instances: 20,
    serverGroups: 4,
    serverGroupMembers: 8,
});

Create a QuotaSetV2 Resource

def QuotaSetV2(resource_name, opts=None, cores=None, fixed_ips=None, floating_ips=None, injected_file_content_bytes=None, injected_file_path_bytes=None, injected_files=None, instances=None, key_pairs=None, metadata_items=None, project_id=None, ram=None, region=None, security_group_rules=None, security_groups=None, server_group_members=None, server_groups=None, __props__=None);
func NewQuotaSetV2(ctx *Context, name string, args QuotaSetV2Args, opts ...ResourceOption) (*QuotaSetV2, error)
public QuotaSetV2(string name, QuotaSetV2Args args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args QuotaSetV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args QuotaSetV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args QuotaSetV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

QuotaSetV2 Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The QuotaSetV2 resource accepts the following input properties:

ProjectId string

ID of the project to manage quotas. Changing this creates a new quotaset.

Cores int

Quota value for cores. Changing this updates the existing quotaset.

FixedIps int

Quota value for fixed IPs. Changing this updates the existing quotaset.

FloatingIps int

Quota value for floating IPs. Changing this updates the existing quotaset.

InjectedFileContentBytes int

Quota value for content bytes of injected files. Changing this updates the existing quotaset.

InjectedFilePathBytes int

Quota value for path bytes of injected files. Changing this updates the existing quotaset.

InjectedFiles int

Quota value for injected files. Changing this updates the existing quotaset.

Instances int

Quota value for instances. Changing this updates the existing quotaset.

KeyPairs int

Quota value for key pairs. Changing this updates the existing quotaset.

MetadataItems int

Quota value for metadata items. Changing this updates the existing quotaset.

Ram int

Quota value for RAM. Changing this updates the existing quotaset.

Region string

The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.

SecurityGroupRules int

Quota value for security group rules. Changing this updates the existing quotaset.

SecurityGroups int

Quota value for security groups. Changing this updates the existing quotaset.

ServerGroupMembers int

Quota value for server groups members. Changing this updates the existing quotaset.

ServerGroups int

Quota value for server groups. Changing this updates the existing quotaset.

ProjectId string

ID of the project to manage quotas. Changing this creates a new quotaset.

Cores int

Quota value for cores. Changing this updates the existing quotaset.

FixedIps int

Quota value for fixed IPs. Changing this updates the existing quotaset.

FloatingIps int

Quota value for floating IPs. Changing this updates the existing quotaset.

InjectedFileContentBytes int

Quota value for content bytes of injected files. Changing this updates the existing quotaset.

InjectedFilePathBytes int

Quota value for path bytes of injected files. Changing this updates the existing quotaset.

InjectedFiles int

Quota value for injected files. Changing this updates the existing quotaset.

Instances int

Quota value for instances. Changing this updates the existing quotaset.

KeyPairs int

Quota value for key pairs. Changing this updates the existing quotaset.

MetadataItems int

Quota value for metadata items. Changing this updates the existing quotaset.

Ram int

Quota value for RAM. Changing this updates the existing quotaset.

Region string

The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.

SecurityGroupRules int

Quota value for security group rules. Changing this updates the existing quotaset.

SecurityGroups int

Quota value for security groups. Changing this updates the existing quotaset.

ServerGroupMembers int

Quota value for server groups members. Changing this updates the existing quotaset.

ServerGroups int

Quota value for server groups. Changing this updates the existing quotaset.

projectId string

ID of the project to manage quotas. Changing this creates a new quotaset.

cores number

Quota value for cores. Changing this updates the existing quotaset.

fixedIps number

Quota value for fixed IPs. Changing this updates the existing quotaset.

floatingIps number

Quota value for floating IPs. Changing this updates the existing quotaset.

injectedFileContentBytes number

Quota value for content bytes of injected files. Changing this updates the existing quotaset.

injectedFilePathBytes number

Quota value for path bytes of injected files. Changing this updates the existing quotaset.

injectedFiles number

Quota value for injected files. Changing this updates the existing quotaset.

instances number

Quota value for instances. Changing this updates the existing quotaset.

keyPairs number

Quota value for key pairs. Changing this updates the existing quotaset.

metadataItems number

Quota value for metadata items. Changing this updates the existing quotaset.

ram number

Quota value for RAM. Changing this updates the existing quotaset.

region string

The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.

securityGroupRules number

Quota value for security group rules. Changing this updates the existing quotaset.

securityGroups number

Quota value for security groups. Changing this updates the existing quotaset.

serverGroupMembers number

Quota value for server groups members. Changing this updates the existing quotaset.

serverGroups number

Quota value for server groups. Changing this updates the existing quotaset.

project_id str

ID of the project to manage quotas. Changing this creates a new quotaset.

cores float

Quota value for cores. Changing this updates the existing quotaset.

fixed_ips float

Quota value for fixed IPs. Changing this updates the existing quotaset.

floating_ips float

Quota value for floating IPs. Changing this updates the existing quotaset.

injected_file_content_bytes float

Quota value for content bytes of injected files. Changing this updates the existing quotaset.

injected_file_path_bytes float

Quota value for path bytes of injected files. Changing this updates the existing quotaset.

injected_files float

Quota value for injected files. Changing this updates the existing quotaset.

instances float

Quota value for instances. Changing this updates the existing quotaset.

key_pairs float

Quota value for key pairs. Changing this updates the existing quotaset.

metadata_items float

Quota value for metadata items. Changing this updates the existing quotaset.

ram float

Quota value for RAM. Changing this updates the existing quotaset.

region str

The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.

security_group_rules float

Quota value for security group rules. Changing this updates the existing quotaset.

security_groups float

Quota value for security groups. Changing this updates the existing quotaset.

server_group_members float

Quota value for server groups members. Changing this updates the existing quotaset.

server_groups float

Quota value for server groups. Changing this updates the existing quotaset.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing QuotaSetV2 Resource

Get an existing QuotaSetV2 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?: QuotaSetV2State, opts?: CustomResourceOptions): QuotaSetV2
static get(resource_name, id, opts=None, cores=None, fixed_ips=None, floating_ips=None, injected_file_content_bytes=None, injected_file_path_bytes=None, injected_files=None, instances=None, key_pairs=None, metadata_items=None, project_id=None, ram=None, region=None, security_group_rules=None, security_groups=None, server_group_members=None, server_groups=None, __props__=None);
func GetQuotaSetV2(ctx *Context, name string, id IDInput, state *QuotaSetV2State, opts ...ResourceOption) (*QuotaSetV2, error)
public static QuotaSetV2 Get(string name, Input<string> id, QuotaSetV2State? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Cores int

Quota value for cores. Changing this updates the existing quotaset.

FixedIps int

Quota value for fixed IPs. Changing this updates the existing quotaset.

FloatingIps int

Quota value for floating IPs. Changing this updates the existing quotaset.

InjectedFileContentBytes int

Quota value for content bytes of injected files. Changing this updates the existing quotaset.

InjectedFilePathBytes int

Quota value for path bytes of injected files. Changing this updates the existing quotaset.

InjectedFiles int

Quota value for injected files. Changing this updates the existing quotaset.

Instances int

Quota value for instances. Changing this updates the existing quotaset.

KeyPairs int

Quota value for key pairs. Changing this updates the existing quotaset.

MetadataItems int

Quota value for metadata items. Changing this updates the existing quotaset.

ProjectId string

ID of the project to manage quotas. Changing this creates a new quotaset.

Ram int

Quota value for RAM. Changing this updates the existing quotaset.

Region string

The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.

SecurityGroupRules int

Quota value for security group rules. Changing this updates the existing quotaset.

SecurityGroups int

Quota value for security groups. Changing this updates the existing quotaset.

ServerGroupMembers int

Quota value for server groups members. Changing this updates the existing quotaset.

ServerGroups int

Quota value for server groups. Changing this updates the existing quotaset.

Cores int

Quota value for cores. Changing this updates the existing quotaset.

FixedIps int

Quota value for fixed IPs. Changing this updates the existing quotaset.

FloatingIps int

Quota value for floating IPs. Changing this updates the existing quotaset.

InjectedFileContentBytes int

Quota value for content bytes of injected files. Changing this updates the existing quotaset.

InjectedFilePathBytes int

Quota value for path bytes of injected files. Changing this updates the existing quotaset.

InjectedFiles int

Quota value for injected files. Changing this updates the existing quotaset.

Instances int

Quota value for instances. Changing this updates the existing quotaset.

KeyPairs int

Quota value for key pairs. Changing this updates the existing quotaset.

MetadataItems int

Quota value for metadata items. Changing this updates the existing quotaset.

ProjectId string

ID of the project to manage quotas. Changing this creates a new quotaset.

Ram int

Quota value for RAM. Changing this updates the existing quotaset.

Region string

The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.

SecurityGroupRules int

Quota value for security group rules. Changing this updates the existing quotaset.

SecurityGroups int

Quota value for security groups. Changing this updates the existing quotaset.

ServerGroupMembers int

Quota value for server groups members. Changing this updates the existing quotaset.

ServerGroups int

Quota value for server groups. Changing this updates the existing quotaset.

cores number

Quota value for cores. Changing this updates the existing quotaset.

fixedIps number

Quota value for fixed IPs. Changing this updates the existing quotaset.

floatingIps number

Quota value for floating IPs. Changing this updates the existing quotaset.

injectedFileContentBytes number

Quota value for content bytes of injected files. Changing this updates the existing quotaset.

injectedFilePathBytes number

Quota value for path bytes of injected files. Changing this updates the existing quotaset.

injectedFiles number

Quota value for injected files. Changing this updates the existing quotaset.

instances number

Quota value for instances. Changing this updates the existing quotaset.

keyPairs number

Quota value for key pairs. Changing this updates the existing quotaset.

metadataItems number

Quota value for metadata items. Changing this updates the existing quotaset.

projectId string

ID of the project to manage quotas. Changing this creates a new quotaset.

ram number

Quota value for RAM. Changing this updates the existing quotaset.

region string

The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.

securityGroupRules number

Quota value for security group rules. Changing this updates the existing quotaset.

securityGroups number

Quota value for security groups. Changing this updates the existing quotaset.

serverGroupMembers number

Quota value for server groups members. Changing this updates the existing quotaset.

serverGroups number

Quota value for server groups. Changing this updates the existing quotaset.

cores float

Quota value for cores. Changing this updates the existing quotaset.

fixed_ips float

Quota value for fixed IPs. Changing this updates the existing quotaset.

floating_ips float

Quota value for floating IPs. Changing this updates the existing quotaset.

injected_file_content_bytes float

Quota value for content bytes of injected files. Changing this updates the existing quotaset.

injected_file_path_bytes float

Quota value for path bytes of injected files. Changing this updates the existing quotaset.

injected_files float

Quota value for injected files. Changing this updates the existing quotaset.

instances float

Quota value for instances. Changing this updates the existing quotaset.

key_pairs float

Quota value for key pairs. Changing this updates the existing quotaset.

metadata_items float

Quota value for metadata items. Changing this updates the existing quotaset.

project_id str

ID of the project to manage quotas. Changing this creates a new quotaset.

ram float

Quota value for RAM. Changing this updates the existing quotaset.

region str

The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.

security_group_rules float

Quota value for security group rules. Changing this updates the existing quotaset.

security_groups float

Quota value for security groups. Changing this updates the existing quotaset.

server_group_members float

Quota value for server groups members. Changing this updates the existing quotaset.

server_groups float

Quota value for server groups. Changing this updates the existing quotaset.

Package Details

Repository
https://github.com/pulumi/pulumi-openstack
License
Apache-2.0
Notes
This Pulumi package is based on the openstack Terraform Provider.