powerscale.Quota
Explore with Pulumi AI
This resource is used to manage the Quota entity of PowerScale Array. Quota module monitors and enforces administrator-defined storage limits. We can Create, Update and Delete the Quota using this resource. We can also import an existing Quota from PowerScale array.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as powerscale from "@pulumi/powerscale";
const quotaTest = new powerscale.Quota("quotaTest", {
includeSnapshots: false,
path: "/ifs/example_quota",
type: "user",
});
import pulumi
import pulumi_powerscale as powerscale
quota_test = powerscale.Quota("quotaTest",
include_snapshots=False,
path="/ifs/example_quota",
type="user")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/powerscale/powerscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := powerscale.NewQuota(ctx, "quotaTest", &powerscale.QuotaArgs{
IncludeSnapshots: pulumi.Bool(false),
Path: pulumi.String("/ifs/example_quota"),
Type: pulumi.String("user"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Powerscale = Pulumi.Powerscale;
return await Deployment.RunAsync(() =>
{
var quotaTest = new Powerscale.Quota("quotaTest", new()
{
IncludeSnapshots = false,
Path = "/ifs/example_quota",
Type = "user",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.powerscale.Quota;
import com.pulumi.powerscale.QuotaArgs;
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 quotaTest = new Quota("quotaTest", QuotaArgs.builder()
.includeSnapshots("false")
.path("/ifs/example_quota")
.type("user")
.build());
}
}
resources:
quotaTest:
type: powerscale:Quota
properties:
includeSnapshots: 'false'
# Required and update not supported
path: /ifs/example_quota
type: user
Create Quota Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Quota(name: string, args: QuotaArgs, opts?: CustomResourceOptions);
@overload
def Quota(resource_name: str,
args: QuotaArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Quota(resource_name: str,
opts: Optional[ResourceOptions] = None,
include_snapshots: Optional[bool] = None,
path: Optional[str] = None,
type: Optional[str] = None,
container: Optional[bool] = None,
enforced: Optional[bool] = None,
force: Optional[bool] = None,
ignore_limit_checks: Optional[bool] = None,
linked: Optional[bool] = None,
persona: Optional[QuotaPersonaArgs] = None,
thresholds: Optional[QuotaThresholdsArgs] = None,
thresholds_on: Optional[str] = None,
zone: Optional[str] = None)
func NewQuota(ctx *Context, name string, args QuotaArgs, opts ...ResourceOption) (*Quota, error)
public Quota(string name, QuotaArgs args, CustomResourceOptions? opts = null)
type: powerscale:Quota
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 QuotaArgs
- 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 QuotaArgs
- 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 QuotaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args QuotaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args QuotaArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var quotaResource = new Powerscale.Quota("quotaResource", new()
{
IncludeSnapshots = false,
Path = "string",
Type = "string",
Container = false,
Enforced = false,
Force = false,
IgnoreLimitChecks = false,
Linked = false,
Persona = new Powerscale.Inputs.QuotaPersonaArgs
{
Id = "string",
Name = "string",
Type = "string",
},
Thresholds = new Powerscale.Inputs.QuotaThresholdsArgs
{
Advisory = 0,
AdvisoryExceeded = false,
AdvisoryLastExceeded = 0,
Hard = 0,
HardExceeded = false,
HardLastExceeded = 0,
PercentAdvisory = 0,
PercentSoft = 0,
Soft = 0,
SoftExceeded = false,
SoftGrace = 0,
SoftLastExceeded = 0,
},
ThresholdsOn = "string",
Zone = "string",
});
example, err := powerscale.NewQuota(ctx, "quotaResource", &powerscale.QuotaArgs{
IncludeSnapshots: pulumi.Bool(false),
Path: pulumi.String("string"),
Type: pulumi.String("string"),
Container: pulumi.Bool(false),
Enforced: pulumi.Bool(false),
Force: pulumi.Bool(false),
IgnoreLimitChecks: pulumi.Bool(false),
Linked: pulumi.Bool(false),
Persona: &powerscale.QuotaPersonaArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
Thresholds: &powerscale.QuotaThresholdsArgs{
Advisory: pulumi.Float64(0),
AdvisoryExceeded: pulumi.Bool(false),
AdvisoryLastExceeded: pulumi.Float64(0),
Hard: pulumi.Float64(0),
HardExceeded: pulumi.Bool(false),
HardLastExceeded: pulumi.Float64(0),
PercentAdvisory: pulumi.Float64(0),
PercentSoft: pulumi.Float64(0),
Soft: pulumi.Float64(0),
SoftExceeded: pulumi.Bool(false),
SoftGrace: pulumi.Float64(0),
SoftLastExceeded: pulumi.Float64(0),
},
ThresholdsOn: pulumi.String("string"),
Zone: pulumi.String("string"),
})
var quotaResource = new Quota("quotaResource", QuotaArgs.builder()
.includeSnapshots(false)
.path("string")
.type("string")
.container(false)
.enforced(false)
.force(false)
.ignoreLimitChecks(false)
.linked(false)
.persona(QuotaPersonaArgs.builder()
.id("string")
.name("string")
.type("string")
.build())
.thresholds(QuotaThresholdsArgs.builder()
.advisory(0)
.advisoryExceeded(false)
.advisoryLastExceeded(0)
.hard(0)
.hardExceeded(false)
.hardLastExceeded(0)
.percentAdvisory(0)
.percentSoft(0)
.soft(0)
.softExceeded(false)
.softGrace(0)
.softLastExceeded(0)
.build())
.thresholdsOn("string")
.zone("string")
.build());
quota_resource = powerscale.Quota("quotaResource",
include_snapshots=False,
path="string",
type="string",
container=False,
enforced=False,
force=False,
ignore_limit_checks=False,
linked=False,
persona={
"id": "string",
"name": "string",
"type": "string",
},
thresholds={
"advisory": 0,
"advisory_exceeded": False,
"advisory_last_exceeded": 0,
"hard": 0,
"hard_exceeded": False,
"hard_last_exceeded": 0,
"percent_advisory": 0,
"percent_soft": 0,
"soft": 0,
"soft_exceeded": False,
"soft_grace": 0,
"soft_last_exceeded": 0,
},
thresholds_on="string",
zone="string")
const quotaResource = new powerscale.Quota("quotaResource", {
includeSnapshots: false,
path: "string",
type: "string",
container: false,
enforced: false,
force: false,
ignoreLimitChecks: false,
linked: false,
persona: {
id: "string",
name: "string",
type: "string",
},
thresholds: {
advisory: 0,
advisoryExceeded: false,
advisoryLastExceeded: 0,
hard: 0,
hardExceeded: false,
hardLastExceeded: 0,
percentAdvisory: 0,
percentSoft: 0,
soft: 0,
softExceeded: false,
softGrace: 0,
softLastExceeded: 0,
},
thresholdsOn: "string",
zone: "string",
});
type: powerscale:Quota
properties:
container: false
enforced: false
force: false
ignoreLimitChecks: false
includeSnapshots: false
linked: false
path: string
persona:
id: string
name: string
type: string
thresholds:
advisory: 0
advisoryExceeded: false
advisoryLastExceeded: 0
hard: 0
hardExceeded: false
hardLastExceeded: 0
percentAdvisory: 0
percentSoft: 0
soft: 0
softExceeded: false
softGrace: 0
softLastExceeded: 0
thresholdsOn: string
type: string
zone: string
Quota Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Quota resource accepts the following input properties:
- Include
Snapshots bool - If true, quota governs snapshot data as well as head data.
- Path string
- The ifs path governed.
- Type string
- The type of quota.
- Container bool
- If true, quotas using the quota directory see the quota thresholds as share size.
- Enforced bool
- True if the quota provides enforcement, otherwise an accounting quota.
- Force bool
- Force creation of quotas on the root of /ifs or percent based quotas.
- Ignore
Limit boolChecks - If true, skip child quota's threshold comparison with parent quota path.
- Linked bool
- For user, group and directory quotas, true if the quota is linked and controlled by a parent default-* quota. Linked quotas cannot be modified until they are unlinked. Set linked as true or false to link or unlink quota
- Persona
Quota
Persona - Specifies the persona of the file group. persona is required for user and group type.
- Thresholds
Quota
Thresholds - The thresholds of quota
- Thresholds
On string - Thresholds apply on quota accounting metric.
- Zone string
- Optional named zone to use for user and group resolution.
- Include
Snapshots bool - If true, quota governs snapshot data as well as head data.
- Path string
- The ifs path governed.
- Type string
- The type of quota.
- Container bool
- If true, quotas using the quota directory see the quota thresholds as share size.
- Enforced bool
- True if the quota provides enforcement, otherwise an accounting quota.
- Force bool
- Force creation of quotas on the root of /ifs or percent based quotas.
- Ignore
Limit boolChecks - If true, skip child quota's threshold comparison with parent quota path.
- Linked bool
- For user, group and directory quotas, true if the quota is linked and controlled by a parent default-* quota. Linked quotas cannot be modified until they are unlinked. Set linked as true or false to link or unlink quota
- Persona
Quota
Persona Args - Specifies the persona of the file group. persona is required for user and group type.
- Thresholds
Quota
Thresholds Args - The thresholds of quota
- Thresholds
On string - Thresholds apply on quota accounting metric.
- Zone string
- Optional named zone to use for user and group resolution.
- include
Snapshots Boolean - If true, quota governs snapshot data as well as head data.
- path String
- The ifs path governed.
- type String
- The type of quota.
- container Boolean
- If true, quotas using the quota directory see the quota thresholds as share size.
- enforced Boolean
- True if the quota provides enforcement, otherwise an accounting quota.
- force Boolean
- Force creation of quotas on the root of /ifs or percent based quotas.
- ignore
Limit BooleanChecks - If true, skip child quota's threshold comparison with parent quota path.
- linked Boolean
- For user, group and directory quotas, true if the quota is linked and controlled by a parent default-* quota. Linked quotas cannot be modified until they are unlinked. Set linked as true or false to link or unlink quota
- persona
Quota
Persona - Specifies the persona of the file group. persona is required for user and group type.
- thresholds
Quota
Thresholds - The thresholds of quota
- thresholds
On String - Thresholds apply on quota accounting metric.
- zone String
- Optional named zone to use for user and group resolution.
- include
Snapshots boolean - If true, quota governs snapshot data as well as head data.
- path string
- The ifs path governed.
- type string
- The type of quota.
- container boolean
- If true, quotas using the quota directory see the quota thresholds as share size.
- enforced boolean
- True if the quota provides enforcement, otherwise an accounting quota.
- force boolean
- Force creation of quotas on the root of /ifs or percent based quotas.
- ignore
Limit booleanChecks - If true, skip child quota's threshold comparison with parent quota path.
- linked boolean
- For user, group and directory quotas, true if the quota is linked and controlled by a parent default-* quota. Linked quotas cannot be modified until they are unlinked. Set linked as true or false to link or unlink quota
- persona
Quota
Persona - Specifies the persona of the file group. persona is required for user and group type.
- thresholds
Quota
Thresholds - The thresholds of quota
- thresholds
On string - Thresholds apply on quota accounting metric.
- zone string
- Optional named zone to use for user and group resolution.
- include_
snapshots bool - If true, quota governs snapshot data as well as head data.
- path str
- The ifs path governed.
- type str
- The type of quota.
- container bool
- If true, quotas using the quota directory see the quota thresholds as share size.
- enforced bool
- True if the quota provides enforcement, otherwise an accounting quota.
- force bool
- Force creation of quotas on the root of /ifs or percent based quotas.
- ignore_
limit_ boolchecks - If true, skip child quota's threshold comparison with parent quota path.
- linked bool
- For user, group and directory quotas, true if the quota is linked and controlled by a parent default-* quota. Linked quotas cannot be modified until they are unlinked. Set linked as true or false to link or unlink quota
- persona
Quota
Persona Args - Specifies the persona of the file group. persona is required for user and group type.
- thresholds
Quota
Thresholds Args - The thresholds of quota
- thresholds_
on str - Thresholds apply on quota accounting metric.
- zone str
- Optional named zone to use for user and group resolution.
- include
Snapshots Boolean - If true, quota governs snapshot data as well as head data.
- path String
- The ifs path governed.
- type String
- The type of quota.
- container Boolean
- If true, quotas using the quota directory see the quota thresholds as share size.
- enforced Boolean
- True if the quota provides enforcement, otherwise an accounting quota.
- force Boolean
- Force creation of quotas on the root of /ifs or percent based quotas.
- ignore
Limit BooleanChecks - If true, skip child quota's threshold comparison with parent quota path.
- linked Boolean
- For user, group and directory quotas, true if the quota is linked and controlled by a parent default-* quota. Linked quotas cannot be modified until they are unlinked. Set linked as true or false to link or unlink quota
- persona Property Map
- Specifies the persona of the file group. persona is required for user and group type.
- thresholds Property Map
- The thresholds of quota
- thresholds
On String - Thresholds apply on quota accounting metric.
- zone String
- Optional named zone to use for user and group resolution.
Outputs
All input properties are implicitly available as output properties. Additionally, the Quota resource produces the following output properties:
- Efficiency
Ratio double - Represents the ratio of logical space provided to physical space used. This accounts for protection overhead, metadata, and compression ratios for the data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Notifications string
- Summary of notifications: 'custom' indicates one or more notification rules available from the notifications sub-resource; 'default' indicates system default rules are used; 'disabled' indicates that no notifications will be used for this quota.; 'badmap' indicates that notification rule has problem in rule map.
- Ready bool
- True if the default resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Reduction
Ratio double - Represents the ratio of logical space provided to physical data space used. This accounts for compression and data deduplication effects.
- Usage
Quota
Usage - The usage of quota
- Efficiency
Ratio float64 - Represents the ratio of logical space provided to physical space used. This accounts for protection overhead, metadata, and compression ratios for the data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Notifications string
- Summary of notifications: 'custom' indicates one or more notification rules available from the notifications sub-resource; 'default' indicates system default rules are used; 'disabled' indicates that no notifications will be used for this quota.; 'badmap' indicates that notification rule has problem in rule map.
- Ready bool
- True if the default resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Reduction
Ratio float64 - Represents the ratio of logical space provided to physical data space used. This accounts for compression and data deduplication effects.
- Usage
Quota
Usage - The usage of quota
- efficiency
Ratio Double - Represents the ratio of logical space provided to physical space used. This accounts for protection overhead, metadata, and compression ratios for the data.
- id String
- The provider-assigned unique ID for this managed resource.
- notifications String
- Summary of notifications: 'custom' indicates one or more notification rules available from the notifications sub-resource; 'default' indicates system default rules are used; 'disabled' indicates that no notifications will be used for this quota.; 'badmap' indicates that notification rule has problem in rule map.
- ready Boolean
- True if the default resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- reduction
Ratio Double - Represents the ratio of logical space provided to physical data space used. This accounts for compression and data deduplication effects.
- usage
Quota
Usage - The usage of quota
- efficiency
Ratio number - Represents the ratio of logical space provided to physical space used. This accounts for protection overhead, metadata, and compression ratios for the data.
- id string
- The provider-assigned unique ID for this managed resource.
- notifications string
- Summary of notifications: 'custom' indicates one or more notification rules available from the notifications sub-resource; 'default' indicates system default rules are used; 'disabled' indicates that no notifications will be used for this quota.; 'badmap' indicates that notification rule has problem in rule map.
- ready boolean
- True if the default resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- reduction
Ratio number - Represents the ratio of logical space provided to physical data space used. This accounts for compression and data deduplication effects.
- usage
Quota
Usage - The usage of quota
- efficiency_
ratio float - Represents the ratio of logical space provided to physical space used. This accounts for protection overhead, metadata, and compression ratios for the data.
- id str
- The provider-assigned unique ID for this managed resource.
- notifications str
- Summary of notifications: 'custom' indicates one or more notification rules available from the notifications sub-resource; 'default' indicates system default rules are used; 'disabled' indicates that no notifications will be used for this quota.; 'badmap' indicates that notification rule has problem in rule map.
- ready bool
- True if the default resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- reduction_
ratio float - Represents the ratio of logical space provided to physical data space used. This accounts for compression and data deduplication effects.
- usage
Quota
Usage - The usage of quota
- efficiency
Ratio Number - Represents the ratio of logical space provided to physical space used. This accounts for protection overhead, metadata, and compression ratios for the data.
- id String
- The provider-assigned unique ID for this managed resource.
- notifications String
- Summary of notifications: 'custom' indicates one or more notification rules available from the notifications sub-resource; 'default' indicates system default rules are used; 'disabled' indicates that no notifications will be used for this quota.; 'badmap' indicates that notification rule has problem in rule map.
- ready Boolean
- True if the default resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- reduction
Ratio Number - Represents the ratio of logical space provided to physical data space used. This accounts for compression and data deduplication effects.
- usage Property Map
- The usage of quota
Look up Existing Quota Resource
Get an existing Quota 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?: QuotaState, opts?: CustomResourceOptions): Quota
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
container: Optional[bool] = None,
efficiency_ratio: Optional[float] = None,
enforced: Optional[bool] = None,
force: Optional[bool] = None,
ignore_limit_checks: Optional[bool] = None,
include_snapshots: Optional[bool] = None,
linked: Optional[bool] = None,
notifications: Optional[str] = None,
path: Optional[str] = None,
persona: Optional[QuotaPersonaArgs] = None,
ready: Optional[bool] = None,
reduction_ratio: Optional[float] = None,
thresholds: Optional[QuotaThresholdsArgs] = None,
thresholds_on: Optional[str] = None,
type: Optional[str] = None,
usage: Optional[QuotaUsageArgs] = None,
zone: Optional[str] = None) -> Quota
func GetQuota(ctx *Context, name string, id IDInput, state *QuotaState, opts ...ResourceOption) (*Quota, error)
public static Quota Get(string name, Input<string> id, QuotaState? state, CustomResourceOptions? opts = null)
public static Quota get(String name, Output<String> id, QuotaState state, CustomResourceOptions options)
resources: _: type: powerscale:Quota get: id: ${id}
- 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.
- Container bool
- If true, quotas using the quota directory see the quota thresholds as share size.
- Efficiency
Ratio double - Represents the ratio of logical space provided to physical space used. This accounts for protection overhead, metadata, and compression ratios for the data.
- Enforced bool
- True if the quota provides enforcement, otherwise an accounting quota.
- Force bool
- Force creation of quotas on the root of /ifs or percent based quotas.
- Ignore
Limit boolChecks - If true, skip child quota's threshold comparison with parent quota path.
- Include
Snapshots bool - If true, quota governs snapshot data as well as head data.
- Linked bool
- For user, group and directory quotas, true if the quota is linked and controlled by a parent default-* quota. Linked quotas cannot be modified until they are unlinked. Set linked as true or false to link or unlink quota
- Notifications string
- Summary of notifications: 'custom' indicates one or more notification rules available from the notifications sub-resource; 'default' indicates system default rules are used; 'disabled' indicates that no notifications will be used for this quota.; 'badmap' indicates that notification rule has problem in rule map.
- Path string
- The ifs path governed.
- Persona
Quota
Persona - Specifies the persona of the file group. persona is required for user and group type.
- Ready bool
- True if the default resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Reduction
Ratio double - Represents the ratio of logical space provided to physical data space used. This accounts for compression and data deduplication effects.
- Thresholds
Quota
Thresholds - The thresholds of quota
- Thresholds
On string - Thresholds apply on quota accounting metric.
- Type string
- The type of quota.
- Usage
Quota
Usage - The usage of quota
- Zone string
- Optional named zone to use for user and group resolution.
- Container bool
- If true, quotas using the quota directory see the quota thresholds as share size.
- Efficiency
Ratio float64 - Represents the ratio of logical space provided to physical space used. This accounts for protection overhead, metadata, and compression ratios for the data.
- Enforced bool
- True if the quota provides enforcement, otherwise an accounting quota.
- Force bool
- Force creation of quotas on the root of /ifs or percent based quotas.
- Ignore
Limit boolChecks - If true, skip child quota's threshold comparison with parent quota path.
- Include
Snapshots bool - If true, quota governs snapshot data as well as head data.
- Linked bool
- For user, group and directory quotas, true if the quota is linked and controlled by a parent default-* quota. Linked quotas cannot be modified until they are unlinked. Set linked as true or false to link or unlink quota
- Notifications string
- Summary of notifications: 'custom' indicates one or more notification rules available from the notifications sub-resource; 'default' indicates system default rules are used; 'disabled' indicates that no notifications will be used for this quota.; 'badmap' indicates that notification rule has problem in rule map.
- Path string
- The ifs path governed.
- Persona
Quota
Persona Args - Specifies the persona of the file group. persona is required for user and group type.
- Ready bool
- True if the default resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Reduction
Ratio float64 - Represents the ratio of logical space provided to physical data space used. This accounts for compression and data deduplication effects.
- Thresholds
Quota
Thresholds Args - The thresholds of quota
- Thresholds
On string - Thresholds apply on quota accounting metric.
- Type string
- The type of quota.
- Usage
Quota
Usage Args - The usage of quota
- Zone string
- Optional named zone to use for user and group resolution.
- container Boolean
- If true, quotas using the quota directory see the quota thresholds as share size.
- efficiency
Ratio Double - Represents the ratio of logical space provided to physical space used. This accounts for protection overhead, metadata, and compression ratios for the data.
- enforced Boolean
- True if the quota provides enforcement, otherwise an accounting quota.
- force Boolean
- Force creation of quotas on the root of /ifs or percent based quotas.
- ignore
Limit BooleanChecks - If true, skip child quota's threshold comparison with parent quota path.
- include
Snapshots Boolean - If true, quota governs snapshot data as well as head data.
- linked Boolean
- For user, group and directory quotas, true if the quota is linked and controlled by a parent default-* quota. Linked quotas cannot be modified until they are unlinked. Set linked as true or false to link or unlink quota
- notifications String
- Summary of notifications: 'custom' indicates one or more notification rules available from the notifications sub-resource; 'default' indicates system default rules are used; 'disabled' indicates that no notifications will be used for this quota.; 'badmap' indicates that notification rule has problem in rule map.
- path String
- The ifs path governed.
- persona
Quota
Persona - Specifies the persona of the file group. persona is required for user and group type.
- ready Boolean
- True if the default resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- reduction
Ratio Double - Represents the ratio of logical space provided to physical data space used. This accounts for compression and data deduplication effects.
- thresholds
Quota
Thresholds - The thresholds of quota
- thresholds
On String - Thresholds apply on quota accounting metric.
- type String
- The type of quota.
- usage
Quota
Usage - The usage of quota
- zone String
- Optional named zone to use for user and group resolution.
- container boolean
- If true, quotas using the quota directory see the quota thresholds as share size.
- efficiency
Ratio number - Represents the ratio of logical space provided to physical space used. This accounts for protection overhead, metadata, and compression ratios for the data.
- enforced boolean
- True if the quota provides enforcement, otherwise an accounting quota.
- force boolean
- Force creation of quotas on the root of /ifs or percent based quotas.
- ignore
Limit booleanChecks - If true, skip child quota's threshold comparison with parent quota path.
- include
Snapshots boolean - If true, quota governs snapshot data as well as head data.
- linked boolean
- For user, group and directory quotas, true if the quota is linked and controlled by a parent default-* quota. Linked quotas cannot be modified until they are unlinked. Set linked as true or false to link or unlink quota
- notifications string
- Summary of notifications: 'custom' indicates one or more notification rules available from the notifications sub-resource; 'default' indicates system default rules are used; 'disabled' indicates that no notifications will be used for this quota.; 'badmap' indicates that notification rule has problem in rule map.
- path string
- The ifs path governed.
- persona
Quota
Persona - Specifies the persona of the file group. persona is required for user and group type.
- ready boolean
- True if the default resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- reduction
Ratio number - Represents the ratio of logical space provided to physical data space used. This accounts for compression and data deduplication effects.
- thresholds
Quota
Thresholds - The thresholds of quota
- thresholds
On string - Thresholds apply on quota accounting metric.
- type string
- The type of quota.
- usage
Quota
Usage - The usage of quota
- zone string
- Optional named zone to use for user and group resolution.
- container bool
- If true, quotas using the quota directory see the quota thresholds as share size.
- efficiency_
ratio float - Represents the ratio of logical space provided to physical space used. This accounts for protection overhead, metadata, and compression ratios for the data.
- enforced bool
- True if the quota provides enforcement, otherwise an accounting quota.
- force bool
- Force creation of quotas on the root of /ifs or percent based quotas.
- ignore_
limit_ boolchecks - If true, skip child quota's threshold comparison with parent quota path.
- include_
snapshots bool - If true, quota governs snapshot data as well as head data.
- linked bool
- For user, group and directory quotas, true if the quota is linked and controlled by a parent default-* quota. Linked quotas cannot be modified until they are unlinked. Set linked as true or false to link or unlink quota
- notifications str
- Summary of notifications: 'custom' indicates one or more notification rules available from the notifications sub-resource; 'default' indicates system default rules are used; 'disabled' indicates that no notifications will be used for this quota.; 'badmap' indicates that notification rule has problem in rule map.
- path str
- The ifs path governed.
- persona
Quota
Persona Args - Specifies the persona of the file group. persona is required for user and group type.
- ready bool
- True if the default resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- reduction_
ratio float - Represents the ratio of logical space provided to physical data space used. This accounts for compression and data deduplication effects.
- thresholds
Quota
Thresholds Args - The thresholds of quota
- thresholds_
on str - Thresholds apply on quota accounting metric.
- type str
- The type of quota.
- usage
Quota
Usage Args - The usage of quota
- zone str
- Optional named zone to use for user and group resolution.
- container Boolean
- If true, quotas using the quota directory see the quota thresholds as share size.
- efficiency
Ratio Number - Represents the ratio of logical space provided to physical space used. This accounts for protection overhead, metadata, and compression ratios for the data.
- enforced Boolean
- True if the quota provides enforcement, otherwise an accounting quota.
- force Boolean
- Force creation of quotas on the root of /ifs or percent based quotas.
- ignore
Limit BooleanChecks - If true, skip child quota's threshold comparison with parent quota path.
- include
Snapshots Boolean - If true, quota governs snapshot data as well as head data.
- linked Boolean
- For user, group and directory quotas, true if the quota is linked and controlled by a parent default-* quota. Linked quotas cannot be modified until they are unlinked. Set linked as true or false to link or unlink quota
- notifications String
- Summary of notifications: 'custom' indicates one or more notification rules available from the notifications sub-resource; 'default' indicates system default rules are used; 'disabled' indicates that no notifications will be used for this quota.; 'badmap' indicates that notification rule has problem in rule map.
- path String
- The ifs path governed.
- persona Property Map
- Specifies the persona of the file group. persona is required for user and group type.
- ready Boolean
- True if the default resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- reduction
Ratio Number - Represents the ratio of logical space provided to physical data space used. This accounts for compression and data deduplication effects.
- thresholds Property Map
- The thresholds of quota
- thresholds
On String - Thresholds apply on quota accounting metric.
- type String
- The type of quota.
- usage Property Map
- The usage of quota
- zone String
- Optional named zone to use for user and group resolution.
Supporting Types
QuotaPersona, QuotaPersonaArgs
QuotaThresholds, QuotaThresholdsArgs
- Advisory double
- Usage bytes at which notifications will be sent but writes will not be denied.
- Advisory
Exceeded bool - True if the advisory threshold has been hit.
- Advisory
Last doubleExceeded - Time at which advisory threshold was hit.
- Hard double
- Usage bytes at which further writes will be denied.
- Hard
Exceeded bool - True if the hard threshold has been hit.
- Hard
Last doubleExceeded - Time at which hard threshold was hit.
- Percent
Advisory double - Advisory threshold as percent of hard threshold. Usage bytes at which notifications will be sent but writes will not be denied.
- Percent
Soft double - Soft threshold as percent of hard threshold. Usage bytes at which notifications will be sent and soft grace time will be started.
- Soft double
- Usage bytes at which notifications will be sent and soft grace time will be started.
- Soft
Exceeded bool - True if the soft threshold has been hit.
- Soft
Grace double - Time in seconds after which the soft threshold has been hit before writes will be denied.
- Soft
Last doubleExceeded - Time at which soft threshold was hit
- Advisory float64
- Usage bytes at which notifications will be sent but writes will not be denied.
- Advisory
Exceeded bool - True if the advisory threshold has been hit.
- Advisory
Last float64Exceeded - Time at which advisory threshold was hit.
- Hard float64
- Usage bytes at which further writes will be denied.
- Hard
Exceeded bool - True if the hard threshold has been hit.
- Hard
Last float64Exceeded - Time at which hard threshold was hit.
- Percent
Advisory float64 - Advisory threshold as percent of hard threshold. Usage bytes at which notifications will be sent but writes will not be denied.
- Percent
Soft float64 - Soft threshold as percent of hard threshold. Usage bytes at which notifications will be sent and soft grace time will be started.
- Soft float64
- Usage bytes at which notifications will be sent and soft grace time will be started.
- Soft
Exceeded bool - True if the soft threshold has been hit.
- Soft
Grace float64 - Time in seconds after which the soft threshold has been hit before writes will be denied.
- Soft
Last float64Exceeded - Time at which soft threshold was hit
- advisory Double
- Usage bytes at which notifications will be sent but writes will not be denied.
- advisory
Exceeded Boolean - True if the advisory threshold has been hit.
- advisory
Last DoubleExceeded - Time at which advisory threshold was hit.
- hard Double
- Usage bytes at which further writes will be denied.
- hard
Exceeded Boolean - True if the hard threshold has been hit.
- hard
Last DoubleExceeded - Time at which hard threshold was hit.
- percent
Advisory Double - Advisory threshold as percent of hard threshold. Usage bytes at which notifications will be sent but writes will not be denied.
- percent
Soft Double - Soft threshold as percent of hard threshold. Usage bytes at which notifications will be sent and soft grace time will be started.
- soft Double
- Usage bytes at which notifications will be sent and soft grace time will be started.
- soft
Exceeded Boolean - True if the soft threshold has been hit.
- soft
Grace Double - Time in seconds after which the soft threshold has been hit before writes will be denied.
- soft
Last DoubleExceeded - Time at which soft threshold was hit
- advisory number
- Usage bytes at which notifications will be sent but writes will not be denied.
- advisory
Exceeded boolean - True if the advisory threshold has been hit.
- advisory
Last numberExceeded - Time at which advisory threshold was hit.
- hard number
- Usage bytes at which further writes will be denied.
- hard
Exceeded boolean - True if the hard threshold has been hit.
- hard
Last numberExceeded - Time at which hard threshold was hit.
- percent
Advisory number - Advisory threshold as percent of hard threshold. Usage bytes at which notifications will be sent but writes will not be denied.
- percent
Soft number - Soft threshold as percent of hard threshold. Usage bytes at which notifications will be sent and soft grace time will be started.
- soft number
- Usage bytes at which notifications will be sent and soft grace time will be started.
- soft
Exceeded boolean - True if the soft threshold has been hit.
- soft
Grace number - Time in seconds after which the soft threshold has been hit before writes will be denied.
- soft
Last numberExceeded - Time at which soft threshold was hit
- advisory float
- Usage bytes at which notifications will be sent but writes will not be denied.
- advisory_
exceeded bool - True if the advisory threshold has been hit.
- advisory_
last_ floatexceeded - Time at which advisory threshold was hit.
- hard float
- Usage bytes at which further writes will be denied.
- hard_
exceeded bool - True if the hard threshold has been hit.
- hard_
last_ floatexceeded - Time at which hard threshold was hit.
- percent_
advisory float - Advisory threshold as percent of hard threshold. Usage bytes at which notifications will be sent but writes will not be denied.
- percent_
soft float - Soft threshold as percent of hard threshold. Usage bytes at which notifications will be sent and soft grace time will be started.
- soft float
- Usage bytes at which notifications will be sent and soft grace time will be started.
- soft_
exceeded bool - True if the soft threshold has been hit.
- soft_
grace float - Time in seconds after which the soft threshold has been hit before writes will be denied.
- soft_
last_ floatexceeded - Time at which soft threshold was hit
- advisory Number
- Usage bytes at which notifications will be sent but writes will not be denied.
- advisory
Exceeded Boolean - True if the advisory threshold has been hit.
- advisory
Last NumberExceeded - Time at which advisory threshold was hit.
- hard Number
- Usage bytes at which further writes will be denied.
- hard
Exceeded Boolean - True if the hard threshold has been hit.
- hard
Last NumberExceeded - Time at which hard threshold was hit.
- percent
Advisory Number - Advisory threshold as percent of hard threshold. Usage bytes at which notifications will be sent but writes will not be denied.
- percent
Soft Number - Soft threshold as percent of hard threshold. Usage bytes at which notifications will be sent and soft grace time will be started.
- soft Number
- Usage bytes at which notifications will be sent and soft grace time will be started.
- soft
Exceeded Boolean - True if the soft threshold has been hit.
- soft
Grace Number - Time in seconds after which the soft threshold has been hit before writes will be denied.
- soft
Last NumberExceeded - Time at which soft threshold was hit
QuotaUsage, QuotaUsageArgs
- Applogical double
- Bytes used by governed data apparent to application.
- Applogical
Ready bool - True if applogical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Fslogical double
- Bytes used by governed data apparent to filesystem.
- Fslogical
Ready bool - True if fslogical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Fsphysical double
- Physical data usage adjusted to account for shadow store efficiency
- Fsphysical
Ready bool - True if fsphysical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Inodes double
- Number of inodes (filesystem entities) used by governed data.
- Inodes
Ready bool - True if inodes resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Physical double
- Bytes used for governed data and filesystem overhead.
- Physical
Data double - Number of physical blocks for file data
- Physical
Data boolReady - True if physical_data resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Physical
Protection double - Number of physical blocks for file protection
- Physical
Protection boolReady - True if physical_protection resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Physical
Ready bool - True if physical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Shadow
Refs double - Number of shadow references (cloned, deduplicated or packed filesystem blocks) used by governed data.
- Shadow
Refs boolReady - True if shadow_refs resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Applogical float64
- Bytes used by governed data apparent to application.
- Applogical
Ready bool - True if applogical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Fslogical float64
- Bytes used by governed data apparent to filesystem.
- Fslogical
Ready bool - True if fslogical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Fsphysical float64
- Physical data usage adjusted to account for shadow store efficiency
- Fsphysical
Ready bool - True if fsphysical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Inodes float64
- Number of inodes (filesystem entities) used by governed data.
- Inodes
Ready bool - True if inodes resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Physical float64
- Bytes used for governed data and filesystem overhead.
- Physical
Data float64 - Number of physical blocks for file data
- Physical
Data boolReady - True if physical_data resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Physical
Protection float64 - Number of physical blocks for file protection
- Physical
Protection boolReady - True if physical_protection resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Physical
Ready bool - True if physical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- Shadow
Refs float64 - Number of shadow references (cloned, deduplicated or packed filesystem blocks) used by governed data.
- Shadow
Refs boolReady - True if shadow_refs resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- applogical Double
- Bytes used by governed data apparent to application.
- applogical
Ready Boolean - True if applogical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- fslogical Double
- Bytes used by governed data apparent to filesystem.
- fslogical
Ready Boolean - True if fslogical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- fsphysical Double
- Physical data usage adjusted to account for shadow store efficiency
- fsphysical
Ready Boolean - True if fsphysical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- inodes Double
- Number of inodes (filesystem entities) used by governed data.
- inodes
Ready Boolean - True if inodes resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- physical Double
- Bytes used for governed data and filesystem overhead.
- physical
Data Double - Number of physical blocks for file data
- physical
Data BooleanReady - True if physical_data resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- physical
Protection Double - Number of physical blocks for file protection
- physical
Protection BooleanReady - True if physical_protection resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- physical
Ready Boolean - True if physical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- shadow
Refs Double - Number of shadow references (cloned, deduplicated or packed filesystem blocks) used by governed data.
- shadow
Refs BooleanReady - True if shadow_refs resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- applogical number
- Bytes used by governed data apparent to application.
- applogical
Ready boolean - True if applogical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- fslogical number
- Bytes used by governed data apparent to filesystem.
- fslogical
Ready boolean - True if fslogical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- fsphysical number
- Physical data usage adjusted to account for shadow store efficiency
- fsphysical
Ready boolean - True if fsphysical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- inodes number
- Number of inodes (filesystem entities) used by governed data.
- inodes
Ready boolean - True if inodes resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- physical number
- Bytes used for governed data and filesystem overhead.
- physical
Data number - Number of physical blocks for file data
- physical
Data booleanReady - True if physical_data resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- physical
Protection number - Number of physical blocks for file protection
- physical
Protection booleanReady - True if physical_protection resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- physical
Ready boolean - True if physical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- shadow
Refs number - Number of shadow references (cloned, deduplicated or packed filesystem blocks) used by governed data.
- shadow
Refs booleanReady - True if shadow_refs resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- applogical float
- Bytes used by governed data apparent to application.
- applogical_
ready bool - True if applogical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- fslogical float
- Bytes used by governed data apparent to filesystem.
- fslogical_
ready bool - True if fslogical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- fsphysical float
- Physical data usage adjusted to account for shadow store efficiency
- fsphysical_
ready bool - True if fsphysical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- inodes float
- Number of inodes (filesystem entities) used by governed data.
- inodes_
ready bool - True if inodes resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- physical float
- Bytes used for governed data and filesystem overhead.
- physical_
data float - Number of physical blocks for file data
- physical_
data_ boolready - True if physical_data resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- physical_
protection float - Number of physical blocks for file protection
- physical_
protection_ boolready - True if physical_protection resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- physical_
ready bool - True if physical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- shadow_
refs float - Number of shadow references (cloned, deduplicated or packed filesystem blocks) used by governed data.
- shadow_
refs_ boolready - True if shadow_refs resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- applogical Number
- Bytes used by governed data apparent to application.
- applogical
Ready Boolean - True if applogical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- fslogical Number
- Bytes used by governed data apparent to filesystem.
- fslogical
Ready Boolean - True if fslogical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- fsphysical Number
- Physical data usage adjusted to account for shadow store efficiency
- fsphysical
Ready Boolean - True if fsphysical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- inodes Number
- Number of inodes (filesystem entities) used by governed data.
- inodes
Ready Boolean - True if inodes resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- physical Number
- Bytes used for governed data and filesystem overhead.
- physical
Data Number - Number of physical blocks for file data
- physical
Data BooleanReady - True if physical_data resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- physical
Protection Number - Number of physical blocks for file protection
- physical
Protection BooleanReady - True if physical_protection resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- physical
Ready Boolean - True if physical resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
- shadow
Refs Number - Number of shadow references (cloned, deduplicated or packed filesystem blocks) used by governed data.
- shadow
Refs BooleanReady - True if shadow_refs resource accounting is accurate on the quota. If false, this quota is waiting on completion of a QuotaScan job.
Import
Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
The command is
$ pulumi import powerscale:index/quota:Quota quota_example [<zoneID>]:<id>
Example 1:
$ pulumi import powerscale:index/quota:Quota quota_example example_quota_id
Example 2:
$ pulumi import powerscale:index/quota:Quota quota_example zone_id:example_quota_id
after running this command, populate the name field and other required parameters in the config file to start managing this resource.
Note: running “terraform show” after importing shows the current config/state of the resource. You can copy/paste that config to make it easier to manage the resource.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- powerscale dell/terraform-provider-powerscale
- License
- Notes
- This Pulumi package is based on the
powerscale
Terraform Provider.