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 Namespace Rules in Oracle Cloud Infrastructure Log Analytics service.
 *
 * Returns a list of ingest time rules and scheduled tasks in a compartment. You may limit the number of items returned, provide sorting options, and filter the results.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testNamespaceRules = oci.loganalytics.getNamespaceRules({
 *     compartmentId: compartmentId,
 *     namespace: namespaceRuleNamespace,
 *     displayName: namespaceRuleDisplayName,
 *     kind: namespaceRuleKind,
 *     state: namespaceRuleState,
 *     targetService: namespaceRuleTargetService,
 * });
 * ```
 */
export declare function getNamespaceRules(args: GetNamespaceRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetNamespaceRulesResult>;
/**
 * A collection of arguments for invoking getNamespaceRules.
 */
export interface GetNamespaceRulesArgs {
    /**
     * The ID of the compartment in which to list resources.
     */
    compartmentId: string;
    /**
     * A filter to return rules whose displayName matches in whole or in part the specified value. The match is case-insensitive.
     */
    displayName?: string;
    filters?: inputs.LogAnalytics.GetNamespaceRulesFilter[];
    /**
     * The rule kind used for filtering. Only rules of the specified kind will be returned.
     */
    kind?: string;
    /**
     * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
     */
    namespace: string;
    /**
     * The rule lifecycle state used for filtering. Currently supported values are ACTIVE and DELETED.
     */
    state?: string;
    /**
     * The target service to use for filtering.
     */
    targetService?: string;
}
/**
 * A collection of values returned by getNamespaceRules.
 */
export interface GetNamespaceRulesResult {
    /**
     * Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    readonly compartmentId: string;
    /**
     * The ingest time rule or scheduled task display name.
     */
    readonly displayName?: string;
    readonly filters?: outputs.LogAnalytics.GetNamespaceRulesFilter[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * The kind of rule - either an ingest time rule or a scheduled task.
     */
    readonly kind?: string;
    readonly namespace: string;
    /**
     * The list of rule_summary_collection.
     */
    readonly ruleSummaryCollections: outputs.LogAnalytics.GetNamespaceRulesRuleSummaryCollection[];
    /**
     * The current state of the Log Analytics rule.
     */
    readonly state?: string;
    /**
     * The target service.
     */
    readonly targetService?: string;
}
/**
 * This data source provides the list of Namespace Rules in Oracle Cloud Infrastructure Log Analytics service.
 *
 * Returns a list of ingest time rules and scheduled tasks in a compartment. You may limit the number of items returned, provide sorting options, and filter the results.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testNamespaceRules = oci.loganalytics.getNamespaceRules({
 *     compartmentId: compartmentId,
 *     namespace: namespaceRuleNamespace,
 *     displayName: namespaceRuleDisplayName,
 *     kind: namespaceRuleKind,
 *     state: namespaceRuleState,
 *     targetService: namespaceRuleTargetService,
 * });
 * ```
 */
export declare function getNamespaceRulesOutput(args: GetNamespaceRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNamespaceRulesResult>;
/**
 * A collection of arguments for invoking getNamespaceRules.
 */
export interface GetNamespaceRulesOutputArgs {
    /**
     * The ID of the compartment in which to list resources.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * A filter to return rules whose displayName matches in whole or in part the specified value. The match is case-insensitive.
     */
    displayName?: pulumi.Input<string | undefined>;
    filters?: pulumi.Input<pulumi.Input<inputs.LogAnalytics.GetNamespaceRulesFilterArgs>[] | undefined>;
    /**
     * The rule kind used for filtering. Only rules of the specified kind will be returned.
     */
    kind?: pulumi.Input<string | undefined>;
    /**
     * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
     */
    namespace: pulumi.Input<string>;
    /**
     * The rule lifecycle state used for filtering. Currently supported values are ACTIVE and DELETED.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The target service to use for filtering.
     */
    targetService?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getNamespaceRules.d.ts.map