QuoteSetV2

Manages a V2 block storage 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.BlockStorage.QuoteSetV2("quotaset1", new OpenStack.BlockStorage.QuoteSetV2Args
        {
            ProjectId = project1.Id,
            Volumes = 10,
            Snapshots = 4,
            Gigabytes = 100,
            PerVolumeGigabytes = 10,
            Backups = 4,
            BackupGigabytes = 10,
            Groups = 100,
        });
    }

}

Coming soon!

import pulumi
import pulumi_openstack as openstack

project1 = openstack.identity.Project("project1")
quotaset1 = openstack.blockstorage.QuoteSetV2("quotaset1",
    project_id=project1.id,
    volumes=10,
    snapshots=4,
    gigabytes=100,
    per_volume_gigabytes=10,
    backups=4,
    backup_gigabytes=10,
    groups=100)
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";

const project1 = new openstack.identity.Project("project1", {});
const quotaset1 = new openstack.blockstorage.QuoteSetV2("quotaset1", {
    projectId: project1.id,
    volumes: 10,
    snapshots: 4,
    gigabytes: 100,
    perVolumeGigabytes: 10,
    backups: 4,
    backupGigabytes: 10,
    groups: 100,
});

Create a QuoteSetV2 Resource

def QuoteSetV2(resource_name, opts=None, backup_gigabytes=None, backups=None, gigabytes=None, groups=None, per_volume_gigabytes=None, project_id=None, region=None, snapshots=None, volumes=None, __props__=None);
func NewQuoteSetV2(ctx *Context, name string, args QuoteSetV2Args, opts ...ResourceOption) (*QuoteSetV2, error)
public QuoteSetV2(string name, QuoteSetV2Args args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args QuoteSetV2Args
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 QuoteSetV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args QuoteSetV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

QuoteSetV2 Resource Properties

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

Inputs

The QuoteSetV2 resource accepts the following input properties:

ProjectId string

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

BackupGigabytes int

Quota value for backup gigabytes. Changing this updates the existing quotaset.

Backups int

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

Gigabytes int

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

Groups int

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

PerVolumeGigabytes int

Quota value for gigabytes per volume . 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.

Snapshots int

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

Volumes int

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

ProjectId string

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

BackupGigabytes int

Quota value for backup gigabytes. Changing this updates the existing quotaset.

Backups int

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

Gigabytes int

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

Groups int

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

PerVolumeGigabytes int

Quota value for gigabytes per volume . 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.

Snapshots int

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

Volumes int

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

projectId string

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

backupGigabytes number

Quota value for backup gigabytes. Changing this updates the existing quotaset.

backups number

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

gigabytes number

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

groups number

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

perVolumeGigabytes number

Quota value for gigabytes per volume . 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.

snapshots number

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

volumes number

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

project_id str

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

backup_gigabytes float

Quota value for backup gigabytes. Changing this updates the existing quotaset.

backups float

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

gigabytes float

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

groups float

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

per_volume_gigabytes float

Quota value for gigabytes per volume . 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.

snapshots float

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

volumes float

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

Outputs

All input properties are implicitly available as output properties. Additionally, the QuoteSetV2 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 QuoteSetV2 Resource

Get an existing QuoteSetV2 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?: QuoteSetV2State, opts?: CustomResourceOptions): QuoteSetV2
static get(resource_name, id, opts=None, backup_gigabytes=None, backups=None, gigabytes=None, groups=None, per_volume_gigabytes=None, project_id=None, region=None, snapshots=None, volumes=None, __props__=None);
func GetQuoteSetV2(ctx *Context, name string, id IDInput, state *QuoteSetV2State, opts ...ResourceOption) (*QuoteSetV2, error)
public static QuoteSetV2 Get(string name, Input<string> id, QuoteSetV2State? 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:

BackupGigabytes int

Quota value for backup gigabytes. Changing this updates the existing quotaset.

Backups int

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

Gigabytes int

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

Groups int

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

PerVolumeGigabytes int

Quota value for gigabytes per volume . Changing this updates the existing quotaset.

ProjectId string

ID of the project to manage quotas. Changing this creates a new 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.

Snapshots int

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

Volumes int

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

BackupGigabytes int

Quota value for backup gigabytes. Changing this updates the existing quotaset.

Backups int

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

Gigabytes int

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

Groups int

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

PerVolumeGigabytes int

Quota value for gigabytes per volume . Changing this updates the existing quotaset.

ProjectId string

ID of the project to manage quotas. Changing this creates a new 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.

Snapshots int

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

Volumes int

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

backupGigabytes number

Quota value for backup gigabytes. Changing this updates the existing quotaset.

backups number

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

gigabytes number

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

groups number

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

perVolumeGigabytes number

Quota value for gigabytes per volume . Changing this updates the existing quotaset.

projectId string

ID of the project to manage quotas. Changing this creates a new 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.

snapshots number

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

volumes number

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

backup_gigabytes float

Quota value for backup gigabytes. Changing this updates the existing quotaset.

backups float

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

gigabytes float

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

groups float

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

per_volume_gigabytes float

Quota value for gigabytes per volume . Changing this updates the existing quotaset.

project_id str

ID of the project to manage quotas. Changing this creates a new 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.

snapshots float

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

volumes float

Quota value for volumes. 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.