volcengine.escloud.Instance
Explore with Pulumi AI
Provides a resource to manage escloud instance
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_new",
description: "tfdesc",
cidrBlock: "172.16.0.0/24",
zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
vpcId: fooVpc.id,
});
const fooInstance = new volcengine.escloud.Instance("fooInstance", {instanceConfiguration: {
version: "V6_7",
zoneNumber: 1,
enableHttps: true,
adminUserName: "admin",
adminPassword: "Password@@",
chargeType: "PostPaid",
configurationCode: "es.standard",
enablePureMaster: true,
instanceName: "acc-test-0",
nodeSpecsAssigns: [
{
type: "Master",
number: 3,
resourceSpecName: "es.x4.medium",
storageSpecName: "es.volume.essd.pl0",
storageSize: 100,
},
{
type: "Hot",
number: 2,
resourceSpecName: "es.x4.large",
storageSpecName: "es.volume.essd.pl0",
storageSize: 100,
},
{
type: "Kibana",
number: 1,
resourceSpecName: "kibana.x2.small",
},
],
subnetId: fooSubnet.id,
projectName: "default",
forceRestartAfterScale: false,
}});
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_new",
description="tfdesc",
cidr_block="172.16.0.0/24",
zone_id=foo_zones.zones[0].id,
vpc_id=foo_vpc.id)
foo_instance = volcengine.escloud.Instance("fooInstance", instance_configuration=volcengine.escloud.InstanceInstanceConfigurationArgs(
version="V6_7",
zone_number=1,
enable_https=True,
admin_user_name="admin",
admin_password="Password@@",
charge_type="PostPaid",
configuration_code="es.standard",
enable_pure_master=True,
instance_name="acc-test-0",
node_specs_assigns=[
volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(
type="Master",
number=3,
resource_spec_name="es.x4.medium",
storage_spec_name="es.volume.essd.pl0",
storage_size=100,
),
volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(
type="Hot",
number=2,
resource_spec_name="es.x4.large",
storage_spec_name="es.volume.essd.pl0",
storage_size=100,
),
volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(
type="Kibana",
number=1,
resource_spec_name="kibana.x2.small",
),
],
subnet_id=foo_subnet.id,
project_name="default",
force_restart_after_scale=False,
))
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"
"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_new"),
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.NewInstance(ctx, "fooInstance", &escloud.InstanceArgs{
InstanceConfiguration: &escloud.InstanceInstanceConfigurationArgs{
Version: pulumi.String("V6_7"),
ZoneNumber: pulumi.Int(1),
EnableHttps: pulumi.Bool(true),
AdminUserName: pulumi.String("admin"),
AdminPassword: pulumi.String("Password@@"),
ChargeType: pulumi.String("PostPaid"),
ConfigurationCode: pulumi.String("es.standard"),
EnablePureMaster: pulumi.Bool(true),
InstanceName: pulumi.String("acc-test-0"),
NodeSpecsAssigns: escloud.InstanceInstanceConfigurationNodeSpecsAssignArray{
&escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{
Type: pulumi.String("Master"),
Number: pulumi.Int(3),
ResourceSpecName: pulumi.String("es.x4.medium"),
StorageSpecName: pulumi.String("es.volume.essd.pl0"),
StorageSize: pulumi.Int(100),
},
&escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{
Type: pulumi.String("Hot"),
Number: pulumi.Int(2),
ResourceSpecName: pulumi.String("es.x4.large"),
StorageSpecName: pulumi.String("es.volume.essd.pl0"),
StorageSize: pulumi.Int(100),
},
&escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{
Type: pulumi.String("Kibana"),
Number: pulumi.Int(1),
ResourceSpecName: pulumi.String("kibana.x2.small"),
},
},
SubnetId: fooSubnet.ID(),
ProjectName: pulumi.String("default"),
ForceRestartAfterScale: pulumi.Bool(false),
},
})
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_new",
Description = "tfdesc",
CidrBlock = "172.16.0.0/24",
ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
VpcId = fooVpc.Id,
});
var fooInstance = new Volcengine.Escloud.Instance("fooInstance", new()
{
InstanceConfiguration = new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationArgs
{
Version = "V6_7",
ZoneNumber = 1,
EnableHttps = true,
AdminUserName = "admin",
AdminPassword = "Password@@",
ChargeType = "PostPaid",
ConfigurationCode = "es.standard",
EnablePureMaster = true,
InstanceName = "acc-test-0",
NodeSpecsAssigns = new[]
{
new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs
{
Type = "Master",
Number = 3,
ResourceSpecName = "es.x4.medium",
StorageSpecName = "es.volume.essd.pl0",
StorageSize = 100,
},
new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs
{
Type = "Hot",
Number = 2,
ResourceSpecName = "es.x4.large",
StorageSpecName = "es.volume.essd.pl0",
StorageSize = 100,
},
new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs
{
Type = "Kibana",
Number = 1,
ResourceSpecName = "kibana.x2.small",
},
},
SubnetId = fooSubnet.Id,
ProjectName = "default",
ForceRestartAfterScale = false,
},
});
});
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.Instance;
import com.pulumi.volcengine.escloud.InstanceArgs;
import com.pulumi.volcengine.escloud.inputs.InstanceInstanceConfigurationArgs;
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_new")
.description("tfdesc")
.cidrBlock("172.16.0.0/24")
.zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
.vpcId(fooVpc.id())
.build());
var fooInstance = new Instance("fooInstance", InstanceArgs.builder()
.instanceConfiguration(InstanceInstanceConfigurationArgs.builder()
.version("V6_7")
.zoneNumber(1)
.enableHttps(true)
.adminUserName("admin")
.adminPassword("Password@@")
.chargeType("PostPaid")
.configurationCode("es.standard")
.enablePureMaster(true)
.instanceName("acc-test-0")
.nodeSpecsAssigns(
InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()
.type("Master")
.number(3)
.resourceSpecName("es.x4.medium")
.storageSpecName("es.volume.essd.pl0")
.storageSize(100)
.build(),
InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()
.type("Hot")
.number(2)
.resourceSpecName("es.x4.large")
.storageSpecName("es.volume.essd.pl0")
.storageSize(100)
.build(),
InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()
.type("Kibana")
.number(1)
.resourceSpecName("kibana.x2.small")
.build())
.subnetId(fooSubnet.id())
.projectName("default")
.forceRestartAfterScale(false)
.build())
.build());
}
}
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_new
description: tfdesc
cidrBlock: 172.16.0.0/24
zoneId: ${fooZones.zones[0].id}
vpcId: ${fooVpc.id}
fooInstance:
type: volcengine:escloud:Instance
properties:
instanceConfiguration:
version: V6_7
zoneNumber: 1
enableHttps: true
adminUserName: admin
adminPassword: Password@@
chargeType: PostPaid
configurationCode: es.standard
enablePureMaster: true
instanceName: acc-test-0
nodeSpecsAssigns:
- type: Master
number: 3
resourceSpecName: es.x4.medium
storageSpecName: es.volume.essd.pl0
storageSize: 100
- type: Hot
number: 2
resourceSpecName: es.x4.large
storageSpecName: es.volume.essd.pl0
storageSize: 100
- type: Kibana
number: 1
resourceSpecName: kibana.x2.small
subnetId: ${fooSubnet.id}
projectName: default
forceRestartAfterScale: false
variables:
fooZones:
fn::invoke:
Function: volcengine:ecs:Zones
Arguments: {}
Create Instance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
@overload
def Instance(resource_name: str,
args: InstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_configuration: Optional[InstanceInstanceConfigurationArgs] = None)
func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: volcengine:escloud:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. InstanceArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. InstanceArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. InstanceArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. InstanceArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. InstanceArgs - 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 volcengineInstanceResource = new Volcengine.Escloud.Instance("volcengineInstanceResource", new()
{
InstanceConfiguration = new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationArgs
{
NodeSpecsAssigns = new[]
{
new Volcengine.Escloud.Inputs.InstanceInstanceConfigurationNodeSpecsAssignArgs
{
Number = 0,
ResourceSpecName = "string",
Type = "string",
StorageSize = 0,
StorageSpecName = "string",
},
},
AdminUserName = "string",
ChargeType = "string",
ConfigurationCode = "string",
EnableHttps = false,
EnablePureMaster = false,
ZoneNumber = 0,
Version = "string",
AdminPassword = "string",
SubnetId = "string",
MaintenanceDays = new[]
{
"string",
},
ProjectName = "string",
RegionId = "string",
MaintenanceTime = "string",
InstanceName = "string",
ZoneId = "string",
ForceRestartAfterScale = false,
},
});
example, err := escloud.NewInstance(ctx, "volcengineInstanceResource", &escloud.InstanceArgs{
InstanceConfiguration: &escloud.InstanceInstanceConfigurationArgs{
NodeSpecsAssigns: escloud.InstanceInstanceConfigurationNodeSpecsAssignArray{
&escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs{
Number: pulumi.Int(0),
ResourceSpecName: pulumi.String("string"),
Type: pulumi.String("string"),
StorageSize: pulumi.Int(0),
StorageSpecName: pulumi.String("string"),
},
},
AdminUserName: pulumi.String("string"),
ChargeType: pulumi.String("string"),
ConfigurationCode: pulumi.String("string"),
EnableHttps: pulumi.Bool(false),
EnablePureMaster: pulumi.Bool(false),
ZoneNumber: pulumi.Int(0),
Version: pulumi.String("string"),
AdminPassword: pulumi.String("string"),
SubnetId: pulumi.String("string"),
MaintenanceDays: pulumi.StringArray{
pulumi.String("string"),
},
ProjectName: pulumi.String("string"),
RegionId: pulumi.String("string"),
MaintenanceTime: pulumi.String("string"),
InstanceName: pulumi.String("string"),
ZoneId: pulumi.String("string"),
ForceRestartAfterScale: pulumi.Bool(false),
},
})
var volcengineInstanceResource = new Instance("volcengineInstanceResource", InstanceArgs.builder()
.instanceConfiguration(InstanceInstanceConfigurationArgs.builder()
.nodeSpecsAssigns(InstanceInstanceConfigurationNodeSpecsAssignArgs.builder()
.number(0)
.resourceSpecName("string")
.type("string")
.storageSize(0)
.storageSpecName("string")
.build())
.adminUserName("string")
.chargeType("string")
.configurationCode("string")
.enableHttps(false)
.enablePureMaster(false)
.zoneNumber(0)
.version("string")
.adminPassword("string")
.subnetId("string")
.maintenanceDays("string")
.projectName("string")
.regionId("string")
.maintenanceTime("string")
.instanceName("string")
.zoneId("string")
.forceRestartAfterScale(false)
.build())
.build());
volcengine_instance_resource = volcengine.escloud.Instance("volcengineInstanceResource", instance_configuration={
"node_specs_assigns": [{
"number": 0,
"resource_spec_name": "string",
"type": "string",
"storage_size": 0,
"storage_spec_name": "string",
}],
"admin_user_name": "string",
"charge_type": "string",
"configuration_code": "string",
"enable_https": False,
"enable_pure_master": False,
"zone_number": 0,
"version": "string",
"admin_password": "string",
"subnet_id": "string",
"maintenance_days": ["string"],
"project_name": "string",
"region_id": "string",
"maintenance_time": "string",
"instance_name": "string",
"zone_id": "string",
"force_restart_after_scale": False,
})
const volcengineInstanceResource = new volcengine.escloud.Instance("volcengineInstanceResource", {instanceConfiguration: {
nodeSpecsAssigns: [{
number: 0,
resourceSpecName: "string",
type: "string",
storageSize: 0,
storageSpecName: "string",
}],
adminUserName: "string",
chargeType: "string",
configurationCode: "string",
enableHttps: false,
enablePureMaster: false,
zoneNumber: 0,
version: "string",
adminPassword: "string",
subnetId: "string",
maintenanceDays: ["string"],
projectName: "string",
regionId: "string",
maintenanceTime: "string",
instanceName: "string",
zoneId: "string",
forceRestartAfterScale: false,
}});
type: volcengine:escloud:Instance
properties:
instanceConfiguration:
adminPassword: string
adminUserName: string
chargeType: string
configurationCode: string
enableHttps: false
enablePureMaster: false
forceRestartAfterScale: false
instanceName: string
maintenanceDays:
- string
maintenanceTime: string
nodeSpecsAssigns:
- number: 0
resourceSpecName: string
storageSize: 0
storageSpecName: string
type: string
projectName: string
regionId: string
subnetId: string
version: string
zoneId: string
zoneNumber: 0
Instance 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 Instance resource accepts the following input properties:
- Instance
Configuration This property is required. InstanceInstance Configuration - The configuration of ESCloud instance.
- Instance
Configuration This property is required. InstanceInstance Configuration Args - The configuration of ESCloud instance.
- instance
Configuration This property is required. InstanceInstance Configuration - The configuration of ESCloud instance.
- instance
Configuration This property is required. InstanceInstance Configuration - The configuration of ESCloud instance.
- instance_
configuration This property is required. InstanceInstance Configuration Args - The configuration of ESCloud instance.
- instance
Configuration This property is required. Property Map - The configuration of ESCloud instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance 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 Instance Resource
Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
instance_configuration: Optional[InstanceInstanceConfigurationArgs] = None) -> Instance
func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)
resources: _: type: volcengine:escloud:Instance get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Instance
Configuration InstanceInstance Configuration - The configuration of ESCloud instance.
- Instance
Configuration InstanceInstance Configuration Args - The configuration of ESCloud instance.
- instance
Configuration InstanceInstance Configuration - The configuration of ESCloud instance.
- instance
Configuration InstanceInstance Configuration - The configuration of ESCloud instance.
- instance_
configuration InstanceInstance Configuration Args - The configuration of ESCloud instance.
- instance
Configuration Property Map - The configuration of ESCloud instance.
Supporting Types
InstanceInstanceConfiguration, InstanceInstanceConfigurationArgs
- Admin
Password This property is required. 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.
- Admin
User Name This property is required. Changes to this property will trigger replacement.
- The name of administrator account(should be admin).
- Charge
Type This property is required. Changes to this property will trigger replacement.
- The charge type of ESCloud instance, the value can be PostPaid or PrePaid.
- Configuration
Code This property is required. Changes to this property will trigger replacement.
- Configuration code used for billing.
- Enable
Https This property is required. Changes to this property will trigger replacement.
- Whether Https access is enabled.
- Enable
Pure Master This property is required. Changes to this property will trigger replacement.
- Whether the Master node is independent.
- Node
Specs Assigns This property is required. List<InstanceInstance Configuration Node Specs Assign> - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- Subnet
Id This property is required. Changes to this property will trigger replacement.
- The ID of subnet, the subnet must belong to the AZ selected.
- Version
This property is required. Changes to this property will trigger replacement.
- The version of ESCloud instance, the value is V6_7 or V7_10.
- Zone
Number This property is required. Changes to this property will trigger replacement.
- The zone count of the ESCloud instance used.
- Force
Restart boolAfter Scale - Whether to force restart when changes are made. If true, it means that the cluster will be forced to restart without paying attention to instance availability. Works only on modified the node_specs_assigns field.
- Instance
Name string - The name of ESCloud instance.
- Maintenance
Days List<string> - The maintainable date for the instance. Works only on modified scenes.
- Maintenance
Time string - The maintainable time period for the instance. Works only on modified scenes.
- Project
Name string - The project name to which the ESCloud instance belongs.
- Region
Id string - The region ID of ESCloud instance.
- Zone
Id string - The available zone ID of ESCloud instance.
- Admin
Password This property is required. 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.
- Admin
User Name This property is required. Changes to this property will trigger replacement.
- The name of administrator account(should be admin).
- Charge
Type This property is required. Changes to this property will trigger replacement.
- The charge type of ESCloud instance, the value can be PostPaid or PrePaid.
- Configuration
Code This property is required. Changes to this property will trigger replacement.
- Configuration code used for billing.
- Enable
Https This property is required. Changes to this property will trigger replacement.
- Whether Https access is enabled.
- Enable
Pure Master This property is required. Changes to this property will trigger replacement.
- Whether the Master node is independent.
- Node
Specs Assigns This property is required. []InstanceInstance Configuration Node Specs Assign - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- Subnet
Id This property is required. Changes to this property will trigger replacement.
- The ID of subnet, the subnet must belong to the AZ selected.
- Version
This property is required. Changes to this property will trigger replacement.
- The version of ESCloud instance, the value is V6_7 or V7_10.
- Zone
Number This property is required. Changes to this property will trigger replacement.
- The zone count of the ESCloud instance used.
- Force
Restart boolAfter Scale - Whether to force restart when changes are made. If true, it means that the cluster will be forced to restart without paying attention to instance availability. Works only on modified the node_specs_assigns field.
- Instance
Name string - The name of ESCloud instance.
- Maintenance
Days []string - The maintainable date for the instance. Works only on modified scenes.
- Maintenance
Time string - The maintainable time period for the instance. Works only on modified scenes.
- Project
Name string - The project name to which the ESCloud instance belongs.
- Region
Id string - The region ID of ESCloud instance.
- Zone
Id string - The available zone ID of ESCloud instance.
- admin
Password This property is required. 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.
- admin
User Name This property is required. Changes to this property will trigger replacement.
- The name of administrator account(should be admin).
- charge
Type This property is required. Changes to this property will trigger replacement.
- The charge type of ESCloud instance, the value can be PostPaid or PrePaid.
- configuration
Code This property is required. Changes to this property will trigger replacement.
- Configuration code used for billing.
- enable
Https This property is required. Changes to this property will trigger replacement.
- Whether Https access is enabled.
- enable
Pure Master This property is required. Changes to this property will trigger replacement.
- Whether the Master node is independent.
- node
Specs Assigns This property is required. List<InstanceInstance Configuration Node Specs Assign> - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- subnet
Id This property is required. Changes to this property will trigger replacement.
- The ID of subnet, the subnet must belong to the AZ selected.
- version
This property is required. Changes to this property will trigger replacement.
- The version of ESCloud instance, the value is V6_7 or V7_10.
- zone
Number This property is required. Changes to this property will trigger replacement.
- The zone count of the ESCloud instance used.
- force
Restart BooleanAfter Scale - Whether to force restart when changes are made. If true, it means that the cluster will be forced to restart without paying attention to instance availability. Works only on modified the node_specs_assigns field.
- instance
Name String - The name of ESCloud instance.
- maintenance
Days List<String> - The maintainable date for the instance. Works only on modified scenes.
- maintenance
Time String - The maintainable time period for the instance. Works only on modified scenes.
- project
Name String - The project name to which the ESCloud instance belongs.
- region
Id String - The region ID of ESCloud instance.
- zone
Id String - The available zone ID of ESCloud instance.
- admin
Password This property is required. 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.
- admin
User Name This property is required. Changes to this property will trigger replacement.
- The name of administrator account(should be admin).
- charge
Type This property is required. Changes to this property will trigger replacement.
- The charge type of ESCloud instance, the value can be PostPaid or PrePaid.
- configuration
Code This property is required. Changes to this property will trigger replacement.
- Configuration code used for billing.
- enable
Https This property is required. Changes to this property will trigger replacement.
- Whether Https access is enabled.
- enable
Pure Master This property is required. Changes to this property will trigger replacement.
- Whether the Master node is independent.
- node
Specs Assigns This property is required. InstanceInstance Configuration Node Specs Assign[] - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- subnet
Id This property is required. Changes to this property will trigger replacement.
- The ID of subnet, the subnet must belong to the AZ selected.
- version
This property is required. Changes to this property will trigger replacement.
- The version of ESCloud instance, the value is V6_7 or V7_10.
- zone
Number This property is required. Changes to this property will trigger replacement.
- The zone count of the ESCloud instance used.
- force
Restart booleanAfter Scale - Whether to force restart when changes are made. If true, it means that the cluster will be forced to restart without paying attention to instance availability. Works only on modified the node_specs_assigns field.
- instance
Name string - The name of ESCloud instance.
- maintenance
Days string[] - The maintainable date for the instance. Works only on modified scenes.
- maintenance
Time string - The maintainable time period for the instance. Works only on modified scenes.
- project
Name string - The project name to which the ESCloud instance belongs.
- region
Id string - The region ID of ESCloud instance.
- zone
Id string - The available zone ID of ESCloud instance.
- admin_
password This property is required. 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.
- admin_
user_ name This property is required. Changes to this property will trigger replacement.
- The name of administrator account(should be admin).
- charge_
type This property is required. Changes to this property will trigger replacement.
- The charge type of ESCloud instance, the value can be PostPaid or PrePaid.
- configuration_
code This property is required. Changes to this property will trigger replacement.
- Configuration code used for billing.
- enable_
https This property is required. Changes to this property will trigger replacement.
- Whether Https access is enabled.
- enable_
pure_ master This property is required. Changes to this property will trigger replacement.
- Whether the Master node is independent.
- node_
specs_ assigns This property is required. Sequence[InstanceInstance Configuration Node Specs Assign] - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- subnet_
id This property is required. Changes to this property will trigger replacement.
- The ID of subnet, the subnet must belong to the AZ selected.
- version
This property is required. Changes to this property will trigger replacement.
- The version of ESCloud instance, the value is V6_7 or V7_10.
- zone_
number This property is required. Changes to this property will trigger replacement.
- The zone count of the ESCloud instance used.
- force_
restart_ boolafter_ scale - Whether to force restart when changes are made. If true, it means that the cluster will be forced to restart without paying attention to instance availability. Works only on modified the node_specs_assigns field.
- instance_
name str - The name of ESCloud instance.
- maintenance_
days Sequence[str] - The maintainable date for the instance. Works only on modified scenes.
- maintenance_
time str - The maintainable time period for the instance. Works only on modified scenes.
- project_
name str - The project name to which the ESCloud instance belongs.
- region_
id str - The region ID of ESCloud instance.
- zone_
id str - The available zone ID of ESCloud instance.
- admin
Password This property is required. 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.
- admin
User Name This property is required. Changes to this property will trigger replacement.
- The name of administrator account(should be admin).
- charge
Type This property is required. Changes to this property will trigger replacement.
- The charge type of ESCloud instance, the value can be PostPaid or PrePaid.
- configuration
Code This property is required. Changes to this property will trigger replacement.
- Configuration code used for billing.
- enable
Https This property is required. Changes to this property will trigger replacement.
- Whether Https access is enabled.
- enable
Pure Master This property is required. Changes to this property will trigger replacement.
- Whether the Master node is independent.
- node
Specs Assigns This property is required. List<Property Map> - The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
- subnet
Id This property is required. Changes to this property will trigger replacement.
- The ID of subnet, the subnet must belong to the AZ selected.
- version
This property is required. Changes to this property will trigger replacement.
- The version of ESCloud instance, the value is V6_7 or V7_10.
- zone
Number This property is required. Changes to this property will trigger replacement.
- The zone count of the ESCloud instance used.
- force
Restart BooleanAfter Scale - Whether to force restart when changes are made. If true, it means that the cluster will be forced to restart without paying attention to instance availability. Works only on modified the node_specs_assigns field.
- instance
Name String - The name of ESCloud instance.
- maintenance
Days List<String> - The maintainable date for the instance. Works only on modified scenes.
- maintenance
Time String - The maintainable time period for the instance. Works only on modified scenes.
- project
Name String - The project name to which the ESCloud instance belongs.
- region
Id String - The region ID of ESCloud instance.
- zone
Id String - The available zone ID of ESCloud instance.
InstanceInstanceConfigurationNodeSpecsAssign, InstanceInstanceConfigurationNodeSpecsAssignArgs
- Number
This property is required. int - The number of node.
- Resource
Spec Name This property is required. string - The name of compute resource spec, the value is
kibana.x2.small
ores.x4.medium
ores.x4.large
ores.x4.xlarge
ores.x2.2xlarge
ores.x4.2xlarge
ores.x2.3xlarge
. - Type
This property is required. string - The type of node, the value is
Master
orHot
orKibana
. - Storage
Size int - The size of storage. Kibana NodeSpecsAssign should not specify this field.
- Storage
Spec stringName - The name of storage spec. Kibana NodeSpecsAssign should not specify this field.
- Number
This property is required. int - The number of node.
- Resource
Spec Name This property is required. string - The name of compute resource spec, the value is
kibana.x2.small
ores.x4.medium
ores.x4.large
ores.x4.xlarge
ores.x2.2xlarge
ores.x4.2xlarge
ores.x2.3xlarge
. - Type
This property is required. string - The type of node, the value is
Master
orHot
orKibana
. - Storage
Size int - The size of storage. Kibana NodeSpecsAssign should not specify this field.
- Storage
Spec stringName - The name of storage spec. Kibana NodeSpecsAssign should not specify this field.
- number
This property is required. Integer - The number of node.
- resource
Spec Name This property is required. String - The name of compute resource spec, the value is
kibana.x2.small
ores.x4.medium
ores.x4.large
ores.x4.xlarge
ores.x2.2xlarge
ores.x4.2xlarge
ores.x2.3xlarge
. - type
This property is required. String - The type of node, the value is
Master
orHot
orKibana
. - storage
Size Integer - The size of storage. Kibana NodeSpecsAssign should not specify this field.
- storage
Spec StringName - The name of storage spec. Kibana NodeSpecsAssign should not specify this field.
- number
This property is required. number - The number of node.
- resource
Spec Name This property is required. string - The name of compute resource spec, the value is
kibana.x2.small
ores.x4.medium
ores.x4.large
ores.x4.xlarge
ores.x2.2xlarge
ores.x4.2xlarge
ores.x2.3xlarge
. - type
This property is required. string - The type of node, the value is
Master
orHot
orKibana
. - storage
Size number - The size of storage. Kibana NodeSpecsAssign should not specify this field.
- storage
Spec stringName - The name of storage spec. Kibana NodeSpecsAssign should not specify this field.
- number
This property is required. int - The number of node.
- resource_
spec_ name This property is required. str - The name of compute resource spec, the value is
kibana.x2.small
ores.x4.medium
ores.x4.large
ores.x4.xlarge
ores.x2.2xlarge
ores.x4.2xlarge
ores.x2.3xlarge
. - type
This property is required. str - The type of node, the value is
Master
orHot
orKibana
. - storage_
size int - The size of storage. Kibana NodeSpecsAssign should not specify this field.
- storage_
spec_ strname - The name of storage spec. Kibana NodeSpecsAssign should not specify this field.
- number
This property is required. Number - The number of node.
- resource
Spec Name This property is required. String - The name of compute resource spec, the value is
kibana.x2.small
ores.x4.medium
ores.x4.large
ores.x4.xlarge
ores.x2.2xlarge
ores.x4.2xlarge
ores.x2.3xlarge
. - type
This property is required. String - The type of node, the value is
Master
orHot
orKibana
. - storage
Size Number - The size of storage. Kibana NodeSpecsAssign should not specify this field.
- storage
Spec StringName - The name of storage spec. Kibana NodeSpecsAssign should not specify this field.
Import
ESCloud Instance can be imported using the id, e.g.
$ pulumi import volcengine:escloud/instance:Instance default n769ewmjjqyqh5dv
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.