tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getElasticsearchViews
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 views
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const views = tencentcloud.getElasticsearchViews({
instanceId: "es-xxxxxx",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
views = tencentcloud.get_elasticsearch_views(instance_id="es-xxxxxx")
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.GetElasticsearchViews(ctx, &tencentcloud.GetElasticsearchViewsArgs{
InstanceId: "es-xxxxxx",
}, 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 views = Tencentcloud.GetElasticsearchViews.Invoke(new()
{
InstanceId = "es-xxxxxx",
});
});
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.GetElasticsearchViewsArgs;
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 views = TencentcloudFunctions.getElasticsearchViews(GetElasticsearchViewsArgs.builder()
.instanceId("es-xxxxxx")
.build());
}
}
variables:
views:
fn::invoke:
function: tencentcloud:getElasticsearchViews
arguments:
instanceId: es-xxxxxx
Using getElasticsearchViews
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 getElasticsearchViews(args: GetElasticsearchViewsArgs, opts?: InvokeOptions): Promise<GetElasticsearchViewsResult>
function getElasticsearchViewsOutput(args: GetElasticsearchViewsOutputArgs, opts?: InvokeOptions): Output<GetElasticsearchViewsResult>
def get_elasticsearch_views(id: Optional[str] = None,
instance_id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetElasticsearchViewsResult
def get_elasticsearch_views_output(id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetElasticsearchViewsResult]
func GetElasticsearchViews(ctx *Context, args *GetElasticsearchViewsArgs, opts ...InvokeOption) (*GetElasticsearchViewsResult, error)
func GetElasticsearchViewsOutput(ctx *Context, args *GetElasticsearchViewsOutputArgs, opts ...InvokeOption) GetElasticsearchViewsResultOutput
> Note: This function is named GetElasticsearchViews
in the Go SDK.
public static class GetElasticsearchViews
{
public static Task<GetElasticsearchViewsResult> InvokeAsync(GetElasticsearchViewsArgs args, InvokeOptions? opts = null)
public static Output<GetElasticsearchViewsResult> Invoke(GetElasticsearchViewsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetElasticsearchViewsResult> getElasticsearchViews(GetElasticsearchViewsArgs args, InvokeOptions options)
public static Output<GetElasticsearchViewsResult> getElasticsearchViews(GetElasticsearchViewsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getElasticsearchViews:getElasticsearchViews
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - Instance id.
- Id string
- Result
Output stringFile - Used to save results.
- Instance
Id string - Instance id.
- Id string
- Result
Output stringFile - Used to save results.
- instance
Id String - Instance id.
- id String
- result
Output StringFile - Used to save results.
- instance
Id string - Instance id.
- id string
- result
Output stringFile - Used to save results.
- instance_
id str - Instance id.
- id str
- result_
output_ strfile - Used to save results.
- instance
Id String - Instance id.
- id String
- result
Output StringFile - Used to save results.
getElasticsearchViews Result
The following output properties are available:
- Cluster
Views List<GetElasticsearch Views Cluster View> - Cluster view.
- Id string
- Instance
Id string - Kibanas
Views List<GetElasticsearch Views Kibanas View> - Kibanas view.
- Nodes
Views List<GetElasticsearch Views Nodes View> - Node View.
- Result
Output stringFile
- Cluster
Views []GetElasticsearch Views Cluster View - Cluster view.
- Id string
- Instance
Id string - Kibanas
Views []GetElasticsearch Views Kibanas View - Kibanas view.
- Nodes
Views []GetElasticsearch Views Nodes View - Node View.
- Result
Output stringFile
- cluster
Views List<GetElasticsearch Views Cluster View> - Cluster view.
- id String
- instance
Id String - kibanas
Views List<GetElasticsearch Views Kibanas View> - Kibanas view.
- nodes
Views List<GetElasticsearch Views Nodes View> - Node View.
- result
Output StringFile
- cluster
Views GetElasticsearch Views Cluster View[] - Cluster view.
- id string
- instance
Id string - kibanas
Views GetElasticsearch Views Kibanas View[] - Kibanas view.
- nodes
Views GetElasticsearch Views Nodes View[] - Node View.
- result
Output stringFile
- cluster_
views Sequence[GetElasticsearch Views Cluster View] - Cluster view.
- id str
- instance_
id str - kibanas_
views Sequence[GetElasticsearch Views Kibanas View] - Kibanas view.
- nodes_
views Sequence[GetElasticsearch Views Nodes View] - Node View.
- result_
output_ strfile
- cluster
Views List<Property Map> - Cluster view.
- id String
- instance
Id String - kibanas
Views List<Property Map> - Kibanas view.
- nodes
Views List<Property Map> - Node View.
- result
Output StringFile
Supporting Types
GetElasticsearchViewsClusterView
- Avg
Cpu doubleUsage - Average cpu utilization.
- Avg
Disk doubleUsage - Average disk utilization.
- Avg
Mem doubleUsage - Average memory utilization.
- Break double
- Whether or not to break.
- Data
Node doubleNum - Number of data nodes.
- Disk
Used doubleIn Bytes - Bytes used on disk.
- Doc
Num double - Number of documents.
- Health double
- Cluster health status.
- Index
Num double - Index number.
- Initializing
Shard doubleNum - Initializing shard number.
- Node
Num double - Number of online nodes.
- Primary
Shard doubleNum - Primary shard number.
- Relocating
Shard doubleNum - Relocating shard number.
- Searchable
Snapshot stringCos App Id - Enterprise cluster can search the appid to which snapshot cos belongs.
- Searchable
Snapshot stringCos Bucket - Enterprise cluster searchable bucket name stored in snapshot cos.
- double
- Number of node fragments.
- Target
Node List<string>Types - Client request node.
- Total
Cos doubleStorage - Storage capacity of COS Enterprise Edition (in GB).
- Total
Disk doubleSize - Total storage size of cluster.
- Total
Node doubleNum - Total number of nodes.
- Unassigned
Shard doubleNum - Unassigned shard number.
- Visible double
- Whether the node is visible.
- Avg
Cpu float64Usage - Average cpu utilization.
- Avg
Disk float64Usage - Average disk utilization.
- Avg
Mem float64Usage - Average memory utilization.
- Break float64
- Whether or not to break.
- Data
Node float64Num - Number of data nodes.
- Disk
Used float64In Bytes - Bytes used on disk.
- Doc
Num float64 - Number of documents.
- Health float64
- Cluster health status.
- Index
Num float64 - Index number.
- Initializing
Shard float64Num - Initializing shard number.
- Node
Num float64 - Number of online nodes.
- Primary
Shard float64Num - Primary shard number.
- Relocating
Shard float64Num - Relocating shard number.
- Searchable
Snapshot stringCos App Id - Enterprise cluster can search the appid to which snapshot cos belongs.
- Searchable
Snapshot stringCos Bucket - Enterprise cluster searchable bucket name stored in snapshot cos.
- float64
- Number of node fragments.
- Target
Node []stringTypes - Client request node.
- Total
Cos float64Storage - Storage capacity of COS Enterprise Edition (in GB).
- Total
Disk float64Size - Total storage size of cluster.
- Total
Node float64Num - Total number of nodes.
- Unassigned
Shard float64Num - Unassigned shard number.
- Visible float64
- Whether the node is visible.
- avg
Cpu DoubleUsage - Average cpu utilization.
- avg
Disk DoubleUsage - Average disk utilization.
- avg
Mem DoubleUsage - Average memory utilization.
- break_ Double
- Whether or not to break.
- data
Node DoubleNum - Number of data nodes.
- disk
Used DoubleIn Bytes - Bytes used on disk.
- doc
Num Double - Number of documents.
- health Double
- Cluster health status.
- index
Num Double - Index number.
- initializing
Shard DoubleNum - Initializing shard number.
- node
Num Double - Number of online nodes.
- primary
Shard DoubleNum - Primary shard number.
- relocating
Shard DoubleNum - Relocating shard number.
- searchable
Snapshot StringCos App Id - Enterprise cluster can search the appid to which snapshot cos belongs.
- searchable
Snapshot StringCos Bucket - Enterprise cluster searchable bucket name stored in snapshot cos.
- Double
- Number of node fragments.
- target
Node List<String>Types - Client request node.
- total
Cos DoubleStorage - Storage capacity of COS Enterprise Edition (in GB).
- total
Disk DoubleSize - Total storage size of cluster.
- total
Node DoubleNum - Total number of nodes.
- unassigned
Shard DoubleNum - Unassigned shard number.
- visible Double
- Whether the node is visible.
- avg
Cpu numberUsage - Average cpu utilization.
- avg
Disk numberUsage - Average disk utilization.
- avg
Mem numberUsage - Average memory utilization.
- break number
- Whether or not to break.
- data
Node numberNum - Number of data nodes.
- disk
Used numberIn Bytes - Bytes used on disk.
- doc
Num number - Number of documents.
- health number
- Cluster health status.
- index
Num number - Index number.
- initializing
Shard numberNum - Initializing shard number.
- node
Num number - Number of online nodes.
- primary
Shard numberNum - Primary shard number.
- relocating
Shard numberNum - Relocating shard number.
- searchable
Snapshot stringCos App Id - Enterprise cluster can search the appid to which snapshot cos belongs.
- searchable
Snapshot stringCos Bucket - Enterprise cluster searchable bucket name stored in snapshot cos.
- number
- Number of node fragments.
- target
Node string[]Types - Client request node.
- total
Cos numberStorage - Storage capacity of COS Enterprise Edition (in GB).
- total
Disk numberSize - Total storage size of cluster.
- total
Node numberNum - Total number of nodes.
- unassigned
Shard numberNum - Unassigned shard number.
- visible number
- Whether the node is visible.
- avg_
cpu_ floatusage - Average cpu utilization.
- avg_
disk_ floatusage - Average disk utilization.
- avg_
mem_ floatusage - Average memory utilization.
- break_ float
- Whether or not to break.
- data_
node_ floatnum - Number of data nodes.
- disk_
used_ floatin_ bytes - Bytes used on disk.
- doc_
num float - Number of documents.
- health float
- Cluster health status.
- index_
num float - Index number.
- initializing_
shard_ floatnum - Initializing shard number.
- node_
num float - Number of online nodes.
- primary_
shard_ floatnum - Primary shard number.
- relocating_
shard_ floatnum - Relocating shard number.
- searchable_
snapshot_ strcos_ app_ id - Enterprise cluster can search the appid to which snapshot cos belongs.
- searchable_
snapshot_ strcos_ bucket - Enterprise cluster searchable bucket name stored in snapshot cos.
- float
- Number of node fragments.
- target_
node_ Sequence[str]types - Client request node.
- total_
cos_ floatstorage - Storage capacity of COS Enterprise Edition (in GB).
- total_
disk_ floatsize - Total storage size of cluster.
- total_
node_ floatnum - Total number of nodes.
- unassigned_
shard_ floatnum - Unassigned shard number.
- visible float
- Whether the node is visible.
- avg
Cpu NumberUsage - Average cpu utilization.
- avg
Disk NumberUsage - Average disk utilization.
- avg
Mem NumberUsage - Average memory utilization.
- break Number
- Whether or not to break.
- data
Node NumberNum - Number of data nodes.
- disk
Used NumberIn Bytes - Bytes used on disk.
- doc
Num Number - Number of documents.
- health Number
- Cluster health status.
- index
Num Number - Index number.
- initializing
Shard NumberNum - Initializing shard number.
- node
Num Number - Number of online nodes.
- primary
Shard NumberNum - Primary shard number.
- relocating
Shard NumberNum - Relocating shard number.
- searchable
Snapshot StringCos App Id - Enterprise cluster can search the appid to which snapshot cos belongs.
- searchable
Snapshot StringCos Bucket - Enterprise cluster searchable bucket name stored in snapshot cos.
- Number
- Number of node fragments.
- target
Node List<String>Types - Client request node.
- total
Cos NumberStorage - Storage capacity of COS Enterprise Edition (in GB).
- total
Disk NumberSize - Total storage size of cluster.
- total
Node NumberNum - Total number of nodes.
- unassigned
Shard NumberNum - Unassigned shard number.
- visible Number
- Whether the node is visible.
GetElasticsearchViewsKibanasView
GetElasticsearchViewsNodesView
- Break double
- Whether or not to break.
- Cpu
Num double - CPU number.
- Cpu
Usage double - CPU usage.
- Disk
Ids List<string> - List of disk ID on the node.
- Disk
Size double - Total disk size of node.
- Disk
Usage double - Disk usage.
- bool
- Whether it is a hidden availability zone.
- Is
Coordination boolNode - Whether to act as a coordinator node or not.
- Jvm
Mem doubleUsage - JVM memory usage.
- Mem
Size double - Node memory size (in GB).
- Mem
Usage double - Memory usage.
- Node
Http stringIp - Node HTTP IP.
- Node
Id string - Node id.
- Node
Ip string - Node ip.
- Node
Role string - Node role.
- double
- Number of node fragments.
- Visible double
- Whether the node is visible.
- Zone string
- Zone.
- Break float64
- Whether or not to break.
- Cpu
Num float64 - CPU number.
- Cpu
Usage float64 - CPU usage.
- Disk
Ids []string - List of disk ID on the node.
- Disk
Size float64 - Total disk size of node.
- Disk
Usage float64 - Disk usage.
- bool
- Whether it is a hidden availability zone.
- Is
Coordination boolNode - Whether to act as a coordinator node or not.
- Jvm
Mem float64Usage - JVM memory usage.
- Mem
Size float64 - Node memory size (in GB).
- Mem
Usage float64 - Memory usage.
- Node
Http stringIp - Node HTTP IP.
- Node
Id string - Node id.
- Node
Ip string - Node ip.
- Node
Role string - Node role.
- float64
- Number of node fragments.
- Visible float64
- Whether the node is visible.
- Zone string
- Zone.
- break_ Double
- Whether or not to break.
- cpu
Num Double - CPU number.
- cpu
Usage Double - CPU usage.
- disk
Ids List<String> - List of disk ID on the node.
- disk
Size Double - Total disk size of node.
- disk
Usage Double - Disk usage.
- Boolean
- Whether it is a hidden availability zone.
- is
Coordination BooleanNode - Whether to act as a coordinator node or not.
- jvm
Mem DoubleUsage - JVM memory usage.
- mem
Size Double - Node memory size (in GB).
- mem
Usage Double - Memory usage.
- node
Http StringIp - Node HTTP IP.
- node
Id String - Node id.
- node
Ip String - Node ip.
- node
Role String - Node role.
- Double
- Number of node fragments.
- visible Double
- Whether the node is visible.
- zone String
- Zone.
- break number
- Whether or not to break.
- cpu
Num number - CPU number.
- cpu
Usage number - CPU usage.
- disk
Ids string[] - List of disk ID on the node.
- disk
Size number - Total disk size of node.
- disk
Usage number - Disk usage.
- boolean
- Whether it is a hidden availability zone.
- is
Coordination booleanNode - Whether to act as a coordinator node or not.
- jvm
Mem numberUsage - JVM memory usage.
- mem
Size number - Node memory size (in GB).
- mem
Usage number - Memory usage.
- node
Http stringIp - Node HTTP IP.
- node
Id string - Node id.
- node
Ip string - Node ip.
- node
Role string - Node role.
- number
- Number of node fragments.
- visible number
- Whether the node is visible.
- zone string
- Zone.
- break_ float
- Whether or not to break.
- cpu_
num float - CPU number.
- cpu_
usage float - CPU usage.
- disk_
ids Sequence[str] - List of disk ID on the node.
- disk_
size float - Total disk size of node.
- disk_
usage float - Disk usage.
- bool
- Whether it is a hidden availability zone.
- is_
coordination_ boolnode - Whether to act as a coordinator node or not.
- jvm_
mem_ floatusage - JVM memory usage.
- mem_
size float - Node memory size (in GB).
- mem_
usage float - Memory usage.
- node_
http_ strip - Node HTTP IP.
- node_
id str - Node id.
- node_
ip str - Node ip.
- node_
role str - Node role.
- float
- Number of node fragments.
- visible float
- Whether the node is visible.
- zone str
- Zone.
- break Number
- Whether or not to break.
- cpu
Num Number - CPU number.
- cpu
Usage Number - CPU usage.
- disk
Ids List<String> - List of disk ID on the node.
- disk
Size Number - Total disk size of node.
- disk
Usage Number - Disk usage.
- Boolean
- Whether it is a hidden availability zone.
- is
Coordination BooleanNode - Whether to act as a coordinator node or not.
- jvm
Mem NumberUsage - JVM memory usage.
- mem
Size Number - Node memory size (in GB).
- mem
Usage Number - Memory usage.
- node
Http StringIp - Node HTTP IP.
- node
Id String - Node id.
- node
Ip String - Node ip.
- node
Role String - Node role.
- Number
- Number of node fragments.
- visible Number
- Whether the node is visible.
- zone String
- Zone.
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