Class DdosBgpInstance
Anti-DDoS Advanced instance resource. "Ddosbgp" is the short term of this product.
NOTE: The endpoint of bssopenapi used only support "business.aliyuncs.com" at present.
NOTE: Available in 1.57.0+ .
Example Usage
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var instance = new AliCloud.Ddos.DdosBgpInstance("instance", new AliCloud.Ddos.DdosBgpInstanceArgs
{
Bandwidth = "201",
BaseBandwidth = "20",
IpCount = "100",
IpType = "IPv4",
});
}
}
Inherited Members
Namespace: Pulumi.AliCloud.Ddos
Assembly: Pulumi.AliCloud.dll
Syntax
public class DdosBgpInstance : CustomResource
Constructors
View SourceDdosBgpInstance(String, DdosBgpInstanceArgs, CustomResourceOptions)
Create a DdosBgpInstance resource with the given unique name, arguments, and options.
Declaration
public DdosBgpInstance(string name, DdosBgpInstanceArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| DdosBgpInstanceArgs | 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: 51,91,101,201,301. The unit is Gbps.
Declaration
public Output<int> Bandwidth { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
BaseBandwidth
Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to 20.
Declaration
public Output<int?> BaseBandwidth { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
IpCount
IP count of the instance. Valid values: 100.
Declaration
public Output<int> IpCount { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
IpType
IP version of the instance. Valid values: IPv4,IPv6.
Declaration
public Output<string> IpType { 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 Ddosbgp instance (in month). Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify "period".
Declaration
public Output<int?> Period { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Type
Type of the instance. Valid values: Enterprise,Professional. Default to Enterprise
Declaration
public Output<string> Type { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, DdosBgpInstanceState, CustomResourceOptions)
Get an existing DdosBgpInstance resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static DdosBgpInstance Get(string name, Input<string> id, DdosBgpInstanceState 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. |
| DdosBgpInstanceState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| DdosBgpInstance |