import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Namespace Ingest Time Rule resource in Oracle Cloud Infrastructure Log Analytics service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/logan-api-spec/latest/NamespaceIngestTimeRule
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/log_analytics
 *
 * Creates a new ingest time rule in the specified compartment. You may also specify optional information such as description, defined tags, and free-form tags.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testNamespaceIngestTimeRule = new oci.loganalytics.NamespaceIngestTimeRule("test_namespace_ingest_time_rule", {
 *     actions: [{
 *         compartmentId: compartmentId,
 *         metricName: testMetric.name,
 *         namespace: namespaceIngestTimeRuleActionsNamespace,
 *         type: namespaceIngestTimeRuleActionsType,
 *         dimensions: namespaceIngestTimeRuleActionsDimensions,
 *         resourceGroup: namespaceIngestTimeRuleActionsResourceGroup,
 *     }],
 *     compartmentId: compartmentId,
 *     conditions: {
 *         fieldName: namespaceIngestTimeRuleConditionsFieldName,
 *         fieldOperator: namespaceIngestTimeRuleConditionsFieldOperator,
 *         fieldValue: namespaceIngestTimeRuleConditionsFieldValue,
 *         kind: namespaceIngestTimeRuleConditionsKind,
 *         additionalConditions: [{
 *             conditionField: namespaceIngestTimeRuleConditionsAdditionalConditionsConditionField,
 *             conditionOperator: namespaceIngestTimeRuleConditionsAdditionalConditionsConditionOperator,
 *             conditionValue: namespaceIngestTimeRuleConditionsAdditionalConditionsConditionValue,
 *         }],
 *     },
 *     displayName: namespaceIngestTimeRuleDisplayName,
 *     namespace: namespaceIngestTimeRuleNamespace,
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     description: namespaceIngestTimeRuleDescription,
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * NamespaceIngestTimeRules can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:LogAnalytics/namespaceIngestTimeRule:NamespaceIngestTimeRule test_namespace_ingest_time_rule "namespaces/{namespaceName}/ingestTimeRules/{ingestTimeRuleId}"
 * ```
 */
export declare class NamespaceIngestTimeRule extends pulumi.CustomResource {
    /**
     * Get an existing NamespaceIngestTimeRule 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?: NamespaceIngestTimeRuleState, opts?: pulumi.CustomResourceOptions): NamespaceIngestTimeRule;
    /**
     * Returns true if the given object is an instance of NamespaceIngestTimeRule.  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 NamespaceIngestTimeRule;
    /**
     * (Updatable) The action(s) to be performed if the ingest time rule condition(s) are satisfied.
     */
    readonly actions: pulumi.Output<outputs.LogAnalytics.NamespaceIngestTimeRuleAction[]>;
    /**
     * (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) The condition(s) to evaluate for an ingest time rule.
     */
    readonly conditions: pulumi.Output<outputs.LogAnalytics.NamespaceIngestTimeRuleConditions>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) Description for this resource.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) The ingest time rule display name.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    readonly ingestTimeRuleId: pulumi.Output<string>;
    /**
     * A flag indicating whether or not the ingest time rule is enabled.
     */
    readonly isEnabled: pulumi.Output<boolean>;
    /**
     * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
     *
     *
     * ** 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 namespace: pulumi.Output<string>;
    /**
     * The current state of the ingest time rule.
     */
    readonly state: pulumi.Output<string>;
    /**
     * The date and time the resource was created, in the format defined by RFC3339.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The date and time the resource was last updated, in the format defined by RFC3339.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a NamespaceIngestTimeRule 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: NamespaceIngestTimeRuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering NamespaceIngestTimeRule resources.
 */
export interface NamespaceIngestTimeRuleState {
    /**
     * (Updatable) The action(s) to be performed if the ingest time rule condition(s) are satisfied.
     */
    actions?: pulumi.Input<pulumi.Input<inputs.LogAnalytics.NamespaceIngestTimeRuleAction>[] | undefined>;
    /**
     * (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The condition(s) to evaluate for an ingest time rule.
     */
    conditions?: pulumi.Input<inputs.LogAnalytics.NamespaceIngestTimeRuleConditions | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Description for this resource.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The ingest time rule display name.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    ingestTimeRuleId?: pulumi.Input<string | undefined>;
    /**
     * A flag indicating whether or not the ingest time rule is enabled.
     */
    isEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
     *
     *
     * ** 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
     */
    namespace?: pulumi.Input<string | undefined>;
    /**
     * The current state of the ingest time rule.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The date and time the resource was created, in the format defined by RFC3339.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The date and time the resource was last updated, in the format defined by RFC3339.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a NamespaceIngestTimeRule resource.
 */
export interface NamespaceIngestTimeRuleArgs {
    /**
     * (Updatable) The action(s) to be performed if the ingest time rule condition(s) are satisfied.
     */
    actions: pulumi.Input<pulumi.Input<inputs.LogAnalytics.NamespaceIngestTimeRuleAction>[]>;
    /**
     * (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) The condition(s) to evaluate for an ingest time rule.
     */
    conditions: pulumi.Input<inputs.LogAnalytics.NamespaceIngestTimeRuleConditions>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Description for this resource.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The ingest time rule display name.
     */
    displayName: pulumi.Input<string>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
     *
     *
     * ** 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
     */
    namespace: pulumi.Input<string>;
}
//# sourceMappingURL=namespaceIngestTimeRule.d.ts.map