Show / Hide Table of Contents

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

}
Inheritance
System.Object
Resource
CustomResource
DdosBgpInstance
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.Ddos
Assembly: Pulumi.AliCloud.dll
Syntax
public class DdosBgpInstance : CustomResource

Constructors

View Source

DdosBgpInstance(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 Source

Bandwidth

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>
View Source

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>>
View Source

IpCount

IP count of the instance. Valid values: 100.

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

IpType

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

Declaration
public Output<string> IpType { 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 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>>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.