volcengine.tls.Index
Explore with Pulumi AI
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)
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={
"case_sensitive": False,
"delimiter": "string",
"include_chinese": False,
},
key_values=[{
"key": "string",
"value_type": "string",
"case_sensitive": False,
"delimiter": "string",
"include_chinese": False,
"index_all": False,
"json_keys": [{
"key": "string",
"value_type": "string",
}],
"sql_flag": False,
}],
user_inner_key_values=[{
"key": "string",
"value_type": "string",
"case_sensitive": False,
"delimiter": "string",
"include_chinese": False,
"json_keys": [{
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Index resource accepts the following input properties:
- Topic
Id string - The topic id of the tls index.
- Full
Text IndexFull Text - The full text info of the tls index.
- Key
Values List<IndexKey Value> - The key value info of the tls index.
- User
Inner List<IndexKey Values User Inner Key Value> - The reserved field index configuration of the tls index.
- Topic
Id string - The topic id of the tls index.
- Full
Text IndexFull Text Args - The full text info of the tls index.
- Key
Values []IndexKey Value Args - The key value info of the tls index.
- User
Inner []IndexKey Values User Inner Key Value Args - The reserved field index configuration of the tls index.
- topic
Id String - The topic id of the tls index.
- full
Text IndexFull Text - The full text info of the tls index.
- key
Values List<IndexKey Value> - The key value info of the tls index.
- user
Inner List<IndexKey Values User Inner Key Value> - The reserved field index configuration of the tls index.
- topic
Id string - The topic id of the tls index.
- full
Text IndexFull Text - The full text info of the tls index.
- key
Values IndexKey Value[] - The key value info of the tls index.
- user
Inner IndexKey Values User Inner Key Value[] - The reserved field index configuration of the tls index.
- topic_
id str - The topic id of the tls index.
- full_
text IndexFull Text Args - The full text info of the tls index.
- key_
values Sequence[IndexKey Value Args] - The key value info of the tls index.
- user_
inner_ Sequence[Indexkey_ values User Inner Key Value Args] - The reserved field index configuration of the tls index.
- topic
Id String - The topic id of the tls index.
- full
Text Property Map - The full text info of the tls index.
- key
Values List<Property Map> - The key value info of the tls index.
- user
Inner List<Property Map>Key Values - 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:
- Create
Time string - The create time of the tls index.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modify
Time string - The modify time of the tls index.
- Create
Time string - The create time of the tls index.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modify
Time string - The modify time of the tls index.
- create
Time String - The create time of the tls index.
- id String
- The provider-assigned unique ID for this managed resource.
- modify
Time String - The modify time of the tls index.
- create
Time string - The create time of the tls index.
- id string
- The provider-assigned unique ID for this managed resource.
- modify
Time 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.
- create
Time String - The create time of the tls index.
- id String
- The provider-assigned unique ID for this managed resource.
- modify
Time 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.
- Create
Time string - The create time of the tls index.
- Full
Text IndexFull Text - The full text info of the tls index.
- Key
Values List<IndexKey Value> - The key value info of the tls index.
- Modify
Time string - The modify time of the tls index.
- Topic
Id string - The topic id of the tls index.
- User
Inner List<IndexKey Values User Inner Key Value> - The reserved field index configuration of the tls index.
- Create
Time string - The create time of the tls index.
- Full
Text IndexFull Text Args - The full text info of the tls index.
- Key
Values []IndexKey Value Args - The key value info of the tls index.
- Modify
Time string - The modify time of the tls index.
- Topic
Id string - The topic id of the tls index.
- User
Inner []IndexKey Values User Inner Key Value Args - The reserved field index configuration of the tls index.
- create
Time String - The create time of the tls index.
- full
Text IndexFull Text - The full text info of the tls index.
- key
Values List<IndexKey Value> - The key value info of the tls index.
- modify
Time String - The modify time of the tls index.
- topic
Id String - The topic id of the tls index.
- user
Inner List<IndexKey Values User Inner Key Value> - The reserved field index configuration of the tls index.
- create
Time string - The create time of the tls index.
- full
Text IndexFull Text - The full text info of the tls index.
- key
Values IndexKey Value[] - The key value info of the tls index.
- modify
Time string - The modify time of the tls index.
- topic
Id string - The topic id of the tls index.
- user
Inner IndexKey Values User Inner Key Value[] - The reserved field index configuration of the tls index.
- create_
time str - The create time of the tls index.
- full_
text IndexFull Text Args - The full text info of the tls index.
- key_
values Sequence[IndexKey Value Args] - 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_ Sequence[Indexkey_ values User Inner Key Value Args] - The reserved field index configuration of the tls index.
- create
Time String - The create time of the tls index.
- full
Text Property Map - The full text info of the tls index.
- key
Values List<Property Map> - The key value info of the tls index.
- modify
Time String - The modify time of the tls index.
- topic
Id String - The topic id of the tls index.
- user
Inner List<Property Map>Key Values - The reserved field index configuration of the tls index.
Supporting Types
IndexFullText, IndexFullTextArgs
- Case
Sensitive bool - Whether the FullTextInfo is case sensitive.
- Delimiter string
- The delimiter of the FullTextInfo.
- Include
Chinese bool - Whether the FullTextInfo include chinese.
- Case
Sensitive bool - Whether the FullTextInfo is case sensitive.
- Delimiter string
- The delimiter of the FullTextInfo.
- Include
Chinese bool - Whether the FullTextInfo include chinese.
- case
Sensitive Boolean - Whether the FullTextInfo is case sensitive.
- delimiter String
- The delimiter of the FullTextInfo.
- include
Chinese Boolean - Whether the FullTextInfo include chinese.
- case
Sensitive boolean - Whether the FullTextInfo is case sensitive.
- delimiter string
- The delimiter of the FullTextInfo.
- include
Chinese 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.
- case
Sensitive Boolean - Whether the FullTextInfo is case sensitive.
- delimiter String
- The delimiter of the FullTextInfo.
- include
Chinese Boolean - Whether the FullTextInfo include chinese.
IndexKeyValue, IndexKeyValueArgs
- Key string
- The key of the KeyValueInfo.
- Value
Type string - The type of value. Valid values:
long
,double
,text
,json
. - Case
Sensitive bool - Whether the value is case sensitive.
- Delimiter string
- 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
isjson
. - Json
Keys List<IndexKey Value Json Key> - The JSON subfield key value index.
- Sql
Flag bool - Whether the filed is enabled for analysis.
- Key string
- The key of the KeyValueInfo.
- Value
Type string - The type of value. Valid values:
long
,double
,text
,json
. - Case
Sensitive bool - Whether the value is case sensitive.
- Delimiter string
- 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
isjson
. - Json
Keys []IndexKey Value Json Key - The JSON subfield key value index.
- Sql
Flag bool - Whether the filed is enabled for analysis.
- key String
- The key of the KeyValueInfo.
- value
Type String - The type of value. Valid values:
long
,double
,text
,json
. - case
Sensitive Boolean - Whether the value is case sensitive.
- delimiter String
- The delimiter of the value.
- include
Chinese Boolean - Whether the value include chinese.
- index
All Boolean - Whether to create indexes for all fields in JSON fields with text values. This field is valid when the
value_type
isjson
. - json
Keys List<IndexKey Value Json Key> - The JSON subfield key value index.
- sql
Flag Boolean - Whether the filed is enabled for analysis.
- key string
- The key of the KeyValueInfo.
- value
Type string - The type of value. Valid values:
long
,double
,text
,json
. - case
Sensitive boolean - Whether the value is case sensitive.
- delimiter string
- The delimiter of the value.
- include
Chinese boolean - Whether the value include chinese.
- index
All boolean - Whether to create indexes for all fields in JSON fields with text values. This field is valid when the
value_type
isjson
. - json
Keys IndexKey Value Json Key[] - The JSON subfield key value index.
- sql
Flag 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
isjson
. - json_
keys Sequence[IndexKey Value Json Key] - The JSON subfield key value index.
- sql_
flag bool - Whether the filed is enabled for analysis.
- key String
- The key of the KeyValueInfo.
- value
Type String - The type of value. Valid values:
long
,double
,text
,json
. - case
Sensitive Boolean - Whether the value is case sensitive.
- delimiter String
- The delimiter of the value.
- include
Chinese Boolean - Whether the value include chinese.
- index
All Boolean - Whether to create indexes for all fields in JSON fields with text values. This field is valid when the
value_type
isjson
. - json
Keys List<Property Map> - The JSON subfield key value index.
- sql
Flag Boolean - Whether the filed is enabled for analysis.
IndexKeyValueJsonKey, IndexKeyValueJsonKeyArgs
- key str
- The key of the subfield key value index.
- value_
type str - The type of value. Valid values:
long
,double
,text
.
IndexUserInnerKeyValue, IndexUserInnerKeyValueArgs
- Key string
- The key of the KeyValueInfo.
- Value
Type string - The type of value. Valid values:
long
,double
,text
,json
. - Case
Sensitive bool - Whether the value is case sensitive.
- Delimiter string
- The delimiter of the value.
- Include
Chinese bool - Whether the value include chinese.
- Json
Keys List<IndexUser Inner Key Value Json Key> - The JSON subfield key value index.
- Sql
Flag bool - Whether the filed is enabled for analysis.
- Key string
- The key of the KeyValueInfo.
- Value
Type string - The type of value. Valid values:
long
,double
,text
,json
. - Case
Sensitive bool - Whether the value is case sensitive.
- Delimiter string
- The delimiter of the value.
- Include
Chinese bool - Whether the value include chinese.
- Json
Keys []IndexUser Inner Key Value Json Key - The JSON subfield key value index.
- Sql
Flag bool - Whether the filed is enabled for analysis.
- key String
- The key of the KeyValueInfo.
- value
Type String - The type of value. Valid values:
long
,double
,text
,json
. - case
Sensitive Boolean - Whether the value is case sensitive.
- delimiter String
- The delimiter of the value.
- include
Chinese Boolean - Whether the value include chinese.
- json
Keys List<IndexUser Inner Key Value Json Key> - The JSON subfield key value index.
- sql
Flag Boolean - Whether the filed is enabled for analysis.
- key string
- The key of the KeyValueInfo.
- value
Type string - The type of value. Valid values:
long
,double
,text
,json
. - case
Sensitive boolean - Whether the value is case sensitive.
- delimiter string
- The delimiter of the value.
- include
Chinese boolean - Whether the value include chinese.
- json
Keys IndexUser Inner Key Value Json Key[] - The JSON subfield key value index.
- sql
Flag 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[IndexUser Inner Key Value Json Key] - The JSON subfield key value index.
- sql_
flag bool - Whether the filed is enabled for analysis.
- key String
- The key of the KeyValueInfo.
- value
Type String - The type of value. Valid values:
long
,double
,text
,json
. - case
Sensitive Boolean - Whether the value is case sensitive.
- delimiter String
- The delimiter of the value.
- include
Chinese Boolean - Whether the value include chinese.
- json
Keys List<Property Map> - The JSON subfield key value index.
- sql
Flag Boolean - Whether the filed is enabled for analysis.
IndexUserInnerKeyValueJsonKey, IndexUserInnerKeyValueJsonKeyArgs
- key str
- The key of the subfield key value index.
- value_
type str - 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.