Alibaba Cloud

v3.28.0 published on Tuesday, Aug 16, 2022 by Pulumi

StoreIndex

Import

Log store index can be imported using the id, e.g.

 $ pulumi import alicloud:log/storeIndex:StoreIndex example tf-log:tf-log-store

Create StoreIndex Resource

new StoreIndex(name: string, args: StoreIndexArgs, opts?: CustomResourceOptions);
@overload
def StoreIndex(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               field_searches: Optional[Sequence[StoreIndexFieldSearchArgs]] = None,
               full_text: Optional[StoreIndexFullTextArgs] = None,
               logstore: Optional[str] = None,
               project: Optional[str] = None)
@overload
def StoreIndex(resource_name: str,
               args: StoreIndexArgs,
               opts: Optional[ResourceOptions] = None)
func NewStoreIndex(ctx *Context, name string, args StoreIndexArgs, opts ...ResourceOption) (*StoreIndex, error)
public StoreIndex(string name, StoreIndexArgs args, CustomResourceOptions? opts = null)
public StoreIndex(String name, StoreIndexArgs args)
public StoreIndex(String name, StoreIndexArgs args, CustomResourceOptions options)
type: alicloud:log:StoreIndex
properties: # The arguments to resource properties.
options: # 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.
resource_name str
The unique name of the resource.
args StoreIndexArgs
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 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.
name String
The unique name of the resource.
args StoreIndexArgs
The arguments to resource properties.
options 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 Architecture and Concepts 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 []StoreIndexFieldSearchArgs

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

FullText 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 List<StoreIndexFieldSearchArgs>

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

fullText 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 StoreIndexFieldSearchArgs[]

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

fullText StoreIndexFullTextArgs

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 Sequence[StoreIndexFieldSearchArgs]

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

full_text 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 List<Property Map>

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

fullText Property Map

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 string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up 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
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        field_searches: Optional[Sequence[StoreIndexFieldSearchArgs]] = None,
        full_text: Optional[StoreIndexFullTextArgs] = None,
        logstore: Optional[str] = None,
        project: Optional[str] = None) -> StoreIndex
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)
public static StoreIndex get(String name, Output<String> id, StoreIndexState 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:
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 []StoreIndexFieldSearchArgs

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

FullText 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 List<StoreIndexFieldSearchArgs>

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

fullText 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 StoreIndexFieldSearchArgs[]

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

fullText 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.

field_searches Sequence[StoreIndexFieldSearchArgs]

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

full_text StoreIndexFullTextArgs

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.

fieldSearches List<Property Map>

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

fullText Property Map

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.

Supporting Types

StoreIndexFieldSearch

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.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 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 List<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.

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 Sequence[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"

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 List<Property Map>

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"

StoreIndexFieldSearchJsonKey

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 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.

doc_value bool

Whether to enable statistics. default to true.

type str

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"

StoreIndexFullText

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 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".

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".

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".

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.