Show / Hide Table of Contents

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

}
Inheritance
System.Object
Resource
CustomResource
QuotaSetV2
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.Compute
Assembly: Pulumi.OpenStack.dll
Syntax
public class QuotaSetV2 : CustomResource

Constructors

View Source

QuotaSetV2(String, QuotaSetV2Args, CustomResourceOptions)

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

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

The unique name of the resource

QuotaSetV2Args 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

Cores

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

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

FixedIps

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

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

FloatingIps

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

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

InjectedFileContentBytes

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

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

InjectedFilePathBytes

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

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

InjectedFiles

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

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

Instances

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

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

KeyPairs

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

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

MetadataItems

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

Declaration
public Output<int> MetadataItems { 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

Ram

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

Declaration
public Output<int> Ram { get; }
Property Value
Type Description
Output<System.Int32>
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

SecurityGroupRules

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

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

SecurityGroups

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

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

ServerGroupMembers

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

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

ServerGroups

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

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

Methods

View Source

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

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

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

QuotaSetV2State state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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