1. Registry
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. CaptchaIpWhiteListInternational
Viewing docs for tencentcloud 1.83.33
published on Monday, Sep 21, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.33
published on Monday, Sep 21, 2026 by tencentcloudstack

    Provides a resource to create a captcha ip white list international.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.CaptchaInfoInternational("example", {
        appName: "tf-example",
        channelInfo: "web",
        verifyRank: "1",
        userSetCapType: "2",
        defendMode: "block",
        disableInvisibleSwitch: "0",
        verifyDomain: "example.com",
        checkAppidSwitch: 1,
        checkIvSwitch: 1,
        checkBoxStyle: "2",
    });
    const exampleCaptchaIpWhiteListInternational = new tencentcloud.CaptchaIpWhiteListInternational("example", {
        name: "tf-example",
        captchaAppid: example.captchaInfoInternationalId,
        ip: "1.1.1.1",
        comment: "remark.",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.CaptchaInfoInternational("example",
        app_name="tf-example",
        channel_info="web",
        verify_rank="1",
        user_set_cap_type="2",
        defend_mode="block",
        disable_invisible_switch="0",
        verify_domain="example.com",
        check_appid_switch=1,
        check_iv_switch=1,
        check_box_style="2")
    example_captcha_ip_white_list_international = tencentcloud.CaptchaIpWhiteListInternational("example",
        name="tf-example",
        captcha_appid=example.captcha_info_international_id,
        ip="1.1.1.1",
        comment="remark.")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := tencentcloud.NewCaptchaInfoInternational(ctx, "example", &tencentcloud.CaptchaInfoInternationalArgs{
    			AppName:                pulumi.String("tf-example"),
    			ChannelInfo:            pulumi.String("web"),
    			VerifyRank:             pulumi.String("1"),
    			UserSetCapType:         pulumi.String("2"),
    			DefendMode:             pulumi.String("block"),
    			DisableInvisibleSwitch: pulumi.String("0"),
    			VerifyDomain:           pulumi.String("example.com"),
    			CheckAppidSwitch:       pulumi.Float64(1),
    			CheckIvSwitch:          pulumi.Float64(1),
    			CheckBoxStyle:          pulumi.String("2"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewCaptchaIpWhiteListInternational(ctx, "example", &tencentcloud.CaptchaIpWhiteListInternationalArgs{
    			Name:         pulumi.String("tf-example"),
    			CaptchaAppid: example.CaptchaInfoInternationalId,
    			Ip:           pulumi.String("1.1.1.1"),
    			Comment:      pulumi.String("remark."),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.CaptchaInfoInternational("example", new()
        {
            AppName = "tf-example",
            ChannelInfo = "web",
            VerifyRank = "1",
            UserSetCapType = "2",
            DefendMode = "block",
            DisableInvisibleSwitch = "0",
            VerifyDomain = "example.com",
            CheckAppidSwitch = 1,
            CheckIvSwitch = 1,
            CheckBoxStyle = "2",
        });
    
        var exampleCaptchaIpWhiteListInternational = new Tencentcloud.CaptchaIpWhiteListInternational("example", new()
        {
            Name = "tf-example",
            CaptchaAppid = example.CaptchaInfoInternationalId,
            Ip = "1.1.1.1",
            Comment = "remark.",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CaptchaInfoInternational;
    import com.pulumi.tencentcloud.CaptchaInfoInternationalArgs;
    import com.pulumi.tencentcloud.CaptchaIpWhiteListInternational;
    import com.pulumi.tencentcloud.CaptchaIpWhiteListInternationalArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new CaptchaInfoInternational("example", CaptchaInfoInternationalArgs.builder()
                .appName("tf-example")
                .channelInfo("web")
                .verifyRank("1")
                .userSetCapType("2")
                .defendMode("block")
                .disableInvisibleSwitch("0")
                .verifyDomain("example.com")
                .checkAppidSwitch(1.0)
                .checkIvSwitch(1.0)
                .checkBoxStyle("2")
                .build());
    
            var exampleCaptchaIpWhiteListInternational = new CaptchaIpWhiteListInternational("exampleCaptchaIpWhiteListInternational", CaptchaIpWhiteListInternationalArgs.builder()
                .name("tf-example")
                .captchaAppid(example.captchaInfoInternationalId())
                .ip("1.1.1.1")
                .comment("remark.")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:CaptchaInfoInternational
        properties:
          appName: tf-example
          channelInfo: web
          verifyRank: '1'
          userSetCapType: '2'
          defendMode: block
          disableInvisibleSwitch: '0'
          verifyDomain: example.com
          checkAppidSwitch: 1
          checkIvSwitch: 1
          checkBoxStyle: '2'
      exampleCaptchaIpWhiteListInternational:
        type: tencentcloud:CaptchaIpWhiteListInternational
        name: example
        properties:
          name: tf-example
          captchaAppid: ${example.captchaInfoInternationalId}
          ip: 1.1.1.1
          comment: remark.
    
    Example coming soon!
    

    Create CaptchaIpWhiteListInternational Resource

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

    Constructor syntax

    new CaptchaIpWhiteListInternational(name: string, args: CaptchaIpWhiteListInternationalArgs, opts?: CustomResourceOptions);
    @overload
    def CaptchaIpWhiteListInternational(resource_name: str,
                                        args: CaptchaIpWhiteListInternationalArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def CaptchaIpWhiteListInternational(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        captcha_appid: Optional[float] = None,
                                        ip: Optional[str] = None,
                                        captcha_ip_white_list_international_id: Optional[str] = None,
                                        comment: Optional[str] = None,
                                        name: Optional[str] = None)
    func NewCaptchaIpWhiteListInternational(ctx *Context, name string, args CaptchaIpWhiteListInternationalArgs, opts ...ResourceOption) (*CaptchaIpWhiteListInternational, error)
    public CaptchaIpWhiteListInternational(string name, CaptchaIpWhiteListInternationalArgs args, CustomResourceOptions? opts = null)
    public CaptchaIpWhiteListInternational(String name, CaptchaIpWhiteListInternationalArgs args)
    public CaptchaIpWhiteListInternational(String name, CaptchaIpWhiteListInternationalArgs args, CustomResourceOptions options)
    
    type: tencentcloud:CaptchaIpWhiteListInternational
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_captcha_ip_white_list_international" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CaptchaIpWhiteListInternationalArgs
    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 CaptchaIpWhiteListInternationalArgs
    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 CaptchaIpWhiteListInternationalArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CaptchaIpWhiteListInternationalArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CaptchaIpWhiteListInternationalArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    CaptchaAppid double
    Captcha appid.
    Ip string
    IP data. Must be a single valid IPv4 or IPv6 address.
    CaptchaIpWhiteListInternationalId string
    ID of the resource.
    Comment string
    Remark information.
    Name string
    IP allowlist name.
    CaptchaAppid float64
    Captcha appid.
    Ip string
    IP data. Must be a single valid IPv4 or IPv6 address.
    CaptchaIpWhiteListInternationalId string
    ID of the resource.
    Comment string
    Remark information.
    Name string
    IP allowlist name.
    captcha_appid number
    Captcha appid.
    ip string
    IP data. Must be a single valid IPv4 or IPv6 address.
    captcha_ip_white_list_international_id string
    ID of the resource.
    comment string
    Remark information.
    name string
    IP allowlist name.
    captchaAppid Double
    Captcha appid.
    ip String
    IP data. Must be a single valid IPv4 or IPv6 address.
    captchaIpWhiteListInternationalId String
    ID of the resource.
    comment String
    Remark information.
    name String
    IP allowlist name.
    captchaAppid number
    Captcha appid.
    ip string
    IP data. Must be a single valid IPv4 or IPv6 address.
    captchaIpWhiteListInternationalId string
    ID of the resource.
    comment string
    Remark information.
    name string
    IP allowlist name.
    captcha_appid float
    Captcha appid.
    ip str
    IP data. Must be a single valid IPv4 or IPv6 address.
    captcha_ip_white_list_international_id str
    ID of the resource.
    comment str
    Remark information.
    name str
    IP allowlist name.
    captchaAppid Number
    Captcha appid.
    ip String
    IP data. Must be a single valid IPv4 or IPv6 address.
    captchaIpWhiteListInternationalId String
    ID of the resource.
    comment String
    Remark information.
    name String
    IP allowlist name.

    Outputs

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

    Get an existing CaptchaIpWhiteListInternational 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?: CaptchaIpWhiteListInternationalState, opts?: CustomResourceOptions): CaptchaIpWhiteListInternational
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            captcha_appid: Optional[float] = None,
            captcha_ip_white_list_international_id: Optional[str] = None,
            comment: Optional[str] = None,
            ip: Optional[str] = None,
            name: Optional[str] = None) -> CaptchaIpWhiteListInternational
    func GetCaptchaIpWhiteListInternational(ctx *Context, name string, id IDInput, state *CaptchaIpWhiteListInternationalState, opts ...ResourceOption) (*CaptchaIpWhiteListInternational, error)
    public static CaptchaIpWhiteListInternational Get(string name, Input<string> id, CaptchaIpWhiteListInternationalState? state, CustomResourceOptions? opts = null)
    public static CaptchaIpWhiteListInternational get(String name, Output<String> id, CaptchaIpWhiteListInternationalState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CaptchaIpWhiteListInternational    get:      id: ${id}
    import {
      to = tencentcloud_captcha_ip_white_list_international.example
      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:
    CaptchaAppid double
    Captcha appid.
    CaptchaIpWhiteListInternationalId string
    ID of the resource.
    Comment string
    Remark information.
    Ip string
    IP data. Must be a single valid IPv4 or IPv6 address.
    Name string
    IP allowlist name.
    CaptchaAppid float64
    Captcha appid.
    CaptchaIpWhiteListInternationalId string
    ID of the resource.
    Comment string
    Remark information.
    Ip string
    IP data. Must be a single valid IPv4 or IPv6 address.
    Name string
    IP allowlist name.
    captcha_appid number
    Captcha appid.
    captcha_ip_white_list_international_id string
    ID of the resource.
    comment string
    Remark information.
    ip string
    IP data. Must be a single valid IPv4 or IPv6 address.
    name string
    IP allowlist name.
    captchaAppid Double
    Captcha appid.
    captchaIpWhiteListInternationalId String
    ID of the resource.
    comment String
    Remark information.
    ip String
    IP data. Must be a single valid IPv4 or IPv6 address.
    name String
    IP allowlist name.
    captchaAppid number
    Captcha appid.
    captchaIpWhiteListInternationalId string
    ID of the resource.
    comment string
    Remark information.
    ip string
    IP data. Must be a single valid IPv4 or IPv6 address.
    name string
    IP allowlist name.
    captcha_appid float
    Captcha appid.
    captcha_ip_white_list_international_id str
    ID of the resource.
    comment str
    Remark information.
    ip str
    IP data. Must be a single valid IPv4 or IPv6 address.
    name str
    IP allowlist name.
    captchaAppid Number
    Captcha appid.
    captchaIpWhiteListInternationalId String
    ID of the resource.
    comment String
    Remark information.
    ip String
    IP data. Must be a single valid IPv4 or IPv6 address.
    name String
    IP allowlist name.

    Import

    Captcha ip white list international can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/captchaIpWhiteListInternational:CaptchaIpWhiteListInternational example 189910572#488584
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.83.33
    published on Monday, Sep 21, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial