import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * The log service supports log search and analysis. You must configure indexes to enable log search and analysis. When configuring indexes, specify the index type and the data type for each field. The index configuration determines the search method and the precision of search results. * * ## Import * * ```sh * $ pulumi import volcenginecc:tls/index:Index example "topic_id" * ``` */ export declare class Index extends pulumi.CustomResource { /** * Get an existing Index 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, state?: IndexState, opts?: pulumi.CustomResourceOptions): Index; /** * Returns true if the given object is an instance of Index. 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 Index; /** * Index creation time. */ readonly createTime: pulumi.Output; /** * Enable automatic index updates? When enabled, the system will automatically add newly detected fields to the key-value index. true: Enable automatic updates. false: Do not enable automatic updates. */ readonly enableAutoIndex: pulumi.Output; /** * Full-text index configuration. If this field is null or not configured, full-text indexing is disabled. At least one of full-text index or key-value index must be configured; that is, at least one parameter between FullText and KeyValue must be specified. */ readonly fullText: pulumi.Output; readonly keyValues: pulumi.Output; /** * Set the maximum length for field values. The default is 2048. The valid range is 64–16384 bytes. If a single field value exceeds the specified maximum length, the excess part will be truncated and excluded from analysis. After updating the maximum field length, only incremental data is affected. */ readonly maxTextLen: pulumi.Output; /** * Last modified time of the index. */ readonly modifyTime: pulumi.Output; /** * Log topic ID. */ readonly topicId: pulumi.Output; readonly userInnerKeyValues: pulumi.Output; /** * Create a Index 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: IndexArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Index resources. */ export interface IndexState { /** * Index creation time. */ createTime?: pulumi.Input; /** * Enable automatic index updates? When enabled, the system will automatically add newly detected fields to the key-value index. true: Enable automatic updates. false: Do not enable automatic updates. */ enableAutoIndex?: pulumi.Input; /** * Full-text index configuration. If this field is null or not configured, full-text indexing is disabled. At least one of full-text index or key-value index must be configured; that is, at least one parameter between FullText and KeyValue must be specified. */ fullText?: pulumi.Input; keyValues?: pulumi.Input[]>; /** * Set the maximum length for field values. The default is 2048. The valid range is 64–16384 bytes. If a single field value exceeds the specified maximum length, the excess part will be truncated and excluded from analysis. After updating the maximum field length, only incremental data is affected. */ maxTextLen?: pulumi.Input; /** * Last modified time of the index. */ modifyTime?: pulumi.Input; /** * Log topic ID. */ topicId?: pulumi.Input; userInnerKeyValues?: pulumi.Input[]>; } /** * The set of arguments for constructing a Index resource. */ export interface IndexArgs { /** * Enable automatic index updates? When enabled, the system will automatically add newly detected fields to the key-value index. true: Enable automatic updates. false: Do not enable automatic updates. */ enableAutoIndex?: pulumi.Input; /** * Full-text index configuration. If this field is null or not configured, full-text indexing is disabled. At least one of full-text index or key-value index must be configured; that is, at least one parameter between FullText and KeyValue must be specified. */ fullText?: pulumi.Input; keyValues?: pulumi.Input[]>; /** * Set the maximum length for field values. The default is 2048. The valid range is 64–16384 bytes. If a single field value exceeds the specified maximum length, the excess part will be truncated and excluded from analysis. After updating the maximum field length, only incremental data is affected. */ maxTextLen?: pulumi.Input; /** * Log topic ID. */ topicId: pulumi.Input; userInnerKeyValues?: pulumi.Input[]>; }