import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Namespace Lookup 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/NamespaceLookup
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/log_analytics
 *
 * Creates a lookup with the specified name, type and description. The csv file containing the lookup content is passed in as binary data in the request.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testNamespaceLookup = new oci.loganalytics.NamespaceLookup("test_namespace_lookup", {
 *     lookupName: namespaceLookupLookupName,
 *     namespace: namespaceLookupNamespace,
 *     registerLookupFile: namespaceLookupRegisterLookupFile,
 *     type: namespaceLookupType,
 *     categories: [{
 *         description: namespaceLookupCategoriesDescription,
 *         displayName: namespaceLookupCategoriesDisplayName,
 *         isSystem: namespaceLookupCategoriesIsSystem === "true",
 *         name: namespaceLookupCategoriesName,
 *         type: namespaceLookupCategoriesType,
 *     }],
 *     charEncoding: namespaceLookupCharEncoding,
 *     compartmentId: namespaceLookupCompartmentId,
 *     defaultMatchValue: namespaceLookupDefaultMatchValue,
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     description: namespaceLookupDescription,
 *     fields: [{
 *         commonFieldName: namespaceLookupFieldsCommonFieldName,
 *         defaultMatchValue: namespaceLookupFieldsDefaultMatchValue,
 *         displayName: namespaceLookupFieldsDisplayName,
 *         isCommonField: namespaceLookupFieldsIsCommonField === "true",
 *         matchOperator: namespaceLookupFieldsMatchOperator,
 *         name: namespaceLookupFieldsName,
 *         position: namespaceLookupFieldsPosition,
 *     }],
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 *     isHidden: namespaceLookupIsHidden === "true",
 *     maxMatches: namespaceLookupMaxMatches,
 * });
 * ```
 *
 * ## Import
 *
 * NamespaceLookups can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:LogAnalytics/namespaceLookup:NamespaceLookup test_namespace_lookup "namespaces/{namespaceName}/lookups/{lookupName}"
 * ```
 */
