QuoteSetV3
Manages a V3 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.QuoteSetV3("quotaset1", new OpenStack.BlockStorage.QuoteSetV3Args
{
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.QuoteSetV3("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.QuoteSetV3("quotaset1", {
projectId: project1.id,
volumes: 10,
snapshots: 4,
gigabytes: 100,
perVolumeGigabytes: 10,
backups: 4,
backupGigabytes: 10,
groups: 100,
});Create a QuoteSetV3 Resource
new QuoteSetV3(name: string, args: QuoteSetV3Args, opts?: CustomResourceOptions);def QuoteSetV3(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 NewQuoteSetV3(ctx *Context, name string, args QuoteSetV3Args, opts ...ResourceOption) (*QuoteSetV3, error)public QuoteSetV3(string name, QuoteSetV3Args args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args QuoteSetV3Args
- 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 QuoteSetV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args QuoteSetV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
QuoteSetV3 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The QuoteSetV3 resource accepts the following input properties:
- Project
Id string ID of the project to manage quotas. Changing this creates a new quotaset.
- Backup
Gigabytes 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.
- Per
Volume intGigabytes 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
regionargument 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.
- Project
Id string ID of the project to manage quotas. Changing this creates a new quotaset.
- Backup
Gigabytes 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.
- Per
Volume intGigabytes 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
regionargument 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.
- project
Id string ID of the project to manage quotas. Changing this creates a new quotaset.
- backup
Gigabytes 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.
- per
Volume numberGigabytes 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
regionargument 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_ floatgigabytes 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
regionargument 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 QuoteSetV3 resource produces the following output properties:
Look up an Existing QuoteSetV3 Resource
Get an existing QuoteSetV3 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?: QuoteSetV3State, opts?: CustomResourceOptions): QuoteSetV3static 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 GetQuoteSetV3(ctx *Context, name string, id IDInput, state *QuoteSetV3State, opts ...ResourceOption) (*QuoteSetV3, error)public static QuoteSetV3 Get(string name, Input<string> id, QuoteSetV3State? 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:
- Backup
Gigabytes 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.
- Per
Volume intGigabytes Quota value for gigabytes per volume . Changing this updates the existing quotaset.
- Project
Id 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
regionargument 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.
- Backup
Gigabytes 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.
- Per
Volume intGigabytes Quota value for gigabytes per volume . Changing this updates the existing quotaset.
- Project
Id 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
regionargument 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.
- backup
Gigabytes 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.
- per
Volume numberGigabytes Quota value for gigabytes per volume . Changing this updates the existing quotaset.
- project
Id 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
regionargument 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_ floatgigabytes 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
regionargument 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
openstackTerraform Provider.