Show / Hide Table of Contents

Class 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,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
QuoteSetV2
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.OpenStack.BlockStorage
Assembly: Pulumi.OpenStack.dll
Syntax
public class QuoteSetV2 : CustomResource

Constructors

View Source

QuoteSetV2(String, QuoteSetV2Args, CustomResourceOptions)

Create a QuoteSetV2 resource with the given unique name, arguments, and options.

Declaration
public QuoteSetV2(string name, QuoteSetV2Args args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

QuoteSetV2Args args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

BackupGigabytes

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

Declaration
public Output<int> BackupGigabytes { get; }
Property Value
Type Description
Output<System.Int32>
View Source

Backups

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

Declaration
public Output<int> Backups { get; }
Property Value
Type Description
Output<System.Int32>
View Source

Gigabytes

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

Declaration
public Output<int> Gigabytes { get; }
Property Value
Type Description
Output<System.Int32>
View Source

Groups

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

Declaration
public Output<int> Groups { get; }
Property Value
Type Description
Output<System.Int32>
View Source

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>
View Source

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>
View Source

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>
View Source

Snapshots

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

Declaration
public Output<int> Snapshots { get; }
Property Value
Type Description
Output<System.Int32>
View Source

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 Source

Get(String, Input<String>, QuoteSetV2State, CustomResourceOptions)

Get an existing QuoteSetV2 resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static QuoteSetV2 Get(string name, Input<string> id, QuoteSetV2State 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.

QuoteSetV2State state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
QuoteSetV2
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.