export declare class NamespaceLookup extends pulumi.CustomResource {
    /**
     * Get an existing NamespaceLookup 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?: NamespaceLookupState, opts?: pulumi.CustomResourceOptions): NamespaceLookup;
    /**
     * Returns true if the given object is an instance of NamespaceLookup.  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 NamespaceLookup;
    /**
     * The active edit version.
     */
    readonly activeEditVersion: pulumi.Output<string>;
    /**
     * The canonical link.
     */
    readonly canonicalLink: pulumi.Output<string>;
    /**
     * (Updatable) An array of categories to assign to the lookup. Specifying the name attribute for each category would suffice. Oracle-defined category assignments cannot be removed.
     */
    readonly categories: pulumi.Output<outputs.LogAnalytics.NamespaceLookupCategory[]>;
    /**
     * The character encoding of the uploaded file.
     */
    readonly charEncoding: pulumi.Output<string | undefined>;
    /**
     * (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) The default match value.
     */
    readonly defaultMatchValue: pulumi.Output<string | undefined>;
    /**
     * (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) The lookup description.
     */
    readonly description: pulumi.Output<string>;
    /**
     * The edit version.
     */
    readonly editVersion: pulumi.Output<string>;
    /**
     * (Updatable) The lookup fields.
     */
    readonly fields: pulumi.Output<outputs.LogAnalytics.NamespaceLookupField[]>;
    /**
     * (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;
    }>;
    /**
     * A flag indicating if the lookup is custom (user-defined) or built in.
     */
    readonly isBuiltIn: pulumi.Output<string>;
    /**
     * A flag indicating whether or not the new lookup should be hidden.
     */
    readonly isHidden: pulumi.Output<boolean>;
    /**
     * The lookup display name.
     */
    readonly lookupDisplayName: pulumi.Output<string>;
    /**
     * The lookup OCID.
     */
    readonly lookupId: pulumi.Output<string>;
    /**
     * The name of the lookup to operate on.
     */
    readonly lookupName: pulumi.Output<string>;
    /**
     * The lookup reference as an integer.
     */
    readonly lookupReference: pulumi.Output<string>;
    /**
     * The lookup reference as a string.
     */
    readonly lookupReferenceString: pulumi.Output<string>;
    /**
     * (Updatable) The maximum number of matches.
     */
    readonly maxMatches: pulumi.Output<string | undefined>;
    /**
     * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
     */
    readonly namespace: pulumi.Output<string>;
    /**
     * AutoLookups
     */
    readonly referringSources: pulumi.Output<outputs.LogAnalytics.NamespaceLookupReferringSource[]>;
    /**
     * Path to the file containing data for lookup creation.
     */
    readonly registerLookupFile: pulumi.Output<string>;
    /**
     * StatusSummary
     */
    readonly statusSummaries: pulumi.Output<outputs.LogAnalytics.NamespaceLookupStatusSummary[]>;
    /**
     * The last updated date.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * The lookup type. Valid values are Lookup, Dictionary or Module.
     *
     *
     * ** 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 type: pulumi.Output<string>;
    /**
     * Create a NamespaceLookup 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: NamespaceLookupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering NamespaceLookup resources.
 */
export interface NamespaceLookupState {
    /**
     * The active edit version.
     */
    activeEditVersion?: pulumi.Input<string | undefined>;
    /**
     * The canonical link.
     */
    canonicalLink?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) An array of categories to assign to the lookup. Specifying the name attribute for each category would suffice. Oracle-defined category assignments cannot be removed.
     */
    categories?: pulumi.Input<pulumi.Input<inputs.LogAnalytics.NamespaceLookupCategory>[] | undefined>;
    /**
     * The character encoding of the uploaded file.
     */
    charEncoding?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The default match value.
     */
    defaultMatchValue?: pulumi.Input<string | 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) The lookup description.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * The edit version.
     */
    editVersion?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The lookup fields.
     */
    fields?: pulumi.Input<pulumi.Input<inputs.LogAnalytics.NamespaceLookupField>[] | 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>;
    /**
     * A flag indicating if the lookup is custom (user-defined) or built in.
     */
    isBuiltIn?: pulumi.Input<string | undefined>;
    /**
     * A flag indicating whether or not the new lookup should be hidden.
     */
    isHidden?: pulumi.Input<boolean | undefined>;
    /**
     * The lookup display name.
     */
    lookupDisplayName?: pulumi.Input<string | undefined>;
    /**
     * The lookup OCID.
     */
    lookupId?: pulumi.Input<string | undefined>;
    /**
     * The name of the lookup to operate on.
     */
    lookupName?: pulumi.Input<string | undefined>;
    /**
     * The lookup reference as an integer.
     */
    lookupReference?: pulumi.Input<string | undefined>;
    /**
     * The lookup reference as a string.
     */
    lookupReferenceString?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The maximum number of matches.
     */
    maxMatches?: 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 | undefined>;
    /**
     * AutoLookups
     */
    referringSources?: pulumi.Input<pulumi.Input<inputs.LogAnalytics.NamespaceLookupReferringSource>[] | undefined>;
    /**
     * Path to the file containing data for lookup creation.
     */
    registerLookupFile?: pulumi.Input<string | undefined>;
    /**
     * StatusSummary
     */
    statusSummaries?: pulumi.Input<pulumi.Input<inputs.LogAnalytics.NamespaceLookupStatusSummary>[] | undefined>;
    /**
     * The last updated date.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * The lookup type. Valid values are Lookup, Dictionary or Module.
     *
     *
     * ** 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
     */
    type?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a NamespaceLookup resource.
 */
export interface NamespaceLookupArgs {
    /**
     * (Updatable) An array of categories to assign to the lookup. Specifying the name attribute for each category would suffice. Oracle-defined category assignments cannot be removed.
     */
    categories?: pulumi.Input<pulumi.Input<inputs.LogAnalytics.NamespaceLookupCategory>[] | undefined>;
    /**
     * The character encoding of the uploaded file.
     */
    charEncoding?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The default match value.
     */
    defaultMatchValue?: pulumi.Input<string | 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) The lookup description.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The lookup fields.
     */
    fields?: pulumi.Input<pulumi.Input<inputs.LogAnalytics.NamespaceLookupField>[] | 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>;
    /**
     * A flag indicating whether or not the new lookup should be hidden.
     */
    isHidden?: pulumi.Input<boolean | undefined>;
    /**
     * The name of the lookup to operate on.
     */
    lookupName: pulumi.Input<string>;
    /**
     * (Updatable) The maximum number of matches.
     */
    maxMatches?: 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>;
    /**
     * Path to the file containing data for lookup creation.
     */
    registerLookupFile: pulumi.Input<string>;
    /**
     * The lookup type. Valid values are Lookup, Dictionary or Module.
     *
     *
     * ** 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
     */
    type: pulumi.Input<string>;
}
//# sourceMappingURL=namespaceLookup.d.ts.map