StoreIndex
Create a StoreIndex Resource
new StoreIndex(name: string, args: StoreIndexArgs, opts?: CustomResourceOptions);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.
- Field
Searches List<Pulumi.Ali Cloud. Log. Inputs. Store Index Field Search Args> List configurations of field search index. Valid item as follows:
- Full
Text Pulumi.Ali Cloud. Log. Inputs. Store Index Full Text Args 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 []StoreIndex Field Search List configurations of field search index. Valid item as follows:
- Full
Text StoreIndex Full Text 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 StoreIndex Field Search[] List configurations of field search index. Valid item as follows:
- full
Text StoreIndex Full Text 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[StoreIndex Field Search] List configurations of field search index. Valid item as follows:
- full_
text Dict[StoreIndex Full Text] 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:
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): StoreIndexstatic 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:
- Field
Searches List<Pulumi.Ali Cloud. Log. Inputs. Store Index Field Search Args> List configurations of field search index. Valid item as follows:
- Full
Text Pulumi.Ali Cloud. Log. Inputs. Store Index Full Text Args 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 []StoreIndex Field Search List configurations of field search index. Valid item as follows:
- Full
Text StoreIndex Full Text 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 StoreIndex Field Search[] List configurations of field search index. Valid item as follows:
- full
Text StoreIndex Full Text 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[StoreIndex Field Search] List configurations of field search index. Valid item as follows:
- full_
text Dict[StoreIndex Full Text] 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
- Name string
When using the json_keys field, this field is required.
- Alias string
The alias of one field.
- Case
Sensitive bool Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.
- Enable
Analytics bool Whether to enable field analytics. Default to true.
- Include
Chinese bool Whether includes the chinese for the field. Default to false. It is valid when “type” is “text” or “json”.
- Json
Keys List<Pulumi.Ali Cloud. Log. Inputs. Store Index Field Search Json Key Args> 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.
- Case
Sensitive bool Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.
- Enable
Analytics bool Whether to enable field analytics. Default to true.
- Include
Chinese bool Whether includes the chinese for the field. Default to false. It is valid when “type” is “text” or “json”.
- Json
Keys []StoreIndex Field Search Json Key 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.
- case
Sensitive boolean Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.
- enable
Analytics boolean Whether to enable field analytics. Default to true.
- include
Chinese boolean Whether includes the chinese for the field. Default to false. It is valid when “type” is “text” or “json”.
- json
Keys StoreIndex Field Search Json Key[] 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.
- case
Sensitive bool Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.
- enable
Analytics bool Whether to enable field analytics. Default to true.
- include
Chinese bool Whether includes the chinese for the field. Default to false. It is valid when “type” is “text” or “json”.
- json
Keys List[StoreIndex Field Search Json Key] 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
StoreIndexFullText
- Case
Sensitive bool Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.
- Include
Chinese 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”.
- Case
Sensitive bool Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.
- Include
Chinese 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”.
- case
Sensitive boolean Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.
- include
Chinese 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”.
- case
Sensitive bool Whether the case sensitive for the field. Default to false. It is valid when “type” is “text” or “json”.
- include
Chinese 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
alicloudTerraform Provider.