tencentcloud.ElasticsearchLogstash
Explore with Pulumi AI
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:
- Instance
Name string - Instance name (compose of 1-50 letter, number, - or _).
- Logstash
Version string - Instance version(6.8.13, 7.10.1).
- Subnet
Id string - Subnet id.
- Vpc
Id string - VPC id.
- Zone string
- Available zone.
- Auto
Voucher double - whether to use voucher auto, 1 when use, else 0.
- Charge
Period double - Period when charged by months or years(unit depends on TimeUnit).
- Charge
Type string - Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
- Disk
Size double - node disk size (unit GB).
- Disk
Type string - Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
- Elasticsearch
Logstash stringId - ID of the resource.
- License
Type string - License type. oss: open source version; xpack:xpack version; default: xpack.
- Node
Num double - Node num(range 2-50).
- Node
Type 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.
- Operation
Duration ElasticsearchLogstash Operation Duration - operation time by tencent clound.
- Renew
Flag 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.
- Dictionary<string, string>
- Tag description list.
- Time
Unit string - charge time unit(set when ChargeType is PREPAID, default value: ms).
- Voucher
Ids List<string> - Voucher list(only can use one voucher by now).
- Instance
Name string - Instance name (compose of 1-50 letter, number, - or _).
- Logstash
Version string - Instance version(6.8.13, 7.10.1).
- Subnet
Id string - Subnet id.
- Vpc
Id string - VPC id.
- Zone string
- Available zone.
- Auto
Voucher float64 - whether to use voucher auto, 1 when use, else 0.
- Charge
Period float64 - Period when charged by months or years(unit depends on TimeUnit).
- Charge
Type string - Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
- Disk
Size float64 - node disk size (unit GB).
- Disk
Type string - Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
- Elasticsearch
Logstash stringId - ID of the resource.
- License
Type string - License type. oss: open source version; xpack:xpack version; default: xpack.
- Node
Num float64 - Node num(range 2-50).
- Node
Type 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.
- Operation
Duration ElasticsearchLogstash Operation Duration Args - operation time by tencent clound.
- Renew
Flag 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.
- map[string]string
- Tag description list.
- Time
Unit string - charge time unit(set when ChargeType is PREPAID, default value: ms).
- Voucher
Ids []string - Voucher list(only can use one voucher by now).
- instance
Name String - Instance name (compose of 1-50 letter, number, - or _).
- logstash
Version String - Instance version(6.8.13, 7.10.1).
- subnet
Id String - Subnet id.
- vpc
Id String - VPC id.
- zone String
- Available zone.
- auto
Voucher Double - whether to use voucher auto, 1 when use, else 0.
- charge
Period Double - Period when charged by months or years(unit depends on TimeUnit).
- charge
Type String - Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
- disk
Size Double - node disk size (unit GB).
- disk
Type String - Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
- elasticsearch
Logstash StringId - ID of the resource.
- license
Type String - License type. oss: open source version; xpack:xpack version; default: xpack.
- node
Num Double - Node num(range 2-50).
- node
Type 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.
- operation
Duration ElasticsearchLogstash Operation Duration - operation time by tencent clound.
- renew
Flag 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.
- Map<String,String>
- Tag description list.
- time
Unit String - charge time unit(set when ChargeType is PREPAID, default value: ms).
- voucher
Ids List<String> - Voucher list(only can use one voucher by now).
- instance
Name string - Instance name (compose of 1-50 letter, number, - or _).
- logstash
Version string - Instance version(6.8.13, 7.10.1).
- subnet
Id string - Subnet id.
- vpc
Id string - VPC id.
- zone string
- Available zone.
- auto
Voucher number - whether to use voucher auto, 1 when use, else 0.
- charge
Period number - Period when charged by months or years(unit depends on TimeUnit).
- charge
Type string - Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
- disk
Size number - node disk size (unit GB).
- disk
Type string - Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
- elasticsearch
Logstash stringId - ID of the resource.
- license
Type string - License type. oss: open source version; xpack:xpack version; default: xpack.
- node
Num number - Node num(range 2-50).
- node
Type 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.
- operation
Duration ElasticsearchLogstash Operation Duration - operation time by tencent clound.
- renew
Flag 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.
- {[key: string]: string}
- Tag description list.
- time
Unit string - charge time unit(set when ChargeType is PREPAID, default value: ms).
- voucher
Ids 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_ strid - 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 ElasticsearchLogstash Operation Duration Args - 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.
- 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).
- instance
Name String - Instance name (compose of 1-50 letter, number, - or _).
- logstash
Version String - Instance version(6.8.13, 7.10.1).
- subnet
Id String - Subnet id.
- vpc
Id String - VPC id.
- zone String
- Available zone.
- auto
Voucher Number - whether to use voucher auto, 1 when use, else 0.
- charge
Period Number - Period when charged by months or years(unit depends on TimeUnit).
- charge
Type String - Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
- disk
Size Number - node disk size (unit GB).
- disk
Type String - Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
- elasticsearch
Logstash StringId - ID of the resource.
- license
Type String - License type. oss: open source version; xpack:xpack version; default: xpack.
- node
Num Number - Node num(range 2-50).
- node
Type 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.
- operation
Duration Property Map - operation time by tencent clound.
- renew
Flag 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.
- Map<String>
- Tag description list.
- time
Unit String - charge time unit(set when ChargeType is PREPAID, default value: ms).
- voucher
Ids 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.
- Auto
Voucher double - whether to use voucher auto, 1 when use, else 0.
- Charge
Period double - Period when charged by months or years(unit depends on TimeUnit).
- Charge
Type string - Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
- Disk
Size double - node disk size (unit GB).
- Disk
Type string - Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
- Elasticsearch
Logstash stringId - ID of the resource.
- Instance
Name string - Instance name (compose of 1-50 letter, number, - or _).
- License
Type string - License type. oss: open source version; xpack:xpack version; default: xpack.
- Logstash
Version string - Instance version(6.8.13, 7.10.1).
- Node
Num double - Node num(range 2-50).
- Node
Type 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.
- Operation
Duration ElasticsearchLogstash Operation Duration - operation time by tencent clound.
- Renew
Flag 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.
- Subnet
Id string - Subnet id.
- Dictionary<string, string>
- Tag description list.
- Time
Unit string - charge time unit(set when ChargeType is PREPAID, default value: ms).
- Voucher
Ids List<string> - Voucher list(only can use one voucher by now).
- Vpc
Id string - VPC id.
- Zone string
- Available zone.
- Auto
Voucher float64 - whether to use voucher auto, 1 when use, else 0.
- Charge
Period float64 - Period when charged by months or years(unit depends on TimeUnit).
- Charge
Type string - Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
- Disk
Size float64 - node disk size (unit GB).
- Disk
Type string - Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
- Elasticsearch
Logstash stringId - ID of the resource.
- Instance
Name string - Instance name (compose of 1-50 letter, number, - or _).
- License
Type string - License type. oss: open source version; xpack:xpack version; default: xpack.
- Logstash
Version string - Instance version(6.8.13, 7.10.1).
- Node
Num float64 - Node num(range 2-50).
- Node
Type 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.
- Operation
Duration ElasticsearchLogstash Operation Duration Args - operation time by tencent clound.
- Renew
Flag 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.
- Subnet
Id string - Subnet id.
- map[string]string
- Tag description list.
- Time
Unit string - charge time unit(set when ChargeType is PREPAID, default value: ms).
- Voucher
Ids []string - Voucher list(only can use one voucher by now).
- Vpc
Id string - VPC id.
- Zone string
- Available zone.
- auto
Voucher Double - whether to use voucher auto, 1 when use, else 0.
- charge
Period Double - Period when charged by months or years(unit depends on TimeUnit).
- charge
Type String - Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
- disk
Size Double - node disk size (unit GB).
- disk
Type String - Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
- elasticsearch
Logstash StringId - ID of the resource.
- instance
Name String - Instance name (compose of 1-50 letter, number, - or _).
- license
Type String - License type. oss: open source version; xpack:xpack version; default: xpack.
- logstash
Version String - Instance version(6.8.13, 7.10.1).
- node
Num Double - Node num(range 2-50).
- node
Type 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.
- operation
Duration ElasticsearchLogstash Operation Duration - operation time by tencent clound.
- renew
Flag 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.
- subnet
Id String - Subnet id.
- Map<String,String>
- Tag description list.
- time
Unit String - charge time unit(set when ChargeType is PREPAID, default value: ms).
- voucher
Ids List<String> - Voucher list(only can use one voucher by now).
- vpc
Id String - VPC id.
- zone String
- Available zone.
- auto
Voucher number - whether to use voucher auto, 1 when use, else 0.
- charge
Period number - Period when charged by months or years(unit depends on TimeUnit).
- charge
Type string - Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
- disk
Size number - node disk size (unit GB).
- disk
Type string - Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
- elasticsearch
Logstash stringId - ID of the resource.
- instance
Name string - Instance name (compose of 1-50 letter, number, - or _).
- license
Type string - License type. oss: open source version; xpack:xpack version; default: xpack.
- logstash
Version string - Instance version(6.8.13, 7.10.1).
- node
Num number - Node num(range 2-50).
- node
Type 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.
- operation
Duration ElasticsearchLogstash Operation Duration - operation time by tencent clound.
- renew
Flag 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.
- subnet
Id string - Subnet id.
- {[key: string]: string}
- Tag description list.
- time
Unit string - charge time unit(set when ChargeType is PREPAID, default value: ms).
- voucher
Ids string[] - Voucher list(only can use one voucher by now).
- vpc
Id 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_ strid - 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 ElasticsearchLogstash Operation Duration Args - 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.
- 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.
- auto
Voucher Number - whether to use voucher auto, 1 when use, else 0.
- charge
Period Number - Period when charged by months or years(unit depends on TimeUnit).
- charge
Type String - Charge type. PREPAID: charged by months or years; POSTPAID_BY_HOUR: charged by hours; default vaule: POSTPAID_BY_HOUR.
- disk
Size Number - node disk size (unit GB).
- disk
Type String - Disk type. CLOUD_SSD: SSD cloud disk; CLOUD_PREMIUM: high hard energy cloud disk; default: CLOUD_SSD.
- elasticsearch
Logstash StringId - ID of the resource.
- instance
Name String - Instance name (compose of 1-50 letter, number, - or _).
- license
Type String - License type. oss: open source version; xpack:xpack version; default: xpack.
- logstash
Version String - Instance version(6.8.13, 7.10.1).
- node
Num Number - Node num(range 2-50).
- node
Type 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.
- operation
Duration Property Map - operation time by tencent clound.
- renew
Flag 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.
- subnet
Id String - Subnet id.
- Map<String>
- Tag description list.
- time
Unit String - charge time unit(set when ChargeType is PREPAID, default value: ms).
- voucher
Ids List<String> - Voucher list(only can use one voucher by now).
- vpc
Id String - VPC id.
- zone String
- Available zone.
Supporting Types
ElasticsearchLogstashOperationDuration, ElasticsearchLogstashOperationDurationArgs
- 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.
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.