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,
});
}
}
Coming soon!
import pulumi
import pulumi_openstack as openstack
project1 = openstack.identity.Project("project1")
quotaset1 = openstack.compute.QuotaSetV2("quotaset1",
project_id=project1.id,
key_pairs=10,
ram=40960,
cores=32,
instances=20,
server_groups=4,
server_group_members=8)import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const project1 = new openstack.identity.Project("project1", {});
const quotaset1 = new openstack.compute.QuotaSetV2("quotaset1", {
projectId: project1.id,
keyPairs: 10,
ram: 40960,
cores: 32,
instances: 20,
serverGroups: 4,
serverGroupMembers: 8,
});Create a QuotaSetV2 Resource
new QuotaSetV2(name: string, args: QuotaSetV2Args, opts?: CustomResourceOptions);def QuotaSetV2(resource_name, opts=None, cores=None, fixed_ips=None, floating_ips=None, injected_file_content_bytes=None, injected_file_path_bytes=None, injected_files=None, instances=None, key_pairs=None, metadata_items=None, project_id=None, ram=None, region=None, security_group_rules=None, security_groups=None, server_group_members=None, server_groups=None, __props__=None);func NewQuotaSetV2(ctx *Context, name string, args QuotaSetV2Args, opts ...ResourceOption) (*QuotaSetV2, error)public QuotaSetV2(string name, QuotaSetV2Args args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args QuotaSetV2Args
- 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 QuotaSetV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args QuotaSetV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
QuotaSetV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The QuotaSetV2 resource accepts the following input properties:
- Project
Id string ID of the project to manage quotas. Changing this creates a new quotaset.
- Cores int
Quota value for cores. Changing this updates the existing quotaset.
- Fixed
Ips int Quota value for fixed IPs. Changing this updates the existing quotaset.
- Floating
Ips int Quota value for floating IPs. Changing this updates the existing quotaset.
- Injected
File intContent Bytes Quota value for content bytes of injected files. Changing this updates the existing quotaset.
- Injected
File intPath Bytes Quota value for path bytes of injected files. Changing this updates the existing quotaset.
- Injected
Files int Quota value for injected files. Changing this updates the existing quotaset.
- Instances int
Quota value for instances. Changing this updates the existing quotaset.
- Key
Pairs int Quota value for key pairs. Changing this updates the existing quotaset.
- Metadata
Items int Quota value for metadata items. Changing this updates the existing quotaset.
- Ram int
Quota value for RAM. 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.- Security
Group intRules Quota value for security group rules. Changing this updates the existing quotaset.
- Security
Groups int Quota value for security groups. Changing this updates the existing quotaset.
- Server
Group intMembers Quota value for server groups members. Changing this updates the existing quotaset.
- Server
Groups int Quota value for server groups. Changing this updates the existing quotaset.
- Project
Id string ID of the project to manage quotas. Changing this creates a new quotaset.
- Cores int
Quota value for cores. Changing this updates the existing quotaset.
- Fixed
Ips int Quota value for fixed IPs. Changing this updates the existing quotaset.
- Floating
Ips int Quota value for floating IPs. Changing this updates the existing quotaset.
- Injected
File intContent Bytes Quota value for content bytes of injected files. Changing this updates the existing quotaset.
- Injected
File intPath Bytes Quota value for path bytes of injected files. Changing this updates the existing quotaset.
- Injected
Files int Quota value for injected files. Changing this updates the existing quotaset.
- Instances int
Quota value for instances. Changing this updates the existing quotaset.
- Key
Pairs int Quota value for key pairs. Changing this updates the existing quotaset.
- Metadata
Items int Quota value for metadata items. Changing this updates the existing quotaset.
- Ram int
Quota value for RAM. 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.- Security
Group intRules Quota value for security group rules. Changing this updates the existing quotaset.
- Security
Groups int Quota value for security groups. Changing this updates the existing quotaset.
- Server
Group intMembers Quota value for server groups members. Changing this updates the existing quotaset.
- Server
Groups int Quota value for server groups. Changing this updates the existing quotaset.
- project
Id string ID of the project to manage quotas. Changing this creates a new quotaset.
- cores number
Quota value for cores. Changing this updates the existing quotaset.
- fixed
Ips number Quota value for fixed IPs. Changing this updates the existing quotaset.
- floating
Ips number Quota value for floating IPs. Changing this updates the existing quotaset.
- injected
File numberContent Bytes Quota value for content bytes of injected files. Changing this updates the existing quotaset.
- injected
File numberPath Bytes Quota value for path bytes of injected files. Changing this updates the existing quotaset.
- injected
Files number Quota value for injected files. Changing this updates the existing quotaset.
- instances number
Quota value for instances. Changing this updates the existing quotaset.
- key
Pairs number Quota value for key pairs. Changing this updates the existing quotaset.
- metadata
Items number Quota value for metadata items. Changing this updates the existing quotaset.
- ram number
Quota value for RAM. 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.- security
Group numberRules Quota value for security group rules. Changing this updates the existing quotaset.
- security
Groups number Quota value for security groups. Changing this updates the existing quotaset.
- server
Group numberMembers Quota value for server groups members. Changing this updates the existing quotaset.
- server
Groups number Quota value for server groups. Changing this updates the existing quotaset.
- project_
id str ID of the project to manage quotas. Changing this creates a new quotaset.
- cores float
Quota value for cores. Changing this updates the existing quotaset.
- fixed_
ips float Quota value for fixed IPs. Changing this updates the existing quotaset.
- floating_
ips float Quota value for floating IPs. Changing this updates the existing quotaset.
- injected_
file_ floatcontent_ bytes Quota value for content bytes of injected files. Changing this updates the existing quotaset.
- injected_
file_ floatpath_ bytes Quota value for path bytes of injected files. Changing this updates the existing quotaset.
- injected_
files float Quota value for injected files. Changing this updates the existing quotaset.
- instances float
Quota value for instances. Changing this updates the existing quotaset.
- key_
pairs float Quota value for key pairs. Changing this updates the existing quotaset.
- metadata_
items float Quota value for metadata items. Changing this updates the existing quotaset.
- ram float
Quota value for RAM. 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.- security_
group_ floatrules Quota value for security group rules. Changing this updates the existing quotaset.
- security_
groups float Quota value for security groups. Changing this updates the existing quotaset.
- server_
group_ floatmembers Quota value for server groups members. Changing this updates the existing quotaset.
- server_
groups float Quota value for server groups. Changing this updates the existing quotaset.
Outputs
All input properties are implicitly available as output properties. Additionally, the QuotaSetV2 resource produces the following output properties:
Look up an Existing QuotaSetV2 Resource
Get an existing QuotaSetV2 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?: QuotaSetV2State, opts?: CustomResourceOptions): QuotaSetV2static get(resource_name, id, opts=None, cores=None, fixed_ips=None, floating_ips=None, injected_file_content_bytes=None, injected_file_path_bytes=None, injected_files=None, instances=None, key_pairs=None, metadata_items=None, project_id=None, ram=None, region=None, security_group_rules=None, security_groups=None, server_group_members=None, server_groups=None, __props__=None);func GetQuotaSetV2(ctx *Context, name string, id IDInput, state *QuotaSetV2State, opts ...ResourceOption) (*QuotaSetV2, error)public static QuotaSetV2 Get(string name, Input<string> id, QuotaSetV2State? 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:
- Cores int
Quota value for cores. Changing this updates the existing quotaset.
- Fixed
Ips int Quota value for fixed IPs. Changing this updates the existing quotaset.
- Floating
Ips int Quota value for floating IPs. Changing this updates the existing quotaset.
- Injected
File intContent Bytes Quota value for content bytes of injected files. Changing this updates the existing quotaset.
- Injected
File intPath Bytes Quota value for path bytes of injected files. Changing this updates the existing quotaset.
- Injected
Files int Quota value for injected files. Changing this updates the existing quotaset.
- Instances int
Quota value for instances. Changing this updates the existing quotaset.
- Key
Pairs int Quota value for key pairs. Changing this updates the existing quotaset.
- Metadata
Items int Quota value for metadata items. Changing this updates the existing quotaset.
- Project
Id string ID of the project to manage quotas. Changing this creates a new quotaset.
- Ram int
Quota value for RAM. 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.- Security
Group intRules Quota value for security group rules. Changing this updates the existing quotaset.
- Security
Groups int Quota value for security groups. Changing this updates the existing quotaset.
- Server
Group intMembers Quota value for server groups members. Changing this updates the existing quotaset.
- Server
Groups int Quota value for server groups. Changing this updates the existing quotaset.
- Cores int
Quota value for cores. Changing this updates the existing quotaset.
- Fixed
Ips int Quota value for fixed IPs. Changing this updates the existing quotaset.
- Floating
Ips int Quota value for floating IPs. Changing this updates the existing quotaset.
- Injected
File intContent Bytes Quota value for content bytes of injected files. Changing this updates the existing quotaset.
- Injected
File intPath Bytes Quota value for path bytes of injected files. Changing this updates the existing quotaset.
- Injected
Files int Quota value for injected files. Changing this updates the existing quotaset.
- Instances int
Quota value for instances. Changing this updates the existing quotaset.
- Key
Pairs int Quota value for key pairs. Changing this updates the existing quotaset.
- Metadata
Items int Quota value for metadata items. Changing this updates the existing quotaset.
- Project
Id string ID of the project to manage quotas. Changing this creates a new quotaset.
- Ram int
Quota value for RAM. 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.- Security
Group intRules Quota value for security group rules. Changing this updates the existing quotaset.
- Security
Groups int Quota value for security groups. Changing this updates the existing quotaset.
- Server
Group intMembers Quota value for server groups members. Changing this updates the existing quotaset.
- Server
Groups int Quota value for server groups. Changing this updates the existing quotaset.
- cores number
Quota value for cores. Changing this updates the existing quotaset.
- fixed
Ips number Quota value for fixed IPs. Changing this updates the existing quotaset.
- floating
Ips number Quota value for floating IPs. Changing this updates the existing quotaset.
- injected
File numberContent Bytes Quota value for content bytes of injected files. Changing this updates the existing quotaset.
- injected
File numberPath Bytes Quota value for path bytes of injected files. Changing this updates the existing quotaset.
- injected
Files number Quota value for injected files. Changing this updates the existing quotaset.
- instances number
Quota value for instances. Changing this updates the existing quotaset.
- key
Pairs number Quota value for key pairs. Changing this updates the existing quotaset.
- metadata
Items number Quota value for metadata items. Changing this updates the existing quotaset.
- project
Id string ID of the project to manage quotas. Changing this creates a new quotaset.
- ram number
Quota value for RAM. 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.- security
Group numberRules Quota value for security group rules. Changing this updates the existing quotaset.
- security
Groups number Quota value for security groups. Changing this updates the existing quotaset.
- server
Group numberMembers Quota value for server groups members. Changing this updates the existing quotaset.
- server
Groups number Quota value for server groups. Changing this updates the existing quotaset.
- cores float
Quota value for cores. Changing this updates the existing quotaset.
- fixed_
ips float Quota value for fixed IPs. Changing this updates the existing quotaset.
- floating_
ips float Quota value for floating IPs. Changing this updates the existing quotaset.
- injected_
file_ floatcontent_ bytes Quota value for content bytes of injected files. Changing this updates the existing quotaset.
- injected_
file_ floatpath_ bytes Quota value for path bytes of injected files. Changing this updates the existing quotaset.
- injected_
files float Quota value for injected files. Changing this updates the existing quotaset.
- instances float
Quota value for instances. Changing this updates the existing quotaset.
- key_
pairs float Quota value for key pairs. Changing this updates the existing quotaset.
- metadata_
items float Quota value for metadata items. Changing this updates the existing quotaset.
- project_
id str ID of the project to manage quotas. Changing this creates a new quotaset.
- ram float
Quota value for RAM. 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.- security_
group_ floatrules Quota value for security group rules. Changing this updates the existing quotaset.
- security_
groups float Quota value for security groups. Changing this updates the existing quotaset.
- server_
group_ floatmembers Quota value for server groups members. Changing this updates the existing quotaset.
- server_
groups float Quota value for server groups. 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.