import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the File System Quota Rule resource in Oracle Cloud Infrastructure File Storage service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/filestorage/latest/FileSystemQuotaRule
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/
 *
 * Create an FS level, user or group quota rule given the `fileSystemId`, `principalId`, `principalType` and
 * `isHardQuota` parameters.
 *
 * ## Example Usage
 *
 * ```typescript
 * 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 === "true",
 *     principalType: fileSystemQuotaRulePrincipalType,
 *     quotaLimitInGigabytes: Number(fileSystemQuotaRuleQuotaLimitInGigabytes),
 *     displayName: fileSystemQuotaRuleDisplayName,
 *     principalId: Number(testPrincipal.id),
 * });
 * ```
 *
 * ## Import
 *
 * FileSystemQuotaRules can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:FileStorage/fileSystemQuotaRule:FileSystemQuotaRule test_file_system_quota_rule "fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}"
 * ```
 */
export declare class FileSystemQuotaRule extends pulumi.CustomResource {
    /**
     * Get an existing FileSystemQuotaRule resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FileSystemQuotaRuleState, opts?: pulumi.CustomResourceOptions): FileSystemQuotaRule;
    /**
     * Returns true if the given object is an instance of FileSystemQuotaRule.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is FileSystemQuotaRule;
    readonly areViolatorsOnly: pulumi.Output<boolean | undefined>;
    /**
     * (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `UserXYZ's quota`
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
     */
    readonly fileSystemId: pulumi.Output<string>;
    /**
     * The flag is an identifier to tell whether the quota rule will be enforced. If `isHardQuota` is true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. If `isHardQuota` is false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
     */
    readonly isHardQuota: pulumi.Output<boolean>;
    /**
     * 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.
     */
    readonly principalId: pulumi.Output<number>;
    /**
     * The type of the owner of this quota rule and usage.
     */
    readonly principalType: pulumi.Output<string>;
    /**
     * (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
     */
    readonly quotaLimitInGigabytes: pulumi.Output<number>;
    readonly quotaRuleId: pulumi.Output<string>;
    /**
     * The date and time the quota rule was started, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.  Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The date and time the quota rule was last updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.  Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a FileSystemQuotaRule resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: FileSystemQuotaRuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering FileSystemQuotaRule resources.
 */
export interface FileSystemQuotaRuleState {
    areViolatorsOnly?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `UserXYZ's quota`
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
     */
    fileSystemId?: pulumi.Input<string | undefined>;
    /**
     * The flag is an identifier to tell whether the quota rule will be enforced. If `isHardQuota` is true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. If `isHardQuota` is false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
     */
    isHardQuota?: pulumi.Input<boolean | undefined>;
    /**
     * 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.
     */
    principalId?: pulumi.Input<number | undefined>;
    /**
     * The type of the owner of this quota rule and usage.
     */
    principalType?: pulumi.Input<string | undefined>;
    /**
     * (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
     */
    quotaLimitInGigabytes?: pulumi.Input<number | undefined>;
    quotaRuleId?: pulumi.Input<string | undefined>;
    /**
     * The date and time the quota rule was started, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.  Example: `2016-08-25T21:10:29.600Z`
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The date and time the quota rule was last updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.  Example: `2016-08-25T21:10:29.600Z`
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a FileSystemQuotaRule resource.
 */
export interface FileSystemQuotaRuleArgs {
    areViolatorsOnly?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `UserXYZ's quota`
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
     */
    fileSystemId: pulumi.Input<string>;
    /**
     * The flag is an identifier to tell whether the quota rule will be enforced. If `isHardQuota` is true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. If `isHardQuota` is false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
     */
    isHardQuota: pulumi.Input<boolean>;
    /**
     * 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.
     */
    principalId?: pulumi.Input<number | undefined>;
    /**
     * The type of the owner of this quota rule and usage.
     */
    principalType: pulumi.Input<string>;
    /**
     * (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
     */
    quotaLimitInGigabytes: pulumi.Input<number>;
    quotaRuleId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=fileSystemQuotaRule.d.ts.map