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",
});
}
}
Inherited Members
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 SourceDdosCooInstance(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 SourceBandwidth
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> |
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> |
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> |
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> |
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>> |
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> |
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 SourceGet(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 |