Show / Hide Table of Contents

Class DdosCooInstance

BGP-Line Anti-DDoS instance resource. "Ddoscoo" is the short term of this product. See What is Anti-DDoS Pro.

NOTE: The product region only support cn-hangzhou.

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

NOTE: Available in 1.37.0+ .

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var newInstance = new AliCloud.Ddos.DdosCooInstance("newInstance", new AliCloud.Ddos.DdosCooInstanceArgs
    {
        Bandwidth = "30",
        BaseBandwidth = "30",
        DomainCount = "50",
        Period = "1",
        PortCount = "50",
        ServiceBandwidth = "100",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
DdosCooInstance
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Dns
Assembly: Pulumi.AliCloud.dll
Syntax
[Obsolete("alicloud.dns.DdosCooInstance has been deprecated in favor of alicloud.ddos.DdosCooInstance")]
public class DdosCooInstance : CustomResource

Constructors

View Source

DdosCooInstance(String, DdosCooInstanceArgs, CustomResourceOptions)

Create a DdosCooInstance resource with the given unique name, arguments, and options.

Declaration
public DdosCooInstance(string name, DdosCooInstanceArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

DdosCooInstanceArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Bandwidth

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.

Declaration
public Output<string> Bandwidth { get; }
Property Value
Type Description
Output<System.String>
View Source

BaseBandwidth

Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.

Declaration
public Output<string> BaseBandwidth { get; }
Property Value
Type Description
Output<System.String>
View Source

DomainCount

Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.

Declaration
public Output<string> DomainCount { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Name of the instance. This name can have a string of 1 to 63 characters.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Period

The duration that you will buy Ddoscoo instance (in month). Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify "period".

Declaration
public Output<int?> Period { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

PortCount

Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.

Declaration
public Output<string> PortCount { get; }
Property Value
Type Description
Output<System.String>
View Source

ServiceBandwidth

Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade.

Declaration
public Output<string> ServiceBandwidth { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, DdosCooInstanceState, CustomResourceOptions)

Get an existing DdosCooInstance resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static DdosCooInstance Get(string name, Input<string> id, DdosCooInstanceState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

DdosCooInstanceState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
DdosCooInstance
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.