1. Packages
  2. Volcengine
  3. API Docs
  4. tls
  5. Index
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.tls.Index

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Provides a resource to manage tls index

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Volcengine.Tls.Index("foo", new()
        {
            KeyValues = new[]
            {
                new Volcengine.Tls.Inputs.IndexKeyValueArgs
                {
                    CaseSensitive = true,
                    Delimiter = "!",
                    IncludeChinese = false,
                    IndexAll = true,
                    JsonKeys = new[]
                    {
                        new Volcengine.Tls.Inputs.IndexKeyValueJsonKeyArgs
                        {
                            Key = "class",
                            ValueType = "text",
                        },
                        new Volcengine.Tls.Inputs.IndexKeyValueJsonKeyArgs
                        {
                            Key = "age",
                            ValueType = "long",
                        },
                    },
                    Key = "k1",
                    SqlFlag = true,
                    ValueType = "json",
                },
                new Volcengine.Tls.Inputs.IndexKeyValueArgs
                {
                    CaseSensitive = true,
                    Delimiter = "!",
                    IncludeChinese = false,
                    Key = "k5",
                    SqlFlag = false,
                    ValueType = "text",
                },
            },
            TopicId = "227a8d0c-b85b-48df-bee1-0927a595****",
            UserInnerKeyValues = new[]
            {
                new Volcengine.Tls.Inputs.IndexUserInnerKeyValueArgs
                {
                    CaseSensitive = false,
                    Delimiter = ",:-/ ",
                    IncludeChinese = false,
                    JsonKeys = new[]
                    {
                        new Volcengine.Tls.Inputs.IndexUserInnerKeyValueJsonKeyArgs
                        {
                            Key = "age",
                            ValueType = "long",
                        },
                        new Volcengine.Tls.Inputs.IndexUserInnerKeyValueJsonKeyArgs
                        {
                            Key = "name",
                            ValueType = "long",
                        },
                    },
                    Key = "__content__",
                    SqlFlag = false,
                    ValueType = "json",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tls.NewIndex(ctx, "foo", &tls.IndexArgs{
    			KeyValues: tls.IndexKeyValueArray{
    				&tls.IndexKeyValueArgs{
    					CaseSensitive:  pulumi.Bool(true),
    					Delimiter:      pulumi.String("!"),
    					IncludeChinese: pulumi.Bool(false),
    					IndexAll:       pulumi.Bool(true),
    					JsonKeys: tls.IndexKeyValueJsonKeyArray{
    						&tls.IndexKeyValueJsonKeyArgs{
    							Key:       pulumi.String("class"),
    							ValueType: pulumi.String("text"),
    						},
    						&tls.IndexKeyValueJsonKeyArgs{
    							Key:       pulumi.String("age"),
    							ValueType: pulumi.String("long"),
    						},
    					},
    					Key:       pulumi.String("k1"),
    					SqlFlag:   pulumi.Bool(true),
    					ValueType: pulumi.String("json"),
    				},
    				&tls.IndexKeyValueArgs{
    					CaseSensitive:  pulumi.Bool(true),
    					Delimiter:      pulumi.String("!"),
    					IncludeChinese: pulumi.Bool(false),
    					Key:            pulumi.String("k5"),
    					SqlFlag:        pulumi.Bool(false),
    					ValueType:      pulumi.String("text"),
    				},
    			},
    			TopicId: pulumi.String("227a8d0c-b85b-48df-bee1-0927a595****"),
    			UserInnerKeyValues: tls.IndexUserInnerKeyValueArray{
    				&tls.IndexUserInnerKeyValueArgs{
    					CaseSensitive:  pulumi.Bool(false),
    					Delimiter:      pulumi.String(",:-/ "),
    					IncludeChinese: pulumi.Bool(false),
    					JsonKeys: tls.IndexUserInnerKeyValueJsonKeyArray{
    						&tls.IndexUserInnerKeyValueJsonKeyArgs{
    							Key:       pulumi.String("age"),
    							ValueType: pulumi.String("long"),
    						},
    						&tls.IndexUserInnerKeyValueJsonKeyArgs{
    							Key:       pulumi.String("name"),
    							ValueType: pulumi.String("long"),
    						},
    					},
    					Key:       pulumi.String("__content__"),
    					SqlFlag:   pulumi.Bool(false),
    					ValueType: pulumi.String("json"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.tls.Index;
    import com.pulumi.volcengine.tls.IndexArgs;
    import com.pulumi.volcengine.tls.inputs.IndexKeyValueArgs;
    import com.pulumi.volcengine.tls.inputs.IndexUserInnerKeyValueArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foo = new Index("foo", IndexArgs.builder()        
                .keyValues(            
                    IndexKeyValueArgs.builder()
                        .caseSensitive(true)
                        .delimiter("!")
                        .includeChinese(false)
                        .indexAll(true)
                        .jsonKeys(                    
                            IndexKeyValueJsonKeyArgs.builder()
                                .key("class")
                                .valueType("text")
                                .build(),
                            IndexKeyValueJsonKeyArgs.builder()
                                .key("age")
                                .valueType("long")
                                .build())
                        .key("k1")
                        .sqlFlag(true)
                        .valueType("json")
                        .build(),
                    IndexKeyValueArgs.builder()
                        .caseSensitive(true)
                        .delimiter("!")
                        .includeChinese(false)
                        .key("k5")
                        .sqlFlag(false)
                        .valueType("text")
                        .build())
                .topicId("227a8d0c-b85b-48df-bee1-0927a595****")
                .userInnerKeyValues(IndexUserInnerKeyValueArgs.builder()
                    .caseSensitive(false)
                    .delimiter(",:-/ ")
                    .includeChinese(false)
                    .jsonKeys(                
                        IndexUserInnerKeyValueJsonKeyArgs.builder()
                            .key("age")
                            .valueType("long")
                            .build(),
                        IndexUserInnerKeyValueJsonKeyArgs.builder()
                            .key("name")
                            .valueType("long")
                            .build())
                    .key("__content__")
                    .sqlFlag(false)
                    .valueType("json")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.tls.Index("foo",
        key_values=[
            volcengine.tls.IndexKeyValueArgs(
                case_sensitive=True,
                delimiter="!",
                include_chinese=False,
                index_all=True,
                json_keys=[
                    volcengine.tls.IndexKeyValueJsonKeyArgs(
                        key="class",
                        value_type="text",
                    ),
                    volcengine.tls.IndexKeyValueJsonKeyArgs(
                        key="age",
                        value_type="long",
                    ),
                ],
                key="k1",
                sql_flag=True,
                value_type="json",
            ),
            volcengine.tls.IndexKeyValueArgs(
                case_sensitive=True,
                delimiter="!",
                include_chinese=False,
                key="k5",
                sql_flag=False,
                value_type="text",
            ),
        ],
        topic_id="227a8d0c-b85b-48df-bee1-0927a595****",
        user_inner_key_values=[volcengine.tls.IndexUserInnerKeyValueArgs(
            case_sensitive=False,
            delimiter=",:-/ ",
            include_chinese=False,
            json_keys=[
                volcengine.tls.IndexUserInnerKeyValueJsonKeyArgs(
                    key="age",
                    value_type="long",
                ),
                volcengine.tls.IndexUserInnerKeyValueJsonKeyArgs(
                    key="name",
                    value_type="long",
                ),
            ],
            key="__content__",
            sql_flag=False,
            value_type="json",
        )])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@volcengine/pulumi";
    
    const foo = new volcengine.tls.Index("foo", {
        keyValues: [
            {
                caseSensitive: true,
                delimiter: "!",
                includeChinese: false,
                indexAll: true,
                jsonKeys: [
                    {
                        key: "class",
                        valueType: "text",
                    },
                    {
                        key: "age",
                        valueType: "long",
                    },
                ],
                key: "k1",
                sqlFlag: true,
                valueType: "json",
            },
            {
                caseSensitive: true,
                delimiter: "!",
                includeChinese: false,
                key: "k5",
                sqlFlag: false,
                valueType: "text",
            },
        ],
        topicId: "227a8d0c-b85b-48df-bee1-0927a595****",
        userInnerKeyValues: [{
            caseSensitive: false,
            delimiter: ",:-/ ",
            includeChinese: false,
            jsonKeys: [
                {
                    key: "age",
                    valueType: "long",
                },
                {
                    key: "name",
                    valueType: "long",
                },
            ],
            key: "__content__",
            sqlFlag: false,
            valueType: "json",
        }],
    });
    
    resources:
      foo:
        type: volcengine:tls:Index
        properties:
          keyValues:
            - caseSensitive: true
              delimiter: '!'
              includeChinese: false
              indexAll: true
              jsonKeys:
                - key: class
                  valueType: text
                - key: age
                  valueType: long
              key: k1
              sqlFlag: true
              valueType: json
            - caseSensitive: true
              delimiter: '!'
              includeChinese: false
              key: k5
              sqlFlag: false
              valueType: text
          topicId: 227a8d0c-b85b-48df-bee1-0927a595****
          userInnerKeyValues:
            - caseSensitive: false
              delimiter: ',:-/ '
              includeChinese: false
              jsonKeys:
                - key: age
                  valueType: long
                - key: name
                  valueType: long
              key: __content__
              sqlFlag: false
              valueType: json
    

    Create Index Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Index(name: string, args: IndexArgs, opts?: CustomResourceOptions);
    @overload
    def Index(resource_name: str,
              args: IndexArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Index(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              topic_id: Optional[str] = None,
              full_text: Optional[IndexFullTextArgs] = None,
              key_values: Optional[Sequence[IndexKeyValueArgs]] = None,
              user_inner_key_values: Optional[Sequence[IndexUserInnerKeyValueArgs]] = None)
    func NewIndex(ctx *Context, name string, args IndexArgs, opts ...ResourceOption) (*Index, error)
    public Index(string name, IndexArgs args, CustomResourceOptions? opts = null)
    public Index(String name, IndexArgs args)
    public Index(String name, IndexArgs args, CustomResourceOptions options)
    
    type: volcengine:tls:Index
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IndexArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IndexArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IndexArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IndexArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IndexArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var indexResource = new Volcengine.Tls.Index("indexResource", new()
    {
        TopicId = "string",
        FullText = new Volcengine.Tls.Inputs.IndexFullTextArgs
        {
            CaseSensitive = false,
            Delimiter = "string",
            IncludeChinese = false,
        },
        KeyValues = new[]
        {
            new Volcengine.Tls.Inputs.IndexKeyValueArgs
            {
                Key = "string",
                ValueType = "string",
                CaseSensitive = false,
                Delimiter = "string",
                IncludeChinese = false,
                IndexAll = false,
                JsonKeys = new[]
                {
                    new Volcengine.Tls.Inputs.IndexKeyValueJsonKeyArgs
                    {
                        Key = "string",
                        ValueType = "string",
                    },
                },
                SqlFlag = false,
            },
        },
        UserInnerKeyValues = new[]
        {
            new Volcengine.Tls.Inputs.IndexUserInnerKeyValueArgs
            {
                Key = "string",
                ValueType = "string",
                CaseSensitive = false,
                Delimiter = "string",
                IncludeChinese = false,
                JsonKeys = new[]
                {
                    new Volcengine.Tls.Inputs.IndexUserInnerKeyValueJsonKeyArgs
                    {
                        Key = "string",
                        ValueType = "string",
                    },
                },
                SqlFlag = false,
            },
        },
    });
    
    example, err := tls.NewIndex(ctx, "indexResource", &tls.IndexArgs{
    	TopicId: pulumi.String("string"),
    	FullText: &tls.IndexFullTextArgs{
    		CaseSensitive:  pulumi.Bool(false),
    		Delimiter:      pulumi.String("string"),
    		IncludeChinese: pulumi.Bool(false),
    	},
    	KeyValues: tls.IndexKeyValueArray{
    		&tls.IndexKeyValueArgs{
    			Key:            pulumi.String("string"),
    			ValueType:      pulumi.String("string"),
    			CaseSensitive:  pulumi.Bool(false),
    			Delimiter:      pulumi.String("string"),
    			IncludeChinese: pulumi.Bool(false),
    			IndexAll:       pulumi.Bool(false),
    			JsonKeys: tls.IndexKeyValueJsonKeyArray{
    				&tls.IndexKeyValueJsonKeyArgs{
    					Key:       pulumi.String("string"),
    					ValueType: pulumi.String("string"),
    				},
    			},
    			SqlFlag: pulumi.Bool(false),
    		},
    	},
    	UserInnerKeyValues: tls.IndexUserInnerKeyValueArray{
    		&tls.IndexUserInnerKeyValueArgs{
    			Key:            pulumi.String("string"),
    			ValueType:      pulumi.String("string"),
    			CaseSensitive:  pulumi.Bool(false),
    			Delimiter:      pulumi.String("string"),
    			IncludeChinese: pulumi.Bool(false),
    			JsonKeys: tls.IndexUserInnerKeyValueJsonKeyArray{
    				&tls.IndexUserInnerKeyValueJsonKeyArgs{
    					Key:       pulumi.String("string"),
    					ValueType: pulumi.String("string"),
    				},
    			},
    			SqlFlag: pulumi.Bool(false),
    		},
    	},
    })
    
    var indexResource = new Index("indexResource", IndexArgs.builder()
        .topicId("string")
        .fullText(IndexFullTextArgs.builder()
            .caseSensitive(false)
            .delimiter("string")
            .includeChinese(false)
            .build())
        .keyValues(IndexKeyValueArgs.builder()
            .key("string")
            .valueType("string")
            .caseSensitive(false)
            .delimiter("string")
            .includeChinese(false)
            .indexAll(false)
            .jsonKeys(IndexKeyValueJsonKeyArgs.builder()
                .key("string")
                .valueType("string")
                .build())
            .sqlFlag(false)
            .build())
        .userInnerKeyValues(IndexUserInnerKeyValueArgs.builder()
            .key("string")
            .valueType("string")
            .caseSensitive(false)
            .delimiter("string")
            .includeChinese(false)
            .jsonKeys(IndexUserInnerKeyValueJsonKeyArgs.builder()
                .key("string")
                .valueType("string")
                .build())
            .sqlFlag(false)
            .build())
        .build());
    
    index_resource = volcengine.tls.Index("indexResource",
        topic_id="string",
        full_text=volcengine.tls.IndexFullTextArgs(
            case_sensitive=False,
            delimiter="string",
            include_chinese=False,
        ),
        key_values=[volcengine.tls.IndexKeyValueArgs(
            key="string",
            value_type="string",
            case_sensitive=False,
            delimiter="string",
            include_chinese=False,
            index_all=False,
            json_keys=[volcengine.tls.IndexKeyValueJsonKeyArgs(
                key="string",
                value_type="string",
            )],
            sql_flag=False,
        )],
        user_inner_key_values=[volcengine.tls.IndexUserInnerKeyValueArgs(
            key="string",
            value_type="string",
            case_sensitive=False,
            delimiter="string",
            include_chinese=False,
            json_keys=[volcengine.tls.IndexUserInnerKeyValueJsonKeyArgs(
                key="string",
                value_type="string",
            )],
            sql_flag=False,
        )])
    
    const indexResource = new volcengine.tls.Index("indexResource", {
        topicId: "string",
        fullText: {
            caseSensitive: false,
            delimiter: "string",
            includeChinese: false,
        },
        keyValues: [{
            key: "string",
            valueType: "string",
            caseSensitive: false,
            delimiter: "string",
            includeChinese: false,
            indexAll: false,
            jsonKeys: [{
                key: "string",
                valueType: "string",
            }],
            sqlFlag: false,
        }],
        userInnerKeyValues: [{
            key: "string",
            valueType: "string",
            caseSensitive: false,
            delimiter: "string",
            includeChinese: false,
            jsonKeys: [{
                key: "string",
                valueType: "string",
            }],
            sqlFlag: false,
        }],
    });
    
    type: volcengine:tls:Index
    properties:
        fullText:
            caseSensitive: false
            delimiter: string
            includeChinese: false
        keyValues:
            - caseSensitive: false
              delimiter: string
              includeChinese: false
              indexAll: false
              jsonKeys:
                - key: string
                  valueType: string
              key: string
              sqlFlag: false
              valueType: string
        topicId: string
        userInnerKeyValues:
            - caseSensitive: false
              delimiter: string
              includeChinese: false
              jsonKeys:
                - key: string
                  valueType: string
              key: string
              sqlFlag: false
              valueType: string
    

    Index Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Index resource accepts the following input properties:

    TopicId string
    The topic id of the tls index.
    FullText IndexFullText
    The full text info of the tls index.
    KeyValues List<IndexKeyValue>
    The key value info of the tls index.
    UserInnerKeyValues List<IndexUserInnerKeyValue>
    The reserved field index configuration of the tls index.
    TopicId string
    The topic id of the tls index.
    FullText IndexFullTextArgs
    The full text info of the tls index.
    KeyValues []IndexKeyValueArgs
    The key value info of the tls index.
    UserInnerKeyValues []IndexUserInnerKeyValueArgs
    The reserved field index configuration of the tls index.
    topicId String
    The topic id of the tls index.
    fullText IndexFullText
    The full text info of the tls index.
    keyValues List<IndexKeyValue>
    The key value info of the tls index.
    userInnerKeyValues List<IndexUserInnerKeyValue>
    The reserved field index configuration of the tls index.
    topicId string
    The topic id of the tls index.
    fullText IndexFullText
    The full text info of the tls index.
    keyValues IndexKeyValue[]
    The key value info of the tls index.
    userInnerKeyValues IndexUserInnerKeyValue[]
    The reserved field index configuration of the tls index.
    topic_id str
    The topic id of the tls index.
    full_text IndexFullTextArgs
    The full text info of the tls index.
    key_values Sequence[IndexKeyValueArgs]
    The key value info of the tls index.
    user_inner_key_values Sequence[IndexUserInnerKeyValueArgs]
    The reserved field index configuration of the tls index.
    topicId String
    The topic id of the tls index.
    fullText Property Map
    The full text info of the tls index.
    keyValues List<Property Map>
    The key value info of the tls index.
    userInnerKeyValues List<Property Map>
    The reserved field index configuration of the tls index.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Index resource produces the following output properties:

    CreateTime string
    The create time of the tls index.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifyTime string
    The modify time of the tls index.
    CreateTime string
    The create time of the tls index.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifyTime string
    The modify time of the tls index.
    createTime String
    The create time of the tls index.
    id String
    The provider-assigned unique ID for this managed resource.
    modifyTime String
    The modify time of the tls index.
    createTime string
    The create time of the tls index.
    id string
    The provider-assigned unique ID for this managed resource.
    modifyTime string
    The modify time of the tls index.
    create_time str
    The create time of the tls index.
    id str
    The provider-assigned unique ID for this managed resource.
    modify_time str
    The modify time of the tls index.
    createTime String
    The create time of the tls index.
    id String
    The provider-assigned unique ID for this managed resource.
    modifyTime String
    The modify time of the tls index.

    Look up Existing Index Resource

    Get an existing Index resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IndexState, opts?: CustomResourceOptions): Index
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            full_text: Optional[IndexFullTextArgs] = None,
            key_values: Optional[Sequence[IndexKeyValueArgs]] = None,
            modify_time: Optional[str] = None,
            topic_id: Optional[str] = None,
            user_inner_key_values: Optional[Sequence[IndexUserInnerKeyValueArgs]] = None) -> Index
    func GetIndex(ctx *Context, name string, id IDInput, state *IndexState, opts ...ResourceOption) (*Index, error)
    public static Index Get(string name, Input<string> id, IndexState? state, CustomResourceOptions? opts = null)
    public static Index get(String name, Output<String> id, IndexState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreateTime string
    The create time of the tls index.
    FullText IndexFullText
    The full text info of the tls index.
    KeyValues List<IndexKeyValue>
    The key value info of the tls index.
    ModifyTime string
    The modify time of the tls index.
    TopicId string
    The topic id of the tls index.
    UserInnerKeyValues List<IndexUserInnerKeyValue>
    The reserved field index configuration of the tls index.
    CreateTime string
    The create time of the tls index.
    FullText IndexFullTextArgs
    The full text info of the tls index.
    KeyValues []IndexKeyValueArgs
    The key value info of the tls index.
    ModifyTime string
    The modify time of the tls index.
    TopicId string
    The topic id of the tls index.
    UserInnerKeyValues []IndexUserInnerKeyValueArgs
    The reserved field index configuration of the tls index.
    createTime String
    The create time of the tls index.
    fullText IndexFullText
    The full text info of the tls index.
    keyValues List<IndexKeyValue>
    The key value info of the tls index.
    modifyTime String
    The modify time of the tls index.
    topicId String
    The topic id of the tls index.
    userInnerKeyValues List<IndexUserInnerKeyValue>
    The reserved field index configuration of the tls index.
    createTime string
    The create time of the tls index.
    fullText IndexFullText
    The full text info of the tls index.
    keyValues IndexKeyValue[]
    The key value info of the tls index.
    modifyTime string
    The modify time of the tls index.
    topicId string
    The topic id of the tls index.
    userInnerKeyValues IndexUserInnerKeyValue[]
    The reserved field index configuration of the tls index.
    create_time str
    The create time of the tls index.
    full_text IndexFullTextArgs
    The full text info of the tls index.
    key_values Sequence[IndexKeyValueArgs]
    The key value info of the tls index.
    modify_time str
    The modify time of the tls index.
    topic_id str
    The topic id of the tls index.
    user_inner_key_values Sequence[IndexUserInnerKeyValueArgs]
    The reserved field index configuration of the tls index.
    createTime String
    The create time of the tls index.
    fullText Property Map
    The full text info of the tls index.
    keyValues List<Property Map>
    The key value info of the tls index.
    modifyTime String
    The modify time of the tls index.
    topicId String
    The topic id of the tls index.
    userInnerKeyValues List<Property Map>
    The reserved field index configuration of the tls index.

    Supporting Types

    IndexFullText, IndexFullTextArgs

    CaseSensitive bool
    Whether the FullTextInfo is case sensitive.
    Delimiter string
    The delimiter of the FullTextInfo.
    IncludeChinese bool
    Whether the FullTextInfo include chinese.
    CaseSensitive bool
    Whether the FullTextInfo is case sensitive.
    Delimiter string
    The delimiter of the FullTextInfo.
    IncludeChinese bool
    Whether the FullTextInfo include chinese.
    caseSensitive Boolean
    Whether the FullTextInfo is case sensitive.
    delimiter String
    The delimiter of the FullTextInfo.
    includeChinese Boolean
    Whether the FullTextInfo include chinese.
    caseSensitive boolean
    Whether the FullTextInfo is case sensitive.
    delimiter string
    The delimiter of the FullTextInfo.
    includeChinese boolean
    Whether the FullTextInfo include chinese.
    case_sensitive bool
    Whether the FullTextInfo is case sensitive.
    delimiter str
    The delimiter of the FullTextInfo.
    include_chinese bool
    Whether the FullTextInfo include chinese.
    caseSensitive Boolean
    Whether the FullTextInfo is case sensitive.
    delimiter String
    The delimiter of the FullTextInfo.
    includeChinese Boolean
    Whether the FullTextInfo include chinese.

    IndexKeyValue, IndexKeyValueArgs

    Key string
    The key of the KeyValueInfo.
    ValueType string
    The type of value. Valid values: long, double, text, json.
    CaseSensitive bool
    Whether the value is case sensitive.
    Delimiter string
    The delimiter of the value.
    IncludeChinese bool
    Whether the value include chinese.
    IndexAll bool
    Whether to create indexes for all fields in JSON fields with text values. This field is valid when the value_type is json.
    JsonKeys List<IndexKeyValueJsonKey>
    The JSON subfield key value index.
    SqlFlag bool
    Whether the filed is enabled for analysis.
    Key string
    The key of the KeyValueInfo.
    ValueType string
    The type of value. Valid values: long, double, text, json.
    CaseSensitive bool
    Whether the value is case sensitive.
    Delimiter string
    The delimiter of the value.
    IncludeChinese bool
    Whether the value include chinese.
    IndexAll bool
    Whether to create indexes for all fields in JSON fields with text values. This field is valid when the value_type is json.
    JsonKeys []IndexKeyValueJsonKey
    The JSON subfield key value index.
    SqlFlag bool
    Whether the filed is enabled for analysis.
    key String
    The key of the KeyValueInfo.
    valueType String
    The type of value. Valid values: long, double, text, json.
    caseSensitive Boolean
    Whether the value is case sensitive.
    delimiter String
    The delimiter of the value.
    includeChinese Boolean
    Whether the value include chinese.
    indexAll Boolean
    Whether to create indexes for all fields in JSON fields with text values. This field is valid when the value_type is json.
    jsonKeys List<IndexKeyValueJsonKey>
    The JSON subfield key value index.
    sqlFlag Boolean
    Whether the filed is enabled for analysis.
    key string
    The key of the KeyValueInfo.
    valueType string
    The type of value. Valid values: long, double, text, json.
    caseSensitive boolean
    Whether the value is case sensitive.
    delimiter string
    The delimiter of the value.
    includeChinese boolean
    Whether the value include chinese.
    indexAll boolean
    Whether to create indexes for all fields in JSON fields with text values. This field is valid when the value_type is json.
    jsonKeys IndexKeyValueJsonKey[]
    The JSON subfield key value index.
    sqlFlag boolean
    Whether the filed is enabled for analysis.
    key str
    The key of the KeyValueInfo.
    value_type str
    The type of value. Valid values: long, double, text, json.
    case_sensitive bool
    Whether the value is case sensitive.
    delimiter str
    The delimiter of the value.
    include_chinese bool
    Whether the value include chinese.
    index_all bool
    Whether to create indexes for all fields in JSON fields with text values. This field is valid when the value_type is json.
    json_keys Sequence[IndexKeyValueJsonKey]
    The JSON subfield key value index.
    sql_flag bool
    Whether the filed is enabled for analysis.
    key String
    The key of the KeyValueInfo.
    valueType String
    The type of value. Valid values: long, double, text, json.
    caseSensitive Boolean
    Whether the value is case sensitive.
    delimiter String
    The delimiter of the value.
    includeChinese Boolean
    Whether the value include chinese.
    indexAll Boolean
    Whether to create indexes for all fields in JSON fields with text values. This field is valid when the value_type is json.
    jsonKeys List<Property Map>
    The JSON subfield key value index.
    sqlFlag Boolean
    Whether the filed is enabled for analysis.

    IndexKeyValueJsonKey, IndexKeyValueJsonKeyArgs

    Key string
    The key of the subfield key value index.
    ValueType string
    The type of value. Valid values: long, double, text.
    Key string
    The key of the subfield key value index.
    ValueType string
    The type of value. Valid values: long, double, text.
    key String
    The key of the subfield key value index.
    valueType String
    The type of value. Valid values: long, double, text.
    key string
    The key of the subfield key value index.
    valueType string
    The type of value. Valid values: long, double, text.
    key str
    The key of the subfield key value index.
    value_type str
    The type of value. Valid values: long, double, text.
    key String
    The key of the subfield key value index.
    valueType String
    The type of value. Valid values: long, double, text.

    IndexUserInnerKeyValue, IndexUserInnerKeyValueArgs

    Key string
    The key of the KeyValueInfo.
    ValueType string
    The type of value. Valid values: long, double, text, json.
    CaseSensitive bool
    Whether the value is case sensitive.
    Delimiter string
    The delimiter of the value.
    IncludeChinese bool
    Whether the value include chinese.
    JsonKeys List<IndexUserInnerKeyValueJsonKey>
    The JSON subfield key value index.
    SqlFlag bool
    Whether the filed is enabled for analysis.
    Key string
    The key of the KeyValueInfo.
    ValueType string
    The type of value. Valid values: long, double, text, json.
    CaseSensitive bool
    Whether the value is case sensitive.
    Delimiter string
    The delimiter of the value.
    IncludeChinese bool
    Whether the value include chinese.
    JsonKeys []IndexUserInnerKeyValueJsonKey
    The JSON subfield key value index.
    SqlFlag bool
    Whether the filed is enabled for analysis.
    key String
    The key of the KeyValueInfo.
    valueType String
    The type of value. Valid values: long, double, text, json.
    caseSensitive Boolean
    Whether the value is case sensitive.
    delimiter String
    The delimiter of the value.
    includeChinese Boolean
    Whether the value include chinese.
    jsonKeys List<IndexUserInnerKeyValueJsonKey>
    The JSON subfield key value index.
    sqlFlag Boolean
    Whether the filed is enabled for analysis.
    key string
    The key of the KeyValueInfo.
    valueType string
    The type of value. Valid values: long, double, text, json.
    caseSensitive boolean
    Whether the value is case sensitive.
    delimiter string
    The delimiter of the value.
    includeChinese boolean
    Whether the value include chinese.
    jsonKeys IndexUserInnerKeyValueJsonKey[]
    The JSON subfield key value index.
    sqlFlag boolean
    Whether the filed is enabled for analysis.
    key str
    The key of the KeyValueInfo.
    value_type str
    The type of value. Valid values: long, double, text, json.
    case_sensitive bool
    Whether the value is case sensitive.
    delimiter str
    The delimiter of the value.
    include_chinese bool
    Whether the value include chinese.
    json_keys Sequence[IndexUserInnerKeyValueJsonKey]
    The JSON subfield key value index.
    sql_flag bool
    Whether the filed is enabled for analysis.
    key String
    The key of the KeyValueInfo.
    valueType String
    The type of value. Valid values: long, double, text, json.
    caseSensitive Boolean
    Whether the value is case sensitive.
    delimiter String
    The delimiter of the value.
    includeChinese Boolean
    Whether the value include chinese.
    jsonKeys List<Property Map>
    The JSON subfield key value index.
    sqlFlag Boolean
    Whether the filed is enabled for analysis.

    IndexUserInnerKeyValueJsonKey, IndexUserInnerKeyValueJsonKeyArgs

    Key string
    The key of the subfield key value index.
    ValueType string
    The type of value. Valid values: long, double, text.
    Key string
    The key of the subfield key value index.
    ValueType string
    The type of value. Valid values: long, double, text.
    key String
    The key of the subfield key value index.
    valueType String
    The type of value. Valid values: long, double, text.
    key string
    The key of the subfield key value index.
    valueType string
    The type of value. Valid values: long, double, text.
    key str
    The key of the subfield key value index.
    value_type str
    The type of value. Valid values: long, double, text.
    key String
    The key of the subfield key value index.
    valueType String
    The type of value. Valid values: long, double, text.

    Import

    Tls Index can be imported using the topic id, e.g.

     $ pulumi import volcengine:tls/index:Index default index:edf051ed-3c46-49ba-9339-bea628fe****
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine