QuotaV2
Manages a V2 networking quota 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.
Create a QuotaV2 Resource
new QuotaV2(name: string, args: QuotaV2Args, opts?: CustomResourceOptions);def QuotaV2(resource_name, opts=None, floatingip=None, network=None, port=None, project_id=None, rbac_policy=None, region=None, router=None, security_group=None, security_group_rule=None, subnet=None, subnetpool=None, __props__=None);func NewQuotaV2(ctx *Context, name string, args QuotaV2Args, opts ...ResourceOption) (*QuotaV2, error)public QuotaV2(string name, QuotaV2Args args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args QuotaV2Args
- 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 QuotaV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args QuotaV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
QuotaV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The QuotaV2 resource accepts the following input properties:
- Project
Id string ID of the project to manage quota. Changing this creates new quota.
- Floatingip int
Quota value for floating IPs. Changing this updates the existing quota.
- Network int
Quota value for networks. Changing this updates the existing quota.
- Port int
Quota value for ports. Changing this updates the existing quota.
- Rbac
Policy int Quota value for RBAC policies. Changing this updates the existing quota.
- Region string
The region in which to create the quota. If omitted, the
regionargument of the provider is used. Changing this creates new quota.- Router int
Quota value for routers. Changing this updates the existing quota.
- Security
Group int Quota value for security groups. Changing this updates the existing quota.
- Security
Group intRule Quota value for security group rules. Changing this updates the existing quota.
- Subnet int
Quota value for subnets. Changing this updates the existing quota.
- Subnetpool int
Quota value for subnetpools. Changing this updates the existing quota.
- Project
Id string ID of the project to manage quota. Changing this creates new quota.
- Floatingip int
Quota value for floating IPs. Changing this updates the existing quota.
- Network int
Quota value for networks. Changing this updates the existing quota.
- Port int
Quota value for ports. Changing this updates the existing quota.
- Rbac
Policy int Quota value for RBAC policies. Changing this updates the existing quota.
- Region string
The region in which to create the quota. If omitted, the
regionargument of the provider is used. Changing this creates new quota.- Router int
Quota value for routers. Changing this updates the existing quota.
- Security
Group int Quota value for security groups. Changing this updates the existing quota.
- Security
Group intRule Quota value for security group rules. Changing this updates the existing quota.
- Subnet int
Quota value for subnets. Changing this updates the existing quota.
- Subnetpool int
Quota value for subnetpools. Changing this updates the existing quota.
- project
Id string ID of the project to manage quota. Changing this creates new quota.
- floatingip number
Quota value for floating IPs. Changing this updates the existing quota.
- network number
Quota value for networks. Changing this updates the existing quota.
- port number
Quota value for ports. Changing this updates the existing quota.
- rbac
Policy number Quota value for RBAC policies. Changing this updates the existing quota.
- region string
The region in which to create the quota. If omitted, the
regionargument of the provider is used. Changing this creates new quota.- router number
Quota value for routers. Changing this updates the existing quota.
- security
Group number Quota value for security groups. Changing this updates the existing quota.
- security
Group numberRule Quota value for security group rules. Changing this updates the existing quota.
- subnet number
Quota value for subnets. Changing this updates the existing quota.
- subnetpool number
Quota value for subnetpools. Changing this updates the existing quota.
- project_
id str ID of the project to manage quota. Changing this creates new quota.
- floatingip float
Quota value for floating IPs. Changing this updates the existing quota.
- network float
Quota value for networks. Changing this updates the existing quota.
- port float
Quota value for ports. Changing this updates the existing quota.
- rbac_
policy float Quota value for RBAC policies. Changing this updates the existing quota.
- region str
The region in which to create the quota. If omitted, the
regionargument of the provider is used. Changing this creates new quota.- router float
Quota value for routers. Changing this updates the existing quota.
- security_
group float Quota value for security groups. Changing this updates the existing quota.
- security_
group_ floatrule Quota value for security group rules. Changing this updates the existing quota.
- subnet float
Quota value for subnets. Changing this updates the existing quota.
- subnetpool float
Quota value for subnetpools. Changing this updates the existing quota.
Outputs
All input properties are implicitly available as output properties. Additionally, the QuotaV2 resource produces the following output properties:
Look up an Existing QuotaV2 Resource
Get an existing QuotaV2 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?: QuotaV2State, opts?: CustomResourceOptions): QuotaV2static get(resource_name, id, opts=None, floatingip=None, network=None, port=None, project_id=None, rbac_policy=None, region=None, router=None, security_group=None, security_group_rule=None, subnet=None, subnetpool=None, __props__=None);func GetQuotaV2(ctx *Context, name string, id IDInput, state *QuotaV2State, opts ...ResourceOption) (*QuotaV2, error)public static QuotaV2 Get(string name, Input<string> id, QuotaV2State? 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:
- Floatingip int
Quota value for floating IPs. Changing this updates the existing quota.
- Network int
Quota value for networks. Changing this updates the existing quota.
- Port int
Quota value for ports. Changing this updates the existing quota.
- Project
Id string ID of the project to manage quota. Changing this creates new quota.
- Rbac
Policy int Quota value for RBAC policies. Changing this updates the existing quota.
- Region string
The region in which to create the quota. If omitted, the
regionargument of the provider is used. Changing this creates new quota.- Router int
Quota value for routers. Changing this updates the existing quota.
- Security
Group int Quota value for security groups. Changing this updates the existing quota.
- Security
Group intRule Quota value for security group rules. Changing this updates the existing quota.
- Subnet int
Quota value for subnets. Changing this updates the existing quota.
- Subnetpool int
Quota value for subnetpools. Changing this updates the existing quota.
- Floatingip int
Quota value for floating IPs. Changing this updates the existing quota.
- Network int
Quota value for networks. Changing this updates the existing quota.
- Port int
Quota value for ports. Changing this updates the existing quota.
- Project
Id string ID of the project to manage quota. Changing this creates new quota.
- Rbac
Policy int Quota value for RBAC policies. Changing this updates the existing quota.
- Region string
The region in which to create the quota. If omitted, the
regionargument of the provider is used. Changing this creates new quota.- Router int
Quota value for routers. Changing this updates the existing quota.
- Security
Group int Quota value for security groups. Changing this updates the existing quota.
- Security
Group intRule Quota value for security group rules. Changing this updates the existing quota.
- Subnet int
Quota value for subnets. Changing this updates the existing quota.
- Subnetpool int
Quota value for subnetpools. Changing this updates the existing quota.
- floatingip number
Quota value for floating IPs. Changing this updates the existing quota.
- network number
Quota value for networks. Changing this updates the existing quota.
- port number
Quota value for ports. Changing this updates the existing quota.
- project
Id string ID of the project to manage quota. Changing this creates new quota.
- rbac
Policy number Quota value for RBAC policies. Changing this updates the existing quota.
- region string
The region in which to create the quota. If omitted, the
regionargument of the provider is used. Changing this creates new quota.- router number
Quota value for routers. Changing this updates the existing quota.
- security
Group number Quota value for security groups. Changing this updates the existing quota.
- security
Group numberRule Quota value for security group rules. Changing this updates the existing quota.
- subnet number
Quota value for subnets. Changing this updates the existing quota.
- subnetpool number
Quota value for subnetpools. Changing this updates the existing quota.
- floatingip float
Quota value for floating IPs. Changing this updates the existing quota.
- network float
Quota value for networks. Changing this updates the existing quota.
- port float
Quota value for ports. Changing this updates the existing quota.
- project_
id str ID of the project to manage quota. Changing this creates new quota.
- rbac_
policy float Quota value for RBAC policies. Changing this updates the existing quota.
- region str
The region in which to create the quota. If omitted, the
regionargument of the provider is used. Changing this creates new quota.- router float
Quota value for routers. Changing this updates the existing quota.
- security_
group float Quota value for security groups. Changing this updates the existing quota.
- security_
group_ floatrule Quota value for security group rules. Changing this updates the existing quota.
- subnet float
Quota value for subnets. Changing this updates the existing quota.
- subnetpool float
Quota value for subnetpools. Changing this updates the existing quota.
Package Details
- Repository
- https://github.com/pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstackTerraform Provider.