1. Packages
  2. OpenStack
  3. API Docs
  4. blockstorage
  5. QuoteSetV2
OpenStack v3.15.2 published on Friday, Mar 29, 2024 by Pulumi

openstack.blockstorage.QuoteSetV2

Explore with Pulumi AI

openstack logo
OpenStack v3.15.2 published on Friday, Mar 29, 2024 by Pulumi

    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.

    Note: This resource has all-in creation so all optional quota arguments that were not specified are created with zero value. This excludes volume type quota.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as openstack from "@pulumi/openstack";
    
    const project1 = new openstack.identity.Project("project1", {});
    const quotaset1 = new openstack.blockstorage.QuoteSetV2("quotaset1", {
        projectId: project1.id,
        volumes: 10,
        snapshots: 4,
        gigabytes: 100,
        perVolumeGigabytes: 10,
        backups: 4,
        backupGigabytes: 10,
        groups: 100,
        volumeTypeQuota: {
            volumes_ssd: 30,
            gigabytes_ssd: 500,
            snapshots_ssd: 10,
        },
    });
    
    import pulumi
    import pulumi_openstack as openstack
    
    project1 = openstack.identity.Project("project1")
    quotaset1 = openstack.blockstorage.QuoteSetV2("quotaset1",
        project_id=project1.id,
        volumes=10,
        snapshots=4,
        gigabytes=100,
        per_volume_gigabytes=10,
        backups=4,
        backup_gigabytes=10,
        groups=100,
        volume_type_quota={
            "volumes_ssd": 30,
            "gigabytes_ssd": 500,
            "snapshots_ssd": 10,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/blockstorage"
    	"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/identity"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project1, err := identity.NewProject(ctx, "project1", nil)
    		if err != nil {
    			return err
    		}
    		_, err = blockstorage.NewQuoteSetV2(ctx, "quotaset1", &blockstorage.QuoteSetV2Args{
    			ProjectId:          project1.ID(),
    			Volumes:            pulumi.Int(10),
    			Snapshots:          pulumi.Int(4),
    			Gigabytes:          pulumi.Int(100),
    			PerVolumeGigabytes: pulumi.Int(10),
    			Backups:            pulumi.Int(4),
    			BackupGigabytes:    pulumi.Int(10),
    			Groups:             pulumi.Int(100),
    			VolumeTypeQuota: pulumi.Map{
    				"volumes_ssd":   pulumi.Any(30),
    				"gigabytes_ssd": pulumi.Any(500),
    				"snapshots_ssd": pulumi.Any(10),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using OpenStack = Pulumi.OpenStack;
    
    return await Deployment.RunAsync(() => 
    {
        var project1 = new OpenStack.Identity.Project("project1");
    
        var quotaset1 = new OpenStack.BlockStorage.QuoteSetV2("quotaset1", new()
        {
            ProjectId = project1.Id,
            Volumes = 10,
            Snapshots = 4,
            Gigabytes = 100,
            PerVolumeGigabytes = 10,
            Backups = 4,
            BackupGigabytes = 10,
            Groups = 100,
            VolumeTypeQuota = 
            {
                { "volumes_ssd", 30 },
                { "gigabytes_ssd", 500 },
                { "snapshots_ssd", 10 },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.openstack.identity.Project;
    import com.pulumi.openstack.blockstorage.QuoteSetV2;
    import com.pulumi.openstack.blockstorage.QuoteSetV2Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var project1 = new Project("project1");
    
            var quotaset1 = new QuoteSetV2("quotaset1", QuoteSetV2Args.builder()        
                .projectId(project1.id())
                .volumes(10)
                .snapshots(4)
                .gigabytes(100)
                .perVolumeGigabytes(10)
                .backups(4)
                .backupGigabytes(10)
                .groups(100)
                .volumeTypeQuota(Map.ofEntries(
                    Map.entry("volumes_ssd", 30),
                    Map.entry("gigabytes_ssd", 500),
                    Map.entry("snapshots_ssd", 10)
                ))
                .build());
    
        }
    }
    
    resources:
      project1:
        type: openstack:identity:Project
      quotaset1:
        type: openstack:blockstorage:QuoteSetV2
        properties:
          projectId: ${project1.id}
          volumes: 10
          snapshots: 4
          gigabytes: 100
          perVolumeGigabytes: 10
          backups: 4
          backupGigabytes: 10
          groups: 100
          volumeTypeQuota:
            volumes_ssd: 30
            gigabytes_ssd: 500
            snapshots_ssd: 10
    

    Create QuoteSetV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new QuoteSetV2(name: string, args: QuoteSetV2Args, opts?: CustomResourceOptions);
    @overload
    def QuoteSetV2(resource_name: str,
                   args: QuoteSetV2Args,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def QuoteSetV2(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   project_id: Optional[str] = None,
                   backup_gigabytes: Optional[int] = None,
                   backups: Optional[int] = None,
                   gigabytes: Optional[int] = None,
                   groups: Optional[int] = None,
                   per_volume_gigabytes: Optional[int] = None,
                   region: Optional[str] = None,
                   snapshots: Optional[int] = None,
                   volume_type_quota: Optional[Mapping[str, Any]] = None,
                   volumes: Optional[int] = None)
    func NewQuoteSetV2(ctx *Context, name string, args QuoteSetV2Args, opts ...ResourceOption) (*QuoteSetV2, error)
    public QuoteSetV2(string name, QuoteSetV2Args args, CustomResourceOptions? opts = null)
    public QuoteSetV2(String name, QuoteSetV2Args args)
    public QuoteSetV2(String name, QuoteSetV2Args args, CustomResourceOptions options)
    
    type: openstack:blockstorage:QuoteSetV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args QuoteSetV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args QuoteSetV2Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args QuoteSetV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args QuoteSetV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args QuoteSetV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var quoteSetV2Resource = new OpenStack.BlockStorage.QuoteSetV2("quoteSetV2Resource", new()
    {
        ProjectId = "string",
        BackupGigabytes = 0,
        Backups = 0,
        Gigabytes = 0,
        Groups = 0,
        PerVolumeGigabytes = 0,
        Region = "string",
        Snapshots = 0,
        VolumeTypeQuota = 
        {
            { "string", "any" },
        },
        Volumes = 0,
    });
    
    example, err := blockstorage.NewQuoteSetV2(ctx, "quoteSetV2Resource", &blockstorage.QuoteSetV2Args{
    	ProjectId:          pulumi.String("string"),
    	BackupGigabytes:    pulumi.Int(0),
    	Backups:            pulumi.Int(0),
    	Gigabytes:          pulumi.Int(0),
    	Groups:             pulumi.Int(0),
    	PerVolumeGigabytes: pulumi.Int(0),
    	Region:             pulumi.String("string"),
    	Snapshots:          pulumi.Int(0),
    	VolumeTypeQuota: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Volumes: pulumi.Int(0),
    })
    
    var quoteSetV2Resource = new QuoteSetV2("quoteSetV2Resource", QuoteSetV2Args.builder()        
        .projectId("string")
        .backupGigabytes(0)
        .backups(0)
        .gigabytes(0)
        .groups(0)
        .perVolumeGigabytes(0)
        .region("string")
        .snapshots(0)
        .volumeTypeQuota(Map.of("string", "any"))
        .volumes(0)
        .build());
    
    quote_set_v2_resource = openstack.blockstorage.QuoteSetV2("quoteSetV2Resource",
        project_id="string",
        backup_gigabytes=0,
        backups=0,
        gigabytes=0,
        groups=0,
        per_volume_gigabytes=0,
        region="string",
        snapshots=0,
        volume_type_quota={
            "string": "any",
        },
        volumes=0)
    
    const quoteSetV2Resource = new openstack.blockstorage.QuoteSetV2("quoteSetV2Resource", {
        projectId: "string",
        backupGigabytes: 0,
        backups: 0,
        gigabytes: 0,
        groups: 0,
        perVolumeGigabytes: 0,
        region: "string",
        snapshots: 0,
        volumeTypeQuota: {
            string: "any",
        },
        volumes: 0,
    });
    
    type: openstack:blockstorage:QuoteSetV2
    properties:
        backupGigabytes: 0
        backups: 0
        gigabytes: 0
        groups: 0
        perVolumeGigabytes: 0
        projectId: string
        region: string
        snapshots: 0
        volumeTypeQuota:
            string: any
        volumes: 0
    

    QuoteSetV2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The QuoteSetV2 resource accepts the following input properties:

    ProjectId string
    ID of the project to manage quotas. Changing this creates a new quotaset.
    BackupGigabytes int
    Quota value for backup gigabytes. Changing this updates the existing quotaset.
    Backups int
    Quota value for backups. Changing this updates the existing quotaset.
    Gigabytes int
    Quota value for gigabytes. Changing this updates the existing quotaset.
    Groups int
    Quota value for groups. Changing this updates the existing quotaset.
    PerVolumeGigabytes int
    Quota value for gigabytes per volume . Changing this updates the existing quotaset.
    Region string
    The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.
    Snapshots int
    Quota value for snapshots. Changing this updates the existing quotaset.
    VolumeTypeQuota Dictionary<string, object>
    Key/Value pairs for setting quota for volumes types. Possible keys are snapshots_<volume_type_name>, volumes_<volume_type_name> and gigabytes_<volume_type_name>.
    Volumes int
    Quota value for volumes. Changing this updates the existing quotaset.
    ProjectId string
    ID of the project to manage quotas. Changing this creates a new quotaset.
    BackupGigabytes int
    Quota value for backup gigabytes. Changing this updates the existing quotaset.
    Backups int
    Quota value for backups. Changing this updates the existing quotaset.
    Gigabytes int
    Quota value for gigabytes. Changing this updates the existing quotaset.
    Groups int
    Quota value for groups. Changing this updates the existing quotaset.
    PerVolumeGigabytes int
    Quota value for gigabytes per volume . Changing this updates the existing quotaset.
    Region string
    The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.
    Snapshots int
    Quota value for snapshots. Changing this updates the existing quotaset.
    VolumeTypeQuota map[string]interface{}
    Key/Value pairs for setting quota for volumes types. Possible keys are snapshots_<volume_type_name>, volumes_<volume_type_name> and gigabytes_<volume_type_name>.
    Volumes int
    Quota value for volumes. Changing this updates the existing quotaset.
    projectId String
    ID of the project to manage quotas. Changing this creates a new quotaset.
    backupGigabytes Integer
    Quota value for backup gigabytes. Changing this updates the existing quotaset.
    backups Integer
    Quota value for backups. Changing this updates the existing quotaset.
    gigabytes Integer
    Quota value for gigabytes. Changing this updates the existing quotaset.
    groups Integer
    Quota value for groups. Changing this updates the existing quotaset.
    perVolumeGigabytes Integer
    Quota value for gigabytes per volume . Changing this updates the existing quotaset.
    region String
    The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.
    snapshots Integer
    Quota value for snapshots. Changing this updates the existing quotaset.
    volumeTypeQuota Map<String,Object>
    Key/Value pairs for setting quota for volumes types. Possible keys are snapshots_<volume_type_name>, volumes_<volume_type_name> and gigabytes_<volume_type_name>.
    volumes Integer
    Quota value for volumes. Changing this updates the existing quotaset.
    projectId string
    ID of the project to manage quotas. Changing this creates a new quotaset.
    backupGigabytes number
    Quota value for backup gigabytes. Changing this updates the existing quotaset.
    backups number
    Quota value for backups. Changing this updates the existing quotaset.
    gigabytes number
    Quota value for gigabytes. Changing this updates the existing quotaset.
    groups number
    Quota value for groups. Changing this updates the existing quotaset.
    perVolumeGigabytes number
    Quota value for gigabytes per volume . Changing this updates the existing quotaset.
    region string
    The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.
    snapshots number
    Quota value for snapshots. Changing this updates the existing quotaset.
    volumeTypeQuota {[key: string]: any}
    Key/Value pairs for setting quota for volumes types. Possible keys are snapshots_<volume_type_name>, volumes_<volume_type_name> and gigabytes_<volume_type_name>.
    volumes number
    Quota value for volumes. Changing this updates the existing quotaset.
    project_id str
    ID of the project to manage quotas. Changing this creates a new quotaset.
    backup_gigabytes int
    Quota value for backup gigabytes. Changing this updates the existing quotaset.
    backups int
    Quota value for backups. Changing this updates the existing quotaset.
    gigabytes int
    Quota value for gigabytes. Changing this updates the existing quotaset.
    groups int
    Quota value for groups. Changing this updates the existing quotaset.
    per_volume_gigabytes int
    Quota value for gigabytes per volume . Changing this updates the existing quotaset.
    region str
    The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.
    snapshots int
    Quota value for snapshots. Changing this updates the existing quotaset.
    volume_type_quota Mapping[str, Any]
    Key/Value pairs for setting quota for volumes types. Possible keys are snapshots_<volume_type_name>, volumes_<volume_type_name> and gigabytes_<volume_type_name>.
    volumes int
    Quota value for volumes. Changing this updates the existing quotaset.
    projectId String
    ID of the project to manage quotas. Changing this creates a new quotaset.
    backupGigabytes Number
    Quota value for backup gigabytes. Changing this updates the existing quotaset.
    backups Number
    Quota value for backups. Changing this updates the existing quotaset.
    gigabytes Number
    Quota value for gigabytes. Changing this updates the existing quotaset.
    groups Number
    Quota value for groups. Changing this updates the existing quotaset.
    perVolumeGigabytes Number
    Quota value for gigabytes per volume . Changing this updates the existing quotaset.
    region String
    The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.
    snapshots Number
    Quota value for snapshots. Changing this updates the existing quotaset.
    volumeTypeQuota Map<Any>
    Key/Value pairs for setting quota for volumes types. Possible keys are snapshots_<volume_type_name>, volumes_<volume_type_name> and gigabytes_<volume_type_name>.
    volumes Number
    Quota value for volumes. Changing this updates the existing quotaset.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the QuoteSetV2 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing QuoteSetV2 Resource

    Get an existing QuoteSetV2 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?: QuoteSetV2State, opts?: CustomResourceOptions): QuoteSetV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            backup_gigabytes: Optional[int] = None,
            backups: Optional[int] = None,
            gigabytes: Optional[int] = None,
            groups: Optional[int] = None,
            per_volume_gigabytes: Optional[int] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            snapshots: Optional[int] = None,
            volume_type_quota: Optional[Mapping[str, Any]] = None,
            volumes: Optional[int] = None) -> QuoteSetV2
    func GetQuoteSetV2(ctx *Context, name string, id IDInput, state *QuoteSetV2State, opts ...ResourceOption) (*QuoteSetV2, error)
    public static QuoteSetV2 Get(string name, Input<string> id, QuoteSetV2State? state, CustomResourceOptions? opts = null)
    public static QuoteSetV2 get(String name, Output<String> id, QuoteSetV2State state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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:
    BackupGigabytes int
    Quota value for backup gigabytes. Changing this updates the existing quotaset.
    Backups int
    Quota value for backups. Changing this updates the existing quotaset.
    Gigabytes int
    Quota value for gigabytes. Changing this updates the existing quotaset.
    Groups int
    Quota value for groups. Changing this updates the existing quotaset.
    PerVolumeGigabytes int
    Quota value for gigabytes per volume . Changing this updates the existing quotaset.
    ProjectId string
    ID of the project to manage quotas. Changing this creates a new quotaset.
    Region string
    The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.
    Snapshots int
    Quota value for snapshots. Changing this updates the existing quotaset.
    VolumeTypeQuota Dictionary<string, object>
    Key/Value pairs for setting quota for volumes types. Possible keys are snapshots_<volume_type_name>, volumes_<volume_type_name> and gigabytes_<volume_type_name>.
    Volumes int
    Quota value for volumes. Changing this updates the existing quotaset.
    BackupGigabytes int
    Quota value for backup gigabytes. Changing this updates the existing quotaset.
    Backups int
    Quota value for backups. Changing this updates the existing quotaset.
    Gigabytes int
    Quota value for gigabytes. Changing this updates the existing quotaset.
    Groups int
    Quota value for groups. Changing this updates the existing quotaset.
    PerVolumeGigabytes int
    Quota value for gigabytes per volume . Changing this updates the existing quotaset.
    ProjectId string
    ID of the project to manage quotas. Changing this creates a new quotaset.
    Region string
    The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.
    Snapshots int
    Quota value for snapshots. Changing this updates the existing quotaset.
    VolumeTypeQuota map[string]interface{}
    Key/Value pairs for setting quota for volumes types. Possible keys are snapshots_<volume_type_name>, volumes_<volume_type_name> and gigabytes_<volume_type_name>.
    Volumes int
    Quota value for volumes. Changing this updates the existing quotaset.
    backupGigabytes Integer
    Quota value for backup gigabytes. Changing this updates the existing quotaset.
    backups Integer
    Quota value for backups. Changing this updates the existing quotaset.
    gigabytes Integer
    Quota value for gigabytes. Changing this updates the existing quotaset.
    groups Integer
    Quota value for groups. Changing this updates the existing quotaset.
    perVolumeGigabytes Integer
    Quota value for gigabytes per volume . Changing this updates the existing quotaset.
    projectId String
    ID of the project to manage quotas. Changing this creates a new quotaset.
    region String
    The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.
    snapshots Integer
    Quota value for snapshots. Changing this updates the existing quotaset.
    volumeTypeQuota Map<String,Object>
    Key/Value pairs for setting quota for volumes types. Possible keys are snapshots_<volume_type_name>, volumes_<volume_type_name> and gigabytes_<volume_type_name>.
    volumes Integer
    Quota value for volumes. Changing this updates the existing quotaset.
    backupGigabytes number
    Quota value for backup gigabytes. Changing this updates the existing quotaset.
    backups number
    Quota value for backups. Changing this updates the existing quotaset.
    gigabytes number
    Quota value for gigabytes. Changing this updates the existing quotaset.
    groups number
    Quota value for groups. Changing this updates the existing quotaset.
    perVolumeGigabytes number
    Quota value for gigabytes per volume . Changing this updates the existing quotaset.
    projectId string
    ID of the project to manage quotas. Changing this creates a new quotaset.
    region string
    The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.
    snapshots number
    Quota value for snapshots. Changing this updates the existing quotaset.
    volumeTypeQuota {[key: string]: any}
    Key/Value pairs for setting quota for volumes types. Possible keys are snapshots_<volume_type_name>, volumes_<volume_type_name> and gigabytes_<volume_type_name>.
    volumes number
    Quota value for volumes. Changing this updates the existing quotaset.
    backup_gigabytes int
    Quota value for backup gigabytes. Changing this updates the existing quotaset.
    backups int
    Quota value for backups. Changing this updates the existing quotaset.
    gigabytes int
    Quota value for gigabytes. Changing this updates the existing quotaset.
    groups int
    Quota value for groups. Changing this updates the existing quotaset.
    per_volume_gigabytes int
    Quota value for gigabytes per volume . Changing this updates the existing quotaset.
    project_id str
    ID of the project to manage quotas. Changing this creates a new quotaset.
    region str
    The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.
    snapshots int
    Quota value for snapshots. Changing this updates the existing quotaset.
    volume_type_quota Mapping[str, Any]
    Key/Value pairs for setting quota for volumes types. Possible keys are snapshots_<volume_type_name>, volumes_<volume_type_name> and gigabytes_<volume_type_name>.
    volumes int
    Quota value for volumes. Changing this updates the existing quotaset.
    backupGigabytes Number
    Quota value for backup gigabytes. Changing this updates the existing quotaset.
    backups Number
    Quota value for backups. Changing this updates the existing quotaset.
    gigabytes Number
    Quota value for gigabytes. Changing this updates the existing quotaset.
    groups Number
    Quota value for groups. Changing this updates the existing quotaset.
    perVolumeGigabytes Number
    Quota value for gigabytes per volume . Changing this updates the existing quotaset.
    projectId String
    ID of the project to manage quotas. Changing this creates a new quotaset.
    region String
    The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.
    snapshots Number
    Quota value for snapshots. Changing this updates the existing quotaset.
    volumeTypeQuota Map<Any>
    Key/Value pairs for setting quota for volumes types. Possible keys are snapshots_<volume_type_name>, volumes_<volume_type_name> and gigabytes_<volume_type_name>.
    volumes Number
    Quota value for volumes. Changing this updates the existing quotaset.

    Import

    Quotasets can be imported using the project_id/region, e.g.

    $ pulumi import openstack:blockstorage/quoteSetV2:QuoteSetV2 quotaset_1 2a0f2240-c5e6-41de-896d-e80d97428d6b/region_1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    OpenStack pulumi/pulumi-openstack
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the openstack Terraform Provider.
    openstack logo
    OpenStack v3.15.2 published on Friday, Mar 29, 2024 by Pulumi