Documentation
¶
Index ¶
- type DdosBgpInstance
- type DdosBgpInstanceArgs
- type DdosBgpInstanceState
- type DdosCooInstance
- type DdosCooInstanceArgs
- type DdosCooInstanceState
- type GetDdosBgpInstancesArgs
- type GetDdosBgpInstancesInstance
- type GetDdosBgpInstancesInstanceArgs
- func (GetDdosBgpInstancesInstanceArgs) ElementType() reflect.Type
- func (i GetDdosBgpInstancesInstanceArgs) ToGetDdosBgpInstancesInstanceOutput() GetDdosBgpInstancesInstanceOutput
- func (i GetDdosBgpInstancesInstanceArgs) ToGetDdosBgpInstancesInstanceOutputWithContext(ctx context.Context) GetDdosBgpInstancesInstanceOutput
- type GetDdosBgpInstancesInstanceArray
- func (GetDdosBgpInstancesInstanceArray) ElementType() reflect.Type
- func (i GetDdosBgpInstancesInstanceArray) ToGetDdosBgpInstancesInstanceArrayOutput() GetDdosBgpInstancesInstanceArrayOutput
- func (i GetDdosBgpInstancesInstanceArray) ToGetDdosBgpInstancesInstanceArrayOutputWithContext(ctx context.Context) GetDdosBgpInstancesInstanceArrayOutput
- type GetDdosBgpInstancesInstanceArrayInput
- type GetDdosBgpInstancesInstanceArrayOutput
- func (GetDdosBgpInstancesInstanceArrayOutput) ElementType() reflect.Type
- func (o GetDdosBgpInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetDdosBgpInstancesInstanceOutput
- func (o GetDdosBgpInstancesInstanceArrayOutput) ToGetDdosBgpInstancesInstanceArrayOutput() GetDdosBgpInstancesInstanceArrayOutput
- func (o GetDdosBgpInstancesInstanceArrayOutput) ToGetDdosBgpInstancesInstanceArrayOutputWithContext(ctx context.Context) GetDdosBgpInstancesInstanceArrayOutput
- type GetDdosBgpInstancesInstanceInput
- type GetDdosBgpInstancesInstanceOutput
- func (o GetDdosBgpInstancesInstanceOutput) Bandwidth() pulumi.IntOutput
- func (o GetDdosBgpInstancesInstanceOutput) BaseBandwidth() pulumi.IntOutput
- func (GetDdosBgpInstancesInstanceOutput) ElementType() reflect.Type
- func (o GetDdosBgpInstancesInstanceOutput) Id() pulumi.StringOutput
- func (o GetDdosBgpInstancesInstanceOutput) IpCount() pulumi.IntOutput
- func (o GetDdosBgpInstancesInstanceOutput) IpType() pulumi.StringOutput
- func (o GetDdosBgpInstancesInstanceOutput) Name() pulumi.StringOutput
- func (o GetDdosBgpInstancesInstanceOutput) Region() pulumi.StringOutput
- func (o GetDdosBgpInstancesInstanceOutput) ToGetDdosBgpInstancesInstanceOutput() GetDdosBgpInstancesInstanceOutput
- func (o GetDdosBgpInstancesInstanceOutput) ToGetDdosBgpInstancesInstanceOutputWithContext(ctx context.Context) GetDdosBgpInstancesInstanceOutput
- func (o GetDdosBgpInstancesInstanceOutput) Type() pulumi.StringOutput
- type GetDdosBgpInstancesResult
- type GetDdosCooInstancesArgs
- type GetDdosCooInstancesInstance
- type GetDdosCooInstancesInstanceArgs
- func (GetDdosCooInstancesInstanceArgs) ElementType() reflect.Type
- func (i GetDdosCooInstancesInstanceArgs) ToGetDdosCooInstancesInstanceOutput() GetDdosCooInstancesInstanceOutput
- func (i GetDdosCooInstancesInstanceArgs) ToGetDdosCooInstancesInstanceOutputWithContext(ctx context.Context) GetDdosCooInstancesInstanceOutput
- type GetDdosCooInstancesInstanceArray
- func (GetDdosCooInstancesInstanceArray) ElementType() reflect.Type
- func (i GetDdosCooInstancesInstanceArray) ToGetDdosCooInstancesInstanceArrayOutput() GetDdosCooInstancesInstanceArrayOutput
- func (i GetDdosCooInstancesInstanceArray) ToGetDdosCooInstancesInstanceArrayOutputWithContext(ctx context.Context) GetDdosCooInstancesInstanceArrayOutput
- type GetDdosCooInstancesInstanceArrayInput
- type GetDdosCooInstancesInstanceArrayOutput
- func (GetDdosCooInstancesInstanceArrayOutput) ElementType() reflect.Type
- func (o GetDdosCooInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetDdosCooInstancesInstanceOutput
- func (o GetDdosCooInstancesInstanceArrayOutput) ToGetDdosCooInstancesInstanceArrayOutput() GetDdosCooInstancesInstanceArrayOutput
- func (o GetDdosCooInstancesInstanceArrayOutput) ToGetDdosCooInstancesInstanceArrayOutputWithContext(ctx context.Context) GetDdosCooInstancesInstanceArrayOutput
- type GetDdosCooInstancesInstanceInput
- type GetDdosCooInstancesInstanceOutput
- func (o GetDdosCooInstancesInstanceOutput) Bandwidth() pulumi.IntOutput
- func (o GetDdosCooInstancesInstanceOutput) BaseBandwidth() pulumi.IntOutput
- func (o GetDdosCooInstancesInstanceOutput) DomainCount() pulumi.IntOutput
- func (GetDdosCooInstancesInstanceOutput) ElementType() reflect.Type
- func (o GetDdosCooInstancesInstanceOutput) Id() pulumi.StringOutput
- func (o GetDdosCooInstancesInstanceOutput) Name() pulumi.StringOutput
- func (o GetDdosCooInstancesInstanceOutput) PortCount() pulumi.IntOutput
- func (o GetDdosCooInstancesInstanceOutput) ServiceBandwidth() pulumi.IntOutput
- func (o GetDdosCooInstancesInstanceOutput) ToGetDdosCooInstancesInstanceOutput() GetDdosCooInstancesInstanceOutput
- func (o GetDdosCooInstancesInstanceOutput) ToGetDdosCooInstancesInstanceOutputWithContext(ctx context.Context) GetDdosCooInstancesInstanceOutput
- type GetDdosCooInstancesResult
- type SchedulerRule
- type SchedulerRuleArgs
- type SchedulerRuleRule
- type SchedulerRuleRuleArgs
- type SchedulerRuleRuleArray
- type SchedulerRuleRuleArrayInput
- type SchedulerRuleRuleArrayOutput
- func (SchedulerRuleRuleArrayOutput) ElementType() reflect.Type
- func (o SchedulerRuleRuleArrayOutput) Index(i pulumi.IntInput) SchedulerRuleRuleOutput
- func (o SchedulerRuleRuleArrayOutput) ToSchedulerRuleRuleArrayOutput() SchedulerRuleRuleArrayOutput
- func (o SchedulerRuleRuleArrayOutput) ToSchedulerRuleRuleArrayOutputWithContext(ctx context.Context) SchedulerRuleRuleArrayOutput
- type SchedulerRuleRuleInput
- type SchedulerRuleRuleOutput
- func (SchedulerRuleRuleOutput) ElementType() reflect.Type
- func (o SchedulerRuleRuleOutput) Priority() pulumi.IntPtrOutput
- func (o SchedulerRuleRuleOutput) RegionId() pulumi.StringPtrOutput
- func (o SchedulerRuleRuleOutput) Status() pulumi.IntPtrOutput
- func (o SchedulerRuleRuleOutput) ToSchedulerRuleRuleOutput() SchedulerRuleRuleOutput
- func (o SchedulerRuleRuleOutput) ToSchedulerRuleRuleOutputWithContext(ctx context.Context) SchedulerRuleRuleOutput
- func (o SchedulerRuleRuleOutput) Type() pulumi.StringPtrOutput
- func (o SchedulerRuleRuleOutput) Value() pulumi.StringPtrOutput
- func (o SchedulerRuleRuleOutput) ValueType() pulumi.IntPtrOutput
- type SchedulerRuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DdosBgpInstance ¶ added in v2.3.3
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"` // 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 in 1.57.0+ .
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/ddos" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ddos.NewDdosBgpInstance(ctx, "instance", &ddos.DdosBgpInstanceArgs{ Bandwidth: pulumi.Int(201), BaseBandwidth: pulumi.Int(20), IpCount: pulumi.Int(100), IpType: pulumi.String("IPv4"), }) if err != nil { return err } return nil }) }
```
func GetDdosBgpInstance ¶ added in v2.3.3
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 ¶ added in v2.3.3
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.
type DdosBgpInstanceArgs ¶ added in v2.3.3
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 // 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 ¶ added in v2.3.3
func (DdosBgpInstanceArgs) ElementType() reflect.Type
type DdosBgpInstanceState ¶ added in v2.3.3
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 // 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 ¶ added in v2.3.3
func (DdosBgpInstanceState) ElementType() reflect.Type
type DdosCooInstance ¶ added in v2.3.3
type DdosCooInstance struct { pulumi.CustomResourceState // 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. Bandwidth pulumi.StringOutput `pulumi:"bandwidth"` // Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. 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"` // Name of the instance. This name can have a string of 1 to 63 characters. Name pulumi.StringOutput `pulumi:"name"` // The duration that you will buy Ddoscoo instance (in month). Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify "period". 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"` // Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. ServiceBandwidth pulumi.StringOutput `pulumi:"serviceBandwidth"` }
BGP-Line Anti-DDoS instance resource. "Ddoscoo" is the short term of this product. See [What is Anti-DDoS Pro](https://www.alibabacloud.com/help/doc-detail/69319.htm).
> **NOTE:** The product region only support cn-hangzhou.
> **NOTE:** The endpoint of bssopenapi used only support "business.aliyuncs.com" at present.
> **NOTE:** Available in 1.37.0+ .
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/ddos" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ddos.NewDdosCooInstance(ctx, "newInstance", &ddos.DdosCooInstanceArgs{ Bandwidth: pulumi.String("30"), BaseBandwidth: pulumi.String("30"), DomainCount: pulumi.String("50"), Period: pulumi.Int(1), PortCount: pulumi.String("50"), ServiceBandwidth: pulumi.String("100"), }) if err != nil { return err } return nil }) }
```
func GetDdosCooInstance ¶ added in v2.3.3
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 ¶ added in v2.3.3
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.
type DdosCooInstanceArgs ¶ added in v2.3.3
type DdosCooInstanceArgs struct { // 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. Bandwidth pulumi.StringInput // Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. BaseBandwidth pulumi.StringInput // 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 // Name of the instance. This name can have a string of 1 to 63 characters. Name pulumi.StringPtrInput // The duration that you will buy Ddoscoo instance (in month). Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify "period". 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 // Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. ServiceBandwidth pulumi.StringInput }
The set of arguments for constructing a DdosCooInstance resource.
func (DdosCooInstanceArgs) ElementType ¶ added in v2.3.3
func (DdosCooInstanceArgs) ElementType() reflect.Type
type DdosCooInstanceState ¶ added in v2.3.3
type DdosCooInstanceState struct { // 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. Bandwidth pulumi.StringPtrInput // Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade. 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 // Name of the instance. This name can have a string of 1 to 63 characters. Name pulumi.StringPtrInput // The duration that you will buy Ddoscoo instance (in month). Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify "period". 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 // Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade. ServiceBandwidth pulumi.StringPtrInput }
func (DdosCooInstanceState) ElementType ¶ added in v2.3.3
func (DdosCooInstanceState) 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"` 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"` // A region of instance. 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"` // A region of instance. Region pulumi.StringInput `pulumi:"region"` // The instance's type. Type pulumi.StringInput `pulumi:"type"` }
func (GetDdosBgpInstancesInstanceArgs) ElementType ¶
func (GetDdosBgpInstancesInstanceArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o GetDdosBgpInstancesInstanceOutput) Bandwidth() pulumi.IntOutput
The instance's elastic defend bandwidth.
func (GetDdosBgpInstancesInstanceOutput) BaseBandwidth ¶
func (o GetDdosBgpInstancesInstanceOutput) BaseBandwidth() pulumi.IntOutput
The instance's base defend bandwidth.
func (GetDdosBgpInstancesInstanceOutput) ElementType ¶
func (GetDdosBgpInstancesInstanceOutput) ElementType() reflect.Type
func (GetDdosBgpInstancesInstanceOutput) Id ¶
func (o GetDdosBgpInstancesInstanceOutput) Id() pulumi.StringOutput
The instance's id.
func (GetDdosBgpInstancesInstanceOutput) IpCount ¶
func (o GetDdosBgpInstancesInstanceOutput) IpCount() pulumi.IntOutput
The instance's count of ip config.
func (GetDdosBgpInstancesInstanceOutput) IpType ¶
func (o GetDdosBgpInstancesInstanceOutput) IpType() pulumi.StringOutput
The instance's IP version.
func (GetDdosBgpInstancesInstanceOutput) Name ¶
func (o GetDdosBgpInstancesInstanceOutput) Name() pulumi.StringOutput
The instance's remark.
func (GetDdosBgpInstancesInstanceOutput) Region ¶
func (o GetDdosBgpInstancesInstanceOutput) Region() pulumi.StringOutput
A region of instance.
func (GetDdosBgpInstancesInstanceOutput) ToGetDdosBgpInstancesInstanceOutput ¶
func (o GetDdosBgpInstancesInstanceOutput) ToGetDdosBgpInstancesInstanceOutput() GetDdosBgpInstancesInstanceOutput
func (GetDdosBgpInstancesInstanceOutput) ToGetDdosBgpInstancesInstanceOutputWithContext ¶
func (o GetDdosBgpInstancesInstanceOutput) ToGetDdosBgpInstancesInstanceOutputWithContext(ctx context.Context) GetDdosBgpInstancesInstanceOutput
func (GetDdosBgpInstancesInstanceOutput) Type ¶
func (o GetDdosBgpInstancesInstanceOutput) Type() pulumi.StringOutput
The instance's type.
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 1.57.0+ .
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/ddos" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "^ddosbgp" _, err := ddos.GetDdosBgpInstances(ctx, &ddos.GetDdosBgpInstancesArgs{ NameRegex: &opt0, }, nil) if err != nil { return err } var splat0 []interface{} for _, val0 := range alicloud_ddosbgp_instances.Instance { splat0 = append(splat0, val0.Id) } ctx.Export("instance", splat0) return nil }) }
```
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"` 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 instance's count of domain retransmission config. DomainCount int `pulumi:"domainCount"` // The instance's id. Id string `pulumi:"id"` // The instance's remark. Name string `pulumi:"name"` // The instance's count of port retransmission config. PortCount int `pulumi:"portCount"` // The instance's business bandwidth. ServiceBandwidth int `pulumi:"serviceBandwidth"` }
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 instance's count of domain retransmission config. DomainCount pulumi.IntInput `pulumi:"domainCount"` // The instance's id. Id pulumi.StringInput `pulumi:"id"` // The instance's remark. Name pulumi.StringInput `pulumi:"name"` // The instance's count of port retransmission config. PortCount pulumi.IntInput `pulumi:"portCount"` // The instance's business bandwidth. ServiceBandwidth pulumi.IntInput `pulumi:"serviceBandwidth"` }
func (GetDdosCooInstancesInstanceArgs) ElementType ¶
func (GetDdosCooInstancesInstanceArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o GetDdosCooInstancesInstanceOutput) Bandwidth() pulumi.IntOutput
The instance's elastic defend bandwidth.
func (GetDdosCooInstancesInstanceOutput) BaseBandwidth ¶
func (o GetDdosCooInstancesInstanceOutput) BaseBandwidth() pulumi.IntOutput
The instance's base defend bandwidth.
func (GetDdosCooInstancesInstanceOutput) DomainCount ¶
func (o GetDdosCooInstancesInstanceOutput) DomainCount() pulumi.IntOutput
The instance's count of domain retransmission config.
func (GetDdosCooInstancesInstanceOutput) ElementType ¶
func (GetDdosCooInstancesInstanceOutput) ElementType() reflect.Type
func (GetDdosCooInstancesInstanceOutput) Id ¶
func (o GetDdosCooInstancesInstanceOutput) Id() pulumi.StringOutput
The instance's id.
func (GetDdosCooInstancesInstanceOutput) Name ¶
func (o GetDdosCooInstancesInstanceOutput) Name() pulumi.StringOutput
The instance's remark.
func (GetDdosCooInstancesInstanceOutput) PortCount ¶
func (o GetDdosCooInstancesInstanceOutput) PortCount() pulumi.IntOutput
The instance's count of port retransmission config.
func (GetDdosCooInstancesInstanceOutput) ServiceBandwidth ¶
func (o GetDdosCooInstancesInstanceOutput) ServiceBandwidth() pulumi.IntOutput
The instance's business bandwidth.
func (GetDdosCooInstancesInstanceOutput) ToGetDdosCooInstancesInstanceOutput ¶
func (o GetDdosCooInstancesInstanceOutput) ToGetDdosCooInstancesInstanceOutput() GetDdosCooInstancesInstanceOutput
func (GetDdosCooInstancesInstanceOutput) ToGetDdosCooInstancesInstanceOutputWithContext ¶
func (o GetDdosCooInstancesInstanceOutput) ToGetDdosCooInstancesInstanceOutputWithContext(ctx context.Context) GetDdosCooInstancesInstanceOutput
type GetDdosCooInstancesResult ¶
type GetDdosCooInstancesResult 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 []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 a list of BGP-Line Anti-DDoS Pro instances in an Alibaba Cloud account according to the specified filters.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/ddos" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "^ddoscoo" _, err := ddos.GetDdosCooInstances(ctx, &ddos.GetDdosCooInstancesArgs{ NameRegex: &opt0, }, nil) if err != nil { return err } var splat0 []interface{} for _, val0 := range alicloud_ddoscoo_instances.Instance { splat0 = append(splat0, val0.Id) } ctx.Export("instance", splat0) return nil }) }
```
type SchedulerRule ¶ added in v2.8.0
type SchedulerRule struct { pulumi.CustomResourceState // The cname is the traffic scheduler corresponding to rules. Cname pulumi.StringOutput `pulumi:"cname"` 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 details of the common filter interaction rule, expressed as a JSON string. The structure is as follows: // `Type`: String type, required, the address format of the linkage resource. Valid values: // `A`: IP address. // `CNAME`: Domain name. // `Value`: String type, required, link address of resource. // `Priority`: the priority of the rule. This parameter is required and of Integer type. Valid values: 0~100 the larger the value, the higher the priority. // `ValueType`: Required. The type of the linked resource. It is an Integer. Valid values: // `1`: Anti-DDoS Pro. // `2`: (Tiered protection) cloud resource IP. // `3`: (sea acceleration) MCA IP address. // `6`: (Cloud product linkage) cloud resource IP. // `RegionId`: String type, optional (Required when ValueType is 2) the ID of the region. 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/doc-detail/157481.htm).
> **NOTE:** Available in 1.86.0+
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/ddos" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ddos.NewSchedulerRule(ctx, "example", &ddos.SchedulerRuleArgs{ RuleName: pulumi.String("tf-testacc7929727******"), 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("170.33.2.125"), ValueType: pulumi.Int(3), }, &ddos.SchedulerRuleRuleArgs{ Priority: pulumi.Int(50), RegionId: pulumi.String("cn-hangzhou"), Type: pulumi.String("A"), Value: pulumi.String("170.33.14.193"), ValueType: pulumi.Int(1), }, }, }) if err != nil { return err } return nil }) }
```
func GetSchedulerRule ¶ added in v2.8.0
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 ¶ added in v2.8.0
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.
type SchedulerRuleArgs ¶ added in v2.8.0
type SchedulerRuleArgs struct { 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 details of the common filter interaction rule, expressed as a JSON string. The structure is as follows: // `Type`: String type, required, the address format of the linkage resource. Valid values: // `A`: IP address. // `CNAME`: Domain name. // `Value`: String type, required, link address of resource. // `Priority`: the priority of the rule. This parameter is required and of Integer type. Valid values: 0~100 the larger the value, the higher the priority. // `ValueType`: Required. The type of the linked resource. It is an Integer. Valid values: // `1`: Anti-DDoS Pro. // `2`: (Tiered protection) cloud resource IP. // `3`: (sea acceleration) MCA IP address. // `6`: (Cloud product linkage) cloud resource IP. // `RegionId`: String type, optional (Required when ValueType is 2) the ID of the region. Rules SchedulerRuleRuleArrayInput }
The set of arguments for constructing a SchedulerRule resource.
func (SchedulerRuleArgs) ElementType ¶ added in v2.8.0
func (SchedulerRuleArgs) ElementType() reflect.Type
type SchedulerRuleRule ¶ added in v2.8.0
type SchedulerRuleRuleArgs ¶ added in v2.8.0
type SchedulerRuleRuleArgs struct { Priority pulumi.IntPtrInput `pulumi:"priority"` RegionId pulumi.StringPtrInput `pulumi:"regionId"` Status pulumi.IntPtrInput `pulumi:"status"` Type pulumi.StringPtrInput `pulumi:"type"` Value pulumi.StringPtrInput `pulumi:"value"` ValueType pulumi.IntPtrInput `pulumi:"valueType"` }
func (SchedulerRuleRuleArgs) ElementType ¶ added in v2.8.0
func (SchedulerRuleRuleArgs) ElementType() reflect.Type
func (SchedulerRuleRuleArgs) ToSchedulerRuleRuleOutput ¶ added in v2.8.0
func (i SchedulerRuleRuleArgs) ToSchedulerRuleRuleOutput() SchedulerRuleRuleOutput
func (SchedulerRuleRuleArgs) ToSchedulerRuleRuleOutputWithContext ¶ added in v2.8.0
func (i SchedulerRuleRuleArgs) ToSchedulerRuleRuleOutputWithContext(ctx context.Context) SchedulerRuleRuleOutput
type SchedulerRuleRuleArray ¶ added in v2.8.0
type SchedulerRuleRuleArray []SchedulerRuleRuleInput
func (SchedulerRuleRuleArray) ElementType ¶ added in v2.8.0
func (SchedulerRuleRuleArray) ElementType() reflect.Type
func (SchedulerRuleRuleArray) ToSchedulerRuleRuleArrayOutput ¶ added in v2.8.0
func (i SchedulerRuleRuleArray) ToSchedulerRuleRuleArrayOutput() SchedulerRuleRuleArrayOutput
func (SchedulerRuleRuleArray) ToSchedulerRuleRuleArrayOutputWithContext ¶ added in v2.8.0
func (i SchedulerRuleRuleArray) ToSchedulerRuleRuleArrayOutputWithContext(ctx context.Context) SchedulerRuleRuleArrayOutput
type SchedulerRuleRuleArrayInput ¶ added in v2.8.0
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 ¶ added in v2.8.0
type SchedulerRuleRuleArrayOutput struct{ *pulumi.OutputState }
func (SchedulerRuleRuleArrayOutput) ElementType ¶ added in v2.8.0
func (SchedulerRuleRuleArrayOutput) ElementType() reflect.Type
func (SchedulerRuleRuleArrayOutput) Index ¶ added in v2.8.0
func (o SchedulerRuleRuleArrayOutput) Index(i pulumi.IntInput) SchedulerRuleRuleOutput
func (SchedulerRuleRuleArrayOutput) ToSchedulerRuleRuleArrayOutput ¶ added in v2.8.0
func (o SchedulerRuleRuleArrayOutput) ToSchedulerRuleRuleArrayOutput() SchedulerRuleRuleArrayOutput
func (SchedulerRuleRuleArrayOutput) ToSchedulerRuleRuleArrayOutputWithContext ¶ added in v2.8.0
func (o SchedulerRuleRuleArrayOutput) ToSchedulerRuleRuleArrayOutputWithContext(ctx context.Context) SchedulerRuleRuleArrayOutput
type SchedulerRuleRuleInput ¶ added in v2.8.0
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 ¶ added in v2.8.0
type SchedulerRuleRuleOutput struct{ *pulumi.OutputState }
func (SchedulerRuleRuleOutput) ElementType ¶ added in v2.8.0
func (SchedulerRuleRuleOutput) ElementType() reflect.Type
func (SchedulerRuleRuleOutput) Priority ¶ added in v2.8.0
func (o SchedulerRuleRuleOutput) Priority() pulumi.IntPtrOutput
func (SchedulerRuleRuleOutput) RegionId ¶ added in v2.8.0
func (o SchedulerRuleRuleOutput) RegionId() pulumi.StringPtrOutput
func (SchedulerRuleRuleOutput) Status ¶ added in v2.8.0
func (o SchedulerRuleRuleOutput) Status() pulumi.IntPtrOutput
func (SchedulerRuleRuleOutput) ToSchedulerRuleRuleOutput ¶ added in v2.8.0
func (o SchedulerRuleRuleOutput) ToSchedulerRuleRuleOutput() SchedulerRuleRuleOutput
func (SchedulerRuleRuleOutput) ToSchedulerRuleRuleOutputWithContext ¶ added in v2.8.0
func (o SchedulerRuleRuleOutput) ToSchedulerRuleRuleOutputWithContext(ctx context.Context) SchedulerRuleRuleOutput
func (SchedulerRuleRuleOutput) Type ¶ added in v2.8.0
func (o SchedulerRuleRuleOutput) Type() pulumi.StringPtrOutput
func (SchedulerRuleRuleOutput) Value ¶ added in v2.8.0
func (o SchedulerRuleRuleOutput) Value() pulumi.StringPtrOutput
func (SchedulerRuleRuleOutput) ValueType ¶ added in v2.8.0
func (o SchedulerRuleRuleOutput) ValueType() pulumi.IntPtrOutput
type SchedulerRuleState ¶ added in v2.8.0
type SchedulerRuleState struct { // The cname is the traffic scheduler corresponding to rules. Cname pulumi.StringPtrInput 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 details of the common filter interaction rule, expressed as a JSON string. The structure is as follows: // `Type`: String type, required, the address format of the linkage resource. Valid values: // `A`: IP address. // `CNAME`: Domain name. // `Value`: String type, required, link address of resource. // `Priority`: the priority of the rule. This parameter is required and of Integer type. Valid values: 0~100 the larger the value, the higher the priority. // `ValueType`: Required. The type of the linked resource. It is an Integer. Valid values: // `1`: Anti-DDoS Pro. // `2`: (Tiered protection) cloud resource IP. // `3`: (sea acceleration) MCA IP address. // `6`: (Cloud product linkage) cloud resource IP. // `RegionId`: String type, optional (Required when ValueType is 2) the ID of the region. Rules SchedulerRuleRuleArrayInput }
func (SchedulerRuleState) ElementType ¶ added in v2.8.0
func (SchedulerRuleState) ElementType() reflect.Type