1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. dns
  5. DdosCooInstance
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.dns.DdosCooInstance

Explore with Pulumi AI

Deprecated: alicloud.dns.DdosCooInstance has been deprecated in favor of alicloud.ddos.DdosCooInstance

Provides a BGP-line Anti-DDoS Pro(DdosCoo) Instance resource.

For information about BGP-line Anti-DDoS Pro(DdosCoo) Instance and how to use it, see What is Anti-DDoS Pro Instance.

NOTE: Available since v1.37.0.

NOTE: The endpoint of bssopenapi used only support “business.aliyuncs.com” at present.

NOTE: From version 1.214.0, if product_type is set to ddoscoo or ddoscoo_intl, the provider region should be set to cn-hangzhou, and if product_type is set to ddosDip, the provider region should be set to ap-southeast-1.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const _default = new alicloud.ddos.DdosCooInstance("default", {
    name: name,
    baseBandwidth: "30",
    bandwidth: "30",
    serviceBandwidth: "100",
    portCount: "50",
    domainCount: "50",
    productType: "ddoscoo",
    period: 1,
});
Copy
import pulumi
import pulumi_alicloud as alicloud

config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "tf-example"
default = alicloud.ddos.DdosCooInstance("default",
    name=name,
    base_bandwidth="30",
    bandwidth="30",
    service_bandwidth="100",
    port_count="50",
    domain_count="50",
    product_type="ddoscoo",
    period=1)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := ddos.NewDdosCooInstance(ctx, "default", &ddos.DdosCooInstanceArgs{
			Name:             pulumi.String(name),
			BaseBandwidth:    pulumi.String("30"),
			Bandwidth:        pulumi.String("30"),
			ServiceBandwidth: pulumi.String("100"),
			PortCount:        pulumi.String("50"),
			DomainCount:      pulumi.String("50"),
			ProductType:      pulumi.String("ddoscoo"),
			Period:           pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.Get("name") ?? "tf-example";
    var @default = new AliCloud.Ddos.DdosCooInstance("default", new()
    {
        Name = name,
        BaseBandwidth = "30",
        Bandwidth = "30",
        ServiceBandwidth = "100",
        PortCount = "50",
        DomainCount = "50",
        ProductType = "ddoscoo",
        Period = 1,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ddos.DdosCooInstance;
import com.pulumi.alicloud.ddos.DdosCooInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var config = ctx.config();
        final var name = config.get("name").orElse("tf-example");
        var default_ = new DdosCooInstance("default", DdosCooInstanceArgs.builder()
            .name(name)
            .baseBandwidth("30")
            .bandwidth("30")
            .serviceBandwidth("100")
            .portCount("50")
            .domainCount("50")
            .productType("ddoscoo")
            .period("1")
            .build());

    }
}
Copy
configuration:
  name:
    type: string
    default: tf-example
resources:
  default:
    type: alicloud:ddos:DdosCooInstance
    properties:
      name: ${name}
      baseBandwidth: '30'
      bandwidth: '30'
      serviceBandwidth: '100'
      portCount: '50'
      domainCount: '50'
      productType: ddoscoo
      period: '1'
Copy

Create DdosCooInstance Resource

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

Constructor syntax

new DdosCooInstance(name: string, args: DdosCooInstanceArgs, opts?: CustomResourceOptions);
@overload
def DdosCooInstance(resource_name: str,
                    args: DdosCooInstanceArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def DdosCooInstance(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    address_type: Optional[str] = None,
                    bandwidth: Optional[str] = None,
                    bandwidth_mode: Optional[str] = None,
                    base_bandwidth: Optional[str] = None,
                    domain_count: Optional[str] = None,
                    edition_sale: Optional[str] = None,
                    function_version: Optional[str] = None,
                    name: Optional[str] = None,
                    normal_bandwidth: Optional[str] = None,
                    normal_qps: Optional[str] = None,
                    period: Optional[int] = None,
                    port_count: Optional[str] = None,
                    product_plan: Optional[str] = None,
                    product_type: Optional[str] = None,
                    service_bandwidth: Optional[str] = None)
func NewDdosCooInstance(ctx *Context, name string, args DdosCooInstanceArgs, opts ...ResourceOption) (*DdosCooInstance, error)
public DdosCooInstance(string name, DdosCooInstanceArgs args, CustomResourceOptions? opts = null)
public DdosCooInstance(String name, DdosCooInstanceArgs args)
public DdosCooInstance(String name, DdosCooInstanceArgs args, CustomResourceOptions options)
type: alicloud:dns:DdosCooInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DdosCooInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DdosCooInstanceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DdosCooInstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DdosCooInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DdosCooInstanceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

DomainCount This property is required. string
Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
PortCount This property is required. string
Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
AddressType Changes to this property will trigger replacement. string
The IP version of the IP address. Default value: Ipv4. Valid values: Ipv4, Ipv6. NOTE: address_type is valid only when product_type is set to ddoscoo or ddoscoo_intl.
Bandwidth string
Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
BandwidthMode string
The mitigation plan of the instance. Valid values:
BaseBandwidth string
Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: base_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
EditionSale Changes to this property will trigger replacement. string
The mitigation plan of the instance. Default value: coop. Valid values:
FunctionVersion Changes to this property will trigger replacement. string
The function plan of the instance. Valid values:
Name string
Name of the instance. This name can have a string of 1 to 64 characters.
NormalBandwidth Changes to this property will trigger replacement. string
The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
NormalQps Changes to this property will trigger replacement. string
The clean QPS provided by the instance. NOTE: normal_qps is valid only when product_type is set to ddosDip.
Period int
The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], 12, 24, 36. Default value: 1. At present, the provider does not support modify period.
ProductPlan Changes to this property will trigger replacement. string
The mitigation plan of the instance. Valid values:
ProductType string
The product type for purchasing DDOSCOO instances used to differ different account type. Default value: ddoscoo. Valid values:
ServiceBandwidth string
Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. NOTE: service_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
DomainCount This property is required. string
Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
PortCount This property is required. string
Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
AddressType Changes to this property will trigger replacement. string
The IP version of the IP address. Default value: Ipv4. Valid values: Ipv4, Ipv6. NOTE: address_type is valid only when product_type is set to ddoscoo or ddoscoo_intl.
Bandwidth string
Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
BandwidthMode string
The mitigation plan of the instance. Valid values:
BaseBandwidth string
Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: base_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
EditionSale Changes to this property will trigger replacement. string
The mitigation plan of the instance. Default value: coop. Valid values:
FunctionVersion Changes to this property will trigger replacement. string
The function plan of the instance. Valid values:
Name string
Name of the instance. This name can have a string of 1 to 64 characters.
NormalBandwidth Changes to this property will trigger replacement. string
The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
NormalQps Changes to this property will trigger replacement. string
The clean QPS provided by the instance. NOTE: normal_qps is valid only when product_type is set to ddosDip.
Period int
The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], 12, 24, 36. Default value: 1. At present, the provider does not support modify period.
ProductPlan Changes to this property will trigger replacement. string
The mitigation plan of the instance. Valid values:
ProductType string
The product type for purchasing DDOSCOO instances used to differ different account type. Default value: ddoscoo. Valid values:
ServiceBandwidth string
Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. NOTE: service_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
domainCount This property is required. String
Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
portCount This property is required. String
Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
addressType Changes to this property will trigger replacement. String
The IP version of the IP address. Default value: Ipv4. Valid values: Ipv4, Ipv6. NOTE: address_type is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidth String
Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidthMode String
The mitigation plan of the instance. Valid values:
baseBandwidth String
Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: base_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
editionSale Changes to this property will trigger replacement. String
The mitigation plan of the instance. Default value: coop. Valid values:
functionVersion Changes to this property will trigger replacement. String
The function plan of the instance. Valid values:
name String
Name of the instance. This name can have a string of 1 to 64 characters.
normalBandwidth Changes to this property will trigger replacement. String
The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
normalQps Changes to this property will trigger replacement. String
The clean QPS provided by the instance. NOTE: normal_qps is valid only when product_type is set to ddosDip.
period Integer
The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], 12, 24, 36. Default value: 1. At present, the provider does not support modify period.
productPlan Changes to this property will trigger replacement. String
The mitigation plan of the instance. Valid values:
productType String
The product type for purchasing DDOSCOO instances used to differ different account type. Default value: ddoscoo. Valid values:
serviceBandwidth String
Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. NOTE: service_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
domainCount This property is required. string
Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
portCount This property is required. string
Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
addressType Changes to this property will trigger replacement. string
The IP version of the IP address. Default value: Ipv4. Valid values: Ipv4, Ipv6. NOTE: address_type is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidth string
Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidthMode string
The mitigation plan of the instance. Valid values:
baseBandwidth string
Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: base_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
editionSale Changes to this property will trigger replacement. string
The mitigation plan of the instance. Default value: coop. Valid values:
functionVersion Changes to this property will trigger replacement. string
The function plan of the instance. Valid values:
name string
Name of the instance. This name can have a string of 1 to 64 characters.
normalBandwidth Changes to this property will trigger replacement. string
The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
normalQps Changes to this property will trigger replacement. string
The clean QPS provided by the instance. NOTE: normal_qps is valid only when product_type is set to ddosDip.
period number
The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], 12, 24, 36. Default value: 1. At present, the provider does not support modify period.
productPlan Changes to this property will trigger replacement. string
The mitigation plan of the instance. Valid values:
productType string
The product type for purchasing DDOSCOO instances used to differ different account type. Default value: ddoscoo. Valid values:
serviceBandwidth string
Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. NOTE: service_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
domain_count This property is required. str
Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
port_count This property is required. str
Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
address_type Changes to this property will trigger replacement. str
The IP version of the IP address. Default value: Ipv4. Valid values: Ipv4, Ipv6. NOTE: address_type is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidth str
Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidth_mode str
The mitigation plan of the instance. Valid values:
base_bandwidth str
Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: base_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
edition_sale Changes to this property will trigger replacement. str
The mitigation plan of the instance. Default value: coop. Valid values:
function_version Changes to this property will trigger replacement. str
The function plan of the instance. Valid values:
name str
Name of the instance. This name can have a string of 1 to 64 characters.
normal_bandwidth Changes to this property will trigger replacement. str
The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
normal_qps Changes to this property will trigger replacement. str
The clean QPS provided by the instance. NOTE: normal_qps is valid only when product_type is set to ddosDip.
period int
The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], 12, 24, 36. Default value: 1. At present, the provider does not support modify period.
product_plan Changes to this property will trigger replacement. str
The mitigation plan of the instance. Valid values:
product_type str
The product type for purchasing DDOSCOO instances used to differ different account type. Default value: ddoscoo. Valid values:
service_bandwidth str
Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. NOTE: service_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
domainCount This property is required. String
Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
portCount This property is required. String
Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
addressType Changes to this property will trigger replacement. String
The IP version of the IP address. Default value: Ipv4. Valid values: Ipv4, Ipv6. NOTE: address_type is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidth String
Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidthMode String
The mitigation plan of the instance. Valid values:
baseBandwidth String
Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: base_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
editionSale Changes to this property will trigger replacement. String
The mitigation plan of the instance. Default value: coop. Valid values:
functionVersion Changes to this property will trigger replacement. String
The function plan of the instance. Valid values:
name String
Name of the instance. This name can have a string of 1 to 64 characters.
normalBandwidth Changes to this property will trigger replacement. String
The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
normalQps Changes to this property will trigger replacement. String
The clean QPS provided by the instance. NOTE: normal_qps is valid only when product_type is set to ddosDip.
period Number
The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], 12, 24, 36. Default value: 1. At present, the provider does not support modify period.
productPlan Changes to this property will trigger replacement. String
The mitigation plan of the instance. Valid values:
productType String
The product type for purchasing DDOSCOO instances used to differ different account type. Default value: ddoscoo. Valid values:
serviceBandwidth String
Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. NOTE: service_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Ip string
(Available since v1.212.0) The IP address of the instance.
Id string
The provider-assigned unique ID for this managed resource.
Ip string
(Available since v1.212.0) The IP address of the instance.
id String
The provider-assigned unique ID for this managed resource.
ip String
(Available since v1.212.0) The IP address of the instance.
id string
The provider-assigned unique ID for this managed resource.
ip string
(Available since v1.212.0) The IP address of the instance.
id str
The provider-assigned unique ID for this managed resource.
ip str
(Available since v1.212.0) The IP address of the instance.
id String
The provider-assigned unique ID for this managed resource.
ip String
(Available since v1.212.0) The IP address of the instance.

