1. Packages
  2. Volcengine
  3. API Docs
  4. escloud_v2
  5. EscloudIpWhiteList
Volcengine v0.0.29 published on Tuesday, Apr 29, 2025 by Volcengine

volcengine.escloud_v2.EscloudIpWhiteList

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.29 published on Tuesday, Apr 29, 2025 by Volcengine

    Provides a resource to manage escloud ip white list

    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",
        }],
    });
    const fooEscloudIpWhiteList = new volcengine.escloud_v2.EscloudIpWhiteList("fooEscloudIpWhiteList", {
        instanceId: fooEscloudInstanceV2.id,
        type: "public",
        component: "es",
        ipLists: [
            "172.16.0.10",
            "172.16.0.11",
            "172.16.0.12",
        ],
    });
    
    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",
        )])
    foo_escloud_ip_white_list = volcengine.escloud_v2.EscloudIpWhiteList("fooEscloudIpWhiteList",
        instance_id=foo_escloud_instance_v2.id,
        type="public",
        component="es",
        ip_lists=[
            "172.16.0.10",
            "172.16.0.11",
            "172.16.0.12",
        ])
    
    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
    		}
    		fooEscloudInstanceV2, 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
    		}
    		_, err = escloud_v2.NewEscloudIpWhiteList(ctx, "fooEscloudIpWhiteList", &escloud_v2.EscloudIpWhiteListArgs{
    			InstanceId: fooEscloudInstanceV2.ID(),
    			Type:       pulumi.String("public"),
    			Component:  pulumi.String("es"),
    			IpLists: pulumi.StringArray{
    				pulumi.String("172.16.0.10"),
    				pulumi.String("172.16.0.11"),
    				pulumi.String("172.16.0.12"),
    			},
    		})
    		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",
                },
            },
        });
    
        var fooEscloudIpWhiteList = new Volcengine.Escloud_v2.EscloudIpWhiteList("fooEscloudIpWhiteList", new()
        {
            InstanceId = fooEscloudInstanceV2.Id,
            Type = "public",
            Component = "es",
            IpLists = new[]
            {
                "172.16.0.10",
                "172.16.0.11",
                "172.16.0.12",
            },
        });
    
    });
    
    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 com.pulumi.volcengine.escloud_v2.EscloudIpWhiteList;
    import com.pulumi.volcengine.escloud_v2.EscloudIpWhiteListArgs;
    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());
    
            var fooEscloudIpWhiteList = new EscloudIpWhiteList("fooEscloudIpWhiteList", EscloudIpWhiteListArgs.builder()        
                .instanceId(fooEscloudInstanceV2.id())
                .type("public")
                .component("es")
                .ipLists(            
                    "172.16.0.10",
                    "172.16.0.11",
                    "172.16.0.12")
                .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
          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
      fooEscloudIpWhiteList:
        type: volcengine:escloud_v2:EscloudIpWhiteList
        properties:
          instanceId: ${fooEscloudInstanceV2.id}
          type: public
          component: es
          ipLists:
            - 172.16.0.10
            - 172.16.0.11
            - 172.16.0.12
    variables:
      fooZones:
        fn::invoke:
          Function: volcengine:ecs:Zones
          Arguments: {}
    

    Create EscloudIpWhiteList Resource

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

    Constructor syntax

    new EscloudIpWhiteList(name: string, args: EscloudIpWhiteListArgs, opts?: CustomResourceOptions);
    @overload
    def EscloudIpWhiteList(resource_name: str,
                           args: EscloudIpWhiteListArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def EscloudIpWhiteList(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           component: Optional[str] = None,
                           instance_id: Optional[str] = None,
                           ip_lists: Optional[Sequence[str]] = None,
                           type: Optional[str] = None)
    func NewEscloudIpWhiteList(ctx *Context, name string, args EscloudIpWhiteListArgs, opts ...ResourceOption) (*EscloudIpWhiteList, error)
    public EscloudIpWhiteList(string name, EscloudIpWhiteListArgs args, CustomResourceOptions? opts = null)
    public EscloudIpWhiteList(String name, EscloudIpWhiteListArgs args)
    public EscloudIpWhiteList(String name, EscloudIpWhiteListArgs args, CustomResourceOptions options)
    
    type: volcengine:escloud_v2:EscloudIpWhiteList
    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 EscloudIpWhiteListArgs
    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 EscloudIpWhiteListArgs
    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 EscloudIpWhiteListArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EscloudIpWhiteListArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EscloudIpWhiteListArgs
    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 escloudIpWhiteListResource = new Volcengine.Escloud_v2.EscloudIpWhiteList("escloudIpWhiteListResource", new()
    {
        Component = "string",
        InstanceId = "string",
        IpLists = new[]
        {
            "string",
        },
        Type = "string",
    });
    
    example, err := escloud_v2.NewEscloudIpWhiteList(ctx, "escloudIpWhiteListResource", &escloud_v2.EscloudIpWhiteListArgs{
    	Component:  pulumi.String("string"),
    	InstanceId: pulumi.String("string"),
    	IpLists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Type: pulumi.String("string"),
    })
    
    var escloudIpWhiteListResource = new EscloudIpWhiteList("escloudIpWhiteListResource", EscloudIpWhiteListArgs.builder()
        .component("string")
        .instanceId("string")
        .ipLists("string")
        .type("string")
        .build());
    
    escloud_ip_white_list_resource = volcengine.escloud_v2.EscloudIpWhiteList("escloudIpWhiteListResource",
        component="string",
        instance_id="string",
        ip_lists=["string"],
        type="string")
    
    const escloudIpWhiteListResource = new volcengine.escloud_v2.EscloudIpWhiteList("escloudIpWhiteListResource", {
        component: "string",
        instanceId: "string",
        ipLists: ["string"],
        type: "string",
    });
    
    type: volcengine:escloud_v2:EscloudIpWhiteList
    properties:
        component: string
        instanceId: string
        ipLists:
            - string
        type: string
    

    EscloudIpWhiteList 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 EscloudIpWhiteList resource accepts the following input properties:

    Component string
    The component of the ip white list. Valid values: es, kibana.
    InstanceId string
    The id of the EsCloud instance.
    IpLists List<string>
    The ip list of the ip white list.
    Type string
    The type of the ip white list. Valid values: private, public.
    Component string
    The component of the ip white list. Valid values: es, kibana.
    InstanceId string
    The id of the EsCloud instance.
    IpLists []string
    The ip list of the ip white list.
    Type string
    The type of the ip white list. Valid values: private, public.
    component String
    The component of the ip white list. Valid values: es, kibana.
    instanceId String
    The id of the EsCloud instance.
    ipLists List<String>
    The ip list of the ip white list.
    type String
    The type of the ip white list. Valid values: private, public.
    component string
    The component of the ip white list. Valid values: es, kibana.
    instanceId string
    The id of the EsCloud instance.
    ipLists string[]
    The ip list of the ip white list.
    type string
    The type of the ip white list. Valid values: private, public.
    component str
    The component of the ip white list. Valid values: es, kibana.
    instance_id str
    The id of the EsCloud instance.
    ip_lists Sequence[str]
    The ip list of the ip white list.
    type str
    The type of the ip white list. Valid values: private, public.
    component String
    The component of the ip white list. Valid values: es, kibana.
    instanceId String
    The id of the EsCloud instance.
    ipLists List<String>
    The ip list of the ip white list.
    type String
    The type of the ip white list. Valid values: private, public.

    Outputs

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

    Get an existing EscloudIpWhiteList 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?: EscloudIpWhiteListState, opts?: CustomResourceOptions): EscloudIpWhiteList
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            component: Optional[str] = None,
            instance_id: Optional[str] = None,
            ip_lists: Optional[Sequence[str]] = None,
            type: Optional[str] = None) -> EscloudIpWhiteList
    func GetEscloudIpWhiteList(ctx *Context, name string, id IDInput, state *EscloudIpWhiteListState, opts ...ResourceOption) (*EscloudIpWhiteList, error)
    public static EscloudIpWhiteList Get(string name, Input<string> id, EscloudIpWhiteListState? state, CustomResourceOptions? opts = null)
    public static EscloudIpWhiteList get(String name, Output<String> id, EscloudIpWhiteListState state, CustomResourceOptions options)
    resources:  _:    type: volcengine:escloud_v2:EscloudIpWhiteList    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Component string
    The component of the ip white list. Valid values: es, kibana.
    InstanceId string
    The id of the EsCloud instance.
    IpLists List<string>
    The ip list of the ip white list.
    Type string
    The type of the ip white list. Valid values: private, public.
    Component string
    The component of the ip white list. Valid values: es, kibana.
    InstanceId string
    The id of the EsCloud instance.
    IpLists []string
    The ip list of the ip white list.
    Type string
    The type of the ip white list. Valid values: private, public.
    component String
    The component of the ip white list. Valid values: es, kibana.
    instanceId String
    The id of the EsCloud instance.
    ipLists List<String>
    The ip list of the ip white list.
    type String
    The type of the ip white list. Valid values: private, public.
    component string
    The component of the ip white list. Valid values: es, kibana.
    instanceId string
    The id of the EsCloud instance.
    ipLists string[]
    The ip list of the ip white list.
    type string
    The type of the ip white list. Valid values: private, public.
    component str
    The component of the ip white list. Valid values: es, kibana.
    instance_id str
    The id of the EsCloud instance.
    ip_lists Sequence[str]
    The ip list of the ip white list.
    type str
    The type of the ip white list. Valid values: private, public.
    component String
    The component of the ip white list. Valid values: es, kibana.
    instanceId String
    The id of the EsCloud instance.
    ipLists List<String>
    The ip list of the ip white list.
    type String
    The type of the ip white list. Valid values: private, public.

    Import

    EscloudIpWhiteList can be imported using the instance_id:type:component, e.g.

    $ pulumi import volcengine:escloud_v2/escloudIpWhiteList:EscloudIpWhiteList 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.
    volcengine logo
    Volcengine v0.0.29 published on Tuesday, Apr 29, 2025 by Volcengine