1. Packages
  2. Volcengine
  3. API Docs
  4. escloud
  5. Instance
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.escloud.Instance

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

    Provides a resource to manage escloud instance

    Example Usage

    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 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
    	})
    }
    
    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());
    
        }
    }
    
    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,
    ))
    
    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,
    }});
    
    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 string
    The unique name of the resource.
    args InstanceArgs
    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 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 string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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=volcengine.escloud.InstanceInstanceConfigurationArgs(
        node_specs_assigns=[volcengine.escloud.InstanceInstanceConfigurationNodeSpecsAssignArgs(
            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

    The Instance resource accepts the following input properties:

    InstanceConfiguration InstanceInstanceConfiguration
    The configuration of ESCloud instance.
    InstanceConfiguration InstanceInstanceConfigurationArgs
    The configuration of ESCloud instance.
    instanceConfiguration InstanceInstanceConfiguration
    The configuration of ESCloud instance.
    instanceConfiguration InstanceInstanceConfiguration
    The configuration of ESCloud instance.
    instance_configuration InstanceInstanceConfigurationArgs
    The configuration of ESCloud instance.
    instanceConfiguration 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)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    InstanceConfiguration InstanceInstanceConfiguration
    The configuration of ESCloud instance.
    InstanceConfiguration InstanceInstanceConfigurationArgs
    The configuration of ESCloud instance.
    instanceConfiguration InstanceInstanceConfiguration
    The configuration of ESCloud instance.
    instanceConfiguration InstanceInstanceConfiguration
    The configuration of ESCloud instance.
    instance_configuration InstanceInstanceConfigurationArgs
    The configuration of ESCloud instance.
    instanceConfiguration Property Map
    The configuration of ESCloud instance.

    Supporting Types

    InstanceInstanceConfiguration, InstanceInstanceConfigurationArgs

    AdminPassword 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.
    AdminUserName string
    The name of administrator account(should be admin).
    ChargeType string
    The charge type of ESCloud instance, the value can be PostPaid or PrePaid.
    ConfigurationCode string
    Configuration code used for billing.
    EnableHttps bool
    Whether Https access is enabled.
    EnablePureMaster bool
    Whether the Master node is independent.
    NodeSpecsAssigns List<InstanceInstanceConfigurationNodeSpecsAssign>
    The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
    SubnetId string
    The ID of subnet, the subnet must belong to the AZ selected.
    Version string
    The version of ESCloud instance, the value is V6_7 or V7_10.
    ZoneNumber int
    The zone count of the ESCloud instance used.
    ForceRestartAfterScale bool
    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.
    InstanceName string
    The name of ESCloud instance.
    MaintenanceDays List<string>
    The maintainable date for the instance. Works only on modified scenes.
    MaintenanceTime string
    The maintainable time period for the instance. Works only on modified scenes.
    ProjectName string
    The project name to which the ESCloud instance belongs.
    RegionId string
    The region ID of ESCloud instance.
    ZoneId string
    The available zone ID of ESCloud instance.
    AdminPassword 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.
    AdminUserName string
    The name of administrator account(should be admin).
    ChargeType string
    The charge type of ESCloud instance, the value can be PostPaid or PrePaid.
    ConfigurationCode string
    Configuration code used for billing.
    EnableHttps bool
    Whether Https access is enabled.
    EnablePureMaster bool
    Whether the Master node is independent.
    NodeSpecsAssigns []InstanceInstanceConfigurationNodeSpecsAssign
    The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
    SubnetId string
    The ID of subnet, the subnet must belong to the AZ selected.
    Version string
    The version of ESCloud instance, the value is V6_7 or V7_10.
    ZoneNumber int
    The zone count of the ESCloud instance used.
    ForceRestartAfterScale bool
    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.
    InstanceName string
    The name of ESCloud instance.
    MaintenanceDays []string
    The maintainable date for the instance. Works only on modified scenes.
    MaintenanceTime string
    The maintainable time period for the instance. Works only on modified scenes.
    ProjectName string
    The project name to which the ESCloud instance belongs.
    RegionId string
    The region ID of ESCloud instance.
    ZoneId string
    The available zone ID of ESCloud instance.
    adminPassword 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.
    adminUserName String
    The name of administrator account(should be admin).
    chargeType String
    The charge type of ESCloud instance, the value can be PostPaid or PrePaid.
    configurationCode String
    Configuration code used for billing.
    enableHttps Boolean
    Whether Https access is enabled.
    enablePureMaster Boolean
    Whether the Master node is independent.
    nodeSpecsAssigns List<InstanceInstanceConfigurationNodeSpecsAssign>
    The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
    subnetId String
    The ID of subnet, the subnet must belong to the AZ selected.
    version String
    The version of ESCloud instance, the value is V6_7 or V7_10.
    zoneNumber Integer
    The zone count of the ESCloud instance used.
    forceRestartAfterScale Boolean
    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.
    instanceName String
    The name of ESCloud instance.
    maintenanceDays List<String>
    The maintainable date for the instance. Works only on modified scenes.
    maintenanceTime String
    The maintainable time period for the instance. Works only on modified scenes.
    projectName String
    The project name to which the ESCloud instance belongs.
    regionId String
    The region ID of ESCloud instance.
    zoneId String
    The available zone ID of ESCloud instance.
    adminPassword 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.
    adminUserName string
    The name of administrator account(should be admin).
    chargeType string
    The charge type of ESCloud instance, the value can be PostPaid or PrePaid.
    configurationCode string
    Configuration code used for billing.
    enableHttps boolean
    Whether Https access is enabled.
    enablePureMaster boolean
    Whether the Master node is independent.
    nodeSpecsAssigns InstanceInstanceConfigurationNodeSpecsAssign[]
    The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
    subnetId string
    The ID of subnet, the subnet must belong to the AZ selected.
    version string
    The version of ESCloud instance, the value is V6_7 or V7_10.
    zoneNumber number
    The zone count of the ESCloud instance used.
    forceRestartAfterScale boolean
    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.
    instanceName string
    The name of ESCloud instance.
    maintenanceDays string[]
    The maintainable date for the instance. Works only on modified scenes.
    maintenanceTime string
    The maintainable time period for the instance. Works only on modified scenes.
    projectName string
    The project name to which the ESCloud instance belongs.
    regionId string
    The region ID of ESCloud instance.
    zoneId string
    The available zone ID of ESCloud instance.
    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.
    admin_user_name str
    The name of administrator account(should be admin).
    charge_type str
    The charge type of ESCloud instance, the value can be PostPaid or PrePaid.
    configuration_code str
    Configuration code used for billing.
    enable_https bool
    Whether Https access is enabled.
    enable_pure_master bool
    Whether the Master node is independent.
    node_specs_assigns Sequence[InstanceInstanceConfigurationNodeSpecsAssign]
    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 ESCloud instance, the value is V6_7 or V7_10.
    zone_number int
    The zone count of the ESCloud instance used.
    force_restart_after_scale bool
    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.
    adminPassword 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.
    adminUserName String
    The name of administrator account(should be admin).
    chargeType String
    The charge type of ESCloud instance, the value can be PostPaid or PrePaid.
    configurationCode String
    Configuration code used for billing.
    enableHttps Boolean
    Whether Https access is enabled.
    enablePureMaster Boolean
    Whether the Master node is independent.
    nodeSpecsAssigns List<Property Map>
    The number and configuration of various ESCloud instance node. Kibana NodeSpecsAssign should not be modified.
    subnetId String
    The ID of subnet, the subnet must belong to the AZ selected.
    version String
    The version of ESCloud instance, the value is V6_7 or V7_10.
    zoneNumber Number
    The zone count of the ESCloud instance used.
    forceRestartAfterScale Boolean
    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.
    instanceName String
    The name of ESCloud instance.
    maintenanceDays List<String>
    The maintainable date for the instance. Works only on modified scenes.
    maintenanceTime String
    The maintainable time period for the instance. Works only on modified scenes.
    projectName String
    The project name to which the ESCloud instance belongs.
    regionId String
    The region ID of ESCloud instance.
    zoneId String
    The available zone ID of ESCloud instance.

    InstanceInstanceConfigurationNodeSpecsAssign, InstanceInstanceConfigurationNodeSpecsAssignArgs

    Number int
    The number of node.
    ResourceSpecName string
    The name of compute resource spec, the value is kibana.x2.small or es.x4.medium or es.x4.large or es.x4.xlarge or es.x2.2xlarge or es.x4.2xlarge or es.x2.3xlarge.
    Type string
    The type of node, the value is Master or Hot or Kibana.
    StorageSize int
    The size of storage. Kibana NodeSpecsAssign should not specify this field.
    StorageSpecName string
    The name of storage spec. Kibana NodeSpecsAssign should not specify this field.
    Number int
    The number of node.
    ResourceSpecName string
    The name of compute resource spec, the value is kibana.x2.small or es.x4.medium or es.x4.large or es.x4.xlarge or es.x2.2xlarge or es.x4.2xlarge or es.x2.3xlarge.
    Type string
    The type of node, the value is Master or Hot or Kibana.
    StorageSize int
    The size of storage. Kibana NodeSpecsAssign should not specify this field.
    StorageSpecName string
    The name of storage spec. Kibana NodeSpecsAssign should not specify this field.
    number Integer
    The number of node.
    resourceSpecName String
    The name of compute resource spec, the value is kibana.x2.small or es.x4.medium or es.x4.large or es.x4.xlarge or es.x2.2xlarge or es.x4.2xlarge or es.x2.3xlarge.
    type String
    The type of node, the value is Master or Hot or Kibana.
    storageSize Integer
    The size of storage. Kibana NodeSpecsAssign should not specify this field.
    storageSpecName String
    The name of storage spec. Kibana NodeSpecsAssign should not specify this field.
    number number
    The number of node.
    resourceSpecName string
    The name of compute resource spec, the value is kibana.x2.small or es.x4.medium or es.x4.large or es.x4.xlarge or es.x2.2xlarge or es.x4.2xlarge or es.x2.3xlarge.
    type string
    The type of node, the value is Master or Hot or Kibana.
    storageSize number
    The size of storage. Kibana NodeSpecsAssign should not specify this field.
    storageSpecName string
    The name of storage spec. Kibana NodeSpecsAssign should not specify this field.
    number int
    The number of node.
    resource_spec_name str
    The name of compute resource spec, the value is kibana.x2.small or es.x4.medium or es.x4.large or es.x4.xlarge or es.x2.2xlarge or es.x4.2xlarge or es.x2.3xlarge.
    type str
    The type of node, the value is Master or Hot or Kibana.
    storage_size int
    The size of storage. Kibana NodeSpecsAssign should not specify this field.
    storage_spec_name str
    The name of storage spec. Kibana NodeSpecsAssign should not specify this field.
    number Number
    The number of node.
    resourceSpecName String
    The name of compute resource spec, the value is kibana.x2.small or es.x4.medium or es.x4.large or es.x4.xlarge or es.x2.2xlarge or es.x4.2xlarge or es.x2.3xlarge.
    type String
    The type of node, the value is Master or Hot or Kibana.
    storageSize Number
    The size of storage. Kibana NodeSpecsAssign should not specify this field.
    storageSpecName String
    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.
    volcengine logo
    Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine