1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. ElasticsearchLogstash
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.ElasticsearchLogstash

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a elasticsearch logstash

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const logstash = new tencentcloud.ElasticsearchLogstash("logstash", {
        chargeType: "POSTPAID_BY_HOUR",
        diskSize: 20,
        diskType: "CLOUD_SSD",
        instanceName: "logstash-test",
        licenseType: "xpack",
        logstashVersion: "7.14.2",
        nodeNum: 1,
        nodeType: "LOGSTASH.SA2.MEDIUM4",
        operationDuration: {
            periods: [
                1,
                2,
                3,
                4,
                5,
                6,
                0,
            ],
            timeEnd: "06:00",
            timeStart: "02:00",
            timeZone: "UTC+8",
        },
        subnetId: "subnet-4o0zd840",
        tags: {
            tagKey: "tagValue",
        },
        vpcId: "vpc-4owdpnwr",
        zone: "ap-guangzhou-6",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    logstash = tencentcloud.ElasticsearchLogstash("logstash",
        charge_type="POSTPAID_BY_HOUR",
        disk_size=20,
        disk_type="CLOUD_SSD",
        instance_name="logstash-test",
        license_type="xpack",
        logstash_version="7.14.2",
        node_num=1,
        node_type="LOGSTASH.SA2.MEDIUM4",
        operation_duration={
            "periods": [
                1,
                2,
                3,
                4,
                5,
                6,
                0,
            ],
            "time_end": "06:00",
            "time_start": "02:00",
            "time_zone": "UTC+8",
        },
        subnet_id="subnet-4o0zd840",
        tags={
            "tagKey": "tagValue",
        },
        vpc_id="vpc-4owdpnwr",
        zone="ap-guangzhou-6")
    
    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.NewElasticsearchLogstash(ctx, "logstash", &tencentcloud.ElasticsearchLogstashArgs{
    			ChargeType:      pulumi.String("POSTPAID_BY_HOUR"),
    			DiskSize:        pulumi.Float64(20),
    			DiskType:        pulumi.String("CLOUD_SSD"),
    			InstanceName:    pulumi.String("logstash-test"),
    			LicenseType:     pulumi.String("xpack"),
    			LogstashVersion: pulumi.String("7.14.2"),
    			NodeNum:         pulumi.Float64(1),
    			NodeType:        pulumi.String("LOGSTASH.SA2.MEDIUM4"),
    			OperationDuration: &tencentcloud.ElasticsearchLogstashOperationDurationArgs{
    				Periods: pulumi.Float64Array{
    					pulumi.Float64(1),
    					pulumi.Float64(2),
    					pulumi.Float64(3),
    					pulumi.Float64(4),
    					pulumi.Float64(5),
    					pulumi.Float64(6),
    					pulumi.Float64(0),
    				},
    				TimeEnd:   pulumi.String("06:00"),
    				TimeStart: pulumi.String("02:00"),
    				TimeZone:  pulumi.String("UTC+8"),
    			},
    			SubnetId: pulumi.String("subnet-4o0zd840"),
    			Tags: pulumi.StringMap{
    				"tagKey": pulumi.String("tagValue"),
    			},
    			VpcId: pulumi.String("vpc-4owdpnwr"),
    			Zone:  pulumi.String("ap-guangzhou-6"),
    		})
    		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 logstash = new Tencentcloud.ElasticsearchLogstash("logstash", new()
        {
            ChargeType = "POSTPAID_BY_HOUR",
            DiskSize = 20,
            DiskType = "CLOUD_SSD",
            InstanceName = "logstash-test",
            LicenseType = "xpack",
            LogstashVersion = "7.14.2",
            NodeNum = 1,
            NodeType = "LOGSTASH.SA2.MEDIUM4",
            OperationDuration = new Tencentcloud.Inputs.ElasticsearchLogstashOperationDurationArgs
            {
                Periods = new[]
                {
                    1,
                    2,
                    3,
                    4,
                    5,
                    6,
                    0,
                },
                TimeEnd = "06:00",
                TimeStart = "02:00",
                TimeZone = "UTC+8",
            },
            SubnetId = "subnet-4o0zd840",
            Tags = 
            {
                { "tagKey", "tagValue" },
            },
            VpcId = "vpc-4owdpnwr",
            Zone = "ap-guangzhou-6",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.ElasticsearchLogstash;
    import com.pulumi.tencentcloud.ElasticsearchLogstashArgs;
    import com.pulumi.tencentcloud.inputs.ElasticsearchLogstashOperationDurationArgs;
    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) {
            var logstash = new ElasticsearchLogstash("logstash", ElasticsearchLogstashArgs.builder()
                .chargeType("POSTPAID_BY_HOUR")
                .diskSize(20)
                .diskType("CLOUD_SSD")
                .instanceName("logstash-test")
                .licenseType("xpack")
                .logstashVersion("7.14.2")
                .nodeNum(1)
                .nodeType("LOGSTASH.SA2.MEDIUM4")
                .operationDuration(ElasticsearchLogstashOperationDurationArgs.builder()
                    .periods(                
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        0)
                    .timeEnd("06:00")
                    .timeStart("02:00")
                    .timeZone("UTC+8")
                    .build())
                .subnetId("subnet-4o0zd840")
                .tags(Map.of("tagKey", "tagValue"))
                .vpcId("vpc-4owdpnwr")
                .zone("ap-guangzhou-6")
                .build());
    
        }
    }
    
    resources:
      logstash:
        type: tencentcloud:ElasticsearchLogstash
        properties:
          chargeType: POSTPAID_BY_HOUR
          diskSize: 20
          diskType: CLOUD_SSD
          instanceName: logstash-test
          licenseType: xpack
          logstashVersion: 7.14.2
          nodeNum: 1
          nodeType: LOGSTASH.SA2.MEDIUM4
          operationDuration:
            periods:
              - 1
              - 2
              - 3
              - 4
              - 5
              - 6
              - 0
            timeEnd: 06:00
            timeStart: 02:00
            timeZone: UTC+8
          subnetId: subnet-4o0zd840
          tags:
            tagKey: tagValue
          vpcId: vpc-4owdpnwr
          zone: ap-guangzhou-6
    

    Create ElasticsearchLogstash Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ElasticsearchLogstash(name: string, args: ElasticsearchLogstashArgs, opts?: CustomResourceOptions);
    @overload
    def ElasticsearchLogstash(resource_name: str,
                              args: ElasticsearchLogstashArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ElasticsearchLogstash(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              instance_name: Optional[str] = None,
                              zone: Optional[str] = None,
                              vpc_id: Optional[str] = None,
                              subnet_id: Optional[str] = None,
                              logstash_version: Optional[str] = None,
                              disk_type: Optional[str] = None,
                              renew_flag: Optional[str] = None,
                              license_type: Optional[str] = None,
                              auto_voucher: Optional[float] = None,
                              node_num: Optional[float] = None,
                              node_type: Optional[str] = None,
                              operation_duration: Optional[ElasticsearchLogstashOperationDurationArgs] = None,
                              elasticsearch_logstash_id: Optional[str] = None,
                              disk_size: Optional[float] = None,
                              tags: Optional[Mapping[str, str]] = None,
                              time_unit: Optional[str] = None,
                              voucher_ids: Optional[Sequence[str]] = None,
                              charge_type: Optional[str] = None,
                              charge_period: Optional[float] = None)
    func NewElasticsearchLogstash(ctx *Context, name string, args ElasticsearchLogstashArgs, opts ...ResourceOption) (*ElasticsearchLogstash, error)
    public ElasticsearchLogstash(string name, ElasticsearchLogstashArgs args, CustomResourceOptions? opts = null)
    public ElasticsearchLogstash(String name, ElasticsearchLogstashArgs args)
    public ElasticsearchLogstash(String name, ElasticsearchLogstashArgs args, CustomResourceOptions options)
    
    type: tencentcloud:ElasticsearchLogstash
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ElasticsearchLogstashArgs
    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 ElasticsearchLogstashArgs
    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 ElasticsearchLogstashArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ElasticsearchLogstashArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ElasticsearchLogstashArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ElasticsearchLogstash Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ElasticsearchLogstash resource accepts the following input properties:

    InstanceName string
    Instance name (compose of 1-50 letter, number, - or _).
    LogstashVersion string
    Instance version(6.8.13, 7.10.1).
    SubnetId string
    Subnet id.
    VpcId string
    VPC id.
    Zone string
    Available zone.
    AutoVoucher double
    whether to use voucher auto, 1 when use, else 0.
    ChargePeriod double
    Period when charged by months or years(unit depends on TimeUnit).
    ChargeType string
    Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
    DiskSize double
    node disk size (unit GB).
    DiskType string
    Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
    ElasticsearchLogstashId string
    ID of the resource.
    LicenseType string
    License type. oss: open source version; xpack:xpack version; default: xpack.
    NodeNum double
    Node num(range 2-50).
    NodeType string
    Node type. Valid values:

    • LOGSTASH.S1.SMALL2: 1 core 2G;
    • LOGSTASH.S1.MEDIUM4:2 core 4G;
    • LOGSTASH.S1.MEDIUM8:2 core 8G;
    • LOGSTASH.S1.LARGE16:4 core 16G;
    • LOGSTASH.S1.2XLARGE32:8 core 32G;
    • LOGSTASH.S1.4XLARGE32:16 core 32G;
    • LOGSTASH.S1.4XLARGE64:16 core 64G.
    OperationDuration ElasticsearchLogstashOperationDuration
    operation time by tencent clound.
    RenewFlag string
    Automatic renewal flag. RENEW_FLAG_AUTO: auto renewal; RENEW_FLAG_MANUAL: do not renew automatically, users renew manually. It needs to be set when ChargeType is PREPAID. If this parameter is not passed, ordinary users will not renew automatically by default, and SVIP users will renew automatically.
    Tags Dictionary<string, string>
    Tag description list.
    TimeUnit string
    charge time unit(set when ChargeType is PREPAID, default value: ms).
    VoucherIds List<string>
    Voucher list(only can use one voucher by now).
    InstanceName string
    Instance name (compose of 1-50 letter, number, - or _).
    LogstashVersion string
    Instance version(6.8.13, 7.10.1).
    SubnetId string
    Subnet id.
    VpcId string
    VPC id.
    Zone string
    Available zone.
    AutoVoucher float64
    whether to use voucher auto, 1 when use, else 0.
    ChargePeriod float64
    Period when charged by months or years(unit depends on TimeUnit).
    ChargeType string
    Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
    DiskSize float64
    node disk size (unit GB).
    DiskType string
    Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
    ElasticsearchLogstashId string
    ID of the resource.
    LicenseType string
    License type. oss: open source version; xpack:xpack version; default: xpack.
    NodeNum float64
    Node num(range 2-50).
    NodeType string
    Node type. Valid values:

    • LOGSTASH.S1.SMALL2: 1 core 2G;
    • LOGSTASH.S1.MEDIUM4:2 core 4G;
    • LOGSTASH.S1.MEDIUM8:2 core 8G;
    • LOGSTASH.S1.LARGE16:4 core 16G;
    • LOGSTASH.S1.2XLARGE32:8 core 32G;
    • LOGSTASH.S1.4XLARGE32:16 core 32G;
    • LOGSTASH.S1.4XLARGE64:16 core 64G.
    OperationDuration ElasticsearchLogstashOperationDurationArgs
    operation time by tencent clound.
    RenewFlag string
    Automatic renewal flag. RENEW_FLAG_AUTO: auto renewal; RENEW_FLAG_MANUAL: do not renew automatically, users renew manually. It needs to be set when ChargeType is PREPAID. If this parameter is not passed, ordinary users will not renew automatically by default, and SVIP users will renew automatically.
    Tags map[string]string
    Tag description list.
    TimeUnit string
    charge time unit(set when ChargeType is PREPAID, default value: ms).
    VoucherIds []string
    Voucher list(only can use one voucher by now).
    instanceName String
    Instance name (compose of 1-50 letter, number, - or _).
    logstashVersion String
    Instance version(6.8.13, 7.10.1).
    subnetId String
    Subnet id.
    vpcId String
    VPC id.
    zone String
    Available zone.
    autoVoucher Double
    whether to use voucher auto, 1 when use, else 0.
    chargePeriod Double
    Period when charged by months or years(unit depends on TimeUnit).
    chargeType String
    Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
    diskSize Double
    node disk size (unit GB).
    diskType String
    Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
    elasticsearchLogstashId String
    ID of the resource.
    licenseType String
    License type. oss: open source version; xpack:xpack version; default: xpack.
    nodeNum Double
    Node num(range 2-50).
    nodeType String
    Node type. Valid values:

    • LOGSTASH.S1.SMALL2: 1 core 2G;
    • LOGSTASH.S1.MEDIUM4:2 core 4G;
    • LOGSTASH.S1.MEDIUM8:2 core 8G;
    • LOGSTASH.S1.LARGE16:4 core 16G;
    • LOGSTASH.S1.2XLARGE32:8 core 32G;
    • LOGSTASH.S1.4XLARGE32:16 core 32G;
    • LOGSTASH.S1.4XLARGE64:16 core 64G.
    operationDuration ElasticsearchLogstashOperationDuration
    operation time by tencent clound.
    renewFlag String
    Automatic renewal flag. RENEW_FLAG_AUTO: auto renewal; RENEW_FLAG_MANUAL: do not renew automatically, users renew manually. It needs to be set when ChargeType is PREPAID. If this parameter is not passed, ordinary users will not renew automatically by default, and SVIP users will renew automatically.
    tags Map<String,String>
    Tag description list.
    timeUnit String
    charge time unit(set when ChargeType is PREPAID, default value: ms).
    voucherIds List<String>
    Voucher list(only can use one voucher by now).
    instanceName string
    Instance name (compose of 1-50 letter, number, - or _).
    logstashVersion string
    Instance version(6.8.13, 7.10.1).
    subnetId string
    Subnet id.
    vpcId string
    VPC id.
    zone string
    Available zone.
    autoVoucher number
    whether to use voucher auto, 1 when use, else 0.
    chargePeriod number
    Period when charged by months or years(unit depends on TimeUnit).
    chargeType string
    Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
    diskSize number
    node disk size (unit GB).
    diskType string
    Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
    elasticsearchLogstashId string
    ID of the resource.
    licenseType string
    License type. oss: open source version; xpack:xpack version; default: xpack.
    nodeNum number
    Node num(range 2-50).
    nodeType string
    Node type. Valid values:

    • LOGSTASH.S1.SMALL2: 1 core 2G;
    • LOGSTASH.S1.MEDIUM4:2 core 4G;
    • LOGSTASH.S1.MEDIUM8:2 core 8G;
    • LOGSTASH.S1.LARGE16:4 core 16G;
    • LOGSTASH.S1.2XLARGE32:8 core 32G;
    • LOGSTASH.S1.4XLARGE32:16 core 32G;
    • LOGSTASH.S1.4XLARGE64:16 core 64G.
    operationDuration ElasticsearchLogstashOperationDuration
    operation time by tencent clound.
    renewFlag string
    Automatic renewal flag. RENEW_FLAG_AUTO: auto renewal; RENEW_FLAG_MANUAL: do not renew automatically, users renew manually. It needs to be set when ChargeType is PREPAID. If this parameter is not passed, ordinary users will not renew automatically by default, and SVIP users will renew automatically.
    tags {[key: string]: string}
    Tag description list.
    timeUnit string
    charge time unit(set when ChargeType is PREPAID, default value: ms).
    voucherIds string[]
    Voucher list(only can use one voucher by now).
    instance_name str
    Instance name (compose of 1-50 letter, number, - or _).
    logstash_version str
    Instance version(6.8.13, 7.10.1).
    subnet_id str
    Subnet id.
    vpc_id str
    VPC id.
    zone str
    Available zone.
    auto_voucher float
    whether to use voucher auto, 1 when use, else 0.
    charge_period float
    Period when charged by months or years(unit depends on TimeUnit).
    charge_type str
    Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
    disk_size float
    node disk size (unit GB).
    disk_type str
    Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
    elasticsearch_logstash_id str
    ID of the resource.
    license_type str
    License type. oss: open source version; xpack:xpack version; default: xpack.
    node_num float
    Node num(range 2-50).
    node_type str
    Node type. Valid values:

    • LOGSTASH.S1.SMALL2: 1 core 2G;
    • LOGSTASH.S1.MEDIUM4:2 core 4G;
    • LOGSTASH.S1.MEDIUM8:2 core 8G;
    • LOGSTASH.S1.LARGE16:4 core 16G;
    • LOGSTASH.S1.2XLARGE32:8 core 32G;
    • LOGSTASH.S1.4XLARGE32:16 core 32G;
    • LOGSTASH.S1.4XLARGE64:16 core 64G.
    operation_duration ElasticsearchLogstashOperationDurationArgs
    operation time by tencent clound.
    renew_flag str
    Automatic renewal flag. RENEW_FLAG_AUTO: auto renewal; RENEW_FLAG_MANUAL: do not renew automatically, users renew manually. It needs to be set when ChargeType is PREPAID. If this parameter is not passed, ordinary users will not renew automatically by default, and SVIP users will renew automatically.
    tags Mapping[str, str]
    Tag description list.
    time_unit str
    charge time unit(set when ChargeType is PREPAID, default value: ms).
    voucher_ids Sequence[str]
    Voucher list(only can use one voucher by now).
    instanceName String
    Instance name (compose of 1-50 letter, number, - or _).
    logstashVersion String
    Instance version(6.8.13, 7.10.1).
    subnetId String
    Subnet id.
    vpcId String
    VPC id.
    zone String
    Available zone.
    autoVoucher Number
    whether to use voucher auto, 1 when use, else 0.
    chargePeriod Number
    Period when charged by months or years(unit depends on TimeUnit).
    chargeType String
    Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
    diskSize Number
    node disk size (unit GB).
    diskType String
    Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
    elasticsearchLogstashId String
    ID of the resource.
    licenseType String
    License type. oss: open source version; xpack:xpack version; default: xpack.
    nodeNum Number
    Node num(range 2-50).
    nodeType String
    Node type. Valid values:

    • LOGSTASH.S1.SMALL2: 1 core 2G;
    • LOGSTASH.S1.MEDIUM4:2 core 4G;
    • LOGSTASH.S1.MEDIUM8:2 core 8G;
    • LOGSTASH.S1.LARGE16:4 core 16G;
    • LOGSTASH.S1.2XLARGE32:8 core 32G;
    • LOGSTASH.S1.4XLARGE32:16 core 32G;
    • LOGSTASH.S1.4XLARGE64:16 core 64G.
    operationDuration Property Map
    operation time by tencent clound.
    renewFlag String
    Automatic renewal flag. RENEW_FLAG_AUTO: auto renewal; RENEW_FLAG_MANUAL: do not renew automatically, users renew manually. It needs to be set when ChargeType is PREPAID. If this parameter is not passed, ordinary users will not renew automatically by default, and SVIP users will renew automatically.
    tags Map<String>
    Tag description list.
    timeUnit String
    charge time unit(set when ChargeType is PREPAID, default value: ms).
    voucherIds List<String>
    Voucher list(only can use one voucher by now).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ElasticsearchLogstash 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 ElasticsearchLogstash Resource

    Get an existing ElasticsearchLogstash 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?: ElasticsearchLogstashState, opts?: CustomResourceOptions): ElasticsearchLogstash
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_voucher: Optional[float] = None,
            charge_period: Optional[float] = None,
            charge_type: Optional[str] = None,
            disk_size: Optional[float] = None,
            disk_type: Optional[str] = None,
            elasticsearch_logstash_id: Optional[str] = None,
            instance_name: Optional[str] = None,
            license_type: Optional[str] = None,
            logstash_version: Optional[str] = None,
            node_num: Optional[float] = None,
            node_type: Optional[str] = None,
            operation_duration: Optional[ElasticsearchLogstashOperationDurationArgs] = None,
            renew_flag: Optional[str] = None,
            subnet_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            time_unit: Optional[str] = None,
            voucher_ids: Optional[Sequence[str]] = None,
            vpc_id: Optional[str] = None,
            zone: Optional[str] = None) -> ElasticsearchLogstash
    func GetElasticsearchLogstash(ctx *Context, name string, id IDInput, state *ElasticsearchLogstashState, opts ...ResourceOption) (*ElasticsearchLogstash, error)
    public static ElasticsearchLogstash Get(string name, Input<string> id, ElasticsearchLogstashState? state, CustomResourceOptions? opts = null)
    public static ElasticsearchLogstash get(String name, Output<String> id, ElasticsearchLogstashState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:ElasticsearchLogstash    get:      id: ${id}
    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:
    AutoVoucher double
    whether to use voucher auto, 1 when use, else 0.
    ChargePeriod double
    Period when charged by months or years(unit depends on TimeUnit).
    ChargeType string
    Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
    DiskSize double
    node disk size (unit GB).
    DiskType string
    Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
    ElasticsearchLogstashId string
    ID of the resource.
    InstanceName string
    Instance name (compose of 1-50 letter, number, - or _).
    LicenseType string
    License type. oss: open source version; xpack:xpack version; default: xpack.
    LogstashVersion string
    Instance version(6.8.13, 7.10.1).
    NodeNum double
    Node num(range 2-50).
    NodeType string
    Node type. Valid values:

    • LOGSTASH.S1.SMALL2: 1 core 2G;
    • LOGSTASH.S1.MEDIUM4:2 core 4G;
    • LOGSTASH.S1.MEDIUM8:2 core 8G;
    • LOGSTASH.S1.LARGE16:4 core 16G;
    • LOGSTASH.S1.2XLARGE32:8 core 32G;
    • LOGSTASH.S1.4XLARGE32:16 core 32G;
    • LOGSTASH.S1.4XLARGE64:16 core 64G.
    OperationDuration ElasticsearchLogstashOperationDuration
    operation time by tencent clound.
    RenewFlag string
    Automatic renewal flag. RENEW_FLAG_AUTO: auto renewal; RENEW_FLAG_MANUAL: do not renew automatically, users renew manually. It needs to be set when ChargeType is PREPAID. If this parameter is not passed, ordinary users will not renew automatically by default, and SVIP users will renew automatically.
    SubnetId string
    Subnet id.
    Tags Dictionary<string, string>
    Tag description list.
    TimeUnit string
    charge time unit(set when ChargeType is PREPAID, default value: ms).
    VoucherIds List<string>
    Voucher list(only can use one voucher by now).
    VpcId string
    VPC id.
    Zone string
    Available zone.
    AutoVoucher float64
    whether to use voucher auto, 1 when use, else 0.
    ChargePeriod float64
    Period when charged by months or years(unit depends on TimeUnit).
    ChargeType string
    Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
    DiskSize float64
    node disk size (unit GB).
    DiskType string
    Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
    ElasticsearchLogstashId string
    ID of the resource.
    InstanceName string
    Instance name (compose of 1-50 letter, number, - or _).
    LicenseType string
    License type. oss: open source version; xpack:xpack version; default: xpack.
    LogstashVersion string
    Instance version(6.8.13, 7.10.1).
    NodeNum float64
    Node num(range 2-50).
    NodeType string
    Node type. Valid values:

    • LOGSTASH.S1.SMALL2: 1 core 2G;
    • LOGSTASH.S1.MEDIUM4:2 core 4G;
    • LOGSTASH.S1.MEDIUM8:2 core 8G;
    • LOGSTASH.S1.LARGE16:4 core 16G;
    • LOGSTASH.S1.2XLARGE32:8 core 32G;
    • LOGSTASH.S1.4XLARGE32:16 core 32G;
    • LOGSTASH.S1.4XLARGE64:16 core 64G.
    OperationDuration ElasticsearchLogstashOperationDurationArgs
    operation time by tencent clound.
    RenewFlag string
    Automatic renewal flag. RENEW_FLAG_AUTO: auto renewal; RENEW_FLAG_MANUAL: do not renew automatically, users renew manually. It needs to be set when ChargeType is PREPAID. If this parameter is not passed, ordinary users will not renew automatically by default, and SVIP users will renew automatically.
    SubnetId string
    Subnet id.
    Tags map[string]string
    Tag description list.
    TimeUnit string
    charge time unit(set when ChargeType is PREPAID, default value: ms).
    VoucherIds []string
    Voucher list(only can use one voucher by now).
    VpcId string
    VPC id.
    Zone string
    Available zone.
    autoVoucher Double
    whether to use voucher auto, 1 when use, else 0.
    chargePeriod Double
    Period when charged by months or years(unit depends on TimeUnit).
    chargeType String
    Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
    diskSize Double
    node disk size (unit GB).
    diskType String
    Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
    elasticsearchLogstashId String
    ID of the resource.
    instanceName String
    Instance name (compose of 1-50 letter, number, - or _).
    licenseType String
    License type. oss: open source version; xpack:xpack version; default: xpack.
    logstashVersion String
    Instance version(6.8.13, 7.10.1).
    nodeNum Double
    Node num(range 2-50).
    nodeType String
    Node type. Valid values:

    • LOGSTASH.S1.SMALL2: 1 core 2G;
    • LOGSTASH.S1.MEDIUM4:2 core 4G;
    • LOGSTASH.S1.MEDIUM8:2 core 8G;
    • LOGSTASH.S1.LARGE16:4 core 16G;
    • LOGSTASH.S1.2XLARGE32:8 core 32G;
    • LOGSTASH.S1.4XLARGE32:16 core 32G;
    • LOGSTASH.S1.4XLARGE64:16 core 64G.
    operationDuration ElasticsearchLogstashOperationDuration
    operation time by tencent clound.
    renewFlag String
    Automatic renewal flag. RENEW_FLAG_AUTO: auto renewal; RENEW_FLAG_MANUAL: do not renew automatically, users renew manually. It needs to be set when ChargeType is PREPAID. If this parameter is not passed, ordinary users will not renew automatically by default, and SVIP users will renew automatically.
    subnetId String
    Subnet id.
    tags Map<String,String>
    Tag description list.
    timeUnit String
    charge time unit(set when ChargeType is PREPAID, default value: ms).
    voucherIds List<String>
    Voucher list(only can use one voucher by now).
    vpcId String
    VPC id.
    zone String
    Available zone.
    autoVoucher number
    whether to use voucher auto, 1 when use, else 0.
    chargePeriod number
    Period when charged by months or years(unit depends on TimeUnit).
    chargeType string
    Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
    diskSize number
    node disk size (unit GB).
    diskType string
    Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
    elasticsearchLogstashId string
    ID of the resource.
    instanceName string
    Instance name (compose of 1-50 letter, number, - or _).
    licenseType string
    License type. oss: open source version; xpack:xpack version; default: xpack.
    logstashVersion string
    Instance version(6.8.13, 7.10.1).
    nodeNum number
    Node num(range 2-50).
    nodeType string
    Node type. Valid values:

    • LOGSTASH.S1.SMALL2: 1 core 2G;
    • LOGSTASH.S1.MEDIUM4:2 core 4G;
    • LOGSTASH.S1.MEDIUM8:2 core 8G;
    • LOGSTASH.S1.LARGE16:4 core 16G;
    • LOGSTASH.S1.2XLARGE32:8 core 32G;
    • LOGSTASH.S1.4XLARGE32:16 core 32G;
    • LOGSTASH.S1.4XLARGE64:16 core 64G.
    operationDuration ElasticsearchLogstashOperationDuration
    operation time by tencent clound.
    renewFlag string
    Automatic renewal flag. RENEW_FLAG_AUTO: auto renewal; RENEW_FLAG_MANUAL: do not renew automatically, users renew manually. It needs to be set when ChargeType is PREPAID. If this parameter is not passed, ordinary users will not renew automatically by default, and SVIP users will renew automatically.
    subnetId string
    Subnet id.
    tags {[key: string]: string}
    Tag description list.
    timeUnit string
    charge time unit(set when ChargeType is PREPAID, default value: ms).
    voucherIds string[]
    Voucher list(only can use one voucher by now).
    vpcId string
    VPC id.
    zone string
    Available zone.
    auto_voucher float
    whether to use voucher auto, 1 when use, else 0.
    charge_period float
    Period when charged by months or years(unit depends on TimeUnit).
    charge_type str
    Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
    disk_size float
    node disk size (unit GB).
    disk_type str
    Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
    elasticsearch_logstash_id str
    ID of the resource.
    instance_name str
    Instance name (compose of 1-50 letter, number, - or _).
    license_type str
    License type. oss: open source version; xpack:xpack version; default: xpack.
    logstash_version str
    Instance version(6.8.13, 7.10.1).
    node_num float
    Node num(range 2-50).
    node_type str
    Node type. Valid values:

    • LOGSTASH.S1.SMALL2: 1 core 2G;
    • LOGSTASH.S1.MEDIUM4:2 core 4G;
    • LOGSTASH.S1.MEDIUM8:2 core 8G;
    • LOGSTASH.S1.LARGE16:4 core 16G;
    • LOGSTASH.S1.2XLARGE32:8 core 32G;
    • LOGSTASH.S1.4XLARGE32:16 core 32G;
    • LOGSTASH.S1.4XLARGE64:16 core 64G.
    operation_duration ElasticsearchLogstashOperationDurationArgs
    operation time by tencent clound.
    renew_flag str
    Automatic renewal flag. RENEW_FLAG_AUTO: auto renewal; RENEW_FLAG_MANUAL: do not renew automatically, users renew manually. It needs to be set when ChargeType is PREPAID. If this parameter is not passed, ordinary users will not renew automatically by default, and SVIP users will renew automatically.
    subnet_id str
    Subnet id.
    tags Mapping[str, str]
    Tag description list.
    time_unit str
    charge time unit(set when ChargeType is PREPAID, default value: ms).
    voucher_ids Sequence[str]
    Voucher list(only can use one voucher by now).
    vpc_id str
    VPC id.
    zone str
    Available zone.
    autoVoucher Number
    whether to use voucher auto, 1 when use, else 0.
    chargePeriod Number
    Period when charged by months or years(unit depends on TimeUnit).
    chargeType String
    Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
    diskSize Number
    node disk size (unit GB).
    diskType String
    Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
    elasticsearchLogstashId String
    ID of the resource.
    instanceName String
    Instance name (compose of 1-50 letter, number, - or _).
    licenseType String
    License type. oss: open source version; xpack:xpack version; default: xpack.
    logstashVersion String
    Instance version(6.8.13, 7.10.1).
    nodeNum Number
    Node num(range 2-50).
    nodeType String
    Node type. Valid values:

    • LOGSTASH.S1.SMALL2: 1 core 2G;
    • LOGSTASH.S1.MEDIUM4:2 core 4G;
    • LOGSTASH.S1.MEDIUM8:2 core 8G;
    • LOGSTASH.S1.LARGE16:4 core 16G;
    • LOGSTASH.S1.2XLARGE32:8 core 32G;
    • LOGSTASH.S1.4XLARGE32:16 core 32G;
    • LOGSTASH.S1.4XLARGE64:16 core 64G.
    operationDuration Property Map
    operation time by tencent clound.
    renewFlag String
    Automatic renewal flag. RENEW_FLAG_AUTO: auto renewal; RENEW_FLAG_MANUAL: do not renew automatically, users renew manually. It needs to be set when ChargeType is PREPAID. If this parameter is not passed, ordinary users will not renew automatically by default, and SVIP users will renew automatically.
    subnetId String
    Subnet id.
    tags Map<String>
    Tag description list.
    timeUnit String
    charge time unit(set when ChargeType is PREPAID, default value: ms).
    voucherIds List<String>
    Voucher list(only can use one voucher by now).
    vpcId String
    VPC id.
    zone String
    Available zone.

    Supporting Types

    ElasticsearchLogstashOperationDuration, ElasticsearchLogstashOperationDurationArgs

    Periods List<double>
    day of week, from Monday to Sunday, value range: [0, 6]notes: may return null when missing.
    TimeEnd string
    operation end time.
    TimeStart string
    operation start time.
    TimeZone string
    time zone, for example: UTC+8.
    Periods []float64
    day of week, from Monday to Sunday, value range: [0, 6]notes: may return null when missing.
    TimeEnd string
    operation end time.
    TimeStart string
    operation start time.
    TimeZone string
    time zone, for example: UTC+8.
    periods List<Double>
    day of week, from Monday to Sunday, value range: [0, 6]notes: may return null when missing.
    timeEnd String
    operation end time.
    timeStart String
    operation start time.
    timeZone String
    time zone, for example: UTC+8.
    periods number[]
    day of week, from Monday to Sunday, value range: [0, 6]notes: may return null when missing.
    timeEnd string
    operation end time.
    timeStart string
    operation start time.
    timeZone string
    time zone, for example: UTC+8.
    periods Sequence[float]
    day of week, from Monday to Sunday, value range: [0, 6]notes: may return null when missing.
    time_end str
    operation end time.
    time_start str
    operation start time.
    time_zone str
    time zone, for example: UTC+8.
    periods List<Number>
    day of week, from Monday to Sunday, value range: [0, 6]notes: may return null when missing.
    timeEnd String
    operation end time.
    timeStart String
    operation start time.
    timeZone String
    time zone, for example: UTC+8.

    Import

    elasticsearch logstash can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/elasticsearchLogstash:ElasticsearchLogstash logstash logstash_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack