import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This data source provides the list of File System Quota Rules in Oracle Cloud Infrastructure File Storage service.
 *
 * List user or group usages and their quota rules by certain principal type.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testFileSystemQuotaRules = oci.filestorage.getFileSystemQuotaRules({
 *     fileSystemId: testFileSystem.id,
 *     principalType: fileSystemQuotaRulePrincipalType,
 *     areViolatorsOnly: fileSystemQuotaRuleAreViolatorsOnly === "true",
 *     principalId: Number(testPrincipal.id),
 * });
 * ```
 */
export declare function getFileSystemQuotaRules(args: GetFileSystemQuotaRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetFileSystemQuotaRulesResult>;
/**
 * A collection of arguments for invoking getFileSystemQuotaRules.
 */
export interface GetFileSystemQuotaRulesArgs {
    /**
     * An option to only display the users or groups that violate their quota rules. If `areViolatorsOnly` is false, the list result will display all the quota and usage report. If `areViolatorsOnly` is true, the list result will only display the quota and usage report for the users or groups that violate their quota rules.
     */
    areViolatorsOnly?: boolean;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
     */
    fileSystemId: string;
    filters?: inputs.FileStorage.GetFileSystemQuotaRulesFilter[];
    /**
     * 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?: number;
    /**
     * The type of the owner of this quota rule and usage.
     */
    principalType: string;
}
/**
 * A collection of values returned by getFileSystemQuotaRules.
 */
export interface GetFileSystemQuotaRulesResult {
    readonly areViolatorsOnly?: boolean;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file System.
     */
    readonly fileSystemId: string;
    readonly filters?: outputs.FileStorage.GetFileSystemQuotaRulesFilter[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * 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?: number;
    /**
     * The type of the owner of this quota rule and usage.
     */
    readonly principalType: string;
    /**
     * The list of quota_rules.
     */
    readonly quotaRules: outputs.FileStorage.GetFileSystemQuotaRulesQuotaRule[];
}
/**
 * This data source provides the list of File System Quota Rules in Oracle Cloud Infrastructure File Storage service.
 *
 * List user or group usages and their quota rules by certain principal type.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testFileSystemQuotaRules = oci.filestorage.getFileSystemQuotaRules({
 *     fileSystemId: testFileSystem.id,
 *     principalType: fileSystemQuotaRulePrincipalType,
 *     areViolatorsOnly: fileSystemQuotaRuleAreViolatorsOnly === "true",
 *     principalId: Number(testPrincipal.id),
 * });
 * ```
 */
export declare function getFileSystemQuotaRulesOutput(args: GetFileSystemQuotaRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFileSystemQuotaRulesResult>;
/**
 * A collection of arguments for invoking getFileSystemQuotaRules.
 */
export interface GetFileSystemQuotaRulesOutputArgs {
    /**
     * An option to only display the users or groups that violate their quota rules. If `areViolatorsOnly` is false, the list result will display all the quota and usage report. If `areViolatorsOnly` is true, the list result will only display the quota and usage report for the users or groups that violate their quota rules.
     */
    areViolatorsOnly?: pulumi.Input<boolean | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
     */
    fileSystemId: pulumi.Input<string>;
    filters?: pulumi.Input<pulumi.Input<inputs.FileStorage.GetFileSystemQuotaRulesFilterArgs>[] | 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>;
}
//# sourceMappingURL=getFileSystemQuotaRules.d.ts.map