ddos

package
v3.63.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicDefenseThreshold added in v3.20.0

type BasicDefenseThreshold struct {
	pulumi.CustomResourceState

	// Specifies the traffic scrubbing threshold. Unit: Mbit/s. The traffic scrubbing threshold cannot exceed the peak inbound or outbound Internet traffic, whichever is larger, of the asset.
	Bps pulumi.IntOutput `pulumi:"bps"`
	// The type of the threshold to query. Valid values: `defense`,`blackhole`.
	DdosType pulumi.StringOutput `pulumi:"ddosType"`
	// The ID of the instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The instance type of the public IP address asset. Value: `ecs`,`slb`,`eip`.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// The Internet IP address.
	InternetIp pulumi.StringOutput `pulumi:"internetIp"`
	// Whether it is the system default threshold. Value:
	IsAuto pulumi.BoolOutput `pulumi:"isAuto"`
	// The maximum traffic scrubbing threshold. Unit: Mbit/s.
	MaxBps pulumi.IntOutput `pulumi:"maxBps"`
	// The maximum packet scrubbing threshold. Unit: pps.
	MaxPps pulumi.IntOutput `pulumi:"maxPps"`
	// The current message number cleaning threshold. Unit: pps.
	Pps pulumi.IntOutput `pulumi:"pps"`
}

Provides a Ddos Basic defense threshold resource.

