import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Log Analytics Entity 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/LogAnalyticsEntity
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/log_analytics
 *
 * Create a new log analytics entity.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testLogAnalyticsEntity = new oci.loganalytics.LogAnalyticsEntity("test_log_analytics_entity", {
 *     compartmentId: compartmentId,
 *     entityTypeName: logAnalyticsEntityEntityTypeName,
 *     name: logAnalyticsEntityName,
 *     namespace: logAnalyticsEntityNamespace,
 *     cloudResourceId: testCloudResource.id,
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 *     hostname: logAnalyticsEntityHostname,
 *     managementAgentId: testManagementAgent.id,
 *     metadata: {
 *         items: [{
 *             name: logAnalyticsEntityMetadataItemsName,
 *             type: logAnalyticsEntityMetadataItemsType,
 *             value: logAnalyticsEntityMetadataItemsValue,
 *         }],
 *     },
 *     properties: logAnalyticsEntityProperties,
 *     sourceId: testSource.id,
 *     timeLastDiscovered: logAnalyticsEntityTimeLastDiscovered,
 *     timezoneRegion: logAnalyticsEntityTimezoneRegion,
 * });
 * ```
 *
 * ## Import
 *
 * LogAnalyticsEntities can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:LogAnalytics/logAnalyticsEntity:LogAnalyticsEntity test_log_analytics_entity "namespaces/{namespaceName}/logAnalyticsEntities/{logAnalyticsEntityId}"
 * ```
 */
export declare class LogAnalyticsEntity extends pulumi.CustomResource {
    /**
     * Get an existing LogAnalyticsEntity 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?: LogAnalyticsEntityState, opts?: pulumi.CustomResourceOptions): LogAnalyticsEntity;
    /**
     * Returns true if the given object is an instance of LogAnalyticsEntity.  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 LogAnalyticsEntity;
    /**
     * The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
     */
    readonly areLogsCollected: pulumi.Output<boolean>;
    /**
     * The count of associated log sources for a given log analytics entity.
     */
    readonly associatedSourcesCount: pulumi.Output<number>;
    /**
     * (Updatable) The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
     */
    readonly cloudResourceId: pulumi.Output<string>;
    /**
     * (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (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;
    }>;
    /**
     * Internal name for the log analytics entity type.
     */
    readonly entityTypeInternalName: pulumi.Output<string>;
    /**
     * Log analytics entity type name.
     */
    readonly entityTypeName: 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;
    }>;
    /**
     * (Updatable) The hostname where the entity represented here is actually present. This would be the output one would get if they run `echo $HOSTNAME` on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely.
     */
    readonly hostname: pulumi.Output<string>;
    /**
     * lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * Management agent (management-agents resource kind) compartment OCID
     */
    readonly managementAgentCompartmentId: pulumi.Output<string>;
    /**
     * Management agent (management-agents resource kind) display name
     */
    readonly managementAgentDisplayName: pulumi.Output<string>;
    /**
     * (Updatable) The OCID of the Management Agent.
     */
    readonly managementAgentId: pulumi.Output<string>;
    /**
     * (Updatable) Details of Entity Metadata.
     */
    readonly metadata: pulumi.Output<outputs.LogAnalytics.LogAnalyticsEntityMetadata>;
    /**
     * (Updatable) Log analytics entity name.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
     */
    readonly namespace: pulumi.Output<string>;
    /**
     * (Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.
     */
    readonly properties: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
     */
    readonly sourceId: pulumi.Output<string>;
    /**
     * The current state of the log analytics entity.
     */
    readonly state: pulumi.Output<string>;
    /**
     * The date and time the resource was created, in the format defined by RFC3339.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * (Updatable) The date and time the resource was last discovered, in the format defined by RFC3339.
     */
    readonly timeLastDiscovered: pulumi.Output<string>;
    /**
     * The date and time the resource was last updated, in the format defined by RFC3339.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * (Updatable) The timezone region of the log analytics entity.
     *
     *
     * ** 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 timezoneRegion: pulumi.Output<string>;
    /**
     * Create a LogAnalyticsEntity 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: LogAnalyticsEntityArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering LogAnalyticsEntity resources.
 */
export interface LogAnalyticsEntityState {
    /**
     * The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
     */
    areLogsCollected?: pulumi.Input<boolean | undefined>;
    /**
     * The count of associated log sources for a given log analytics entity.
     */
    associatedSourcesCount?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
     */
    cloudResourceId?: 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) 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>;
    /**
     * Internal name for the log analytics entity type.
     */
    entityTypeInternalName?: pulumi.Input<string | undefined>;
    /**
     * Log analytics entity type name.
     */
    entityTypeName?: 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>;
    /**
     * (Updatable) The hostname where the entity represented here is actually present. This would be the output one would get if they run `echo $HOSTNAME` on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely.
     */
    hostname?: pulumi.Input<string | undefined>;
    /**
     * lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * Management agent (management-agents resource kind) compartment OCID
     */
    managementAgentCompartmentId?: pulumi.Input<string | undefined>;
    /**
     * Management agent (management-agents resource kind) display name
     */
    managementAgentDisplayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The OCID of the Management Agent.
     */
    managementAgentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Details of Entity Metadata.
     */
    metadata?: pulumi.Input<inputs.LogAnalytics.LogAnalyticsEntityMetadata | undefined>;
    /**
     * (Updatable) Log analytics entity name.
     */
    name?: 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>;
    /**
     * (Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.
     */
    properties?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
     */
    sourceId?: pulumi.Input<string | undefined>;
    /**
     * The current state of the log analytics entity.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The date and time the resource was created, in the format defined by RFC3339.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The date and time the resource was last discovered, in the format defined by RFC3339.
     */
    timeLastDiscovered?: pulumi.Input<string | undefined>;
    /**
     * The date and time the resource was last updated, in the format defined by RFC3339.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The timezone region of the log analytics entity.
     *
     *
     * ** 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
     */
    timezoneRegion?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a LogAnalyticsEntity resource.
 */
export interface LogAnalyticsEntityArgs {
    /**
     * (Updatable) The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
     */
    cloudResourceId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (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>;
    /**
     * Log analytics entity type name.
     */
    entityTypeName: 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>;
    /**
     * (Updatable) The hostname where the entity represented here is actually present. This would be the output one would get if they run `echo $HOSTNAME` on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely.
     */
    hostname?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The OCID of the Management Agent.
     */
    managementAgentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Details of Entity Metadata.
     */
    metadata?: pulumi.Input<inputs.LogAnalytics.LogAnalyticsEntityMetadata | undefined>;
    /**
     * (Updatable) Log analytics entity name.
     */
    name?: 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>;
    /**
     * (Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.
     */
    properties?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
     */
    sourceId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The date and time the resource was last discovered, in the format defined by RFC3339.
     */
    timeLastDiscovered?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The timezone region of the log analytics entity.
     *
     *
     * ** 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
     */
    timezoneRegion?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=logAnalyticsEntity.d.ts.map