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

}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

instance = alicloud.ddos.DdosBgpInstance("instance",
    bandwidth="201",
    base_bandwidth="20",
    ip_count="100",
    ip_type="IPv4")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const instance = new alicloud.ddos.DdosBgpInstance("instance", {
    bandwidth: 201,
    baseBandwidth: 20,
    ipCount: 100,
    ipType: "IPv4",
});

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

Create a DdosBgpInstance Resource

def DdosBgpInstance(resource_name, opts=None, bandwidth=None, base_bandwidth=None, ip_count=None, ip_type=None, name=None, period=None, type=None, __props__=None);
name string
The unique name of the resource.
args DdosBgpInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DdosBgpInstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DdosBgpInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

DdosBgpInstance Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The DdosBgpInstance resource accepts the following input properties:

Bandwidth int

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.

IpCount int

IP count of the instance. Valid values: 100.

IpType string

IP version of the instance. Valid values: IPv4,IPv6.

BaseBandwidth int

Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to 20.

Name string

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

Period int

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”.

Type string

Type of the instance. Valid values: Enterprise,Professional. Default to Enterprise

Bandwidth int

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.

IpCount int

IP count of the instance. Valid values: 100.

IpType string

IP version of the instance. Valid values: IPv4,IPv6.

BaseBandwidth int

Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to 20.

Name string

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

Period int

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”.

Type string

Type of the instance. Valid values: Enterprise,Professional. Default to Enterprise

bandwidth number

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.

ipCount number

IP count of the instance. Valid values: 100.

ipType string

IP version of the instance. Valid values: IPv4,IPv6.

baseBandwidth number

Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to 20.

name string

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

period number

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”.

type string

Type of the instance. Valid values: Enterprise,Professional. Default to Enterprise

bandwidth float

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.

ip_count float

IP count of the instance. Valid values: 100.

ip_type str

IP version of the instance. Valid values: IPv4,IPv6.

base_bandwidth float

Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to 20.

name str

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

period float

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”.

type str

Type of the instance. Valid values: Enterprise,Professional. Default to Enterprise

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing DdosBgpInstance Resource

Get an existing DdosBgpInstance 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?: DdosBgpInstanceState, opts?: CustomResourceOptions): DdosBgpInstance
static get(resource_name, id, opts=None, bandwidth=None, base_bandwidth=None, ip_count=None, ip_type=None, name=None, period=None, type=None, __props__=None);
func GetDdosBgpInstance(ctx *Context, name string, id IDInput, state *DdosBgpInstanceState, opts ...ResourceOption) (*DdosBgpInstance, error)
public static DdosBgpInstance Get(string name, Input<string> id, DdosBgpInstanceState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Bandwidth int

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.

BaseBandwidth int

Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to 20.

IpCount int

IP count of the instance. Valid values: 100.

IpType string

IP version of the instance. Valid values: IPv4,IPv6.

Name string

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

Period int

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”.

Type string

Type of the instance. Valid values: Enterprise,Professional. Default to Enterprise

Bandwidth int

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.

BaseBandwidth int

Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to 20.

IpCount int

IP count of the instance. Valid values: 100.

IpType string

IP version of the instance. Valid values: IPv4,IPv6.

Name string

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

Period int

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”.

Type string

Type of the instance. Valid values: Enterprise,Professional. Default to Enterprise

bandwidth number

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.

baseBandwidth number

Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to 20.

ipCount number

IP count of the instance. Valid values: 100.

ipType string

IP version of the instance. Valid values: IPv4,IPv6.

name string

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

period number

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”.

type string

Type of the instance. Valid values: Enterprise,Professional. Default to Enterprise

bandwidth float

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.

base_bandwidth float

Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to 20.

ip_count float

IP count of the instance. Valid values: 100.

ip_type str

IP version of the instance. Valid values: IPv4,IPv6.

name str

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

period float

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”.

type str

Type of the instance. Valid values: Enterprise,Professional. Default to Enterprise

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.