For information about Ddos Basic Antiddos and how to use it, see [What is Defense Threshold](https://www.alibabacloud.com/help/en/ddos-protection/latest/modifydefensethreshold).

> **NOTE:** Available since v1.168.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := ecs.NewEipAddress(ctx, "default", &ecs.EipAddressArgs{
			AddressName:        pulumi.String(name),
			Isp:                pulumi.String("BGP"),
			InternetChargeType: pulumi.String("PayByBandwidth"),
			PaymentType:        pulumi.String("PayAsYouGo"),
		})
		if err != nil {
			return err
		}
		_, err = ddos.NewBasicDefenseThreshold(ctx, "default", &ddos.BasicDefenseThresholdArgs{
			InstanceId:   _default.ID(),
			DdosType:     pulumi.String("defense"),
			InstanceType: pulumi.String("eip"),
			Bps:          pulumi.Int(390),
			Pps:          pulumi.Int(90000),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Ddos Basic Antiddos can be imported using the id, e.g.

```sh $ pulumi import alicloud:ddos/basicDefenseThreshold:BasicDefenseThreshold example <instance_id>:<instance_type>:<ddos_type> ```

func GetBasicDefenseThreshold added in v3.20.0

func GetBasicDefenseThreshold(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BasicDefenseThresholdState, opts ...pulumi.ResourceOption) (*BasicDefenseThreshold, error)

GetBasicDefenseThreshold gets an existing BasicDefenseThreshold resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBasicDefenseThreshold added in v3.20.0

func NewBasicDefenseThreshold(ctx *pulumi.Context,
	name string, args *BasicDefenseThresholdArgs, opts ...pulumi.ResourceOption) (*BasicDefenseThreshold, error)

NewBasicDefenseThreshold registers a new resource with the given unique name, arguments, and options.

func (*BasicDefenseThreshold) ElementType added in v3.20.0

func (*BasicDefenseThreshold) ElementType() reflect.Type

func (*BasicDefenseThreshold) ToBasicDefenseThresholdOutput added in v3.20.0

func (i *BasicDefenseThreshold) ToBasicDefenseThresholdOutput() BasicDefenseThresholdOutput

func (*BasicDefenseThreshold) ToBasicDefenseThresholdOutputWithContext added in v3.20.0

func (i *BasicDefenseThreshold) ToBasicDefenseThresholdOutputWithContext(ctx context.Context) BasicDefenseThresholdOutput

type BasicDefenseThresholdArgs added in v3.20.0

type BasicDefenseThresholdArgs struct {
	// Specifies the traffic scrubbing threshold. Unit: Mbit/s. The traffic scrubbing threshold cannot exceed the peak inbound or outbound Internet traffic, whichever is larger, of the asset.
	Bps pulumi.IntPtrInput
	// The type of the threshold to query. Valid values: `defense`,`blackhole`.
	DdosType pulumi.StringInput
	// The ID of the instance.
	InstanceId pulumi.StringInput
	// The instance type of the public IP address asset. Value: `ecs`,`slb`,`eip`.
	InstanceType pulumi.StringInput
	// The Internet IP address.
	InternetIp pulumi.StringPtrInput
	// Whether it is the system default threshold. Value:
	IsAuto pulumi.BoolPtrInput
	// The current message number cleaning threshold. Unit: pps.
	Pps pulumi.IntPtrInput
}

The set of arguments for constructing a BasicDefenseThreshold resource.

func (BasicDefenseThresholdArgs) ElementType added in v3.20.0

func (BasicDefenseThresholdArgs) ElementType() reflect.Type

type BasicDefenseThresholdArray added in v3.20.0

type BasicDefenseThresholdArray []BasicDefenseThresholdInput

func (BasicDefenseThresholdArray) ElementType added in v3.20.0

func (BasicDefenseThresholdArray) ElementType() reflect.Type

func (BasicDefenseThresholdArray) ToBasicDefenseThresholdArrayOutput added in v3.20.0

func (i BasicDefenseThresholdArray) ToBasicDefenseThresholdArrayOutput() BasicDefenseThresholdArrayOutput

func (BasicDefenseThresholdArray) ToBasicDefenseThresholdArrayOutputWithContext added in v3.20.0

func (i BasicDefenseThresholdArray) ToBasicDefenseThresholdArrayOutputWithContext(ctx context.Context) BasicDefenseThresholdArrayOutput

type BasicDefenseThresholdArrayInput added in v3.20.0

type BasicDefenseThresholdArrayInput interface {
	pulumi.Input

	ToBasicDefenseThresholdArrayOutput() BasicDefenseThresholdArrayOutput
	ToBasicDefenseThresholdArrayOutputWithContext(context.Context) BasicDefenseThresholdArrayOutput
}

BasicDefenseThresholdArrayInput is an input type that accepts BasicDefenseThresholdArray and BasicDefenseThresholdArrayOutput values. You can construct a concrete instance of `BasicDefenseThresholdArrayInput` via:

BasicDefenseThresholdArray{ BasicDefenseThresholdArgs{...} }

type BasicDefenseThresholdArrayOutput added in v3.20.0

type BasicDefenseThresholdArrayOutput struct{ *pulumi.OutputState }

func (BasicDefenseThresholdArrayOutput) ElementType added in v3.20.0

func (BasicDefenseThresholdArrayOutput) Index added in v3.20.0

func (BasicDefenseThresholdArrayOutput) ToBasicDefenseThresholdArrayOutput added in v3.20.0

func (o BasicDefenseThresholdArrayOutput) ToBasicDefenseThresholdArrayOutput() BasicDefenseThresholdArrayOutput

func (BasicDefenseThresholdArrayOutput) ToBasicDefenseThresholdArrayOutputWithContext added in v3.20.0

func (o BasicDefenseThresholdArrayOutput) ToBasicDefenseThresholdArrayOutputWithContext(ctx context.Context) BasicDefenseThresholdArrayOutput

type BasicDefenseThresholdInput added in v3.20.0

type BasicDefenseThresholdInput interface {
	pulumi.Input

	ToBasicDefenseThresholdOutput() BasicDefenseThresholdOutput
	ToBasicDefenseThresholdOutputWithContext(ctx context.Context) BasicDefenseThresholdOutput
}

type BasicDefenseThresholdMap added in v3.20.0

type BasicDefenseThresholdMap map[string]BasicDefenseThresholdInput

func (BasicDefenseThresholdMap) ElementType added in v3.20.0

func (BasicDefenseThresholdMap) ElementType() reflect.Type

func (BasicDefenseThresholdMap) ToBasicDefenseThresholdMapOutput added in v3.20.0

func (i BasicDefenseThresholdMap) ToBasicDefenseThresholdMapOutput() BasicDefenseThresholdMapOutput

func (BasicDefenseThresholdMap) ToBasicDefenseThresholdMapOutputWithContext added in v3.20.0

func (i BasicDefenseThresholdMap) ToBasicDefenseThresholdMapOutputWithContext(ctx context.Context) BasicDefenseThresholdMapOutput

type BasicDefenseThresholdMapInput added in v3.20.0

type BasicDefenseThresholdMapInput interface {
	pulumi.Input

	ToBasicDefenseThresholdMapOutput() BasicDefenseThresholdMapOutput
	ToBasicDefenseThresholdMapOutputWithContext(context.Context) BasicDefenseThresholdMapOutput
}

BasicDefenseThresholdMapInput is an input type that accepts BasicDefenseThresholdMap and BasicDefenseThresholdMapOutput values. You can construct a concrete instance of `BasicDefenseThresholdMapInput` via:

BasicDefenseThresholdMap{ "key": BasicDefenseThresholdArgs{...} }

type BasicDefenseThresholdMapOutput added in v3.20.0

type BasicDefenseThresholdMapOutput struct{ *pulumi.OutputState }

func (BasicDefenseThresholdMapOutput) ElementType added in v3.20.0

func (BasicDefenseThresholdMapOutput) MapIndex added in v3.20.0

func (BasicDefenseThresholdMapOutput) ToBasicDefenseThresholdMapOutput added in v3.20.0

func (o BasicDefenseThresholdMapOutput) ToBasicDefenseThresholdMapOutput() BasicDefenseThresholdMapOutput

func (BasicDefenseThresholdMapOutput) ToBasicDefenseThresholdMapOutputWithContext added in v3.20.0

func (o BasicDefenseThresholdMapOutput) ToBasicDefenseThresholdMapOutputWithContext(ctx context.Context) BasicDefenseThresholdMapOutput

type BasicDefenseThresholdOutput added in v3.20.0

type BasicDefenseThresholdOutput struct{ *pulumi.OutputState }

func (BasicDefenseThresholdOutput) Bps added in v3.27.0

Specifies the traffic scrubbing threshold. Unit: Mbit/s. The traffic scrubbing threshold cannot exceed the peak inbound or outbound Internet traffic, whichever is larger, of the asset.

func (BasicDefenseThresholdOutput) DdosType added in v3.27.0

The type of the threshold to query. Valid values: `defense`,`blackhole`.

func (BasicDefenseThresholdOutput) ElementType added in v3.20.0

func (BasicDefenseThresholdOutput) InstanceId added in v3.27.0

The ID of the instance.

func (BasicDefenseThresholdOutput) InstanceType added in v3.27.0

The instance type of the public IP address asset. Value: `ecs`,`slb`,`eip`.

func (BasicDefenseThresholdOutput) InternetIp added in v3.27.0

The Internet IP address.

func (BasicDefenseThresholdOutput) IsAuto added in v3.27.0

Whether it is the system default threshold. Value:

func (BasicDefenseThresholdOutput) MaxBps added in v3.27.0

The maximum traffic scrubbing threshold. Unit: Mbit/s.

func (BasicDefenseThresholdOutput) MaxPps added in v3.27.0

The maximum packet scrubbing threshold. Unit: pps.

func (BasicDefenseThresholdOutput) Pps added in v3.27.0

The current message number cleaning threshold. Unit: pps.

func (BasicDefenseThresholdOutput) ToBasicDefenseThresholdOutput added in v3.20.0

func (o BasicDefenseThresholdOutput) ToBasicDefenseThresholdOutput() BasicDefenseThresholdOutput

func (BasicDefenseThresholdOutput) ToBasicDefenseThresholdOutputWithContext added in v3.20.0

func (o BasicDefenseThresholdOutput) ToBasicDefenseThresholdOutputWithContext(ctx context.Context) BasicDefenseThresholdOutput

type BasicDefenseThresholdState added in v3.20.0

type BasicDefenseThresholdState struct {
	// Specifies the traffic scrubbing threshold. Unit: Mbit/s. The traffic scrubbing threshold cannot exceed the peak inbound or outbound Internet traffic, whichever is larger, of the asset.
	Bps pulumi.IntPtrInput
	// The type of the threshold to query. Valid values: `defense`,`blackhole`.
	DdosType pulumi.StringPtrInput
	// The ID of the instance.
	InstanceId pulumi.StringPtrInput
	// The instance type of the public IP address asset. Value: `ecs`,`slb`,`eip`.
	InstanceType pulumi.StringPtrInput
	// The Internet IP address.
	InternetIp pulumi.StringPtrInput
	// Whether it is the system default threshold. Value:
	IsAuto pulumi.BoolPtrInput
	// The maximum traffic scrubbing threshold. Unit: Mbit/s.
	MaxBps pulumi.IntPtrInput
	// The maximum packet scrubbing threshold. Unit: pps.
	MaxPps pulumi.IntPtrInput
	// The current message number cleaning threshold. Unit: pps.
	Pps pulumi.IntPtrInput
}

func (BasicDefenseThresholdState) ElementType added in v3.20.0

func (BasicDefenseThresholdState) ElementType() reflect.Type

type BasicThreshold added in v3.29.0

type BasicThreshold struct {
	pulumi.CustomResourceState

	// Specifies the traffic scrubbing threshold. Unit: Mbit/s. The traffic scrubbing threshold cannot exceed the peak inbound or outbound Internet traffic, whichever is larger, of the asset.
	Bps pulumi.IntOutput `pulumi:"bps"`
	// The ID of the instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The type of the Instance. Valid values: `ecs`,`slb`,`eip`.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// The IP address of the public IP address asset.
	InternetIp pulumi.StringOutput `pulumi:"internetIp"`
	// Maximum flow cleaning threshold. Unit: Mbps.
	MaxBps pulumi.IntOutput `pulumi:"maxBps"`
	// The maximum number of messages cleaning threshold. Unit: pps.
	MaxPps pulumi.IntOutput `pulumi:"maxPps"`
	// The current message number cleaning threshold. Unit: pps.
	Pps pulumi.IntOutput `pulumi:"pps"`
}

Provides a Ddos Basic Threshold resource.

For information about Ddos Basic Threshold and how to use it, see [What is Threshold](https://www.alibabacloud.com/help/en/ddos-protection/latest/describe-ip-ddosthreshold).

> **NOTE:** Available since v1.183.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf-example"; if param := cfg.Get("name"); param != ""{ name = param } _default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableDiskCategory: pulumi.StringRef("cloud_efficiency"), AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil); if err != nil { return err } defaultGetInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{ AvailabilityZone: pulumi.StringRef(_default.Zones[0].Id), InstanceTypeFamily: pulumi.StringRef("ecs.sn1ne"), }, nil); if err != nil { return err } defaultGetImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{ NameRegex: pulumi.StringRef("^ubuntu_18.*64"), MostRecent: pulumi.BoolRef(true), Owners: pulumi.StringRef("system"), }, nil); if err != nil { return err } defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("192.168.0.0/16"), }) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{ VswitchName: pulumi.String(name), VpcId: defaultNetwork.ID(), CidrBlock: pulumi.String("192.168.192.0/24"), ZoneId: pulumi.String(_default.Ids[0]), }) if err != nil { return err } defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "default", &ecs.SecurityGroupArgs{ Name: pulumi.String(name), VpcId: defaultNetwork.ID(), }) if err != nil { return err } var splat0 pulumi.StringArray for _, val0 := range %!v(PANIC=Format method: fatal: An assertion has failed: tok: ) { splat0 = append(splat0, val0.ID()) } defaultInstance, err := ecs.NewInstance(ctx, "default", &ecs.InstanceArgs{ ImageId: pulumi.String(defaultGetImages.Images[0].Id), InstanceType: pulumi.String(defaultGetInstanceTypes.InstanceTypes[0].Id), InstanceName: pulumi.String(name), SecurityGroups: splat0, InternetChargeType: pulumi.String("PayByTraffic"), InternetMaxBandwidthOut: pulumi.Int(10), AvailabilityZone: pulumi.String(_default.Zones[0].Id), InstanceChargeType: pulumi.String("PostPaid"), SystemDiskCategory: pulumi.String("cloud_efficiency"), VswitchId: defaultSwitch.ID(), }) if err != nil { return err } _, err = ddos.NewBasicThreshold(ctx, "example", &ddos.BasicThresholdArgs{ InstanceType: pulumi.String("ecs"), InstanceId: defaultInstance.ID(), InternetIp: defaultInstance.PublicIp, Bps: pulumi.Int(100), Pps: pulumi.Int(60000), }) if err != nil { return err } return nil }) } ```

## Import

Ddos Basic Threshold can be imported using the id, e.g.

```sh $ pulumi import alicloud:ddos/basicThreshold:BasicThreshold example <instance_type>:<instance_id>:<internet_ip> ```

func GetBasicThreshold added in v3.29.0

func GetBasicThreshold(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BasicThresholdState, opts ...pulumi.ResourceOption) (*BasicThreshold, error)

GetBasicThreshold gets an existing BasicThreshold resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBasicThreshold added in v3.29.0

func NewBasicThreshold(ctx *pulumi.Context,
	name string, args *BasicThresholdArgs, opts ...pulumi.ResourceOption) (*BasicThreshold, error)

NewBasicThreshold registers a new resource with the given unique name, arguments, and options.

func (*BasicThreshold) ElementType added in v3.29.0

func (*BasicThreshold) ElementType() reflect.Type

func (*BasicThreshold) ToBasicThresholdOutput added in v3.29.0

func (i *BasicThreshold) ToBasicThresholdOutput() BasicThresholdOutput

func (*BasicThreshold) ToBasicThresholdOutputWithContext added in v3.29.0

func (i *BasicThreshold) ToBasicThresholdOutputWithContext(ctx context.Context) BasicThresholdOutput

type BasicThresholdArgs added in v3.29.0

type BasicThresholdArgs struct {
	// Specifies the traffic scrubbing threshold. Unit: Mbit/s. The traffic scrubbing threshold cannot exceed the peak inbound or outbound Internet traffic, whichever is larger, of the asset.
	Bps pulumi.IntInput
	// The ID of the instance.
	InstanceId pulumi.StringInput
	// The type of the Instance. Valid values: `ecs`,`slb`,`eip`.
	InstanceType pulumi.StringInput
	// The IP address of the public IP address asset.
	InternetIp pulumi.StringInput
	// The current message number cleaning threshold. Unit: pps.
	Pps pulumi.IntInput
}

The set of arguments for constructing a BasicThreshold resource.

func (BasicThresholdArgs) ElementType added in v3.29.0

func (BasicThresholdArgs) ElementType() reflect.Type

type BasicThresholdArray added in v3.29.0

type BasicThresholdArray []BasicThresholdInput

func (BasicThresholdArray) ElementType added in v3.29.0

func (BasicThresholdArray) ElementType() reflect.Type

func (BasicThresholdArray) ToBasicThresholdArrayOutput added in v3.29.0

func (i BasicThresholdArray) ToBasicThresholdArrayOutput() BasicThresholdArrayOutput

func (BasicThresholdArray) ToBasicThresholdArrayOutputWithContext added in v3.29.0

func (i BasicThresholdArray) ToBasicThresholdArrayOutputWithContext(ctx context.Context) BasicThresholdArrayOutput

type BasicThresholdArrayInput added in v3.29.0

type BasicThresholdArrayInput interface {
	pulumi.Input

	ToBasicThresholdArrayOutput() BasicThresholdArrayOutput
	ToBasicThresholdArrayOutputWithContext(context.Context) BasicThresholdArrayOutput
}

BasicThresholdArrayInput is an input type that accepts BasicThresholdArray and BasicThresholdArrayOutput values. You can construct a concrete instance of `BasicThresholdArrayInput` via:

BasicThresholdArray{ BasicThresholdArgs{...} }

type BasicThresholdArrayOutput added in v3.29.0

type BasicThresholdArrayOutput struct{ *pulumi.OutputState }

func (BasicThresholdArrayOutput) ElementType added in v3.29.0

func (BasicThresholdArrayOutput) ElementType() reflect.Type

func (BasicThresholdArrayOutput) Index added in v3.29.0

func (BasicThresholdArrayOutput) ToBasicThresholdArrayOutput added in v3.29.0

func (o BasicThresholdArrayOutput) ToBasicThresholdArrayOutput() BasicThresholdArrayOutput

func (BasicThresholdArrayOutput) ToBasicThresholdArrayOutputWithContext added in v3.29.0

func (o BasicThresholdArrayOutput) ToBasicThresholdArrayOutputWithContext(ctx context.Context) BasicThresholdArrayOutput

type BasicThresholdInput added in v3.29.0

type BasicThresholdInput interface {
	pulumi.Input

	ToBasicThresholdOutput() BasicThresholdOutput
	ToBasicThresholdOutputWithContext(ctx context.Context) BasicThresholdOutput
}

type BasicThresholdMap added in v3.29.0

type BasicThresholdMap map[string]BasicThresholdInput

func (BasicThresholdMap) ElementType added in v3.29.0

func (BasicThresholdMap) ElementType() reflect.Type

func (BasicThresholdMap) ToBasicThresholdMapOutput added in v3.29.0

func (i BasicThresholdMap) ToBasicThresholdMapOutput() BasicThresholdMapOutput

func (BasicThresholdMap) ToBasicThresholdMapOutputWithContext added in v3.29.0

func (i BasicThresholdMap) ToBasicThresholdMapOutputWithContext(ctx context.Context) BasicThresholdMapOutput

type BasicThresholdMapInput added in v3.29.0

type BasicThresholdMapInput interface {
	pulumi.Input

	ToBasicThresholdMapOutput() BasicThresholdMapOutput
	ToBasicThresholdMapOutputWithContext(context.Context) BasicThresholdMapOutput
}

BasicThresholdMapInput is an input type that accepts BasicThresholdMap and BasicThresholdMapOutput values. You can construct a concrete instance of `BasicThresholdMapInput` via:

BasicThresholdMap{ "key": BasicThresholdArgs{...} }

type BasicThresholdMapOutput added in v3.29.0

type BasicThresholdMapOutput struct{ *pulumi.OutputState }

func (BasicThresholdMapOutput) ElementType added in v3.29.0

func (BasicThresholdMapOutput) ElementType() reflect.Type

func (BasicThresholdMapOutput) MapIndex added in v3.29.0

func (BasicThresholdMapOutput) ToBasicThresholdMapOutput added in v3.29.0

func (o BasicThresholdMapOutput) ToBasicThresholdMapOutput() BasicThresholdMapOutput

func (BasicThresholdMapOutput) ToBasicThresholdMapOutputWithContext added in v3.29.0

func (o BasicThresholdMapOutput) ToBasicThresholdMapOutputWithContext(ctx context.Context) BasicThresholdMapOutput

type BasicThresholdOutput added in v3.29.0

type BasicThresholdOutput struct{ *pulumi.OutputState }

func (BasicThresholdOutput) Bps added in v3.29.0

Specifies the traffic scrubbing threshold. Unit: Mbit/s. The traffic scrubbing threshold cannot exceed the peak inbound or outbound Internet traffic, whichever is larger, of the asset.

func (BasicThresholdOutput) ElementType added in v3.29.0

func (BasicThresholdOutput) ElementType() reflect.Type

func (BasicThresholdOutput) InstanceId added in v3.29.0

func (o BasicThresholdOutput) InstanceId() pulumi.StringOutput

The ID of the instance.

func (BasicThresholdOutput) InstanceType added in v3.29.0

func (o BasicThresholdOutput) InstanceType() pulumi.StringOutput

The type of the Instance. Valid values: `ecs`,`slb`,`eip`.

func (BasicThresholdOutput) InternetIp added in v3.29.0

func (o BasicThresholdOutput) InternetIp() pulumi.StringOutput

The IP address of the public IP address asset.

func (BasicThresholdOutput) MaxBps added in v3.29.0

Maximum flow cleaning threshold. Unit: Mbps.

func (BasicThresholdOutput) MaxPps added in v3.29.0

The maximum number of messages cleaning threshold. Unit: pps.

func (BasicThresholdOutput) Pps added in v3.29.0

The current message number cleaning threshold. Unit: pps.

func (BasicThresholdOutput) ToBasicThresholdOutput added in v3.29.0

func (o BasicThresholdOutput) ToBasicThresholdOutput() BasicThresholdOutput

func (BasicThresholdOutput) ToBasicThresholdOutputWithContext added in v3.29.0

func (o BasicThresholdOutput) ToBasicThresholdOutputWithContext(ctx context.Context) BasicThresholdOutput

type BasicThresholdState added in v3.29.0

type BasicThresholdState struct {
	// Specifies the traffic scrubbing threshold. Unit: Mbit/s. The traffic scrubbing threshold cannot exceed the peak inbound or outbound Internet traffic, whichever is larger, of the asset.
	Bps pulumi.IntPtrInput
	// The ID of the instance.
	InstanceId pulumi.StringPtrInput
	// The type of the Instance. Valid values: `ecs`,`slb`,`eip`.
	InstanceType pulumi.StringPtrInput
	// The IP address of the public IP address asset.
	InternetIp pulumi.StringPtrInput
	// Maximum flow cleaning threshold. Unit: Mbps.
	MaxBps pulumi.IntPtrInput
	// The maximum number of messages cleaning threshold. Unit: pps.
	MaxPps pulumi.IntPtrInput
	// The current message number cleaning threshold. Unit: pps.
	Pps pulumi.IntPtrInput
}

func (BasicThresholdState) ElementType added in v3.29.0

func (BasicThresholdState) ElementType() reflect.Type

type BgpIp added in v3.28.0

type BgpIp struct {
	pulumi.CustomResourceState

	// The ID of the native protection enterprise instance to be operated.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The IP address.
	Ip pulumi.StringOutput `pulumi:"ip"`
	// The member account id of the IP address.
	MemberUid pulumi.StringOutput `pulumi:"memberUid"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"`
	// The current state of the IP address. Valid Value: `normal`, `holeBegin`.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a Ddos Bgp Ip resource.

For information about Ddos Bgp Ip and how to use it, see [What is Ip](https://www.alibabacloud.com/help/en/ddos-protection/latest/addip).

> **NOTE:** Available since v1.180.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil)
		if err != nil {
			return err
		}
		instance, err := ddos.NewDdosBgpInstance(ctx, "instance", &ddos.DdosBgpInstanceArgs{
			Name:            pulumi.String(name),
			BaseBandwidth:   pulumi.Int(20),
			Bandwidth:       pulumi.Int(-1),
			IpCount:         pulumi.Int(100),
			IpType:          pulumi.String("IPv4"),
			NormalBandwidth: pulumi.Int(100),
			Type:            pulumi.String("Enterprise"),
		})
		if err != nil {
			return err
		}
		defaultEipAddress, err := ecs.NewEipAddress(ctx, "default", &ecs.EipAddressArgs{
			AddressName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		_, err = ddos.NewBgpIp(ctx, "default", &ddos.BgpIpArgs{
			InstanceId:      instance.ID(),
			Ip:              defaultEipAddress.IpAddress,
			ResourceGroupId: pulumi.String(_default.Groups[0].Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Ddos Bgp Ip can be imported using the id, e.g.

```sh $ pulumi import alicloud:ddos/bgpIp:BgpIp example <instance_id>:<ip> ```

func GetBgpIp added in v3.28.0

func GetBgpIp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BgpIpState, opts ...pulumi.ResourceOption) (*BgpIp, error)

GetBgpIp gets an existing BgpIp resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBgpIp added in v3.28.0

func NewBgpIp(ctx *pulumi.Context,
	name string, args *BgpIpArgs, opts ...pulumi.ResourceOption) (*BgpIp, error)

NewBgpIp registers a new resource with the given unique name, arguments, and options.

func (*BgpIp) ElementType added in v3.28.0

func (*BgpIp) ElementType() reflect.Type

func (*BgpIp) ToBgpIpOutput added in v3.28.0

func (i *BgpIp) ToBgpIpOutput() BgpIpOutput

func (*BgpIp) ToBgpIpOutputWithContext added in v3.28.0

func (i *BgpIp) ToBgpIpOutputWithContext(ctx context.Context) BgpIpOutput

type BgpIpArgs added in v3.28.0

type BgpIpArgs struct {
	// The ID of the native protection enterprise instance to be operated.
	InstanceId pulumi.StringInput
	// The IP address.
	Ip pulumi.StringInput
	// The member account id of the IP address.
	MemberUid pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
}

The set of arguments for constructing a BgpIp resource.

func (BgpIpArgs) ElementType added in v3.28.0

func (BgpIpArgs) ElementType() reflect.Type

type BgpIpArray added in v3.28.0

type BgpIpArray []BgpIpInput

func (BgpIpArray) ElementType added in v3.28.0

func (BgpIpArray) ElementType() reflect.Type

func (BgpIpArray) ToBgpIpArrayOutput added in v3.28.0

func (i BgpIpArray) ToBgpIpArrayOutput() BgpIpArrayOutput

func (BgpIpArray) ToBgpIpArrayOutputWithContext added in v3.28.0

func (i BgpIpArray) ToBgpIpArrayOutputWithContext(ctx context.Context) BgpIpArrayOutput

type BgpIpArrayInput added in v3.28.0

type BgpIpArrayInput interface {
	pulumi.Input

	ToBgpIpArrayOutput() BgpIpArrayOutput
	ToBgpIpArrayOutputWithContext(context.Context) BgpIpArrayOutput
}

BgpIpArrayInput is an input type that accepts BgpIpArray and BgpIpArrayOutput values. You can construct a concrete instance of `BgpIpArrayInput` via:

BgpIpArray{ BgpIpArgs{...} }

type BgpIpArrayOutput added in v3.28.0

type BgpIpArrayOutput struct{ *pulumi.OutputState }

func (BgpIpArrayOutput) ElementType added in v3.28.0

func (BgpIpArrayOutput) ElementType() reflect.Type

func (BgpIpArrayOutput) Index added in v3.28.0

func (BgpIpArrayOutput) ToBgpIpArrayOutput added in v3.28.0

func (o BgpIpArrayOutput) ToBgpIpArrayOutput() BgpIpArrayOutput

func (BgpIpArrayOutput) ToBgpIpArrayOutputWithContext added in v3.28.0

func (o BgpIpArrayOutput) ToBgpIpArrayOutputWithContext(ctx context.Context) BgpIpArrayOutput

type BgpIpInput added in v3.28.0

type BgpIpInput interface {
	pulumi.Input

	ToBgpIpOutput() BgpIpOutput
	ToBgpIpOutputWithContext(ctx context.Context) BgpIpOutput
}

type BgpIpMap added in v3.28.0

type BgpIpMap map[string]BgpIpInput

func (BgpIpMap) ElementType added in v3.28.0

func (BgpIpMap) ElementType() reflect.Type

func (BgpIpMap) ToBgpIpMapOutput added in v3.28.0

func (i BgpIpMap) ToBgpIpMapOutput() BgpIpMapOutput

func (BgpIpMap) ToBgpIpMapOutputWithContext added in v3.28.0

func (i BgpIpMap) ToBgpIpMapOutputWithContext(ctx context.Context) BgpIpMapOutput

type BgpIpMapInput added in v3.28.0

type BgpIpMapInput interface {
	pulumi.Input

	ToBgpIpMapOutput() BgpIpMapOutput
	ToBgpIpMapOutputWithContext(context.Context) BgpIpMapOutput
}

BgpIpMapInput is an input type that accepts BgpIpMap and BgpIpMapOutput values. You can construct a concrete instance of `BgpIpMapInput` via:

BgpIpMap{ "key": BgpIpArgs{...} }

type BgpIpMapOutput added in v3.28.0

type BgpIpMapOutput struct{ *pulumi.OutputState }

func (BgpIpMapOutput) ElementType added in v3.28.0

func (BgpIpMapOutput) ElementType() reflect.Type

func (BgpIpMapOutput) MapIndex added in v3.28.0

func (BgpIpMapOutput) ToBgpIpMapOutput added in v3.28.0

func (o BgpIpMapOutput) ToBgpIpMapOutput() BgpIpMapOutput

func (BgpIpMapOutput) ToBgpIpMapOutputWithContext added in v3.28.0

func (o BgpIpMapOutput) ToBgpIpMapOutputWithContext(ctx context.Context) BgpIpMapOutput

type BgpIpOutput added in v3.28.0

type BgpIpOutput struct{ *pulumi.OutputState }

func (BgpIpOutput) ElementType added in v3.28.0

func (BgpIpOutput) ElementType() reflect.Type

func (BgpIpOutput) InstanceId added in v3.28.0

func (o BgpIpOutput) InstanceId() pulumi.StringOutput

The ID of the native protection enterprise instance to be operated.

func (BgpIpOutput) Ip added in v3.28.0

The IP address.

func (BgpIpOutput) MemberUid added in v3.57.1

func (o BgpIpOutput) MemberUid() pulumi.StringOutput

The member account id of the IP address.

func (BgpIpOutput) ResourceGroupId added in v3.28.0

func (o BgpIpOutput) ResourceGroupId() pulumi.StringPtrOutput

The ID of the resource group.

func (BgpIpOutput) Status added in v3.28.0

func (o BgpIpOutput) Status() pulumi.StringOutput

The current state of the IP address. Valid Value: `normal`, `holeBegin`.

func (BgpIpOutput) ToBgpIpOutput added in v3.28.0

func (o BgpIpOutput) ToBgpIpOutput() BgpIpOutput

func (BgpIpOutput) ToBgpIpOutputWithContext added in v3.28.0

func (o BgpIpOutput) ToBgpIpOutputWithContext(ctx context.Context) BgpIpOutput

type BgpIpState added in v3.28.0

type BgpIpState struct {
	// The ID of the native protection enterprise instance to be operated.
	InstanceId pulumi.StringPtrInput
	// The IP address.
	Ip pulumi.StringPtrInput
	// The member account id of the IP address.
	MemberUid pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The current state of the IP address. Valid Value: `normal`, `holeBegin`.
	Status pulumi.StringPtrInput
}

func (BgpIpState) ElementType added in v3.28.0

func (BgpIpState) ElementType() reflect.Type

type BgpPolicy added in v3.58.0

type BgpPolicy struct {
	pulumi.CustomResourceState

	// Configuration Content See `content` below.
	Content BgpPolicyContentOutput `pulumi:"content"`
	// The name of the resource
	PolicyName pulumi.StringOutput `pulumi:"policyName"`
	// Type
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides a Ddos Bgp Policy resource.

Ddos protection policy.

For information about Ddos Bgp Policy and how to use it, see [What is Policy](https://www.alibabacloud.com/help/en/).

> **NOTE:** Available since v1.226.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf_exampleacc_bgp32594"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		policyName := "example_l4_policy"
		if param := cfg.Get("policyName"); param != "" {
			policyName = param
		}
		_, err := ddos.NewBgpPolicy(ctx, "default", &ddos.BgpPolicyArgs{
			Content: &ddos.BgpPolicyContentArgs{
				EnableDefense: pulumi.Bool(false),
				Layer4RuleLists: ddos.BgpPolicyContentLayer4RuleListArray{
					&ddos.BgpPolicyContentLayer4RuleListArgs{
						Method:  pulumi.String("hex"),
						Match:   pulumi.String("1"),
						Action:  pulumi.String("1"),
						Limited: pulumi.Int(0),
						ConditionLists: ddos.BgpPolicyContentLayer4RuleListConditionListArray{
							&ddos.BgpPolicyContentLayer4RuleListConditionListArgs{
								Arg:      pulumi.String("3C"),
								Position: pulumi.Int(1),
								Depth:    pulumi.Int(2),
							},
						},
						Name:     pulumi.String("11"),
						Priority: pulumi.Int(10),
					},
				},
			},
			Type:       pulumi.String("l4"),
			PolicyName: pulumi.String("tf_exampleacc_bgp32594"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Ddos Bgp Policy can be imported using the id, e.g.

```sh $ pulumi import alicloud:ddos/bgpPolicy:BgpPolicy example <id> ```

func GetBgpPolicy added in v3.58.0

func GetBgpPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BgpPolicyState, opts ...pulumi.ResourceOption) (*BgpPolicy, error)

GetBgpPolicy gets an existing BgpPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBgpPolicy added in v3.58.0

func NewBgpPolicy(ctx *pulumi.Context,
	name string, args *BgpPolicyArgs, opts ...pulumi.ResourceOption) (*BgpPolicy, error)

NewBgpPolicy registers a new resource with the given unique name, arguments, and options.

func (*BgpPolicy) ElementType added in v3.58.0

func (*BgpPolicy) ElementType() reflect.Type

func (*BgpPolicy) ToBgpPolicyOutput added in v3.58.0

func (i *BgpPolicy) ToBgpPolicyOutput() BgpPolicyOutput

func (*BgpPolicy) ToBgpPolicyOutputWithContext added in v3.58.0

func (i *BgpPolicy) ToBgpPolicyOutputWithContext(ctx context.Context) BgpPolicyOutput

type BgpPolicyArgs added in v3.58.0

type BgpPolicyArgs struct {
	// Configuration Content See `content` below.
	Content BgpPolicyContentPtrInput
	// The name of the resource
	PolicyName pulumi.StringInput
	// Type
	Type pulumi.StringInput
}

The set of arguments for constructing a BgpPolicy resource.

func (BgpPolicyArgs) ElementType added in v3.58.0

func (BgpPolicyArgs) ElementType() reflect.Type

type BgpPolicyArray added in v3.58.0

type BgpPolicyArray []BgpPolicyInput

func (BgpPolicyArray) ElementType added in v3.58.0

func (BgpPolicyArray) ElementType() reflect.Type

func (BgpPolicyArray) ToBgpPolicyArrayOutput added in v3.58.0

func (i BgpPolicyArray) ToBgpPolicyArrayOutput() BgpPolicyArrayOutput

func (BgpPolicyArray) ToBgpPolicyArrayOutputWithContext added in v3.58.0

func (i BgpPolicyArray) ToBgpPolicyArrayOutputWithContext(ctx context.Context) BgpPolicyArrayOutput

type BgpPolicyArrayInput added in v3.58.0

type BgpPolicyArrayInput interface {
	pulumi.Input

	ToBgpPolicyArrayOutput() BgpPolicyArrayOutput
	ToBgpPolicyArrayOutputWithContext(context.Context) BgpPolicyArrayOutput
}

BgpPolicyArrayInput is an input type that accepts BgpPolicyArray and BgpPolicyArrayOutput values. You can construct a concrete instance of `BgpPolicyArrayInput` via:

BgpPolicyArray{ BgpPolicyArgs{...} }

type BgpPolicyArrayOutput added in v3.58.0

type BgpPolicyArrayOutput struct{ *pulumi.OutputState }

func (BgpPolicyArrayOutput) ElementType added in v3.58.0

func (BgpPolicyArrayOutput) ElementType() reflect.Type

func (BgpPolicyArrayOutput) Index added in v3.58.0

func (BgpPolicyArrayOutput) ToBgpPolicyArrayOutput added in v3.58.0

func (o BgpPolicyArrayOutput) ToBgpPolicyArrayOutput() BgpPolicyArrayOutput

func (BgpPolicyArrayOutput) ToBgpPolicyArrayOutputWithContext added in v3.58.0

func (o BgpPolicyArrayOutput) ToBgpPolicyArrayOutputWithContext(ctx context.Context) BgpPolicyArrayOutput

type BgpPolicyContent added in v3.58.0

type BgpPolicyContent struct {
	// Blacklist and whitelist timeout.
	BlackIpListExpireAt *int `pulumi:"blackIpListExpireAt"`
	// Whether to enable L4 protection.
	EnableDefense *bool `pulumi:"enableDefense"`
	// Switch to discard ICMP.
	EnableDropIcmp *bool `pulumi:"enableDropIcmp"`
	// Whether the intelligent switch is on.
	EnableIntelligence *bool `pulumi:"enableIntelligence"`
	// Fingerprint Rules. See `fingerPrintRuleList` below.
	FingerPrintRuleLists []BgpPolicyContentFingerPrintRuleList `pulumi:"fingerPrintRuleLists"`
	// Smart mode. Valid values: weak, hard, and default.
	IntelligenceLevel *string `pulumi:"intelligenceLevel"`
	// L4 protection rules. See `layer4RuleList` below.
	Layer4RuleLists []BgpPolicyContentLayer4RuleList `pulumi:"layer4RuleLists"`
	// Port Rule List. See `portRuleList` below.
	PortRuleLists []BgpPolicyContentPortRuleList `pulumi:"portRuleLists"`
	// Reflective port filtering.
	ReflectBlockUdpPortLists []int `pulumi:"reflectBlockUdpPortLists"`
	// List of Regional Banned Countries.
	RegionBlockCountryLists []int `pulumi:"regionBlockCountryLists"`
	// List of Prohibited Provinces by Region.
	RegionBlockProvinceLists []int `pulumi:"regionBlockProvinceLists"`
	// Source pull Black. See `sourceBlockList` below.
	SourceBlockLists []BgpPolicyContentSourceBlockList `pulumi:"sourceBlockLists"`
	// Do not fill in when the source speed limit is deleted. See `sourceLimit` below.
	SourceLimit *BgpPolicyContentSourceLimit `pulumi:"sourceLimit"`
	// Add white high protection back to source network segment switch.
	WhitenGfbrNets *bool `pulumi:"whitenGfbrNets"`
}

type BgpPolicyContentArgs added in v3.58.0

type BgpPolicyContentArgs struct {
	// Blacklist and whitelist timeout.
	BlackIpListExpireAt pulumi.IntPtrInput `pulumi:"blackIpListExpireAt"`
	// Whether to enable L4 protection.
	EnableDefense pulumi.BoolPtrInput `pulumi:"enableDefense"`
	// Switch to discard ICMP.
	EnableDropIcmp pulumi.BoolPtrInput `pulumi:"enableDropIcmp"`
	// Whether the intelligent switch is on.
	EnableIntelligence pulumi.BoolPtrInput `pulumi:"enableIntelligence"`
	// Fingerprint Rules. See `fingerPrintRuleList` below.
	FingerPrintRuleLists BgpPolicyContentFingerPrintRuleListArrayInput `pulumi:"fingerPrintRuleLists"`
	// Smart mode. Valid values: weak, hard, and default.
	IntelligenceLevel pulumi.StringPtrInput `pulumi:"intelligenceLevel"`
	// L4 protection rules. See `layer4RuleList` below.
	Layer4RuleLists BgpPolicyContentLayer4RuleListArrayInput `pulumi:"layer4RuleLists"`
	// Port Rule List. See `portRuleList` below.
	PortRuleLists BgpPolicyContentPortRuleListArrayInput `pulumi:"portRuleLists"`
	// Reflective port filtering.
	ReflectBlockUdpPortLists pulumi.IntArrayInput `pulumi:"reflectBlockUdpPortLists"`
	// List of Regional Banned Countries.
	RegionBlockCountryLists pulumi.IntArrayInput `pulumi:"regionBlockCountryLists"`
	// List of Prohibited Provinces by Region.
	RegionBlockProvinceLists pulumi.IntArrayInput `pulumi:"regionBlockProvinceLists"`
	// Source pull Black. See `sourceBlockList` below.
	SourceBlockLists BgpPolicyContentSourceBlockListArrayInput `pulumi:"sourceBlockLists"`
	// Do not fill in when the source speed limit is deleted. See `sourceLimit` below.
	SourceLimit BgpPolicyContentSourceLimitPtrInput `pulumi:"sourceLimit"`
	// Add white high protection back to source network segment switch.
	WhitenGfbrNets pulumi.BoolPtrInput `pulumi:"whitenGfbrNets"`
}

func (BgpPolicyContentArgs) ElementType added in v3.58.0

func (BgpPolicyContentArgs) ElementType() reflect.Type

func (BgpPolicyContentArgs) ToBgpPolicyContentOutput added in v3.58.0

func (i BgpPolicyContentArgs) ToBgpPolicyContentOutput() BgpPolicyContentOutput

func (BgpPolicyContentArgs) ToBgpPolicyContentOutputWithContext added in v3.58.0

func (i BgpPolicyContentArgs) ToBgpPolicyContentOutputWithContext(ctx context.Context) BgpPolicyContentOutput

func (BgpPolicyContentArgs) ToBgpPolicyContentPtrOutput added in v3.58.0

func (i BgpPolicyContentArgs) ToBgpPolicyContentPtrOutput() BgpPolicyContentPtrOutput

func (BgpPolicyContentArgs) ToBgpPolicyContentPtrOutputWithContext added in v3.58.0

func (i BgpPolicyContentArgs) ToBgpPolicyContentPtrOutputWithContext(ctx context.Context) BgpPolicyContentPtrOutput

type BgpPolicyContentFingerPrintRuleList added in v3.58.0

type BgpPolicyContentFingerPrintRuleList struct {
	// End of destination port 0-65535.
	DstPortEnd int `pulumi:"dstPortEnd"`
	// Destination Port start 0-65535.
	DstPortStart int `pulumi:"dstPortStart"`
	// The UUID of the rule is required to be deleted and modified, and it is not required to be created.
	FingerPrintRuleId *string `pulumi:"fingerPrintRuleId"`
	// Action. Currently, only drop is supported.
	MatchAction string `pulumi:"matchAction"`
	// Maximum bag length.
	MaxPktLen int `pulumi:"maxPktLen"`
	// Minimum package length.
	MinPktLen int `pulumi:"minPktLen"`
	// Offset.
	Offset *int `pulumi:"offset"`
	// Load match, hexadecimal string; Similar to 'abcd'.
	PayloadBytes *string `pulumi:"payloadBytes"`
	// Protocol, tcp or udp.
	Protocol string `pulumi:"protocol"`
	// Speed limit value 1-100000.
	RateValue *int `pulumi:"rateValue"`
	// Serial number 1-100 ● Affects the order issued by the bottom layer ● The larger the number, the lower it is.
	SeqNo int `pulumi:"seqNo"`
	// Source Port end 0-65535.
	SrcPortEnd int `pulumi:"srcPortEnd"`
	// Source port start 0-65535.
	SrcPortStart int `pulumi:"srcPortStart"`
}

type BgpPolicyContentFingerPrintRuleListArgs added in v3.58.0

type BgpPolicyContentFingerPrintRuleListArgs struct {
	// End of destination port 0-65535.
	DstPortEnd pulumi.IntInput `pulumi:"dstPortEnd"`
	// Destination Port start 0-65535.
	DstPortStart pulumi.IntInput `pulumi:"dstPortStart"`
	// The UUID of the rule is required to be deleted and modified, and it is not required to be created.
	FingerPrintRuleId pulumi.StringPtrInput `pulumi:"fingerPrintRuleId"`
	// Action. Currently, only drop is supported.
	MatchAction pulumi.StringInput `pulumi:"matchAction"`
	// Maximum bag length.
	MaxPktLen pulumi.IntInput `pulumi:"maxPktLen"`
	// Minimum package length.
	MinPktLen pulumi.IntInput `pulumi:"minPktLen"`
	// Offset.
	Offset pulumi.IntPtrInput `pulumi:"offset"`
	// Load match, hexadecimal string; Similar to 'abcd'.
	PayloadBytes pulumi.StringPtrInput `pulumi:"payloadBytes"`
	// Protocol, tcp or udp.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// Speed limit value 1-100000.
	RateValue pulumi.IntPtrInput `pulumi:"rateValue"`
	// Serial number 1-100 ● Affects the order issued by the bottom layer ● The larger the number, the lower it is.
	SeqNo pulumi.IntInput `pulumi:"seqNo"`
	// Source Port end 0-65535.
	SrcPortEnd pulumi.IntInput `pulumi:"srcPortEnd"`
	// Source port start 0-65535.
	SrcPortStart pulumi.IntInput `pulumi:"srcPortStart"`
}

func (BgpPolicyContentFingerPrintRuleListArgs) ElementType added in v3.58.0

func (BgpPolicyContentFingerPrintRuleListArgs) ToBgpPolicyContentFingerPrintRuleListOutput added in v3.58.0

func (i BgpPolicyContentFingerPrintRuleListArgs) ToBgpPolicyContentFingerPrintRuleListOutput() BgpPolicyContentFingerPrintRuleListOutput

func (BgpPolicyContentFingerPrintRuleListArgs) ToBgpPolicyContentFingerPrintRuleListOutputWithContext added in v3.58.0

func (i BgpPolicyContentFingerPrintRuleListArgs) ToBgpPolicyContentFingerPrintRuleListOutputWithContext(ctx context.Context) BgpPolicyContentFingerPrintRuleListOutput

type BgpPolicyContentFingerPrintRuleListArray added in v3.58.0

type BgpPolicyContentFingerPrintRuleListArray []BgpPolicyContentFingerPrintRuleListInput

func (BgpPolicyContentFingerPrintRuleListArray) ElementType added in v3.58.0

func (BgpPolicyContentFingerPrintRuleListArray) ToBgpPolicyContentFingerPrintRuleListArrayOutput added in v3.58.0

func (i BgpPolicyContentFingerPrintRuleListArray) ToBgpPolicyContentFingerPrintRuleListArrayOutput() BgpPolicyContentFingerPrintRuleListArrayOutput

func (BgpPolicyContentFingerPrintRuleListArray) ToBgpPolicyContentFingerPrintRuleListArrayOutputWithContext added in v3.58.0

func (i BgpPolicyContentFingerPrintRuleListArray) ToBgpPolicyContentFingerPrintRuleListArrayOutputWithContext(ctx context.Context) BgpPolicyContentFingerPrintRuleListArrayOutput

type BgpPolicyContentFingerPrintRuleListArrayInput added in v3.58.0

type BgpPolicyContentFingerPrintRuleListArrayInput interface {
	pulumi.Input

	ToBgpPolicyContentFingerPrintRuleListArrayOutput() BgpPolicyContentFingerPrintRuleListArrayOutput
	ToBgpPolicyContentFingerPrintRuleListArrayOutputWithContext(context.Context) BgpPolicyContentFingerPrintRuleListArrayOutput
}

BgpPolicyContentFingerPrintRuleListArrayInput is an input type that accepts BgpPolicyContentFingerPrintRuleListArray and BgpPolicyContentFingerPrintRuleListArrayOutput values. You can construct a concrete instance of `BgpPolicyContentFingerPrintRuleListArrayInput` via:

BgpPolicyContentFingerPrintRuleListArray{ BgpPolicyContentFingerPrintRuleListArgs{...} }

type BgpPolicyContentFingerPrintRuleListArrayOutput added in v3.58.0

type BgpPolicyContentFingerPrintRuleListArrayOutput struct{ *pulumi.OutputState }

func (BgpPolicyContentFingerPrintRuleListArrayOutput) ElementType added in v3.58.0

func (BgpPolicyContentFingerPrintRuleListArrayOutput) Index added in v3.58.0

func (BgpPolicyContentFingerPrintRuleListArrayOutput) ToBgpPolicyContentFingerPrintRuleListArrayOutput added in v3.58.0

func (o BgpPolicyContentFingerPrintRuleListArrayOutput) ToBgpPolicyContentFingerPrintRuleListArrayOutput() BgpPolicyContentFingerPrintRuleListArrayOutput

func (BgpPolicyContentFingerPrintRuleListArrayOutput) ToBgpPolicyContentFingerPrintRuleListArrayOutputWithContext added in v3.58.0

func (o BgpPolicyContentFingerPrintRuleListArrayOutput) ToBgpPolicyContentFingerPrintRuleListArrayOutputWithContext(ctx context.Context) BgpPolicyContentFingerPrintRuleListArrayOutput

type BgpPolicyContentFingerPrintRuleListInput added in v3.58.0

type BgpPolicyContentFingerPrintRuleListInput interface {
	pulumi.Input

	ToBgpPolicyContentFingerPrintRuleListOutput() BgpPolicyContentFingerPrintRuleListOutput
	ToBgpPolicyContentFingerPrintRuleListOutputWithContext(context.Context) BgpPolicyContentFingerPrintRuleListOutput
}

BgpPolicyContentFingerPrintRuleListInput is an input type that accepts BgpPolicyContentFingerPrintRuleListArgs and BgpPolicyContentFingerPrintRuleListOutput values. You can construct a concrete instance of `BgpPolicyContentFingerPrintRuleListInput` via:

BgpPolicyContentFingerPrintRuleListArgs{...}

type BgpPolicyContentFingerPrintRuleListOutput added in v3.58.0

type BgpPolicyContentFingerPrintRuleListOutput struct{ *pulumi.OutputState }

func (BgpPolicyContentFingerPrintRuleListOutput) DstPortEnd added in v3.58.0

End of destination port 0-65535.

func (BgpPolicyContentFingerPrintRuleListOutput) DstPortStart added in v3.58.0

Destination Port start 0-65535.

func (BgpPolicyContentFingerPrintRuleListOutput) ElementType added in v3.58.0

func (BgpPolicyContentFingerPrintRuleListOutput) FingerPrintRuleId added in v3.58.0

The UUID of the rule is required to be deleted and modified, and it is not required to be created.

func (BgpPolicyContentFingerPrintRuleListOutput) MatchAction added in v3.58.0

Action. Currently, only drop is supported.

func (BgpPolicyContentFingerPrintRuleListOutput) MaxPktLen added in v3.58.0

Maximum bag length.

func (BgpPolicyContentFingerPrintRuleListOutput) MinPktLen added in v3.58.0

Minimum package length.

func (BgpPolicyContentFingerPrintRuleListOutput) Offset added in v3.58.0

Offset.

func (BgpPolicyContentFingerPrintRuleListOutput) PayloadBytes added in v3.58.0

Load match, hexadecimal string; Similar to 'abcd'.

func (BgpPolicyContentFingerPrintRuleListOutput) Protocol added in v3.58.0

Protocol, tcp or udp.

func (BgpPolicyContentFingerPrintRuleListOutput) RateValue added in v3.58.0

Speed limit value 1-100000.

func (BgpPolicyContentFingerPrintRuleListOutput) SeqNo added in v3.58.0

Serial number 1-100 ● Affects the order issued by the bottom layer ● The larger the number, the lower it is.

func (BgpPolicyContentFingerPrintRuleListOutput) SrcPortEnd added in v3.58.0

Source Port end 0-65535.

func (BgpPolicyContentFingerPrintRuleListOutput) SrcPortStart added in v3.58.0

Source port start 0-65535.

func (BgpPolicyContentFingerPrintRuleListOutput) ToBgpPolicyContentFingerPrintRuleListOutput added in v3.58.0

func (o BgpPolicyContentFingerPrintRuleListOutput) ToBgpPolicyContentFingerPrintRuleListOutput() BgpPolicyContentFingerPrintRuleListOutput

func (BgpPolicyContentFingerPrintRuleListOutput) ToBgpPolicyContentFingerPrintRuleListOutputWithContext added in v3.58.0

func (o BgpPolicyContentFingerPrintRuleListOutput) ToBgpPolicyContentFingerPrintRuleListOutputWithContext(ctx context.Context) BgpPolicyContentFingerPrintRuleListOutput

type BgpPolicyContentInput added in v3.58.0

type BgpPolicyContentInput interface {
	pulumi.Input

	ToBgpPolicyContentOutput() BgpPolicyContentOutput
	ToBgpPolicyContentOutputWithContext(context.Context) BgpPolicyContentOutput
}

BgpPolicyContentInput is an input type that accepts BgpPolicyContentArgs and BgpPolicyContentOutput values. You can construct a concrete instance of `BgpPolicyContentInput` via:

BgpPolicyContentArgs{...}

type BgpPolicyContentLayer4RuleList added in v3.58.0

type BgpPolicyContentLayer4RuleList struct {
	// 1 for observation 2 for blocking.
	Action string `pulumi:"action"`
	// Matching Condition. See `conditionList` below.
	ConditionLists []BgpPolicyContentLayer4RuleListConditionList `pulumi:"conditionLists"`
	// .
	Limited int `pulumi:"limited"`
	// 0 indicates that the condition is not met 1 indicates that the condition is met.
	Match string `pulumi:"match"`
	// Char indicates a string match hex match.
	Method string `pulumi:"method"`
	// Rule Name.
	Name string `pulumi:"name"`
	// 1-100, priority, the lower the number, the higher the priority.
	Priority int `pulumi:"priority"`
}

type BgpPolicyContentLayer4RuleListArgs added in v3.58.0

type BgpPolicyContentLayer4RuleListArgs struct {
	// 1 for observation 2 for blocking.
	Action pulumi.StringInput `pulumi:"action"`
	// Matching Condition. See `conditionList` below.
	ConditionLists BgpPolicyContentLayer4RuleListConditionListArrayInput `pulumi:"conditionLists"`
	// .
	Limited pulumi.IntInput `pulumi:"limited"`
	// 0 indicates that the condition is not met 1 indicates that the condition is met.
	Match pulumi.StringInput `pulumi:"match"`
	// Char indicates a string match hex match.
	Method pulumi.StringInput `pulumi:"method"`
	// Rule Name.
	Name pulumi.StringInput `pulumi:"name"`
	// 1-100, priority, the lower the number, the higher the priority.
	Priority pulumi.IntInput `pulumi:"priority"`
}

func (BgpPolicyContentLayer4RuleListArgs) ElementType added in v3.58.0

func (BgpPolicyContentLayer4RuleListArgs) ToBgpPolicyContentLayer4RuleListOutput added in v3.58.0

func (i BgpPolicyContentLayer4RuleListArgs) ToBgpPolicyContentLayer4RuleListOutput() BgpPolicyContentLayer4RuleListOutput

func (BgpPolicyContentLayer4RuleListArgs) ToBgpPolicyContentLayer4RuleListOutputWithContext added in v3.58.0

func (i BgpPolicyContentLayer4RuleListArgs) ToBgpPolicyContentLayer4RuleListOutputWithContext(ctx context.Context) BgpPolicyContentLayer4RuleListOutput

type BgpPolicyContentLayer4RuleListArray added in v3.58.0

type BgpPolicyContentLayer4RuleListArray []BgpPolicyContentLayer4RuleListInput

func (BgpPolicyContentLayer4RuleListArray) ElementType added in v3.58.0

func (BgpPolicyContentLayer4RuleListArray) ToBgpPolicyContentLayer4RuleListArrayOutput added in v3.58.0

func (i BgpPolicyContentLayer4RuleListArray) ToBgpPolicyContentLayer4RuleListArrayOutput() BgpPolicyContentLayer4RuleListArrayOutput

func (BgpPolicyContentLayer4RuleListArray) ToBgpPolicyContentLayer4RuleListArrayOutputWithContext added in v3.58.0

func (i BgpPolicyContentLayer4RuleListArray) ToBgpPolicyContentLayer4RuleListArrayOutputWithContext(ctx context.Context) BgpPolicyContentLayer4RuleListArrayOutput

type BgpPolicyContentLayer4RuleListArrayInput added in v3.58.0

type BgpPolicyContentLayer4RuleListArrayInput interface {
	pulumi.Input

	ToBgpPolicyContentLayer4RuleListArrayOutput() BgpPolicyContentLayer4RuleListArrayOutput
	ToBgpPolicyContentLayer4RuleListArrayOutputWithContext(context.Context) BgpPolicyContentLayer4RuleListArrayOutput
}

BgpPolicyContentLayer4RuleListArrayInput is an input type that accepts BgpPolicyContentLayer4RuleListArray and BgpPolicyContentLayer4RuleListArrayOutput values. You can construct a concrete instance of `BgpPolicyContentLayer4RuleListArrayInput` via:

BgpPolicyContentLayer4RuleListArray{ BgpPolicyContentLayer4RuleListArgs{...} }

type BgpPolicyContentLayer4RuleListArrayOutput added in v3.58.0

type BgpPolicyContentLayer4RuleListArrayOutput struct{ *pulumi.OutputState }

func (BgpPolicyContentLayer4RuleListArrayOutput) ElementType added in v3.58.0

func (BgpPolicyContentLayer4RuleListArrayOutput) Index added in v3.58.0

func (BgpPolicyContentLayer4RuleListArrayOutput) ToBgpPolicyContentLayer4RuleListArrayOutput added in v3.58.0

func (o BgpPolicyContentLayer4RuleListArrayOutput) ToBgpPolicyContentLayer4RuleListArrayOutput() BgpPolicyContentLayer4RuleListArrayOutput

func (BgpPolicyContentLayer4RuleListArrayOutput) ToBgpPolicyContentLayer4RuleListArrayOutputWithContext added in v3.58.0

func (o BgpPolicyContentLayer4RuleListArrayOutput) ToBgpPolicyContentLayer4RuleListArrayOutputWithContext(ctx context.Context) BgpPolicyContentLayer4RuleListArrayOutput

type BgpPolicyContentLayer4RuleListConditionList added in v3.58.0

type BgpPolicyContentLayer4RuleListConditionList struct {
	// Matching target character.
	Arg string `pulumi:"arg"`
	// Depth of Matching.
	Depth int `pulumi:"depth"`
	// Position to start matching, starting from 0.
	Position int `pulumi:"position"`
}

type BgpPolicyContentLayer4RuleListConditionListArgs added in v3.58.0

type BgpPolicyContentLayer4RuleListConditionListArgs struct {
	// Matching target character.
	Arg pulumi.StringInput `pulumi:"arg"`
	// Depth of Matching.
	Depth pulumi.IntInput `pulumi:"depth"`
	// Position to start matching, starting from 0.
	Position pulumi.IntInput `pulumi:"position"`
}

func (BgpPolicyContentLayer4RuleListConditionListArgs) ElementType added in v3.58.0

func (BgpPolicyContentLayer4RuleListConditionListArgs) ToBgpPolicyContentLayer4RuleListConditionListOutput added in v3.58.0

func (i BgpPolicyContentLayer4RuleListConditionListArgs) ToBgpPolicyContentLayer4RuleListConditionListOutput() BgpPolicyContentLayer4RuleListConditionListOutput

func (BgpPolicyContentLayer4RuleListConditionListArgs) ToBgpPolicyContentLayer4RuleListConditionListOutputWithContext added in v3.58.0

func (i BgpPolicyContentLayer4RuleListConditionListArgs) ToBgpPolicyContentLayer4RuleListConditionListOutputWithContext(ctx context.Context) BgpPolicyContentLayer4RuleListConditionListOutput

type BgpPolicyContentLayer4RuleListConditionListArray added in v3.58.0

type BgpPolicyContentLayer4RuleListConditionListArray []BgpPolicyContentLayer4RuleListConditionListInput

func (BgpPolicyContentLayer4RuleListConditionListArray) ElementType added in v3.58.0

func (BgpPolicyContentLayer4RuleListConditionListArray) ToBgpPolicyContentLayer4RuleListConditionListArrayOutput added in v3.58.0

func (i BgpPolicyContentLayer4RuleListConditionListArray) ToBgpPolicyContentLayer4RuleListConditionListArrayOutput() BgpPolicyContentLayer4RuleListConditionListArrayOutput

func (BgpPolicyContentLayer4RuleListConditionListArray) ToBgpPolicyContentLayer4RuleListConditionListArrayOutputWithContext added in v3.58.0

func (i BgpPolicyContentLayer4RuleListConditionListArray) ToBgpPolicyContentLayer4RuleListConditionListArrayOutputWithContext(ctx context.Context) BgpPolicyContentLayer4RuleListConditionListArrayOutput

type BgpPolicyContentLayer4RuleListConditionListArrayInput added in v3.58.0

type BgpPolicyContentLayer4RuleListConditionListArrayInput interface {
	pulumi.Input

	ToBgpPolicyContentLayer4RuleListConditionListArrayOutput() BgpPolicyContentLayer4RuleListConditionListArrayOutput
	ToBgpPolicyContentLayer4RuleListConditionListArrayOutputWithContext(context.Context) BgpPolicyContentLayer4RuleListConditionListArrayOutput
}

BgpPolicyContentLayer4RuleListConditionListArrayInput is an input type that accepts BgpPolicyContentLayer4RuleListConditionListArray and BgpPolicyContentLayer4RuleListConditionListArrayOutput values. You can construct a concrete instance of `BgpPolicyContentLayer4RuleListConditionListArrayInput` via:

BgpPolicyContentLayer4RuleListConditionListArray{ BgpPolicyContentLayer4RuleListConditionListArgs{...} }

type BgpPolicyContentLayer4RuleListConditionListArrayOutput added in v3.58.0

type BgpPolicyContentLayer4RuleListConditionListArrayOutput struct{ *pulumi.OutputState }

func (BgpPolicyContentLayer4RuleListConditionListArrayOutput) ElementType added in v3.58.0

func (BgpPolicyContentLayer4RuleListConditionListArrayOutput) Index added in v3.58.0

func (BgpPolicyContentLayer4RuleListConditionListArrayOutput) ToBgpPolicyContentLayer4RuleListConditionListArrayOutput added in v3.58.0

func (BgpPolicyContentLayer4RuleListConditionListArrayOutput) ToBgpPolicyContentLayer4RuleListConditionListArrayOutputWithContext added in v3.58.0

func (o BgpPolicyContentLayer4RuleListConditionListArrayOutput) ToBgpPolicyContentLayer4RuleListConditionListArrayOutputWithContext(ctx context.Context) BgpPolicyContentLayer4RuleListConditionListArrayOutput

type BgpPolicyContentLayer4RuleListConditionListInput added in v3.58.0

type BgpPolicyContentLayer4RuleListConditionListInput interface {
	pulumi.Input

	ToBgpPolicyContentLayer4RuleListConditionListOutput() BgpPolicyContentLayer4RuleListConditionListOutput
	ToBgpPolicyContentLayer4RuleListConditionListOutputWithContext(context.Context) BgpPolicyContentLayer4RuleListConditionListOutput
}

BgpPolicyContentLayer4RuleListConditionListInput is an input type that accepts BgpPolicyContentLayer4RuleListConditionListArgs and BgpPolicyContentLayer4RuleListConditionListOutput values. You can construct a concrete instance of `BgpPolicyContentLayer4RuleListConditionListInput` via:

BgpPolicyContentLayer4RuleListConditionListArgs{...}

type BgpPolicyContentLayer4RuleListConditionListOutput added in v3.58.0

type BgpPolicyContentLayer4RuleListConditionListOutput struct{ *pulumi.OutputState }

func (BgpPolicyContentLayer4RuleListConditionListOutput) Arg added in v3.58.0

Matching target character.

func (BgpPolicyContentLayer4RuleListConditionListOutput) Depth added in v3.58.0

Depth of Matching.

func (BgpPolicyContentLayer4RuleListConditionListOutput) ElementType added in v3.58.0

func (BgpPolicyContentLayer4RuleListConditionListOutput) Position added in v3.58.0

Position to start matching, starting from 0.

func (BgpPolicyContentLayer4RuleListConditionListOutput) ToBgpPolicyContentLayer4RuleListConditionListOutput added in v3.58.0

func (o BgpPolicyContentLayer4RuleListConditionListOutput) ToBgpPolicyContentLayer4RuleListConditionListOutput() BgpPolicyContentLayer4RuleListConditionListOutput

func (BgpPolicyContentLayer4RuleListConditionListOutput) ToBgpPolicyContentLayer4RuleListConditionListOutputWithContext added in v3.58.0

func (o BgpPolicyContentLayer4RuleListConditionListOutput) ToBgpPolicyContentLayer4RuleListConditionListOutputWithContext(ctx context.Context) BgpPolicyContentLayer4RuleListConditionListOutput

type BgpPolicyContentLayer4RuleListInput added in v3.58.0

type BgpPolicyContentLayer4RuleListInput interface {
	pulumi.Input

	ToBgpPolicyContentLayer4RuleListOutput() BgpPolicyContentLayer4RuleListOutput
	ToBgpPolicyContentLayer4RuleListOutputWithContext(context.Context) BgpPolicyContentLayer4RuleListOutput
}

BgpPolicyContentLayer4RuleListInput is an input type that accepts BgpPolicyContentLayer4RuleListArgs and BgpPolicyContentLayer4RuleListOutput values. You can construct a concrete instance of `BgpPolicyContentLayer4RuleListInput` via:

BgpPolicyContentLayer4RuleListArgs{...}

type BgpPolicyContentLayer4RuleListOutput added in v3.58.0

type BgpPolicyContentLayer4RuleListOutput struct{ *pulumi.OutputState }

func (BgpPolicyContentLayer4RuleListOutput) Action added in v3.58.0

1 for observation 2 for blocking.

func (BgpPolicyContentLayer4RuleListOutput) ConditionLists added in v3.58.0

Matching Condition. See `conditionList` below.

func (BgpPolicyContentLayer4RuleListOutput) ElementType added in v3.58.0

func (BgpPolicyContentLayer4RuleListOutput) Limited added in v3.58.0

.

func (BgpPolicyContentLayer4RuleListOutput) Match added in v3.58.0

0 indicates that the condition is not met 1 indicates that the condition is met.

func (BgpPolicyContentLayer4RuleListOutput) Method added in v3.58.0

Char indicates a string match hex match.

func (BgpPolicyContentLayer4RuleListOutput) Name added in v3.58.0

Rule Name.

func (BgpPolicyContentLayer4RuleListOutput) Priority added in v3.58.0

1-100, priority, the lower the number, the higher the priority.

func (BgpPolicyContentLayer4RuleListOutput) ToBgpPolicyContentLayer4RuleListOutput added in v3.58.0

func (o BgpPolicyContentLayer4RuleListOutput) ToBgpPolicyContentLayer4RuleListOutput() BgpPolicyContentLayer4RuleListOutput

func (BgpPolicyContentLayer4RuleListOutput) ToBgpPolicyContentLayer4RuleListOutputWithContext added in v3.58.0

func (o BgpPolicyContentLayer4RuleListOutput) ToBgpPolicyContentLayer4RuleListOutputWithContext(ctx context.Context) BgpPolicyContentLayer4RuleListOutput

type BgpPolicyContentOutput added in v3.58.0

type BgpPolicyContentOutput struct{ *pulumi.OutputState }

func (BgpPolicyContentOutput) BlackIpListExpireAt added in v3.58.0

func (o BgpPolicyContentOutput) BlackIpListExpireAt() pulumi.IntPtrOutput

Blacklist and whitelist timeout.

func (BgpPolicyContentOutput) ElementType added in v3.58.0

func (BgpPolicyContentOutput) ElementType() reflect.Type

func (BgpPolicyContentOutput) EnableDefense added in v3.58.0

func (o BgpPolicyContentOutput) EnableDefense() pulumi.BoolPtrOutput

Whether to enable L4 protection.

func (BgpPolicyContentOutput) EnableDropIcmp added in v3.58.0

func (o BgpPolicyContentOutput) EnableDropIcmp() pulumi.BoolPtrOutput

Switch to discard ICMP.

func (BgpPolicyContentOutput) EnableIntelligence added in v3.58.0

func (o BgpPolicyContentOutput) EnableIntelligence() pulumi.BoolPtrOutput

Whether the intelligent switch is on.

func (BgpPolicyContentOutput) FingerPrintRuleLists added in v3.58.0

Fingerprint Rules. See `fingerPrintRuleList` below.

func (BgpPolicyContentOutput) IntelligenceLevel added in v3.58.0

func (o BgpPolicyContentOutput) IntelligenceLevel() pulumi.StringPtrOutput

Smart mode. Valid values: weak, hard, and default.

func (BgpPolicyContentOutput) Layer4RuleLists added in v3.58.0

L4 protection rules. See `layer4RuleList` below.

func (BgpPolicyContentOutput) PortRuleLists added in v3.58.0

Port Rule List. See `portRuleList` below.

func (BgpPolicyContentOutput) ReflectBlockUdpPortLists added in v3.58.0

func (o BgpPolicyContentOutput) ReflectBlockUdpPortLists() pulumi.IntArrayOutput

Reflective port filtering.

func (BgpPolicyContentOutput) RegionBlockCountryLists added in v3.58.0

func (o BgpPolicyContentOutput) RegionBlockCountryLists() pulumi.IntArrayOutput

List of Regional Banned Countries.

func (BgpPolicyContentOutput) RegionBlockProvinceLists added in v3.58.0

func (o BgpPolicyContentOutput) RegionBlockProvinceLists() pulumi.IntArrayOutput

List of Prohibited Provinces by Region.

func (BgpPolicyContentOutput) SourceBlockLists added in v3.58.0

Source pull Black. See `sourceBlockList` below.

func (BgpPolicyContentOutput) SourceLimit added in v3.58.0

Do not fill in when the source speed limit is deleted. See `sourceLimit` below.

func (BgpPolicyContentOutput) ToBgpPolicyContentOutput added in v3.58.0

func (o BgpPolicyContentOutput) ToBgpPolicyContentOutput() BgpPolicyContentOutput

func (BgpPolicyContentOutput) ToBgpPolicyContentOutputWithContext added in v3.58.0

func (o BgpPolicyContentOutput) ToBgpPolicyContentOutputWithContext(ctx context.Context) BgpPolicyContentOutput

func (BgpPolicyContentOutput) ToBgpPolicyContentPtrOutput added in v3.58.0

func (o BgpPolicyContentOutput) ToBgpPolicyContentPtrOutput() BgpPolicyContentPtrOutput

func (BgpPolicyContentOutput) ToBgpPolicyContentPtrOutputWithContext added in v3.58.0

func (o BgpPolicyContentOutput) ToBgpPolicyContentPtrOutputWithContext(ctx context.Context) BgpPolicyContentPtrOutput

func (BgpPolicyContentOutput) WhitenGfbrNets added in v3.58.0

func (o BgpPolicyContentOutput) WhitenGfbrNets() pulumi.BoolPtrOutput

Add white high protection back to source network segment switch.

type BgpPolicyContentPortRuleList added in v3.58.0

type BgpPolicyContentPortRuleList struct {
	// End of destination port 0-65535.
	DstPortEnd int `pulumi:"dstPortEnd"`
	// Destination Port start 0-65535.
	DstPortStart int `pulumi:"dstPortStart"`
	// Action. Currently, only drop is supported.
	MatchAction string `pulumi:"matchAction"`
	// Rule UUID is required to be deleted and modified, and is not required to be created.
	PortRuleId *string `pulumi:"portRuleId"`
	// Protocol, tcp or udp.
	Protocol string `pulumi:"protocol"`
	// Serial number 1-100 ● Affects the order issued by the bottom layer ● The larger the number, the lower it is.
	SeqNo int `pulumi:"seqNo"`
	// Source Port end 0-65535.
	SrcPortEnd int `pulumi:"srcPortEnd"`
	// Source port start 0-65535.
	SrcPortStart int `pulumi:"srcPortStart"`
}

type BgpPolicyContentPortRuleListArgs added in v3.58.0

type BgpPolicyContentPortRuleListArgs struct {
	// End of destination port 0-65535.
	DstPortEnd pulumi.IntInput `pulumi:"dstPortEnd"`
	// Destination Port start 0-65535.
	DstPortStart pulumi.IntInput `pulumi:"dstPortStart"`
	// Action. Currently, only drop is supported.
	MatchAction pulumi.StringInput `pulumi:"matchAction"`
	// Rule UUID is required to be deleted and modified, and is not required to be created.
	PortRuleId pulumi.StringPtrInput `pulumi:"portRuleId"`
	// Protocol, tcp or udp.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// Serial number 1-100 ● Affects the order issued by the bottom layer ● The larger the number, the lower it is.
	SeqNo pulumi.IntInput `pulumi:"seqNo"`
	// Source Port end 0-65535.
	SrcPortEnd pulumi.IntInput `pulumi:"srcPortEnd"`
	// Source port start 0-65535.
	SrcPortStart pulumi.IntInput `pulumi:"srcPortStart"`
}

func (BgpPolicyContentPortRuleListArgs) ElementType added in v3.58.0

func (BgpPolicyContentPortRuleListArgs) ToBgpPolicyContentPortRuleListOutput added in v3.58.0

func (i BgpPolicyContentPortRuleListArgs) ToBgpPolicyContentPortRuleListOutput() BgpPolicyContentPortRuleListOutput

func (BgpPolicyContentPortRuleListArgs) ToBgpPolicyContentPortRuleListOutputWithContext added in v3.58.0

func (i BgpPolicyContentPortRuleListArgs) ToBgpPolicyContentPortRuleListOutputWithContext(ctx context.Context) BgpPolicyContentPortRuleListOutput

type BgpPolicyContentPortRuleListArray added in v3.58.0

type BgpPolicyContentPortRuleListArray []BgpPolicyContentPortRuleListInput

func (BgpPolicyContentPortRuleListArray) ElementType added in v3.58.0

func (BgpPolicyContentPortRuleListArray) ToBgpPolicyContentPortRuleListArrayOutput added in v3.58.0

func (i BgpPolicyContentPortRuleListArray) ToBgpPolicyContentPortRuleListArrayOutput() BgpPolicyContentPortRuleListArrayOutput

func (BgpPolicyContentPortRuleListArray) ToBgpPolicyContentPortRuleListArrayOutputWithContext added in v3.58.0

func (i BgpPolicyContentPortRuleListArray) ToBgpPolicyContentPortRuleListArrayOutputWithContext(ctx context.Context) BgpPolicyContentPortRuleListArrayOutput

type BgpPolicyContentPortRuleListArrayInput added in v3.58.0

type BgpPolicyContentPortRuleListArrayInput interface {
	pulumi.Input

	ToBgpPolicyContentPortRuleListArrayOutput() BgpPolicyContentPortRuleListArrayOutput
	ToBgpPolicyContentPortRuleListArrayOutputWithContext(context.Context) BgpPolicyContentPortRuleListArrayOutput
}

BgpPolicyContentPortRuleListArrayInput is an input type that accepts BgpPolicyContentPortRuleListArray and BgpPolicyContentPortRuleListArrayOutput values. You can construct a concrete instance of `BgpPolicyContentPortRuleListArrayInput` via:

BgpPolicyContentPortRuleListArray{ BgpPolicyContentPortRuleListArgs{...} }

type BgpPolicyContentPortRuleListArrayOutput added in v3.58.0

type BgpPolicyContentPortRuleListArrayOutput struct{ *pulumi.OutputState }

func (BgpPolicyContentPortRuleListArrayOutput) ElementType added in v3.58.0

func (BgpPolicyContentPortRuleListArrayOutput) Index added in v3.58.0

func (BgpPolicyContentPortRuleListArrayOutput) ToBgpPolicyContentPortRuleListArrayOutput added in v3.58.0

func (o BgpPolicyContentPortRuleListArrayOutput) ToBgpPolicyContentPortRuleListArrayOutput() BgpPolicyContentPortRuleListArrayOutput

func (BgpPolicyContentPortRuleListArrayOutput) ToBgpPolicyContentPortRuleListArrayOutputWithContext added in v3.58.0

func (o BgpPolicyContentPortRuleListArrayOutput) ToBgpPolicyContentPortRuleListArrayOutputWithContext(ctx context.Context) BgpPolicyContentPortRuleListArrayOutput

type BgpPolicyContentPortRuleListInput added in v3.58.0

type BgpPolicyContentPortRuleListInput interface {
	pulumi.Input

	ToBgpPolicyContentPortRuleListOutput() BgpPolicyContentPortRuleListOutput
	ToBgpPolicyContentPortRuleListOutputWithContext(context.Context) BgpPolicyContentPortRuleListOutput
}

BgpPolicyContentPortRuleListInput is an input type that accepts BgpPolicyContentPortRuleListArgs and BgpPolicyContentPortRuleListOutput values. You can construct a concrete instance of `BgpPolicyContentPortRuleListInput` via:

BgpPolicyContentPortRuleListArgs{...}

type BgpPolicyContentPortRuleListOutput added in v3.58.0

type BgpPolicyContentPortRuleListOutput struct{ *pulumi.OutputState }

func (BgpPolicyContentPortRuleListOutput) DstPortEnd added in v3.58.0

End of destination port 0-65535.

func (BgpPolicyContentPortRuleListOutput) DstPortStart added in v3.58.0

Destination Port start 0-65535.

func (BgpPolicyContentPortRuleListOutput) ElementType added in v3.58.0

func (BgpPolicyContentPortRuleListOutput) MatchAction added in v3.58.0

Action. Currently, only drop is supported.

func (BgpPolicyContentPortRuleListOutput) PortRuleId added in v3.58.0

Rule UUID is required to be deleted and modified, and is not required to be created.

func (BgpPolicyContentPortRuleListOutput) Protocol added in v3.58.0

Protocol, tcp or udp.

func (BgpPolicyContentPortRuleListOutput) SeqNo added in v3.58.0

Serial number 1-100 ● Affects the order issued by the bottom layer ● The larger the number, the lower it is.

func (BgpPolicyContentPortRuleListOutput) SrcPortEnd added in v3.58.0

Source Port end 0-65535.

func (BgpPolicyContentPortRuleListOutput) SrcPortStart added in v3.58.0

Source port start 0-65535.

func (BgpPolicyContentPortRuleListOutput) ToBgpPolicyContentPortRuleListOutput added in v3.58.0

func (o BgpPolicyContentPortRuleListOutput) ToBgpPolicyContentPortRuleListOutput() BgpPolicyContentPortRuleListOutput

func (BgpPolicyContentPortRuleListOutput) ToBgpPolicyContentPortRuleListOutputWithContext added in v3.58.0

func (o BgpPolicyContentPortRuleListOutput) ToBgpPolicyContentPortRuleListOutputWithContext(ctx context.Context) BgpPolicyContentPortRuleListOutput

type BgpPolicyContentPtrInput added in v3.58.0

type BgpPolicyContentPtrInput interface {
	pulumi.Input

	ToBgpPolicyContentPtrOutput() BgpPolicyContentPtrOutput
	ToBgpPolicyContentPtrOutputWithContext(context.Context) BgpPolicyContentPtrOutput
}

BgpPolicyContentPtrInput is an input type that accepts BgpPolicyContentArgs, BgpPolicyContentPtr and BgpPolicyContentPtrOutput values. You can construct a concrete instance of `BgpPolicyContentPtrInput` via:

        BgpPolicyContentArgs{...}

or:

        nil

func BgpPolicyContentPtr added in v3.58.0

func BgpPolicyContentPtr(v *BgpPolicyContentArgs) BgpPolicyContentPtrInput

type BgpPolicyContentPtrOutput added in v3.58.0

type BgpPolicyContentPtrOutput struct{ *pulumi.OutputState }

func (BgpPolicyContentPtrOutput) BlackIpListExpireAt added in v3.58.0

func (o BgpPolicyContentPtrOutput) BlackIpListExpireAt() pulumi.IntPtrOutput

Blacklist and whitelist timeout.

func (BgpPolicyContentPtrOutput) Elem added in v3.58.0

func (BgpPolicyContentPtrOutput) ElementType added in v3.58.0

func (BgpPolicyContentPtrOutput) ElementType() reflect.Type

func (BgpPolicyContentPtrOutput) EnableDefense added in v3.58.0

Whether to enable L4 protection.

func (BgpPolicyContentPtrOutput) EnableDropIcmp added in v3.58.0

func (o BgpPolicyContentPtrOutput) EnableDropIcmp() pulumi.BoolPtrOutput

Switch to discard ICMP.

func (BgpPolicyContentPtrOutput) EnableIntelligence added in v3.58.0

func (o BgpPolicyContentPtrOutput) EnableIntelligence() pulumi.BoolPtrOutput

Whether the intelligent switch is on.

func (BgpPolicyContentPtrOutput) FingerPrintRuleLists added in v3.58.0

Fingerprint Rules. See `fingerPrintRuleList` below.

func (BgpPolicyContentPtrOutput) IntelligenceLevel added in v3.58.0

func (o BgpPolicyContentPtrOutput) IntelligenceLevel() pulumi.StringPtrOutput

Smart mode. Valid values: weak, hard, and default.

func (BgpPolicyContentPtrOutput) Layer4RuleLists added in v3.58.0

L4 protection rules. See `layer4RuleList` below.

func (BgpPolicyContentPtrOutput) PortRuleLists added in v3.58.0

Port Rule List. See `portRuleList` below.

func (BgpPolicyContentPtrOutput) ReflectBlockUdpPortLists added in v3.58.0

func (o BgpPolicyContentPtrOutput) ReflectBlockUdpPortLists() pulumi.IntArrayOutput

Reflective port filtering.

func (BgpPolicyContentPtrOutput) RegionBlockCountryLists added in v3.58.0

func (o BgpPolicyContentPtrOutput) RegionBlockCountryLists() pulumi.IntArrayOutput

List of Regional Banned Countries.

func (BgpPolicyContentPtrOutput) RegionBlockProvinceLists added in v3.58.0

func (o BgpPolicyContentPtrOutput) RegionBlockProvinceLists() pulumi.IntArrayOutput

List of Prohibited Provinces by Region.

func (BgpPolicyContentPtrOutput) SourceBlockLists added in v3.58.0

Source pull Black. See `sourceBlockList` below.

func (BgpPolicyContentPtrOutput) SourceLimit added in v3.58.0

Do not fill in when the source speed limit is deleted. See `sourceLimit` below.

func (BgpPolicyContentPtrOutput) ToBgpPolicyContentPtrOutput added in v3.58.0

func (o BgpPolicyContentPtrOutput) ToBgpPolicyContentPtrOutput() BgpPolicyContentPtrOutput

func (BgpPolicyContentPtrOutput) ToBgpPolicyContentPtrOutputWithContext added in v3.58.0

func (o BgpPolicyContentPtrOutput) ToBgpPolicyContentPtrOutputWithContext(ctx context.Context) BgpPolicyContentPtrOutput

func (BgpPolicyContentPtrOutput) WhitenGfbrNets added in v3.58.0

func (o BgpPolicyContentPtrOutput) WhitenGfbrNets() pulumi.BoolPtrOutput

Add white high protection back to source network segment switch.

type BgpPolicyContentSourceBlockList added in v3.58.0

type BgpPolicyContentSourceBlockList struct {
	// Statistical cycle range 60-1200.
	BlockExpireSeconds int `pulumi:"blockExpireSeconds"`
	// The time (unit second) for automatically releasing the black after triggering the speed limit is 60~2592000.
	EverySeconds int `pulumi:"everySeconds"`
	// The number of times the speed limit is exceeded in a statistical period ranges from 1 to 1200.
	ExceedLimitTimes int `pulumi:"exceedLimitTimes"`
	// Type
	Type int `pulumi:"type"`
}

type BgpPolicyContentSourceBlockListArgs added in v3.58.0

type BgpPolicyContentSourceBlockListArgs struct {
	// Statistical cycle range 60-1200.
	BlockExpireSeconds pulumi.IntInput `pulumi:"blockExpireSeconds"`
	// The time (unit second) for automatically releasing the black after triggering the speed limit is 60~2592000.
	EverySeconds pulumi.IntInput `pulumi:"everySeconds"`
	// The number of times the speed limit is exceeded in a statistical period ranges from 1 to 1200.
	ExceedLimitTimes pulumi.IntInput `pulumi:"exceedLimitTimes"`
	// Type
	Type pulumi.IntInput `pulumi:"type"`
}

func (BgpPolicyContentSourceBlockListArgs) ElementType added in v3.58.0

func (BgpPolicyContentSourceBlockListArgs) ToBgpPolicyContentSourceBlockListOutput added in v3.58.0

func (i BgpPolicyContentSourceBlockListArgs) ToBgpPolicyContentSourceBlockListOutput() BgpPolicyContentSourceBlockListOutput

func (BgpPolicyContentSourceBlockListArgs) ToBgpPolicyContentSourceBlockListOutputWithContext added in v3.58.0

func (i BgpPolicyContentSourceBlockListArgs) ToBgpPolicyContentSourceBlockListOutputWithContext(ctx context.Context) BgpPolicyContentSourceBlockListOutput

type BgpPolicyContentSourceBlockListArray added in v3.58.0

type BgpPolicyContentSourceBlockListArray []BgpPolicyContentSourceBlockListInput

func (BgpPolicyContentSourceBlockListArray) ElementType added in v3.58.0

func (BgpPolicyContentSourceBlockListArray) ToBgpPolicyContentSourceBlockListArrayOutput added in v3.58.0

func (i BgpPolicyContentSourceBlockListArray) ToBgpPolicyContentSourceBlockListArrayOutput() BgpPolicyContentSourceBlockListArrayOutput

func (BgpPolicyContentSourceBlockListArray) ToBgpPolicyContentSourceBlockListArrayOutputWithContext added in v3.58.0

func (i BgpPolicyContentSourceBlockListArray) ToBgpPolicyContentSourceBlockListArrayOutputWithContext(ctx context.Context) BgpPolicyContentSourceBlockListArrayOutput

type BgpPolicyContentSourceBlockListArrayInput added in v3.58.0

type BgpPolicyContentSourceBlockListArrayInput interface {
	pulumi.Input

	ToBgpPolicyContentSourceBlockListArrayOutput() BgpPolicyContentSourceBlockListArrayOutput
	ToBgpPolicyContentSourceBlockListArrayOutputWithContext(context.Context) BgpPolicyContentSourceBlockListArrayOutput
}

BgpPolicyContentSourceBlockListArrayInput is an input type that accepts BgpPolicyContentSourceBlockListArray and BgpPolicyContentSourceBlockListArrayOutput values. You can construct a concrete instance of `BgpPolicyContentSourceBlockListArrayInput` via:

BgpPolicyContentSourceBlockListArray{ BgpPolicyContentSourceBlockListArgs{...} }

type BgpPolicyContentSourceBlockListArrayOutput added in v3.58.0

type BgpPolicyContentSourceBlockListArrayOutput struct{ *pulumi.OutputState }

func (BgpPolicyContentSourceBlockListArrayOutput) ElementType added in v3.58.0

func (BgpPolicyContentSourceBlockListArrayOutput) Index added in v3.58.0

func (BgpPolicyContentSourceBlockListArrayOutput) ToBgpPolicyContentSourceBlockListArrayOutput added in v3.58.0

func (o BgpPolicyContentSourceBlockListArrayOutput) ToBgpPolicyContentSourceBlockListArrayOutput() BgpPolicyContentSourceBlockListArrayOutput

func (BgpPolicyContentSourceBlockListArrayOutput) ToBgpPolicyContentSourceBlockListArrayOutputWithContext added in v3.58.0

func (o BgpPolicyContentSourceBlockListArrayOutput) ToBgpPolicyContentSourceBlockListArrayOutputWithContext(ctx context.Context) BgpPolicyContentSourceBlockListArrayOutput

type BgpPolicyContentSourceBlockListInput added in v3.58.0

type BgpPolicyContentSourceBlockListInput interface {
	pulumi.Input

	ToBgpPolicyContentSourceBlockListOutput() BgpPolicyContentSourceBlockListOutput
	ToBgpPolicyContentSourceBlockListOutputWithContext(context.Context) BgpPolicyContentSourceBlockListOutput
}

BgpPolicyContentSourceBlockListInput is an input type that accepts BgpPolicyContentSourceBlockListArgs and BgpPolicyContentSourceBlockListOutput values. You can construct a concrete instance of `BgpPolicyContentSourceBlockListInput` via:

BgpPolicyContentSourceBlockListArgs{...}

type BgpPolicyContentSourceBlockListOutput added in v3.58.0

type BgpPolicyContentSourceBlockListOutput struct{ *pulumi.OutputState }

func (BgpPolicyContentSourceBlockListOutput) BlockExpireSeconds added in v3.58.0

Statistical cycle range 60-1200.

func (BgpPolicyContentSourceBlockListOutput) ElementType added in v3.58.0

func (BgpPolicyContentSourceBlockListOutput) EverySeconds added in v3.58.0

The time (unit second) for automatically releasing the black after triggering the speed limit is 60~2592000.

func (BgpPolicyContentSourceBlockListOutput) ExceedLimitTimes added in v3.58.0

The number of times the speed limit is exceeded in a statistical period ranges from 1 to 1200.

func (BgpPolicyContentSourceBlockListOutput) ToBgpPolicyContentSourceBlockListOutput added in v3.58.0

func (o BgpPolicyContentSourceBlockListOutput) ToBgpPolicyContentSourceBlockListOutput() BgpPolicyContentSourceBlockListOutput

func (BgpPolicyContentSourceBlockListOutput) ToBgpPolicyContentSourceBlockListOutputWithContext added in v3.58.0

func (o BgpPolicyContentSourceBlockListOutput) ToBgpPolicyContentSourceBlockListOutputWithContext(ctx context.Context) BgpPolicyContentSourceBlockListOutput

func (BgpPolicyContentSourceBlockListOutput) Type added in v3.58.0

Type

type BgpPolicyContentSourceLimit added in v3.58.0

type BgpPolicyContentSourceLimit struct {
	// bps range 1024~268435456.
	Bps *int `pulumi:"bps"`
	// Pps range 32~500000.
	Pps *int `pulumi:"pps"`
	// SynBps range 1024~268435456.
	SynBps *int `pulumi:"synBps"`
	// SynPps range 1~100000.
	SynPps *int `pulumi:"synPps"`
}

type BgpPolicyContentSourceLimitArgs added in v3.58.0

type BgpPolicyContentSourceLimitArgs struct {
	// bps range 1024~268435456.
	Bps pulumi.IntPtrInput `pulumi:"bps"`
	// Pps range 32~500000.
	Pps pulumi.IntPtrInput `pulumi:"pps"`
	// SynBps range 1024~268435456.
	SynBps pulumi.IntPtrInput `pulumi:"synBps"`
	// SynPps range 1~100000.
	SynPps pulumi.IntPtrInput `pulumi:"synPps"`
}

func (BgpPolicyContentSourceLimitArgs) ElementType added in v3.58.0

func (BgpPolicyContentSourceLimitArgs) ToBgpPolicyContentSourceLimitOutput added in v3.58.0

func (i BgpPolicyContentSourceLimitArgs) ToBgpPolicyContentSourceLimitOutput() BgpPolicyContentSourceLimitOutput

func (BgpPolicyContentSourceLimitArgs) ToBgpPolicyContentSourceLimitOutputWithContext added in v3.58.0

func (i BgpPolicyContentSourceLimitArgs) ToBgpPolicyContentSourceLimitOutputWithContext(ctx context.Context) BgpPolicyContentSourceLimitOutput

func (BgpPolicyContentSourceLimitArgs) ToBgpPolicyContentSourceLimitPtrOutput added in v3.58.0

func (i BgpPolicyContentSourceLimitArgs) ToBgpPolicyContentSourceLimitPtrOutput() BgpPolicyContentSourceLimitPtrOutput

func (BgpPolicyContentSourceLimitArgs) ToBgpPolicyContentSourceLimitPtrOutputWithContext added in v3.58.0

func (i BgpPolicyContentSourceLimitArgs) ToBgpPolicyContentSourceLimitPtrOutputWithContext(ctx context.Context) BgpPolicyContentSourceLimitPtrOutput

type BgpPolicyContentSourceLimitInput added in v3.58.0

type BgpPolicyContentSourceLimitInput interface {
	pulumi.Input

	ToBgpPolicyContentSourceLimitOutput() BgpPolicyContentSourceLimitOutput
	ToBgpPolicyContentSourceLimitOutputWithContext(context.Context) BgpPolicyContentSourceLimitOutput
}

BgpPolicyContentSourceLimitInput is an input type that accepts BgpPolicyContentSourceLimitArgs and BgpPolicyContentSourceLimitOutput values. You can construct a concrete instance of `BgpPolicyContentSourceLimitInput` via:

BgpPolicyContentSourceLimitArgs{...}

type BgpPolicyContentSourceLimitOutput added in v3.58.0

type BgpPolicyContentSourceLimitOutput struct{ *pulumi.OutputState }

func (BgpPolicyContentSourceLimitOutput) Bps added in v3.58.0

bps range 1024~268435456.

func (BgpPolicyContentSourceLimitOutput) ElementType added in v3.58.0

func (BgpPolicyContentSourceLimitOutput) Pps added in v3.58.0

Pps range 32~500000.

func (BgpPolicyContentSourceLimitOutput) SynBps added in v3.58.0

SynBps range 1024~268435456.

func (BgpPolicyContentSourceLimitOutput) SynPps added in v3.58.0

SynPps range 1~100000.

func (BgpPolicyContentSourceLimitOutput) ToBgpPolicyContentSourceLimitOutput added in v3.58.0

func (o BgpPolicyContentSourceLimitOutput) ToBgpPolicyContentSourceLimitOutput() BgpPolicyContentSourceLimitOutput

func (BgpPolicyContentSourceLimitOutput) ToBgpPolicyContentSourceLimitOutputWithContext added in v3.58.0

func (o BgpPolicyContentSourceLimitOutput) ToBgpPolicyContentSourceLimitOutputWithContext(ctx context.Context) BgpPolicyContentSourceLimitOutput

func (BgpPolicyContentSourceLimitOutput) ToBgpPolicyContentSourceLimitPtrOutput added in v3.58.0

func (o BgpPolicyContentSourceLimitOutput) ToBgpPolicyContentSourceLimitPtrOutput() BgpPolicyContentSourceLimitPtrOutput

func (BgpPolicyContentSourceLimitOutput) ToBgpPolicyContentSourceLimitPtrOutputWithContext added in v3.58.0

func (o BgpPolicyContentSourceLimitOutput) ToBgpPolicyContentSourceLimitPtrOutputWithContext(ctx context.Context) BgpPolicyContentSourceLimitPtrOutput

type BgpPolicyContentSourceLimitPtrInput added in v3.58.0

type BgpPolicyContentSourceLimitPtrInput interface {
	pulumi.Input

	ToBgpPolicyContentSourceLimitPtrOutput() BgpPolicyContentSourceLimitPtrOutput
	ToBgpPolicyContentSourceLimitPtrOutputWithContext(context.Context) BgpPolicyContentSourceLimitPtrOutput
}

BgpPolicyContentSourceLimitPtrInput is an input type that accepts BgpPolicyContentSourceLimitArgs, BgpPolicyContentSourceLimitPtr and BgpPolicyContentSourceLimitPtrOutput values. You can construct a concrete instance of `BgpPolicyContentSourceLimitPtrInput` via:

        BgpPolicyContentSourceLimitArgs{...}

or:

        nil

func BgpPolicyContentSourceLimitPtr added in v3.58.0

type BgpPolicyContentSourceLimitPtrOutput added in v3.58.0

type BgpPolicyContentSourceLimitPtrOutput struct{ *pulumi.OutputState }

func (BgpPolicyContentSourceLimitPtrOutput) Bps added in v3.58.0

bps range 1024~268435456.

func (BgpPolicyContentSourceLimitPtrOutput) Elem added in v3.58.0

func (BgpPolicyContentSourceLimitPtrOutput) ElementType added in v3.58.0

func (BgpPolicyContentSourceLimitPtrOutput) Pps added in v3.58.0

Pps range 32~500000.

func (BgpPolicyContentSourceLimitPtrOutput) SynBps added in v3.58.0

SynBps range 1024~268435456.

func (BgpPolicyContentSourceLimitPtrOutput) SynPps added in v3.58.0

SynPps range 1~100000.

func (BgpPolicyContentSourceLimitPtrOutput) ToBgpPolicyContentSourceLimitPtrOutput added in v3.58.0

func (o BgpPolicyContentSourceLimitPtrOutput) ToBgpPolicyContentSourceLimitPtrOutput() BgpPolicyContentSourceLimitPtrOutput

func (BgpPolicyContentSourceLimitPtrOutput) ToBgpPolicyContentSourceLimitPtrOutputWithContext added in v3.58.0

func (o BgpPolicyContentSourceLimitPtrOutput) ToBgpPolicyContentSourceLimitPtrOutputWithContext(ctx context.Context) BgpPolicyContentSourceLimitPtrOutput

type BgpPolicyInput added in v3.58.0

type BgpPolicyInput interface {
	pulumi.Input

	ToBgpPolicyOutput() BgpPolicyOutput
	ToBgpPolicyOutputWithContext(ctx context.Context) BgpPolicyOutput
}

type BgpPolicyMap added in v3.58.0

type BgpPolicyMap map[string]BgpPolicyInput

func (BgpPolicyMap) ElementType added in v3.58.0

func (BgpPolicyMap) ElementType() reflect.Type

func (BgpPolicyMap) ToBgpPolicyMapOutput added in v3.58.0

func (i BgpPolicyMap) ToBgpPolicyMapOutput() BgpPolicyMapOutput

func (BgpPolicyMap) ToBgpPolicyMapOutputWithContext added in v3.58.0

func (i BgpPolicyMap) ToBgpPolicyMapOutputWithContext(ctx context.Context) BgpPolicyMapOutput

type BgpPolicyMapInput added in v3.58.0

type BgpPolicyMapInput interface {
	pulumi.Input

	ToBgpPolicyMapOutput() BgpPolicyMapOutput
	ToBgpPolicyMapOutputWithContext(context.Context) BgpPolicyMapOutput
}

BgpPolicyMapInput is an input type that accepts BgpPolicyMap and BgpPolicyMapOutput values. You can construct a concrete instance of `BgpPolicyMapInput` via:

BgpPolicyMap{ "key": BgpPolicyArgs{...} }

type BgpPolicyMapOutput added in v3.58.0

type BgpPolicyMapOutput struct{ *pulumi.OutputState }

func (BgpPolicyMapOutput) ElementType added in v3.58.0

func (BgpPolicyMapOutput) ElementType() reflect.Type

func (BgpPolicyMapOutput) MapIndex added in v3.58.0

func (BgpPolicyMapOutput) ToBgpPolicyMapOutput added in v3.58.0

func (o BgpPolicyMapOutput) ToBgpPolicyMapOutput() BgpPolicyMapOutput

func (BgpPolicyMapOutput) ToBgpPolicyMapOutputWithContext added in v3.58.0

func (o BgpPolicyMapOutput) ToBgpPolicyMapOutputWithContext(ctx context.Context) BgpPolicyMapOutput

type BgpPolicyOutput added in v3.58.0

type BgpPolicyOutput struct{ *pulumi.OutputState }

func (BgpPolicyOutput) Content added in v3.58.0

Configuration Content See `content` below.

func (BgpPolicyOutput) ElementType added in v3.58.0

func (BgpPolicyOutput) ElementType() reflect.Type

func (BgpPolicyOutput) PolicyName added in v3.58.0

func (o BgpPolicyOutput) PolicyName() pulumi.StringOutput

The name of the resource

func (BgpPolicyOutput) ToBgpPolicyOutput added in v3.58.0

func (o BgpPolicyOutput) ToBgpPolicyOutput() BgpPolicyOutput

func (BgpPolicyOutput) ToBgpPolicyOutputWithContext added in v3.58.0

func (o BgpPolicyOutput) ToBgpPolicyOutputWithContext(ctx context.Context) BgpPolicyOutput

func (BgpPolicyOutput) Type added in v3.58.0

Type

type BgpPolicyState added in v3.58.0

type BgpPolicyState struct {
	// Configuration Content See `content` below.
	Content BgpPolicyContentPtrInput
	// The name of the resource
	PolicyName pulumi.StringPtrInput
	// Type
	Type pulumi.StringPtrInput
}

func (BgpPolicyState) ElementType added in v3.58.0

func (BgpPolicyState) ElementType() reflect.Type

type DdosBgpInstance

type DdosBgpInstance struct {
	pulumi.CustomResourceState

	// 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.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
	BaseBandwidth pulumi.IntPtrOutput `pulumi:"baseBandwidth"`
	// IP count of the instance. Valid values: 100.
	IpCount pulumi.IntOutput `pulumi:"ipCount"`
	// IP version of the instance. Valid values: IPv4,IPv6.
	IpType pulumi.StringOutput `pulumi:"ipType"`
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// Normal defend bandwidth of the instance. The unit is Gbps.
	NormalBandwidth pulumi.IntOutput `pulumi:"normalBandwidth"`
	// 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".
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Type of the instance. Valid values: `Enterprise`, `Professional`. Default to `Enterprise`
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

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 since v1.183.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := ddos.NewDdosBgpInstance(ctx, "instance", &ddos.DdosBgpInstanceArgs{
			Name:            pulumi.String(name),
			BaseBandwidth:   pulumi.Int(20),
			Bandwidth:       pulumi.Int(-1),
			IpCount:         pulumi.Int(100),
			IpType:          pulumi.String("IPv4"),
			NormalBandwidth: pulumi.Int(100),
			Type:            pulumi.String("Enterprise"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Ddosbgp instance can be imported using the id, e.g.

```sh $ pulumi import alicloud:ddos/ddosBgpInstance:DdosBgpInstance example ddosbgp-abc123456 ```

func GetDdosBgpInstance

func GetDdosBgpInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DdosBgpInstanceState, opts ...pulumi.ResourceOption) (*DdosBgpInstance, error)

GetDdosBgpInstance gets an existing DdosBgpInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDdosBgpInstance

func NewDdosBgpInstance(ctx *pulumi.Context,
	name string, args *DdosBgpInstanceArgs, opts ...pulumi.ResourceOption) (*DdosBgpInstance, error)

NewDdosBgpInstance registers a new resource with the given unique name, arguments, and options.

func (*DdosBgpInstance) ElementType

func (*DdosBgpInstance) ElementType() reflect.Type

func (*DdosBgpInstance) ToDdosBgpInstanceOutput

func (i *DdosBgpInstance) ToDdosBgpInstanceOutput() DdosBgpInstanceOutput

func (*DdosBgpInstance) ToDdosBgpInstanceOutputWithContext

func (i *DdosBgpInstance) ToDdosBgpInstanceOutputWithContext(ctx context.Context) DdosBgpInstanceOutput

type DdosBgpInstanceArgs

type DdosBgpInstanceArgs struct {
	// 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.
	Bandwidth pulumi.IntInput
	// Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
	BaseBandwidth pulumi.IntPtrInput
	// IP count of the instance. Valid values: 100.
	IpCount pulumi.IntInput
	// IP version of the instance. Valid values: IPv4,IPv6.
	IpType pulumi.StringInput
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringPtrInput
	// Normal defend bandwidth of the instance. The unit is Gbps.
	NormalBandwidth pulumi.IntInput
	// 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".
	Period pulumi.IntPtrInput
	// Type of the instance. Valid values: `Enterprise`, `Professional`. Default to `Enterprise`
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a DdosBgpInstance resource.

func (DdosBgpInstanceArgs) ElementType

func (DdosBgpInstanceArgs) ElementType() reflect.Type

type DdosBgpInstanceArray

type DdosBgpInstanceArray []DdosBgpInstanceInput

func (DdosBgpInstanceArray) ElementType

func (DdosBgpInstanceArray) ElementType() reflect.Type

func (DdosBgpInstanceArray) ToDdosBgpInstanceArrayOutput

func (i DdosBgpInstanceArray) ToDdosBgpInstanceArrayOutput() DdosBgpInstanceArrayOutput

func (DdosBgpInstanceArray) ToDdosBgpInstanceArrayOutputWithContext

func (i DdosBgpInstanceArray) ToDdosBgpInstanceArrayOutputWithContext(ctx context.Context) DdosBgpInstanceArrayOutput

type DdosBgpInstanceArrayInput

type DdosBgpInstanceArrayInput interface {
	pulumi.Input

	ToDdosBgpInstanceArrayOutput() DdosBgpInstanceArrayOutput
	ToDdosBgpInstanceArrayOutputWithContext(context.Context) DdosBgpInstanceArrayOutput
}

DdosBgpInstanceArrayInput is an input type that accepts DdosBgpInstanceArray and DdosBgpInstanceArrayOutput values. You can construct a concrete instance of `DdosBgpInstanceArrayInput` via:

DdosBgpInstanceArray{ DdosBgpInstanceArgs{...} }

type DdosBgpInstanceArrayOutput

type DdosBgpInstanceArrayOutput struct{ *pulumi.OutputState }

func (DdosBgpInstanceArrayOutput) ElementType

func (DdosBgpInstanceArrayOutput) ElementType() reflect.Type

func (DdosBgpInstanceArrayOutput) Index

func (DdosBgpInstanceArrayOutput) ToDdosBgpInstanceArrayOutput

func (o DdosBgpInstanceArrayOutput) ToDdosBgpInstanceArrayOutput() DdosBgpInstanceArrayOutput

func (DdosBgpInstanceArrayOutput) ToDdosBgpInstanceArrayOutputWithContext

func (o DdosBgpInstanceArrayOutput) ToDdosBgpInstanceArrayOutputWithContext(ctx context.Context) DdosBgpInstanceArrayOutput

type DdosBgpInstanceInput

type DdosBgpInstanceInput interface {
	pulumi.Input

	ToDdosBgpInstanceOutput() DdosBgpInstanceOutput
	ToDdosBgpInstanceOutputWithContext(ctx context.Context) DdosBgpInstanceOutput
}

type DdosBgpInstanceMap

type DdosBgpInstanceMap map[string]DdosBgpInstanceInput

func (DdosBgpInstanceMap) ElementType

func (DdosBgpInstanceMap) ElementType() reflect.Type

func (DdosBgpInstanceMap) ToDdosBgpInstanceMapOutput

func (i DdosBgpInstanceMap) ToDdosBgpInstanceMapOutput() DdosBgpInstanceMapOutput

func (DdosBgpInstanceMap) ToDdosBgpInstanceMapOutputWithContext

func (i DdosBgpInstanceMap) ToDdosBgpInstanceMapOutputWithContext(ctx context.Context) DdosBgpInstanceMapOutput

type DdosBgpInstanceMapInput

type DdosBgpInstanceMapInput interface {
	pulumi.Input

	ToDdosBgpInstanceMapOutput() DdosBgpInstanceMapOutput
	ToDdosBgpInstanceMapOutputWithContext(context.Context) DdosBgpInstanceMapOutput
}

DdosBgpInstanceMapInput is an input type that accepts DdosBgpInstanceMap and DdosBgpInstanceMapOutput values. You can construct a concrete instance of `DdosBgpInstanceMapInput` via:

DdosBgpInstanceMap{ "key": DdosBgpInstanceArgs{...} }

type DdosBgpInstanceMapOutput

type DdosBgpInstanceMapOutput struct{ *pulumi.OutputState }

func (DdosBgpInstanceMapOutput) ElementType

func (DdosBgpInstanceMapOutput) ElementType() reflect.Type

func (DdosBgpInstanceMapOutput) MapIndex

func (DdosBgpInstanceMapOutput) ToDdosBgpInstanceMapOutput

func (o DdosBgpInstanceMapOutput) ToDdosBgpInstanceMapOutput() DdosBgpInstanceMapOutput

func (DdosBgpInstanceMapOutput) ToDdosBgpInstanceMapOutputWithContext

func (o DdosBgpInstanceMapOutput) ToDdosBgpInstanceMapOutputWithContext(ctx context.Context) DdosBgpInstanceMapOutput

type DdosBgpInstanceOutput

type DdosBgpInstanceOutput struct{ *pulumi.OutputState }

func (DdosBgpInstanceOutput) Bandwidth added in v3.27.0

func (o DdosBgpInstanceOutput) Bandwidth() pulumi.IntOutput

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.

func (DdosBgpInstanceOutput) BaseBandwidth added in v3.27.0

func (o DdosBgpInstanceOutput) BaseBandwidth() pulumi.IntPtrOutput

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

func (DdosBgpInstanceOutput) ElementType

func (DdosBgpInstanceOutput) ElementType() reflect.Type

func (DdosBgpInstanceOutput) IpCount added in v3.27.0

IP count of the instance. Valid values: 100.

func (DdosBgpInstanceOutput) IpType added in v3.27.0

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

func (DdosBgpInstanceOutput) Name added in v3.27.0

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

func (DdosBgpInstanceOutput) NormalBandwidth added in v3.29.0

func (o DdosBgpInstanceOutput) NormalBandwidth() pulumi.IntOutput

Normal defend bandwidth of the instance. The unit is Gbps.

func (DdosBgpInstanceOutput) Period added in v3.27.0

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

func (DdosBgpInstanceOutput) ToDdosBgpInstanceOutput

func (o DdosBgpInstanceOutput) ToDdosBgpInstanceOutput() DdosBgpInstanceOutput

func (DdosBgpInstanceOutput) ToDdosBgpInstanceOutputWithContext

func (o DdosBgpInstanceOutput) ToDdosBgpInstanceOutputWithContext(ctx context.Context) DdosBgpInstanceOutput

func (DdosBgpInstanceOutput) Type added in v3.27.0

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

type DdosBgpInstanceState

type DdosBgpInstanceState struct {
	// 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.
	Bandwidth pulumi.IntPtrInput
	// Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
	BaseBandwidth pulumi.IntPtrInput
	// IP count of the instance. Valid values: 100.
	IpCount pulumi.IntPtrInput
	// IP version of the instance. Valid values: IPv4,IPv6.
	IpType pulumi.StringPtrInput
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringPtrInput
	// Normal defend bandwidth of the instance. The unit is Gbps.
	NormalBandwidth pulumi.IntPtrInput
	// 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".
	Period pulumi.IntPtrInput
	// Type of the instance. Valid values: `Enterprise`, `Professional`. Default to `Enterprise`
	Type pulumi.StringPtrInput
}

func (DdosBgpInstanceState) ElementType

func (DdosBgpInstanceState) ElementType() reflect.Type

type DdosCooInstance

type DdosCooInstance struct {
	pulumi.CustomResourceState

	// The IP version of the IP address. Default value: `Ipv4`. Valid values: `Ipv4`, `Ipv6`. **NOTE:** `addressType` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.
	AddressType pulumi.StringOutput `pulumi:"addressType"`
	// 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. **NOTE:** `bandwidth` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.
	Bandwidth pulumi.StringOutput `pulumi:"bandwidth"`
	// The mitigation plan of the instance. Valid values:
	BandwidthMode pulumi.StringPtrOutput `pulumi:"bandwidthMode"`
	// Base defend bandwidth of the instance. Valid values: `30`, `60`, `100`, `300`, `400`, `500`, `600`. The unit is Gbps. Only support upgrade. **NOTE:** `baseBandwidth` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.
	BaseBandwidth pulumi.StringOutput `pulumi:"baseBandwidth"`
	// Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	DomainCount pulumi.StringOutput `pulumi:"domainCount"`
	// The mitigation plan of the instance. Default value: `coop`. Valid values:
	EditionSale pulumi.StringOutput `pulumi:"editionSale"`
	// The function plan of the instance. Valid values:
	FunctionVersion pulumi.StringOutput `pulumi:"functionVersion"`
	// (Available since v1.212.0) The IP address of the instance.
	Ip pulumi.StringOutput `pulumi:"ip"`
	// Name of the instance. This name can have a string of `1` to `64` characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// The clean bandwidth provided by the instance. **NOTE:** `normalBandwidth` is valid only when `productType` is set to `ddosDip`.
	NormalBandwidth pulumi.StringOutput `pulumi:"normalBandwidth"`
	// The clean QPS provided by the instance. **NOTE:** `normalQps` is valid only when `productType` is set to `ddosDip`.
	NormalQps pulumi.StringOutput `pulumi:"normalQps"`
	// The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], `12`, `24`, `36`. Default value: `1`. At present, the provider does not support modify `period`.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	PortCount pulumi.StringOutput `pulumi:"portCount"`
	// The mitigation plan of the instance. Valid values:
	ProductPlan pulumi.StringOutput `pulumi:"productPlan"`
	// The product type for purchasing DDOSCOO instances used to differ different account type. Default value: `ddoscoo`. Valid values:
	ProductType pulumi.StringPtrOutput `pulumi:"productType"`
	// Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. **NOTE:** `serviceBandwidth` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.
	ServiceBandwidth pulumi.StringOutput `pulumi:"serviceBandwidth"`
}

Provides a BGP-line Anti-DDoS Pro(DdosCoo) Instance resource.

For information about BGP-line Anti-DDoS Pro(DdosCoo) Instance and how to use it, see [What is Anti-DDoS Pro Instance](https://www.alibabacloud.com/help/en/ddos-protection/latest/create-an-anti-ddos-pro-or-anti-ddos-premium-instance-by-calling-an-api-operation).

> **NOTE:** Available since v1.37.0.

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

> **NOTE:** From version 1.214.0, if `productType` is set to `ddoscoo` or `ddoscooIntl`, the provider `region` should be set to `cn-hangzhou`, and if `productType` is set to `ddosDip`, the provider `region` should be set to `ap-southeast-1`.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := ddos.NewDdosCooInstance(ctx, "default", &ddos.DdosCooInstanceArgs{
			Name:             pulumi.String(name),
			BaseBandwidth:    pulumi.String("30"),
			Bandwidth:        pulumi.String("30"),
			ServiceBandwidth: pulumi.String("100"),
			PortCount:        pulumi.String("50"),
			DomainCount:      pulumi.String("50"),
			ProductType:      pulumi.String("ddoscoo"),
			Period:           pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DdosCoo instance can be imported using the id, e.g.

```sh $ pulumi import alicloud:ddos/ddosCooInstance:DdosCooInstance example ddoscoo-cn-123456 ```

func GetDdosCooInstance

func GetDdosCooInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DdosCooInstanceState, opts ...pulumi.ResourceOption) (*DdosCooInstance, error)

GetDdosCooInstance gets an existing DdosCooInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDdosCooInstance

func NewDdosCooInstance(ctx *pulumi.Context,
	name string, args *DdosCooInstanceArgs, opts ...pulumi.ResourceOption) (*DdosCooInstance, error)

NewDdosCooInstance registers a new resource with the given unique name, arguments, and options.

func (*DdosCooInstance) ElementType

func (*DdosCooInstance) ElementType() reflect.Type

func (*DdosCooInstance) ToDdosCooInstanceOutput

func (i *DdosCooInstance) ToDdosCooInstanceOutput() DdosCooInstanceOutput

func (*DdosCooInstance) ToDdosCooInstanceOutputWithContext

func (i *DdosCooInstance) ToDdosCooInstanceOutputWithContext(ctx context.Context) DdosCooInstanceOutput

type DdosCooInstanceArgs

type DdosCooInstanceArgs struct {
	// The IP version of the IP address. Default value: `Ipv4`. Valid values: `Ipv4`, `Ipv6`. **NOTE:** `addressType` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.
	AddressType pulumi.StringPtrInput
	// 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. **NOTE:** `bandwidth` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.
	Bandwidth pulumi.StringPtrInput
	// The mitigation plan of the instance. Valid values:
	BandwidthMode pulumi.StringPtrInput
	// Base defend bandwidth of the instance. Valid values: `30`, `60`, `100`, `300`, `400`, `500`, `600`. The unit is Gbps. Only support upgrade. **NOTE:** `baseBandwidth` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.
	BaseBandwidth pulumi.StringPtrInput
	// Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	DomainCount pulumi.StringInput
	// The mitigation plan of the instance. Default value: `coop`. Valid values:
	EditionSale pulumi.StringPtrInput
	// The function plan of the instance. Valid values:
	FunctionVersion pulumi.StringPtrInput
	// Name of the instance. This name can have a string of `1` to `64` characters.
	Name pulumi.StringPtrInput
	// The clean bandwidth provided by the instance. **NOTE:** `normalBandwidth` is valid only when `productType` is set to `ddosDip`.
	NormalBandwidth pulumi.StringPtrInput
	// The clean QPS provided by the instance. **NOTE:** `normalQps` is valid only when `productType` is set to `ddosDip`.
	NormalQps pulumi.StringPtrInput
	// The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], `12`, `24`, `36`. Default value: `1`. At present, the provider does not support modify `period`.
	Period pulumi.IntPtrInput
	// Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	PortCount pulumi.StringInput
	// The mitigation plan of the instance. Valid values:
	ProductPlan pulumi.StringPtrInput
	// The product type for purchasing DDOSCOO instances used to differ different account type. Default value: `ddoscoo`. Valid values:
	ProductType pulumi.StringPtrInput
	// Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. **NOTE:** `serviceBandwidth` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.
	ServiceBandwidth pulumi.StringPtrInput
}

The set of arguments for constructing a DdosCooInstance resource.

func (DdosCooInstanceArgs) ElementType

func (DdosCooInstanceArgs) ElementType() reflect.Type

type DdosCooInstanceArray

type DdosCooInstanceArray []DdosCooInstanceInput

func (DdosCooInstanceArray) ElementType

func (DdosCooInstanceArray) ElementType() reflect.Type

func (DdosCooInstanceArray) ToDdosCooInstanceArrayOutput

func (i DdosCooInstanceArray) ToDdosCooInstanceArrayOutput() DdosCooInstanceArrayOutput

func (DdosCooInstanceArray) ToDdosCooInstanceArrayOutputWithContext

func (i DdosCooInstanceArray) ToDdosCooInstanceArrayOutputWithContext(ctx context.Context) DdosCooInstanceArrayOutput

type DdosCooInstanceArrayInput

type DdosCooInstanceArrayInput interface {
	pulumi.Input

	ToDdosCooInstanceArrayOutput() DdosCooInstanceArrayOutput
	ToDdosCooInstanceArrayOutputWithContext(context.Context) DdosCooInstanceArrayOutput
}

DdosCooInstanceArrayInput is an input type that accepts DdosCooInstanceArray and DdosCooInstanceArrayOutput values. You can construct a concrete instance of `DdosCooInstanceArrayInput` via:

DdosCooInstanceArray{ DdosCooInstanceArgs{...} }

type DdosCooInstanceArrayOutput

type DdosCooInstanceArrayOutput struct{ *pulumi.OutputState }

func (DdosCooInstanceArrayOutput) ElementType

func (DdosCooInstanceArrayOutput) ElementType() reflect.Type

func (DdosCooInstanceArrayOutput) Index

func (DdosCooInstanceArrayOutput) ToDdosCooInstanceArrayOutput

func (o DdosCooInstanceArrayOutput) ToDdosCooInstanceArrayOutput() DdosCooInstanceArrayOutput

func (DdosCooInstanceArrayOutput) ToDdosCooInstanceArrayOutputWithContext

func (o DdosCooInstanceArrayOutput) ToDdosCooInstanceArrayOutputWithContext(ctx context.Context) DdosCooInstanceArrayOutput

type DdosCooInstanceInput

type DdosCooInstanceInput interface {
	pulumi.Input

	ToDdosCooInstanceOutput() DdosCooInstanceOutput
	ToDdosCooInstanceOutputWithContext(ctx context.Context) DdosCooInstanceOutput
}

type DdosCooInstanceMap

type DdosCooInstanceMap map[string]DdosCooInstanceInput

func (DdosCooInstanceMap) ElementType

func (DdosCooInstanceMap) ElementType() reflect.Type

func (DdosCooInstanceMap) ToDdosCooInstanceMapOutput

func (i DdosCooInstanceMap) ToDdosCooInstanceMapOutput() DdosCooInstanceMapOutput

func (DdosCooInstanceMap) ToDdosCooInstanceMapOutputWithContext

func (i DdosCooInstanceMap) ToDdosCooInstanceMapOutputWithContext(ctx context.Context) DdosCooInstanceMapOutput

type DdosCooInstanceMapInput

type DdosCooInstanceMapInput interface {
	pulumi.Input

	ToDdosCooInstanceMapOutput() DdosCooInstanceMapOutput
	ToDdosCooInstanceMapOutputWithContext(context.Context) DdosCooInstanceMapOutput
}

DdosCooInstanceMapInput is an input type that accepts DdosCooInstanceMap and DdosCooInstanceMapOutput values. You can construct a concrete instance of `DdosCooInstanceMapInput` via:

DdosCooInstanceMap{ "key": DdosCooInstanceArgs{...} }

type DdosCooInstanceMapOutput

type DdosCooInstanceMapOutput struct{ *pulumi.OutputState }

func (DdosCooInstanceMapOutput) ElementType

func (DdosCooInstanceMapOutput) ElementType() reflect.Type

func (DdosCooInstanceMapOutput) MapIndex

func (DdosCooInstanceMapOutput) ToDdosCooInstanceMapOutput

func (o DdosCooInstanceMapOutput) ToDdosCooInstanceMapOutput() DdosCooInstanceMapOutput

func (DdosCooInstanceMapOutput) ToDdosCooInstanceMapOutputWithContext

func (o DdosCooInstanceMapOutput) ToDdosCooInstanceMapOutputWithContext(ctx context.Context) DdosCooInstanceMapOutput

type DdosCooInstanceOutput

type DdosCooInstanceOutput struct{ *pulumi.OutputState }

func (DdosCooInstanceOutput) AddressType added in v3.45.0

func (o DdosCooInstanceOutput) AddressType() pulumi.StringOutput

The IP version of the IP address. Default value: `Ipv4`. Valid values: `Ipv4`, `Ipv6`. **NOTE:** `addressType` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.

func (DdosCooInstanceOutput) Bandwidth added in v3.27.0

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. **NOTE:** `bandwidth` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.

func (DdosCooInstanceOutput) BandwidthMode added in v3.45.0

func (o DdosCooInstanceOutput) BandwidthMode() pulumi.StringPtrOutput

The mitigation plan of the instance. Valid values:

func (DdosCooInstanceOutput) BaseBandwidth added in v3.27.0

func (o DdosCooInstanceOutput) BaseBandwidth() pulumi.StringOutput

Base defend bandwidth of the instance. Valid values: `30`, `60`, `100`, `300`, `400`, `500`, `600`. The unit is Gbps. Only support upgrade. **NOTE:** `baseBandwidth` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.

func (DdosCooInstanceOutput) DomainCount added in v3.27.0

func (o DdosCooInstanceOutput) DomainCount() pulumi.StringOutput

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

func (DdosCooInstanceOutput) EditionSale added in v3.45.0

func (o DdosCooInstanceOutput) EditionSale() pulumi.StringOutput

The mitigation plan of the instance. Default value: `coop`. Valid values:

func (DdosCooInstanceOutput) ElementType

func (DdosCooInstanceOutput) ElementType() reflect.Type

func (DdosCooInstanceOutput) FunctionVersion added in v3.46.0

func (o DdosCooInstanceOutput) FunctionVersion() pulumi.StringOutput

The function plan of the instance. Valid values:

func (DdosCooInstanceOutput) Ip added in v3.45.0

(Available since v1.212.0) The IP address of the instance.

func (DdosCooInstanceOutput) Name added in v3.27.0

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

func (DdosCooInstanceOutput) NormalBandwidth added in v3.46.0

func (o DdosCooInstanceOutput) NormalBandwidth() pulumi.StringOutput

The clean bandwidth provided by the instance. **NOTE:** `normalBandwidth` is valid only when `productType` is set to `ddosDip`.

func (DdosCooInstanceOutput) NormalQps added in v3.46.0

The clean QPS provided by the instance. **NOTE:** `normalQps` is valid only when `productType` is set to `ddosDip`.

func (DdosCooInstanceOutput) Period added in v3.27.0

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

func (DdosCooInstanceOutput) PortCount added in v3.27.0

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

func (DdosCooInstanceOutput) ProductPlan added in v3.46.0

func (o DdosCooInstanceOutput) ProductPlan() pulumi.StringOutput

The mitigation plan of the instance. Valid values:

func (DdosCooInstanceOutput) ProductType added in v3.27.0

The product type for purchasing DDOSCOO instances used to differ different account type. Default value: `ddoscoo`. Valid values:

func (DdosCooInstanceOutput) ServiceBandwidth added in v3.27.0

func (o DdosCooInstanceOutput) ServiceBandwidth() pulumi.StringOutput

Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. **NOTE:** `serviceBandwidth` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.

func (DdosCooInstanceOutput) ToDdosCooInstanceOutput

func (o DdosCooInstanceOutput) ToDdosCooInstanceOutput() DdosCooInstanceOutput

func (DdosCooInstanceOutput) ToDdosCooInstanceOutputWithContext

func (o DdosCooInstanceOutput) ToDdosCooInstanceOutputWithContext(ctx context.Context) DdosCooInstanceOutput

type DdosCooInstanceState

type DdosCooInstanceState struct {
	// The IP version of the IP address. Default value: `Ipv4`. Valid values: `Ipv4`, `Ipv6`. **NOTE:** `addressType` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.
	AddressType pulumi.StringPtrInput
	// 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. **NOTE:** `bandwidth` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.
	Bandwidth pulumi.StringPtrInput
	// The mitigation plan of the instance. Valid values:
	BandwidthMode pulumi.StringPtrInput
	// Base defend bandwidth of the instance. Valid values: `30`, `60`, `100`, `300`, `400`, `500`, `600`. The unit is Gbps. Only support upgrade. **NOTE:** `baseBandwidth` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.
	BaseBandwidth pulumi.StringPtrInput
	// Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	DomainCount pulumi.StringPtrInput
	// The mitigation plan of the instance. Default value: `coop`. Valid values:
	EditionSale pulumi.StringPtrInput
	// The function plan of the instance. Valid values:
	FunctionVersion pulumi.StringPtrInput
	// (Available since v1.212.0) The IP address of the instance.
	Ip pulumi.StringPtrInput
	// Name of the instance. This name can have a string of `1` to `64` characters.
	Name pulumi.StringPtrInput
	// The clean bandwidth provided by the instance. **NOTE:** `normalBandwidth` is valid only when `productType` is set to `ddosDip`.
	NormalBandwidth pulumi.StringPtrInput
	// The clean QPS provided by the instance. **NOTE:** `normalQps` is valid only when `productType` is set to `ddosDip`.
	NormalQps pulumi.StringPtrInput
	// The duration that you will buy DdosCoo instance (in month). Valid values: [1~9], `12`, `24`, `36`. Default value: `1`. At present, the provider does not support modify `period`.
	Period pulumi.IntPtrInput
	// Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	PortCount pulumi.StringPtrInput
	// The mitigation plan of the instance. Valid values:
	ProductPlan pulumi.StringPtrInput
	// The product type for purchasing DDOSCOO instances used to differ different account type. Default value: `ddoscoo`. Valid values:
	ProductType pulumi.StringPtrInput
	// Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. **NOTE:** `serviceBandwidth` is valid only when `productType` is set to `ddoscoo` or `ddoscooIntl`.
	ServiceBandwidth pulumi.StringPtrInput
}

func (DdosCooInstanceState) ElementType

func (DdosCooInstanceState) ElementType() reflect.Type

type DomainResource added in v3.2.0

type DomainResource struct {
	pulumi.CustomResourceState

	// The private key of the certificate that you want to associate. This parameter must be used together with the CertName and Cert parameters.
	//
	// > **NOTE:**   If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
	Cert pulumi.StringPtrOutput `pulumi:"cert"`
	// The name of the certificate.
	//
	// > **NOTE:**   You can specify the name of the certificate that you want to associate.
	CertIdentifier pulumi.StringPtrOutput `pulumi:"certIdentifier"`
	// The public key of the certificate that you want to associate. This parameter must be used together with the CertName and Key parameters.
	//
	// > **NOTE:**   If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
	CertName pulumi.StringOutput `pulumi:"certName"`
	// The region of the certificate. `cn-hangzhou` and `ap-southeast-1` are supported. The default value is `cn-hangzhou`.
	CertRegion pulumi.StringPtrOutput `pulumi:"certRegion"`
	// The CNAME address to query.
	Cname pulumi.StringOutput `pulumi:"cname"`
	// The domain name for which you want to configure the Static Page Caching policy.
	//
	// > **NOTE:**  You can call the [DescribeDomains](https://www.alibabacloud.com/help/en/doc-detail/91724.html) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// The advanced HTTPS settings. This parameter takes effect only when the value of the `ProxyType` parameter includes `https`. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:
	//
	// - `Http2https`: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: `0` and `1`. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.
	//
	// If your website supports both HTTP and HTTPS, this feature meets your business requirements. If you enable this feature, all HTTP requests to access the website are redirected to HTTPS requests on the standard port 443.
	//
	// - `Https2http`: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: `0` and `1`. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.
	//
	// If your website does not support HTTPS, this feature meets your business requirements If this feature is enabled, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. This feature can redirect WebSockets requests to WebSocket requests. Requests are redirected over the standard port 80.
	//
	// - `Http2`: specifies whether to turn on Enable HTTP/2. This field is optional. Data type: integer. Valid values: `0` and `1`. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.
	//
	// After you turn on the switch, HTTP/2 is used.
	HttpsExt pulumi.StringOutput `pulumi:"httpsExt"`
	// InstanceIds
	InstanceIds pulumi.StringArrayOutput `pulumi:"instanceIds"`
	// The globally unique ID of the certificate. The value is in the "Certificate ID-cn-hangzhou" format. For example, if the ID of the certificate is 123, the value of the CertIdentifier parameter is 123-cn-hangzhou.
	//
	// > **NOTE:**   You can specify only one of this parameter and the CertId parameter.
	Key pulumi.StringPtrOutput `pulumi:"key"`
	// Specifies whether to enable the OCSP feature. Valid values:
	OcspEnabled pulumi.BoolPtrOutput `pulumi:"ocspEnabled"`
	// Protocol type and port number information. See `proxyTypes` below.
	ProxyTypes DomainResourceProxyTypeArrayOutput `pulumi:"proxyTypes"`
	// Server address information of the source station.
	RealServers pulumi.StringArrayOutput `pulumi:"realServers"`
	// The address type of the origin server. Valid values:
	RsType pulumi.IntOutput `pulumi:"rsType"`
}

Provides a Ddos Coo Domain Resource resource.

For information about Ddos Coo Domain Resource and how to use it, see [What is Domain Resource](https://www.alibabacloud.com/help/en/anti-ddos/anti-ddos-pro-and-premium/developer-reference/api-ddoscoo-2020-01-01-createdomainresource).

> **NOTE:** Available since v1.123.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		domain := "tf-example.alibaba.com"
		if param := cfg.Get("domain"); param != "" {
			domain = param
		}
		_, err := ddos.NewDdosCooInstance(ctx, "default", &ddos.DdosCooInstanceArgs{
			Name:             pulumi.String(name),
			Bandwidth:        pulumi.String("30"),
			BaseBandwidth:    pulumi.String("30"),
			ServiceBandwidth: pulumi.String("100"),
			PortCount:        pulumi.String("50"),
			DomainCount:      pulumi.String("50"),
			Period:           pulumi.Int(1),
			ProductType:      pulumi.String("ddoscoo"),
		})
		if err != nil {
			return err
		}
		_, err = ddos.NewDomainResource(ctx, "default", &ddos.DomainResourceArgs{
			Domain: pulumi.String(domain),
			RsType: pulumi.Int(0),
			InstanceIds: pulumi.StringArray{
				_default.ID(),
			},
			RealServers: pulumi.StringArray{
				pulumi.String("177.167.32.11"),
			},
			HttpsExt: pulumi.String("{\"Http2\":1,\"Http2https\":0,\"Https2http\":0}"),
			ProxyTypes: ddos.DomainResourceProxyTypeArray{
				&ddos.DomainResourceProxyTypeArgs{
					ProxyPorts: pulumi.IntArray{
						pulumi.Int(443),
					},
					ProxyType: pulumi.String("https"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Ddos Coo Domain Resource can be imported using the id, e.g.

```sh $ pulumi import alicloud:ddos/domainResource:DomainResource example <id> ```

func GetDomainResource added in v3.2.0

func GetDomainResource(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainResourceState, opts ...pulumi.ResourceOption) (*DomainResource, error)

GetDomainResource gets an existing DomainResource resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDomainResource added in v3.2.0

func NewDomainResource(ctx *pulumi.Context,
	name string, args *DomainResourceArgs, opts ...pulumi.ResourceOption) (*DomainResource, error)

NewDomainResource registers a new resource with the given unique name, arguments, and options.

func (*DomainResource) ElementType added in v3.2.0

func (*DomainResource) ElementType() reflect.Type

func (*DomainResource) ToDomainResourceOutput added in v3.2.0

func (i *DomainResource) ToDomainResourceOutput() DomainResourceOutput

func (*DomainResource) ToDomainResourceOutputWithContext added in v3.2.0

func (i *DomainResource) ToDomainResourceOutputWithContext(ctx context.Context) DomainResourceOutput

type DomainResourceArgs added in v3.2.0

type DomainResourceArgs struct {
	// The private key of the certificate that you want to associate. This parameter must be used together with the CertName and Cert parameters.
	//
	// > **NOTE:**   If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
	Cert pulumi.StringPtrInput
	// The name of the certificate.
	//
	// > **NOTE:**   You can specify the name of the certificate that you want to associate.
	CertIdentifier pulumi.StringPtrInput
	// The public key of the certificate that you want to associate. This parameter must be used together with the CertName and Key parameters.
	//
	// > **NOTE:**   If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
	CertName pulumi.StringPtrInput
	// The region of the certificate. `cn-hangzhou` and `ap-southeast-1` are supported. The default value is `cn-hangzhou`.
	CertRegion pulumi.StringPtrInput
	// The domain name for which you want to configure the Static Page Caching policy.
	//
	// > **NOTE:**  You can call the [DescribeDomains](https://www.alibabacloud.com/help/en/doc-detail/91724.html) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.
	Domain pulumi.StringInput
	// The advanced HTTPS settings. This parameter takes effect only when the value of the `ProxyType` parameter includes `https`. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:
	//
	// - `Http2https`: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: `0` and `1`. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.
	//
	// If your website supports both HTTP and HTTPS, this feature meets your business requirements. If you enable this feature, all HTTP requests to access the website are redirected to HTTPS requests on the standard port 443.
	//
	// - `Https2http`: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: `0` and `1`. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.
	//
	// If your website does not support HTTPS, this feature meets your business requirements If this feature is enabled, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. This feature can redirect WebSockets requests to WebSocket requests. Requests are redirected over the standard port 80.
	//
	// - `Http2`: specifies whether to turn on Enable HTTP/2. This field is optional. Data type: integer. Valid values: `0` and `1`. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.
	//
	// After you turn on the switch, HTTP/2 is used.
	HttpsExt pulumi.StringPtrInput
	// InstanceIds
	InstanceIds pulumi.StringArrayInput
	// The globally unique ID of the certificate. The value is in the "Certificate ID-cn-hangzhou" format. For example, if the ID of the certificate is 123, the value of the CertIdentifier parameter is 123-cn-hangzhou.
	//
	// > **NOTE:**   You can specify only one of this parameter and the CertId parameter.
	Key pulumi.StringPtrInput
	// Specifies whether to enable the OCSP feature. Valid values:
	OcspEnabled pulumi.BoolPtrInput
	// Protocol type and port number information. See `proxyTypes` below.
	ProxyTypes DomainResourceProxyTypeArrayInput
	// Server address information of the source station.
	RealServers pulumi.StringArrayInput
	// The address type of the origin server. Valid values:
	RsType pulumi.IntInput
}

The set of arguments for constructing a DomainResource resource.

func (DomainResourceArgs) ElementType added in v3.2.0

func (DomainResourceArgs) ElementType() reflect.Type

type DomainResourceArray added in v3.2.0

type DomainResourceArray []DomainResourceInput

func (DomainResourceArray) ElementType added in v3.2.0

func (DomainResourceArray) ElementType() reflect.Type

func (DomainResourceArray) ToDomainResourceArrayOutput added in v3.2.0

func (i DomainResourceArray) ToDomainResourceArrayOutput() DomainResourceArrayOutput

func (DomainResourceArray) ToDomainResourceArrayOutputWithContext added in v3.2.0

func (i DomainResourceArray) ToDomainResourceArrayOutputWithContext(ctx context.Context) DomainResourceArrayOutput

type DomainResourceArrayInput added in v3.2.0

type DomainResourceArrayInput interface {
	pulumi.Input

	ToDomainResourceArrayOutput() DomainResourceArrayOutput
	ToDomainResourceArrayOutputWithContext(context.Context) DomainResourceArrayOutput
}

DomainResourceArrayInput is an input type that accepts DomainResourceArray and DomainResourceArrayOutput values. You can construct a concrete instance of `DomainResourceArrayInput` via:

DomainResourceArray{ DomainResourceArgs{...} }

type DomainResourceArrayOutput added in v3.2.0

type DomainResourceArrayOutput struct{ *pulumi.OutputState }

func (DomainResourceArrayOutput) ElementType added in v3.2.0

func (DomainResourceArrayOutput) ElementType() reflect.Type

func (DomainResourceArrayOutput) Index added in v3.2.0

func (DomainResourceArrayOutput) ToDomainResourceArrayOutput added in v3.2.0

func (o DomainResourceArrayOutput) ToDomainResourceArrayOutput() DomainResourceArrayOutput

func (DomainResourceArrayOutput) ToDomainResourceArrayOutputWithContext added in v3.2.0

func (o DomainResourceArrayOutput) ToDomainResourceArrayOutputWithContext(ctx context.Context) DomainResourceArrayOutput

type DomainResourceInput added in v3.2.0

type DomainResourceInput interface {
	pulumi.Input

	ToDomainResourceOutput() DomainResourceOutput
	ToDomainResourceOutputWithContext(ctx context.Context) DomainResourceOutput
}

type DomainResourceMap added in v3.2.0

type DomainResourceMap map[string]DomainResourceInput

func (DomainResourceMap) ElementType added in v3.2.0

func (DomainResourceMap) ElementType() reflect.Type

func (DomainResourceMap) ToDomainResourceMapOutput added in v3.2.0

func (i DomainResourceMap) ToDomainResourceMapOutput() DomainResourceMapOutput

func (DomainResourceMap) ToDomainResourceMapOutputWithContext added in v3.2.0

func (i DomainResourceMap) ToDomainResourceMapOutputWithContext(ctx context.Context) DomainResourceMapOutput

type DomainResourceMapInput added in v3.2.0

type DomainResourceMapInput interface {
	pulumi.Input

	ToDomainResourceMapOutput() DomainResourceMapOutput
	ToDomainResourceMapOutputWithContext(context.Context) DomainResourceMapOutput
}

DomainResourceMapInput is an input type that accepts DomainResourceMap and DomainResourceMapOutput values. You can construct a concrete instance of `DomainResourceMapInput` via:

DomainResourceMap{ "key": DomainResourceArgs{...} }

type DomainResourceMapOutput added in v3.2.0

type DomainResourceMapOutput struct{ *pulumi.OutputState }

func (DomainResourceMapOutput) ElementType added in v3.2.0

func (DomainResourceMapOutput) ElementType() reflect.Type

func (DomainResourceMapOutput) MapIndex added in v3.2.0

func (DomainResourceMapOutput) ToDomainResourceMapOutput added in v3.2.0

func (o DomainResourceMapOutput) ToDomainResourceMapOutput() DomainResourceMapOutput

func (DomainResourceMapOutput) ToDomainResourceMapOutputWithContext added in v3.2.0

func (o DomainResourceMapOutput) ToDomainResourceMapOutputWithContext(ctx context.Context) DomainResourceMapOutput

type DomainResourceOutput added in v3.2.0

type DomainResourceOutput struct{ *pulumi.OutputState }

func (DomainResourceOutput) Cert added in v3.63.0

The private key of the certificate that you want to associate. This parameter must be used together with the CertName and Cert parameters.

> **NOTE:** If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.

func (DomainResourceOutput) CertIdentifier added in v3.63.0

func (o DomainResourceOutput) CertIdentifier() pulumi.StringPtrOutput

The name of the certificate.

> **NOTE:** You can specify the name of the certificate that you want to associate.

func (DomainResourceOutput) CertName added in v3.63.0

The public key of the certificate that you want to associate. This parameter must be used together with the CertName and Key parameters.

> **NOTE:** If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.

func (DomainResourceOutput) CertRegion added in v3.63.0

The region of the certificate. `cn-hangzhou` and `ap-southeast-1` are supported. The default value is `cn-hangzhou`.

func (DomainResourceOutput) Cname added in v3.40.0

The CNAME address to query.

func (DomainResourceOutput) Domain added in v3.27.0

The domain name for which you want to configure the Static Page Caching policy.

> **NOTE:** You can call the [DescribeDomains](https://www.alibabacloud.com/help/en/doc-detail/91724.html) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.

func (DomainResourceOutput) ElementType added in v3.2.0

func (DomainResourceOutput) ElementType() reflect.Type

func (DomainResourceOutput) HttpsExt added in v3.27.0

The advanced HTTPS settings. This parameter takes effect only when the value of the `ProxyType` parameter includes `https`. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:

- `Http2https`: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: `0` and `1`. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.

If your website supports both HTTP and HTTPS, this feature meets your business requirements. If you enable this feature, all HTTP requests to access the website are redirected to HTTPS requests on the standard port 443.

- `Https2http`: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: `0` and `1`. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.

If your website does not support HTTPS, this feature meets your business requirements If this feature is enabled, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. This feature can redirect WebSockets requests to WebSocket requests. Requests are redirected over the standard port 80.

- `Http2`: specifies whether to turn on Enable HTTP/2. This field is optional. Data type: integer. Valid values: `0` and `1`. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.

After you turn on the switch, HTTP/2 is used.

func (DomainResourceOutput) InstanceIds added in v3.27.0

InstanceIds

func (DomainResourceOutput) Key added in v3.63.0

The globally unique ID of the certificate. The value is in the "Certificate ID-cn-hangzhou" format. For example, if the ID of the certificate is 123, the value of the CertIdentifier parameter is 123-cn-hangzhou.

> **NOTE:** You can specify only one of this parameter and the CertId parameter.

func (DomainResourceOutput) OcspEnabled added in v3.42.0

func (o DomainResourceOutput) OcspEnabled() pulumi.BoolPtrOutput

Specifies whether to enable the OCSP feature. Valid values:

func (DomainResourceOutput) ProxyTypes added in v3.27.0

Protocol type and port number information. See `proxyTypes` below.

func (DomainResourceOutput) RealServers added in v3.27.0

Server address information of the source station.

func (DomainResourceOutput) RsType added in v3.27.0

The address type of the origin server. Valid values:

func (DomainResourceOutput) ToDomainResourceOutput added in v3.2.0

func (o DomainResourceOutput) ToDomainResourceOutput() DomainResourceOutput

func (DomainResourceOutput) ToDomainResourceOutputWithContext added in v3.2.0

func (o DomainResourceOutput) ToDomainResourceOutputWithContext(ctx context.Context) DomainResourceOutput

type DomainResourceProxyType added in v3.2.0

type DomainResourceProxyType struct {
	// The port numbers.
	ProxyPorts []int `pulumi:"proxyPorts"`
	// The type of the protocol. Valid values:
	ProxyType *string `pulumi:"proxyType"`
}

type DomainResourceProxyTypeArgs added in v3.2.0

type DomainResourceProxyTypeArgs struct {
	// The port numbers.
	ProxyPorts pulumi.IntArrayInput `pulumi:"proxyPorts"`
	// The type of the protocol. Valid values:
	ProxyType pulumi.StringPtrInput `pulumi:"proxyType"`
}

func (DomainResourceProxyTypeArgs) ElementType added in v3.2.0

func (DomainResourceProxyTypeArgs) ToDomainResourceProxyTypeOutput added in v3.2.0

func (i DomainResourceProxyTypeArgs) ToDomainResourceProxyTypeOutput() DomainResourceProxyTypeOutput

func (DomainResourceProxyTypeArgs) ToDomainResourceProxyTypeOutputWithContext added in v3.2.0

func (i DomainResourceProxyTypeArgs) ToDomainResourceProxyTypeOutputWithContext(ctx context.Context) DomainResourceProxyTypeOutput

type DomainResourceProxyTypeArray added in v3.2.0

type DomainResourceProxyTypeArray []DomainResourceProxyTypeInput

func (DomainResourceProxyTypeArray) ElementType added in v3.2.0

func (DomainResourceProxyTypeArray) ToDomainResourceProxyTypeArrayOutput added in v3.2.0

func (i DomainResourceProxyTypeArray) ToDomainResourceProxyTypeArrayOutput() DomainResourceProxyTypeArrayOutput

func (DomainResourceProxyTypeArray) ToDomainResourceProxyTypeArrayOutputWithContext added in v3.2.0

func (i DomainResourceProxyTypeArray) ToDomainResourceProxyTypeArrayOutputWithContext(ctx context.Context) DomainResourceProxyTypeArrayOutput

type DomainResourceProxyTypeArrayInput added in v3.2.0

type DomainResourceProxyTypeArrayInput interface {
	pulumi.Input

	ToDomainResourceProxyTypeArrayOutput() DomainResourceProxyTypeArrayOutput
	ToDomainResourceProxyTypeArrayOutputWithContext(context.Context) DomainResourceProxyTypeArrayOutput
}

DomainResourceProxyTypeArrayInput is an input type that accepts DomainResourceProxyTypeArray and DomainResourceProxyTypeArrayOutput values. You can construct a concrete instance of `DomainResourceProxyTypeArrayInput` via:

DomainResourceProxyTypeArray{ DomainResourceProxyTypeArgs{...} }

type DomainResourceProxyTypeArrayOutput added in v3.2.0

type DomainResourceProxyTypeArrayOutput struct{ *pulumi.OutputState }

func (DomainResourceProxyTypeArrayOutput) ElementType added in v3.2.0

func (DomainResourceProxyTypeArrayOutput) Index added in v3.2.0

func (DomainResourceProxyTypeArrayOutput) ToDomainResourceProxyTypeArrayOutput added in v3.2.0

func (o DomainResourceProxyTypeArrayOutput) ToDomainResourceProxyTypeArrayOutput() DomainResourceProxyTypeArrayOutput

func (DomainResourceProxyTypeArrayOutput) ToDomainResourceProxyTypeArrayOutputWithContext added in v3.2.0

func (o DomainResourceProxyTypeArrayOutput) ToDomainResourceProxyTypeArrayOutputWithContext(ctx context.Context) DomainResourceProxyTypeArrayOutput

type DomainResourceProxyTypeInput added in v3.2.0

type DomainResourceProxyTypeInput interface {
	pulumi.Input

	ToDomainResourceProxyTypeOutput() DomainResourceProxyTypeOutput
	ToDomainResourceProxyTypeOutputWithContext(context.Context) DomainResourceProxyTypeOutput
}

DomainResourceProxyTypeInput is an input type that accepts DomainResourceProxyTypeArgs and DomainResourceProxyTypeOutput values. You can construct a concrete instance of `DomainResourceProxyTypeInput` via:

DomainResourceProxyTypeArgs{...}

type DomainResourceProxyTypeOutput added in v3.2.0

type DomainResourceProxyTypeOutput struct{ *pulumi.OutputState }

func (DomainResourceProxyTypeOutput) ElementType added in v3.2.0

func (DomainResourceProxyTypeOutput) ProxyPorts added in v3.2.0

The port numbers.

func (DomainResourceProxyTypeOutput) ProxyType added in v3.2.0

The type of the protocol. Valid values:

func (DomainResourceProxyTypeOutput) ToDomainResourceProxyTypeOutput added in v3.2.0

func (o DomainResourceProxyTypeOutput) ToDomainResourceProxyTypeOutput() DomainResourceProxyTypeOutput

func (DomainResourceProxyTypeOutput) ToDomainResourceProxyTypeOutputWithContext added in v3.2.0

func (o DomainResourceProxyTypeOutput) ToDomainResourceProxyTypeOutputWithContext(ctx context.Context) DomainResourceProxyTypeOutput

type DomainResourceState added in v3.2.0

type DomainResourceState struct {
	// The private key of the certificate that you want to associate. This parameter must be used together with the CertName and Cert parameters.
	//
	// > **NOTE:**   If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
	Cert pulumi.StringPtrInput
	// The name of the certificate.
	//
	// > **NOTE:**   You can specify the name of the certificate that you want to associate.
	CertIdentifier pulumi.StringPtrInput
	// The public key of the certificate that you want to associate. This parameter must be used together with the CertName and Key parameters.
	//
	// > **NOTE:**   If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
	CertName pulumi.StringPtrInput
	// The region of the certificate. `cn-hangzhou` and `ap-southeast-1` are supported. The default value is `cn-hangzhou`.
	CertRegion pulumi.StringPtrInput
	// The CNAME address to query.
	Cname pulumi.StringPtrInput
	// The domain name for which you want to configure the Static Page Caching policy.
	//
	// > **NOTE:**  You can call the [DescribeDomains](https://www.alibabacloud.com/help/en/doc-detail/91724.html) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.
	Domain pulumi.StringPtrInput
	// The advanced HTTPS settings. This parameter takes effect only when the value of the `ProxyType` parameter includes `https`. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:
	//
	// - `Http2https`: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: `0` and `1`. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.
	//
	// If your website supports both HTTP and HTTPS, this feature meets your business requirements. If you enable this feature, all HTTP requests to access the website are redirected to HTTPS requests on the standard port 443.
	//
	// - `Https2http`: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: `0` and `1`. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.
	//
	// If your website does not support HTTPS, this feature meets your business requirements If this feature is enabled, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. This feature can redirect WebSockets requests to WebSocket requests. Requests are redirected over the standard port 80.
	//
	// - `Http2`: specifies whether to turn on Enable HTTP/2. This field is optional. Data type: integer. Valid values: `0` and `1`. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.
	//
	// After you turn on the switch, HTTP/2 is used.
	HttpsExt pulumi.StringPtrInput
	// InstanceIds
	InstanceIds pulumi.StringArrayInput
	// The globally unique ID of the certificate. The value is in the "Certificate ID-cn-hangzhou" format. For example, if the ID of the certificate is 123, the value of the CertIdentifier parameter is 123-cn-hangzhou.
	//
	// > **NOTE:**   You can specify only one of this parameter and the CertId parameter.
	Key pulumi.StringPtrInput
	// Specifies whether to enable the OCSP feature. Valid values:
	OcspEnabled pulumi.BoolPtrInput
	// Protocol type and port number information. See `proxyTypes` below.
	ProxyTypes DomainResourceProxyTypeArrayInput
	// Server address information of the source station.
	RealServers pulumi.StringArrayInput
	// The address type of the origin server. Valid values:
	RsType pulumi.IntPtrInput
}

func (DomainResourceState) ElementType added in v3.2.0

func (DomainResourceState) ElementType() reflect.Type

type GetDdosBgpInstancesArgs

type GetDdosBgpInstancesArgs struct {
	// A list of instance IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by the instance name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getDdosBgpInstances.

type GetDdosBgpInstancesInstance

type GetDdosBgpInstancesInstance struct {
	// The instance's elastic defend bandwidth.
	Bandwidth int `pulumi:"bandwidth"`
	// The instance's base defend bandwidth.
	BaseBandwidth int `pulumi:"baseBandwidth"`
	// The instance's id.
	Id string `pulumi:"id"`
	// The instance's count of ip config.
	IpCount int `pulumi:"ipCount"`
	// The instance's IP version.
	IpType string `pulumi:"ipType"`
	// The instance's remark.
	Name string `pulumi:"name"`
	// Normal defend bandwidth of the instance. The unit is Gbps.
	NormalBandwidth int `pulumi:"normalBandwidth"`
	// The instance's region.
	Region string `pulumi:"region"`
	// The instance's type.
	Type string `pulumi:"type"`
}

type GetDdosBgpInstancesInstanceArgs

type GetDdosBgpInstancesInstanceArgs struct {
	// The instance's elastic defend bandwidth.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The instance's base defend bandwidth.
	BaseBandwidth pulumi.IntInput `pulumi:"baseBandwidth"`
	// The instance's id.
	Id pulumi.StringInput `pulumi:"id"`
	// The instance's count of ip config.
	IpCount pulumi.IntInput `pulumi:"ipCount"`
	// The instance's IP version.
	IpType pulumi.StringInput `pulumi:"ipType"`
	// The instance's remark.
	Name pulumi.StringInput `pulumi:"name"`
	// Normal defend bandwidth of the instance. The unit is Gbps.
	NormalBandwidth pulumi.IntInput `pulumi:"normalBandwidth"`
	// The instance's region.
	Region pulumi.StringInput `pulumi:"region"`
	// The instance's type.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetDdosBgpInstancesInstanceArgs) ElementType

func (GetDdosBgpInstancesInstanceArgs) ToGetDdosBgpInstancesInstanceOutput

func (i GetDdosBgpInstancesInstanceArgs) ToGetDdosBgpInstancesInstanceOutput() GetDdosBgpInstancesInstanceOutput

func (GetDdosBgpInstancesInstanceArgs) ToGetDdosBgpInstancesInstanceOutputWithContext

func (i GetDdosBgpInstancesInstanceArgs) ToGetDdosBgpInstancesInstanceOutputWithContext(ctx context.Context) GetDdosBgpInstancesInstanceOutput

type GetDdosBgpInstancesInstanceArray

type GetDdosBgpInstancesInstanceArray []GetDdosBgpInstancesInstanceInput

func (GetDdosBgpInstancesInstanceArray) ElementType

func (GetDdosBgpInstancesInstanceArray) ToGetDdosBgpInstancesInstanceArrayOutput

func (i GetDdosBgpInstancesInstanceArray) ToGetDdosBgpInstancesInstanceArrayOutput() GetDdosBgpInstancesInstanceArrayOutput

func (GetDdosBgpInstancesInstanceArray) ToGetDdosBgpInstancesInstanceArrayOutputWithContext

func (i GetDdosBgpInstancesInstanceArray) ToGetDdosBgpInstancesInstanceArrayOutputWithContext(ctx context.Context) GetDdosBgpInstancesInstanceArrayOutput

type GetDdosBgpInstancesInstanceArrayInput

type GetDdosBgpInstancesInstanceArrayInput interface {
	pulumi.Input

	ToGetDdosBgpInstancesInstanceArrayOutput() GetDdosBgpInstancesInstanceArrayOutput
	ToGetDdosBgpInstancesInstanceArrayOutputWithContext(context.Context) GetDdosBgpInstancesInstanceArrayOutput
}

GetDdosBgpInstancesInstanceArrayInput is an input type that accepts GetDdosBgpInstancesInstanceArray and GetDdosBgpInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetDdosBgpInstancesInstanceArrayInput` via:

GetDdosBgpInstancesInstanceArray{ GetDdosBgpInstancesInstanceArgs{...} }

type GetDdosBgpInstancesInstanceArrayOutput

type GetDdosBgpInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetDdosBgpInstancesInstanceArrayOutput) ElementType

func (GetDdosBgpInstancesInstanceArrayOutput) Index

func (GetDdosBgpInstancesInstanceArrayOutput) ToGetDdosBgpInstancesInstanceArrayOutput

func (o GetDdosBgpInstancesInstanceArrayOutput) ToGetDdosBgpInstancesInstanceArrayOutput() GetDdosBgpInstancesInstanceArrayOutput

func (GetDdosBgpInstancesInstanceArrayOutput) ToGetDdosBgpInstancesInstanceArrayOutputWithContext

func (o GetDdosBgpInstancesInstanceArrayOutput) ToGetDdosBgpInstancesInstanceArrayOutputWithContext(ctx context.Context) GetDdosBgpInstancesInstanceArrayOutput

type GetDdosBgpInstancesInstanceInput

type GetDdosBgpInstancesInstanceInput interface {
	pulumi.Input

	ToGetDdosBgpInstancesInstanceOutput() GetDdosBgpInstancesInstanceOutput
	ToGetDdosBgpInstancesInstanceOutputWithContext(context.Context) GetDdosBgpInstancesInstanceOutput
}

GetDdosBgpInstancesInstanceInput is an input type that accepts GetDdosBgpInstancesInstanceArgs and GetDdosBgpInstancesInstanceOutput values. You can construct a concrete instance of `GetDdosBgpInstancesInstanceInput` via:

GetDdosBgpInstancesInstanceArgs{...}

type GetDdosBgpInstancesInstanceOutput

type GetDdosBgpInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetDdosBgpInstancesInstanceOutput) Bandwidth

The instance's elastic defend bandwidth.

func (GetDdosBgpInstancesInstanceOutput) BaseBandwidth

The instance's base defend bandwidth.

func (GetDdosBgpInstancesInstanceOutput) ElementType

func (GetDdosBgpInstancesInstanceOutput) Id

The instance's id.

func (GetDdosBgpInstancesInstanceOutput) IpCount

The instance's count of ip config.

func (GetDdosBgpInstancesInstanceOutput) IpType

The instance's IP version.

func (GetDdosBgpInstancesInstanceOutput) Name

The instance's remark.

func (GetDdosBgpInstancesInstanceOutput) NormalBandwidth added in v3.29.0

Normal defend bandwidth of the instance. The unit is Gbps.

func (GetDdosBgpInstancesInstanceOutput) Region

The instance's region.

func (GetDdosBgpInstancesInstanceOutput) ToGetDdosBgpInstancesInstanceOutput

func (o GetDdosBgpInstancesInstanceOutput) ToGetDdosBgpInstancesInstanceOutput() GetDdosBgpInstancesInstanceOutput

func (GetDdosBgpInstancesInstanceOutput) ToGetDdosBgpInstancesInstanceOutputWithContext

func (o GetDdosBgpInstancesInstanceOutput) ToGetDdosBgpInstancesInstanceOutputWithContext(ctx context.Context) GetDdosBgpInstancesInstanceOutput

func (GetDdosBgpInstancesInstanceOutput) Type

The instance's type.

type GetDdosBgpInstancesOutputArgs added in v3.9.0

type GetDdosBgpInstancesOutputArgs struct {
	// A list of instance IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by the instance name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getDdosBgpInstances.

func (GetDdosBgpInstancesOutputArgs) ElementType added in v3.9.0

type GetDdosBgpInstancesResult

type GetDdosBgpInstancesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of instance IDs.
	Ids []string `pulumi:"ids"`
	// A list of apis. Each element contains the following attributes:
	Instances []GetDdosBgpInstancesInstance `pulumi:"instances"`
	NameRegex *string                       `pulumi:"nameRegex"`
	// A list of instance names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getDdosBgpInstances.

func GetDdosBgpInstances

func GetDdosBgpInstances(ctx *pulumi.Context, args *GetDdosBgpInstancesArgs, opts ...pulumi.InvokeOption) (*GetDdosBgpInstancesResult, error)

This data source provides a list of Anti-DDoS Advanced instances in an Alibaba Cloud account according to the specified filters.

> **NOTE:** Available in v1.183.0+ .

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf-example"; if param := cfg.Get("name"); param != ""{ name = param } _, err := ddos.NewDdosBgpInstance(ctx, "instance", &ddos.DdosBgpInstanceArgs{ Name: pulumi.String(name), BaseBandwidth: pulumi.Int(20), Bandwidth: pulumi.Int(-1), IpCount: pulumi.Int(100), IpType: pulumi.String("IPv4"), NormalBandwidth: pulumi.Int(100), Type: pulumi.String("Enterprise"), }) if err != nil { return err } instance, err := ddos.GetDdosBgpInstances(ctx, &ddos.GetDdosBgpInstancesArgs{ NameRegex: pulumi.StringRef("ddosbgp"), }, nil); if err != nil { return err } ctx.Export("instance", pulumi.StringArray(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:21,11-25))) return nil }) } ```

type GetDdosBgpInstancesResultOutput added in v3.9.0

type GetDdosBgpInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDdosBgpInstances.

func GetDdosBgpInstancesOutput added in v3.9.0

func (GetDdosBgpInstancesResultOutput) ElementType added in v3.9.0

func (GetDdosBgpInstancesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetDdosBgpInstancesResultOutput) Ids added in v3.9.0

A list of instance IDs.

func (GetDdosBgpInstancesResultOutput) Instances added in v3.9.0

A list of apis. Each element contains the following attributes:

func (GetDdosBgpInstancesResultOutput) NameRegex added in v3.9.0

func (GetDdosBgpInstancesResultOutput) Names added in v3.9.0

A list of instance names.

func (GetDdosBgpInstancesResultOutput) OutputFile added in v3.9.0

func (GetDdosBgpInstancesResultOutput) ToGetDdosBgpInstancesResultOutput added in v3.9.0

func (o GetDdosBgpInstancesResultOutput) ToGetDdosBgpInstancesResultOutput() GetDdosBgpInstancesResultOutput

func (GetDdosBgpInstancesResultOutput) ToGetDdosBgpInstancesResultOutputWithContext added in v3.9.0

func (o GetDdosBgpInstancesResultOutput) ToGetDdosBgpInstancesResultOutputWithContext(ctx context.Context) GetDdosBgpInstancesResultOutput

type GetDdosBgpIpsArgs added in v3.28.0

type GetDdosBgpIpsArgs struct {
	// A list of Ip IDs.
	Ids []string `pulumi:"ids"`
	// The ID of the native protection enterprise instance to be operated.
	InstanceId string `pulumi:"instanceId"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	PageNumber *int    `pulumi:"pageNumber"`
	PageSize   *int    `pulumi:"pageSize"`
	// The product name. Valid Value:`ECS`, `SLB`, `EIP`, `WAF`.
	ProductName *string `pulumi:"productName"`
	// The current state of the IP address. Valid Value:
	// - normal: indicates normal (not attacked).
	// - hole_begin: indicates that you are in a black hole state.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getDdosBgpIps.

type GetDdosBgpIpsIp added in v3.28.0

type GetDdosBgpIpsIp struct {
	// The ID of the Ip. The value formats as `<instance_id>:<ip>`.
	Id string `pulumi:"id"`
	// The ID of the native protection enterprise instance to be operated.
	InstanceId string `pulumi:"instanceId"`
	// The IP address.
	Ip string `pulumi:"ip"`
	// The type of cloud asset to which the IP address belongs.
	Product string `pulumi:"product"`
	// The current state of the IP address.
	Status string `pulumi:"status"`
}

type GetDdosBgpIpsIpArgs added in v3.28.0

type GetDdosBgpIpsIpArgs struct {
	// The ID of the Ip. The value formats as `<instance_id>:<ip>`.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the native protection enterprise instance to be operated.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The IP address.
	Ip pulumi.StringInput `pulumi:"ip"`
	// The type of cloud asset to which the IP address belongs.
	Product pulumi.StringInput `pulumi:"product"`
	// The current state of the IP address.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetDdosBgpIpsIpArgs) ElementType added in v3.28.0

func (GetDdosBgpIpsIpArgs) ElementType() reflect.Type

func (GetDdosBgpIpsIpArgs) ToGetDdosBgpIpsIpOutput added in v3.28.0

func (i GetDdosBgpIpsIpArgs) ToGetDdosBgpIpsIpOutput() GetDdosBgpIpsIpOutput

func (GetDdosBgpIpsIpArgs) ToGetDdosBgpIpsIpOutputWithContext added in v3.28.0

func (i GetDdosBgpIpsIpArgs) ToGetDdosBgpIpsIpOutputWithContext(ctx context.Context) GetDdosBgpIpsIpOutput

type GetDdosBgpIpsIpArray added in v3.28.0

type GetDdosBgpIpsIpArray []GetDdosBgpIpsIpInput

func (GetDdosBgpIpsIpArray) ElementType added in v3.28.0

func (GetDdosBgpIpsIpArray) ElementType() reflect.Type

func (GetDdosBgpIpsIpArray) ToGetDdosBgpIpsIpArrayOutput added in v3.28.0

func (i GetDdosBgpIpsIpArray) ToGetDdosBgpIpsIpArrayOutput() GetDdosBgpIpsIpArrayOutput

func (GetDdosBgpIpsIpArray) ToGetDdosBgpIpsIpArrayOutputWithContext added in v3.28.0

func (i GetDdosBgpIpsIpArray) ToGetDdosBgpIpsIpArrayOutputWithContext(ctx context.Context) GetDdosBgpIpsIpArrayOutput

type GetDdosBgpIpsIpArrayInput added in v3.28.0

type GetDdosBgpIpsIpArrayInput interface {
	pulumi.Input

	ToGetDdosBgpIpsIpArrayOutput() GetDdosBgpIpsIpArrayOutput
	ToGetDdosBgpIpsIpArrayOutputWithContext(context.Context) GetDdosBgpIpsIpArrayOutput
}

GetDdosBgpIpsIpArrayInput is an input type that accepts GetDdosBgpIpsIpArray and GetDdosBgpIpsIpArrayOutput values. You can construct a concrete instance of `GetDdosBgpIpsIpArrayInput` via:

GetDdosBgpIpsIpArray{ GetDdosBgpIpsIpArgs{...} }

type GetDdosBgpIpsIpArrayOutput added in v3.28.0

type GetDdosBgpIpsIpArrayOutput struct{ *pulumi.OutputState }

func (GetDdosBgpIpsIpArrayOutput) ElementType added in v3.28.0

func (GetDdosBgpIpsIpArrayOutput) ElementType() reflect.Type

func (GetDdosBgpIpsIpArrayOutput) Index added in v3.28.0

func (GetDdosBgpIpsIpArrayOutput) ToGetDdosBgpIpsIpArrayOutput added in v3.28.0

func (o GetDdosBgpIpsIpArrayOutput) ToGetDdosBgpIpsIpArrayOutput() GetDdosBgpIpsIpArrayOutput

func (GetDdosBgpIpsIpArrayOutput) ToGetDdosBgpIpsIpArrayOutputWithContext added in v3.28.0

func (o GetDdosBgpIpsIpArrayOutput) ToGetDdosBgpIpsIpArrayOutputWithContext(ctx context.Context) GetDdosBgpIpsIpArrayOutput

type GetDdosBgpIpsIpInput added in v3.28.0

type GetDdosBgpIpsIpInput interface {
	pulumi.Input

	ToGetDdosBgpIpsIpOutput() GetDdosBgpIpsIpOutput
	ToGetDdosBgpIpsIpOutputWithContext(context.Context) GetDdosBgpIpsIpOutput
}

GetDdosBgpIpsIpInput is an input type that accepts GetDdosBgpIpsIpArgs and GetDdosBgpIpsIpOutput values. You can construct a concrete instance of `GetDdosBgpIpsIpInput` via:

GetDdosBgpIpsIpArgs{...}

type GetDdosBgpIpsIpOutput added in v3.28.0

type GetDdosBgpIpsIpOutput struct{ *pulumi.OutputState }

func (GetDdosBgpIpsIpOutput) ElementType added in v3.28.0

func (GetDdosBgpIpsIpOutput) ElementType() reflect.Type

func (GetDdosBgpIpsIpOutput) Id added in v3.28.0

The ID of the Ip. The value formats as `<instance_id>:<ip>`.

func (GetDdosBgpIpsIpOutput) InstanceId added in v3.28.0

func (o GetDdosBgpIpsIpOutput) InstanceId() pulumi.StringOutput

The ID of the native protection enterprise instance to be operated.

func (GetDdosBgpIpsIpOutput) Ip added in v3.28.0

The IP address.

func (GetDdosBgpIpsIpOutput) Product added in v3.28.0

The type of cloud asset to which the IP address belongs.

func (GetDdosBgpIpsIpOutput) Status added in v3.28.0

The current state of the IP address.

func (GetDdosBgpIpsIpOutput) ToGetDdosBgpIpsIpOutput added in v3.28.0

func (o GetDdosBgpIpsIpOutput) ToGetDdosBgpIpsIpOutput() GetDdosBgpIpsIpOutput

func (GetDdosBgpIpsIpOutput) ToGetDdosBgpIpsIpOutputWithContext added in v3.28.0

func (o GetDdosBgpIpsIpOutput) ToGetDdosBgpIpsIpOutputWithContext(ctx context.Context) GetDdosBgpIpsIpOutput

type GetDdosBgpIpsOutputArgs added in v3.28.0

type GetDdosBgpIpsOutputArgs struct {
	// A list of Ip IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The ID of the native protection enterprise instance to be operated.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	PageNumber pulumi.IntPtrInput    `pulumi:"pageNumber"`
	PageSize   pulumi.IntPtrInput    `pulumi:"pageSize"`
	// The product name. Valid Value:`ECS`, `SLB`, `EIP`, `WAF`.
	ProductName pulumi.StringPtrInput `pulumi:"productName"`
	// The current state of the IP address. Valid Value:
	// - normal: indicates normal (not attacked).
	// - hole_begin: indicates that you are in a black hole state.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getDdosBgpIps.

func (GetDdosBgpIpsOutputArgs) ElementType added in v3.28.0

func (GetDdosBgpIpsOutputArgs) ElementType() reflect.Type

type GetDdosBgpIpsResult added in v3.28.0

type GetDdosBgpIpsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id          string            `pulumi:"id"`
	Ids         []string          `pulumi:"ids"`
	InstanceId  string            `pulumi:"instanceId"`
	Ips         []GetDdosBgpIpsIp `pulumi:"ips"`
	OutputFile  *string           `pulumi:"outputFile"`
	PageNumber  *int              `pulumi:"pageNumber"`
	PageSize    *int              `pulumi:"pageSize"`
	ProductName *string           `pulumi:"productName"`
	Status      *string           `pulumi:"status"`
}

A collection of values returned by getDdosBgpIps.

func GetDdosBgpIps added in v3.28.0

func GetDdosBgpIps(ctx *pulumi.Context, args *GetDdosBgpIpsArgs, opts ...pulumi.InvokeOption) (*GetDdosBgpIpsResult, error)

This data source provides the Ddos Bgp Ips of the current Alibaba Cloud user.

> **NOTE:** Available in v1.180.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := ddos.GetDdosBgpIps(ctx, &ddos.GetDdosBgpIpsArgs{
			InstanceId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ddosbgpIpId1", ids.Ips[0].Id)
		return nil
	})
}

```

type GetDdosBgpIpsResultOutput added in v3.28.0

type GetDdosBgpIpsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDdosBgpIps.

func GetDdosBgpIpsOutput added in v3.28.0

func GetDdosBgpIpsOutput(ctx *pulumi.Context, args GetDdosBgpIpsOutputArgs, opts ...pulumi.InvokeOption) GetDdosBgpIpsResultOutput

func (GetDdosBgpIpsResultOutput) ElementType added in v3.28.0

func (GetDdosBgpIpsResultOutput) ElementType() reflect.Type

func (GetDdosBgpIpsResultOutput) Id added in v3.28.0

The provider-assigned unique ID for this managed resource.

func (GetDdosBgpIpsResultOutput) Ids added in v3.28.0

func (GetDdosBgpIpsResultOutput) InstanceId added in v3.28.0

func (GetDdosBgpIpsResultOutput) Ips added in v3.28.0

func (GetDdosBgpIpsResultOutput) OutputFile added in v3.28.0

func (GetDdosBgpIpsResultOutput) PageNumber added in v3.28.0

func (GetDdosBgpIpsResultOutput) PageSize added in v3.28.0

func (GetDdosBgpIpsResultOutput) ProductName added in v3.28.0

func (GetDdosBgpIpsResultOutput) Status added in v3.28.0

func (GetDdosBgpIpsResultOutput) ToGetDdosBgpIpsResultOutput added in v3.28.0

func (o GetDdosBgpIpsResultOutput) ToGetDdosBgpIpsResultOutput() GetDdosBgpIpsResultOutput

func (GetDdosBgpIpsResultOutput) ToGetDdosBgpIpsResultOutputWithContext added in v3.28.0

func (o GetDdosBgpIpsResultOutput) ToGetDdosBgpIpsResultOutputWithContext(ctx context.Context) GetDdosBgpIpsResultOutput

type GetDdosCooDomainResourcesArgs added in v3.2.0

type GetDdosCooDomainResourcesArgs struct {
	// A list of Domain Resource IDs.
	Ids []string `pulumi:"ids"`
	// A ID list of Ddoscoo instance.
	InstanceIds []string `pulumi:"instanceIds"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// Match the pattern.
	QueryDomainPattern *string `pulumi:"queryDomainPattern"`
}

A collection of arguments for invoking getDdosCooDomainResources.

type GetDdosCooDomainResourcesOutputArgs added in v3.9.0

type GetDdosCooDomainResourcesOutputArgs struct {
	// A list of Domain Resource IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A ID list of Ddoscoo instance.
	InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Match the pattern.
	QueryDomainPattern pulumi.StringPtrInput `pulumi:"queryDomainPattern"`
}

A collection of arguments for invoking getDdosCooDomainResources.

func (GetDdosCooDomainResourcesOutputArgs) ElementType added in v3.9.0

type GetDdosCooDomainResourcesResource added in v3.2.0

type GetDdosCooDomainResourcesResource struct {
	// The IP addresses in the blacklist for the domain name.
	BlackLists []string `pulumi:"blackLists"`
	// Whether frequency control guard (CC guard) is enabled. Values: `True`: Opened, `False`: Not enabled.
	CcEnabled bool `pulumi:"ccEnabled"`
	// Whether custom frequency control guard (CC guard) is enabled. Values: `True`: Opened, `False`: Not enabled.
	CcRuleEnabled bool `pulumi:"ccRuleEnabled"`
	// The mode of the Frequency Control policy.
	CcTemplate string `pulumi:"ccTemplate"`
	// The name of the certificate.
	CertName string `pulumi:"certName"`
	// The domain name of the website that you want to add to the instance.
	Domain string `pulumi:"domain"`
	// Whether Http2.0 is enabled.
	Http2Enable bool `pulumi:"http2Enable"`
	// The advanced HTTPS settings.
	HttpsExt string `pulumi:"httpsExt"`
	// The ID of the Domain Resource.
	Id string `pulumi:"id"`
	// A list ID of instance that you want to associate.
	InstanceIds []string `pulumi:"instanceIds"`
	// The type of backload algorithm.
	PolicyMode string `pulumi:"policyMode"`
	// Whether the website service forwarding rules have been turned on.
	ProxyEnabled bool `pulumi:"proxyEnabled"`
	// Protocol type and port number information.
	ProxyTypes []GetDdosCooDomainResourcesResourceProxyType `pulumi:"proxyTypes"`
	// Server address information of the source station.
	RealServers []string `pulumi:"realServers"`
	// Server address type.
	RsType int `pulumi:"rsType"`
	// The type of the cipher suite.
	SslCiphers string `pulumi:"sslCiphers"`
	// The version of the TLS protocol.
	SslProtocols string `pulumi:"sslProtocols"`
	// The IP addresses in the whitelist for the domain name.
	WhiteLists []string `pulumi:"whiteLists"`
}

type GetDdosCooDomainResourcesResourceArgs added in v3.2.0

type GetDdosCooDomainResourcesResourceArgs struct {
	// The IP addresses in the blacklist for the domain name.
	BlackLists pulumi.StringArrayInput `pulumi:"blackLists"`
	// Whether frequency control guard (CC guard) is enabled. Values: `True`: Opened, `False`: Not enabled.
	CcEnabled pulumi.BoolInput `pulumi:"ccEnabled"`
	// Whether custom frequency control guard (CC guard) is enabled. Values: `True`: Opened, `False`: Not enabled.
	CcRuleEnabled pulumi.BoolInput `pulumi:"ccRuleEnabled"`
	// The mode of the Frequency Control policy.
	CcTemplate pulumi.StringInput `pulumi:"ccTemplate"`
	// The name of the certificate.
	CertName pulumi.StringInput `pulumi:"certName"`
	// The domain name of the website that you want to add to the instance.
	Domain pulumi.StringInput `pulumi:"domain"`
	// Whether Http2.0 is enabled.
	Http2Enable pulumi.BoolInput `pulumi:"http2Enable"`
	// The advanced HTTPS settings.
	HttpsExt pulumi.StringInput `pulumi:"httpsExt"`
	// The ID of the Domain Resource.
	Id pulumi.StringInput `pulumi:"id"`
	// A list ID of instance that you want to associate.
	InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"`
	// The type of backload algorithm.
	PolicyMode pulumi.StringInput `pulumi:"policyMode"`
	// Whether the website service forwarding rules have been turned on.
	ProxyEnabled pulumi.BoolInput `pulumi:"proxyEnabled"`
	// Protocol type and port number information.
	ProxyTypes GetDdosCooDomainResourcesResourceProxyTypeArrayInput `pulumi:"proxyTypes"`
	// Server address information of the source station.
	RealServers pulumi.StringArrayInput `pulumi:"realServers"`
	// Server address type.
	RsType pulumi.IntInput `pulumi:"rsType"`
	// The type of the cipher suite.
	SslCiphers pulumi.StringInput `pulumi:"sslCiphers"`
	// The version of the TLS protocol.
	SslProtocols pulumi.StringInput `pulumi:"sslProtocols"`
	// The IP addresses in the whitelist for the domain name.
	WhiteLists pulumi.StringArrayInput `pulumi:"whiteLists"`
}

func (GetDdosCooDomainResourcesResourceArgs) ElementType added in v3.2.0

func (GetDdosCooDomainResourcesResourceArgs) ToGetDdosCooDomainResourcesResourceOutput added in v3.2.0

func (i GetDdosCooDomainResourcesResourceArgs) ToGetDdosCooDomainResourcesResourceOutput() GetDdosCooDomainResourcesResourceOutput

func (GetDdosCooDomainResourcesResourceArgs) ToGetDdosCooDomainResourcesResourceOutputWithContext added in v3.2.0

func (i GetDdosCooDomainResourcesResourceArgs) ToGetDdosCooDomainResourcesResourceOutputWithContext(ctx context.Context) GetDdosCooDomainResourcesResourceOutput

type GetDdosCooDomainResourcesResourceArray added in v3.2.0

type GetDdosCooDomainResourcesResourceArray []GetDdosCooDomainResourcesResourceInput

func (GetDdosCooDomainResourcesResourceArray) ElementType added in v3.2.0

func (GetDdosCooDomainResourcesResourceArray) ToGetDdosCooDomainResourcesResourceArrayOutput added in v3.2.0

func (i GetDdosCooDomainResourcesResourceArray) ToGetDdosCooDomainResourcesResourceArrayOutput() GetDdosCooDomainResourcesResourceArrayOutput

func (GetDdosCooDomainResourcesResourceArray) ToGetDdosCooDomainResourcesResourceArrayOutputWithContext added in v3.2.0

func (i GetDdosCooDomainResourcesResourceArray) ToGetDdosCooDomainResourcesResourceArrayOutputWithContext(ctx context.Context) GetDdosCooDomainResourcesResourceArrayOutput

type GetDdosCooDomainResourcesResourceArrayInput added in v3.2.0

type GetDdosCooDomainResourcesResourceArrayInput interface {
	pulumi.Input

	ToGetDdosCooDomainResourcesResourceArrayOutput() GetDdosCooDomainResourcesResourceArrayOutput
	ToGetDdosCooDomainResourcesResourceArrayOutputWithContext(context.Context) GetDdosCooDomainResourcesResourceArrayOutput
}

GetDdosCooDomainResourcesResourceArrayInput is an input type that accepts GetDdosCooDomainResourcesResourceArray and GetDdosCooDomainResourcesResourceArrayOutput values. You can construct a concrete instance of `GetDdosCooDomainResourcesResourceArrayInput` via:

GetDdosCooDomainResourcesResourceArray{ GetDdosCooDomainResourcesResourceArgs{...} }

type GetDdosCooDomainResourcesResourceArrayOutput added in v3.2.0

type GetDdosCooDomainResourcesResourceArrayOutput struct{ *pulumi.OutputState }

func (GetDdosCooDomainResourcesResourceArrayOutput) ElementType added in v3.2.0

func (GetDdosCooDomainResourcesResourceArrayOutput) Index added in v3.2.0

func (GetDdosCooDomainResourcesResourceArrayOutput) ToGetDdosCooDomainResourcesResourceArrayOutput added in v3.2.0

func (o GetDdosCooDomainResourcesResourceArrayOutput) ToGetDdosCooDomainResourcesResourceArrayOutput() GetDdosCooDomainResourcesResourceArrayOutput

func (GetDdosCooDomainResourcesResourceArrayOutput) ToGetDdosCooDomainResourcesResourceArrayOutputWithContext added in v3.2.0

func (o GetDdosCooDomainResourcesResourceArrayOutput) ToGetDdosCooDomainResourcesResourceArrayOutputWithContext(ctx context.Context) GetDdosCooDomainResourcesResourceArrayOutput

type GetDdosCooDomainResourcesResourceInput added in v3.2.0

type GetDdosCooDomainResourcesResourceInput interface {
	pulumi.Input

	ToGetDdosCooDomainResourcesResourceOutput() GetDdosCooDomainResourcesResourceOutput
	ToGetDdosCooDomainResourcesResourceOutputWithContext(context.Context) GetDdosCooDomainResourcesResourceOutput
}

GetDdosCooDomainResourcesResourceInput is an input type that accepts GetDdosCooDomainResourcesResourceArgs and GetDdosCooDomainResourcesResourceOutput values. You can construct a concrete instance of `GetDdosCooDomainResourcesResourceInput` via:

GetDdosCooDomainResourcesResourceArgs{...}

type GetDdosCooDomainResourcesResourceOutput added in v3.2.0

type GetDdosCooDomainResourcesResourceOutput struct{ *pulumi.OutputState }

func (GetDdosCooDomainResourcesResourceOutput) BlackLists added in v3.2.0

The IP addresses in the blacklist for the domain name.

func (GetDdosCooDomainResourcesResourceOutput) CcEnabled added in v3.2.0

Whether frequency control guard (CC guard) is enabled. Values: `True`: Opened, `False`: Not enabled.

func (GetDdosCooDomainResourcesResourceOutput) CcRuleEnabled added in v3.2.0

Whether custom frequency control guard (CC guard) is enabled. Values: `True`: Opened, `False`: Not enabled.

func (GetDdosCooDomainResourcesResourceOutput) CcTemplate added in v3.2.0

The mode of the Frequency Control policy.

func (GetDdosCooDomainResourcesResourceOutput) CertName added in v3.2.0

The name of the certificate.

func (GetDdosCooDomainResourcesResourceOutput) Domain added in v3.2.0

The domain name of the website that you want to add to the instance.

func (GetDdosCooDomainResourcesResourceOutput) ElementType added in v3.2.0

func (GetDdosCooDomainResourcesResourceOutput) Http2Enable added in v3.2.0

Whether Http2.0 is enabled.

func (GetDdosCooDomainResourcesResourceOutput) HttpsExt added in v3.2.0

The advanced HTTPS settings.

func (GetDdosCooDomainResourcesResourceOutput) Id added in v3.2.0

The ID of the Domain Resource.

func (GetDdosCooDomainResourcesResourceOutput) InstanceIds added in v3.2.0

A list ID of instance that you want to associate.

func (GetDdosCooDomainResourcesResourceOutput) PolicyMode added in v3.2.0

The type of backload algorithm.

func (GetDdosCooDomainResourcesResourceOutput) ProxyEnabled added in v3.2.0

Whether the website service forwarding rules have been turned on.

func (GetDdosCooDomainResourcesResourceOutput) ProxyTypes added in v3.2.0

Protocol type and port number information.

func (GetDdosCooDomainResourcesResourceOutput) RealServers added in v3.2.0

Server address information of the source station.

func (GetDdosCooDomainResourcesResourceOutput) RsType added in v3.2.0

Server address type.

func (GetDdosCooDomainResourcesResourceOutput) SslCiphers added in v3.2.0

The type of the cipher suite.

func (GetDdosCooDomainResourcesResourceOutput) SslProtocols added in v3.2.0

The version of the TLS protocol.

func (GetDdosCooDomainResourcesResourceOutput) ToGetDdosCooDomainResourcesResourceOutput added in v3.2.0

func (o GetDdosCooDomainResourcesResourceOutput) ToGetDdosCooDomainResourcesResourceOutput() GetDdosCooDomainResourcesResourceOutput

func (GetDdosCooDomainResourcesResourceOutput) ToGetDdosCooDomainResourcesResourceOutputWithContext added in v3.2.0

func (o GetDdosCooDomainResourcesResourceOutput) ToGetDdosCooDomainResourcesResourceOutputWithContext(ctx context.Context) GetDdosCooDomainResourcesResourceOutput

func (GetDdosCooDomainResourcesResourceOutput) WhiteLists added in v3.2.0

The IP addresses in the whitelist for the domain name.

type GetDdosCooDomainResourcesResourceProxyType added in v3.2.0

type GetDdosCooDomainResourcesResourceProxyType struct {
	// The forwarding port.
	ProxyPorts []int `pulumi:"proxyPorts"`
	// Protocol type.
	ProxyType string `pulumi:"proxyType"`
}

type GetDdosCooDomainResourcesResourceProxyTypeArgs added in v3.2.0

type GetDdosCooDomainResourcesResourceProxyTypeArgs struct {
	// The forwarding port.
	ProxyPorts pulumi.IntArrayInput `pulumi:"proxyPorts"`
	// Protocol type.
	ProxyType pulumi.StringInput `pulumi:"proxyType"`
}

func (GetDdosCooDomainResourcesResourceProxyTypeArgs) ElementType added in v3.2.0

func (GetDdosCooDomainResourcesResourceProxyTypeArgs) ToGetDdosCooDomainResourcesResourceProxyTypeOutput added in v3.2.0

func (i GetDdosCooDomainResourcesResourceProxyTypeArgs) ToGetDdosCooDomainResourcesResourceProxyTypeOutput() GetDdosCooDomainResourcesResourceProxyTypeOutput

func (GetDdosCooDomainResourcesResourceProxyTypeArgs) ToGetDdosCooDomainResourcesResourceProxyTypeOutputWithContext added in v3.2.0

func (i GetDdosCooDomainResourcesResourceProxyTypeArgs) ToGetDdosCooDomainResourcesResourceProxyTypeOutputWithContext(ctx context.Context) GetDdosCooDomainResourcesResourceProxyTypeOutput

type GetDdosCooDomainResourcesResourceProxyTypeArray added in v3.2.0

type GetDdosCooDomainResourcesResourceProxyTypeArray []GetDdosCooDomainResourcesResourceProxyTypeInput

func (GetDdosCooDomainResourcesResourceProxyTypeArray) ElementType added in v3.2.0

func (GetDdosCooDomainResourcesResourceProxyTypeArray) ToGetDdosCooDomainResourcesResourceProxyTypeArrayOutput added in v3.2.0

func (i GetDdosCooDomainResourcesResourceProxyTypeArray) ToGetDdosCooDomainResourcesResourceProxyTypeArrayOutput() GetDdosCooDomainResourcesResourceProxyTypeArrayOutput

func (GetDdosCooDomainResourcesResourceProxyTypeArray) ToGetDdosCooDomainResourcesResourceProxyTypeArrayOutputWithContext added in v3.2.0

func (i GetDdosCooDomainResourcesResourceProxyTypeArray) ToGetDdosCooDomainResourcesResourceProxyTypeArrayOutputWithContext(ctx context.Context) GetDdosCooDomainResourcesResourceProxyTypeArrayOutput

type GetDdosCooDomainResourcesResourceProxyTypeArrayInput added in v3.2.0

type GetDdosCooDomainResourcesResourceProxyTypeArrayInput interface {
	pulumi.Input

	ToGetDdosCooDomainResourcesResourceProxyTypeArrayOutput() GetDdosCooDomainResourcesResourceProxyTypeArrayOutput
	ToGetDdosCooDomainResourcesResourceProxyTypeArrayOutputWithContext(context.Context) GetDdosCooDomainResourcesResourceProxyTypeArrayOutput
}

GetDdosCooDomainResourcesResourceProxyTypeArrayInput is an input type that accepts GetDdosCooDomainResourcesResourceProxyTypeArray and GetDdosCooDomainResourcesResourceProxyTypeArrayOutput values. You can construct a concrete instance of `GetDdosCooDomainResourcesResourceProxyTypeArrayInput` via:

GetDdosCooDomainResourcesResourceProxyTypeArray{ GetDdosCooDomainResourcesResourceProxyTypeArgs{...} }

type GetDdosCooDomainResourcesResourceProxyTypeArrayOutput added in v3.2.0

type GetDdosCooDomainResourcesResourceProxyTypeArrayOutput struct{ *pulumi.OutputState }

func (GetDdosCooDomainResourcesResourceProxyTypeArrayOutput) ElementType added in v3.2.0

func (GetDdosCooDomainResourcesResourceProxyTypeArrayOutput) Index added in v3.2.0

func (GetDdosCooDomainResourcesResourceProxyTypeArrayOutput) ToGetDdosCooDomainResourcesResourceProxyTypeArrayOutput added in v3.2.0

func (GetDdosCooDomainResourcesResourceProxyTypeArrayOutput) ToGetDdosCooDomainResourcesResourceProxyTypeArrayOutputWithContext added in v3.2.0

func (o GetDdosCooDomainResourcesResourceProxyTypeArrayOutput) ToGetDdosCooDomainResourcesResourceProxyTypeArrayOutputWithContext(ctx context.Context) GetDdosCooDomainResourcesResourceProxyTypeArrayOutput

type GetDdosCooDomainResourcesResourceProxyTypeInput added in v3.2.0

type GetDdosCooDomainResourcesResourceProxyTypeInput interface {
	pulumi.Input

	ToGetDdosCooDomainResourcesResourceProxyTypeOutput() GetDdosCooDomainResourcesResourceProxyTypeOutput
	ToGetDdosCooDomainResourcesResourceProxyTypeOutputWithContext(context.Context) GetDdosCooDomainResourcesResourceProxyTypeOutput
}

GetDdosCooDomainResourcesResourceProxyTypeInput is an input type that accepts GetDdosCooDomainResourcesResourceProxyTypeArgs and GetDdosCooDomainResourcesResourceProxyTypeOutput values. You can construct a concrete instance of `GetDdosCooDomainResourcesResourceProxyTypeInput` via:

GetDdosCooDomainResourcesResourceProxyTypeArgs{...}

type GetDdosCooDomainResourcesResourceProxyTypeOutput added in v3.2.0

type GetDdosCooDomainResourcesResourceProxyTypeOutput struct{ *pulumi.OutputState }

func (GetDdosCooDomainResourcesResourceProxyTypeOutput) ElementType added in v3.2.0

func (GetDdosCooDomainResourcesResourceProxyTypeOutput) ProxyPorts added in v3.2.0

The forwarding port.

func (GetDdosCooDomainResourcesResourceProxyTypeOutput) ProxyType added in v3.2.0

Protocol type.

func (GetDdosCooDomainResourcesResourceProxyTypeOutput) ToGetDdosCooDomainResourcesResourceProxyTypeOutput added in v3.2.0

func (o GetDdosCooDomainResourcesResourceProxyTypeOutput) ToGetDdosCooDomainResourcesResourceProxyTypeOutput() GetDdosCooDomainResourcesResourceProxyTypeOutput

func (GetDdosCooDomainResourcesResourceProxyTypeOutput) ToGetDdosCooDomainResourcesResourceProxyTypeOutputWithContext added in v3.2.0

func (o GetDdosCooDomainResourcesResourceProxyTypeOutput) ToGetDdosCooDomainResourcesResourceProxyTypeOutputWithContext(ctx context.Context) GetDdosCooDomainResourcesResourceProxyTypeOutput

type GetDdosCooDomainResourcesResult added in v3.2.0

type GetDdosCooDomainResourcesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id                 string                              `pulumi:"id"`
	Ids                []string                            `pulumi:"ids"`
	InstanceIds        []string                            `pulumi:"instanceIds"`
	OutputFile         *string                             `pulumi:"outputFile"`
	QueryDomainPattern *string                             `pulumi:"queryDomainPattern"`
	Resources          []GetDdosCooDomainResourcesResource `pulumi:"resources"`
}

A collection of values returned by getDdosCooDomainResources.

func GetDdosCooDomainResources added in v3.2.0

func GetDdosCooDomainResources(ctx *pulumi.Context, args *GetDdosCooDomainResourcesArgs, opts ...pulumi.InvokeOption) (*GetDdosCooDomainResourcesResult, error)

This data source provides the Ddoscoo Domain Resources of the current Alibaba Cloud user.

> **NOTE:** Available in v1.123.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ddos.GetDdosCooDomainResources(ctx, &ddos.GetDdosCooDomainResourcesArgs{
			Ids: []string{
				"tftestacc1234.abc",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstDdoscooDomainResourceId", example.Resources[0].Id)
		return nil
	})
}

```

type GetDdosCooDomainResourcesResultOutput added in v3.9.0

type GetDdosCooDomainResourcesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDdosCooDomainResources.

func (GetDdosCooDomainResourcesResultOutput) ElementType added in v3.9.0

func (GetDdosCooDomainResourcesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetDdosCooDomainResourcesResultOutput) Ids added in v3.9.0

func (GetDdosCooDomainResourcesResultOutput) InstanceIds added in v3.9.0

func (GetDdosCooDomainResourcesResultOutput) OutputFile added in v3.9.0

func (GetDdosCooDomainResourcesResultOutput) QueryDomainPattern added in v3.9.0

func (GetDdosCooDomainResourcesResultOutput) Resources added in v3.9.0

func (GetDdosCooDomainResourcesResultOutput) ToGetDdosCooDomainResourcesResultOutput added in v3.9.0

func (o GetDdosCooDomainResourcesResultOutput) ToGetDdosCooDomainResourcesResultOutput() GetDdosCooDomainResourcesResultOutput

func (GetDdosCooDomainResourcesResultOutput) ToGetDdosCooDomainResourcesResultOutputWithContext added in v3.9.0

func (o GetDdosCooDomainResourcesResultOutput) ToGetDdosCooDomainResourcesResultOutputWithContext(ctx context.Context) GetDdosCooDomainResourcesResultOutput

type GetDdosCooInstancesArgs

type GetDdosCooInstancesArgs struct {
	// A list of instance IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by the instance name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getDdosCooInstances.

type GetDdosCooInstancesInstance

type GetDdosCooInstancesInstance struct {
	// The instance's elastic defend bandwidth.
	Bandwidth int `pulumi:"bandwidth"`
	// The instance's base defend bandwidth.
	BaseBandwidth int `pulumi:"baseBandwidth"`
	// The creation time of the instance.
	CreateTime int `pulumi:"createTime"`
	// The debt status of the instance.
	DebtStatus int `pulumi:"debtStatus"`
	// The instance's count of domain retransmission config.
	DomainCount int `pulumi:"domainCount"`
	// The edition of the instance.
	Edition int `pulumi:"edition"`
	// The enabled of the instance.
	Enabled int `pulumi:"enabled"`
	// The expiry time of the instance.
	ExpireTime int `pulumi:"expireTime"`
	// The instance's id.
	Id string `pulumi:"id"`
	// The ip mode of the instance.
	IpMode string `pulumi:"ipMode"`
	// The ip version of the instance.
	IpVersion string `pulumi:"ipVersion"`
	// The instance's remark.
	Name string `pulumi:"name"`
	// The instance's count of port retransmission config.
	PortCount int `pulumi:"portCount"`
	// The remark of the instance.
	Remark string `pulumi:"remark"`
	// The instance's business bandwidth.
	ServiceBandwidth int `pulumi:"serviceBandwidth"`
	// The status of the instance.
	Status int `pulumi:"status"`
}

type GetDdosCooInstancesInstanceArgs

type GetDdosCooInstancesInstanceArgs struct {
	// The instance's elastic defend bandwidth.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The instance's base defend bandwidth.
	BaseBandwidth pulumi.IntInput `pulumi:"baseBandwidth"`
	// The creation time of the instance.
	CreateTime pulumi.IntInput `pulumi:"createTime"`
	// The debt status of the instance.
	DebtStatus pulumi.IntInput `pulumi:"debtStatus"`
	// The instance's count of domain retransmission config.
	DomainCount pulumi.IntInput `pulumi:"domainCount"`
	// The edition of the instance.
	Edition pulumi.IntInput `pulumi:"edition"`
	// The enabled of the instance.
	Enabled pulumi.IntInput `pulumi:"enabled"`
	// The expiry time of the instance.
	ExpireTime pulumi.IntInput `pulumi:"expireTime"`
	// The instance's id.
	Id pulumi.StringInput `pulumi:"id"`
	// The ip mode of the instance.
	IpMode pulumi.StringInput `pulumi:"ipMode"`
	// The ip version of the instance.
	IpVersion pulumi.StringInput `pulumi:"ipVersion"`
	// The instance's remark.
	Name pulumi.StringInput `pulumi:"name"`
	// The instance's count of port retransmission config.
	PortCount pulumi.IntInput `pulumi:"portCount"`
	// The remark of the instance.
	Remark pulumi.StringInput `pulumi:"remark"`
	// The instance's business bandwidth.
	ServiceBandwidth pulumi.IntInput `pulumi:"serviceBandwidth"`
	// The status of the instance.
	Status pulumi.IntInput `pulumi:"status"`
}

func (GetDdosCooInstancesInstanceArgs) ElementType

func (GetDdosCooInstancesInstanceArgs) ToGetDdosCooInstancesInstanceOutput

func (i GetDdosCooInstancesInstanceArgs) ToGetDdosCooInstancesInstanceOutput() GetDdosCooInstancesInstanceOutput

func (GetDdosCooInstancesInstanceArgs) ToGetDdosCooInstancesInstanceOutputWithContext

func (i GetDdosCooInstancesInstanceArgs) ToGetDdosCooInstancesInstanceOutputWithContext(ctx context.Context) GetDdosCooInstancesInstanceOutput

type GetDdosCooInstancesInstanceArray

type GetDdosCooInstancesInstanceArray []GetDdosCooInstancesInstanceInput

func (GetDdosCooInstancesInstanceArray) ElementType

func (GetDdosCooInstancesInstanceArray) ToGetDdosCooInstancesInstanceArrayOutput

func (i GetDdosCooInstancesInstanceArray) ToGetDdosCooInstancesInstanceArrayOutput() GetDdosCooInstancesInstanceArrayOutput

func (GetDdosCooInstancesInstanceArray) ToGetDdosCooInstancesInstanceArrayOutputWithContext

func (i GetDdosCooInstancesInstanceArray) ToGetDdosCooInstancesInstanceArrayOutputWithContext(ctx context.Context) GetDdosCooInstancesInstanceArrayOutput

type GetDdosCooInstancesInstanceArrayInput

type GetDdosCooInstancesInstanceArrayInput interface {
	pulumi.Input

	ToGetDdosCooInstancesInstanceArrayOutput() GetDdosCooInstancesInstanceArrayOutput
	ToGetDdosCooInstancesInstanceArrayOutputWithContext(context.Context) GetDdosCooInstancesInstanceArrayOutput
}

GetDdosCooInstancesInstanceArrayInput is an input type that accepts GetDdosCooInstancesInstanceArray and GetDdosCooInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetDdosCooInstancesInstanceArrayInput` via:

GetDdosCooInstancesInstanceArray{ GetDdosCooInstancesInstanceArgs{...} }

type GetDdosCooInstancesInstanceArrayOutput

type GetDdosCooInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetDdosCooInstancesInstanceArrayOutput) ElementType

func (GetDdosCooInstancesInstanceArrayOutput) Index

func (GetDdosCooInstancesInstanceArrayOutput) ToGetDdosCooInstancesInstanceArrayOutput

func (o GetDdosCooInstancesInstanceArrayOutput) ToGetDdosCooInstancesInstanceArrayOutput() GetDdosCooInstancesInstanceArrayOutput

func (GetDdosCooInstancesInstanceArrayOutput) ToGetDdosCooInstancesInstanceArrayOutputWithContext

func (o GetDdosCooInstancesInstanceArrayOutput) ToGetDdosCooInstancesInstanceArrayOutputWithContext(ctx context.Context) GetDdosCooInstancesInstanceArrayOutput

type GetDdosCooInstancesInstanceInput

type GetDdosCooInstancesInstanceInput interface {
	pulumi.Input

	ToGetDdosCooInstancesInstanceOutput() GetDdosCooInstancesInstanceOutput
	ToGetDdosCooInstancesInstanceOutputWithContext(context.Context) GetDdosCooInstancesInstanceOutput
}

GetDdosCooInstancesInstanceInput is an input type that accepts GetDdosCooInstancesInstanceArgs and GetDdosCooInstancesInstanceOutput values. You can construct a concrete instance of `GetDdosCooInstancesInstanceInput` via:

GetDdosCooInstancesInstanceArgs{...}

type GetDdosCooInstancesInstanceOutput

type GetDdosCooInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetDdosCooInstancesInstanceOutput) Bandwidth

The instance's elastic defend bandwidth.

func (GetDdosCooInstancesInstanceOutput) BaseBandwidth

The instance's base defend bandwidth.

func (GetDdosCooInstancesInstanceOutput) CreateTime added in v3.12.0

The creation time of the instance.

func (GetDdosCooInstancesInstanceOutput) DebtStatus added in v3.12.0

The debt status of the instance.

func (GetDdosCooInstancesInstanceOutput) DomainCount

The instance's count of domain retransmission config.

func (GetDdosCooInstancesInstanceOutput) Edition added in v3.12.0

The edition of the instance.

func (GetDdosCooInstancesInstanceOutput) ElementType

func (GetDdosCooInstancesInstanceOutput) Enabled added in v3.12.0

The enabled of the instance.

func (GetDdosCooInstancesInstanceOutput) ExpireTime added in v3.12.0

The expiry time of the instance.

func (GetDdosCooInstancesInstanceOutput) Id

The instance's id.

func (GetDdosCooInstancesInstanceOutput) IpMode added in v3.12.0

The ip mode of the instance.

func (GetDdosCooInstancesInstanceOutput) IpVersion added in v3.12.0

The ip version of the instance.

func (GetDdosCooInstancesInstanceOutput) Name

The instance's remark.

func (GetDdosCooInstancesInstanceOutput) PortCount

The instance's count of port retransmission config.

func (GetDdosCooInstancesInstanceOutput) Remark added in v3.12.0

The remark of the instance.

func (GetDdosCooInstancesInstanceOutput) ServiceBandwidth

func (o GetDdosCooInstancesInstanceOutput) ServiceBandwidth() pulumi.IntOutput

The instance's business bandwidth.

func (GetDdosCooInstancesInstanceOutput) Status added in v3.12.0

The status of the instance.

func (GetDdosCooInstancesInstanceOutput) ToGetDdosCooInstancesInstanceOutput

func (o GetDdosCooInstancesInstanceOutput) ToGetDdosCooInstancesInstanceOutput() GetDdosCooInstancesInstanceOutput

func (GetDdosCooInstancesInstanceOutput) ToGetDdosCooInstancesInstanceOutputWithContext

func (o GetDdosCooInstancesInstanceOutput) ToGetDdosCooInstancesInstanceOutputWithContext(ctx context.Context) GetDdosCooInstancesInstanceOutput

type GetDdosCooInstancesOutputArgs added in v3.9.0

type GetDdosCooInstancesOutputArgs struct {
	// A list of instance IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by the instance name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getDdosCooInstances.

func (GetDdosCooInstancesOutputArgs) ElementType added in v3.9.0

type GetDdosCooInstancesResult

type GetDdosCooInstancesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// A list of apis. Each element contains the following attributes:
	Instances []GetDdosCooInstancesInstance `pulumi:"instances"`
	NameRegex *string                       `pulumi:"nameRegex"`
	// A list of instance names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getDdosCooInstances.

func GetDdosCooInstances

func GetDdosCooInstances(ctx *pulumi.Context, args *GetDdosCooInstancesArgs, opts ...pulumi.InvokeOption) (*GetDdosCooInstancesResult, error)

This data source provides the BGP-Line Anti-DDoS Pro(DdosCoo) instances of the current Alibaba Cloud user.

> **NOTE:** Available since v1.39.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := ddos.GetDdosCooInstances(ctx, &ddos.GetDdosCooInstancesArgs{ NameRegex: pulumi.StringRef("tf"), }, nil); if err != nil { return err } ctx.Export("instance", pulumi.StringArray(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:6,11-34))) return nil }) } ```

type GetDdosCooInstancesResultOutput added in v3.9.0

type GetDdosCooInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDdosCooInstances.

func GetDdosCooInstancesOutput added in v3.9.0

func (GetDdosCooInstancesResultOutput) ElementType added in v3.9.0

func (GetDdosCooInstancesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetDdosCooInstancesResultOutput) Ids added in v3.9.0

func (GetDdosCooInstancesResultOutput) Instances added in v3.9.0

A list of apis. Each element contains the following attributes:

func (GetDdosCooInstancesResultOutput) NameRegex added in v3.9.0

func (GetDdosCooInstancesResultOutput) Names added in v3.9.0

A list of instance names.

func (GetDdosCooInstancesResultOutput) OutputFile added in v3.9.0

func (GetDdosCooInstancesResultOutput) ToGetDdosCooInstancesResultOutput added in v3.9.0

func (o GetDdosCooInstancesResultOutput) ToGetDdosCooInstancesResultOutput() GetDdosCooInstancesResultOutput

func (GetDdosCooInstancesResultOutput) ToGetDdosCooInstancesResultOutputWithContext added in v3.9.0

func (o GetDdosCooInstancesResultOutput) ToGetDdosCooInstancesResultOutputWithContext(ctx context.Context) GetDdosCooInstancesResultOutput

type GetDdosCooPortsArgs added in v3.2.0

type GetDdosCooPortsArgs struct {
	// The forwarding port.
	FrontendPort *string `pulumi:"frontendPort"`
	// The forwarding protocol. Valid values `tcp` and `udp`.
	FrontendProtocol *string `pulumi:"frontendProtocol"`
	// A list of Port IDs.
	Ids []string `pulumi:"ids"`
	// The Ddoscoo instance ID.
	InstanceId string `pulumi:"instanceId"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getDdosCooPorts.

type GetDdosCooPortsOutputArgs added in v3.9.0

type GetDdosCooPortsOutputArgs struct {
	// The forwarding port.
	FrontendPort pulumi.StringPtrInput `pulumi:"frontendPort"`
	// The forwarding protocol. Valid values `tcp` and `udp`.
	FrontendProtocol pulumi.StringPtrInput `pulumi:"frontendProtocol"`
	// A list of Port IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The Ddoscoo instance ID.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getDdosCooPorts.

func (GetDdosCooPortsOutputArgs) ElementType added in v3.9.0

func (GetDdosCooPortsOutputArgs) ElementType() reflect.Type

type GetDdosCooPortsPort added in v3.2.0

type GetDdosCooPortsPort struct {
	// The source station port.
	BackendPort string `pulumi:"backendPort"`
	// The forwarding port.
	FrontendPort string `pulumi:"frontendPort"`
	// The forwarding protocol. Valid values `tcp` and `udp`.
	FrontendProtocol string `pulumi:"frontendProtocol"`
	// The ID of the Port.
	Id string `pulumi:"id"`
	// The Ddoscoo instance ID.
	InstanceId string `pulumi:"instanceId"`
	// List of source IP addresses.
	RealServers []string `pulumi:"realServers"`
}

type GetDdosCooPortsPortArgs added in v3.2.0

type GetDdosCooPortsPortArgs struct {
	// The source station port.
	BackendPort pulumi.StringInput `pulumi:"backendPort"`
	// The forwarding port.
	FrontendPort pulumi.StringInput `pulumi:"frontendPort"`
	// The forwarding protocol. Valid values `tcp` and `udp`.
	FrontendProtocol pulumi.StringInput `pulumi:"frontendProtocol"`
	// The ID of the Port.
	Id pulumi.StringInput `pulumi:"id"`
	// The Ddoscoo instance ID.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// List of source IP addresses.
	RealServers pulumi.StringArrayInput `pulumi:"realServers"`
}

func (GetDdosCooPortsPortArgs) ElementType added in v3.2.0

func (GetDdosCooPortsPortArgs) ElementType() reflect.Type

func (GetDdosCooPortsPortArgs) ToGetDdosCooPortsPortOutput added in v3.2.0

func (i GetDdosCooPortsPortArgs) ToGetDdosCooPortsPortOutput() GetDdosCooPortsPortOutput

func (GetDdosCooPortsPortArgs) ToGetDdosCooPortsPortOutputWithContext added in v3.2.0

func (i GetDdosCooPortsPortArgs) ToGetDdosCooPortsPortOutputWithContext(ctx context.Context) GetDdosCooPortsPortOutput

type GetDdosCooPortsPortArray added in v3.2.0

type GetDdosCooPortsPortArray []GetDdosCooPortsPortInput

func (GetDdosCooPortsPortArray) ElementType added in v3.2.0

func (GetDdosCooPortsPortArray) ElementType() reflect.Type

func (GetDdosCooPortsPortArray) ToGetDdosCooPortsPortArrayOutput added in v3.2.0

func (i GetDdosCooPortsPortArray) ToGetDdosCooPortsPortArrayOutput() GetDdosCooPortsPortArrayOutput

func (GetDdosCooPortsPortArray) ToGetDdosCooPortsPortArrayOutputWithContext added in v3.2.0

func (i GetDdosCooPortsPortArray) ToGetDdosCooPortsPortArrayOutputWithContext(ctx context.Context) GetDdosCooPortsPortArrayOutput

type GetDdosCooPortsPortArrayInput added in v3.2.0

type GetDdosCooPortsPortArrayInput interface {
	pulumi.Input

	ToGetDdosCooPortsPortArrayOutput() GetDdosCooPortsPortArrayOutput
	ToGetDdosCooPortsPortArrayOutputWithContext(context.Context) GetDdosCooPortsPortArrayOutput
}

GetDdosCooPortsPortArrayInput is an input type that accepts GetDdosCooPortsPortArray and GetDdosCooPortsPortArrayOutput values. You can construct a concrete instance of `GetDdosCooPortsPortArrayInput` via:

GetDdosCooPortsPortArray{ GetDdosCooPortsPortArgs{...} }

type GetDdosCooPortsPortArrayOutput added in v3.2.0

type GetDdosCooPortsPortArrayOutput struct{ *pulumi.OutputState }

func (GetDdosCooPortsPortArrayOutput) ElementType added in v3.2.0

func (GetDdosCooPortsPortArrayOutput) Index added in v3.2.0

func (GetDdosCooPortsPortArrayOutput) ToGetDdosCooPortsPortArrayOutput added in v3.2.0

func (o GetDdosCooPortsPortArrayOutput) ToGetDdosCooPortsPortArrayOutput() GetDdosCooPortsPortArrayOutput

func (GetDdosCooPortsPortArrayOutput) ToGetDdosCooPortsPortArrayOutputWithContext added in v3.2.0

func (o GetDdosCooPortsPortArrayOutput) ToGetDdosCooPortsPortArrayOutputWithContext(ctx context.Context) GetDdosCooPortsPortArrayOutput

type GetDdosCooPortsPortInput added in v3.2.0

type GetDdosCooPortsPortInput interface {
	pulumi.Input

	ToGetDdosCooPortsPortOutput() GetDdosCooPortsPortOutput
	ToGetDdosCooPortsPortOutputWithContext(context.Context) GetDdosCooPortsPortOutput
}

GetDdosCooPortsPortInput is an input type that accepts GetDdosCooPortsPortArgs and GetDdosCooPortsPortOutput values. You can construct a concrete instance of `GetDdosCooPortsPortInput` via:

GetDdosCooPortsPortArgs{...}

type GetDdosCooPortsPortOutput added in v3.2.0

type GetDdosCooPortsPortOutput struct{ *pulumi.OutputState }

func (GetDdosCooPortsPortOutput) BackendPort added in v3.2.0

The source station port.

func (GetDdosCooPortsPortOutput) ElementType added in v3.2.0

func (GetDdosCooPortsPortOutput) ElementType() reflect.Type

func (GetDdosCooPortsPortOutput) FrontendPort added in v3.2.0

The forwarding port.

func (GetDdosCooPortsPortOutput) FrontendProtocol added in v3.2.0

func (o GetDdosCooPortsPortOutput) FrontendProtocol() pulumi.StringOutput

The forwarding protocol. Valid values `tcp` and `udp`.

func (GetDdosCooPortsPortOutput) Id added in v3.2.0

The ID of the Port.

func (GetDdosCooPortsPortOutput) InstanceId added in v3.2.0

The Ddoscoo instance ID.

func (GetDdosCooPortsPortOutput) RealServers added in v3.2.0

List of source IP addresses.

func (GetDdosCooPortsPortOutput) ToGetDdosCooPortsPortOutput added in v3.2.0

func (o GetDdosCooPortsPortOutput) ToGetDdosCooPortsPortOutput() GetDdosCooPortsPortOutput

func (GetDdosCooPortsPortOutput) ToGetDdosCooPortsPortOutputWithContext added in v3.2.0

func (o GetDdosCooPortsPortOutput) ToGetDdosCooPortsPortOutputWithContext(ctx context.Context) GetDdosCooPortsPortOutput

type GetDdosCooPortsResult added in v3.2.0

type GetDdosCooPortsResult struct {
	FrontendPort     *string `pulumi:"frontendPort"`
	FrontendProtocol *string `pulumi:"frontendProtocol"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                `pulumi:"id"`
	Ids        []string              `pulumi:"ids"`
	InstanceId string                `pulumi:"instanceId"`
	OutputFile *string               `pulumi:"outputFile"`
	Ports      []GetDdosCooPortsPort `pulumi:"ports"`
}

A collection of values returned by getDdosCooPorts.

func GetDdosCooPorts added in v3.2.0

func GetDdosCooPorts(ctx *pulumi.Context, args *GetDdosCooPortsArgs, opts ...pulumi.InvokeOption) (*GetDdosCooPortsResult, error)

This data source provides the Ddoscoo Ports of the current Alibaba Cloud user.

> **NOTE:** Available in v1.123.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ddos.GetDdosCooPorts(ctx, &ddos.GetDdosCooPortsArgs{
			InstanceId: "ddoscoo-cn-6ja1rl4j****",
			Ids: []string{
				"ddoscoo-cn-6ja1rl4j****:7001:tcp",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstDdoscooPortId", example.Ports[0].Id)
		return nil
	})
}

```

type GetDdosCooPortsResultOutput added in v3.9.0

type GetDdosCooPortsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDdosCooPorts.

func GetDdosCooPortsOutput added in v3.9.0

func (GetDdosCooPortsResultOutput) ElementType added in v3.9.0

func (GetDdosCooPortsResultOutput) FrontendPort added in v3.9.0

func (GetDdosCooPortsResultOutput) FrontendProtocol added in v3.9.0

func (o GetDdosCooPortsResultOutput) FrontendProtocol() pulumi.StringPtrOutput

func (GetDdosCooPortsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetDdosCooPortsResultOutput) Ids added in v3.9.0

func (GetDdosCooPortsResultOutput) InstanceId added in v3.9.0

func (GetDdosCooPortsResultOutput) OutputFile added in v3.9.0

func (GetDdosCooPortsResultOutput) Ports added in v3.9.0

func (GetDdosCooPortsResultOutput) ToGetDdosCooPortsResultOutput added in v3.9.0

func (o GetDdosCooPortsResultOutput) ToGetDdosCooPortsResultOutput() GetDdosCooPortsResultOutput

func (GetDdosCooPortsResultOutput) ToGetDdosCooPortsResultOutputWithContext added in v3.9.0

func (o GetDdosCooPortsResultOutput) ToGetDdosCooPortsResultOutputWithContext(ctx context.Context) GetDdosCooPortsResultOutput

type Port added in v3.2.0

type Port struct {
	pulumi.CustomResourceState

	// The port of the origin server. Valid values: `0` to `65535`.
	BackendPort pulumi.StringPtrOutput `pulumi:"backendPort"`
	// Session persistence settings for port forwarding rules. Use a string representation in JSON format. The specific structure is described as follows.
	// - `PersistenceTimeout`: is of Integer type and is required. The timeout period of the session. Value range: `30` to `3600`, in seconds. The default value is `0`, which is closed. See `config` below.
	Config PortConfigOutput `pulumi:"config"`
	// The forwarding port to query. Valid values: `0` to `65535`.
	FrontendPort pulumi.StringOutput `pulumi:"frontendPort"`
	// The type of the forwarding protocol to query. Valid values:
	FrontendProtocol pulumi.StringOutput `pulumi:"frontendProtocol"`
	// The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
	//
	// > **NOTE:**  You can call the [DescribeInstanceIds](https://www.alibabacloud.com/help/en/doc-detail/157459.html) operation to query the IDs of all instances.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// List of source IP addresses
	RealServers pulumi.StringArrayOutput `pulumi:"realServers"`
}

Provides a Ddos Coo Port resource.

For information about Anti-DDoS Pro Port and how to use it, see [What is Port](https://www.alibabacloud.com/help/en/ddos-protection/latest/api-ddoscoo-2020-01-01-createport).

> **NOTE:** Available since v1.123.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := ddos.NewDdosCooInstance(ctx, "default", &ddos.DdosCooInstanceArgs{
			Name:             pulumi.String(name),
			Bandwidth:        pulumi.String("30"),
			BaseBandwidth:    pulumi.String("30"),
			ServiceBandwidth: pulumi.String("100"),
			PortCount:        pulumi.String("50"),
			DomainCount:      pulumi.String("50"),
			Period:           pulumi.Int(1),
			ProductType:      pulumi.String("ddoscoo"),
		})
		if err != nil {
			return err
		}
		_, err = ddos.NewPort(ctx, "default", &ddos.PortArgs{
			InstanceId:       _default.ID(),
			FrontendPort:     pulumi.String("7001"),
			BackendPort:      pulumi.String("7002"),
			FrontendProtocol: pulumi.String("tcp"),
			RealServers: pulumi.StringArray{
				pulumi.String("1.1.1.1"),
				pulumi.String("2.2.2.2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Ddos Coo Port can be imported using the id, e.g.

```sh $ pulumi import alicloud:ddos/port:Port example <instance_id>:<frontend_port>:<frontend_protocol> ```

func GetPort added in v3.2.0

func GetPort(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PortState, opts ...pulumi.ResourceOption) (*Port, error)

GetPort gets an existing Port resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPort added in v3.2.0

func NewPort(ctx *pulumi.Context,
	name string, args *PortArgs, opts ...pulumi.ResourceOption) (*Port, error)

NewPort registers a new resource with the given unique name, arguments, and options.

func (*Port) ElementType added in v3.2.0

func (*Port) ElementType() reflect.Type

func (*Port) ToPortOutput added in v3.2.0

func (i *Port) ToPortOutput() PortOutput

func (*Port) ToPortOutputWithContext added in v3.2.0

func (i *Port) ToPortOutputWithContext(ctx context.Context) PortOutput

type PortArgs added in v3.2.0

type PortArgs struct {
	// The port of the origin server. Valid values: `0` to `65535`.
	BackendPort pulumi.StringPtrInput
	// Session persistence settings for port forwarding rules. Use a string representation in JSON format. The specific structure is described as follows.
	// - `PersistenceTimeout`: is of Integer type and is required. The timeout period of the session. Value range: `30` to `3600`, in seconds. The default value is `0`, which is closed. See `config` below.
	Config PortConfigPtrInput
	// The forwarding port to query. Valid values: `0` to `65535`.
	FrontendPort pulumi.StringInput
	// The type of the forwarding protocol to query. Valid values:
	FrontendProtocol pulumi.StringInput
	// The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
	//
	// > **NOTE:**  You can call the [DescribeInstanceIds](https://www.alibabacloud.com/help/en/doc-detail/157459.html) operation to query the IDs of all instances.
	InstanceId pulumi.StringInput
	// List of source IP addresses
	RealServers pulumi.StringArrayInput
}

The set of arguments for constructing a Port resource.

func (PortArgs) ElementType added in v3.2.0

func (PortArgs) ElementType() reflect.Type

type PortArray added in v3.2.0

type PortArray []PortInput

func (PortArray) ElementType added in v3.2.0

func (PortArray) ElementType() reflect.Type

func (PortArray) ToPortArrayOutput added in v3.2.0

func (i PortArray) ToPortArrayOutput() PortArrayOutput

func (PortArray) ToPortArrayOutputWithContext added in v3.2.0

func (i PortArray) ToPortArrayOutputWithContext(ctx context.Context) PortArrayOutput

type PortArrayInput added in v3.2.0

type PortArrayInput interface {
	pulumi.Input

	ToPortArrayOutput() PortArrayOutput
	ToPortArrayOutputWithContext(context.Context) PortArrayOutput
}

PortArrayInput is an input type that accepts PortArray and PortArrayOutput values. You can construct a concrete instance of `PortArrayInput` via:

PortArray{ PortArgs{...} }

type PortArrayOutput added in v3.2.0

type PortArrayOutput struct{ *pulumi.OutputState }

func (PortArrayOutput) ElementType added in v3.2.0

func (PortArrayOutput) ElementType() reflect.Type

func (PortArrayOutput) Index added in v3.2.0

func (PortArrayOutput) ToPortArrayOutput added in v3.2.0

func (o PortArrayOutput) ToPortArrayOutput() PortArrayOutput

func (PortArrayOutput) ToPortArrayOutputWithContext added in v3.2.0

func (o PortArrayOutput) ToPortArrayOutputWithContext(ctx context.Context) PortArrayOutput

type PortConfig added in v3.62.0

type PortConfig struct {
	// The timeout period for session retention. Value range: 30~3600, unit: second. The default is 0, which means off.
	PersistenceTimeout *int `pulumi:"persistenceTimeout"`
}

type PortConfigArgs added in v3.62.0

type PortConfigArgs struct {
	// The timeout period for session retention. Value range: 30~3600, unit: second. The default is 0, which means off.
	PersistenceTimeout pulumi.IntPtrInput `pulumi:"persistenceTimeout"`
}

func (PortConfigArgs) ElementType added in v3.62.0

func (PortConfigArgs) ElementType() reflect.Type

func (PortConfigArgs) ToPortConfigOutput added in v3.62.0

func (i PortConfigArgs) ToPortConfigOutput() PortConfigOutput

func (PortConfigArgs) ToPortConfigOutputWithContext added in v3.62.0

func (i PortConfigArgs) ToPortConfigOutputWithContext(ctx context.Context) PortConfigOutput

func (PortConfigArgs) ToPortConfigPtrOutput added in v3.62.0

func (i PortConfigArgs) ToPortConfigPtrOutput() PortConfigPtrOutput

func (PortConfigArgs) ToPortConfigPtrOutputWithContext added in v3.62.0

func (i PortConfigArgs) ToPortConfigPtrOutputWithContext(ctx context.Context) PortConfigPtrOutput

type PortConfigInput added in v3.62.0

type PortConfigInput interface {
	pulumi.Input

	ToPortConfigOutput() PortConfigOutput
	ToPortConfigOutputWithContext(context.Context) PortConfigOutput
}

PortConfigInput is an input type that accepts PortConfigArgs and PortConfigOutput values. You can construct a concrete instance of `PortConfigInput` via:

PortConfigArgs{...}

type PortConfigOutput added in v3.62.0

type PortConfigOutput struct{ *pulumi.OutputState }

func (PortConfigOutput) ElementType added in v3.62.0

func (PortConfigOutput) ElementType() reflect.Type

func (PortConfigOutput) PersistenceTimeout added in v3.62.0

func (o PortConfigOutput) PersistenceTimeout() pulumi.IntPtrOutput

The timeout period for session retention. Value range: 30~3600, unit: second. The default is 0, which means off.

func (PortConfigOutput) ToPortConfigOutput added in v3.62.0

func (o PortConfigOutput) ToPortConfigOutput() PortConfigOutput

func (PortConfigOutput) ToPortConfigOutputWithContext added in v3.62.0

func (o PortConfigOutput) ToPortConfigOutputWithContext(ctx context.Context) PortConfigOutput

func (PortConfigOutput) ToPortConfigPtrOutput added in v3.62.0

func (o PortConfigOutput) ToPortConfigPtrOutput() PortConfigPtrOutput

func (PortConfigOutput) ToPortConfigPtrOutputWithContext added in v3.62.0

func (o PortConfigOutput) ToPortConfigPtrOutputWithContext(ctx context.Context) PortConfigPtrOutput

type PortConfigPtrInput added in v3.62.0

type PortConfigPtrInput interface {
	pulumi.Input

	ToPortConfigPtrOutput() PortConfigPtrOutput
	ToPortConfigPtrOutputWithContext(context.Context) PortConfigPtrOutput
}

PortConfigPtrInput is an input type that accepts PortConfigArgs, PortConfigPtr and PortConfigPtrOutput values. You can construct a concrete instance of `PortConfigPtrInput` via:

        PortConfigArgs{...}

or:

        nil

func PortConfigPtr added in v3.62.0

func PortConfigPtr(v *PortConfigArgs) PortConfigPtrInput

type PortConfigPtrOutput added in v3.62.0

type PortConfigPtrOutput struct{ *pulumi.OutputState }

func (PortConfigPtrOutput) Elem added in v3.62.0

func (PortConfigPtrOutput) ElementType added in v3.62.0

func (PortConfigPtrOutput) ElementType() reflect.Type

func (PortConfigPtrOutput) PersistenceTimeout added in v3.62.0

func (o PortConfigPtrOutput) PersistenceTimeout() pulumi.IntPtrOutput

The timeout period for session retention. Value range: 30~3600, unit: second. The default is 0, which means off.

func (PortConfigPtrOutput) ToPortConfigPtrOutput added in v3.62.0

func (o PortConfigPtrOutput) ToPortConfigPtrOutput() PortConfigPtrOutput

func (PortConfigPtrOutput) ToPortConfigPtrOutputWithContext added in v3.62.0

func (o PortConfigPtrOutput) ToPortConfigPtrOutputWithContext(ctx context.Context) PortConfigPtrOutput

type PortInput added in v3.2.0

type PortInput interface {
	pulumi.Input

	ToPortOutput() PortOutput
	ToPortOutputWithContext(ctx context.Context) PortOutput
}

type PortMap added in v3.2.0

type PortMap map[string]PortInput

func (PortMap) ElementType added in v3.2.0

func (PortMap) ElementType() reflect.Type

func (PortMap) ToPortMapOutput added in v3.2.0

func (i PortMap) ToPortMapOutput() PortMapOutput

func (PortMap) ToPortMapOutputWithContext added in v3.2.0

func (i PortMap) ToPortMapOutputWithContext(ctx context.Context) PortMapOutput

type PortMapInput added in v3.2.0

type PortMapInput interface {
	pulumi.Input

	ToPortMapOutput() PortMapOutput
	ToPortMapOutputWithContext(context.Context) PortMapOutput
}

PortMapInput is an input type that accepts PortMap and PortMapOutput values. You can construct a concrete instance of `PortMapInput` via:

PortMap{ "key": PortArgs{...} }

type PortMapOutput added in v3.2.0

type PortMapOutput struct{ *pulumi.OutputState }

func (PortMapOutput) ElementType added in v3.2.0

func (PortMapOutput) ElementType() reflect.Type

func (PortMapOutput) MapIndex added in v3.2.0

func (PortMapOutput) ToPortMapOutput added in v3.2.0

func (o PortMapOutput) ToPortMapOutput() PortMapOutput

func (PortMapOutput) ToPortMapOutputWithContext added in v3.2.0

func (o PortMapOutput) ToPortMapOutputWithContext(ctx context.Context) PortMapOutput

type PortOutput added in v3.2.0

type PortOutput struct{ *pulumi.OutputState }

func (PortOutput) BackendPort added in v3.27.0

func (o PortOutput) BackendPort() pulumi.StringPtrOutput

The port of the origin server. Valid values: `0` to `65535`.

func (PortOutput) Config added in v3.62.0

func (o PortOutput) Config() PortConfigOutput

Session persistence settings for port forwarding rules. Use a string representation in JSON format. The specific structure is described as follows. - `PersistenceTimeout`: is of Integer type and is required. The timeout period of the session. Value range: `30` to `3600`, in seconds. The default value is `0`, which is closed. See `config` below.

func (PortOutput) ElementType added in v3.2.0

func (PortOutput) ElementType() reflect.Type

func (PortOutput) FrontendPort added in v3.27.0

func (o PortOutput) FrontendPort() pulumi.StringOutput

The forwarding port to query. Valid values: `0` to `65535`.

func (PortOutput) FrontendProtocol added in v3.27.0

func (o PortOutput) FrontendProtocol() pulumi.StringOutput

The type of the forwarding protocol to query. Valid values:

func (PortOutput) InstanceId added in v3.27.0

func (o PortOutput) InstanceId() pulumi.StringOutput

The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.

> **NOTE:** You can call the [DescribeInstanceIds](https://www.alibabacloud.com/help/en/doc-detail/157459.html) operation to query the IDs of all instances.

func (PortOutput) RealServers added in v3.27.0

func (o PortOutput) RealServers() pulumi.StringArrayOutput

List of source IP addresses

func (PortOutput) ToPortOutput added in v3.2.0

func (o PortOutput) ToPortOutput() PortOutput

func (PortOutput) ToPortOutputWithContext added in v3.2.0

func (o PortOutput) ToPortOutputWithContext(ctx context.Context) PortOutput

type PortState added in v3.2.0

type PortState struct {
	// The port of the origin server. Valid values: `0` to `65535`.
	BackendPort pulumi.StringPtrInput
	// Session persistence settings for port forwarding rules. Use a string representation in JSON format. The specific structure is described as follows.
	// - `PersistenceTimeout`: is of Integer type and is required. The timeout period of the session. Value range: `30` to `3600`, in seconds. The default value is `0`, which is closed. See `config` below.
	Config PortConfigPtrInput
	// The forwarding port to query. Valid values: `0` to `65535`.
	FrontendPort pulumi.StringPtrInput
	// The type of the forwarding protocol to query. Valid values:
	FrontendProtocol pulumi.StringPtrInput
	// The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
	//
	// > **NOTE:**  You can call the [DescribeInstanceIds](https://www.alibabacloud.com/help/en/doc-detail/157459.html) operation to query the IDs of all instances.
	InstanceId pulumi.StringPtrInput
	// List of source IP addresses
	RealServers pulumi.StringArrayInput
}

func (PortState) ElementType added in v3.2.0

func (PortState) ElementType() reflect.Type

type SchedulerRule

type SchedulerRule struct {
	pulumi.CustomResourceState

	// The cname is the traffic scheduler corresponding to rules.
	Cname pulumi.StringOutput `pulumi:"cname"`
	// The scheduling rule for the Global Accelerator instance that interacts with Anti-DDoS Pro or Anti-DDoS Premium.
	Param pulumi.StringPtrOutput `pulumi:"param"`
	// The ID of the resource group to which the anti-DDoS pro instance belongs in resource management. By default, no value is specified, indicating that the domains in the default resource group are listed.
	ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"`
	// The name of the rule.
	RuleName pulumi.StringOutput `pulumi:"ruleName"`
	// The rule type. Valid values:
	// `2`: tiered protection.
	// `3`: globalization acceleration.
	// `6`: Cloud product interaction.
	RuleType pulumi.IntOutput `pulumi:"ruleType"`
	// The information about the scheduling rules. See `rules` below.
	Rules SchedulerRuleRuleArrayOutput `pulumi:"rules"`
}

Provides a DdosCoo Scheduler Rule resource. For information about DdosCoo Scheduler Rule and how to use it, see[What is DdosCoo Scheduler Rule](https://www.alibabacloud.com/help/en/ddos-protection/latest/api-ddoscoo-2020-01-01-createschedulerrule).

> **NOTE:** Available since v1.86.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ddos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := ddos.NewSchedulerRule(ctx, "example", &ddos.SchedulerRuleArgs{
			RuleName: pulumi.String(name),
			RuleType: pulumi.Int(3),
			Rules: ddos.SchedulerRuleRuleArray{
				&ddos.SchedulerRuleRuleArgs{
					Priority:  pulumi.Int(100),
					RegionId:  pulumi.String("cn-hangzhou"),
					Type:      pulumi.String("A"),
					Value:     pulumi.String("127.0.0.1"),
					ValueType: pulumi.Int(3),
				},
				&ddos.SchedulerRuleRuleArgs{
					Priority:  pulumi.Int(50),
					RegionId:  pulumi.String("cn-hangzhou"),
					Type:      pulumi.String("A"),
					Value:     pulumi.String("127.0.0.0"),
					ValueType: pulumi.Int(1),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DdosCoo Scheduler Rule can be imported using the id or the rule name, e.g.

```sh $ pulumi import alicloud:ddos/schedulerRule:SchedulerRule example fbb20dc77e8fc****** ```

func GetSchedulerRule

func GetSchedulerRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SchedulerRuleState, opts ...pulumi.ResourceOption) (*SchedulerRule, error)

GetSchedulerRule gets an existing SchedulerRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSchedulerRule

func NewSchedulerRule(ctx *pulumi.Context,
	name string, args *SchedulerRuleArgs, opts ...pulumi.ResourceOption) (*SchedulerRule, error)

NewSchedulerRule registers a new resource with the given unique name, arguments, and options.

func (*SchedulerRule) ElementType

func (*SchedulerRule) ElementType() reflect.Type

func (*SchedulerRule) ToSchedulerRuleOutput

func (i *SchedulerRule) ToSchedulerRuleOutput() SchedulerRuleOutput

func (*SchedulerRule) ToSchedulerRuleOutputWithContext

func (i *SchedulerRule) ToSchedulerRuleOutputWithContext(ctx context.Context) SchedulerRuleOutput

type SchedulerRuleArgs

type SchedulerRuleArgs struct {
	// The scheduling rule for the Global Accelerator instance that interacts with Anti-DDoS Pro or Anti-DDoS Premium.
	Param pulumi.StringPtrInput
	// The ID of the resource group to which the anti-DDoS pro instance belongs in resource management. By default, no value is specified, indicating that the domains in the default resource group are listed.
	ResourceGroupId pulumi.StringPtrInput
	// The name of the rule.
	RuleName pulumi.StringInput
	// The rule type. Valid values:
	// `2`: tiered protection.
	// `3`: globalization acceleration.
	// `6`: Cloud product interaction.
	RuleType pulumi.IntInput
	// The information about the scheduling rules. See `rules` below.
	Rules SchedulerRuleRuleArrayInput
}

The set of arguments for constructing a SchedulerRule resource.

func (SchedulerRuleArgs) ElementType

func (SchedulerRuleArgs) ElementType() reflect.Type

type SchedulerRuleArray

type SchedulerRuleArray []SchedulerRuleInput

func (SchedulerRuleArray) ElementType

func (SchedulerRuleArray) ElementType() reflect.Type

func (SchedulerRuleArray) ToSchedulerRuleArrayOutput

func (i SchedulerRuleArray) ToSchedulerRuleArrayOutput() SchedulerRuleArrayOutput

func (SchedulerRuleArray) ToSchedulerRuleArrayOutputWithContext

func (i SchedulerRuleArray) ToSchedulerRuleArrayOutputWithContext(ctx context.Context) SchedulerRuleArrayOutput

type SchedulerRuleArrayInput

type SchedulerRuleArrayInput interface {
	pulumi.Input

	ToSchedulerRuleArrayOutput() SchedulerRuleArrayOutput
	ToSchedulerRuleArrayOutputWithContext(context.Context) SchedulerRuleArrayOutput
}

SchedulerRuleArrayInput is an input type that accepts SchedulerRuleArray and SchedulerRuleArrayOutput values. You can construct a concrete instance of `SchedulerRuleArrayInput` via:

SchedulerRuleArray{ SchedulerRuleArgs{...} }

type SchedulerRuleArrayOutput

type SchedulerRuleArrayOutput struct{ *pulumi.OutputState }

func (SchedulerRuleArrayOutput) ElementType

func (SchedulerRuleArrayOutput) ElementType() reflect.Type

func (SchedulerRuleArrayOutput) Index

func (SchedulerRuleArrayOutput) ToSchedulerRuleArrayOutput

func (o SchedulerRuleArrayOutput) ToSchedulerRuleArrayOutput() SchedulerRuleArrayOutput

func (SchedulerRuleArrayOutput) ToSchedulerRuleArrayOutputWithContext

func (o SchedulerRuleArrayOutput) ToSchedulerRuleArrayOutputWithContext(ctx context.Context) SchedulerRuleArrayOutput

type SchedulerRuleInput

type SchedulerRuleInput interface {
	pulumi.Input

	ToSchedulerRuleOutput() SchedulerRuleOutput
	ToSchedulerRuleOutputWithContext(ctx context.Context) SchedulerRuleOutput
}

type SchedulerRuleMap

type SchedulerRuleMap map[string]SchedulerRuleInput

func (SchedulerRuleMap) ElementType

func (SchedulerRuleMap) ElementType() reflect.Type

func (SchedulerRuleMap) ToSchedulerRuleMapOutput

func (i SchedulerRuleMap) ToSchedulerRuleMapOutput() SchedulerRuleMapOutput

func (SchedulerRuleMap) ToSchedulerRuleMapOutputWithContext

func (i SchedulerRuleMap) ToSchedulerRuleMapOutputWithContext(ctx context.Context) SchedulerRuleMapOutput

type SchedulerRuleMapInput

type SchedulerRuleMapInput interface {
	pulumi.Input

	ToSchedulerRuleMapOutput() SchedulerRuleMapOutput
	ToSchedulerRuleMapOutputWithContext(context.Context) SchedulerRuleMapOutput
}

SchedulerRuleMapInput is an input type that accepts SchedulerRuleMap and SchedulerRuleMapOutput values. You can construct a concrete instance of `SchedulerRuleMapInput` via:

SchedulerRuleMap{ "key": SchedulerRuleArgs{...} }

type SchedulerRuleMapOutput

type SchedulerRuleMapOutput struct{ *pulumi.OutputState }

func (SchedulerRuleMapOutput) ElementType

func (SchedulerRuleMapOutput) ElementType() reflect.Type

func (SchedulerRuleMapOutput) MapIndex

func (SchedulerRuleMapOutput) ToSchedulerRuleMapOutput

func (o SchedulerRuleMapOutput) ToSchedulerRuleMapOutput() SchedulerRuleMapOutput

func (SchedulerRuleMapOutput) ToSchedulerRuleMapOutputWithContext

func (o SchedulerRuleMapOutput) ToSchedulerRuleMapOutputWithContext(ctx context.Context) SchedulerRuleMapOutput

type SchedulerRuleOutput

type SchedulerRuleOutput struct{ *pulumi.OutputState }

func (SchedulerRuleOutput) Cname added in v3.27.0

The cname is the traffic scheduler corresponding to rules.

func (SchedulerRuleOutput) ElementType

func (SchedulerRuleOutput) ElementType() reflect.Type

func (SchedulerRuleOutput) Param added in v3.27.0

The scheduling rule for the Global Accelerator instance that interacts with Anti-DDoS Pro or Anti-DDoS Premium.

func (SchedulerRuleOutput) ResourceGroupId added in v3.27.0

func (o SchedulerRuleOutput) ResourceGroupId() pulumi.StringPtrOutput

The ID of the resource group to which the anti-DDoS pro instance belongs in resource management. By default, no value is specified, indicating that the domains in the default resource group are listed.

func (SchedulerRuleOutput) RuleName added in v3.27.0

The name of the rule.

func (SchedulerRuleOutput) RuleType added in v3.27.0

func (o SchedulerRuleOutput) RuleType() pulumi.IntOutput

The rule type. Valid values: `2`: tiered protection. `3`: globalization acceleration. `6`: Cloud product interaction.

func (SchedulerRuleOutput) Rules added in v3.27.0

The information about the scheduling rules. See `rules` below.

func (SchedulerRuleOutput) ToSchedulerRuleOutput

func (o SchedulerRuleOutput) ToSchedulerRuleOutput() SchedulerRuleOutput

func (SchedulerRuleOutput) ToSchedulerRuleOutputWithContext

func (o SchedulerRuleOutput) ToSchedulerRuleOutputWithContext(ctx context.Context) SchedulerRuleOutput

type SchedulerRuleRule

type SchedulerRuleRule struct {
	// The priority of the rule.
	Priority *int `pulumi:"priority"`
	// The region where the interaction resource that is used in the scheduling rule is deployed. **NOTE:** This parameter is returned only if the RuleType parameter is set to 2.
	RegionId *string `pulumi:"regionId"`
	// The status of the scheduling rule.
	Status *int `pulumi:"status"`
	// The address type of the interaction resource. Valid values:
	// `A`: IPv4 address.
	// `CNAME`: CNAME record.
	Type *string `pulumi:"type"`
	// The address of the interaction resource.
	Value *string `pulumi:"value"`
	// Required. The type of the linked resource. It is an Integer. Valid values:
	// `1`: The IP address of Anti-DDoS Pro or Anti-DDoS Premium
	// `2`: the IP address of the interaction resource (in the tiered protection scenario)
	// `3`: the IP address used to accelerate access (in the network acceleration scenario)
	// `6` the IP address of the interaction resource (in the cloud service interaction scenario)
	ValueType *int `pulumi:"valueType"`
}

type SchedulerRuleRuleArgs

type SchedulerRuleRuleArgs struct {
	// The priority of the rule.
	Priority pulumi.IntPtrInput `pulumi:"priority"`
	// The region where the interaction resource that is used in the scheduling rule is deployed. **NOTE:** This parameter is returned only if the RuleType parameter is set to 2.
	RegionId pulumi.StringPtrInput `pulumi:"regionId"`
	// The status of the scheduling rule.
	Status pulumi.IntPtrInput `pulumi:"status"`
	// The address type of the interaction resource. Valid values:
	// `A`: IPv4 address.
	// `CNAME`: CNAME record.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// The address of the interaction resource.
	Value pulumi.StringPtrInput `pulumi:"value"`
	// Required. The type of the linked resource. It is an Integer. Valid values:
	// `1`: The IP address of Anti-DDoS Pro or Anti-DDoS Premium
	// `2`: the IP address of the interaction resource (in the tiered protection scenario)
	// `3`: the IP address used to accelerate access (in the network acceleration scenario)
	// `6` the IP address of the interaction resource (in the cloud service interaction scenario)
	ValueType pulumi.IntPtrInput `pulumi:"valueType"`
}

func (SchedulerRuleRuleArgs) ElementType

func (SchedulerRuleRuleArgs) ElementType() reflect.Type

func (SchedulerRuleRuleArgs) ToSchedulerRuleRuleOutput

func (i SchedulerRuleRuleArgs) ToSchedulerRuleRuleOutput() SchedulerRuleRuleOutput

func (SchedulerRuleRuleArgs) ToSchedulerRuleRuleOutputWithContext

func (i SchedulerRuleRuleArgs) ToSchedulerRuleRuleOutputWithContext(ctx context.Context) SchedulerRuleRuleOutput

type SchedulerRuleRuleArray

type SchedulerRuleRuleArray []SchedulerRuleRuleInput

func (SchedulerRuleRuleArray) ElementType

func (SchedulerRuleRuleArray) ElementType() reflect.Type

func (SchedulerRuleRuleArray) ToSchedulerRuleRuleArrayOutput

func (i SchedulerRuleRuleArray) ToSchedulerRuleRuleArrayOutput() SchedulerRuleRuleArrayOutput

func (SchedulerRuleRuleArray) ToSchedulerRuleRuleArrayOutputWithContext

func (i SchedulerRuleRuleArray) ToSchedulerRuleRuleArrayOutputWithContext(ctx context.Context) SchedulerRuleRuleArrayOutput

type SchedulerRuleRuleArrayInput

type SchedulerRuleRuleArrayInput interface {
	pulumi.Input

	ToSchedulerRuleRuleArrayOutput() SchedulerRuleRuleArrayOutput
	ToSchedulerRuleRuleArrayOutputWithContext(context.Context) SchedulerRuleRuleArrayOutput
}

SchedulerRuleRuleArrayInput is an input type that accepts SchedulerRuleRuleArray and SchedulerRuleRuleArrayOutput values. You can construct a concrete instance of `SchedulerRuleRuleArrayInput` via:

SchedulerRuleRuleArray{ SchedulerRuleRuleArgs{...} }

type SchedulerRuleRuleArrayOutput

type SchedulerRuleRuleArrayOutput struct{ *pulumi.OutputState }

func (SchedulerRuleRuleArrayOutput) ElementType

func (SchedulerRuleRuleArrayOutput) Index

func (SchedulerRuleRuleArrayOutput) ToSchedulerRuleRuleArrayOutput

func (o SchedulerRuleRuleArrayOutput) ToSchedulerRuleRuleArrayOutput() SchedulerRuleRuleArrayOutput

func (SchedulerRuleRuleArrayOutput) ToSchedulerRuleRuleArrayOutputWithContext

func (o SchedulerRuleRuleArrayOutput) ToSchedulerRuleRuleArrayOutputWithContext(ctx context.Context) SchedulerRuleRuleArrayOutput

type SchedulerRuleRuleInput

type SchedulerRuleRuleInput interface {
	pulumi.Input

	ToSchedulerRuleRuleOutput() SchedulerRuleRuleOutput
	ToSchedulerRuleRuleOutputWithContext(context.Context) SchedulerRuleRuleOutput
}

SchedulerRuleRuleInput is an input type that accepts SchedulerRuleRuleArgs and SchedulerRuleRuleOutput values. You can construct a concrete instance of `SchedulerRuleRuleInput` via:

SchedulerRuleRuleArgs{...}

type SchedulerRuleRuleOutput

type SchedulerRuleRuleOutput struct{ *pulumi.OutputState }

func (SchedulerRuleRuleOutput) ElementType

func (SchedulerRuleRuleOutput) ElementType() reflect.Type

func (SchedulerRuleRuleOutput) Priority

The priority of the rule.

func (SchedulerRuleRuleOutput) RegionId

The region where the interaction resource that is used in the scheduling rule is deployed. **NOTE:** This parameter is returned only if the RuleType parameter is set to 2.

func (SchedulerRuleRuleOutput) Status

The status of the scheduling rule.

func (SchedulerRuleRuleOutput) ToSchedulerRuleRuleOutput

func (o SchedulerRuleRuleOutput) ToSchedulerRuleRuleOutput() SchedulerRuleRuleOutput

func (SchedulerRuleRuleOutput) ToSchedulerRuleRuleOutputWithContext

func (o SchedulerRuleRuleOutput) ToSchedulerRuleRuleOutputWithContext(ctx context.Context) SchedulerRuleRuleOutput

func (SchedulerRuleRuleOutput) Type

The address type of the interaction resource. Valid values: `A`: IPv4 address. `CNAME`: CNAME record.

func (SchedulerRuleRuleOutput) Value

The address of the interaction resource.

func (SchedulerRuleRuleOutput) ValueType

Required. The type of the linked resource. It is an Integer. Valid values: `1`: The IP address of Anti-DDoS Pro or Anti-DDoS Premium `2`: the IP address of the interaction resource (in the tiered protection scenario) `3`: the IP address used to accelerate access (in the network acceleration scenario) `6` the IP address of the interaction resource (in the cloud service interaction scenario)

type SchedulerRuleState

type SchedulerRuleState struct {
	// The cname is the traffic scheduler corresponding to rules.
	Cname pulumi.StringPtrInput
	// The scheduling rule for the Global Accelerator instance that interacts with Anti-DDoS Pro or Anti-DDoS Premium.
	Param pulumi.StringPtrInput
	// The ID of the resource group to which the anti-DDoS pro instance belongs in resource management. By default, no value is specified, indicating that the domains in the default resource group are listed.
	ResourceGroupId pulumi.StringPtrInput
	// The name of the rule.
	RuleName pulumi.StringPtrInput
	// The rule type. Valid values:
	// `2`: tiered protection.
	// `3`: globalization acceleration.
	// `6`: Cloud product interaction.
	RuleType pulumi.IntPtrInput
	// The information about the scheduling rules. See `rules` below.
	Rules SchedulerRuleRuleArrayInput
}

func (SchedulerRuleState) ElementType

func (SchedulerRuleState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL