Class 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,
});
}
}
Inherited Members
Namespace: Pulumi.OpenStack.BlockStorage
Assembly: Pulumi.OpenStack.dll
Syntax
public class QuoteSetV3 : CustomResource
Constructors
View SourceQuoteSetV3(String, QuoteSetV3Args, CustomResourceOptions)
Create a QuoteSetV3 resource with the given unique name, arguments, and options.
Declaration
public QuoteSetV3(string name, QuoteSetV3Args args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| QuoteSetV3Args | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceBackupGigabytes
Quota value for backup gigabytes. Changing this updates the existing quotaset.
Declaration
public Output<int> BackupGigabytes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Backups
Quota value for backups. Changing this updates the existing quotaset.
Declaration
public Output<int> Backups { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Gigabytes
Quota value for gigabytes. Changing this updates the existing quotaset.
Declaration
public Output<int> Gigabytes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Groups
Quota value for groups. Changing this updates the existing quotaset.
Declaration
public Output<int> Groups { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
PerVolumeGigabytes
Quota value for gigabytes per volume . Changing this updates the existing quotaset.
Declaration
public Output<int> PerVolumeGigabytes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
ProjectId
ID of the project to manage quotas. Changing this creates a new quotaset.
Declaration
public Output<string> ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Region
The region in which to create the volume. If
omitted, the region argument of the provider is used. Changing this
creates a new quotaset.
Declaration
public Output<string> Region { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Snapshots
Quota value for snapshots. Changing this updates the existing quotaset.
Declaration
public Output<int> Snapshots { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Volumes
Quota value for volumes. Changing this updates the existing quotaset.
Declaration
public Output<int> Volumes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Methods
View SourceGet(String, Input<String>, QuoteSetV3State, CustomResourceOptions)
Get an existing QuoteSetV3 resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static QuoteSetV3 Get(string name, Input<string> id, QuoteSetV3State state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| QuoteSetV3State | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| QuoteSetV3 |