Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi
alicloud.ots.getSearchIndexes
Explore with Pulumi AI
This data source provides the ots search index of the current Alibaba Cloud user.
For information about OTS search index and how to use it, see Search index overview.
NOTE: Available in v1.187.0+.
Using getSearchIndexes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSearchIndexes(args: GetSearchIndexesArgs, opts?: InvokeOptions): Promise<GetSearchIndexesResult>
function getSearchIndexesOutput(args: GetSearchIndexesOutputArgs, opts?: InvokeOptions): Output<GetSearchIndexesResult>
def get_search_indexes(ids: Optional[Sequence[str]] = None,
instance_name: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
table_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSearchIndexesResult
def get_search_indexes_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
instance_name: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
table_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSearchIndexesResult]
func GetSearchIndexes(ctx *Context, args *GetSearchIndexesArgs, opts ...InvokeOption) (*GetSearchIndexesResult, error)
func GetSearchIndexesOutput(ctx *Context, args *GetSearchIndexesOutputArgs, opts ...InvokeOption) GetSearchIndexesResultOutput
> Note: This function is named GetSearchIndexes
in the Go SDK.
public static class GetSearchIndexes
{
public static Task<GetSearchIndexesResult> InvokeAsync(GetSearchIndexesArgs args, InvokeOptions? opts = null)
public static Output<GetSearchIndexesResult> Invoke(GetSearchIndexesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSearchIndexesResult> getSearchIndexes(GetSearchIndexesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:ots/getSearchIndexes:getSearchIndexes
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Name string - The name of OTS instance.
- Table
Name string - The name of OTS table.
- Ids List<string>
- A list of search index IDs.
- Name
Regex string - A regex string to filter results by search index name.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- Instance
Name string - The name of OTS instance.
- Table
Name string - The name of OTS table.
- Ids []string
- A list of search index IDs.
- Name
Regex string - A regex string to filter results by search index name.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- instance
Name String - The name of OTS instance.
- table
Name String - The name of OTS table.
- ids List<String>
- A list of search index IDs.
- name
Regex String - A regex string to filter results by search index name.
- output
File String - File name where to save data source results (after running
pulumi preview
).
- instance
Name string - The name of OTS instance.
- table
Name string - The name of OTS table.
- ids string[]
- A list of search index IDs.
- name
Regex string - A regex string to filter results by search index name.
- output
File string - File name where to save data source results (after running
pulumi preview
).
- instance_
name str - The name of OTS instance.
- table_
name str - The name of OTS table.
- ids Sequence[str]
- A list of search index IDs.
- name_
regex str - A regex string to filter results by search index name.
- output_
file str - File name where to save data source results (after running
pulumi preview
).
- instance
Name String - The name of OTS instance.
- table
Name String - The name of OTS table.
- ids List<String>
- A list of search index IDs.
- name
Regex String - A regex string to filter results by search index name.
- output
File String - File name where to save data source results (after running
pulumi preview
).
getSearchIndexes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of search index IDs.
- Indexes
List<Pulumi.
Ali Cloud. Ots. Outputs. Get Search Indexes Index> - A list of indexes. Each element contains the following attributes:
- Instance
Name string - The OTS instance name.
- Names List<string>
- A list of search index names.
- Table
Name string - The table name of the OTS which could not be changed.
- Name
Regex string - Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of search index IDs.
- Indexes
[]Get
Search Indexes Index - A list of indexes. Each element contains the following attributes:
- Instance
Name string - The OTS instance name.
- Names []string
- A list of search index names.
- Table
Name string - The table name of the OTS which could not be changed.
- Name
Regex string - Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of search index IDs.
- indexes
List<Get
Search Indexes Index> - A list of indexes. Each element contains the following attributes:
- instance
Name String - The OTS instance name.
- names List<String>
- A list of search index names.
- table
Name String - The table name of the OTS which could not be changed.
- name
Regex String - output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of search index IDs.
- indexes
Get
Search Indexes Index[] - A list of indexes. Each element contains the following attributes:
- instance
Name string - The OTS instance name.
- names string[]
- A list of search index names.
- table
Name string - The table name of the OTS which could not be changed.
- name
Regex string - output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of search index IDs.
- indexes
Sequence[Get
Search Indexes Index] - A list of indexes. Each element contains the following attributes:
- instance_
name str - The OTS instance name.
- names Sequence[str]
- A list of search index names.
- table_
name str - The table name of the OTS which could not be changed.
- name_
regex str - output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of search index IDs.
- indexes List<Property Map>
- A list of indexes. Each element contains the following attributes:
- instance
Name String - The OTS instance name.
- names List<String>
- A list of search index names.
- table
Name String - The table name of the OTS which could not be changed.
- name
Regex String - output
File String
Supporting Types
GetSearchIndexesIndex
- Create
Time int - The creation time of the index.
- Current
Sync intTimestamp - Timestamp for sync phase.
- Id string
- The resource ID. The value is
<instance_name>:<table_name>:<indexName>:<indexType>
. - Index
Name string - The index name of the OTS Table which could not be changed.
- Instance
Name string - The name of OTS instance.
- Metering
Last intUpdate Time - Last update time for metering data..
- Reserved
Read intCu - Reserve related resources for the index.
- Row
Count int - The number of rows of data for index.
- Schema string
- JSON representation of the schema of index.
- Storage
Size int - Storage space occupied by index.
- Sync
Phase string - The synchronization state of the index.
- Table
Name string - The name of OTS table.
- Time
To intLive - TTL of index.
- Create
Time int - The creation time of the index.
- Current
Sync intTimestamp - Timestamp for sync phase.
- Id string
- The resource ID. The value is
<instance_name>:<table_name>:<indexName>:<indexType>
. - Index
Name string - The index name of the OTS Table which could not be changed.
- Instance
Name string - The name of OTS instance.
- Metering
Last intUpdate Time - Last update time for metering data..
- Reserved
Read intCu - Reserve related resources for the index.
- Row
Count int - The number of rows of data for index.
- Schema string
- JSON representation of the schema of index.
- Storage
Size int - Storage space occupied by index.
- Sync
Phase string - The synchronization state of the index.
- Table
Name string - The name of OTS table.
- Time
To intLive - TTL of index.
- create
Time Integer - The creation time of the index.
- current
Sync IntegerTimestamp - Timestamp for sync phase.
- id String
- The resource ID. The value is
<instance_name>:<table_name>:<indexName>:<indexType>
. - index
Name String - The index name of the OTS Table which could not be changed.
- instance
Name String - The name of OTS instance.
- metering
Last IntegerUpdate Time - Last update time for metering data..
- reserved
Read IntegerCu - Reserve related resources for the index.
- row
Count Integer - The number of rows of data for index.
- schema String
- JSON representation of the schema of index.
- storage
Size Integer - Storage space occupied by index.
- sync
Phase String - The synchronization state of the index.
- table
Name String - The name of OTS table.
- time
To IntegerLive - TTL of index.
- create
Time number - The creation time of the index.
- current
Sync numberTimestamp - Timestamp for sync phase.
- id string
- The resource ID. The value is
<instance_name>:<table_name>:<indexName>:<indexType>
. - index
Name string - The index name of the OTS Table which could not be changed.
- instance
Name string - The name of OTS instance.
- metering
Last numberUpdate Time - Last update time for metering data..
- reserved
Read numberCu - Reserve related resources for the index.
- row
Count number - The number of rows of data for index.
- schema string
- JSON representation of the schema of index.
- storage
Size number - Storage space occupied by index.
- sync
Phase string - The synchronization state of the index.
- table
Name string - The name of OTS table.
- time
To numberLive - TTL of index.
- create_
time int - The creation time of the index.
- current_
sync_ inttimestamp - Timestamp for sync phase.
- id str
- The resource ID. The value is
<instance_name>:<table_name>:<indexName>:<indexType>
. - index_
name str - The index name of the OTS Table which could not be changed.
- instance_
name str - The name of OTS instance.
- metering_
last_ intupdate_ time - Last update time for metering data..
- reserved_
read_ intcu - Reserve related resources for the index.
- row_
count int - The number of rows of data for index.
- schema str
- JSON representation of the schema of index.
- storage_
size int - Storage space occupied by index.
- sync_
phase str - The synchronization state of the index.
- table_
name str - The name of OTS table.
- time_
to_ intlive - TTL of index.
- create
Time Number - The creation time of the index.
- current
Sync NumberTimestamp - Timestamp for sync phase.
- id String
- The resource ID. The value is
<instance_name>:<table_name>:<indexName>:<indexType>
. - index
Name String - The index name of the OTS Table which could not be changed.
- instance
Name String - The name of OTS instance.
- metering
Last NumberUpdate Time - Last update time for metering data..
- reserved
Read NumberCu - Reserve related resources for the index.
- row
Count Number - The number of rows of data for index.
- schema String
- JSON representation of the schema of index.
- storage
Size Number - Storage space occupied by index.
- sync
Phase String - The synchronization state of the index.
- table
Name String - The name of OTS table.
- time
To NumberLive - TTL of index.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.