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,
});
}
}
Inherited Members
Namespace: Pulumi.OpenStack.Compute
Assembly: Pulumi.OpenStack.dll
Syntax
public class QuotaSetV2 : CustomResource
Constructors
View SourceQuotaSetV2(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 SourceCores
Quota value for cores. Changing this updates the existing quotaset.
Declaration
public Output<int> Cores { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
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> |
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> |
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> |
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> |
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> |
Instances
Quota value for instances. Changing this updates the existing quotaset.
Declaration
public Output<int> Instances { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
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> |
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> |
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> |
Ram
Quota value for RAM. Changing this updates the existing quotaset.
Declaration
public Output<int> Ram { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
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> |
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> |
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> |
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> |
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 SourceGet(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 |