1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. AntiddosBgpInstance
tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack
tencentcloud logo
tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack

    Example Usage

    Create standard bgp instance(POSTPAID)

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.AntiddosBgpInstance("example", {
        instanceChargeType: "POSTPAID_BY_MONTH",
        packageType: "Standard",
        standardPackageConfig: {
            region: "ap-guangzhou",
            protectIpCount: 1,
            bandwidth: 100,
            elasticBandwidthFlag: true,
        },
        tagInfoLists: [{
            tagKey: "createBy",
            tagValue: "Terraform",
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.AntiddosBgpInstance("example",
        instance_charge_type="POSTPAID_BY_MONTH",
        package_type="Standard",
        standard_package_config={
            "region": "ap-guangzhou",
            "protect_ip_count": 1,
            "bandwidth": 100,
            "elastic_bandwidth_flag": True,
        },
        tag_info_lists=[{
            "tag_key": "createBy",
            "tag_value": "Terraform",
        }])
    
    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 {
    		_, err := tencentcloud.NewAntiddosBgpInstance(ctx, "example", &tencentcloud.AntiddosBgpInstanceArgs{
    			InstanceChargeType: pulumi.String("POSTPAID_BY_MONTH"),
    			PackageType:        pulumi.String("Standard"),
    			StandardPackageConfig: &tencentcloud.AntiddosBgpInstanceStandardPackageConfigArgs{
    				Region:               pulumi.String("ap-guangzhou"),
    				ProtectIpCount:       pulumi.Float64(1),
    				Bandwidth:            pulumi.Float64(100),
    				ElasticBandwidthFlag: pulumi.Bool(true),
    			},
    			TagInfoLists: tencentcloud.AntiddosBgpInstanceTagInfoListArray{
    				&tencentcloud.AntiddosBgpInstanceTagInfoListArgs{
    					TagKey:   pulumi.String("createBy"),
    					TagValue: pulumi.String("Terraform"),
    				},
    			},
    		})
    		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.AntiddosBgpInstance("example", new()
        {
            InstanceChargeType = "POSTPAID_BY_MONTH",
            PackageType = "Standard",
            StandardPackageConfig = new Tencentcloud.Inputs.AntiddosBgpInstanceStandardPackageConfigArgs
            {
                Region = "ap-guangzhou",
                ProtectIpCount = 1,
                Bandwidth = 100,
                ElasticBandwidthFlag = true,
            },
            TagInfoLists = new[]
            {
                new Tencentcloud.Inputs.AntiddosBgpInstanceTagInfoListArgs
                {
                    TagKey = "createBy",
                    TagValue = "Terraform",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.AntiddosBgpInstance;
    import com.pulumi.tencentcloud.AntiddosBgpInstanceArgs;
    import com.pulumi.tencentcloud.inputs.AntiddosBgpInstanceStandardPackageConfigArgs;
    import com.pulumi.tencentcloud.inputs.AntiddosBgpInstanceTagInfoListArgs;
    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 AntiddosBgpInstance("example", AntiddosBgpInstanceArgs.builder()
                .instanceChargeType("POSTPAID_BY_MONTH")
                .packageType("Standard")
                .standardPackageConfig(AntiddosBgpInstanceStandardPackageConfigArgs.builder()
                    .region("ap-guangzhou")
                    .protectIpCount(1.0)
                    .bandwidth(100.0)
                    .elasticBandwidthFlag(true)
                    .build())
                .tagInfoLists(AntiddosBgpInstanceTagInfoListArgs.builder()
                    .tagKey("createBy")
                    .tagValue("Terraform")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:AntiddosBgpInstance
        properties:
          instanceChargeType: POSTPAID_BY_MONTH
          packageType: Standard
          standardPackageConfig:
            region: ap-guangzhou
            protectIpCount: 1
            bandwidth: 100
            elasticBandwidthFlag: true
          tagInfoLists:
            - tagKey: createBy
              tagValue: Terraform
    

    Create standard edition 2.0 bgp instance(PREPAID)

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.AntiddosBgpInstance("example", {
        instanceChargeType: "PREPAID",
        packageType: "StandardPlus",
        instanceChargePrepaid: {
            period: 1,
            renewFlag: "NOTIFY_AND_MANUAL_RENEW",
        },
        standardPlusPackageConfig: {
            region: "ap-guangzhou",
            protectCount: "TWO_TIMES",
            protectIpCount: 1,
            bandwidth: 100,
            elasticBandwidthFlag: true,
        },
        tagInfoLists: [{
            tagKey: "createBy",
            tagValue: "Terraform",
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.AntiddosBgpInstance("example",
        instance_charge_type="PREPAID",
        package_type="StandardPlus",
        instance_charge_prepaid={
            "period": 1,
            "renew_flag": "NOTIFY_AND_MANUAL_RENEW",
        },
        standard_plus_package_config={
            "region": "ap-guangzhou",
            "protect_count": "TWO_TIMES",
            "protect_ip_count": 1,
            "bandwidth": 100,
            "elastic_bandwidth_flag": True,
        },
        tag_info_lists=[{
            "tag_key": "createBy",
            "tag_value": "Terraform",
        }])
    
    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 {
    		_, err := tencentcloud.NewAntiddosBgpInstance(ctx, "example", &tencentcloud.AntiddosBgpInstanceArgs{
    			InstanceChargeType: pulumi.String("PREPAID"),
    			PackageType:        pulumi.String("StandardPlus"),
    			InstanceChargePrepaid: &tencentcloud.AntiddosBgpInstanceInstanceChargePrepaidArgs{
    				Period:    pulumi.Float64(1),
    				RenewFlag: pulumi.String("NOTIFY_AND_MANUAL_RENEW"),
    			},
    			StandardPlusPackageConfig: &tencentcloud.AntiddosBgpInstanceStandardPlusPackageConfigArgs{
    				Region:               pulumi.String("ap-guangzhou"),
    				ProtectCount:         pulumi.String("TWO_TIMES"),
    				ProtectIpCount:       pulumi.Float64(1),
    				Bandwidth:            pulumi.Float64(100),
    				ElasticBandwidthFlag: pulumi.Bool(true),
    			},
    			TagInfoLists: tencentcloud.AntiddosBgpInstanceTagInfoListArray{
    				&tencentcloud.AntiddosBgpInstanceTagInfoListArgs{
    					TagKey:   pulumi.String("createBy"),
    					TagValue: pulumi.String("Terraform"),
    				},
    			},
    		})
    		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.AntiddosBgpInstance("example", new()
        {
            InstanceChargeType = "PREPAID",
            PackageType = "StandardPlus",
            InstanceChargePrepaid = new Tencentcloud.Inputs.AntiddosBgpInstanceInstanceChargePrepaidArgs
            {
                Period = 1,
                RenewFlag = "NOTIFY_AND_MANUAL_RENEW",
            },
            StandardPlusPackageConfig = new Tencentcloud.Inputs.AntiddosBgpInstanceStandardPlusPackageConfigArgs
            {
                Region = "ap-guangzhou",
                ProtectCount = "TWO_TIMES",
                ProtectIpCount = 1,
                Bandwidth = 100,
                ElasticBandwidthFlag = true,
            },
            TagInfoLists = new[]
            {
                new Tencentcloud.Inputs.AntiddosBgpInstanceTagInfoListArgs
                {
                    TagKey = "createBy",
                    TagValue = "Terraform",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.AntiddosBgpInstance;
    import com.pulumi.tencentcloud.AntiddosBgpInstanceArgs;
    import com.pulumi.tencentcloud.inputs.AntiddosBgpInstanceInstanceChargePrepaidArgs;
    import com.pulumi.tencentcloud.inputs.AntiddosBgpInstanceStandardPlusPackageConfigArgs;
    import com.pulumi.tencentcloud.inputs.AntiddosBgpInstanceTagInfoListArgs;
    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 AntiddosBgpInstance("example", AntiddosBgpInstanceArgs.builder()
                .instanceChargeType("PREPAID")
                .packageType("StandardPlus")
                .instanceChargePrepaid(AntiddosBgpInstanceInstanceChargePrepaidArgs.builder()
                    .period(1.0)
                    .renewFlag("NOTIFY_AND_MANUAL_RENEW")
                    .build())
                .standardPlusPackageConfig(AntiddosBgpInstanceStandardPlusPackageConfigArgs.builder()
                    .region("ap-guangzhou")
                    .protectCount("TWO_TIMES")
                    .protectIpCount(1.0)
                    .bandwidth(100.0)
                    .elasticBandwidthFlag(true)
                    .build())
                .tagInfoLists(AntiddosBgpInstanceTagInfoListArgs.builder()
                    .tagKey("createBy")
                    .tagValue("Terraform")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:AntiddosBgpInstance
        properties:
          instanceChargeType: PREPAID
          packageType: StandardPlus
          instanceChargePrepaid:
            period: 1
            renewFlag: NOTIFY_AND_MANUAL_RENEW
          standardPlusPackageConfig:
            region: ap-guangzhou
            protectCount: TWO_TIMES
            protectIpCount: 1
            bandwidth: 100
            elasticBandwidthFlag: true
          tagInfoLists:
            - tagKey: createBy
              tagValue: Terraform
    

    Create enterprise bgp instance(POSTPAID)

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.AntiddosBgpInstance("example", {
        instanceChargeType: "POSTPAID_BY_MONTH",
        packageType: "Enterprise",
        enterprisePackageConfig: {
            region: "ap-guangzhou",
            protectIpCount: 10,
            basicProtectBandwidth: 300,
            bandwidth: 100,
            elasticBandwidthFlag: false,
        },
        tagInfoLists: [{
            tagKey: "createBy",
            tagValue: "Terraform",
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.AntiddosBgpInstance("example",
        instance_charge_type="POSTPAID_BY_MONTH",
        package_type="Enterprise",
        enterprise_package_config={
            "region": "ap-guangzhou",
            "protect_ip_count": 10,
            "basic_protect_bandwidth": 300,
            "bandwidth": 100,
            "elastic_bandwidth_flag": False,
        },
        tag_info_lists=[{
            "tag_key": "createBy",
            "tag_value": "Terraform",
        }])
    
    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 {
    		_, err := tencentcloud.NewAntiddosBgpInstance(ctx, "example", &tencentcloud.AntiddosBgpInstanceArgs{
    			InstanceChargeType: pulumi.String("POSTPAID_BY_MONTH"),
    			PackageType:        pulumi.String("Enterprise"),
    			EnterprisePackageConfig: &tencentcloud.AntiddosBgpInstanceEnterprisePackageConfigArgs{
    				Region:                pulumi.String("ap-guangzhou"),
    				ProtectIpCount:        pulumi.Float64(10),
    				BasicProtectBandwidth: pulumi.Float64(300),
    				Bandwidth:             pulumi.Float64(100),
    				ElasticBandwidthFlag:  pulumi.Bool(false),
    			},
    			TagInfoLists: tencentcloud.AntiddosBgpInstanceTagInfoListArray{
    				&tencentcloud.AntiddosBgpInstanceTagInfoListArgs{
    					TagKey:   pulumi.String("createBy"),
    					TagValue: pulumi.String("Terraform"),
    				},
    			},
    		})
    		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.AntiddosBgpInstance("example", new()
        {
            InstanceChargeType = "POSTPAID_BY_MONTH",
            PackageType = "Enterprise",
            EnterprisePackageConfig = new Tencentcloud.Inputs.AntiddosBgpInstanceEnterprisePackageConfigArgs
            {
                Region = "ap-guangzhou",
                ProtectIpCount = 10,
                BasicProtectBandwidth = 300,
                Bandwidth = 100,
                ElasticBandwidthFlag = false,
            },
            TagInfoLists = new[]
            {
                new Tencentcloud.Inputs.AntiddosBgpInstanceTagInfoListArgs
                {
                    TagKey = "createBy",
                    TagValue = "Terraform",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.AntiddosBgpInstance;
    import com.pulumi.tencentcloud.AntiddosBgpInstanceArgs;
    import com.pulumi.tencentcloud.inputs.AntiddosBgpInstanceEnterprisePackageConfigArgs;
    import com.pulumi.tencentcloud.inputs.AntiddosBgpInstanceTagInfoListArgs;
    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 AntiddosBgpInstance("example", AntiddosBgpInstanceArgs.builder()
                .instanceChargeType("POSTPAID_BY_MONTH")
                .packageType("Enterprise")
                .enterprisePackageConfig(AntiddosBgpInstanceEnterprisePackageConfigArgs.builder()
                    .region("ap-guangzhou")
                    .protectIpCount(10.0)
                    .basicProtectBandwidth(300.0)
                    .bandwidth(100.0)
                    .elasticBandwidthFlag(false)
                    .build())
                .tagInfoLists(AntiddosBgpInstanceTagInfoListArgs.builder()
                    .tagKey("createBy")
                    .tagValue("Terraform")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:AntiddosBgpInstance
        properties:
          instanceChargeType: POSTPAID_BY_MONTH
          packageType: Enterprise
          enterprisePackageConfig:
            region: ap-guangzhou
            protectIpCount: 10
            basicProtectBandwidth: 300
            bandwidth: 100
            elasticBandwidthFlag: false
          tagInfoLists:
            - tagKey: createBy
              tagValue: Terraform
    

    Create AntiddosBgpInstance Resource

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

    Constructor syntax

    new AntiddosBgpInstance(name: string, args: AntiddosBgpInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def AntiddosBgpInstance(resource_name: str,
                            args: AntiddosBgpInstanceArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def AntiddosBgpInstance(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            instance_charge_type: Optional[str] = None,
                            package_type: Optional[str] = None,
                            antiddos_bgp_instance_id: Optional[str] = None,
                            enterprise_package_config: Optional[AntiddosBgpInstanceEnterprisePackageConfigArgs] = None,
                            instance_charge_prepaid: Optional[AntiddosBgpInstanceInstanceChargePrepaidArgs] = None,
                            standard_package_config: Optional[AntiddosBgpInstanceStandardPackageConfigArgs] = None,
                            standard_plus_package_config: Optional[AntiddosBgpInstanceStandardPlusPackageConfigArgs] = None,
                            tag_info_lists: Optional[Sequence[AntiddosBgpInstanceTagInfoListArgs]] = None)
    func NewAntiddosBgpInstance(ctx *Context, name string, args AntiddosBgpInstanceArgs, opts ...ResourceOption) (*AntiddosBgpInstance, error)
    public AntiddosBgpInstance(string name, AntiddosBgpInstanceArgs args, CustomResourceOptions? opts = null)
    public AntiddosBgpInstance(String name, AntiddosBgpInstanceArgs args)
    public AntiddosBgpInstance(String name, AntiddosBgpInstanceArgs args, CustomResourceOptions options)
    
    type: tencentcloud:AntiddosBgpInstance
    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 AntiddosBgpInstanceArgs
    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 AntiddosBgpInstanceArgs
    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 AntiddosBgpInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AntiddosBgpInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AntiddosBgpInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    InstanceChargeType string
    Payment Type: Payment Mode: PREPAID (Prepaid) / POSTPAID_BY_MONTH (Postpaid).
    PackageType string
    High-defense package types: Enterprise, Standard, StandardPlus (Standard Edition 2.0).
    AntiddosBgpInstanceId string
    ID of the resource.
    EnterprisePackageConfig AntiddosBgpInstanceEnterprisePackageConfig
    Enterprise package configuration.
    InstanceChargePrepaid AntiddosBgpInstanceInstanceChargePrepaid
    Prepaid configuration.
    StandardPackageConfig AntiddosBgpInstanceStandardPackageConfig
    Standard package configuration.
    StandardPlusPackageConfig AntiddosBgpInstanceStandardPlusPackageConfig
    Standard Plus package configuration.
    TagInfoLists List<AntiddosBgpInstanceTagInfoList>
    Prepaid configuration.
    InstanceChargeType string
    Payment Type: Payment Mode: PREPAID (Prepaid) / POSTPAID_BY_MONTH (Postpaid).
    PackageType string
    High-defense package types: Enterprise, Standard, StandardPlus (Standard Edition 2.0).
    AntiddosBgpInstanceId string
    ID of the resource.
    EnterprisePackageConfig AntiddosBgpInstanceEnterprisePackageConfigArgs
    Enterprise package configuration.
    InstanceChargePrepaid AntiddosBgpInstanceInstanceChargePrepaidArgs
    Prepaid configuration.
    StandardPackageConfig AntiddosBgpInstanceStandardPackageConfigArgs
    Standard package configuration.
    StandardPlusPackageConfig AntiddosBgpInstanceStandardPlusPackageConfigArgs
    Standard Plus package configuration.
    TagInfoLists []AntiddosBgpInstanceTagInfoListArgs
    Prepaid configuration.
    instanceChargeType String
    Payment Type: Payment Mode: PREPAID (Prepaid) / POSTPAID_BY_MONTH (Postpaid).
    packageType String
    High-defense package types: Enterprise, Standard, StandardPlus (Standard Edition 2.0).
    antiddosBgpInstanceId String
    ID of the resource.
    enterprisePackageConfig AntiddosBgpInstanceEnterprisePackageConfig
    Enterprise package configuration.
    instanceChargePrepaid AntiddosBgpInstanceInstanceChargePrepaid
    Prepaid configuration.
    standardPackageConfig AntiddosBgpInstanceStandardPackageConfig
    Standard package configuration.
    standardPlusPackageConfig AntiddosBgpInstanceStandardPlusPackageConfig
    Standard Plus package configuration.
    tagInfoLists List<AntiddosBgpInstanceTagInfoList>
    Prepaid configuration.
    instanceChargeType string
    Payment Type: Payment Mode: PREPAID (Prepaid) / POSTPAID_BY_MONTH (Postpaid).
    packageType string
    High-defense package types: Enterprise, Standard, StandardPlus (Standard Edition 2.0).
    antiddosBgpInstanceId string
    ID of the resource.
    enterprisePackageConfig AntiddosBgpInstanceEnterprisePackageConfig
    Enterprise package configuration.
    instanceChargePrepaid AntiddosBgpInstanceInstanceChargePrepaid
    Prepaid configuration.
    standardPackageConfig AntiddosBgpInstanceStandardPackageConfig
    Standard package configuration.
    standardPlusPackageConfig AntiddosBgpInstanceStandardPlusPackageConfig
    Standard Plus package configuration.
    tagInfoLists AntiddosBgpInstanceTagInfoList[]
    Prepaid configuration.
    instance_charge_type str
    Payment Type: Payment Mode: PREPAID (Prepaid) / POSTPAID_BY_MONTH (Postpaid).
    package_type str
    High-defense package types: Enterprise, Standard, StandardPlus (Standard Edition 2.0).
    antiddos_bgp_instance_id str
    ID of the resource.
    enterprise_package_config AntiddosBgpInstanceEnterprisePackageConfigArgs
    Enterprise package configuration.
    instance_charge_prepaid AntiddosBgpInstanceInstanceChargePrepaidArgs
    Prepaid configuration.
    standard_package_config AntiddosBgpInstanceStandardPackageConfigArgs
    Standard package configuration.
    standard_plus_package_config AntiddosBgpInstanceStandardPlusPackageConfigArgs
    Standard Plus package configuration.
    tag_info_lists Sequence[AntiddosBgpInstanceTagInfoListArgs]
    Prepaid configuration.
    instanceChargeType String
    Payment Type: Payment Mode: PREPAID (Prepaid) / POSTPAID_BY_MONTH (Postpaid).
    packageType String
    High-defense package types: Enterprise, Standard, StandardPlus (Standard Edition 2.0).
    antiddosBgpInstanceId String
    ID of the resource.
    enterprisePackageConfig Property Map
    Enterprise package configuration.
    instanceChargePrepaid Property Map
    Prepaid configuration.
    standardPackageConfig Property Map
    Standard package configuration.
    standardPlusPackageConfig Property Map
    Standard Plus package configuration.
    tagInfoLists List<Property Map>
    Prepaid configuration.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AntiddosBgpInstance resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceId string
    Bgp instance ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceId string
    Bgp instance ID.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceId String
    Bgp instance ID.
    id string
    The provider-assigned unique ID for this managed resource.
    resourceId string
    Bgp instance ID.
    id str
    The provider-assigned unique ID for this managed resource.
    resource_id str
    Bgp instance ID.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceId String
    Bgp instance ID.

    Look up Existing AntiddosBgpInstance Resource

    Get an existing AntiddosBgpInstance 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?: AntiddosBgpInstanceState, opts?: CustomResourceOptions): AntiddosBgpInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            antiddos_bgp_instance_id: Optional[str] = None,
            enterprise_package_config: Optional[AntiddosBgpInstanceEnterprisePackageConfigArgs] = None,
            instance_charge_prepaid: Optional[AntiddosBgpInstanceInstanceChargePrepaidArgs] = None,
            instance_charge_type: Optional[str] = None,
            package_type: Optional[str] = None,
            resource_id: Optional[str] = None,
            standard_package_config: Optional[AntiddosBgpInstanceStandardPackageConfigArgs] = None,
            standard_plus_package_config: Optional[AntiddosBgpInstanceStandardPlusPackageConfigArgs] = None,
            tag_info_lists: Optional[Sequence[AntiddosBgpInstanceTagInfoListArgs]] = None) -> AntiddosBgpInstance
    func GetAntiddosBgpInstance(ctx *Context, name string, id IDInput, state *AntiddosBgpInstanceState, opts ...ResourceOption) (*AntiddosBgpInstance, error)
    public static AntiddosBgpInstance Get(string name, Input<string> id, AntiddosBgpInstanceState? state, CustomResourceOptions? opts = null)
    public static AntiddosBgpInstance get(String name, Output<String> id, AntiddosBgpInstanceState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:AntiddosBgpInstance    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:
    AntiddosBgpInstanceId string
    ID of the resource.
    EnterprisePackageConfig AntiddosBgpInstanceEnterprisePackageConfig
    Enterprise package configuration.
    InstanceChargePrepaid AntiddosBgpInstanceInstanceChargePrepaid
    Prepaid configuration.
    InstanceChargeType string
    Payment Type: Payment Mode: PREPAID (Prepaid) / POSTPAID_BY_MONTH (Postpaid).
    PackageType string
    High-defense package types: Enterprise, Standard, StandardPlus (Standard Edition 2.0).
    ResourceId string
    Bgp instance ID.
    StandardPackageConfig AntiddosBgpInstanceStandardPackageConfig
    Standard package configuration.
    StandardPlusPackageConfig AntiddosBgpInstanceStandardPlusPackageConfig
    Standard Plus package configuration.
    TagInfoLists List<AntiddosBgpInstanceTagInfoList>
    Prepaid configuration.
    AntiddosBgpInstanceId string
    ID of the resource.
    EnterprisePackageConfig AntiddosBgpInstanceEnterprisePackageConfigArgs
    Enterprise package configuration.
    InstanceChargePrepaid AntiddosBgpInstanceInstanceChargePrepaidArgs
    Prepaid configuration.
    InstanceChargeType string
    Payment Type: Payment Mode: PREPAID (Prepaid) / POSTPAID_BY_MONTH (Postpaid).
    PackageType string
    High-defense package types: Enterprise, Standard, StandardPlus (Standard Edition 2.0).
    ResourceId string
    Bgp instance ID.
    StandardPackageConfig AntiddosBgpInstanceStandardPackageConfigArgs
    Standard package configuration.
    StandardPlusPackageConfig AntiddosBgpInstanceStandardPlusPackageConfigArgs
    Standard Plus package configuration.
    TagInfoLists []AntiddosBgpInstanceTagInfoListArgs
    Prepaid configuration.
    antiddosBgpInstanceId String
    ID of the resource.
    enterprisePackageConfig AntiddosBgpInstanceEnterprisePackageConfig
    Enterprise package configuration.
    instanceChargePrepaid AntiddosBgpInstanceInstanceChargePrepaid
    Prepaid configuration.
    instanceChargeType String
    Payment Type: Payment Mode: PREPAID (Prepaid) / POSTPAID_BY_MONTH (Postpaid).
    packageType String
    High-defense package types: Enterprise, Standard, StandardPlus (Standard Edition 2.0).
    resourceId String
    Bgp instance ID.
    standardPackageConfig AntiddosBgpInstanceStandardPackageConfig
    Standard package configuration.
    standardPlusPackageConfig AntiddosBgpInstanceStandardPlusPackageConfig
    Standard Plus package configuration.
    tagInfoLists List<AntiddosBgpInstanceTagInfoList>
    Prepaid configuration.
    antiddosBgpInstanceId string
    ID of the resource.
    enterprisePackageConfig AntiddosBgpInstanceEnterprisePackageConfig
    Enterprise package configuration.
    instanceChargePrepaid AntiddosBgpInstanceInstanceChargePrepaid
    Prepaid configuration.
    instanceChargeType string
    Payment Type: Payment Mode: PREPAID (Prepaid) / POSTPAID_BY_MONTH (Postpaid).
    packageType string
    High-defense package types: Enterprise, Standard, StandardPlus (Standard Edition 2.0).
    resourceId string
    Bgp instance ID.
    standardPackageConfig AntiddosBgpInstanceStandardPackageConfig
    Standard package configuration.
    standardPlusPackageConfig AntiddosBgpInstanceStandardPlusPackageConfig
    Standard Plus package configuration.
    tagInfoLists AntiddosBgpInstanceTagInfoList[]
    Prepaid configuration.
    antiddos_bgp_instance_id str
    ID of the resource.
    enterprise_package_config AntiddosBgpInstanceEnterprisePackageConfigArgs
    Enterprise package configuration.
    instance_charge_prepaid AntiddosBgpInstanceInstanceChargePrepaidArgs
    Prepaid configuration.
    instance_charge_type str
    Payment Type: Payment Mode: PREPAID (Prepaid) / POSTPAID_BY_MONTH (Postpaid).
    package_type str
    High-defense package types: Enterprise, Standard, StandardPlus (Standard Edition 2.0).
    resource_id str
    Bgp instance ID.
    standard_package_config AntiddosBgpInstanceStandardPackageConfigArgs
    Standard package configuration.
    standard_plus_package_config AntiddosBgpInstanceStandardPlusPackageConfigArgs
    Standard Plus package configuration.
    tag_info_lists Sequence[AntiddosBgpInstanceTagInfoListArgs]
    Prepaid configuration.
    antiddosBgpInstanceId String
    ID of the resource.
    enterprisePackageConfig Property Map
    Enterprise package configuration.
    instanceChargePrepaid Property Map
    Prepaid configuration.
    instanceChargeType String
    Payment Type: Payment Mode: PREPAID (Prepaid) / POSTPAID_BY_MONTH (Postpaid).
    packageType String
    High-defense package types: Enterprise, Standard, StandardPlus (Standard Edition 2.0).
    resourceId String
    Bgp instance ID.
    standardPackageConfig Property Map
    Standard package configuration.
    standardPlusPackageConfig Property Map
    Standard Plus package configuration.
    tagInfoLists List<Property Map>
    Prepaid configuration.

    Supporting Types

    AntiddosBgpInstanceEnterprisePackageConfig, AntiddosBgpInstanceEnterprisePackageConfigArgs

    Bandwidth double
    Service bandwidth scale.
    BasicProtectBandwidth double
    Guaranteed protection bandwidth.
    ProtectIpCount double
    Number of protected IPs.
    Region string
    The region where the high-defense package was purchased.
    ElasticBandwidthFlag bool
    Whether to enable elastic service bandwidth. The default value is false.
    ElasticProtectBandwidth double
    Elastic bandwidth (Gbps), selectable elastic bandwidth [0, 400, 500, 600, 800, 1000], default is 0.
    Bandwidth float64
    Service bandwidth scale.
    BasicProtectBandwidth float64
    Guaranteed protection bandwidth.
    ProtectIpCount float64
    Number of protected IPs.
    Region string
    The region where the high-defense package was purchased.
    ElasticBandwidthFlag bool
    Whether to enable elastic service bandwidth. The default value is false.
    ElasticProtectBandwidth float64
    Elastic bandwidth (Gbps), selectable elastic bandwidth [0, 400, 500, 600, 800, 1000], default is 0.
    bandwidth Double
    Service bandwidth scale.
    basicProtectBandwidth Double
    Guaranteed protection bandwidth.
    protectIpCount Double
    Number of protected IPs.
    region String
    The region where the high-defense package was purchased.
    elasticBandwidthFlag Boolean
    Whether to enable elastic service bandwidth. The default value is false.
    elasticProtectBandwidth Double
    Elastic bandwidth (Gbps), selectable elastic bandwidth [0, 400, 500, 600, 800, 1000], default is 0.
    bandwidth number
    Service bandwidth scale.
    basicProtectBandwidth number
    Guaranteed protection bandwidth.
    protectIpCount number
    Number of protected IPs.
    region string
    The region where the high-defense package was purchased.
    elasticBandwidthFlag boolean
    Whether to enable elastic service bandwidth. The default value is false.
    elasticProtectBandwidth number
    Elastic bandwidth (Gbps), selectable elastic bandwidth [0, 400, 500, 600, 800, 1000], default is 0.
    bandwidth float
    Service bandwidth scale.
    basic_protect_bandwidth float
    Guaranteed protection bandwidth.
    protect_ip_count float
    Number of protected IPs.
    region str
    The region where the high-defense package was purchased.
    elastic_bandwidth_flag bool
    Whether to enable elastic service bandwidth. The default value is false.
    elastic_protect_bandwidth float
    Elastic bandwidth (Gbps), selectable elastic bandwidth [0, 400, 500, 600, 800, 1000], default is 0.
    bandwidth Number
    Service bandwidth scale.
    basicProtectBandwidth Number
    Guaranteed protection bandwidth.
    protectIpCount Number
    Number of protected IPs.
    region String
    The region where the high-defense package was purchased.
    elasticBandwidthFlag Boolean
    Whether to enable elastic service bandwidth. The default value is false.
    elasticProtectBandwidth Number
    Elastic bandwidth (Gbps), selectable elastic bandwidth [0, 400, 500, 600, 800, 1000], default is 0.

    AntiddosBgpInstanceInstanceChargePrepaid, AntiddosBgpInstanceInstanceChargePrepaidArgs

    Period double
    Purchase period in months.
    RenewFlag string
    OTIFY_AND_MANUAL_RENEW: Notify the user of the expiration date and do not automatically renew. NOTIFY_AND_AUTO_RENEW: Notify the user of the expiration date and automatically renew. DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not notify the user of the expiration date and do not automatically renew. The default is: Notify the user of the expiration date and do not automatically renew.
    Period float64
    Purchase period in months.
    RenewFlag string
    OTIFY_AND_MANUAL_RENEW: Notify the user of the expiration date and do not automatically renew. NOTIFY_AND_AUTO_RENEW: Notify the user of the expiration date and automatically renew. DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not notify the user of the expiration date and do not automatically renew. The default is: Notify the user of the expiration date and do not automatically renew.
    period Double
    Purchase period in months.
    renewFlag String
    OTIFY_AND_MANUAL_RENEW: Notify the user of the expiration date and do not automatically renew. NOTIFY_AND_AUTO_RENEW: Notify the user of the expiration date and automatically renew. DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not notify the user of the expiration date and do not automatically renew. The default is: Notify the user of the expiration date and do not automatically renew.
    period number
    Purchase period in months.
    renewFlag string
    OTIFY_AND_MANUAL_RENEW: Notify the user of the expiration date and do not automatically renew. NOTIFY_AND_AUTO_RENEW: Notify the user of the expiration date and automatically renew. DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not notify the user of the expiration date and do not automatically renew. The default is: Notify the user of the expiration date and do not automatically renew.
    period float
    Purchase period in months.
    renew_flag str
    OTIFY_AND_MANUAL_RENEW: Notify the user of the expiration date and do not automatically renew. NOTIFY_AND_AUTO_RENEW: Notify the user of the expiration date and automatically renew. DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not notify the user of the expiration date and do not automatically renew. The default is: Notify the user of the expiration date and do not automatically renew.
    period Number
    Purchase period in months.
    renewFlag String
    OTIFY_AND_MANUAL_RENEW: Notify the user of the expiration date and do not automatically renew. NOTIFY_AND_AUTO_RENEW: Notify the user of the expiration date and automatically renew. DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not notify the user of the expiration date and do not automatically renew. The default is: Notify the user of the expiration date and do not automatically renew.

    AntiddosBgpInstanceStandardPackageConfig, AntiddosBgpInstanceStandardPackageConfigArgs

    Bandwidth double
    Protected service bandwidth 50Mbps.
    ProtectIpCount double
    Number of protected IPs.
    Region string
    The region where the high-defense package was purchased.
    ElasticBandwidthFlag bool
    Whether to enable elastic service bandwidth. The default value is false.
    Bandwidth float64
    Protected service bandwidth 50Mbps.
    ProtectIpCount float64
    Number of protected IPs.
    Region string
    The region where the high-defense package was purchased.
    ElasticBandwidthFlag bool
    Whether to enable elastic service bandwidth. The default value is false.
    bandwidth Double
    Protected service bandwidth 50Mbps.
    protectIpCount Double
    Number of protected IPs.
    region String
    The region where the high-defense package was purchased.
    elasticBandwidthFlag Boolean
    Whether to enable elastic service bandwidth. The default value is false.
    bandwidth number
    Protected service bandwidth 50Mbps.
    protectIpCount number
    Number of protected IPs.
    region string
    The region where the high-defense package was purchased.
    elasticBandwidthFlag boolean
    Whether to enable elastic service bandwidth. The default value is false.
    bandwidth float
    Protected service bandwidth 50Mbps.
    protect_ip_count float
    Number of protected IPs.
    region str
    The region where the high-defense package was purchased.
    elastic_bandwidth_flag bool
    Whether to enable elastic service bandwidth. The default value is false.
    bandwidth Number
    Protected service bandwidth 50Mbps.
    protectIpCount Number
    Number of protected IPs.
    region String
    The region where the high-defense package was purchased.
    elasticBandwidthFlag Boolean
    Whether to enable elastic service bandwidth. The default value is false.

    AntiddosBgpInstanceStandardPlusPackageConfig, AntiddosBgpInstanceStandardPlusPackageConfigArgs

    Bandwidth double
    50Mbps protected bandwidth.
    ProtectCount string
    Protection Count: TWO_TIMES: Two full-power protections; UNLIMITED: Infinite protections.
    ProtectIpCount double
    Number of protected IPs.
    Region string
    The region where the high-defense package was purchased.
    ElasticBandwidthFlag bool
    Whether to enable elastic service bandwidth. The default value is false.
    Bandwidth float64
    50Mbps protected bandwidth.
    ProtectCount string
    Protection Count: TWO_TIMES: Two full-power protections; UNLIMITED: Infinite protections.
    ProtectIpCount float64
    Number of protected IPs.
    Region string
    The region where the high-defense package was purchased.
    ElasticBandwidthFlag bool
    Whether to enable elastic service bandwidth. The default value is false.
    bandwidth Double
    50Mbps protected bandwidth.
    protectCount String
    Protection Count: TWO_TIMES: Two full-power protections; UNLIMITED: Infinite protections.
    protectIpCount Double
    Number of protected IPs.
    region String
    The region where the high-defense package was purchased.
    elasticBandwidthFlag Boolean
    Whether to enable elastic service bandwidth. The default value is false.
    bandwidth number
    50Mbps protected bandwidth.
    protectCount string
    Protection Count: TWO_TIMES: Two full-power protections; UNLIMITED: Infinite protections.
    protectIpCount number
    Number of protected IPs.
    region string
    The region where the high-defense package was purchased.
    elasticBandwidthFlag boolean
    Whether to enable elastic service bandwidth. The default value is false.
    bandwidth float
    50Mbps protected bandwidth.
    protect_count str
    Protection Count: TWO_TIMES: Two full-power protections; UNLIMITED: Infinite protections.
    protect_ip_count float
    Number of protected IPs.
    region str
    The region where the high-defense package was purchased.
    elastic_bandwidth_flag bool
    Whether to enable elastic service bandwidth. The default value is false.
    bandwidth Number
    50Mbps protected bandwidth.
    protectCount String
    Protection Count: TWO_TIMES: Two full-power protections; UNLIMITED: Infinite protections.
    protectIpCount Number
    Number of protected IPs.
    region String
    The region where the high-defense package was purchased.
    elasticBandwidthFlag Boolean
    Whether to enable elastic service bandwidth. The default value is false.

    AntiddosBgpInstanceTagInfoList, AntiddosBgpInstanceTagInfoListArgs

    TagKey string
    Tag key.
    TagValue string
    Tag value.
    TagKey string
    Tag key.
    TagValue string
    Tag value.
    tagKey String
    Tag key.
    tagValue String
    Tag value.
    tagKey string
    Tag key.
    tagValue string
    Tag value.
    tag_key str
    Tag key.
    tag_value str
    Tag value.
    tagKey String
    Tag key.
    tagValue String
    Tag value.

    Import

    AntiDDoS bgp instance can be imported using the resourceId#packageRegion, e.g.

    $ pulumi import tencentcloud:index/antiddosBgpInstance:AntiddosBgpInstance example bgp-00000fyi#ap-guangzhou
    

    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.
    tencentcloud logo
    tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate