1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ddos
  5. DdosCooInstance
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.ddos.DdosCooInstance

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    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,
    });
    
    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)
    
    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
    	})
    }
    
    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,
        });
    
    });
    
    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());
    
        }
    }
    
    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'
    

    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,
                        domain_count: Optional[str] = None,
                        port_count: Optional[str] = None,
                        function_version: Optional[str] = None,
                        base_bandwidth: Optional[str] = None,
                        bandwidth_mode: Optional[str] = None,
                        edition_sale: Optional[str] = None,
                        address_type: Optional[str] = None,
                        name: Optional[str] = None,
                        normal_bandwidth: Optional[str] = None,
                        normal_qps: Optional[str] = None,
                        period: Optional[int] = None,
                        bandwidth: 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:ddos:DdosCooInstance
    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 DdosCooInstanceArgs
    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 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 string
    The unique name of the resource.
    args DdosCooInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DdosCooInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DdosCooInstanceArgs
    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 ddosCooInstanceResource = new AliCloud.Ddos.DdosCooInstance("ddosCooInstanceResource", new()
    {
        DomainCount = "string",
        PortCount = "string",
        FunctionVersion = "string",
        BaseBandwidth = "string",
        BandwidthMode = "string",
        EditionSale = "string",
        AddressType = "string",
        Name = "string",
        NormalBandwidth = "string",
        NormalQps = "string",
        Period = 0,
        Bandwidth = "string",
        ProductPlan = "string",
        ProductType = "string",
        ServiceBandwidth = "string",
    });
    
    example, err := ddos.NewDdosCooInstance(ctx, "ddosCooInstanceResource", &ddos.DdosCooInstanceArgs{
    	DomainCount:      pulumi.String("string"),
    	PortCount:        pulumi.String("string"),
    	FunctionVersion:  pulumi.String("string"),
    	BaseBandwidth:    pulumi.String("string"),
    	BandwidthMode:    pulumi.String("string"),
    	EditionSale:      pulumi.String("string"),
    	AddressType:      pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	NormalBandwidth:  pulumi.String("string"),
    	NormalQps:        pulumi.String("string"),
    	Period:           pulumi.Int(0),
    	Bandwidth:        pulumi.String("string"),
    	ProductPlan:      pulumi.String("string"),
    	ProductType:      pulumi.String("string"),
    	ServiceBandwidth: pulumi.String("string"),
    })
    
    var ddosCooInstanceResource = new DdosCooInstance("ddosCooInstanceResource", DdosCooInstanceArgs.builder()
        .domainCount("string")
        .portCount("string")
        .functionVersion("string")
        .baseBandwidth("string")
        .bandwidthMode("string")
        .editionSale("string")
        .addressType("string")
        .name("string")
        .normalBandwidth("string")
        .normalQps("string")
        .period(0)
        .bandwidth("string")
        .productPlan("string")
        .productType("string")
        .serviceBandwidth("string")
        .build());
    
    ddos_coo_instance_resource = alicloud.ddos.DdosCooInstance("ddosCooInstanceResource",
        domain_count="string",
        port_count="string",
        function_version="string",
        base_bandwidth="string",
        bandwidth_mode="string",
        edition_sale="string",
        address_type="string",
        name="string",
        normal_bandwidth="string",
        normal_qps="string",
        period=0,
        bandwidth="string",
        product_plan="string",
        product_type="string",
        service_bandwidth="string")
    
    const ddosCooInstanceResource = new alicloud.ddos.DdosCooInstance("ddosCooInstanceResource", {
        domainCount: "string",
        portCount: "string",
        functionVersion: "string",
        baseBandwidth: "string",
        bandwidthMode: "string",
        editionSale: "string",
        addressType: "string",
        name: "string",
        normalBandwidth: "string",
        normalQps: "string",
        period: 0,
        bandwidth: "string",
        productPlan: "string",
        productType: "string",
        serviceBandwidth: "string",
    });
    
    type: alicloud:ddos:DdosCooInstance
    properties:
        addressType: string
        bandwidth: string
        bandwidthMode: string
        baseBandwidth: string
        domainCount: string
        editionSale: string
        functionVersion: string
        name: string
        normalBandwidth: string
        normalQps: string
        period: 0
        portCount: string
        productPlan: string
        productType: string
        serviceBandwidth: string
    

    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

    The DdosCooInstance resource accepts the following input properties:

    DomainCount string
    Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
    PortCount string
    Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
    AddressType 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 string
    The mitigation plan of the instance. Default value: coop. Valid values:
    FunctionVersion 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 string
    The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
    NormalQps 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 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 string
    Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
    PortCount string
    Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
    AddressType 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 string
    The mitigation plan of the instance. Default value: coop. Valid values:
    FunctionVersion 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 string
    The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
    NormalQps 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 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 String
    Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
    portCount String
    Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
    addressType 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 String
    The mitigation plan of the instance. Default value: coop. Valid values:
    functionVersion 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 String
    The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
    normalQps 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 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 string
    Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
    portCount string
    Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
    addressType 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 string
    The mitigation plan of the instance. Default value: coop. Valid values:
    functionVersion 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 string
    The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
    normalQps 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 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 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 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 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 str
    The mitigation plan of the instance. Default value: coop. Valid values:
    function_version 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 str
    The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
    normal_qps 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 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 String
    Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
    portCount String
    Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
    addressType 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 String
    The mitigation plan of the instance. Default value: coop. Valid values:
    functionVersion 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 String
    The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
    normalQps 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 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)
    Resource lookup is not supported in YAML
    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:
    AddressType 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 string
    The mitigation plan of the instance. Default value: coop. Valid values:
    FunctionVersion 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 string
    The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
    NormalQps 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 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 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 string
    The mitigation plan of the instance. Default value: coop. Valid values:
    FunctionVersion 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 string
    The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
    NormalQps 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 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 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 String
    The mitigation plan of the instance. Default value: coop. Valid values:
    functionVersion 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 String
    The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
    normalQps 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 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 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 string
    The mitigation plan of the instance. Default value: coop. Valid values:
    functionVersion 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 string
    The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
    normalQps 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 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 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 str
    The mitigation plan of the instance. Default value: coop. Valid values:
    function_version 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 str
    The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
    normal_qps 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 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 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 String
    The mitigation plan of the instance. Default value: coop. Valid values:
    functionVersion 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 String
    The clean bandwidth provided by the instance. NOTE: normal_bandwidth is valid only when product_type is set to ddosDip.
    normalQps 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 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:ddos/ddosCooInstance:DdosCooInstance example ddoscoo-cn-123456
    

    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.
    alicloud logo
    Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi