StoreIndex

Create a StoreIndex Resource

def StoreIndex(resource_name, opts=None, field_searches=None, full_text=None, logstore=None, project=None, __props__=None);
func NewStoreIndex(ctx *Context, name string, args StoreIndexArgs, opts ...ResourceOption) (*StoreIndex, error)
public StoreIndex(string name, StoreIndexArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args StoreIndexArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args StoreIndexArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args StoreIndexArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

StoreIndex Resource Properties

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

Inputs

The StoreIndex resource accepts the following input properties:

Logstore string

The log store name to the query index belongs.

Project string

The project name to the log store belongs.

FieldSearches List<Pulumi.AliCloud.Log.Inputs.StoreIndexFieldSearchArgs>

List configurations of field search index. Valid item as follows:

FullText Pulumi.AliCloud.Log.Inputs.StoreIndexFullTextArgs

The configuration of full text index. Valid item as follows:

Logstore string

The log store name to the query index belongs.

Project string

The project name to the log store belongs.

FieldSearches []StoreIndexFieldSearch

List configurations of field search index. Valid item as follows:

FullText StoreIndexFullText

The configuration of full text index. Valid item as follows:

logstore string

The log store name to the query index belongs.

project string

The project name to the log store belongs.

fieldSearches StoreIndexFieldSearch[]

List configurations of field search index. Valid item as follows:

fullText StoreIndexFullText

The configuration of full text index. Valid item as follows:

logstore str

The log store name to the query index belongs.

project str

The project name to the log store belongs.

field_searches List[StoreIndexFieldSearch]

List configurations of field search index. Valid item as follows:

full_text Dict[StoreIndexFullText]

The configuration of full text index. Valid item as follows:

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing StoreIndex Resource

Get an existing StoreIndex 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?: StoreIndexState, opts?: CustomResourceOptions): StoreIndex
static get(resource_name, id, opts=None, field_searches=None, full_text=None, logstore=None, project=None, __props__=None);
func GetStoreIndex(ctx *Context, name string, id IDInput, state *StoreIndexState, opts ...ResourceOption) (*StoreIndex, error)
public static StoreIndex Get(string name, Input<string> id, StoreIndexState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

FieldSearches List<Pulumi.AliCloud.Log.Inputs.StoreIndexFieldSearchArgs>

List configurations of field search index. Valid item as follows:

FullText Pulumi.AliCloud.Log.Inputs.StoreIndexFullTextArgs

The configuration of full text index. Valid item as follows:

Logstore string

The log store name to the query index belongs.

Project string

The project name to the log store belongs.

FieldSearches []StoreIndexFieldSearch

List configurations of field search index. Valid item as follows:

FullText StoreIndexFullText

The configuration of full text index. Valid item as follows:

Logstore string

The log store name to the query index belongs.

Project string

The project name to the log store belongs.

fieldSearches StoreIndexFieldSearch[]

List configurations of field search index. Valid item as follows:

fullText StoreIndexFullText

The configuration of full text index. Valid item as follows:

logstore string

The log store name to the query index belongs.

project string

The project name to the log store belongs.

field_searches List[StoreIndexFieldSearch]

List configurations of field search index. Valid item as follows:

full_text Dict[StoreIndexFullText]

The configuration of full text index. Valid item as follows:

logstore str

The log store name to the query index belongs.

project str

The project name to the log store belongs.

Supporting Types

StoreIndexFieldSearch

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

When using the json_keys field, this field is required.

Alias string

The alias of one field.

CaseSensitive bool

Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.

EnableAnalytics bool

Whether to enable field analytics. Default to true.

IncludeChinese bool

Whether includes the chinese for the field. Default to false. It is valid when “type” is “text” or “json”.

JsonKeys List<Pulumi.AliCloud.Log.Inputs.StoreIndexFieldSearchJsonKeyArgs>

Use nested index when type is json

Token string

The string of several split words, like “\r”, “#”. It is valid when “type” is “text” or “json”.

Type string

The type of one field. Valid values: [“long”, “text”, “double”]. Default to “long”

Name string

When using the json_keys field, this field is required.

Alias string

The alias of one field.

CaseSensitive bool

Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.

EnableAnalytics bool

Whether to enable field analytics. Default to true.

IncludeChinese bool

Whether includes the chinese for the field. Default to false. It is valid when “type” is “text” or “json”.

JsonKeys []StoreIndexFieldSearchJsonKey

Use nested index when type is json

Token string

The string of several split words, like “\r”, “#”. It is valid when “type” is “text” or “json”.

Type string

The type of one field. Valid values: [“long”, “text”, “double”]. Default to “long”

name string

When using the json_keys field, this field is required.

alias string

The alias of one field.

caseSensitive boolean

Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.

enableAnalytics boolean

Whether to enable field analytics. Default to true.

includeChinese boolean

Whether includes the chinese for the field. Default to false. It is valid when “type” is “text” or “json”.

jsonKeys StoreIndexFieldSearchJsonKey[]

Use nested index when type is json

token string

The string of several split words, like “\r”, “#”. It is valid when “type” is “text” or “json”.

type string

The type of one field. Valid values: [“long”, “text”, “double”]. Default to “long”

name str

When using the json_keys field, this field is required.

alias str

The alias of one field.

caseSensitive bool

Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.

enableAnalytics bool

Whether to enable field analytics. Default to true.

includeChinese bool

Whether includes the chinese for the field. Default to false. It is valid when “type” is “text” or “json”.

jsonKeys List[StoreIndexFieldSearchJsonKey]

Use nested index when type is json

token str

The string of several split words, like “\r”, “#”. It is valid when “type” is “text” or “json”.

type str

The type of one field. Valid values: [“long”, “text”, “double”]. Default to “long”

StoreIndexFieldSearchJsonKey

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

When using the json_keys field, this field is required.

Alias string

The alias of one field.

DocValue bool

Whether to enable statistics. default to true.

Type string

The type of one field. Valid values: [“long”, “text”, “double”]. Default to “long”

Name string

When using the json_keys field, this field is required.

Alias string

The alias of one field.

DocValue bool

Whether to enable statistics. default to true.

Type string

The type of one field. Valid values: [“long”, “text”, “double”]. Default to “long”

name string

When using the json_keys field, this field is required.

alias string

The alias of one field.

docValue boolean

Whether to enable statistics. default to true.

type string

The type of one field. Valid values: [“long”, “text”, “double”]. Default to “long”

name str

When using the json_keys field, this field is required.

alias str

The alias of one field.

docValue bool

Whether to enable statistics. default to true.

type str

The type of one field. Valid values: [“long”, “text”, “double”]. Default to “long”

StoreIndexFullText

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

CaseSensitive bool

Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.

IncludeChinese bool

Whether includes the chinese for the field. Default to false. It is valid when “type” is “text” or “json”.

Token string

The string of several split words, like “\r”, “#”. It is valid when “type” is “text” or “json”.

CaseSensitive bool

Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.

IncludeChinese bool

Whether includes the chinese for the field. Default to false. It is valid when “type” is “text” or “json”.

Token string

The string of several split words, like “\r”, “#”. It is valid when “type” is “text” or “json”.

caseSensitive boolean

Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.

includeChinese boolean

Whether includes the chinese for the field. Default to false. It is valid when “type” is “text” or “json”.

token string

The string of several split words, like “\r”, “#”. It is valid when “type” is “text” or “json”.

caseSensitive bool

Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.

includeChinese bool

Whether includes the chinese for the field. Default to false. It is valid when “type” is “text” or “json”.

token str

The string of several split words, like “\r”, “#”. It is valid when “type” is “text” or “json”.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.