tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getElasticsearchInstances
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query elasticsearch instances.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const foo = tencentcloud.getElasticsearchInstances({
instanceId: "es-17634f05",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo = tencentcloud.get_elasticsearch_instances(instance_id="es-17634f05")
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.GetElasticsearchInstances(ctx, &tencentcloud.GetElasticsearchInstancesArgs{
InstanceId: pulumi.StringRef("es-17634f05"),
}, 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 foo = Tencentcloud.GetElasticsearchInstances.Invoke(new()
{
InstanceId = "es-17634f05",
});
});
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.GetElasticsearchInstancesArgs;
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 foo = TencentcloudFunctions.getElasticsearchInstances(GetElasticsearchInstancesArgs.builder()
.instanceId("es-17634f05")
.build());
}
}
variables:
foo:
fn::invoke:
function: tencentcloud:getElasticsearchInstances
arguments:
instanceId: es-17634f05
Using getElasticsearchInstances
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 getElasticsearchInstances(args: GetElasticsearchInstancesArgs, opts?: InvokeOptions): Promise<GetElasticsearchInstancesResult>
function getElasticsearchInstancesOutput(args: GetElasticsearchInstancesOutputArgs, opts?: InvokeOptions): Output<GetElasticsearchInstancesResult>
def get_elasticsearch_instances(id: Optional[str] = None,
instance_id: Optional[str] = None,
instance_name: Optional[str] = None,
result_output_file: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetElasticsearchInstancesResult
def get_elasticsearch_instances_output(id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
instance_name: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetElasticsearchInstancesResult]
func GetElasticsearchInstances(ctx *Context, args *GetElasticsearchInstancesArgs, opts ...InvokeOption) (*GetElasticsearchInstancesResult, error)
func GetElasticsearchInstancesOutput(ctx *Context, args *GetElasticsearchInstancesOutputArgs, opts ...InvokeOption) GetElasticsearchInstancesResultOutput
> Note: This function is named GetElasticsearchInstances
in the Go SDK.
public static class GetElasticsearchInstances
{
public static Task<GetElasticsearchInstancesResult> InvokeAsync(GetElasticsearchInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetElasticsearchInstancesResult> Invoke(GetElasticsearchInstancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetElasticsearchInstancesResult> getElasticsearchInstances(GetElasticsearchInstancesArgs args, InvokeOptions options)
public static Output<GetElasticsearchInstancesResult> getElasticsearchInstances(GetElasticsearchInstancesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getElasticsearchInstances:getElasticsearchInstances
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Instance
Id string - ID of the instance to be queried.
- Instance
Name string - Name of the instance to be queried.
- Result
Output stringFile - Used to save results.
- Dictionary<string, string>
- Tag of the instance to be queried.
- Id string
- Instance
Id string - ID of the instance to be queried.
- Instance
Name string - Name of the instance to be queried.
- Result
Output stringFile - Used to save results.
- map[string]string
- Tag of the instance to be queried.
- id String
- instance
Id String - ID of the instance to be queried.
- instance
Name String - Name of the instance to be queried.
- result
Output StringFile - Used to save results.
- Map<String,String>
- Tag of the instance to be queried.
- id string
- instance
Id string - ID of the instance to be queried.
- instance
Name string - Name of the instance to be queried.
- result
Output stringFile - Used to save results.
- {[key: string]: string}
- Tag of the instance to be queried.
- id str
- instance_
id str - ID of the instance to be queried.
- instance_
name str - Name of the instance to be queried.
- result_
output_ strfile - Used to save results.
- Mapping[str, str]
- Tag of the instance to be queried.
- id String
- instance
Id String - ID of the instance to be queried.
- instance
Name String - Name of the instance to be queried.
- result
Output StringFile - Used to save results.
- Map<String>
- Tag of the instance to be queried.
getElasticsearchInstances Result
The following output properties are available:
- Id string
- Instance
Lists List<GetElasticsearch Instances Instance List> - An information list of elasticsearch instance. Each element contains the following attributes:
- Instance
Id string - ID of the instance.
- Instance
Name string - Name of the instance.
- Result
Output stringFile - Dictionary<string, string>
- A mapping of tags to assign to the instance.
- Id string
- Instance
Lists []GetElasticsearch Instances Instance List - An information list of elasticsearch instance. Each element contains the following attributes:
- Instance
Id string - ID of the instance.
- Instance
Name string - Name of the instance.
- Result
Output stringFile - map[string]string
- A mapping of tags to assign to the instance.
- id String
- instance
Lists List<GetElasticsearch Instances Instance List> - An information list of elasticsearch instance. Each element contains the following attributes:
- instance
Id String - ID of the instance.
- instance
Name String - Name of the instance.
- result
Output StringFile - Map<String,String>
- A mapping of tags to assign to the instance.
- id string
- instance
Lists GetElasticsearch Instances Instance List[] - An information list of elasticsearch instance. Each element contains the following attributes:
- instance
Id string - ID of the instance.
- instance
Name string - Name of the instance.
- result
Output stringFile - {[key: string]: string}
- A mapping of tags to assign to the instance.
- id str
- instance_
lists Sequence[GetElasticsearch Instances Instance List] - An information list of elasticsearch instance. Each element contains the following attributes:
- instance_
id str - ID of the instance.
- instance_
name str - Name of the instance.
- result_
output_ strfile - Mapping[str, str]
- A mapping of tags to assign to the instance.
- id String
- instance
Lists List<Property Map> - An information list of elasticsearch instance. Each element contains the following attributes:
- instance
Id String - ID of the instance.
- instance
Name String - Name of the instance.
- result
Output StringFile - Map<String>
- A mapping of tags to assign to the instance.
Supporting Types
GetElasticsearchInstancesInstanceList
- Availability
Zone string - Availability zone.
- Basic
Security doubleType - Whether to enable X-Pack security authentication in Basic Edition 6.8 and above.
- Charge
Type string - The charge type of instance.
- Create
Time string - Instance creation time.
- Deploy
Mode double - Cluster deployment mode.
- Elasticsearch
Domain string - Elasticsearch domain name.
- Elasticsearch
Port double - Elasticsearch port.
- Elasticsearch
Vip string - Elasticsearch VIP.
- Instance
Id string - ID of the instance to be queried.
- Instance
Name string - Name of the instance to be queried.
- Kibana
Url string - Kibana access URL.
- License
Type string - License type.
- Multi
Zone List<GetInfos Elasticsearch Instances Instance List Multi Zone Info> - Details of AZs in multi-AZ deployment mode.
- Node
Info List<GetLists Elasticsearch Instances Instance List Node Info List> - Node information list, which describe the specification information of various types of nodes in the cluster.
- Subnet
Id string - The ID of a VPC subnet.
- Dictionary<string, string>
- Tag of the instance to be queried.
- Version string
- Version of the instance.
- Vpc
Id string - The ID of a VPC network.
- Availability
Zone string - Availability zone.
- Basic
Security float64Type - Whether to enable X-Pack security authentication in Basic Edition 6.8 and above.
- Charge
Type string - The charge type of instance.
- Create
Time string - Instance creation time.
- Deploy
Mode float64 - Cluster deployment mode.
- Elasticsearch
Domain string - Elasticsearch domain name.
- Elasticsearch
Port float64 - Elasticsearch port.
- Elasticsearch
Vip string - Elasticsearch VIP.
- Instance
Id string - ID of the instance to be queried.
- Instance
Name string - Name of the instance to be queried.
- Kibana
Url string - Kibana access URL.
- License
Type string - License type.
- Multi
Zone []GetInfos Elasticsearch Instances Instance List Multi Zone Info - Details of AZs in multi-AZ deployment mode.
- Node
Info []GetLists Elasticsearch Instances Instance List Node Info List - Node information list, which describe the specification information of various types of nodes in the cluster.
- Subnet
Id string - The ID of a VPC subnet.
- map[string]string
- Tag of the instance to be queried.
- Version string
- Version of the instance.
- Vpc
Id string - The ID of a VPC network.
- availability
Zone String - Availability zone.
- basic
Security DoubleType - Whether to enable X-Pack security authentication in Basic Edition 6.8 and above.
- charge
Type String - The charge type of instance.
- create
Time String - Instance creation time.
- deploy
Mode Double - Cluster deployment mode.
- elasticsearch
Domain String - Elasticsearch domain name.
- elasticsearch
Port Double - Elasticsearch port.
- elasticsearch
Vip String - Elasticsearch VIP.
- instance
Id String - ID of the instance to be queried.
- instance
Name String - Name of the instance to be queried.
- kibana
Url String - Kibana access URL.
- license
Type String - License type.
- multi
Zone List<GetInfos Elasticsearch Instances Instance List Multi Zone Info> - Details of AZs in multi-AZ deployment mode.
- node
Info List<GetLists Elasticsearch Instances Instance List Node Info List> - Node information list, which describe the specification information of various types of nodes in the cluster.
- subnet
Id String - The ID of a VPC subnet.
- Map<String,String>
- Tag of the instance to be queried.
- version String
- Version of the instance.
- vpc
Id String - The ID of a VPC network.
- availability
Zone string - Availability zone.
- basic
Security numberType - Whether to enable X-Pack security authentication in Basic Edition 6.8 and above.
- charge
Type string - The charge type of instance.
- create
Time string - Instance creation time.
- deploy
Mode number - Cluster deployment mode.
- elasticsearch
Domain string - Elasticsearch domain name.
- elasticsearch
Port number - Elasticsearch port.
- elasticsearch
Vip string - Elasticsearch VIP.
- instance
Id string - ID of the instance to be queried.
- instance
Name string - Name of the instance to be queried.
- kibana
Url string - Kibana access URL.
- license
Type string - License type.
- multi
Zone GetInfos Elasticsearch Instances Instance List Multi Zone Info[] - Details of AZs in multi-AZ deployment mode.
- node
Info GetLists Elasticsearch Instances Instance List Node Info List[] - Node information list, which describe the specification information of various types of nodes in the cluster.
- subnet
Id string - The ID of a VPC subnet.
- {[key: string]: string}
- Tag of the instance to be queried.
- version string
- Version of the instance.
- vpc
Id string - The ID of a VPC network.
- availability_
zone str - Availability zone.
- basic_
security_ floattype - Whether to enable X-Pack security authentication in Basic Edition 6.8 and above.
- charge_
type str - The charge type of instance.
- create_
time str - Instance creation time.
- deploy_
mode float - Cluster deployment mode.
- elasticsearch_
domain str - Elasticsearch domain name.
- elasticsearch_
port float - Elasticsearch port.
- elasticsearch_
vip str - Elasticsearch VIP.
- instance_
id str - ID of the instance to be queried.
- instance_
name str - Name of the instance to be queried.
- kibana_
url str - Kibana access URL.
- license_
type str - License type.
- multi_
zone_ Sequence[Getinfos Elasticsearch Instances Instance List Multi Zone Info] - Details of AZs in multi-AZ deployment mode.
- node_
info_ Sequence[Getlists Elasticsearch Instances Instance List Node Info List] - Node information list, which describe the specification information of various types of nodes in the cluster.
- subnet_
id str - The ID of a VPC subnet.
- Mapping[str, str]
- Tag of the instance to be queried.
- version str
- Version of the instance.
- vpc_
id str - The ID of a VPC network.
- availability
Zone String - Availability zone.
- basic
Security NumberType - Whether to enable X-Pack security authentication in Basic Edition 6.8 and above.
- charge
Type String - The charge type of instance.
- create
Time String - Instance creation time.
- deploy
Mode Number - Cluster deployment mode.
- elasticsearch
Domain String - Elasticsearch domain name.
- elasticsearch
Port Number - Elasticsearch port.
- elasticsearch
Vip String - Elasticsearch VIP.
- instance
Id String - ID of the instance to be queried.
- instance
Name String - Name of the instance to be queried.
- kibana
Url String - Kibana access URL.
- license
Type String - License type.
- multi
Zone List<Property Map>Infos - Details of AZs in multi-AZ deployment mode.
- node
Info List<Property Map>Lists - Node information list, which describe the specification information of various types of nodes in the cluster.
- subnet
Id String - The ID of a VPC subnet.
- Map<String>
- Tag of the instance to be queried.
- version String
- Version of the instance.
- vpc
Id String - The ID of a VPC network.
GetElasticsearchInstancesInstanceListMultiZoneInfo
- Availability
Zone string - Availability zone.
- Subnet
Id string - The ID of a VPC subnet.
- Availability
Zone string - Availability zone.
- Subnet
Id string - The ID of a VPC subnet.
- availability
Zone String - Availability zone.
- subnet
Id String - The ID of a VPC subnet.
- availability
Zone string - Availability zone.
- subnet
Id string - The ID of a VPC subnet.
- availability_
zone str - Availability zone.
- subnet_
id str - The ID of a VPC subnet.
- availability
Zone String - Availability zone.
- subnet
Id String - The ID of a VPC subnet.
GetElasticsearchInstancesInstanceListNodeInfoList
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