Look up Existing DdosCooInstance Resource

Get an existing DdosCooInstance 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?: DdosCooInstanceState, opts?: CustomResourceOptions): DdosCooInstance
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        address_type: Optional[str] = None,
        bandwidth: Optional[str] = None,
        bandwidth_mode: Optional[str] = None,
        base_bandwidth: Optional[str] = None,
        domain_count: Optional[str] = None,
        edition_sale: Optional[str] = None,
        function_version: Optional[str] = None,
        ip: Optional[str] = None,
        name: Optional[str] = None,
        normal_bandwidth: Optional[str] = None,
        normal_qps: Optional[str] = None,
        period: Optional[int] = None,
        port_count: Optional[str] = None,
        product_plan: Optional[str] = None,
        product_type: Optional[str] = None,
        service_bandwidth: Optional[str] = None) -> DdosCooInstance
func GetDdosCooInstance(ctx *Context, name string, id IDInput, state *DdosCooInstanceState, opts ...ResourceOption) (*DdosCooInstance, error)
public static DdosCooInstance Get(string name, Input<string> id, DdosCooInstanceState? state, CustomResourceOptions? opts = null)
public static DdosCooInstance get(String name, Output<String> id, DdosCooInstanceState state, CustomResourceOptions options)
resources:  _:    type: alicloud:dns:DdosCooInstance    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AddressType Changes to this property will trigger replacement. string
The IP version of the IP address. Default value: Ipv4. Valid values: Ipv4, Ipv6. NOTE: address_type is valid only when product_type is set to ddoscoo or ddoscoo_intl.
Bandwidth string
Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
BandwidthMode string
The mitigation plan of the instance. Valid values:
BaseBandwidth string
Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: base_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
DomainCount string
Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
EditionSale Changes to this property will trigger replacement. string
The mitigation plan of the instance. Default value: coop. Valid values:
FunctionVersion Changes to this property will trigger replacement. string
The function plan of the instance. Valid values:
Ip string
(Available since v1.212.0) The IP address of the instance.
Name string
Name of the instance. This name can have a string of 1 to 64 characters.
NormalBandwidth Changes to this property will trigger replacement. string
The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
NormalQps Changes to this property will trigger replacement. string
The clean QPS provided by the instance. NOTE: normal_qps is valid only when product_type is set to ddosDip.
Period int
The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], 12, 24, 36. Default value: 1. At present, the provider does not support modify period.
PortCount string
Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
ProductPlan Changes to this property will trigger replacement. string
The mitigation plan of the instance. Valid values:
ProductType string
The product type for purchasing DDOSCOO instances used to differ different account type. Default value: ddoscoo. Valid values:
ServiceBandwidth string
Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. NOTE: service_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
AddressType Changes to this property will trigger replacement. string
The IP version of the IP address. Default value: Ipv4. Valid values: Ipv4, Ipv6. NOTE: address_type is valid only when product_type is set to ddoscoo or ddoscoo_intl.
Bandwidth string
Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
BandwidthMode string
The mitigation plan of the instance. Valid values:
BaseBandwidth string
Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: base_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
DomainCount string
Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
EditionSale Changes to this property will trigger replacement. string
The mitigation plan of the instance. Default value: coop. Valid values:
FunctionVersion Changes to this property will trigger replacement. string
The function plan of the instance. Valid values:
Ip string
(Available since v1.212.0) The IP address of the instance.
Name string
Name of the instance. This name can have a string of 1 to 64 characters.
NormalBandwidth Changes to this property will trigger replacement. string
The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
NormalQps Changes to this property will trigger replacement. string
The clean QPS provided by the instance. NOTE: normal_qps is valid only when product_type is set to ddosDip.
Period int
The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], 12, 24, 36. Default value: 1. At present, the provider does not support modify period.
PortCount string
Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
ProductPlan Changes to this property will trigger replacement. string
The mitigation plan of the instance. Valid values:
ProductType string
The product type for purchasing DDOSCOO instances used to differ different account type. Default value: ddoscoo. Valid values:
ServiceBandwidth string
Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. NOTE: service_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
addressType Changes to this property will trigger replacement. String
The IP version of the IP address. Default value: Ipv4. Valid values: Ipv4, Ipv6. NOTE: address_type is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidth String
Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidthMode String
The mitigation plan of the instance. Valid values:
baseBandwidth String
Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: base_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
domainCount String
Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
editionSale Changes to this property will trigger replacement. String
The mitigation plan of the instance. Default value: coop. Valid values:
functionVersion Changes to this property will trigger replacement. String
The function plan of the instance. Valid values:
ip String
(Available since v1.212.0) The IP address of the instance.
name String
Name of the instance. This name can have a string of 1 to 64 characters.
normalBandwidth Changes to this property will trigger replacement. String
The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
normalQps Changes to this property will trigger replacement. String
The clean QPS provided by the instance. NOTE: normal_qps is valid only when product_type is set to ddosDip.
period Integer
The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], 12, 24, 36. Default value: 1. At present, the provider does not support modify period.
portCount String
Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
productPlan Changes to this property will trigger replacement. String
The mitigation plan of the instance. Valid values:
productType String
The product type for purchasing DDOSCOO instances used to differ different account type. Default value: ddoscoo. Valid values:
serviceBandwidth String
Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. NOTE: service_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
addressType Changes to this property will trigger replacement. string
The IP version of the IP address. Default value: Ipv4. Valid values: Ipv4, Ipv6. NOTE: address_type is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidth string
Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidthMode string
The mitigation plan of the instance. Valid values:
baseBandwidth string
Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: base_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
domainCount string
Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
editionSale Changes to this property will trigger replacement. string
The mitigation plan of the instance. Default value: coop. Valid values:
functionVersion Changes to this property will trigger replacement. string
The function plan of the instance. Valid values:
ip string
(Available since v1.212.0) The IP address of the instance.
name string
Name of the instance. This name can have a string of 1 to 64 characters.
normalBandwidth Changes to this property will trigger replacement. string
The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
normalQps Changes to this property will trigger replacement. string
The clean QPS provided by the instance. NOTE: normal_qps is valid only when product_type is set to ddosDip.
period number
The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], 12, 24, 36. Default value: 1. At present, the provider does not support modify period.
portCount string
Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
productPlan Changes to this property will trigger replacement. string
The mitigation plan of the instance. Valid values:
productType string
The product type for purchasing DDOSCOO instances used to differ different account type. Default value: ddoscoo. Valid values:
serviceBandwidth string
Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. NOTE: service_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
address_type Changes to this property will trigger replacement. str
The IP version of the IP address. Default value: Ipv4. Valid values: Ipv4, Ipv6. NOTE: address_type is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidth str
Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidth_mode str
The mitigation plan of the instance. Valid values:
base_bandwidth str
Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: base_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
domain_count str
Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
edition_sale Changes to this property will trigger replacement. str
The mitigation plan of the instance. Default value: coop. Valid values:
function_version Changes to this property will trigger replacement. str
The function plan of the instance. Valid values:
ip str
(Available since v1.212.0) The IP address of the instance.
name str
Name of the instance. This name can have a string of 1 to 64 characters.
normal_bandwidth Changes to this property will trigger replacement. str
The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
normal_qps Changes to this property will trigger replacement. str
The clean QPS provided by the instance. NOTE: normal_qps is valid only when product_type is set to ddosDip.
period int
The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], 12, 24, 36. Default value: 1. At present, the provider does not support modify period.
port_count str
Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
product_plan Changes to this property will trigger replacement. str
The mitigation plan of the instance. Valid values:
product_type str
The product type for purchasing DDOSCOO instances used to differ different account type. Default value: ddoscoo. Valid values:
service_bandwidth str
Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. NOTE: service_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
addressType Changes to this property will trigger replacement. String
The IP version of the IP address. Default value: Ipv4. Valid values: Ipv4, Ipv6. NOTE: address_type is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidth String
Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
bandwidthMode String
The mitigation plan of the instance. Valid values:
baseBandwidth String
Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. NOTE: base_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.
domainCount String
Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
editionSale Changes to this property will trigger replacement. String
The mitigation plan of the instance. Default value: coop. Valid values:
functionVersion Changes to this property will trigger replacement. String
The function plan of the instance. Valid values:
ip String
(Available since v1.212.0) The IP address of the instance.
name String
Name of the instance. This name can have a string of 1 to 64 characters.
normalBandwidth Changes to this property will trigger replacement. String
The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
normalQps Changes to this property will trigger replacement. String
The clean QPS provided by the instance. NOTE: normal_qps is valid only when product_type is set to ddosDip.
period Number
The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], 12, 24, 36. Default value: 1. At present, the provider does not support modify period.
portCount String
Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
productPlan Changes to this property will trigger replacement. String
The mitigation plan of the instance. Valid values:
productType String
The product type for purchasing DDOSCOO instances used to differ different account type. Default value: ddoscoo. Valid values:
serviceBandwidth String
Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. NOTE: service_bandwidth is valid only when product_type is set to ddoscoo or ddoscoo_intl.

Import

DdosCoo instance can be imported using the id, e.g.

$ pulumi import alicloud:dns/ddosCooInstance:DdosCooInstance example ddoscoo-cn-123456
Copy

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

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.