oci.FileStorage.FileSystemQuotaRule
Explore with Pulumi AI
This resource provides the File System Quota Rule resource in Oracle Cloud Infrastructure File Storage service.
Create an FS level, user or group quota rule given the fileSystemId, principalId, principalType and
isHardQuota parameters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFileSystemQuotaRule = new oci.filestorage.FileSystemQuotaRule("test_file_system_quota_rule", {
    fileSystemId: testFileSystem.id,
    isHardQuota: fileSystemQuotaRuleIsHardQuota,
    principalType: fileSystemQuotaRulePrincipalType,
    quotaLimitInGigabytes: fileSystemQuotaRuleQuotaLimitInGigabytes,
    displayName: fileSystemQuotaRuleDisplayName,
    principalId: testPrincipal.id,
});
import pulumi
import pulumi_oci as oci
test_file_system_quota_rule = oci.file_storage.FileSystemQuotaRule("test_file_system_quota_rule",
    file_system_id=test_file_system["id"],
    is_hard_quota=file_system_quota_rule_is_hard_quota,
    principal_type=file_system_quota_rule_principal_type,
    quota_limit_in_gigabytes=file_system_quota_rule_quota_limit_in_gigabytes,
    display_name=file_system_quota_rule_display_name,
    principal_id=test_principal["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/filestorage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := filestorage.NewFileSystemQuotaRule(ctx, "test_file_system_quota_rule", &filestorage.FileSystemQuotaRuleArgs{
			FileSystemId:          pulumi.Any(testFileSystem.Id),
			IsHardQuota:           pulumi.Any(fileSystemQuotaRuleIsHardQuota),
			PrincipalType:         pulumi.Any(fileSystemQuotaRulePrincipalType),
			QuotaLimitInGigabytes: pulumi.Any(fileSystemQuotaRuleQuotaLimitInGigabytes),
			DisplayName:           pulumi.Any(fileSystemQuotaRuleDisplayName),
			PrincipalId:           pulumi.Any(testPrincipal.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testFileSystemQuotaRule = new Oci.FileStorage.FileSystemQuotaRule("test_file_system_quota_rule", new()
    {
        FileSystemId = testFileSystem.Id,
        IsHardQuota = fileSystemQuotaRuleIsHardQuota,
        PrincipalType = fileSystemQuotaRulePrincipalType,
        QuotaLimitInGigabytes = fileSystemQuotaRuleQuotaLimitInGigabytes,
        DisplayName = fileSystemQuotaRuleDisplayName,
        PrincipalId = testPrincipal.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FileStorage.FileSystemQuotaRule;
import com.pulumi.oci.FileStorage.FileSystemQuotaRuleArgs;
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 testFileSystemQuotaRule = new FileSystemQuotaRule("testFileSystemQuotaRule", FileSystemQuotaRuleArgs.builder()
            .fileSystemId(testFileSystem.id())
            .isHardQuota(fileSystemQuotaRuleIsHardQuota)
            .principalType(fileSystemQuotaRulePrincipalType)
            .quotaLimitInGigabytes(fileSystemQuotaRuleQuotaLimitInGigabytes)
            .displayName(fileSystemQuotaRuleDisplayName)
            .principalId(testPrincipal.id())
            .build());
    }
}
resources:
  testFileSystemQuotaRule:
    type: oci:FileStorage:FileSystemQuotaRule
    name: test_file_system_quota_rule
    properties:
      fileSystemId: ${testFileSystem.id}
      isHardQuota: ${fileSystemQuotaRuleIsHardQuota}
      principalType: ${fileSystemQuotaRulePrincipalType}
      quotaLimitInGigabytes: ${fileSystemQuotaRuleQuotaLimitInGigabytes}
      displayName: ${fileSystemQuotaRuleDisplayName}
      principalId: ${testPrincipal.id}
Create FileSystemQuotaRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FileSystemQuotaRule(name: string, args: FileSystemQuotaRuleArgs, opts?: CustomResourceOptions);@overload
def FileSystemQuotaRule(resource_name: str,
                        args: FileSystemQuotaRuleArgs,
                        opts: Optional[ResourceOptions] = None)
@overload
def FileSystemQuotaRule(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        file_system_id: Optional[str] = None,
                        is_hard_quota: Optional[bool] = None,
                        principal_type: Optional[str] = None,
                        quota_limit_in_gigabytes: Optional[int] = None,
                        are_violators_only: Optional[bool] = None,
                        display_name: Optional[str] = None,
                        principal_id: Optional[int] = None,
                        quota_rule_id: Optional[str] = None)func NewFileSystemQuotaRule(ctx *Context, name string, args FileSystemQuotaRuleArgs, opts ...ResourceOption) (*FileSystemQuotaRule, error)public FileSystemQuotaRule(string name, FileSystemQuotaRuleArgs args, CustomResourceOptions? opts = null)
public FileSystemQuotaRule(String name, FileSystemQuotaRuleArgs args)
public FileSystemQuotaRule(String name, FileSystemQuotaRuleArgs args, CustomResourceOptions options)
type: oci:FileStorage:FileSystemQuotaRule
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 FileSystemQuotaRuleArgs
- 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 FileSystemQuotaRuleArgs
- 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 FileSystemQuotaRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FileSystemQuotaRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FileSystemQuotaRuleArgs
- 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 fileSystemQuotaRuleResource = new Oci.FileStorage.FileSystemQuotaRule("fileSystemQuotaRuleResource", new()
{
    FileSystemId = "string",
    IsHardQuota = false,
    PrincipalType = "string",
    QuotaLimitInGigabytes = 0,
    AreViolatorsOnly = false,
    DisplayName = "string",
    PrincipalId = 0,
    QuotaRuleId = "string",
});
example, err := filestorage.NewFileSystemQuotaRule(ctx, "fileSystemQuotaRuleResource", &filestorage.FileSystemQuotaRuleArgs{
	FileSystemId:          pulumi.String("string"),
	IsHardQuota:           pulumi.Bool(false),
	PrincipalType:         pulumi.String("string"),
	QuotaLimitInGigabytes: pulumi.Int(0),
	AreViolatorsOnly:      pulumi.Bool(false),
	DisplayName:           pulumi.String("string"),
	PrincipalId:           pulumi.Int(0),
	QuotaRuleId:           pulumi.String("string"),
})
var fileSystemQuotaRuleResource = new FileSystemQuotaRule("fileSystemQuotaRuleResource", FileSystemQuotaRuleArgs.builder()
    .fileSystemId("string")
    .isHardQuota(false)
    .principalType("string")
    .quotaLimitInGigabytes(0)
    .areViolatorsOnly(false)
    .displayName("string")
    .principalId(0)
    .quotaRuleId("string")
    .build());
file_system_quota_rule_resource = oci.file_storage.FileSystemQuotaRule("fileSystemQuotaRuleResource",
    file_system_id="string",
    is_hard_quota=False,
    principal_type="string",
    quota_limit_in_gigabytes=0,
    are_violators_only=False,
    display_name="string",
    principal_id=0,
    quota_rule_id="string")
const fileSystemQuotaRuleResource = new oci.filestorage.FileSystemQuotaRule("fileSystemQuotaRuleResource", {
    fileSystemId: "string",
    isHardQuota: false,
    principalType: "string",
    quotaLimitInGigabytes: 0,
    areViolatorsOnly: false,
    displayName: "string",
    principalId: 0,
    quotaRuleId: "string",
});
type: oci:FileStorage:FileSystemQuotaRule
properties:
    areViolatorsOnly: false
    displayName: string
    fileSystemId: string
    isHardQuota: false
    principalId: 0
    principalType: string
    quotaLimitInGigabytes: 0
    quotaRuleId: string
FileSystemQuotaRule 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 FileSystemQuotaRule resource accepts the following input properties:
- FileSystem stringId 
- The OCID of the file system.
- IsHard boolQuota 
- The flag is an identifier to tell whether the quota rule will be enforced. If isHardQuotais true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. IfisHardQuotais false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
- PrincipalType string
- The type of the owner of this quota rule and usage.
- QuotaLimit intIn Gigabytes 
- (Updatable) The value of the quota rule. The unit is Gigabyte. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- AreViolators boolOnly 
- DisplayName string
- (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: UserXYZ's quota
- PrincipalId int
- An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
- QuotaRule stringId 
- FileSystem stringId 
- The OCID of the file system.
- IsHard boolQuota 
- The flag is an identifier to tell whether the quota rule will be enforced. If isHardQuotais true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. IfisHardQuotais false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
- PrincipalType string
- The type of the owner of this quota rule and usage.
- QuotaLimit intIn Gigabytes 
- (Updatable) The value of the quota rule. The unit is Gigabyte. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- AreViolators boolOnly 
- DisplayName string
- (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: UserXYZ's quota
- PrincipalId int
- An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
- QuotaRule stringId 
- fileSystem StringId 
- The OCID of the file system.
- isHard BooleanQuota 
- The flag is an identifier to tell whether the quota rule will be enforced. If isHardQuotais true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. IfisHardQuotais false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
- principalType String
- The type of the owner of this quota rule and usage.
- quotaLimit IntegerIn Gigabytes 
- (Updatable) The value of the quota rule. The unit is Gigabyte. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- areViolators BooleanOnly 
- displayName String
- (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: UserXYZ's quota
- principalId Integer
- An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
- quotaRule StringId 
- fileSystem stringId 
- The OCID of the file system.
- isHard booleanQuota 
- The flag is an identifier to tell whether the quota rule will be enforced. If isHardQuotais true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. IfisHardQuotais false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
- principalType string
- The type of the owner of this quota rule and usage.
- quotaLimit numberIn Gigabytes 
- (Updatable) The value of the quota rule. The unit is Gigabyte. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- areViolators booleanOnly 
- displayName string
- (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: UserXYZ's quota
- principalId number
- An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
- quotaRule stringId 
- file_system_ strid 
- The OCID of the file system.
- is_hard_ boolquota 
- The flag is an identifier to tell whether the quota rule will be enforced. If isHardQuotais true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. IfisHardQuotais false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
- principal_type str
- The type of the owner of this quota rule and usage.
- quota_limit_ intin_ gigabytes 
- (Updatable) The value of the quota rule. The unit is Gigabyte. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- are_violators_ boolonly 
- display_name str
- (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: UserXYZ's quota
- principal_id int
- An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
- quota_rule_ strid 
- fileSystem StringId 
- The OCID of the file system.
- isHard BooleanQuota 
- The flag is an identifier to tell whether the quota rule will be enforced. If isHardQuotais true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. IfisHardQuotais false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
- principalType String
- The type of the owner of this quota rule and usage.
- quotaLimit NumberIn Gigabytes 
- (Updatable) The value of the quota rule. The unit is Gigabyte. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- areViolators BooleanOnly 
- displayName String
- (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: UserXYZ's quota
- principalId Number
- An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
- quotaRule StringId 
Outputs
All input properties are implicitly available as output properties. Additionally, the FileSystemQuotaRule resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- TimeCreated string
- The date and time the quota rule was started, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- TimeUpdated string
- The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- Id string
- The provider-assigned unique ID for this managed resource.
- TimeCreated string
- The date and time the quota rule was started, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- TimeUpdated string
- The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- id String
- The provider-assigned unique ID for this managed resource.
- timeCreated String
- The date and time the quota rule was started, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- timeUpdated String
- The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- id string
- The provider-assigned unique ID for this managed resource.
- timeCreated string
- The date and time the quota rule was started, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- timeUpdated string
- The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- id str
- The provider-assigned unique ID for this managed resource.
- time_created str
- The date and time the quota rule was started, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- time_updated str
- The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- id String
- The provider-assigned unique ID for this managed resource.
- timeCreated String
- The date and time the quota rule was started, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- timeUpdated String
- The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
Look up Existing FileSystemQuotaRule Resource
Get an existing FileSystemQuotaRule 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?: FileSystemQuotaRuleState, opts?: CustomResourceOptions): FileSystemQuotaRule@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        are_violators_only: Optional[bool] = None,
        display_name: Optional[str] = None,
        file_system_id: Optional[str] = None,
        is_hard_quota: Optional[bool] = None,
        principal_id: Optional[int] = None,
        principal_type: Optional[str] = None,
        quota_limit_in_gigabytes: Optional[int] = None,
        quota_rule_id: Optional[str] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> FileSystemQuotaRulefunc GetFileSystemQuotaRule(ctx *Context, name string, id IDInput, state *FileSystemQuotaRuleState, opts ...ResourceOption) (*FileSystemQuotaRule, error)public static FileSystemQuotaRule Get(string name, Input<string> id, FileSystemQuotaRuleState? state, CustomResourceOptions? opts = null)public static FileSystemQuotaRule get(String name, Output<String> id, FileSystemQuotaRuleState state, CustomResourceOptions options)resources:  _:    type: oci:FileStorage:FileSystemQuotaRule    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.
- AreViolators boolOnly 
- DisplayName string
- (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: UserXYZ's quota
- FileSystem stringId 
- The OCID of the file system.
- IsHard boolQuota 
- The flag is an identifier to tell whether the quota rule will be enforced. If isHardQuotais true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. IfisHardQuotais false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
- PrincipalId int
- An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
- PrincipalType string
- The type of the owner of this quota rule and usage.
- QuotaLimit intIn Gigabytes 
- (Updatable) The value of the quota rule. The unit is Gigabyte. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- QuotaRule stringId 
- TimeCreated string
- The date and time the quota rule was started, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- TimeUpdated string
- The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- AreViolators boolOnly 
- DisplayName string
- (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: UserXYZ's quota
- FileSystem stringId 
- The OCID of the file system.
- IsHard boolQuota 
- The flag is an identifier to tell whether the quota rule will be enforced. If isHardQuotais true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. IfisHardQuotais false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
- PrincipalId int
- An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
- PrincipalType string
- The type of the owner of this quota rule and usage.
- QuotaLimit intIn Gigabytes 
- (Updatable) The value of the quota rule. The unit is Gigabyte. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- QuotaRule stringId 
- TimeCreated string
- The date and time the quota rule was started, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- TimeUpdated string
- The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- areViolators BooleanOnly 
- displayName String
- (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: UserXYZ's quota
- fileSystem StringId 
- The OCID of the file system.
- isHard BooleanQuota 
- The flag is an identifier to tell whether the quota rule will be enforced. If isHardQuotais true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. IfisHardQuotais false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
- principalId Integer
- An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
- principalType String
- The type of the owner of this quota rule and usage.
- quotaLimit IntegerIn Gigabytes 
- (Updatable) The value of the quota rule. The unit is Gigabyte. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- quotaRule StringId 
- timeCreated String
- The date and time the quota rule was started, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- timeUpdated String
- The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- areViolators booleanOnly 
- displayName string
- (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: UserXYZ's quota
- fileSystem stringId 
- The OCID of the file system.
- isHard booleanQuota 
- The flag is an identifier to tell whether the quota rule will be enforced. If isHardQuotais true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. IfisHardQuotais false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
- principalId number
- An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
- principalType string
- The type of the owner of this quota rule and usage.
- quotaLimit numberIn Gigabytes 
- (Updatable) The value of the quota rule. The unit is Gigabyte. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- quotaRule stringId 
- timeCreated string
- The date and time the quota rule was started, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- timeUpdated string
- The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- are_violators_ boolonly 
- display_name str
- (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: UserXYZ's quota
- file_system_ strid 
- The OCID of the file system.
- is_hard_ boolquota 
- The flag is an identifier to tell whether the quota rule will be enforced. If isHardQuotais true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. IfisHardQuotais false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
- principal_id int
- An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
- principal_type str
- The type of the owner of this quota rule and usage.
- quota_limit_ intin_ gigabytes 
- (Updatable) The value of the quota rule. The unit is Gigabyte. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- quota_rule_ strid 
- time_created str
- The date and time the quota rule was started, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- time_updated str
- The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- areViolators BooleanOnly 
- displayName String
- (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: UserXYZ's quota
- fileSystem StringId 
- The OCID of the file system.
- isHard BooleanQuota 
- The flag is an identifier to tell whether the quota rule will be enforced. If isHardQuotais true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. IfisHardQuotais false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
- principalId Number
- An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
- principalType String
- The type of the owner of this quota rule and usage.
- quotaLimit NumberIn Gigabytes 
- (Updatable) The value of the quota rule. The unit is Gigabyte. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- quotaRule StringId 
- timeCreated String
- The date and time the quota rule was started, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
- timeUpdated String
- The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
Import
FileSystemQuotaRules can be imported using the id, e.g.
$ pulumi import oci:FileStorage/fileSystemQuotaRule:FileSystemQuotaRule test_file_system_quota_rule "fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.