volcengine.escloud_v2.EscloudInstanceV2
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooZones = volcengine.ecs.Zones({});
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
vpcName: "acc-test-vpc",
cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
subnetName: "acc-test-subnet",
description: "tfdesc",
cidrBlock: "172.16.0.0/24",
zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
vpcId: fooVpc.id,
});
const fooEscloudInstanceV2 = new volcengine.escloud_v2.EscloudInstanceV2("fooEscloudInstanceV2", {
instanceName: "acc-test-escloud-instance",
version: "V7_10",
zoneIds: [
fooZones.then(fooZones => fooZones.zones?.[0]?.id),
fooZones.then(fooZones => fooZones.zones?.[1]?.id),
fooZones.then(fooZones => fooZones.zones?.[2]?.id),
],
subnetId: fooSubnet.id,
enableHttps: false,
adminPassword: "Password@@123",
chargeType: "PostPaid",
autoRenew: false,
period: 1,
configurationCode: "es.standard",
enablePureMaster: true,
deletionProtection: false,
projectName: "default",
nodeSpecsAssigns: [
{
type: "Master",
number: 3,
resourceSpecName: "es.x2.medium",
storageSpecName: "es.volume.essd.pl0",
storageSize: 20,
},
{
type: "Hot",
number: 6,
resourceSpecName: "es.x2.medium",
storageSpecName: "es.volume.essd.flexpl-standard",
storageSize: 500,
extraPerformance: {
throughput: 65,
},
},
{
type: "Kibana",
number: 1,
resourceSpecName: "kibana.x2.small",
storageSpecName: "",
storageSize: 0,
},
],
networkSpecs: [
{
type: "Elasticsearch",
bandwidth: 1,
isOpen: true,
specName: "es.eip.bgp_fixed_bandwidth",
},
{
type: "Kibana",
bandwidth: 1,
isOpen: true,
specName: "es.eip.bgp_fixed_bandwidth",
},
],
tags: [{
key: "k1",
value: "v1",
}],
});
// maintenance_time = "02:00-08:00"
// maintenance_day = ["FRIDAY", "MONDAY"]
import pulumi
import pulumi_volcengine as volcengine
foo_zones = volcengine.ecs.zones()
foo_vpc = volcengine.vpc.Vpc("fooVpc",
vpc_name="acc-test-vpc",
cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
subnet_name="acc-test-subnet",
description="tfdesc",
cidr_block="172.16.0.0/24",
zone_id=foo_zones.zones[0].id,
vpc_id=foo_vpc.id)
foo_escloud_instance_v2 = volcengine.escloud_v2.EscloudInstanceV2("fooEscloudInstanceV2",
instance_name="acc-test-escloud-instance",
version="V7_10",
zone_ids=[
foo_zones.zones[0].id,
foo_zones.zones[1].id,
foo_zones.zones[2].id,
],
subnet_id=foo_subnet.id,
enable_https=False,
admin_password="Password@@123",
charge_type="PostPaid",
auto_renew=False,
period=1,
configuration_code="es.standard",
enable_pure_master=True,
deletion_protection=False,
project_name="default",
node_specs_assigns=[
volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs(
type="Master",
number=3,
resource_spec_name="es.x2.medium",
storage_spec_name="es.volume.essd.pl0",
storage_size=20,
),
volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs(
type="Hot",
number=6,
resource_spec_name="es.x2.medium",
storage_spec_name="es.volume.essd.flexpl-standard",
storage_size=500,
extra_performance=volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs(
throughput=65,
),
),
volcengine.escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs(
type="Kibana",
number=1,
resource_spec_name="kibana.x2.small",
storage_spec_name="",
storage_size=0,
),
],
network_specs=[
volcengine.escloud_v2.EscloudInstanceV2NetworkSpecArgs(
type="Elasticsearch",
bandwidth=1,
is_open=True,
spec_name="es.eip.bgp_fixed_bandwidth",
),
volcengine.escloud_v2.EscloudInstanceV2NetworkSpecArgs(
type="Kibana",
bandwidth=1,
is_open=True,
spec_name="es.eip.bgp_fixed_bandwidth",
),
],
tags=[volcengine.escloud_v2.EscloudInstanceV2TagArgs(
key="k1",
value="v1",
)])
# maintenance_time = "02:00-08:00"
# maintenance_day = ["FRIDAY", "MONDAY"]
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/escloud_v2"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooZones, err := ecs.Zones(ctx, nil, nil)
if err != nil {
return err
}
fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
VpcName: pulumi.String("acc-test-vpc"),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-test-subnet"),
Description: pulumi.String("tfdesc"),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(fooZones.Zones[0].Id),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
_, err = escloud_v2.NewEscloudInstanceV2(ctx, "fooEscloudInstanceV2", &escloud_v2.EscloudInstanceV2Args{
InstanceName: pulumi.String("acc-test-escloud-instance"),
Version: pulumi.String("V7_10"),
ZoneIds: pulumi.StringArray{
pulumi.String(fooZones.Zones[0].Id),
pulumi.String(fooZones.Zones[1].Id),
pulumi.String(fooZones.Zones[2].Id),
},
SubnetId: fooSubnet.ID(),
EnableHttps: pulumi.Bool(false),
AdminPassword: pulumi.String("Password@@123"),
ChargeType: pulumi.String("PostPaid"),
AutoRenew: pulumi.Bool(false),
Period: pulumi.Int(1),
ConfigurationCode: pulumi.String("es.standard"),
EnablePureMaster: pulumi.Bool(true),
DeletionProtection: pulumi.Bool(false),
ProjectName: pulumi.String("default"),
NodeSpecsAssigns: escloud_v2.EscloudInstanceV2NodeSpecsAssignArray{
&escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{
Type: pulumi.String("Master"),
Number: pulumi.Int(3),
ResourceSpecName: pulumi.String("es.x2.medium"),
StorageSpecName: pulumi.String("es.volume.essd.pl0"),
StorageSize: pulumi.Int(20),
},
&escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{
Type: pulumi.String("Hot"),
Number: pulumi.Int(6),
ResourceSpecName: pulumi.String("es.x2.medium"),
StorageSpecName: pulumi.String("es.volume.essd.flexpl-standard"),
StorageSize: pulumi.Int(500),
ExtraPerformance: &escloud_v2.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs{
Throughput: pulumi.Int(65),
},
},
&escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{
Type: pulumi.String("Kibana"),
Number: pulumi.Int(1),
ResourceSpecName: pulumi.String("kibana.x2.small"),
StorageSpecName: pulumi.String(""),
StorageSize: pulumi.Int(0),
},
},
NetworkSpecs: escloud_v2.EscloudInstanceV2NetworkSpecArray{
&escloud_v2.EscloudInstanceV2NetworkSpecArgs{
Type: pulumi.String("Elasticsearch"),
Bandwidth: pulumi.Int(1),
IsOpen: pulumi.Bool(true),
SpecName: pulumi.String("es.eip.bgp_fixed_bandwidth"),
},
&escloud_v2.EscloudInstanceV2NetworkSpecArgs{
Type: pulumi.String("Kibana"),
Bandwidth: pulumi.Int(1),
IsOpen: pulumi.Bool(true),
SpecName: pulumi.String("es.eip.bgp_fixed_bandwidth"),
},
},
Tags: escloud_v2.EscloudInstanceV2TagArray{
&escloud_v2.EscloudInstanceV2TagArgs{
Key: pulumi.String("k1"),
Value: pulumi.String("v1"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var fooZones = Volcengine.Ecs.Zones.Invoke();
var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
{
VpcName = "acc-test-vpc",
CidrBlock = "172.16.0.0/16",
});
var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
{
SubnetName = "acc-test-subnet",
Description = "tfdesc",
CidrBlock = "172.16.0.0/24",
ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
VpcId = fooVpc.Id,
});
var fooEscloudInstanceV2 = new Volcengine.Escloud_v2.EscloudInstanceV2("fooEscloudInstanceV2", new()
{
InstanceName = "acc-test-escloud-instance",
Version = "V7_10",
ZoneIds = new[]
{
fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
fooZones.Apply(zonesResult => zonesResult.Zones[1]?.Id),
fooZones.Apply(zonesResult => zonesResult.Zones[2]?.Id),
},
SubnetId = fooSubnet.Id,
EnableHttps = false,
AdminPassword = "Password@@123",
ChargeType = "PostPaid",
AutoRenew = false,
Period = 1,
ConfigurationCode = "es.standard",
EnablePureMaster = true,
DeletionProtection = false,
ProjectName = "default",
NodeSpecsAssigns = new[]
{
new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs
{
Type = "Master",
Number = 3,
ResourceSpecName = "es.x2.medium",
StorageSpecName = "es.volume.essd.pl0",
StorageSize = 20,
},
new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs
{
Type = "Hot",
Number = 6,
ResourceSpecName = "es.x2.medium",
StorageSpecName = "es.volume.essd.flexpl-standard",
StorageSize = 500,
ExtraPerformance = new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs
{
Throughput = 65,
},
},
new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs
{
Type = "Kibana",
Number = 1,
ResourceSpecName = "kibana.x2.small",
StorageSpecName = "",
StorageSize = 0,
},
},
NetworkSpecs = new[]
{
new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NetworkSpecArgs
{
Type = "Elasticsearch",
Bandwidth = 1,
IsOpen = true,
SpecName = "es.eip.bgp_fixed_bandwidth",
},
new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NetworkSpecArgs
{
Type = "Kibana",
Bandwidth = 1,
IsOpen = true,
SpecName = "es.eip.bgp_fixed_bandwidth",
},
},
Tags = new[]
{
new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2TagArgs
{
Key = "k1",
Value = "v1",
},
},
});
// maintenance_time = "02:00-08:00"
// maintenance_day = ["FRIDAY", "MONDAY"]
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.ZonesArgs;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.escloud_v2.EscloudInstanceV2;
import com.pulumi.volcengine.escloud_v2.EscloudInstanceV2Args;
import com.pulumi.volcengine.escloud_v2.inputs.EscloudInstanceV2NodeSpecsAssignArgs;
import com.pulumi.volcengine.escloud_v2.inputs.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs;
import com.pulumi.volcengine.escloud_v2.inputs.EscloudInstanceV2NetworkSpecArgs;
import com.pulumi.volcengine.escloud_v2.inputs.EscloudInstanceV2TagArgs;
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 fooZones = EcsFunctions.Zones();
var fooVpc = new Vpc("fooVpc", VpcArgs.builder()
.vpcName("acc-test-vpc")
.cidrBlock("172.16.0.0/16")
.build());
var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()
.subnetName("acc-test-subnet")
.description("tfdesc")
.cidrBlock("172.16.0.0/24")
.zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
.vpcId(fooVpc.id())
.build());
var fooEscloudInstanceV2 = new EscloudInstanceV2("fooEscloudInstanceV2", EscloudInstanceV2Args.builder()
.instanceName("acc-test-escloud-instance")
.version("V7_10")
.zoneIds(
fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()),
fooZones.applyValue(zonesResult -> zonesResult.zones()[1].id()),
fooZones.applyValue(zonesResult -> zonesResult.zones()[2].id()))
.subnetId(fooSubnet.id())
.enableHttps(false)
.adminPassword("Password@@123")
.chargeType("PostPaid")
.autoRenew(false)
.period(1)
.configurationCode("es.standard")
.enablePureMaster(true)
.deletionProtection(false)
.projectName("default")
.nodeSpecsAssigns(
EscloudInstanceV2NodeSpecsAssignArgs.builder()
.type("Master")
.number(3)
.resourceSpecName("es.x2.medium")
.storageSpecName("es.volume.essd.pl0")
.storageSize(20)
.build(),
EscloudInstanceV2NodeSpecsAssignArgs.builder()
.type("Hot")
.number(6)
.resourceSpecName("es.x2.medium")
.storageSpecName("es.volume.essd.flexpl-standard")
.storageSize(500)
.extraPerformance(EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs.builder()
.throughput(65)
.build())
.build(),
EscloudInstanceV2NodeSpecsAssignArgs.builder()
.type("Kibana")
.number(1)
.resourceSpecName("kibana.x2.small")
.storageSpecName("")
.storageSize(0)
.build())
.networkSpecs(
EscloudInstanceV2NetworkSpecArgs.builder()
.type("Elasticsearch")
.bandwidth(1)
.isOpen(true)
.specName("es.eip.bgp_fixed_bandwidth")
.build(),
EscloudInstanceV2NetworkSpecArgs.builder()
.type("Kibana")
.bandwidth(1)
.isOpen(true)
.specName("es.eip.bgp_fixed_bandwidth")
.build())
.tags(EscloudInstanceV2TagArgs.builder()
.key("k1")
.value("v1")
.build())
.build());
// maintenance_time = "02:00-08:00"
// maintenance_day = ["FRIDAY", "MONDAY"]
}
}
resources:
fooVpc:
type: volcengine:vpc:Vpc
properties:
vpcName: acc-test-vpc
cidrBlock: 172.16.0.0/16
fooSubnet:
type: volcengine:vpc:Subnet
properties:
subnetName: acc-test-subnet
description: tfdesc
cidrBlock: 172.16.0.0/24
zoneId: ${fooZones.zones[0].id}
vpcId: ${fooVpc.id}
fooEscloudInstanceV2:
type: volcengine:escloud_v2:EscloudInstanceV2
properties:
instanceName: acc-test-escloud-instance
version: V7_10
zoneIds:
- ${fooZones.zones[0].id}
- ${fooZones.zones[1].id}
- ${fooZones.zones[2].id}
subnetId: ${fooSubnet.id}
enableHttps: false
adminPassword: Password@@123
chargeType: PostPaid
autoRenew: false
period: 1
configurationCode: es.standard
enablePureMaster: true
deletionProtection: false
projectName: default
nodeSpecsAssigns:
- type: Master
number: 3
resourceSpecName: es.x2.medium
storageSpecName: es.volume.essd.pl0
storageSize: 20
- type: Hot
number: 6
resourceSpecName: es.x2.medium
storageSpecName: es.volume.essd.flexpl-standard
storageSize: 500
extraPerformance:
throughput: 65
- type: Kibana
number: 1
resourceSpecName: kibana.x2.small
storageSpecName:
storageSize: 0
networkSpecs:
- type: Elasticsearch
bandwidth: 1
isOpen: true
specName: es.eip.bgp_fixed_bandwidth
- type: Kibana
bandwidth: 1
isOpen: true
specName: es.eip.bgp_fixed_bandwidth
tags:
- key: k1
value: v1
variables:
fooZones:
fn::invoke:
Function: volcengine:ecs:Zones
Arguments: {}
Create EscloudInstanceV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EscloudInstanceV2(name: string, args: EscloudInstanceV2Args, opts?: CustomResourceOptions);
@overload
def EscloudInstanceV2(resource_name: str,
args: EscloudInstanceV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def EscloudInstanceV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
node_specs_assigns: Optional[Sequence[EscloudInstanceV2NodeSpecsAssignArgs]] = None,
zone_ids: Optional[Sequence[str]] = None,
charge_type: Optional[str] = None,
configuration_code: Optional[str] = None,
version: Optional[str] = None,
enable_https: Optional[bool] = None,
subnet_id: Optional[str] = None,
instance_name: Optional[str] = None,
admin_password: Optional[str] = None,
maintenance_days: Optional[Sequence[str]] = None,
network_specs: Optional[Sequence[EscloudInstanceV2NetworkSpecArgs]] = None,
maintenance_time: Optional[str] = None,
period: Optional[int] = None,
project_name: Optional[str] = None,
enable_pure_master: Optional[bool] = None,
tags: Optional[Sequence[EscloudInstanceV2TagArgs]] = None,
deletion_protection: Optional[bool] = None,
auto_renew: Optional[bool] = None)
func NewEscloudInstanceV2(ctx *Context, name string, args EscloudInstanceV2Args, opts ...ResourceOption) (*EscloudInstanceV2, error)
public EscloudInstanceV2(string name, EscloudInstanceV2Args args, CustomResourceOptions? opts = null)
public EscloudInstanceV2(String name, EscloudInstanceV2Args args)
public EscloudInstanceV2(String name, EscloudInstanceV2Args args, CustomResourceOptions options)
type: volcengine:escloud_v2:EscloudInstanceV2
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 EscloudInstanceV2Args
- 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 EscloudInstanceV2Args
- 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 EscloudInstanceV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EscloudInstanceV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EscloudInstanceV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var escloudInstanceV2Resource = new Volcengine.Escloud_v2.EscloudInstanceV2("escloudInstanceV2Resource", new()
{
NodeSpecsAssigns = new[]
{
new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignArgs
{
Number = 0,
ResourceSpecName = "string",
StorageSize = 0,
StorageSpecName = "string",
Type = "string",
ExtraPerformance = new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs
{
Throughput = 0,
},
},
},
ZoneIds = new[]
{
"string",
},
ChargeType = "string",
ConfigurationCode = "string",
Version = "string",
EnableHttps = false,
SubnetId = "string",
InstanceName = "string",
AdminPassword = "string",
MaintenanceDays = new[]
{
"string",
},
NetworkSpecs = new[]
{
new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2NetworkSpecArgs
{
Bandwidth = 0,
IsOpen = false,
SpecName = "string",
Type = "string",
},
},
MaintenanceTime = "string",
Period = 0,
ProjectName = "string",
EnablePureMaster = false,
Tags = new[]
{
new Volcengine.Escloud_v2.Inputs.EscloudInstanceV2TagArgs
{
Key = "string",
Value = "string",
},
},
DeletionProtection = false,
AutoRenew = false,
});
example, err := escloud_v2.NewEscloudInstanceV2(ctx, "escloudInstanceV2Resource", &escloud_v2.EscloudInstanceV2Args{
NodeSpecsAssigns: escloud_v2.EscloudInstanceV2NodeSpecsAssignArray{
&escloud_v2.EscloudInstanceV2NodeSpecsAssignArgs{
Number: pulumi.Int(0),
ResourceSpecName: pulumi.String("string"),
StorageSize: pulumi.Int(0),
StorageSpecName: pulumi.String("string"),
Type: pulumi.String("string"),
ExtraPerformance: &escloud_v2.EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs{
Throughput: pulumi.Int(0),
},
},
},
ZoneIds: pulumi.StringArray{
pulumi.String("string"),
},
ChargeType: pulumi.String("string"),
ConfigurationCode: pulumi.String("string"),
Version: pulumi.String("string"),
EnableHttps: pulumi.Bool(false),
SubnetId: pulumi.String("string"),
InstanceName: pulumi.String("string"),
AdminPassword: pulumi.String("string"),
MaintenanceDays: pulumi.StringArray{
pulumi.String("string"),
},
NetworkSpecs: escloud_v2.EscloudInstanceV2NetworkSpecArray{
&escloud_v2.EscloudInstanceV2NetworkSpecArgs{
Bandwidth: pulumi.Int(0),
IsOpen: pulumi.Bool(false),
SpecName: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
MaintenanceTime: pulumi.String("string"),
Period: pulumi.Int(0),
ProjectName: pulumi.String("string"),
EnablePureMaster: pulumi.Bool(false),
Tags: escloud_v2.EscloudInstanceV2TagArray{
&escloud_v2.EscloudInstanceV2TagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
DeletionProtection: pulumi.Bool(false),
AutoRenew: pulumi.Bool(false),
})
var escloudInstanceV2Resource = new EscloudInstanceV2("escloudInstanceV2Resource", EscloudInstanceV2Args.builder()
.nodeSpecsAssigns(EscloudInstanceV2NodeSpecsAssignArgs.builder()
.number(0)
.resourceSpecName("string")
.storageSize(0)
.storageSpecName("string")
.type("string")
.extraPerformance(EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs.builder()
.throughput(0)
.build())
.build())
.zoneIds("string")
.chargeType("string")
.configurationCode("string")
.version("string")
.enableHttps(false)
.subnetId("string")
.instanceName("string")
.adminPassword("string")
.maintenanceDays("string")
.networkSpecs(EscloudInstanceV2NetworkSpecArgs.builder()
.bandwidth(0)
.isOpen(false)
.specName("string")
.type("string")
.build())
.maintenanceTime("string")
.period(0)
.projectName("string")
.enablePureMaster(false)
.tags(EscloudInstanceV2TagArgs.builder()
.key("string")
.value("string")
.build())
.deletionProtection(false)
.autoRenew(false)
.build());
escloud_instance_v2_resource = volcengine.escloud_v2.EscloudInstanceV2("escloudInstanceV2Resource",
node_specs_assigns=[{
"number": 0,
"resource_spec_name": "string",
"storage_size": 0,
"storage_spec_name": "string",
"type": "string",
"extra_performance": {
"throughput": 0,
},
}],
zone_ids=["string"],
charge_type="string",
configuration_code="string",
version="string",
enable_https=False,
subnet_id="string",
instance_name="string",
admin_password="string",
maintenance_days=["string"],
network_specs=[{
"bandwidth": 0,
"is_open": False,
"spec_name": "string",
"type": "string",
}],
maintenance_time="string",
period=0,
project_name="string",
enable_pure_master=False,
tags=[{
"key": "string",
"value": "string",
}],
deletion_protection=False,
auto_renew=False)
const escloudInstanceV2Resource = new volcengine.escloud_v2.EscloudInstanceV2("escloudInstanceV2Resource", {
nodeSpecsAssigns: [{
number: 0,
resourceSpecName: "string",
storageSize: 0,
storageSpecName: "string",
type: "string",
extraPerformance: {
throughput: 0,
},
}],
zoneIds: ["string"],
chargeType: "string",
configurationCode: "string",
version: "string",
enableHttps: false,
subnetId: "string",
instanceName: "string",
adminPassword: "string",
maintenanceDays: ["string"],
networkSpecs: [{
bandwidth: 0,
isOpen: false,
specName: "string",
type: "string",
}],
maintenanceTime: "string",
period: 0,
projectName: "string",
enablePureMaster: false,
tags: [{
key: "string",
value: "string",
}],
deletionProtection: false,
autoRenew: false,
});
type: volcengine:escloud_v2:EscloudInstanceV2
properties:
adminPassword: string
autoRenew: false
chargeType: string
configurationCode: string
deletionProtection: false
enableHttps: false
enablePureMaster: false
instanceName: string
maintenanceDays:
- string
maintenanceTime: string
networkSpecs:
- bandwidth: 0
isOpen: false
specName: string
type: string
nodeSpecsAssigns:
- extraPerformance:
throughput: 0
number: 0
resourceSpecName: string
storageSize: 0
storageSpecName: string
type: string
period: 0
projectName: string
subnetId: string
tags:
- key: string
value: string
version: string
zoneIds:
- string
EscloudInstanceV2 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 EscloudInstanceV2 resource accepts the following input properties:
- Admin
Password string - The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- Charge
Type string - The charge type of ESCloud instance, valid values:
PostPaid
,PrePaid
. - Configuration
Code string - Configuration code used for billing.
- Enable
Https bool - Whether Https access is enabled.
- Instance
Name string - The name of ESCloud instance.
- Node
Specs List<EscloudAssigns Instance V2Node Specs Assign> - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- Subnet
Id string - The id of subnet, the subnet must belong to the AZ selected.
- Version string
- The version of instance. When creating ESCloud instance, the valid value is
V6_7
orV7_10
. When creating OpenSearch instance, the valid value isOPEN_SEARCH_2_9
. - Zone
Ids List<string> - The zone id of the ESCloud instance. Support specifying multiple availability zones. The first zone id is the primary availability zone, while the rest are backup availability zones.
- Auto
Renew bool - Whether to automatically renew in prepaid scenarios. Default is false.
- Deletion
Protection bool - Whether enable deletion protection for ESCloud instance. Default is false.
- Enable
Pure boolMaster - Whether the Master node is independent.
- Maintenance
Days List<string> - The maintainable day for the instance. Valid values:
MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
. Works only on modified scenes. - Maintenance
Time string - The maintainable time period for the instance. Works only on modified scenes.
- Network
Specs List<EscloudInstance V2Network Spec> - The public network config of the ESCloud instance.
- Period int
- Purchase duration in prepaid scenarios. Unit: Monthly.
- Project
Name string - The project name to which the ESCloud instance belongs.
- List<Escloud
Instance V2Tag> - Tags.
- Admin
Password string - The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- Charge
Type string - The charge type of ESCloud instance, valid values:
PostPaid
,PrePaid
. - Configuration
Code string - Configuration code used for billing.
- Enable
Https bool - Whether Https access is enabled.
- Instance
Name string - The name of ESCloud instance.
- Node
Specs []EscloudAssigns Instance V2Node Specs Assign Args - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- Subnet
Id string - The id of subnet, the subnet must belong to the AZ selected.
- Version string
- The version of instance. When creating ESCloud instance, the valid value is
V6_7
orV7_10
. When creating OpenSearch instance, the valid value isOPEN_SEARCH_2_9
. - Zone
Ids []string - The zone id of the ESCloud instance. Support specifying multiple availability zones. The first zone id is the primary availability zone, while the rest are backup availability zones.
- Auto
Renew bool - Whether to automatically renew in prepaid scenarios. Default is false.
- Deletion
Protection bool - Whether enable deletion protection for ESCloud instance. Default is false.
- Enable
Pure boolMaster - Whether the Master node is independent.
- Maintenance
Days []string - The maintainable day for the instance. Valid values:
MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
. Works only on modified scenes. - Maintenance
Time string - The maintainable time period for the instance. Works only on modified scenes.
- Network
Specs []EscloudInstance V2Network Spec Args - The public network config of the ESCloud instance.
- Period int
- Purchase duration in prepaid scenarios. Unit: Monthly.
- Project
Name string - The project name to which the ESCloud instance belongs.
- []Escloud
Instance V2Tag Args - Tags.
- admin
Password String - The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- charge
Type String - The charge type of ESCloud instance, valid values:
PostPaid
,PrePaid
. - configuration
Code String - Configuration code used for billing.
- enable
Https Boolean - Whether Https access is enabled.
- instance
Name String - The name of ESCloud instance.
- node
Specs List<EscloudAssigns Instance V2Node Specs Assign> - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- subnet
Id String - The id of subnet, the subnet must belong to the AZ selected.
- version String
- The version of instance. When creating ESCloud instance, the valid value is
V6_7
orV7_10
. When creating OpenSearch instance, the valid value isOPEN_SEARCH_2_9
. - zone
Ids List<String> - The zone id of the ESCloud instance. Support specifying multiple availability zones. The first zone id is the primary availability zone, while the rest are backup availability zones.
- auto
Renew Boolean - Whether to automatically renew in prepaid scenarios. Default is false.
- deletion
Protection Boolean - Whether enable deletion protection for ESCloud instance. Default is false.
- enable
Pure BooleanMaster - Whether the Master node is independent.
- maintenance
Days List<String> - The maintainable day for the instance. Valid values:
MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
. Works only on modified scenes. - maintenance
Time String - The maintainable time period for the instance. Works only on modified scenes.
- network
Specs List<EscloudInstance V2Network Spec> - The public network config of the ESCloud instance.
- period Integer
- Purchase duration in prepaid scenarios. Unit: Monthly.
- project
Name String - The project name to which the ESCloud instance belongs.
- List<Escloud
Instance V2Tag> - Tags.
- admin
Password string - The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- charge
Type string - The charge type of ESCloud instance, valid values:
PostPaid
,PrePaid
. - configuration
Code string - Configuration code used for billing.
- enable
Https boolean - Whether Https access is enabled.
- instance
Name string - The name of ESCloud instance.
- node
Specs EscloudAssigns Instance V2Node Specs Assign[] - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- subnet
Id string - The id of subnet, the subnet must belong to the AZ selected.
- version string
- The version of instance. When creating ESCloud instance, the valid value is
V6_7
orV7_10
. When creating OpenSearch instance, the valid value isOPEN_SEARCH_2_9
. - zone
Ids string[] - The zone id of the ESCloud instance. Support specifying multiple availability zones. The first zone id is the primary availability zone, while the rest are backup availability zones.
- auto
Renew boolean - Whether to automatically renew in prepaid scenarios. Default is false.
- deletion
Protection boolean - Whether enable deletion protection for ESCloud instance. Default is false.
- enable
Pure booleanMaster - Whether the Master node is independent.
- maintenance
Days string[] - The maintainable day for the instance. Valid values:
MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
. Works only on modified scenes. - maintenance
Time string - The maintainable time period for the instance. Works only on modified scenes.
- network
Specs EscloudInstance V2Network Spec[] - The public network config of the ESCloud instance.
- period number
- Purchase duration in prepaid scenarios. Unit: Monthly.
- project
Name string - The project name to which the ESCloud instance belongs.
- Escloud
Instance V2Tag[] - Tags.
- admin_
password str - The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- charge_
type str - The charge type of ESCloud instance, valid values:
PostPaid
,PrePaid
. - configuration_
code str - Configuration code used for billing.
- enable_
https bool - Whether Https access is enabled.
- instance_
name str - The name of ESCloud instance.
- node_
specs_ Sequence[Escloudassigns Instance V2Node Specs Assign Args] - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- subnet_
id str - The id of subnet, the subnet must belong to the AZ selected.
- version str
- The version of instance. When creating ESCloud instance, the valid value is
V6_7
orV7_10
. When creating OpenSearch instance, the valid value isOPEN_SEARCH_2_9
. - zone_
ids Sequence[str] - The zone id of the ESCloud instance. Support specifying multiple availability zones. The first zone id is the primary availability zone, while the rest are backup availability zones.
- auto_
renew bool - Whether to automatically renew in prepaid scenarios. Default is false.
- deletion_
protection bool - Whether enable deletion protection for ESCloud instance. Default is false.
- enable_
pure_ boolmaster - Whether the Master node is independent.
- maintenance_
days Sequence[str] - The maintainable day for the instance. Valid values:
MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
. Works only on modified scenes. - maintenance_
time str - The maintainable time period for the instance. Works only on modified scenes.
- network_
specs Sequence[EscloudInstance V2Network Spec Args] - The public network config of the ESCloud instance.
- period int
- Purchase duration in prepaid scenarios. Unit: Monthly.
- project_
name str - The project name to which the ESCloud instance belongs.
- Sequence[Escloud
Instance V2Tag Args] - Tags.
- admin
Password String - The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- charge
Type String - The charge type of ESCloud instance, valid values:
PostPaid
,PrePaid
. - configuration
Code String - Configuration code used for billing.
- enable
Https Boolean - Whether Https access is enabled.
- instance
Name String - The name of ESCloud instance.
- node
Specs List<Property Map>Assigns - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- subnet
Id String - The id of subnet, the subnet must belong to the AZ selected.
- version String
- The version of instance. When creating ESCloud instance, the valid value is
V6_7
orV7_10
. When creating OpenSearch instance, the valid value isOPEN_SEARCH_2_9
. - zone
Ids List<String> - The zone id of the ESCloud instance. Support specifying multiple availability zones. The first zone id is the primary availability zone, while the rest are backup availability zones.
- auto
Renew Boolean - Whether to automatically renew in prepaid scenarios. Default is false.
- deletion
Protection Boolean - Whether enable deletion protection for ESCloud instance. Default is false.
- enable
Pure BooleanMaster - Whether the Master node is independent.
- maintenance
Days List<String> - The maintainable day for the instance. Valid values:
MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
. Works only on modified scenes. - maintenance
Time String - The maintainable time period for the instance. Works only on modified scenes.
- network
Specs List<Property Map> - The public network config of the ESCloud instance.
- period Number
- Purchase duration in prepaid scenarios. Unit: Monthly.
- project
Name String - The project name to which the ESCloud instance belongs.
- List<Property Map>
- Tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the EscloudInstanceV2 resource produces the following output properties:
- Cerebro
Private stringDomain - The cerebro private domain of instance.
- Cerebro
Public stringDomain - The cerebro public domain of instance.
- Es
Eip string - The eip address of instance.
- Es
Eip stringId - The eip id associated with the instance.
- Es
Private stringDomain - The es private domain of instance.
- Es
Private stringEndpoint - The es private endpoint of instance.
- Es
Private stringIp Whitelist - The whitelist of es private ip.
- Es
Public stringDomain - The es public domain of instance.
- Es
Public stringEndpoint - The es public endpoint of instance.
- Es
Public stringIp Whitelist - The whitelist of es public ip.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kibana
Eip string - The eip address of kibana.
- Kibana
Eip stringId - The eip id associated with kibana.
- Kibana
Private stringDomain - The kibana private domain of instance.
- Kibana
Private stringIp Whitelist - The whitelist of kibana private ip.
- Kibana
Public stringDomain - The kibana public domain of instance.
- Kibana
Public stringIp Whitelist - The whitelist of kibana public ip.
- Main
Zone stringId - The main zone id of instance.
- Status string
- The status of instance.
- Cerebro
Private stringDomain - The cerebro private domain of instance.
- Cerebro
Public stringDomain - The cerebro public domain of instance.
- Es
Eip string - The eip address of instance.
- Es
Eip stringId - The eip id associated with the instance.
- Es
Private stringDomain - The es private domain of instance.
- Es
Private stringEndpoint - The es private endpoint of instance.
- Es
Private stringIp Whitelist - The whitelist of es private ip.
- Es
Public stringDomain - The es public domain of instance.
- Es
Public stringEndpoint - The es public endpoint of instance.
- Es
Public stringIp Whitelist - The whitelist of es public ip.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kibana
Eip string - The eip address of kibana.
- Kibana
Eip stringId - The eip id associated with kibana.
- Kibana
Private stringDomain - The kibana private domain of instance.
- Kibana
Private stringIp Whitelist - The whitelist of kibana private ip.
- Kibana
Public stringDomain - The kibana public domain of instance.
- Kibana
Public stringIp Whitelist - The whitelist of kibana public ip.
- Main
Zone stringId - The main zone id of instance.
- Status string
- The status of instance.
- cerebro
Private StringDomain - The cerebro private domain of instance.
- cerebro
Public StringDomain - The cerebro public domain of instance.
- es
Eip String - The eip address of instance.
- es
Eip StringId - The eip id associated with the instance.
- es
Private StringDomain - The es private domain of instance.
- es
Private StringEndpoint - The es private endpoint of instance.
- es
Private StringIp Whitelist - The whitelist of es private ip.
- es
Public StringDomain - The es public domain of instance.
- es
Public StringEndpoint - The es public endpoint of instance.
- es
Public StringIp Whitelist - The whitelist of es public ip.
- id String
- The provider-assigned unique ID for this managed resource.
- kibana
Eip String - The eip address of kibana.
- kibana
Eip StringId - The eip id associated with kibana.
- kibana
Private StringDomain - The kibana private domain of instance.
- kibana
Private StringIp Whitelist - The whitelist of kibana private ip.
- kibana
Public StringDomain - The kibana public domain of instance.
- kibana
Public StringIp Whitelist - The whitelist of kibana public ip.
- main
Zone StringId - The main zone id of instance.
- status String
- The status of instance.
- cerebro
Private stringDomain - The cerebro private domain of instance.
- cerebro
Public stringDomain - The cerebro public domain of instance.
- es
Eip string - The eip address of instance.
- es
Eip stringId - The eip id associated with the instance.
- es
Private stringDomain - The es private domain of instance.
- es
Private stringEndpoint - The es private endpoint of instance.
- es
Private stringIp Whitelist - The whitelist of es private ip.
- es
Public stringDomain - The es public domain of instance.
- es
Public stringEndpoint - The es public endpoint of instance.
- es
Public stringIp Whitelist - The whitelist of es public ip.
- id string
- The provider-assigned unique ID for this managed resource.
- kibana
Eip string - The eip address of kibana.
- kibana
Eip stringId - The eip id associated with kibana.
- kibana
Private stringDomain - The kibana private domain of instance.
- kibana
Private stringIp Whitelist - The whitelist of kibana private ip.
- kibana
Public stringDomain - The kibana public domain of instance.
- kibana
Public stringIp Whitelist - The whitelist of kibana public ip.
- main
Zone stringId - The main zone id of instance.
- status string
- The status of instance.
- cerebro_
private_ strdomain - The cerebro private domain of instance.
- cerebro_
public_ strdomain - The cerebro public domain of instance.
- es_
eip str - The eip address of instance.
- es_
eip_ strid - The eip id associated with the instance.
- es_
private_ strdomain - The es private domain of instance.
- es_
private_ strendpoint - The es private endpoint of instance.
- es_
private_ strip_ whitelist - The whitelist of es private ip.
- es_
public_ strdomain - The es public domain of instance.
- es_
public_ strendpoint - The es public endpoint of instance.
- es_
public_ strip_ whitelist - The whitelist of es public ip.
- id str
- The provider-assigned unique ID for this managed resource.
- kibana_
eip str - The eip address of kibana.
- kibana_
eip_ strid - The eip id associated with kibana.
- kibana_
private_ strdomain - The kibana private domain of instance.
- kibana_
private_ strip_ whitelist - The whitelist of kibana private ip.
- kibana_
public_ strdomain - The kibana public domain of instance.
- kibana_
public_ strip_ whitelist - The whitelist of kibana public ip.
- main_
zone_ strid - The main zone id of instance.
- status str
- The status of instance.
- cerebro
Private StringDomain - The cerebro private domain of instance.
- cerebro
Public StringDomain - The cerebro public domain of instance.
- es
Eip String - The eip address of instance.
- es
Eip StringId - The eip id associated with the instance.
- es
Private StringDomain - The es private domain of instance.
- es
Private StringEndpoint - The es private endpoint of instance.
- es
Private StringIp Whitelist - The whitelist of es private ip.
- es
Public StringDomain - The es public domain of instance.
- es
Public StringEndpoint - The es public endpoint of instance.
- es
Public StringIp Whitelist - The whitelist of es public ip.
- id String
- The provider-assigned unique ID for this managed resource.
- kibana
Eip String - The eip address of kibana.
- kibana
Eip StringId - The eip id associated with kibana.
- kibana
Private StringDomain - The kibana private domain of instance.
- kibana
Private StringIp Whitelist - The whitelist of kibana private ip.
- kibana
Public StringDomain - The kibana public domain of instance.
- kibana
Public StringIp Whitelist - The whitelist of kibana public ip.
- main
Zone StringId - The main zone id of instance.
- status String
- The status of instance.
Look up Existing EscloudInstanceV2 Resource
Get an existing EscloudInstanceV2 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?: EscloudInstanceV2State, opts?: CustomResourceOptions): EscloudInstanceV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_password: Optional[str] = None,
auto_renew: Optional[bool] = None,
cerebro_private_domain: Optional[str] = None,
cerebro_public_domain: Optional[str] = None,
charge_type: Optional[str] = None,
configuration_code: Optional[str] = None,
deletion_protection: Optional[bool] = None,
enable_https: Optional[bool] = None,
enable_pure_master: Optional[bool] = None,
es_eip: Optional[str] = None,
es_eip_id: Optional[str] = None,
es_private_domain: Optional[str] = None,
es_private_endpoint: Optional[str] = None,
es_private_ip_whitelist: Optional[str] = None,
es_public_domain: Optional[str] = None,
es_public_endpoint: Optional[str] = None,
es_public_ip_whitelist: Optional[str] = None,
instance_name: Optional[str] = None,
kibana_eip: Optional[str] = None,
kibana_eip_id: Optional[str] = None,
kibana_private_domain: Optional[str] = None,
kibana_private_ip_whitelist: Optional[str] = None,
kibana_public_domain: Optional[str] = None,
kibana_public_ip_whitelist: Optional[str] = None,
main_zone_id: Optional[str] = None,
maintenance_days: Optional[Sequence[str]] = None,
maintenance_time: Optional[str] = None,
network_specs: Optional[Sequence[EscloudInstanceV2NetworkSpecArgs]] = None,
node_specs_assigns: Optional[Sequence[EscloudInstanceV2NodeSpecsAssignArgs]] = None,
period: Optional[int] = None,
project_name: Optional[str] = None,
status: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Sequence[EscloudInstanceV2TagArgs]] = None,
version: Optional[str] = None,
zone_ids: Optional[Sequence[str]] = None) -> EscloudInstanceV2
func GetEscloudInstanceV2(ctx *Context, name string, id IDInput, state *EscloudInstanceV2State, opts ...ResourceOption) (*EscloudInstanceV2, error)
public static EscloudInstanceV2 Get(string name, Input<string> id, EscloudInstanceV2State? state, CustomResourceOptions? opts = null)
public static EscloudInstanceV2 get(String name, Output<String> id, EscloudInstanceV2State state, CustomResourceOptions options)
resources: _: type: volcengine:escloud_v2:EscloudInstanceV2 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.
- Admin
Password string - The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- Auto
Renew bool - Whether to automatically renew in prepaid scenarios. Default is false.
- Cerebro
Private stringDomain - The cerebro private domain of instance.
- Cerebro
Public stringDomain - The cerebro public domain of instance.
- Charge
Type string - The charge type of ESCloud instance, valid values:
PostPaid
,PrePaid
. - Configuration
Code string - Configuration code used for billing.
- Deletion
Protection bool - Whether enable deletion protection for ESCloud instance. Default is false.
- Enable
Https bool - Whether Https access is enabled.
- Enable
Pure boolMaster - Whether the Master node is independent.
- Es
Eip string - The eip address of instance.
- Es
Eip stringId - The eip id associated with the instance.
- Es
Private stringDomain - The es private domain of instance.
- Es
Private stringEndpoint - The es private endpoint of instance.
- Es
Private stringIp Whitelist - The whitelist of es private ip.
- Es
Public stringDomain - The es public domain of instance.
- Es
Public stringEndpoint - The es public endpoint of instance.
- Es
Public stringIp Whitelist - The whitelist of es public ip.
- Instance
Name string - The name of ESCloud instance.
- Kibana
Eip string - The eip address of kibana.
- Kibana
Eip stringId - The eip id associated with kibana.
- Kibana
Private stringDomain - The kibana private domain of instance.
- Kibana
Private stringIp Whitelist - The whitelist of kibana private ip.
- Kibana
Public stringDomain - The kibana public domain of instance.
- Kibana
Public stringIp Whitelist - The whitelist of kibana public ip.
- Main
Zone stringId - The main zone id of instance.
- Maintenance
Days List<string> - The maintainable day for the instance. Valid values:
MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
. Works only on modified scenes. - Maintenance
Time string - The maintainable time period for the instance. Works only on modified scenes.
- Network
Specs List<EscloudInstance V2Network Spec> - The public network config of the ESCloud instance.
- Node
Specs List<EscloudAssigns Instance V2Node Specs Assign> - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- Period int
- Purchase duration in prepaid scenarios. Unit: Monthly.
- Project
Name string - The project name to which the ESCloud instance belongs.
- Status string
- The status of instance.
- Subnet
Id string - The id of subnet, the subnet must belong to the AZ selected.
- List<Escloud
Instance V2Tag> - Tags.
- Version string
- The version of instance. When creating ESCloud instance, the valid value is
V6_7
orV7_10
. When creating OpenSearch instance, the valid value isOPEN_SEARCH_2_9
. - Zone
Ids List<string> - The zone id of the ESCloud instance. Support specifying multiple availability zones. The first zone id is the primary availability zone, while the rest are backup availability zones.
- Admin
Password string - The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- Auto
Renew bool - Whether to automatically renew in prepaid scenarios. Default is false.
- Cerebro
Private stringDomain - The cerebro private domain of instance.
- Cerebro
Public stringDomain - The cerebro public domain of instance.
- Charge
Type string - The charge type of ESCloud instance, valid values:
PostPaid
,PrePaid
. - Configuration
Code string - Configuration code used for billing.
- Deletion
Protection bool - Whether enable deletion protection for ESCloud instance. Default is false.
- Enable
Https bool - Whether Https access is enabled.
- Enable
Pure boolMaster - Whether the Master node is independent.
- Es
Eip string - The eip address of instance.
- Es
Eip stringId - The eip id associated with the instance.
- Es
Private stringDomain - The es private domain of instance.
- Es
Private stringEndpoint - The es private endpoint of instance.
- Es
Private stringIp Whitelist - The whitelist of es private ip.
- Es
Public stringDomain - The es public domain of instance.
- Es
Public stringEndpoint - The es public endpoint of instance.
- Es
Public stringIp Whitelist - The whitelist of es public ip.
- Instance
Name string - The name of ESCloud instance.
- Kibana
Eip string - The eip address of kibana.
- Kibana
Eip stringId - The eip id associated with kibana.
- Kibana
Private stringDomain - The kibana private domain of instance.
- Kibana
Private stringIp Whitelist - The whitelist of kibana private ip.
- Kibana
Public stringDomain - The kibana public domain of instance.
- Kibana
Public stringIp Whitelist - The whitelist of kibana public ip.
- Main
Zone stringId - The main zone id of instance.
- Maintenance
Days []string - The maintainable day for the instance. Valid values:
MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
. Works only on modified scenes. - Maintenance
Time string - The maintainable time period for the instance. Works only on modified scenes.
- Network
Specs []EscloudInstance V2Network Spec Args - The public network config of the ESCloud instance.
- Node
Specs []EscloudAssigns Instance V2Node Specs Assign Args - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- Period int
- Purchase duration in prepaid scenarios. Unit: Monthly.
- Project
Name string - The project name to which the ESCloud instance belongs.
- Status string
- The status of instance.
- Subnet
Id string - The id of subnet, the subnet must belong to the AZ selected.
- []Escloud
Instance V2Tag Args - Tags.
- Version string
- The version of instance. When creating ESCloud instance, the valid value is
V6_7
orV7_10
. When creating OpenSearch instance, the valid value isOPEN_SEARCH_2_9
. - Zone
Ids []string - The zone id of the ESCloud instance. Support specifying multiple availability zones. The first zone id is the primary availability zone, while the rest are backup availability zones.
- admin
Password String - The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- auto
Renew Boolean - Whether to automatically renew in prepaid scenarios. Default is false.
- cerebro
Private StringDomain - The cerebro private domain of instance.
- cerebro
Public StringDomain - The cerebro public domain of instance.
- charge
Type String - The charge type of ESCloud instance, valid values:
PostPaid
,PrePaid
. - configuration
Code String - Configuration code used for billing.
- deletion
Protection Boolean - Whether enable deletion protection for ESCloud instance. Default is false.
- enable
Https Boolean - Whether Https access is enabled.
- enable
Pure BooleanMaster - Whether the Master node is independent.
- es
Eip String - The eip address of instance.
- es
Eip StringId - The eip id associated with the instance.
- es
Private StringDomain - The es private domain of instance.
- es
Private StringEndpoint - The es private endpoint of instance.
- es
Private StringIp Whitelist - The whitelist of es private ip.
- es
Public StringDomain - The es public domain of instance.
- es
Public StringEndpoint - The es public endpoint of instance.
- es
Public StringIp Whitelist - The whitelist of es public ip.
- instance
Name String - The name of ESCloud instance.
- kibana
Eip String - The eip address of kibana.
- kibana
Eip StringId - The eip id associated with kibana.
- kibana
Private StringDomain - The kibana private domain of instance.
- kibana
Private StringIp Whitelist - The whitelist of kibana private ip.
- kibana
Public StringDomain - The kibana public domain of instance.
- kibana
Public StringIp Whitelist - The whitelist of kibana public ip.
- main
Zone StringId - The main zone id of instance.
- maintenance
Days List<String> - The maintainable day for the instance. Valid values:
MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
. Works only on modified scenes. - maintenance
Time String - The maintainable time period for the instance. Works only on modified scenes.
- network
Specs List<EscloudInstance V2Network Spec> - The public network config of the ESCloud instance.
- node
Specs List<EscloudAssigns Instance V2Node Specs Assign> - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- period Integer
- Purchase duration in prepaid scenarios. Unit: Monthly.
- project
Name String - The project name to which the ESCloud instance belongs.
- status String
- The status of instance.
- subnet
Id String - The id of subnet, the subnet must belong to the AZ selected.
- List<Escloud
Instance V2Tag> - Tags.
- version String
- The version of instance. When creating ESCloud instance, the valid value is
V6_7
orV7_10
. When creating OpenSearch instance, the valid value isOPEN_SEARCH_2_9
. - zone
Ids List<String> - The zone id of the ESCloud instance. Support specifying multiple availability zones. The first zone id is the primary availability zone, while the rest are backup availability zones.
- admin
Password string - The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- auto
Renew boolean - Whether to automatically renew in prepaid scenarios. Default is false.
- cerebro
Private stringDomain - The cerebro private domain of instance.
- cerebro
Public stringDomain - The cerebro public domain of instance.
- charge
Type string - The charge type of ESCloud instance, valid values:
PostPaid
,PrePaid
. - configuration
Code string - Configuration code used for billing.
- deletion
Protection boolean - Whether enable deletion protection for ESCloud instance. Default is false.
- enable
Https boolean - Whether Https access is enabled.
- enable
Pure booleanMaster - Whether the Master node is independent.
- es
Eip string - The eip address of instance.
- es
Eip stringId - The eip id associated with the instance.
- es
Private stringDomain - The es private domain of instance.
- es
Private stringEndpoint - The es private endpoint of instance.
- es
Private stringIp Whitelist - The whitelist of es private ip.
- es
Public stringDomain - The es public domain of instance.
- es
Public stringEndpoint - The es public endpoint of instance.
- es
Public stringIp Whitelist - The whitelist of es public ip.
- instance
Name string - The name of ESCloud instance.
- kibana
Eip string - The eip address of kibana.
- kibana
Eip stringId - The eip id associated with kibana.
- kibana
Private stringDomain - The kibana private domain of instance.
- kibana
Private stringIp Whitelist - The whitelist of kibana private ip.
- kibana
Public stringDomain - The kibana public domain of instance.
- kibana
Public stringIp Whitelist - The whitelist of kibana public ip.
- main
Zone stringId - The main zone id of instance.
- maintenance
Days string[] - The maintainable day for the instance. Valid values:
MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
. Works only on modified scenes. - maintenance
Time string - The maintainable time period for the instance. Works only on modified scenes.
- network
Specs EscloudInstance V2Network Spec[] - The public network config of the ESCloud instance.
- node
Specs EscloudAssigns Instance V2Node Specs Assign[] - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- period number
- Purchase duration in prepaid scenarios. Unit: Monthly.
- project
Name string - The project name to which the ESCloud instance belongs.
- status string
- The status of instance.
- subnet
Id string - The id of subnet, the subnet must belong to the AZ selected.
- Escloud
Instance V2Tag[] - Tags.
- version string
- The version of instance. When creating ESCloud instance, the valid value is
V6_7
orV7_10
. When creating OpenSearch instance, the valid value isOPEN_SEARCH_2_9
. - zone
Ids string[] - The zone id of the ESCloud instance. Support specifying multiple availability zones. The first zone id is the primary availability zone, while the rest are backup availability zones.
- admin_
password str - The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- auto_
renew bool - Whether to automatically renew in prepaid scenarios. Default is false.
- cerebro_
private_ strdomain - The cerebro private domain of instance.
- cerebro_
public_ strdomain - The cerebro public domain of instance.
- charge_
type str - The charge type of ESCloud instance, valid values:
PostPaid
,PrePaid
. - configuration_
code str - Configuration code used for billing.
- deletion_
protection bool - Whether enable deletion protection for ESCloud instance. Default is false.
- enable_
https bool - Whether Https access is enabled.
- enable_
pure_ boolmaster - Whether the Master node is independent.
- es_
eip str - The eip address of instance.
- es_
eip_ strid - The eip id associated with the instance.
- es_
private_ strdomain - The es private domain of instance.
- es_
private_ strendpoint - The es private endpoint of instance.
- es_
private_ strip_ whitelist - The whitelist of es private ip.
- es_
public_ strdomain - The es public domain of instance.
- es_
public_ strendpoint - The es public endpoint of instance.
- es_
public_ strip_ whitelist - The whitelist of es public ip.
- instance_
name str - The name of ESCloud instance.
- kibana_
eip str - The eip address of kibana.
- kibana_
eip_ strid - The eip id associated with kibana.
- kibana_
private_ strdomain - The kibana private domain of instance.
- kibana_
private_ strip_ whitelist - The whitelist of kibana private ip.
- kibana_
public_ strdomain - The kibana public domain of instance.
- kibana_
public_ strip_ whitelist - The whitelist of kibana public ip.
- main_
zone_ strid - The main zone id of instance.
- maintenance_
days Sequence[str] - The maintainable day for the instance. Valid values:
MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
. Works only on modified scenes. - maintenance_
time str - The maintainable time period for the instance. Works only on modified scenes.
- network_
specs Sequence[EscloudInstance V2Network Spec Args] - The public network config of the ESCloud instance.
- node_
specs_ Sequence[Escloudassigns Instance V2Node Specs Assign Args] - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- period int
- Purchase duration in prepaid scenarios. Unit: Monthly.
- project_
name str - The project name to which the ESCloud instance belongs.
- status str
- The status of instance.
- subnet_
id str - The id of subnet, the subnet must belong to the AZ selected.
- Sequence[Escloud
Instance V2Tag Args] - Tags.
- version str
- The version of instance. When creating ESCloud instance, the valid value is
V6_7
orV7_10
. When creating OpenSearch instance, the valid value isOPEN_SEARCH_2_9
. - zone_
ids Sequence[str] - The zone id of the ESCloud instance. Support specifying multiple availability zones. The first zone id is the primary availability zone, while the rest are backup availability zones.
- admin
Password String - The password of administrator account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- auto
Renew Boolean - Whether to automatically renew in prepaid scenarios. Default is false.
- cerebro
Private StringDomain - The cerebro private domain of instance.
- cerebro
Public StringDomain - The cerebro public domain of instance.
- charge
Type String - The charge type of ESCloud instance, valid values:
PostPaid
,PrePaid
. - configuration
Code String - Configuration code used for billing.
- deletion
Protection Boolean - Whether enable deletion protection for ESCloud instance. Default is false.
- enable
Https Boolean - Whether Https access is enabled.
- enable
Pure BooleanMaster - Whether the Master node is independent.
- es
Eip String - The eip address of instance.
- es
Eip StringId - The eip id associated with the instance.
- es
Private StringDomain - The es private domain of instance.
- es
Private StringEndpoint - The es private endpoint of instance.
- es
Private StringIp Whitelist - The whitelist of es private ip.
- es
Public StringDomain - The es public domain of instance.
- es
Public StringEndpoint - The es public endpoint of instance.
- es
Public StringIp Whitelist - The whitelist of es public ip.
- instance
Name String - The name of ESCloud instance.
- kibana
Eip String - The eip address of kibana.
- kibana
Eip StringId - The eip id associated with kibana.
- kibana
Private StringDomain - The kibana private domain of instance.
- kibana
Private StringIp Whitelist - The whitelist of kibana private ip.
- kibana
Public StringDomain - The kibana public domain of instance.
- kibana
Public StringIp Whitelist - The whitelist of kibana public ip.
- main
Zone StringId - The main zone id of instance.
- maintenance
Days List<String> - The maintainable day for the instance. Valid values:
MONDAY
,TUESDAY
,WEDNESDAY
,THURSDAY
,FRIDAY
,SATURDAY
. Works only on modified scenes. - maintenance
Time String - The maintainable time period for the instance. Works only on modified scenes.
- network
Specs List<Property Map> - The public network config of the ESCloud instance.
- node
Specs List<Property Map>Assigns - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- period Number
- Purchase duration in prepaid scenarios. Unit: Monthly.
- project
Name String - The project name to which the ESCloud instance belongs.
- status String
- The status of instance.
- subnet
Id String - The id of subnet, the subnet must belong to the AZ selected.
- List<Property Map>
- Tags.
- version String
- The version of instance. When creating ESCloud instance, the valid value is
V6_7
orV7_10
. When creating OpenSearch instance, the valid value isOPEN_SEARCH_2_9
. - zone
Ids List<String> - The zone id of the ESCloud instance. Support specifying multiple availability zones. The first zone id is the primary availability zone, while the rest are backup availability zones.
Supporting Types
EscloudInstanceV2NetworkSpec, EscloudInstanceV2NetworkSpecArgs
EscloudInstanceV2NodeSpecsAssign, EscloudInstanceV2NodeSpecsAssignArgs
- Number int
- The number of node.
- Resource
Spec stringName - The name of compute resource spec.
- Storage
Size int - The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0.
- Storage
Spec stringName - The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``.
- Type string
- The type of node, valid values:
Master
,Hot
,Cold
,Warm
,Kibana
,Coordinator
. - Extra
Performance EscloudInstance V2Node Specs Assign Extra Performance - The extra performance of FlexPL storage spec.
- Number int
- The number of node.
- Resource
Spec stringName - The name of compute resource spec.
- Storage
Size int - The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0.
- Storage
Spec stringName - The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``.
- Type string
- The type of node, valid values:
Master
,Hot
,Cold
,Warm
,Kibana
,Coordinator
. - Extra
Performance EscloudInstance V2Node Specs Assign Extra Performance - The extra performance of FlexPL storage spec.
- number Integer
- The number of node.
- resource
Spec StringName - The name of compute resource spec.
- storage
Size Integer - The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0.
- storage
Spec StringName - The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``.
- type String
- The type of node, valid values:
Master
,Hot
,Cold
,Warm
,Kibana
,Coordinator
. - extra
Performance EscloudInstance V2Node Specs Assign Extra Performance - The extra performance of FlexPL storage spec.
- number number
- The number of node.
- resource
Spec stringName - The name of compute resource spec.
- storage
Size number - The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0.
- storage
Spec stringName - The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``.
- type string
- The type of node, valid values:
Master
,Hot
,Cold
,Warm
,Kibana
,Coordinator
. - extra
Performance EscloudInstance V2Node Specs Assign Extra Performance - The extra performance of FlexPL storage spec.
- number int
- The number of node.
- resource_
spec_ strname - The name of compute resource spec.
- storage_
size int - The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0.
- storage_
spec_ strname - The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``.
- type str
- The type of node, valid values:
Master
,Hot
,Cold
,Warm
,Kibana
,Coordinator
. - extra_
performance EscloudInstance V2Node Specs Assign Extra Performance - The extra performance of FlexPL storage spec.
- number Number
- The number of node.
- resource
Spec StringName - The name of compute resource spec.
- storage
Size Number - The size of storage. Unit: GiB. the adjustment step size is 10GiB. Default is 100 GiB. Kibana NodeSpecsAssign should specify this field to 0.
- storage
Spec StringName - The name of storage spec. Kibana NodeSpecsAssign should specify this field to ``.
- type String
- The type of node, valid values:
Master
,Hot
,Cold
,Warm
,Kibana
,Coordinator
. - extra
Performance Property Map - The extra performance of FlexPL storage spec.
EscloudInstanceV2NodeSpecsAssignExtraPerformance, EscloudInstanceV2NodeSpecsAssignExtraPerformanceArgs
- Throughput int
- When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. The unit is MiB, and the adjustment step size is 10MiB.
- Throughput int
- When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. The unit is MiB, and the adjustment step size is 10MiB.
- throughput Integer
- When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. The unit is MiB, and the adjustment step size is 10MiB.
- throughput number
- When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. The unit is MiB, and the adjustment step size is 10MiB.
- throughput int
- When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. The unit is MiB, and the adjustment step size is 10MiB.
- throughput Number
- When your data node chooses to use FlexPL storage type and the storage specification configuration is 500GiB or above, it supports purchasing bandwidth packages to increase disk bandwidth. The unit is MiB, and the adjustment step size is 10MiB.
EscloudInstanceV2Tag, EscloudInstanceV2TagArgs
Import
EscloudInstanceV2 can be imported using the id, e.g.
$ pulumi import volcengine:escloud_v2/escloudInstanceV2:EscloudInstanceV2 default resource_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.