1. Packages
  2. Ucloud Provider
  3. API Docs
  4. AntiDdosInstance
ucloud 1.39.1 published on Monday, Apr 14, 2025 by ucloud

ucloud.AntiDdosInstance

Explore with Pulumi AI

ucloud logo
ucloud 1.39.1 published on Monday, Apr 14, 2025 by ucloud

    Provides an Anti-DDoS instance resource in Mainland China.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ucloud from "@pulumi/ucloud";
    
    const foo = new ucloud.AntiDdosInstance("foo", {
        area: "EastChina",
        bandwidth: 50,
        baseDefenceValue: 30,
        dataCenter: "Zaozhuang",
        maxDefenceValue: 30,
    });
    
    import pulumi
    import pulumi_ucloud as ucloud
    
    foo = ucloud.AntiDdosInstance("foo",
        area="EastChina",
        bandwidth=50,
        base_defence_value=30,
        data_center="Zaozhuang",
        max_defence_value=30)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ucloud/ucloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ucloud.NewAntiDdosInstance(ctx, "foo", &ucloud.AntiDdosInstanceArgs{
    			Area:             pulumi.String("EastChina"),
    			Bandwidth:        pulumi.Float64(50),
    			BaseDefenceValue: pulumi.Float64(30),
    			DataCenter:       pulumi.String("Zaozhuang"),
    			MaxDefenceValue:  pulumi.Float64(30),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ucloud = Pulumi.Ucloud;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Ucloud.AntiDdosInstance("foo", new()
        {
            Area = "EastChina",
            Bandwidth = 50,
            BaseDefenceValue = 30,
            DataCenter = "Zaozhuang",
            MaxDefenceValue = 30,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ucloud.AntiDdosInstance;
    import com.pulumi.ucloud.AntiDdosInstanceArgs;
    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 foo = new AntiDdosInstance("foo", AntiDdosInstanceArgs.builder()
                .area("EastChina")
                .bandwidth(50)
                .baseDefenceValue(30)
                .dataCenter("Zaozhuang")
                .maxDefenceValue(30)
                .build());
    
        }
    }
    
    resources:
      foo:
        type: ucloud:AntiDdosInstance
        properties:
          area: EastChina
          bandwidth: 50
          baseDefenceValue: 30
          dataCenter: Zaozhuang
          maxDefenceValue: 30
    

    Create AntiDdosInstance Resource

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

    Constructor syntax

    new AntiDdosInstance(name: string, args: AntiDdosInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def AntiDdosInstance(resource_name: str,
                         args: AntiDdosInstanceArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def AntiDdosInstance(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         area: Optional[str] = None,
                         bandwidth: Optional[float] = None,
                         base_defence_value: Optional[float] = None,
                         data_center: Optional[str] = None,
                         max_defence_value: Optional[float] = None,
                         anti_ddos_instance_id: Optional[str] = None,
                         charge_type: Optional[str] = None,
                         duration: Optional[float] = None,
                         name: Optional[str] = None)
    func NewAntiDdosInstance(ctx *Context, name string, args AntiDdosInstanceArgs, opts ...ResourceOption) (*AntiDdosInstance, error)
    public AntiDdosInstance(string name, AntiDdosInstanceArgs args, CustomResourceOptions? opts = null)
    public AntiDdosInstance(String name, AntiDdosInstanceArgs args)
    public AntiDdosInstance(String name, AntiDdosInstanceArgs args, CustomResourceOptions options)
    
    type: ucloud:AntiDdosInstance
    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 AntiDdosInstanceArgs
    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 AntiDdosInstanceArgs
    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 AntiDdosInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AntiDdosInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AntiDdosInstanceArgs
    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 antiDdosInstanceResource = new Ucloud.AntiDdosInstance("antiDdosInstanceResource", new()
    {
        Area = "string",
        Bandwidth = 0,
        BaseDefenceValue = 0,
        DataCenter = "string",
        MaxDefenceValue = 0,
        AntiDdosInstanceId = "string",
        ChargeType = "string",
        Duration = 0,
        Name = "string",
    });
    
    example, err := ucloud.NewAntiDdosInstance(ctx, "antiDdosInstanceResource", &ucloud.AntiDdosInstanceArgs{
    	Area:               pulumi.String("string"),
    	Bandwidth:          pulumi.Float64(0),
    	BaseDefenceValue:   pulumi.Float64(0),
    	DataCenter:         pulumi.String("string"),
    	MaxDefenceValue:    pulumi.Float64(0),
    	AntiDdosInstanceId: pulumi.String("string"),
    	ChargeType:         pulumi.String("string"),
    	Duration:           pulumi.Float64(0),
    	Name:               pulumi.String("string"),
    })
    
    var antiDdosInstanceResource = new AntiDdosInstance("antiDdosInstanceResource", AntiDdosInstanceArgs.builder()
        .area("string")
        .bandwidth(0)
        .baseDefenceValue(0)
        .dataCenter("string")
        .maxDefenceValue(0)
        .antiDdosInstanceId("string")
        .chargeType("string")
        .duration(0)
        .name("string")
        .build());
    
    anti_ddos_instance_resource = ucloud.AntiDdosInstance("antiDdosInstanceResource",
        area="string",
        bandwidth=0,
        base_defence_value=0,
        data_center="string",
        max_defence_value=0,
        anti_ddos_instance_id="string",
        charge_type="string",
        duration=0,
        name="string")
    
    const antiDdosInstanceResource = new ucloud.AntiDdosInstance("antiDdosInstanceResource", {
        area: "string",
        bandwidth: 0,
        baseDefenceValue: 0,
        dataCenter: "string",
        maxDefenceValue: 0,
        antiDdosInstanceId: "string",
        chargeType: "string",
        duration: 0,
        name: "string",
    });
    
    type: ucloud:AntiDdosInstance
    properties:
        antiDdosInstanceId: string
        area: string
        bandwidth: 0
        baseDefenceValue: 0
        chargeType: string
        dataCenter: string
        duration: 0
        maxDefenceValue: 0
        name: string
    

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

    Area string
    The area where the instance is deployed. The value can be EastChina or NorthChina.
    Bandwidth double
    Size of the service bandwidth, whose unit is Mbps.
    BaseDefenceValue double
    Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
    DataCenter string
    The data center where the instance is deployed. The value can be Zaozhuang, Yangzhou or Taizhou for EastChina area, and Shijiazhuang for NorthChina area.
    MaxDefenceValue double
    Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
    AntiDdosInstanceId string
    The ID of the resource ucloud_anti_ddos_instance.
    ChargeType string
    The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
    Duration double
    The duration that you will buy the instance (Default: 1).
    Name string
    The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
    Area string
    The area where the instance is deployed. The value can be EastChina or NorthChina.
    Bandwidth float64
    Size of the service bandwidth, whose unit is Mbps.
    BaseDefenceValue float64
    Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
    DataCenter string
    The data center where the instance is deployed. The value can be Zaozhuang, Yangzhou or Taizhou for EastChina area, and Shijiazhuang for NorthChina area.
    MaxDefenceValue float64
    Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
    AntiDdosInstanceId string
    The ID of the resource ucloud_anti_ddos_instance.
    ChargeType string
    The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
    Duration float64
    The duration that you will buy the instance (Default: 1).
    Name string
    The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
    area String
    The area where the instance is deployed. The value can be EastChina or NorthChina.
    bandwidth Double
    Size of the service bandwidth, whose unit is Mbps.
    baseDefenceValue Double
    Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
    dataCenter String
    The data center where the instance is deployed. The value can be Zaozhuang, Yangzhou or Taizhou for EastChina area, and Shijiazhuang for NorthChina area.
    maxDefenceValue Double
    Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
    antiDdosInstanceId String
    The ID of the resource ucloud_anti_ddos_instance.
    chargeType String
    The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
    duration Double
    The duration that you will buy the instance (Default: 1).
    name String
    The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
    area string
    The area where the instance is deployed. The value can be EastChina or NorthChina.
    bandwidth number
    Size of the service bandwidth, whose unit is Mbps.
    baseDefenceValue number
    Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
    dataCenter string
    The data center where the instance is deployed. The value can be Zaozhuang, Yangzhou or Taizhou for EastChina area, and Shijiazhuang for NorthChina area.
    maxDefenceValue number
    Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
    antiDdosInstanceId string
    The ID of the resource ucloud_anti_ddos_instance.
    chargeType string
    The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
    duration number
    The duration that you will buy the instance (Default: 1).
    name string
    The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
    area str
    The area where the instance is deployed. The value can be EastChina or NorthChina.
    bandwidth float
    Size of the service bandwidth, whose unit is Mbps.
    base_defence_value float
    Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
    data_center str
    The data center where the instance is deployed. The value can be Zaozhuang, Yangzhou or Taizhou for EastChina area, and Shijiazhuang for NorthChina area.
    max_defence_value float
    Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
    anti_ddos_instance_id str
    The ID of the resource ucloud_anti_ddos_instance.
    charge_type str
    The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
    duration float
    The duration that you will buy the instance (Default: 1).
    name str
    The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
    area String
    The area where the instance is deployed. The value can be EastChina or NorthChina.
    bandwidth Number
    Size of the service bandwidth, whose unit is Mbps.
    baseDefenceValue Number
    Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
    dataCenter String
    The data center where the instance is deployed. The value can be Zaozhuang, Yangzhou or Taizhou for EastChina area, and Shijiazhuang for NorthChina area.
    maxDefenceValue Number
    Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
    antiDdosInstanceId String
    The ID of the resource ucloud_anti_ddos_instance.
    chargeType String
    The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
    duration Number
    The duration that you will buy the instance (Default: 1).
    name String
    The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.

    Outputs

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

    CreateTime string
    The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    ExpireTime string
    The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of ucloud_anti_ddos_instance. Possible values are Started, Stopped and Expired.
    CreateTime string
    The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    ExpireTime string
    The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of ucloud_anti_ddos_instance. Possible values are Started, Stopped and Expired.
    createTime String
    The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    expireTime String
    The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of ucloud_anti_ddos_instance. Possible values are Started, Stopped and Expired.
    createTime string
    The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    expireTime string
    The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of ucloud_anti_ddos_instance. Possible values are Started, Stopped and Expired.
    create_time str
    The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    expire_time str
    The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of ucloud_anti_ddos_instance. Possible values are Started, Stopped and Expired.
    createTime String
    The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    expireTime String
    The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of ucloud_anti_ddos_instance. Possible values are Started, Stopped and Expired.

    Look up Existing AntiDdosInstance Resource

    Get an existing AntiDdosInstance 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?: AntiDdosInstanceState, opts?: CustomResourceOptions): AntiDdosInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            anti_ddos_instance_id: Optional[str] = None,
            area: Optional[str] = None,
            bandwidth: Optional[float] = None,
            base_defence_value: Optional[float] = None,
            charge_type: Optional[str] = None,
            create_time: Optional[str] = None,
            data_center: Optional[str] = None,
            duration: Optional[float] = None,
            expire_time: Optional[str] = None,
            max_defence_value: Optional[float] = None,
            name: Optional[str] = None,
            status: Optional[str] = None) -> AntiDdosInstance
    func GetAntiDdosInstance(ctx *Context, name string, id IDInput, state *AntiDdosInstanceState, opts ...ResourceOption) (*AntiDdosInstance, error)
    public static AntiDdosInstance Get(string name, Input<string> id, AntiDdosInstanceState? state, CustomResourceOptions? opts = null)
    public static AntiDdosInstance get(String name, Output<String> id, AntiDdosInstanceState state, CustomResourceOptions options)
    resources:  _:    type: ucloud:AntiDdosInstance    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:
    AntiDdosInstanceId string
    The ID of the resource ucloud_anti_ddos_instance.
    Area string
    The area where the instance is deployed. The value can be EastChina or NorthChina.
    Bandwidth double
    Size of the service bandwidth, whose unit is Mbps.
    BaseDefenceValue double
    Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
    ChargeType string
    The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
    CreateTime string
    The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    DataCenter string
    The data center where the instance is deployed. The value can be Zaozhuang, Yangzhou or Taizhou for EastChina area, and Shijiazhuang for NorthChina area.
    Duration double
    The duration that you will buy the instance (Default: 1).
    ExpireTime string
    The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    MaxDefenceValue double
    Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
    Name string
    The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
    Status string
    The status of ucloud_anti_ddos_instance. Possible values are Started, Stopped and Expired.
    AntiDdosInstanceId string
    The ID of the resource ucloud_anti_ddos_instance.
    Area string
    The area where the instance is deployed. The value can be EastChina or NorthChina.
    Bandwidth float64
    Size of the service bandwidth, whose unit is Mbps.
    BaseDefenceValue float64
    Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
    ChargeType string
    The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
    CreateTime string
    The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    DataCenter string
    The data center where the instance is deployed. The value can be Zaozhuang, Yangzhou or Taizhou for EastChina area, and Shijiazhuang for NorthChina area.
    Duration float64
    The duration that you will buy the instance (Default: 1).
    ExpireTime string
    The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    MaxDefenceValue float64
    Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
    Name string
    The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
    Status string
    The status of ucloud_anti_ddos_instance. Possible values are Started, Stopped and Expired.
    antiDdosInstanceId String
    The ID of the resource ucloud_anti_ddos_instance.
    area String
    The area where the instance is deployed. The value can be EastChina or NorthChina.
    bandwidth Double
    Size of the service bandwidth, whose unit is Mbps.
    baseDefenceValue Double
    Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
    chargeType String
    The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
    createTime String
    The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    dataCenter String
    The data center where the instance is deployed. The value can be Zaozhuang, Yangzhou or Taizhou for EastChina area, and Shijiazhuang for NorthChina area.
    duration Double
    The duration that you will buy the instance (Default: 1).
    expireTime String
    The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    maxDefenceValue Double
    Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
    name String
    The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
    status String
    The status of ucloud_anti_ddos_instance. Possible values are Started, Stopped and Expired.
    antiDdosInstanceId string
    The ID of the resource ucloud_anti_ddos_instance.
    area string
    The area where the instance is deployed. The value can be EastChina or NorthChina.
    bandwidth number
    Size of the service bandwidth, whose unit is Mbps.
    baseDefenceValue number
    Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
    chargeType string
    The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
    createTime string
    The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    dataCenter string
    The data center where the instance is deployed. The value can be Zaozhuang, Yangzhou or Taizhou for EastChina area, and Shijiazhuang for NorthChina area.
    duration number
    The duration that you will buy the instance (Default: 1).
    expireTime string
    The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    maxDefenceValue number
    Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
    name string
    The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
    status string
    The status of ucloud_anti_ddos_instance. Possible values are Started, Stopped and Expired.
    anti_ddos_instance_id str
    The ID of the resource ucloud_anti_ddos_instance.
    area str
    The area where the instance is deployed. The value can be EastChina or NorthChina.
    bandwidth float
    Size of the service bandwidth, whose unit is Mbps.
    base_defence_value float
    Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
    charge_type str
    The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
    create_time str
    The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    data_center str
    The data center where the instance is deployed. The value can be Zaozhuang, Yangzhou or Taizhou for EastChina area, and Shijiazhuang for NorthChina area.
    duration float
    The duration that you will buy the instance (Default: 1).
    expire_time str
    The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    max_defence_value float
    Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
    name str
    The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
    status str
    The status of ucloud_anti_ddos_instance. Possible values are Started, Stopped and Expired.
    antiDdosInstanceId String
    The ID of the resource ucloud_anti_ddos_instance.
    area String
    The area where the instance is deployed. The value can be EastChina or NorthChina.
    bandwidth Number
    Size of the service bandwidth, whose unit is Mbps.
    baseDefenceValue Number
    Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
    chargeType String
    The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
    createTime String
    The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    dataCenter String
    The data center where the instance is deployed. The value can be Zaozhuang, Yangzhou or Taizhou for EastChina area, and Shijiazhuang for NorthChina area.
    duration Number
    The duration that you will buy the instance (Default: 1).
    expireTime String
    The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
    maxDefenceValue Number
    Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
    name String
    The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
    status String
    The status of ucloud_anti_ddos_instance. Possible values are Started, Stopped and Expired.

    Import

    Anti-DDoS instance can be imported using the id, e.g.

    $ pulumi import ucloud:index/antiDdosInstance:AntiDdosInstance example usecure_ghp-xxx
    

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

    Package Details

    Repository
    ucloud ucloud/terraform-provider-ucloud
    License
    Notes
    This Pulumi package is based on the ucloud Terraform Provider.
    ucloud logo
    ucloud 1.39.1 published on Monday, Apr 14, 2025 by ucloud