tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getElasticsearchDescribeIndexList
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of elasticsearch index list
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const describeIndexList = tencentcloud.getElasticsearchDescribeIndexList({
indexType: "normal",
instanceId: "es-nni6pm4s",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
describe_index_list = tencentcloud.get_elasticsearch_describe_index_list(index_type="normal",
instance_id="es-nni6pm4s")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetElasticsearchDescribeIndexList(ctx, &tencentcloud.GetElasticsearchDescribeIndexListArgs{
IndexType: "normal",
InstanceId: pulumi.StringRef("es-nni6pm4s"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var describeIndexList = Tencentcloud.GetElasticsearchDescribeIndexList.Invoke(new()
{
IndexType = "normal",
InstanceId = "es-nni6pm4s",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetElasticsearchDescribeIndexListArgs;
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) {
final var describeIndexList = TencentcloudFunctions.getElasticsearchDescribeIndexList(GetElasticsearchDescribeIndexListArgs.builder()
.indexType("normal")
.instanceId("es-nni6pm4s")
.build());
}
}
variables:
describeIndexList:
fn::invoke:
function: tencentcloud:getElasticsearchDescribeIndexList
arguments:
indexType: normal
instanceId: es-nni6pm4s
Using getElasticsearchDescribeIndexList
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 getElasticsearchDescribeIndexList(args: GetElasticsearchDescribeIndexListArgs, opts?: InvokeOptions): Promise<GetElasticsearchDescribeIndexListResult>
function getElasticsearchDescribeIndexListOutput(args: GetElasticsearchDescribeIndexListOutputArgs, opts?: InvokeOptions): Output<GetElasticsearchDescribeIndexListResult>
def get_elasticsearch_describe_index_list(id: Optional[str] = None,
index_name: Optional[str] = None,
index_status_lists: Optional[Sequence[str]] = None,
index_type: Optional[str] = None,
instance_id: Optional[str] = None,
order: Optional[str] = None,
order_by: Optional[str] = None,
password: Optional[str] = None,
result_output_file: Optional[str] = None,
username: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetElasticsearchDescribeIndexListResult
def get_elasticsearch_describe_index_list_output(id: Optional[pulumi.Input[str]] = None,
index_name: Optional[pulumi.Input[str]] = None,
index_status_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
index_type: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
order: Optional[pulumi.Input[str]] = None,
order_by: Optional[pulumi.Input[str]] = None,
password: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
username: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetElasticsearchDescribeIndexListResult]
func GetElasticsearchDescribeIndexList(ctx *Context, args *GetElasticsearchDescribeIndexListArgs, opts ...InvokeOption) (*GetElasticsearchDescribeIndexListResult, error)
func GetElasticsearchDescribeIndexListOutput(ctx *Context, args *GetElasticsearchDescribeIndexListOutputArgs, opts ...InvokeOption) GetElasticsearchDescribeIndexListResultOutput
> Note: This function is named GetElasticsearchDescribeIndexList
in the Go SDK.
public static class GetElasticsearchDescribeIndexList
{
public static Task<GetElasticsearchDescribeIndexListResult> InvokeAsync(GetElasticsearchDescribeIndexListArgs args, InvokeOptions? opts = null)
public static Output<GetElasticsearchDescribeIndexListResult> Invoke(GetElasticsearchDescribeIndexListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetElasticsearchDescribeIndexListResult> getElasticsearchDescribeIndexList(GetElasticsearchDescribeIndexListArgs args, InvokeOptions options)
public static Output<GetElasticsearchDescribeIndexListResult> getElasticsearchDescribeIndexList(GetElasticsearchDescribeIndexListArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getElasticsearchDescribeIndexList:getElasticsearchDescribeIndexList
arguments:
# arguments dictionary
The following arguments are supported:
- Index
Type string - Index type.
auto
: Autonomous index;normal
: General index. - Id string
- Index
Name string - Index name. If you fill in the blanks, get all indexes.
- Index
Status List<string>Lists - Index status list.
- Instance
Id string - ES cluster id.
- Order string
- Sort order, which supports asc and desc. The default is desc data format asc,desc.
- Order
By string - Sort field. Support index name: IndexName, index storage: IndexStorage, index creation time: IndexCreateTime.
- Password string
- Cluster access password.
- Result
Output stringFile - Used to save results.
- Username string
- Cluster access user name.
- Index
Type string - Index type.
auto
: Autonomous index;normal
: General index. - Id string
- Index
Name string - Index name. If you fill in the blanks, get all indexes.
- Index
Status []stringLists - Index status list.
- Instance
Id string - ES cluster id.
- Order string
- Sort order, which supports asc and desc. The default is desc data format asc,desc.
- Order
By string - Sort field. Support index name: IndexName, index storage: IndexStorage, index creation time: IndexCreateTime.
- Password string
- Cluster access password.
- Result
Output stringFile - Used to save results.
- Username string
- Cluster access user name.
- index
Type String - Index type.
auto
: Autonomous index;normal
: General index. - id String
- index
Name String - Index name. If you fill in the blanks, get all indexes.
- index
Status List<String>Lists - Index status list.
- instance
Id String - ES cluster id.
- order String
- Sort order, which supports asc and desc. The default is desc data format asc,desc.
- order
By String - Sort field. Support index name: IndexName, index storage: IndexStorage, index creation time: IndexCreateTime.
- password String
- Cluster access password.
- result
Output StringFile - Used to save results.
- username String
- Cluster access user name.
- index
Type string - Index type.
auto
: Autonomous index;normal
: General index. - id string
- index
Name string - Index name. If you fill in the blanks, get all indexes.
- index
Status string[]Lists - Index status list.
- instance
Id string - ES cluster id.
- order string
- Sort order, which supports asc and desc. The default is desc data format asc,desc.
- order
By string - Sort field. Support index name: IndexName, index storage: IndexStorage, index creation time: IndexCreateTime.
- password string
- Cluster access password.
- result
Output stringFile - Used to save results.
- username string
- Cluster access user name.
- index_
type str - Index type.
auto
: Autonomous index;normal
: General index. - id str
- index_
name str - Index name. If you fill in the blanks, get all indexes.
- index_
status_ Sequence[str]lists - Index status list.
- instance_
id str - ES cluster id.
- order str
- Sort order, which supports asc and desc. The default is desc data format asc,desc.
- order_
by str - Sort field. Support index name: IndexName, index storage: IndexStorage, index creation time: IndexCreateTime.
- password str
- Cluster access password.
- result_
output_ strfile - Used to save results.
- username str
- Cluster access user name.
- index
Type String - Index type.
auto
: Autonomous index;normal
: General index. - id String
- index
Name String - Index name. If you fill in the blanks, get all indexes.
- index
Status List<String>Lists - Index status list.
- instance
Id String - ES cluster id.
- order String
- Sort order, which supports asc and desc. The default is desc data format asc,desc.
- order
By String - Sort field. Support index name: IndexName, index storage: IndexStorage, index creation time: IndexCreateTime.
- password String
- Cluster access password.
- result
Output StringFile - Used to save results.
- username String
- Cluster access user name.
getElasticsearchDescribeIndexList Result
The following output properties are available:
- Id string
- Index
Meta List<GetFields Elasticsearch Describe Index List Index Meta Field> - Index metadata field.
- Index
Type string - Index type.
- Index
Name string - Index name.
- Index
Status List<string>Lists - Instance
Id string - Order string
- Order
By string - Password string
- Result
Output stringFile - Username string
- Id string
- Index
Meta []GetFields Elasticsearch Describe Index List Index Meta Field - Index metadata field.
- Index
Type string - Index type.
- Index
Name string - Index name.
- Index
Status []stringLists - Instance
Id string - Order string
- Order
By string - Password string
- Result
Output stringFile - Username string
- id String
- index
Meta List<GetFields Elasticsearch Describe Index List Index Meta Field> - Index metadata field.
- index
Type String - Index type.
- index
Name String - Index name.
- index
Status List<String>Lists - instance
Id String - order String
- order
By String - password String
- result
Output StringFile - username String
- id string
- index
Meta GetFields Elasticsearch Describe Index List Index Meta Field[] - Index metadata field.
- index
Type string - Index type.
- index
Name string - Index name.
- index
Status string[]Lists - instance
Id string - order string
- order
By string - password string
- result
Output stringFile - username string
- id str
- index_
meta_ Sequence[Getfields Elasticsearch Describe Index List Index Meta Field] - Index metadata field.
- index_
type str - Index type.
- index_
name str - Index name.
- index_
status_ Sequence[str]lists - instance_
id str - order str
- order_
by str - password str
- result_
output_ strfile - username str
- id String
- index
Meta List<Property Map>Fields - Index metadata field.
- index
Type String - Index type.
- index
Name String - Index name.
- index
Status List<String>Lists - instance
Id String - order String
- order
By String - password String
- result
Output StringFile - username String
Supporting Types
GetElasticsearchDescribeIndexListIndexMetaField
- App
Id double - App id.
- Backing
Indices List<GetElasticsearch Describe Index List Index Meta Field Backing Index> - Backing indices.
- Cluster
Id string - Cluster id.
- Cluster
Name string - Cluster name.
- Cluster
Version string - Cluster version.
- Index
Create stringTime - Index create time.
- Index
Docs double - Number of indexed documents.
- Index
Meta stringJson - Index meta json.
- Index
Name string - Index name. If you fill in the blanks, get all indexes.
- Index
Options List<GetFields Elasticsearch Describe Index List Index Meta Field Index Options Field> - Index options field.
- Index
Policy List<GetFields Elasticsearch Describe Index List Index Meta Field Index Policy Field> - Index lifecycle field.
- Index
Settings List<GetFields Elasticsearch Describe Index List Index Meta Field Index Settings Field> - Index settings field.
- Index
Status string - Index status.
- Index
Storage double - Index storage.
- Index
Type string - Index type.
auto
: Autonomous index;normal
: General index.
- App
Id float64 - App id.
- Backing
Indices []GetElasticsearch Describe Index List Index Meta Field Backing Index - Backing indices.
- Cluster
Id string - Cluster id.
- Cluster
Name string - Cluster name.
- Cluster
Version string - Cluster version.
- Index
Create stringTime - Index create time.
- Index
Docs float64 - Number of indexed documents.
- Index
Meta stringJson - Index meta json.
- Index
Name string - Index name. If you fill in the blanks, get all indexes.
- Index
Options []GetFields Elasticsearch Describe Index List Index Meta Field Index Options Field - Index options field.
- Index
Policy []GetFields Elasticsearch Describe Index List Index Meta Field Index Policy Field - Index lifecycle field.
- Index
Settings []GetFields Elasticsearch Describe Index List Index Meta Field Index Settings Field - Index settings field.
- Index
Status string - Index status.
- Index
Storage float64 - Index storage.
- Index
Type string - Index type.
auto
: Autonomous index;normal
: General index.
- app
Id Double - App id.
- backing
Indices List<GetElasticsearch Describe Index List Index Meta Field Backing Index> - Backing indices.
- cluster
Id String - Cluster id.
- cluster
Name String - Cluster name.
- cluster
Version String - Cluster version.
- index
Create StringTime - Index create time.
- index
Docs Double - Number of indexed documents.
- index
Meta StringJson - Index meta json.
- index
Name String - Index name. If you fill in the blanks, get all indexes.
- index
Options List<GetFields Elasticsearch Describe Index List Index Meta Field Index Options Field> - Index options field.
- index
Policy List<GetFields Elasticsearch Describe Index List Index Meta Field Index Policy Field> - Index lifecycle field.
- index
Settings List<GetFields Elasticsearch Describe Index List Index Meta Field Index Settings Field> - Index settings field.
- index
Status String - Index status.
- index
Storage Double - Index storage.
- index
Type String - Index type.
auto
: Autonomous index;normal
: General index.
- app
Id number - App id.
- backing
Indices GetElasticsearch Describe Index List Index Meta Field Backing Index[] - Backing indices.
- cluster
Id string - Cluster id.
- cluster
Name string - Cluster name.
- cluster
Version string - Cluster version.
- index
Create stringTime - Index create time.
- index
Docs number - Number of indexed documents.
- index
Meta stringJson - Index meta json.
- index
Name string - Index name. If you fill in the blanks, get all indexes.
- index
Options GetFields Elasticsearch Describe Index List Index Meta Field Index Options Field[] - Index options field.
- index
Policy GetFields Elasticsearch Describe Index List Index Meta Field Index Policy Field[] - Index lifecycle field.
- index
Settings GetFields Elasticsearch Describe Index List Index Meta Field Index Settings Field[] - Index settings field.
- index
Status string - Index status.
- index
Storage number - Index storage.
- index
Type string - Index type.
auto
: Autonomous index;normal
: General index.
- app_
id float - App id.
- backing_
indices Sequence[GetElasticsearch Describe Index List Index Meta Field Backing Index] - Backing indices.
- cluster_
id str - Cluster id.
- cluster_
name str - Cluster name.
- cluster_
version str - Cluster version.
- index_
create_ strtime - Index create time.
- index_
docs float - Number of indexed documents.
- index_
meta_ strjson - Index meta json.
- index_
name str - Index name. If you fill in the blanks, get all indexes.
- index_
options_ Sequence[Getfields Elasticsearch Describe Index List Index Meta Field Index Options Field] - Index options field.
- index_
policy_ Sequence[Getfields Elasticsearch Describe Index List Index Meta Field Index Policy Field] - Index lifecycle field.
- index_
settings_ Sequence[Getfields Elasticsearch Describe Index List Index Meta Field Index Settings Field] - Index settings field.
- index_
status str - Index status.
- index_
storage float - Index storage.
- index_
type str - Index type.
auto
: Autonomous index;normal
: General index.
- app
Id Number - App id.
- backing
Indices List<Property Map> - Backing indices.
- cluster
Id String - Cluster id.
- cluster
Name String - Cluster name.
- cluster
Version String - Cluster version.
- index
Create StringTime - Index create time.
- index
Docs Number - Number of indexed documents.
- index
Meta StringJson - Index meta json.
- index
Name String - Index name. If you fill in the blanks, get all indexes.
- index
Options List<Property Map>Fields - Index options field.
- index
Policy List<Property Map>Fields - Index lifecycle field.
- index
Settings List<Property Map>Fields - Index settings field.
- index
Status String - Index status.
- index
Storage Number - Index storage.
- index
Type String - Index type.
auto
: Autonomous index;normal
: General index.
GetElasticsearchDescribeIndexListIndexMetaFieldBackingIndex
- Index
Create stringTime - Index create time.
- Index
Name string - Index name. If you fill in the blanks, get all indexes.
- Index
Phrase string - Index phrase.
- Index
Status string - Index status.
- Index
Storage double - Index storage.
- Index
Create stringTime - Index create time.
- Index
Name string - Index name. If you fill in the blanks, get all indexes.
- Index
Phrase string - Index phrase.
- Index
Status string - Index status.
- Index
Storage float64 - Index storage.
- index
Create StringTime - Index create time.
- index
Name String - Index name. If you fill in the blanks, get all indexes.
- index
Phrase String - Index phrase.
- index
Status String - Index status.
- index
Storage Double - Index storage.
- index
Create stringTime - Index create time.
- index
Name string - Index name. If you fill in the blanks, get all indexes.
- index
Phrase string - Index phrase.
- index
Status string - Index status.
- index
Storage number - Index storage.
- index_
create_ strtime - Index create time.
- index_
name str - Index name. If you fill in the blanks, get all indexes.
- index_
phrase str - Index phrase.
- index_
status str - Index status.
- index_
storage float - Index storage.
- index
Create StringTime - Index create time.
- index
Name String - Index name. If you fill in the blanks, get all indexes.
- index
Phrase String - Index phrase.
- index
Status String - Index status.
- index
Storage Number - Index storage.
GetElasticsearchDescribeIndexListIndexMetaFieldIndexOptionsField
- Expire
Max stringAge - Expire max age.
- Expire
Max stringSize - Expire max size.
- Rollover
Dynamic string - Whether to turn on dynamic scrolling.
- Rollover
Max stringAge - Rollover max age.
- string
- Whether to enable dynamic slicing.
- Timestamp
Field string - Time partition field.
- Write
Mode string - Write mode.
- Expire
Max stringAge - Expire max age.
- Expire
Max stringSize - Expire max size.
- Rollover
Dynamic string - Whether to turn on dynamic scrolling.
- Rollover
Max stringAge - Rollover max age.
- string
- Whether to enable dynamic slicing.
- Timestamp
Field string - Time partition field.
- Write
Mode string - Write mode.
- expire
Max StringAge - Expire max age.
- expire
Max StringSize - Expire max size.
- rollover
Dynamic String - Whether to turn on dynamic scrolling.
- rollover
Max StringAge - Rollover max age.
- String
- Whether to enable dynamic slicing.
- timestamp
Field String - Time partition field.
- write
Mode String - Write mode.
- expire
Max stringAge - Expire max age.
- expire
Max stringSize - Expire max size.
- rollover
Dynamic string - Whether to turn on dynamic scrolling.
- rollover
Max stringAge - Rollover max age.
- string
- Whether to enable dynamic slicing.
- timestamp
Field string - Time partition field.
- write
Mode string - Write mode.
- expire_
max_ strage - Expire max age.
- expire_
max_ strsize - Expire max size.
- rollover_
dynamic str - Whether to turn on dynamic scrolling.
- rollover_
max_ strage - Rollover max age.
- str
- Whether to enable dynamic slicing.
- timestamp_
field str - Time partition field.
- write_
mode str - Write mode.
- expire
Max StringAge - Expire max age.
- expire
Max StringSize - Expire max size.
- rollover
Dynamic String - Whether to turn on dynamic scrolling.
- rollover
Max StringAge - Rollover max age.
- String
- Whether to enable dynamic slicing.
- timestamp
Field String - Time partition field.
- write
Mode String - Write mode.
GetElasticsearchDescribeIndexListIndexMetaFieldIndexPolicyField
- Cold
Action string - Cold action.
- Cold
Enable string - Whether to enable the cold phase.
- Cold
Min stringAge - Cold phase transition time.
- Frozen
Enable string - Start frozen phase.
- Frozen
Min stringAge - Frozen phase transition time.
- Warm
Enable string - Whether to enable warm.
- Warm
Min stringAge - Warm phase transition time.
- Cold
Action string - Cold action.
- Cold
Enable string - Whether to enable the cold phase.
- Cold
Min stringAge - Cold phase transition time.
- Frozen
Enable string - Start frozen phase.
- Frozen
Min stringAge - Frozen phase transition time.
- Warm
Enable string - Whether to enable warm.
- Warm
Min stringAge - Warm phase transition time.
- cold
Action String - Cold action.
- cold
Enable String - Whether to enable the cold phase.
- cold
Min StringAge - Cold phase transition time.
- frozen
Enable String - Start frozen phase.
- frozen
Min StringAge - Frozen phase transition time.
- warm
Enable String - Whether to enable warm.
- warm
Min StringAge - Warm phase transition time.
- cold
Action string - Cold action.
- cold
Enable string - Whether to enable the cold phase.
- cold
Min stringAge - Cold phase transition time.
- frozen
Enable string - Start frozen phase.
- frozen
Min stringAge - Frozen phase transition time.
- warm
Enable string - Whether to enable warm.
- warm
Min stringAge - Warm phase transition time.
- cold_
action str - Cold action.
- cold_
enable str - Whether to enable the cold phase.
- cold_
min_ strage - Cold phase transition time.
- frozen_
enable str - Start frozen phase.
- frozen_
min_ strage - Frozen phase transition time.
- warm_
enable str - Whether to enable warm.
- warm_
min_ strage - Warm phase transition time.
- cold
Action String - Cold action.
- cold
Enable String - Whether to enable the cold phase.
- cold
Min StringAge - Cold phase transition time.
- frozen
Enable String - Start frozen phase.
- frozen
Min StringAge - Frozen phase transition time.
- warm
Enable String - Whether to enable warm.
- warm
Min StringAge - Warm phase transition time.
GetElasticsearchDescribeIndexListIndexMetaFieldIndexSettingsField
- Number
Of stringReplicas - Number of index copy fragments.
- Number
Of stringShards - Number of index main fragments.
- Refresh
Interval string - Index refresh frequency.
- Number
Of stringReplicas - Number of index copy fragments.
- Number
Of stringShards - Number of index main fragments.
- Refresh
Interval string - Index refresh frequency.
- number
Of StringReplicas - Number of index copy fragments.
- number
Of StringShards - Number of index main fragments.
- refresh
Interval String - Index refresh frequency.
- number
Of stringReplicas - Number of index copy fragments.
- number
Of stringShards - Number of index main fragments.
- refresh
Interval string - Index refresh frequency.
- number_
of_ strreplicas - Number of index copy fragments.
- number_
of_ strshards - Number of index main fragments.
- refresh_
interval str - Index refresh frequency.
- number
Of StringReplicas - Number of index copy fragments.
- number
Of StringShards - Number of index main fragments.
- refresh
Interval String - Index refresh frequency.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack