v20200309

package
v3.0.753+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM signature/authentication error.
	AUTHFAILURE = "AuthFailure"

	// The DryRun operation means that the request will be successful, but an extra DryRun parameter is passed.
	DRYRUNOPERATION = "DryRunOperation"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// Internal error. Please try again later.
	INTERNALERROR = "InternalError"

	// Parameter error.
	INVALIDPARAMETER = "InvalidParameter"

	// Invalid parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The quota limit should not be exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// Missing parameters. Please check and try again.
	MISSINGPARAMETER = "MissingParameter"

	// Operation denied.
	OPERATIONDENIED = "OperationDenied"

	// The number of requests should not exceed the frequency limit.
	REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

	// The resource is occupied.
	RESOURCEINUSE = "ResourceInUse"

	// Insufficient resource.
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// The resource does not exist. Please try again later.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The resource is unavailable.
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// The resources have been sold out.
	RESOURCESSOLDOUT = "ResourcesSoldOut"

	// The operation is unauthorized.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// Unknown parameter error. Please check and try again.
	UNKNOWNPARAMETER = "UnknownParameter"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2020-03-09"

Variables

This section is empty.

Functions

This section is empty.

Types

type AnycastOutPackRelation

type AnycastOutPackRelation struct {
	// Application bandwidth (in Mbps).
	// Note: This field may return null, indicating that no valid values can be obtained.
	NormalBandwidth *uint64 `json:"NormalBandwidth,omitempty" name:"NormalBandwidth"`

	// Number of forwarding rules
	// Note: This field may return null, indicating that no valid values can be obtained.
	ForwardRulesLimit *uint64 `json:"ForwardRulesLimit,omitempty" name:"ForwardRulesLimit"`

	// Auto-renewal flag
	// Note: This field may return null, indicating that no valid values can be obtained.
	AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// Expiration date
	// Note: This field may return null, indicating that no valid values can be obtained.
	CurDeadline *string `json:"CurDeadline,omitempty" name:"CurDeadline"`
}

type AssociateDDoSEipAddressRequest

type AssociateDDoSEipAddressRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID (only Anti-DDoS Advanced). For example, `bgpip-0000011x`.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// EIP of the Anti-DDoS instance ID
	Eip *string `json:"Eip,omitempty" name:"Eip"`

	// Instance ID to bind. For example, `ins-11112222`. It can be queried in the console or obtained from `InstanceId` returned by `DescribeInstances`.
	CvmInstanceID *string `json:"CvmInstanceID,omitempty" name:"CvmInstanceID"`

	// Region of the CVM instance. For example, `ap-hongkong`.
	CvmRegion *string `json:"CvmRegion,omitempty" name:"CvmRegion"`
}

func NewAssociateDDoSEipAddressRequest

func NewAssociateDDoSEipAddressRequest() (request *AssociateDDoSEipAddressRequest)

func (*AssociateDDoSEipAddressRequest) FromJsonString

func (r *AssociateDDoSEipAddressRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AssociateDDoSEipAddressRequest) ToJsonString

func (r *AssociateDDoSEipAddressRequest) ToJsonString() string

type AssociateDDoSEipAddressRequestParams

type AssociateDDoSEipAddressRequestParams struct {
	// Anti-DDoS instance ID (only Anti-DDoS Advanced). For example, `bgpip-0000011x`.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// EIP of the Anti-DDoS instance ID
	Eip *string `json:"Eip,omitempty" name:"Eip"`

	// Instance ID to bind. For example, `ins-11112222`. It can be queried in the console or obtained from `InstanceId` returned by `DescribeInstances`.
	CvmInstanceID *string `json:"CvmInstanceID,omitempty" name:"CvmInstanceID"`

	// Region of the CVM instance. For example, `ap-hongkong`.
	CvmRegion *string `json:"CvmRegion,omitempty" name:"CvmRegion"`
}

Predefined struct for user

type AssociateDDoSEipAddressResponse

type AssociateDDoSEipAddressResponse struct {
	*tchttp.BaseResponse
	Response *AssociateDDoSEipAddressResponseParams `json:"Response"`
}

func NewAssociateDDoSEipAddressResponse

func NewAssociateDDoSEipAddressResponse() (response *AssociateDDoSEipAddressResponse)

func (*AssociateDDoSEipAddressResponse) FromJsonString

func (r *AssociateDDoSEipAddressResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AssociateDDoSEipAddressResponse) ToJsonString

func (r *AssociateDDoSEipAddressResponse) ToJsonString() string

type AssociateDDoSEipAddressResponseParams

type AssociateDDoSEipAddressResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type AssociateDDoSEipLoadBalancerRequest

type AssociateDDoSEipLoadBalancerRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID (only Anti-DDoS Advanced). For example, `bgpip-0000011x`.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// EIP of the Anti-DDoS instance ID.
	Eip *string `json:"Eip,omitempty" name:"Eip"`

	// ID of the CLB to bind, such as `lb-0000002i`. It can be queried in the console or obtained from `LoadBalancerId` returned by the `DescribeLoadBalancers` API.
	LoadBalancerID *string `json:"LoadBalancerID,omitempty" name:"LoadBalancerID"`

	// Region of the CLB instance, such as `ap-hongkong`.
	LoadBalancerRegion *string `json:"LoadBalancerRegion,omitempty" name:"LoadBalancerRegion"`

	// CLB private IP
	Vip *string `json:"Vip,omitempty" name:"Vip"`
}

func NewAssociateDDoSEipLoadBalancerRequest

func NewAssociateDDoSEipLoadBalancerRequest() (request *AssociateDDoSEipLoadBalancerRequest)

func (*AssociateDDoSEipLoadBalancerRequest) FromJsonString

func (r *AssociateDDoSEipLoadBalancerRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AssociateDDoSEipLoadBalancerRequest) ToJsonString

func (r *AssociateDDoSEipLoadBalancerRequest) ToJsonString() string

type AssociateDDoSEipLoadBalancerRequestParams

type AssociateDDoSEipLoadBalancerRequestParams struct {
	// Anti-DDoS instance ID (only Anti-DDoS Advanced). For example, `bgpip-0000011x`.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// EIP of the Anti-DDoS instance ID.
	Eip *string `json:"Eip,omitempty" name:"Eip"`

	// ID of the CLB to bind, such as `lb-0000002i`. It can be queried in the console or obtained from `LoadBalancerId` returned by the `DescribeLoadBalancers` API.
	LoadBalancerID *string `json:"LoadBalancerID,omitempty" name:"LoadBalancerID"`

	// Region of the CLB instance, such as `ap-hongkong`.
	LoadBalancerRegion *string `json:"LoadBalancerRegion,omitempty" name:"LoadBalancerRegion"`

	// CLB private IP
	Vip *string `json:"Vip,omitempty" name:"Vip"`
}

Predefined struct for user

type AssociateDDoSEipLoadBalancerResponse

type AssociateDDoSEipLoadBalancerResponse struct {
	*tchttp.BaseResponse
	Response *AssociateDDoSEipLoadBalancerResponseParams `json:"Response"`
}

func NewAssociateDDoSEipLoadBalancerResponse

func NewAssociateDDoSEipLoadBalancerResponse() (response *AssociateDDoSEipLoadBalancerResponse)

func (*AssociateDDoSEipLoadBalancerResponse) FromJsonString

func (r *AssociateDDoSEipLoadBalancerResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AssociateDDoSEipLoadBalancerResponse) ToJsonString

func (r *AssociateDDoSEipLoadBalancerResponse) ToJsonString() string

type AssociateDDoSEipLoadBalancerResponseParams

type AssociateDDoSEipLoadBalancerResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type BGPIPInstance

type BGPIPInstance struct {
	// Anti-DDoS instance details
	InstanceDetail *InstanceRelation `json:"InstanceDetail,omitempty" name:"InstanceDetail"`

	// Anti-DDoS instance specifications
	SpecificationLimit *BGPIPInstanceSpecification `json:"SpecificationLimit,omitempty" name:"SpecificationLimit"`

	// Anti-DDoS instance usage statistics
	Usage *BGPIPInstanceUsages `json:"Usage,omitempty" name:"Usage"`

	// Region of the Anti-DDoS instance
	Region *RegionInfo `json:"Region,omitempty" name:"Region"`

	// Status of the Anti-DDoS instance. Valid values:
	// `idle`: running
	// `attacking`: under attacks
	// `blocking`: blocked
	// `creating`: creating
	// `deblocking`: unblocking
	// `isolate`: reprocessed and isolated
	Status *string `json:"Status,omitempty" name:"Status"`

	// Purchase time
	ExpiredTime *string `json:"ExpiredTime,omitempty" name:"ExpiredTime"`

	// Expired At
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// Name of the Anti-DDoS instance
	Name *string `json:"Name,omitempty" name:"Name"`

	// Package details of the Anti-DDoS instance.
	// Note: This field is `null` for an Anti-DDoS instance without using a package.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PackInfo *PackInfo `json:"PackInfo,omitempty" name:"PackInfo"`

	// Non-BGP package details of the Anti-DDoS instance.
	// Note: This field is `null` for an Anti-DDoS instance without using a non-BGP package.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	StaticPackRelation *StaticPackRelation `json:"StaticPackRelation,omitempty" name:"StaticPackRelation"`

	// Specifies the ISP. `0`: Chinese mainland ISPs (default); `1`:Radware;`2`: Tencent; `3`: NSFOCUS. Note that `1`, `2` and `3` are used for services outside the Chinese mainland.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"`

	// Used to differentiate clusters
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Tgw *uint64 `json:"Tgw,omitempty" name:"Tgw"`

	// EIP states: `CREATING`, `BINDING`, `BIND`, `UNBINDING`, `UNBIND`, `OFFLINING`, and `BIND_ENI`. The EIP must be bound to an Anti-DDoS Advanced instance.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	EipAddressStatus *string `json:"EipAddressStatus,omitempty" name:"EipAddressStatus"`

	// Whether it is an Anti-DDoS EIP instance. `1`: Yes; `0`: No.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	EipFlag *int64 `json:"EipFlag,omitempty" name:"EipFlag"`

	// EIP package details of the Anti-DDoS Advanced instance.
	// Note: This field is `null` for an Anti-DDoS Advanced instance without using an EIP package.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	EipAddressPackRelation *EipAddressPackRelation `json:"EipAddressPackRelation,omitempty" name:"EipAddressPackRelation"`

	// Details of the Anti-DDoS Advanced instance bound to the EIP.
	// Note: This field is `null` if the EIP is not bound to an Anti-DDoS Advanced instance.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	EipAddressInfo *EipAddressRelation `json:"EipAddressInfo,omitempty" name:"EipAddressInfo"`

	// Recommended domain name for clients to access.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Whether to enable Sec-MCA. Valid values: `1` (enabled) and `0` (disabled).
	DamDDoSStatus *uint64 `json:"DamDDoSStatus,omitempty" name:"DamDDoSStatus"`

	// Whether it’s an IPv6 address. `1`: Yes; `0`: No.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	V6Flag *uint64 `json:"V6Flag,omitempty" name:"V6Flag"`

	// Whether it’s an Anti-DDoS Advanced instance from Tencent Cloud channels. `1`: Yes; `0`: No.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	BGPIPChannelFlag *uint64 `json:"BGPIPChannelFlag,omitempty" name:"BGPIPChannelFlag"`

	// Tag that the Anti-DDoS Advanced instance is associated with
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TagInfoList []*TagInfo `json:"TagInfoList,omitempty" name:"TagInfoList"`

	// All-out package details of the instance
	// When an all-out package is not used by the instance, this field is `null`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AnycastOutPackRelation *AnycastOutPackRelation `json:"AnycastOutPackRelation,omitempty" name:"AnycastOutPackRelation"`

	// Edition of the instance
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	InstanceVersion *uint64 `json:"InstanceVersion,omitempty" name:"InstanceVersion"`

	// Convoy instance ID
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ConvoyId *string `json:"ConvoyId,omitempty" name:"ConvoyId"`

	// Pay-as-you-go bandwidth
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ElasticBandwidth *uint64 `json:"ElasticBandwidth,omitempty" name:"ElasticBandwidth"`

	// Whether it’s the IP broadcasted by EdgeOne. Values: `1` (yes), `0` (no)
	// Note: This field may return null, indicating that no valid values can be obtained.
	EOFlag *uint64 `json:"EOFlag,omitempty" name:"EOFlag"`
}

type BGPIPInstanceSpecification

type BGPIPInstanceSpecification struct {
	// Base protection bandwidth (in Mbps)
	ProtectBandwidth *uint64 `json:"ProtectBandwidth,omitempty" name:"ProtectBandwidth"`

	// CC protection bandwidth (in QPS)
	ProtectCCQPS *uint64 `json:"ProtectCCQPS,omitempty" name:"ProtectCCQPS"`

	// Normal application bandwidth (in Mbps)
	NormalBandwidth *uint64 `json:"NormalBandwidth,omitempty" name:"NormalBandwidth"`

	// Number of forwarding rules
	ForwardRulesLimit *uint64 `json:"ForwardRulesLimit,omitempty" name:"ForwardRulesLimit"`

	// Auto-renewal status. Valid values:
	// `0`: disabled
	// `1`: enabled
	// ]
	AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// Anti-DDoS Advanced line. Valid values:
	// `1`: BGP
	// `2`: China Telecom
	// `3`: China Unicom
	// `4`: China Mobile
	// `99`: third-party line
	// ]
	Line *uint64 `json:"Line,omitempty" name:"Line"`

	// Elastic protection bandwidth (in Mbps)
	ElasticBandwidth *uint64 `json:"ElasticBandwidth,omitempty" name:"ElasticBandwidth"`
}

type BGPIPInstanceUsages

type BGPIPInstanceUsages struct {
	// Number of used port rules
	PortRulesUsage *uint64 `json:"PortRulesUsage,omitempty" name:"PortRulesUsage"`

	// Number of used domain name rules
	DomainRulesUsage *uint64 `json:"DomainRulesUsage,omitempty" name:"DomainRulesUsage"`

	// Number of attack times in the last 7 days
	Last7DayAttackCount *uint64 `json:"Last7DayAttackCount,omitempty" name:"Last7DayAttackCount"`
}

type BGPInstance

type BGPInstance struct {
	// Details of the Anti-DDoS Pro instance
	InstanceDetail *InstanceRelation `json:"InstanceDetail,omitempty" name:"InstanceDetail"`

	// Specifications of the Anti-DDoS Pro instance
	SpecificationLimit *BGPInstanceSpecification `json:"SpecificationLimit,omitempty" name:"SpecificationLimit"`

	// Usage statistics of the Anti-DDoS Pro instance
	Usage *BGPInstanceUsages `json:"Usage,omitempty" name:"Usage"`

	// Region of the Anti-DDoS Pro instance
	Region *RegionInfo `json:"Region,omitempty" name:"Region"`

	// Status of the Anti-DDoS Pro instance. Valid values:
	// `idle`: The instance is running normally.
	// `attacking`: The instance is under attack.
	// `blocking`: The instance is blocked.
	// `creating`: The instance is being created.
	// `deblocking`: Unblocking the instance
	// `isolate`: The instance is being isolated.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Purchase time
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// Expiration time
	ExpiredTime *string `json:"ExpiredTime,omitempty" name:"ExpiredTime"`

	// Name of the Anti-DDoS Pro instance
	Name *string `json:"Name,omitempty" name:"Name"`

	// Details of the package to which the Anti-DDoS Pro instance belongs.
	// When the package provided is not used by the instance, this field is `null`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PackInfo *PackInfo `json:"PackInfo,omitempty" name:"PackInfo"`

	// Details of the cloud product used by the EIP bound to the Anti-DDoS Pro instance
	EipProductInfos []*EipProductInfo `json:"EipProductInfos,omitempty" name:"EipProductInfos"`

	// Binding status of the Anti-DDoS Pro instance
	// `idle`: The instance is bound.
	//  `bounding`: Binding the instance.
	// `failed`: Failed to bind
	// ]
	BoundStatus *string `json:"BoundStatus,omitempty" name:"BoundStatus"`

	// Layer-4 protection level
	DDoSLevel *string `json:"DDoSLevel,omitempty" name:"DDoSLevel"`

	// Status of CC protection
	CCEnable *int64 `json:"CCEnable,omitempty" name:"CCEnable"`

	// Tags associated with the resource
	TagInfoList []*TagInfo `json:"TagInfoList,omitempty" name:"TagInfoList"`

	// New edition of Anti-DDoS Pro
	IpCountNewFlag *uint64 `json:"IpCountNewFlag,omitempty" name:"IpCountNewFlag"`

	// The version of attack defense package
	VitalityVersion *uint64 `json:"VitalityVersion,omitempty" name:"VitalityVersion"`

	// Network line
	// Note: This field may return null, indicating that no valid values can be obtained.
	Line *uint64 `json:"Line,omitempty" name:"Line"`

	// Whether to enable elastic bandwidth
	ElasticServiceBandwidth *uint64 `json:"ElasticServiceBandwidth,omitempty" name:"ElasticServiceBandwidth"`

	// Bandwidth quota given away by Tencent Cloud
	GiftServiceBandWidth *int64 `json:"GiftServiceBandWidth,omitempty" name:"GiftServiceBandWidth"`
}

type BGPInstanceSpecification

type BGPInstanceSpecification struct {
	// Base protection bandwidth (in Gbps)
	ProtectBandwidth *uint64 `json:"ProtectBandwidth,omitempty" name:"ProtectBandwidth"`

	// Number of protection chances
	ProtectCountLimit *uint64 `json:"ProtectCountLimit,omitempty" name:"ProtectCountLimit"`

	// Number of protected IPs
	ProtectIPNumberLimit *uint64 `json:"ProtectIPNumberLimit,omitempty" name:"ProtectIPNumberLimit"`

	// Auto-renewal status. Values:
	// `0`: Disabled
	// `1`: Enabled
	// ]
	AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// Protection type of Anti-DDoS Pro. Valid values: `0` (general protection) and `1` (Lighthouse-based protection).
	// Note: This field may return null, indicating that no valid values can be obtained.
	UnionPackFlag *uint64 `json:"UnionPackFlag,omitempty" name:"UnionPackFlag"`

	// Application bandwidth
	// Note: This field may return null, indicating that no valid values can be obtained.
	ServiceBandWidth *uint64 `json:"ServiceBandWidth,omitempty" name:"ServiceBandWidth"`

	// Whether it’s an Anti-DDoS Pro Premium edition. Values: `0` (General edition); `1` (Premium edition).
	// Note: This field may return null, indicating that no valid values can be obtained.
	BattleEditionFlag *uint64 `json:"BattleEditionFlag,omitempty" name:"BattleEditionFlag"`

	// Whether it’s an Anti-DDoS Pro Standard edition. Values: `0` (General edition); `1` (Standard edition).
	// Note: This field may return null, indicating that no valid values can be obtained.
	ChannelEditionFlag *uint64 `json:"ChannelEditionFlag,omitempty" name:"ChannelEditionFlag"`

	// Whether it’s an Anti-DDoS Pro Enterprise edition. Values: `0` (General edition); `1` (Enterprise edition).
	// Note: This field may return null, indicating that no valid values can be obtained.
	EnterpriseFlag *uint64 `json:"EnterpriseFlag,omitempty" name:"EnterpriseFlag"`

	// Elastic bandwidth threshold of the Anti-DDoS Pro Enterprise edition.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ElasticLimit *uint64 `json:"ElasticLimit,omitempty" name:"ElasticLimit"`

	// Protection bandwidth after the plan downgrade, in Gbps.
	// Note: This field may return `null`, indicating that no valid value was found.
	DownGradeProtect *uint64 `json:"DownGradeProtect,omitempty" name:"DownGradeProtect"`
}

type BGPInstanceUsages

type BGPInstanceUsages struct {
	// Number of used protection chances
	ProtectCountUsage *uint64 `json:"ProtectCountUsage,omitempty" name:"ProtectCountUsage"`

	// Number of protected IPs
	ProtectIPNumberUsage *uint64 `json:"ProtectIPNumberUsage,omitempty" name:"ProtectIPNumberUsage"`

	// Number of attack times in the last 7 days
	Last7DayAttackCount *uint64 `json:"Last7DayAttackCount,omitempty" name:"Last7DayAttackCount"`
}

type BlackWhiteIpRelation

type BlackWhiteIpRelation struct {
	// IP address
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// IP type. Valid values: `black` (blocklisted IP), `white`(allowlisted IP).
	Type *string `json:"Type,omitempty" name:"Type"`

	// Anti-DDoS instance configured
	InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitempty" name:"InstanceDetailList"`

	// IP mask. `0` indicates a 32-bit IP.
	Mask *uint64 `json:"Mask,omitempty" name:"Mask"`

	// Modification time
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}

type BoundIpInfo

type BoundIpInfo struct {
	// IP address
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Category of product that can be bound. Valid values: `public` (CVM and CLB), `bm` (BM), `eni` (ENI), `vpngw` (VPN gateway), `natgw` (NAT gateway), `waf` (WAF), `fpc` (financial products), `gaap` (GAAP), and `other` (hosted IP). This field is required when you perform binding.
	BizType *string `json:"BizType,omitempty" name:"BizType"`

	// Anti-DDoS instance ID of the IP. This field is required only when the instance is bound to an IP. For example, this field InstanceId will be `eni-*` if the instance ID is bound to an ENI IP; `none` if there is no instance to bind to a managed IP.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Sub-product category. Valid values: `cvm` (CVM), `lb` (Load balancer), `eni` (ENI), `vpngw` (VPN gateway), `natgw` (NAT gateway), `waf` (WAF), `fpc` (financial products), `gaap` (GAAP), `eip` (BM EIP) and `other` (managed IP). This field is required when you perform binding.
	DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"`

	// ISP. Valid values: `0` (China Telecom), `1` (China Unicom), `2` (China Mobile), and `5` (BGP). This field is required when you perform binding.
	IspCode *uint64 `json:"IspCode,omitempty" name:"IspCode"`
}

type CCLevelPolicy

type CCLevelPolicy struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Ip
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Protocol
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protection level. Values: `default`, `loose` and `strict`.
	Level *string `json:"Level,omitempty" name:"Level"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Modification time
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}

type CCPrecisionPlyRecord

type CCPrecisionPlyRecord struct {
	// Type of the configuration field. Only `value` is supported.
	FieldType *string `json:"FieldType,omitempty" name:"FieldType"`

	// Configuration field. Valid values: `cgi`, `ua`, `cookie`, `referer`, `accept`, and `srcip`.
	FieldName *string `json:"FieldName,omitempty" name:"FieldName"`

	// Value of the configuration field
	Value *string `json:"Value,omitempty" name:"Value"`

	// Filters values of configuration fields. `equal`: The value matches the configuration field. `not_equal`: The value does not match the configuration field. `include`: The value is included.
	ValueOperator *string `json:"ValueOperator,omitempty" name:"ValueOperator"`
}

type CCPrecisionPolicy

type CCPrecisionPolicy struct {
	// Policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP address
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Protocol
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Action of limiting request frequency. Valid values: `alg` (limit request frequency via verification codes) and `drop`(drop requests).
	PolicyAction *string `json:"PolicyAction,omitempty" name:"PolicyAction"`

	// List of policies
	PolicyList []*CCPrecisionPlyRecord `json:"PolicyList,omitempty" name:"PolicyList"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Modification time
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}

type CCReqLimitPolicyRecord

type CCReqLimitPolicyRecord struct {
	// Sampling interval (in seconds). Valid values: `1`, `10`, `30`, and `60`.
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// Number of requests. Value range: 1-2000.
	RequestNum *uint64 `json:"RequestNum,omitempty" name:"RequestNum"`

	// Action of limiting request frequency. Valid values: `alg` (limit request frequency via verification codes) and `drop`(drop requests).
	Action *string `json:"Action,omitempty" name:"Action"`

	// Sets an interval of the frequency limit policy. Value range: 1-86400 (in seconds).
	ExecuteDuration *uint64 `json:"ExecuteDuration,omitempty" name:"ExecuteDuration"`

	// Filters values of configuration fields. `include`: The value is included. `equal`: The value matches the configuration field.
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	// URI, which cannot be used together with `User-Agent` and `Cookie`.
	Uri *string `json:"Uri,omitempty" name:"Uri"`

	// User-Agent, which cannot be used together with `Uri` and `Cookie`.
	UserAgent *string `json:"UserAgent,omitempty" name:"UserAgent"`

	// Cookie, which cannot be used together with `Uri` and `User-Agent`.
	Cookie *string `json:"Cookie,omitempty" name:"Cookie"`
}

type CCThresholdPolicy

type CCThresholdPolicy struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP address
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Protocol
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Cleansing threshold
	Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Modification time
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}

type CcBlackWhiteIpPolicy

type CcBlackWhiteIpPolicy struct {
	// Policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP address
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// IP type. Valid values: `black` (blocklisted IP), `white`(allowlisted IP).
	Type *string `json:"Type,omitempty" name:"Type"`

	// Blocklist/Allowlist IP address
	BlackWhiteIp *string `json:"BlackWhiteIp,omitempty" name:"BlackWhiteIp"`

	// Mask
	Mask *uint64 `json:"Mask,omitempty" name:"Mask"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Modification time
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}

type CcGeoIPBlockConfig

type CcGeoIPBlockConfig struct {
	// Region type. Valid values:
	// `oversea`: Outside the Chinese mainland.
	// `china`: The Chinese mainland.
	// `customized`: User-specified region.
	// ]
	RegionType *string `json:"RegionType,omitempty" name:"RegionType"`

	// Blocking action. Valid values:
	// `drop`: Block the request.
	// `alg`: Verify the request via CAPTCHA.
	// ]
	Action *string `json:"Action,omitempty" name:"Action"`

	// Configuration ID, which is generated after a configuration is added. This field is only required to modify or delete a configuration.
	Id *string `json:"Id,omitempty" name:"Id"`

	// This field is required when RegionType is `customized`; it can be left empty when RegionType is `china` or `oversea`.
	AreaList []*int64 `json:"AreaList,omitempty" name:"AreaList"`
}

type CcGeoIpPolicyNew

type CcGeoIpPolicyNew struct {
	// Policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP address
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol. Valid values: `HTTP` and `HTTPS`.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Action. Valid values: `drop` and `alg`.
	Action *string `json:"Action,omitempty" name:"Action"`

	// Region type. Valid values: `china`, `oversea` and `customized`.
	RegionType *string `json:"RegionType,omitempty" name:"RegionType"`

	// ID list of regions to be blocked
	AreaList []*uint64 `json:"AreaList,omitempty" name:"AreaList"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Modification time
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}

type CertIdInsL7Rules

type CertIdInsL7Rules struct {
	// List of rules configured for certificates
	L7Rules []*InsL7Rules `json:"L7Rules,omitempty" name:"L7Rules"`

	// Certificate ID
	CertId *string `json:"CertId,omitempty" name:"CertId"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AssociateDDoSEipAddress

func (c *Client) AssociateDDoSEipAddress(request *AssociateDDoSEipAddressRequest) (response *AssociateDDoSEipAddressResponse, err error)

AssociateDDoSEipAddress This API is used to bind an EIP to an Anti-DDoS Advanced instance or a specified private IP of an ENI.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) AssociateDDoSEipAddressWithContext

func (c *Client) AssociateDDoSEipAddressWithContext(ctx context.Context, request *AssociateDDoSEipAddressRequest) (response *AssociateDDoSEipAddressResponse, err error)

AssociateDDoSEipAddress This API is used to bind an EIP to an Anti-DDoS Advanced instance or a specified private IP of an ENI.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) AssociateDDoSEipLoadBalancer

func (c *Client) AssociateDDoSEipLoadBalancer(request *AssociateDDoSEipLoadBalancerRequest) (response *AssociateDDoSEipLoadBalancerResponse, err error)

AssociateDDoSEipLoadBalancer This API is used to bind an Anti-DDoS EIP to the specified private IP of a CLB instance.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) AssociateDDoSEipLoadBalancerWithContext

func (c *Client) AssociateDDoSEipLoadBalancerWithContext(ctx context.Context, request *AssociateDDoSEipLoadBalancerRequest) (response *AssociateDDoSEipLoadBalancerResponse, err error)

AssociateDDoSEipLoadBalancer This API is used to bind an Anti-DDoS EIP to the specified private IP of a CLB instance.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateBlackWhiteIpList

func (c *Client) CreateBlackWhiteIpList(request *CreateBlackWhiteIpListRequest) (response *CreateBlackWhiteIpListResponse, err error)

CreateBlackWhiteIpList This API is used to add an Anti-DDoS IP blocklist/allowlist.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateBlackWhiteIpListWithContext

func (c *Client) CreateBlackWhiteIpListWithContext(ctx context.Context, request *CreateBlackWhiteIpListRequest) (response *CreateBlackWhiteIpListResponse, err error)

CreateBlackWhiteIpList This API is used to add an Anti-DDoS IP blocklist/allowlist.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateBoundIP

func (c *Client) CreateBoundIP(request *CreateBoundIPRequest) (response *CreateBoundIPResponse, err error)

CreateBoundIP This API is used to bind an IP to an Anti-DDoS Pro instance Both single IP instances and multi-IP instances are available. Note that you should wait until the current binding or unbinding completes before using this async API for new operations.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateBoundIPWithContext

func (c *Client) CreateBoundIPWithContext(ctx context.Context, request *CreateBoundIPRequest) (response *CreateBoundIPResponse, err error)

CreateBoundIP This API is used to bind an IP to an Anti-DDoS Pro instance Both single IP instances and multi-IP instances are available. Note that you should wait until the current binding or unbinding completes before using this async API for new operations.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateCCPrecisionPolicy

func (c *Client) CreateCCPrecisionPolicy(request *CreateCCPrecisionPolicyRequest) (response *CreateCCPrecisionPolicyResponse, err error)

CreateCCPrecisionPolicy This API is used to create a CC precise protection policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateCCPrecisionPolicyWithContext

func (c *Client) CreateCCPrecisionPolicyWithContext(ctx context.Context, request *CreateCCPrecisionPolicyRequest) (response *CreateCCPrecisionPolicyResponse, err error)

CreateCCPrecisionPolicy This API is used to create a CC precise protection policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateCCReqLimitPolicy

func (c *Client) CreateCCReqLimitPolicy(request *CreateCCReqLimitPolicyRequest) (response *CreateCCReqLimitPolicyResponse, err error)

CreateCCReqLimitPolicy This API is used to create a CC frequency limit policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateCCReqLimitPolicyWithContext

func (c *Client) CreateCCReqLimitPolicyWithContext(ctx context.Context, request *CreateCCReqLimitPolicyRequest) (response *CreateCCReqLimitPolicyResponse, err error)

CreateCCReqLimitPolicy This API is used to create a CC frequency limit policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateCcBlackWhiteIpList

func (c *Client) CreateCcBlackWhiteIpList(request *CreateCcBlackWhiteIpListRequest) (response *CreateCcBlackWhiteIpListResponse, err error)

CreateCcBlackWhiteIpList This API is used to create a layer 4 access control list to prevent CC attacks.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateCcBlackWhiteIpListWithContext

func (c *Client) CreateCcBlackWhiteIpListWithContext(ctx context.Context, request *CreateCcBlackWhiteIpListRequest) (response *CreateCcBlackWhiteIpListResponse, err error)

CreateCcBlackWhiteIpList This API is used to create a layer 4 access control list to prevent CC attacks.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateCcGeoIPBlockConfig

func (c *Client) CreateCcGeoIPBlockConfig(request *CreateCcGeoIPBlockConfigRequest) (response *CreateCcGeoIPBlockConfigResponse, err error)

CreateCcGeoIPBlockConfig This API is used to create a regional blocking configuration.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateCcGeoIPBlockConfigWithContext

func (c *Client) CreateCcGeoIPBlockConfigWithContext(ctx context.Context, request *CreateCcGeoIPBlockConfigRequest) (response *CreateCcGeoIPBlockConfigResponse, err error)

CreateCcGeoIPBlockConfig This API is used to create a regional blocking configuration.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateDDoSAI

func (c *Client) CreateDDoSAI(request *CreateDDoSAIRequest) (response *CreateDDoSAIResponse, err error)

CreateDDoSAI This API is used to set Anti-DDoS AI protection switches.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateDDoSAIWithContext

func (c *Client) CreateDDoSAIWithContext(ctx context.Context, request *CreateDDoSAIRequest) (response *CreateDDoSAIResponse, err error)

CreateDDoSAI This API is used to set Anti-DDoS AI protection switches.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateDDoSGeoIPBlockConfig

func (c *Client) CreateDDoSGeoIPBlockConfig(request *CreateDDoSGeoIPBlockConfigRequest) (response *CreateDDoSGeoIPBlockConfigResponse, err error)

CreateDDoSGeoIPBlockConfig This API is used to add an Anti-DDoS region blocking configuration.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateDDoSGeoIPBlockConfigWithContext

func (c *Client) CreateDDoSGeoIPBlockConfigWithContext(ctx context.Context, request *CreateDDoSGeoIPBlockConfigRequest) (response *CreateDDoSGeoIPBlockConfigResponse, err error)

CreateDDoSGeoIPBlockConfig This API is used to add an Anti-DDoS region blocking configuration.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateDDoSSpeedLimitConfig

func (c *Client) CreateDDoSSpeedLimitConfig(request *CreateDDoSSpeedLimitConfigRequest) (response *CreateDDoSSpeedLimitConfigResponse, err error)

CreateDDoSSpeedLimitConfig This API is used to add Anti-DDoS access rate limit configurations.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateDDoSSpeedLimitConfigWithContext

func (c *Client) CreateDDoSSpeedLimitConfigWithContext(ctx context.Context, request *CreateDDoSSpeedLimitConfigRequest) (response *CreateDDoSSpeedLimitConfigResponse, err error)

CreateDDoSSpeedLimitConfig This API is used to add Anti-DDoS access rate limit configurations.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateDefaultAlarmThreshold

func (c *Client) CreateDefaultAlarmThreshold(request *CreateDefaultAlarmThresholdRequest) (response *CreateDefaultAlarmThresholdResponse, err error)

CreateDefaultAlarmThreshold This API is used to set the default alarm threshold of an IP.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"

func (*Client) CreateDefaultAlarmThresholdWithContext

func (c *Client) CreateDefaultAlarmThresholdWithContext(ctx context.Context, request *CreateDefaultAlarmThresholdRequest) (response *CreateDefaultAlarmThresholdResponse, err error)

CreateDefaultAlarmThreshold This API is used to set the default alarm threshold of an IP.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"

func (*Client) CreateIPAlarmThresholdConfig

func (c *Client) CreateIPAlarmThresholdConfig(request *CreateIPAlarmThresholdConfigRequest) (response *CreateIPAlarmThresholdConfigResponse, err error)

CreateIPAlarmThresholdConfig This API is used to set the default alarm threshold of an IP.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"

func (*Client) CreateIPAlarmThresholdConfigWithContext

func (c *Client) CreateIPAlarmThresholdConfigWithContext(ctx context.Context, request *CreateIPAlarmThresholdConfigRequest) (response *CreateIPAlarmThresholdConfigResponse, err error)

CreateIPAlarmThresholdConfig This API is used to set the default alarm threshold of an IP.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"

func (*Client) CreateL7RuleCerts

func (c *Client) CreateL7RuleCerts(request *CreateL7RuleCertsRequest) (response *CreateL7RuleCertsResponse, err error)

CreateL7RuleCerts This API is used to configure certificates with layer-7 forwarding rules in a batch for SSL testing.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateL7RuleCertsWithContext

func (c *Client) CreateL7RuleCertsWithContext(ctx context.Context, request *CreateL7RuleCertsRequest) (response *CreateL7RuleCertsResponse, err error)

CreateL7RuleCerts This API is used to configure certificates with layer-7 forwarding rules in a batch for SSL testing.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateNewL7Rules

func (c *Client) CreateNewL7Rules(request *CreateNewL7RulesRequest) (response *CreateNewL7RulesResponse, err error)

CreateNewL7Rules This API is used to add layer-7 forwarding rules.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateNewL7RulesWithContext

func (c *Client) CreateNewL7RulesWithContext(ctx context.Context, request *CreateNewL7RulesRequest) (response *CreateNewL7RulesResponse, err error)

CreateNewL7Rules This API is used to add layer-7 forwarding rules.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreatePacketFilterConfig

func (c *Client) CreatePacketFilterConfig(request *CreatePacketFilterConfigRequest) (response *CreatePacketFilterConfigResponse, err error)

CreatePacketFilterConfig This API is used to add Anti-DDoS feature filtering rules.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreatePacketFilterConfigWithContext

func (c *Client) CreatePacketFilterConfigWithContext(ctx context.Context, request *CreatePacketFilterConfigRequest) (response *CreatePacketFilterConfigResponse, err error)

CreatePacketFilterConfig This API is used to add Anti-DDoS feature filtering rules.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateProtocolBlockConfig

func (c *Client) CreateProtocolBlockConfig(request *CreateProtocolBlockConfigRequest) (response *CreateProtocolBlockConfigResponse, err error)

CreateProtocolBlockConfig This API is used to set Anti-DDoS protocol blocking configurations.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateProtocolBlockConfigWithContext

func (c *Client) CreateProtocolBlockConfigWithContext(ctx context.Context, request *CreateProtocolBlockConfigRequest) (response *CreateProtocolBlockConfigResponse, err error)

CreateProtocolBlockConfig This API is used to set Anti-DDoS protocol blocking configurations.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateSchedulingDomain

func (c *Client) CreateSchedulingDomain(request *CreateSchedulingDomainRequest) (response *CreateSchedulingDomainResponse, err error)

CreateSchedulingDomain This API is used to create a domain name for IP scheduling and switching.

error code that may be returned:

DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) CreateSchedulingDomainWithContext

func (c *Client) CreateSchedulingDomainWithContext(ctx context.Context, request *CreateSchedulingDomainRequest) (response *CreateSchedulingDomainResponse, err error)

CreateSchedulingDomain This API is used to create a domain name for IP scheduling and switching.

error code that may be returned:

DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) CreateWaterPrintConfig

func (c *Client) CreateWaterPrintConfig(request *CreateWaterPrintConfigRequest) (response *CreateWaterPrintConfigResponse, err error)

CreateWaterPrintConfig This API is used to add Anti-DDoS watermark configurations.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateWaterPrintConfigWithContext

func (c *Client) CreateWaterPrintConfigWithContext(ctx context.Context, request *CreateWaterPrintConfigRequest) (response *CreateWaterPrintConfigResponse, err error)

CreateWaterPrintConfig This API is used to add Anti-DDoS watermark configurations.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateWaterPrintKey

func (c *Client) CreateWaterPrintKey(request *CreateWaterPrintKeyRequest) (response *CreateWaterPrintKeyResponse, err error)

CreateWaterPrintKey This API is used to add Anti-DDoS watermark keys.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateWaterPrintKeyWithContext

func (c *Client) CreateWaterPrintKeyWithContext(ctx context.Context, request *CreateWaterPrintKeyRequest) (response *CreateWaterPrintKeyResponse, err error)

CreateWaterPrintKey This API is used to add Anti-DDoS watermark keys.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteCCLevelPolicy

func (c *Client) DeleteCCLevelPolicy(request *DeleteCCLevelPolicyRequest) (response *DeleteCCLevelPolicyResponse, err error)

DeleteCCLevelPolicy This API is used to delete a level-defining policy of CC attacks.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteCCLevelPolicyWithContext

func (c *Client) DeleteCCLevelPolicyWithContext(ctx context.Context, request *DeleteCCLevelPolicyRequest) (response *DeleteCCLevelPolicyResponse, err error)

DeleteCCLevelPolicy This API is used to delete a level-defining policy of CC attacks.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteCCPrecisionPolicy

func (c *Client) DeleteCCPrecisionPolicy(request *DeleteCCPrecisionPolicyRequest) (response *DeleteCCPrecisionPolicyResponse, err error)

DeleteCCPrecisionPolicy This API is used to delete a CC precise protection policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteCCPrecisionPolicyWithContext

func (c *Client) DeleteCCPrecisionPolicyWithContext(ctx context.Context, request *DeleteCCPrecisionPolicyRequest) (response *DeleteCCPrecisionPolicyResponse, err error)

DeleteCCPrecisionPolicy This API is used to delete a CC precise protection policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteCCThresholdPolicy

func (c *Client) DeleteCCThresholdPolicy(request *DeleteCCThresholdPolicyRequest) (response *DeleteCCThresholdPolicyResponse, err error)

DeleteCCThresholdPolicy This API is used to delete a CC cleansing threshold policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteCCThresholdPolicyWithContext

func (c *Client) DeleteCCThresholdPolicyWithContext(ctx context.Context, request *DeleteCCThresholdPolicyRequest) (response *DeleteCCThresholdPolicyResponse, err error)

DeleteCCThresholdPolicy This API is used to delete a CC cleansing threshold policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteCcBlackWhiteIpList

func (c *Client) DeleteCcBlackWhiteIpList(request *DeleteCcBlackWhiteIpListRequest) (response *DeleteCcBlackWhiteIpListResponse, err error)

DeleteCcBlackWhiteIpList This API is used to delete a layer-4 access control list.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteCcBlackWhiteIpListWithContext

func (c *Client) DeleteCcBlackWhiteIpListWithContext(ctx context.Context, request *DeleteCcBlackWhiteIpListRequest) (response *DeleteCcBlackWhiteIpListResponse, err error)

DeleteCcBlackWhiteIpList This API is used to delete a layer-4 access control list.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteCcGeoIPBlockConfig

func (c *Client) DeleteCcGeoIPBlockConfig(request *DeleteCcGeoIPBlockConfigRequest) (response *DeleteCcGeoIPBlockConfigResponse, err error)

DeleteCcGeoIPBlockConfig This API is used to delete a regional blocking configuration.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteCcGeoIPBlockConfigWithContext

func (c *Client) DeleteCcGeoIPBlockConfigWithContext(ctx context.Context, request *DeleteCcGeoIPBlockConfigRequest) (response *DeleteCcGeoIPBlockConfigResponse, err error)

DeleteCcGeoIPBlockConfig This API is used to delete a regional blocking configuration.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteDDoSGeoIPBlockConfig

func (c *Client) DeleteDDoSGeoIPBlockConfig(request *DeleteDDoSGeoIPBlockConfigRequest) (response *DeleteDDoSGeoIPBlockConfigResponse, err error)

DeleteDDoSGeoIPBlockConfig This API is used to delete Anti-DDoS region blocking configurations.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteDDoSGeoIPBlockConfigWithContext

func (c *Client) DeleteDDoSGeoIPBlockConfigWithContext(ctx context.Context, request *DeleteDDoSGeoIPBlockConfigRequest) (response *DeleteDDoSGeoIPBlockConfigResponse, err error)

DeleteDDoSGeoIPBlockConfig This API is used to delete Anti-DDoS region blocking configurations.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteDDoSSpeedLimitConfig

func (c *Client) DeleteDDoSSpeedLimitConfig(request *DeleteDDoSSpeedLimitConfigRequest) (response *DeleteDDoSSpeedLimitConfigResponse, err error)

DeleteDDoSSpeedLimitConfig This API is used to delete Anti-DDoS access rate limit configurations.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteDDoSSpeedLimitConfigWithContext

func (c *Client) DeleteDDoSSpeedLimitConfigWithContext(ctx context.Context, request *DeleteDDoSSpeedLimitConfigRequest) (response *DeleteDDoSSpeedLimitConfigResponse, err error)

DeleteDDoSSpeedLimitConfig This API is used to delete Anti-DDoS access rate limit configurations.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeletePacketFilterConfig

func (c *Client) DeletePacketFilterConfig(request *DeletePacketFilterConfigRequest) (response *DeletePacketFilterConfigResponse, err error)

DeletePacketFilterConfig This API is used to delete Anti-DDoS feature filtering rules.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeletePacketFilterConfigWithContext

func (c *Client) DeletePacketFilterConfigWithContext(ctx context.Context, request *DeletePacketFilterConfigRequest) (response *DeletePacketFilterConfigResponse, err error)

DeletePacketFilterConfig This API is used to delete Anti-DDoS feature filtering rules.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteWaterPrintConfig

func (c *Client) DeleteWaterPrintConfig(request *DeleteWaterPrintConfigRequest) (response *DeleteWaterPrintConfigResponse, err error)

DeleteWaterPrintConfig This API is used to delete Anti-DDoS watermark configurations.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteWaterPrintConfigWithContext

func (c *Client) DeleteWaterPrintConfigWithContext(ctx context.Context, request *DeleteWaterPrintConfigRequest) (response *DeleteWaterPrintConfigResponse, err error)

DeleteWaterPrintConfig This API is used to delete Anti-DDoS watermark configurations.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteWaterPrintKey

func (c *Client) DeleteWaterPrintKey(request *DeleteWaterPrintKeyRequest) (response *DeleteWaterPrintKeyResponse, err error)

DeleteWaterPrintKey This API is used to delete Anti-DDoS watermark keys.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteWaterPrintKeyWithContext

func (c *Client) DeleteWaterPrintKeyWithContext(ctx context.Context, request *DeleteWaterPrintKeyRequest) (response *DeleteWaterPrintKeyResponse, err error)

DeleteWaterPrintKey This API is used to delete Anti-DDoS watermark keys.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBasicDeviceStatus

func (c *Client) DescribeBasicDeviceStatus(request *DescribeBasicDeviceStatusRequest) (response *DescribeBasicDeviceStatusResponse, err error)

DescribeBasicDeviceStatus This API is used to querying the status of Anti-DDoS IP.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBasicDeviceStatusWithContext

func (c *Client) DescribeBasicDeviceStatusWithContext(ctx context.Context, request *DescribeBasicDeviceStatusRequest) (response *DescribeBasicDeviceStatusResponse, err error)

DescribeBasicDeviceStatus This API is used to querying the status of Anti-DDoS IP.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBgpBizTrend

func (c *Client) DescribeBgpBizTrend(request *DescribeBgpBizTrendRequest) (response *DescribeBgpBizTrendResponse, err error)

DescribeBgpBizTrend This API is used to obtain Anti-DDoS Pro traffic data.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBgpBizTrendWithContext

func (c *Client) DescribeBgpBizTrendWithContext(ctx context.Context, request *DescribeBgpBizTrendRequest) (response *DescribeBgpBizTrendResponse, err error)

DescribeBgpBizTrend This API is used to obtain Anti-DDoS Pro traffic data.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBizHttpStatus

func (c *Client) DescribeBizHttpStatus(request *DescribeBizHttpStatusRequest) (response *DescribeBizHttpStatusResponse, err error)

DescribeBizHttpStatus This API is used to get the statistics on the status codes of business traffic.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeBizHttpStatusWithContext

func (c *Client) DescribeBizHttpStatusWithContext(ctx context.Context, request *DescribeBizHttpStatusRequest) (response *DescribeBizHttpStatusResponse, err error)

DescribeBizHttpStatus This API is used to get the statistics on the status codes of business traffic.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeBizTrend

func (c *Client) DescribeBizTrend(request *DescribeBizTrendRequest) (response *DescribeBizTrendResponse, err error)

DescribeBizTrend This API is used to get the traffic flow data collected in the specified period.

error code that may be returned:

DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DescribeBizTrendWithContext

func (c *Client) DescribeBizTrendWithContext(ctx context.Context, request *DescribeBizTrendRequest) (response *DescribeBizTrendResponse, err error)

DescribeBizTrend This API is used to get the traffic flow data collected in the specified period.

error code that may be returned:

DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DescribeBlackWhiteIpList

func (c *Client) DescribeBlackWhiteIpList(request *DescribeBlackWhiteIpListRequest) (response *DescribeBlackWhiteIpListResponse, err error)

DescribeBlackWhiteIpList This API is used to get an Anti-DDoS IP blocklist/allowlist.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBlackWhiteIpListWithContext

func (c *Client) DescribeBlackWhiteIpListWithContext(ctx context.Context, request *DescribeBlackWhiteIpListRequest) (response *DescribeBlackWhiteIpListResponse, err error)

DescribeBlackWhiteIpList This API is used to get an Anti-DDoS IP blocklist/allowlist.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCCLevelList

func (c *Client) DescribeCCLevelList(request *DescribeCCLevelListRequest) (response *DescribeCCLevelListResponse, err error)

DescribeCCLevelList Gets the list of CC protection levels

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCCLevelListWithContext

func (c *Client) DescribeCCLevelListWithContext(ctx context.Context, request *DescribeCCLevelListRequest) (response *DescribeCCLevelListResponse, err error)

DescribeCCLevelList Gets the list of CC protection levels

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCCLevelPolicy

func (c *Client) DescribeCCLevelPolicy(request *DescribeCCLevelPolicyRequest) (response *DescribeCCLevelPolicyResponse, err error)

DescribeCCLevelPolicy This API is used the query a level-defining policy of CC attacks

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCCLevelPolicyWithContext

func (c *Client) DescribeCCLevelPolicyWithContext(ctx context.Context, request *DescribeCCLevelPolicyRequest) (response *DescribeCCLevelPolicyResponse, err error)

DescribeCCLevelPolicy This API is used the query a level-defining policy of CC attacks

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCCPrecisionPlyList

func (c *Client) DescribeCCPrecisionPlyList(request *DescribeCCPrecisionPlyListRequest) (response *DescribeCCPrecisionPlyListResponse, err error)

DescribeCCPrecisionPlyList This API is used to obtain the list of CC precise protection policies.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCCPrecisionPlyListWithContext

func (c *Client) DescribeCCPrecisionPlyListWithContext(ctx context.Context, request *DescribeCCPrecisionPlyListRequest) (response *DescribeCCPrecisionPlyListResponse, err error)

DescribeCCPrecisionPlyList This API is used to obtain the list of CC precise protection policies.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCCThresholdList

func (c *Client) DescribeCCThresholdList(request *DescribeCCThresholdListRequest) (response *DescribeCCThresholdListResponse, err error)

DescribeCCThresholdList This API is used to query the list of CC cleansing thresholds.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCCThresholdListWithContext

func (c *Client) DescribeCCThresholdListWithContext(ctx context.Context, request *DescribeCCThresholdListRequest) (response *DescribeCCThresholdListResponse, err error)

DescribeCCThresholdList This API is used to query the list of CC cleansing thresholds.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCCTrend

func (c *Client) DescribeCCTrend(request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error)

DescribeCCTrend This API is used to get CC attack data, including total QPS peaks, attack QPS, total number of requests and number of attack requests.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCCTrendWithContext

func (c *Client) DescribeCCTrendWithContext(ctx context.Context, request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error)

DescribeCCTrend This API is used to get CC attack data, including total QPS peaks, attack QPS, total number of requests and number of attack requests.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCcBlackWhiteIpList

func (c *Client) DescribeCcBlackWhiteIpList(request *DescribeCcBlackWhiteIpListRequest) (response *DescribeCcBlackWhiteIpListResponse, err error)

DescribeCcBlackWhiteIpList This API is used to obtain the layer-4 access control list.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCcBlackWhiteIpListWithContext

func (c *Client) DescribeCcBlackWhiteIpListWithContext(ctx context.Context, request *DescribeCcBlackWhiteIpListRequest) (response *DescribeCcBlackWhiteIpListResponse, err error)

DescribeCcBlackWhiteIpList This API is used to obtain the layer-4 access control list.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCcGeoIPBlockConfigList

func (c *Client) DescribeCcGeoIPBlockConfigList(request *DescribeCcGeoIPBlockConfigListRequest) (response *DescribeCcGeoIPBlockConfigListResponse, err error)

DescribeCcGeoIPBlockConfigList This API is used to obtain a list of regional blocking configurations.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCcGeoIPBlockConfigListWithContext

func (c *Client) DescribeCcGeoIPBlockConfigListWithContext(ctx context.Context, request *DescribeCcGeoIPBlockConfigListRequest) (response *DescribeCcGeoIPBlockConfigListResponse, err error)

DescribeCcGeoIPBlockConfigList This API is used to obtain a list of regional blocking configurations.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDDoSTrend

func (c *Client) DescribeDDoSTrend(request *DescribeDDoSTrendRequest) (response *DescribeDDoSTrendResponse, err error)

DescribeDDoSTrend This API is used to get DDoS attack traffic bandwidth and attack packet rate.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDDoSTrendWithContext

func (c *Client) DescribeDDoSTrendWithContext(ctx context.Context, request *DescribeDDoSTrendRequest) (response *DescribeDDoSTrendResponse, err error)

DescribeDDoSTrend This API is used to get DDoS attack traffic bandwidth and attack packet rate.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDefaultAlarmThreshold

func (c *Client) DescribeDefaultAlarmThreshold(request *DescribeDefaultAlarmThresholdRequest) (response *DescribeDefaultAlarmThresholdResponse, err error)

DescribeDefaultAlarmThreshold This API is used to get the default alarm threshold of an IP.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDefaultAlarmThresholdWithContext

func (c *Client) DescribeDefaultAlarmThresholdWithContext(ctx context.Context, request *DescribeDefaultAlarmThresholdRequest) (response *DescribeDefaultAlarmThresholdResponse, err error)

DescribeDefaultAlarmThreshold This API is used to get the default alarm threshold of an IP.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeL7RulesBySSLCertId

func (c *Client) DescribeL7RulesBySSLCertId(request *DescribeL7RulesBySSLCertIdRequest) (response *DescribeL7RulesBySSLCertIdResponse, err error)

DescribeL7RulesBySSLCertId This API is used to query layer-7 rules matched with certificate IDs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeL7RulesBySSLCertIdWithContext

func (c *Client) DescribeL7RulesBySSLCertIdWithContext(ctx context.Context, request *DescribeL7RulesBySSLCertIdRequest) (response *DescribeL7RulesBySSLCertIdResponse, err error)

DescribeL7RulesBySSLCertId This API is used to query layer-7 rules matched with certificate IDs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeListBGPIPInstances

func (c *Client) DescribeListBGPIPInstances(request *DescribeListBGPIPInstancesRequest) (response *DescribeListBGPIPInstancesResponse, err error)

DescribeListBGPIPInstances This API is used to get a list of Anti-DDoS Advanced instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListBGPIPInstancesWithContext

func (c *Client) DescribeListBGPIPInstancesWithContext(ctx context.Context, request *DescribeListBGPIPInstancesRequest) (response *DescribeListBGPIPInstancesResponse, err error)

DescribeListBGPIPInstances This API is used to get a list of Anti-DDoS Advanced instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListBGPInstances

func (c *Client) DescribeListBGPInstances(request *DescribeListBGPInstancesRequest) (response *DescribeListBGPInstancesResponse, err error)

DescribeListBGPInstances This API is used to get the list of Anti-DDoS Pro instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListBGPInstancesWithContext

func (c *Client) DescribeListBGPInstancesWithContext(ctx context.Context, request *DescribeListBGPInstancesRequest) (response *DescribeListBGPInstancesResponse, err error)

DescribeListBGPInstances This API is used to get the list of Anti-DDoS Pro instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListBlackWhiteIpList

func (c *Client) DescribeListBlackWhiteIpList(request *DescribeListBlackWhiteIpListRequest) (response *DescribeListBlackWhiteIpListResponse, err error)

DescribeListBlackWhiteIpList This API is used to get a list of Anti-DDoS IP blocklists/allowlists.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListBlackWhiteIpListWithContext

func (c *Client) DescribeListBlackWhiteIpListWithContext(ctx context.Context, request *DescribeListBlackWhiteIpListRequest) (response *DescribeListBlackWhiteIpListResponse, err error)

DescribeListBlackWhiteIpList This API is used to get a list of Anti-DDoS IP blocklists/allowlists.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListDDoSAI

func (c *Client) DescribeListDDoSAI(request *DescribeListDDoSAIRequest) (response *DescribeListDDoSAIResponse, err error)

DescribeListDDoSAI This API is used to get a list of Anti-DDoS AI protection switches.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListDDoSAIWithContext

func (c *Client) DescribeListDDoSAIWithContext(ctx context.Context, request *DescribeListDDoSAIRequest) (response *DescribeListDDoSAIResponse, err error)

DescribeListDDoSAI This API is used to get a list of Anti-DDoS AI protection switches.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListDDoSGeoIPBlockConfig

func (c *Client) DescribeListDDoSGeoIPBlockConfig(request *DescribeListDDoSGeoIPBlockConfigRequest) (response *DescribeListDDoSGeoIPBlockConfigResponse, err error)

DescribeListDDoSGeoIPBlockConfig This API is used to get a list of Anti-DDoS region blocking configurations.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListDDoSGeoIPBlockConfigWithContext

func (c *Client) DescribeListDDoSGeoIPBlockConfigWithContext(ctx context.Context, request *DescribeListDDoSGeoIPBlockConfigRequest) (response *DescribeListDDoSGeoIPBlockConfigResponse, err error)

DescribeListDDoSGeoIPBlockConfig This API is used to get a list of Anti-DDoS region blocking configurations.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListDDoSSpeedLimitConfig

func (c *Client) DescribeListDDoSSpeedLimitConfig(request *DescribeListDDoSSpeedLimitConfigRequest) (response *DescribeListDDoSSpeedLimitConfigResponse, err error)

DescribeListDDoSSpeedLimitConfig This API is used to get a list of Anti-DDoS access rate limit configurations.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListDDoSSpeedLimitConfigWithContext

func (c *Client) DescribeListDDoSSpeedLimitConfigWithContext(ctx context.Context, request *DescribeListDDoSSpeedLimitConfigRequest) (response *DescribeListDDoSSpeedLimitConfigResponse, err error)

DescribeListDDoSSpeedLimitConfig This API is used to get a list of Anti-DDoS access rate limit configurations.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListIPAlarmConfig

func (c *Client) DescribeListIPAlarmConfig(request *DescribeListIPAlarmConfigRequest) (response *DescribeListIPAlarmConfigResponse, err error)

DescribeListIPAlarmConfig This API is used to get a list of IP alarm threshold configurations.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListIPAlarmConfigWithContext

func (c *Client) DescribeListIPAlarmConfigWithContext(ctx context.Context, request *DescribeListIPAlarmConfigRequest) (response *DescribeListIPAlarmConfigResponse, err error)

DescribeListIPAlarmConfig This API is used to get a list of IP alarm threshold configurations.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListListener

func (c *Client) DescribeListListener(request *DescribeListListenerRequest) (response *DescribeListListenerResponse, err error)

DescribeListListener This API is used to get a list of forwarding listeners.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListListenerWithContext

func (c *Client) DescribeListListenerWithContext(ctx context.Context, request *DescribeListListenerRequest) (response *DescribeListListenerResponse, err error)

DescribeListListener This API is used to get a list of forwarding listeners.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListPacketFilterConfig

func (c *Client) DescribeListPacketFilterConfig(request *DescribeListPacketFilterConfigRequest) (response *DescribeListPacketFilterConfigResponse, err error)

DescribeListPacketFilterConfig This API is used to get a list of Anti-DDoS feature filtering rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListPacketFilterConfigWithContext

func (c *Client) DescribeListPacketFilterConfigWithContext(ctx context.Context, request *DescribeListPacketFilterConfigRequest) (response *DescribeListPacketFilterConfigResponse, err error)

DescribeListPacketFilterConfig This API is used to get a list of Anti-DDoS feature filtering rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListProtectThresholdConfig

func (c *Client) DescribeListProtectThresholdConfig(request *DescribeListProtectThresholdConfigRequest) (response *DescribeListProtectThresholdConfigResponse, err error)

DescribeListProtectThresholdConfig This API is used to get a list of protection threshold configurations for AI protection switch, protection level, and CC threshold switch.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListProtectThresholdConfigWithContext

func (c *Client) DescribeListProtectThresholdConfigWithContext(ctx context.Context, request *DescribeListProtectThresholdConfigRequest) (response *DescribeListProtectThresholdConfigResponse, err error)

DescribeListProtectThresholdConfig This API is used to get a list of protection threshold configurations for AI protection switch, protection level, and CC threshold switch.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListProtocolBlockConfig

func (c *Client) DescribeListProtocolBlockConfig(request *DescribeListProtocolBlockConfigRequest) (response *DescribeListProtocolBlockConfigResponse, err error)

DescribeListProtocolBlockConfig This API is used to get a list of Anti-DDoS protocol blocking configurations.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListProtocolBlockConfigWithContext

func (c *Client) DescribeListProtocolBlockConfigWithContext(ctx context.Context, request *DescribeListProtocolBlockConfigRequest) (response *DescribeListProtocolBlockConfigResponse, err error)

DescribeListProtocolBlockConfig This API is used to get a list of Anti-DDoS protocol blocking configurations.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListSchedulingDomain

func (c *Client) DescribeListSchedulingDomain(request *DescribeListSchedulingDomainRequest) (response *DescribeListSchedulingDomainResponse, err error)

DescribeListSchedulingDomain This API is used to get a list of intelligent scheduling domain names.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListSchedulingDomainWithContext

func (c *Client) DescribeListSchedulingDomainWithContext(ctx context.Context, request *DescribeListSchedulingDomainRequest) (response *DescribeListSchedulingDomainResponse, err error)

DescribeListSchedulingDomain This API is used to get a list of intelligent scheduling domain names.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListWaterPrintConfig

func (c *Client) DescribeListWaterPrintConfig(request *DescribeListWaterPrintConfigRequest) (response *DescribeListWaterPrintConfigResponse, err error)

DescribeListWaterPrintConfig This API is used to get a list of Anti-DDoS watermark configurations.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeListWaterPrintConfigWithContext

func (c *Client) DescribeListWaterPrintConfigWithContext(ctx context.Context, request *DescribeListWaterPrintConfigRequest) (response *DescribeListWaterPrintConfigResponse, err error)

DescribeListWaterPrintConfig This API is used to get a list of Anti-DDoS watermark configurations.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeNewL7Rules

func (c *Client) DescribeNewL7Rules(request *DescribeNewL7RulesRequest) (response *DescribeNewL7RulesResponse, err error)

DescribeNewL7Rules This API is used to obtain layer-7 forwarding rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeNewL7RulesErrHealth

func (c *Client) DescribeNewL7RulesErrHealth(request *DescribeNewL7RulesErrHealthRequest) (response *DescribeNewL7RulesErrHealthResponse, err error)

DescribeNewL7RulesErrHealth This API is used to getting the exception results of the health check on layer-7 forwarding rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeNewL7RulesErrHealthWithContext

func (c *Client) DescribeNewL7RulesErrHealthWithContext(ctx context.Context, request *DescribeNewL7RulesErrHealthRequest) (response *DescribeNewL7RulesErrHealthResponse, err error)

DescribeNewL7RulesErrHealth This API is used to getting the exception results of the health check on layer-7 forwarding rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeNewL7RulesWithContext

func (c *Client) DescribeNewL7RulesWithContext(ctx context.Context, request *DescribeNewL7RulesRequest) (response *DescribeNewL7RulesResponse, err error)

DescribeNewL7Rules This API is used to obtain layer-7 forwarding rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"

func (*Client) DescribeOverviewDDoSEventList

func (c *Client) DescribeOverviewDDoSEventList(request *DescribeOverviewDDoSEventListRequest) (response *DescribeOverviewDDoSEventListResponse, err error)

DescribeOverviewDDoSEventList This API is used to obtain the list of DDoS attacks.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeOverviewDDoSEventListWithContext

func (c *Client) DescribeOverviewDDoSEventListWithContext(ctx context.Context, request *DescribeOverviewDDoSEventListRequest) (response *DescribeOverviewDDoSEventListResponse, err error)

DescribeOverviewDDoSEventList This API is used to obtain the list of DDoS attacks.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribePendingRiskInfo

func (c *Client) DescribePendingRiskInfo(request *DescribePendingRiskInfoRequest) (response *DescribePendingRiskInfoResponse, err error)

DescribePendingRiskInfo This API is used to query the information of pending risks at the account level.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribePendingRiskInfoWithContext

func (c *Client) DescribePendingRiskInfoWithContext(ctx context.Context, request *DescribePendingRiskInfoRequest) (response *DescribePendingRiskInfoResponse, err error)

DescribePendingRiskInfo This API is used to query the information of pending risks at the account level.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DisassociateDDoSEipAddress

func (c *Client) DisassociateDDoSEipAddress(request *DisassociateDDoSEipAddressRequest) (response *DisassociateDDoSEipAddressResponse, err error)

DisassociateDDoSEipAddress This API is used to unbind an Anti-DDoS EIP.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DisassociateDDoSEipAddressWithContext

func (c *Client) DisassociateDDoSEipAddressWithContext(ctx context.Context, request *DisassociateDDoSEipAddressRequest) (response *DisassociateDDoSEipAddressResponse, err error)

DisassociateDDoSEipAddress This API is used to unbind an Anti-DDoS EIP.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyCCPrecisionPolicy

func (c *Client) ModifyCCPrecisionPolicy(request *ModifyCCPrecisionPolicyRequest) (response *ModifyCCPrecisionPolicyResponse, err error)

ModifyCCPrecisionPolicy This API is used to modify a CC precise protection policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyCCPrecisionPolicyWithContext

func (c *Client) ModifyCCPrecisionPolicyWithContext(ctx context.Context, request *ModifyCCPrecisionPolicyRequest) (response *ModifyCCPrecisionPolicyResponse, err error)

ModifyCCPrecisionPolicy This API is used to modify a CC precise protection policy.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyCcBlackWhiteIpList

func (c *Client) ModifyCcBlackWhiteIpList(request *ModifyCcBlackWhiteIpListRequest) (response *ModifyCcBlackWhiteIpListResponse, err error)

ModifyCcBlackWhiteIpList This API is used to modify a layer-4 access control list.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyCcBlackWhiteIpListWithContext

func (c *Client) ModifyCcBlackWhiteIpListWithContext(ctx context.Context, request *ModifyCcBlackWhiteIpListRequest) (response *ModifyCcBlackWhiteIpListResponse, err error)

ModifyCcBlackWhiteIpList This API is used to modify a layer-4 access control list.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDDoSGeoIPBlockConfig

func (c *Client) ModifyDDoSGeoIPBlockConfig(request *ModifyDDoSGeoIPBlockConfigRequest) (response *ModifyDDoSGeoIPBlockConfigResponse, err error)

ModifyDDoSGeoIPBlockConfig This API is used to modify Anti-DDoS region blocking configurations.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyDDoSGeoIPBlockConfigWithContext

func (c *Client) ModifyDDoSGeoIPBlockConfigWithContext(ctx context.Context, request *ModifyDDoSGeoIPBlockConfigRequest) (response *ModifyDDoSGeoIPBlockConfigResponse, err error)

ModifyDDoSGeoIPBlockConfig This API is used to modify Anti-DDoS region blocking configurations.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyDDoSSpeedLimitConfig

func (c *Client) ModifyDDoSSpeedLimitConfig(request *ModifyDDoSSpeedLimitConfigRequest) (response *ModifyDDoSSpeedLimitConfigResponse, err error)

ModifyDDoSSpeedLimitConfig This API is used to modify Anti-DDoS access rate limit configurations.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyDDoSSpeedLimitConfigWithContext

func (c *Client) ModifyDDoSSpeedLimitConfigWithContext(ctx context.Context, request *ModifyDDoSSpeedLimitConfigRequest) (response *ModifyDDoSSpeedLimitConfigResponse, err error)

ModifyDDoSSpeedLimitConfig This API is used to modify Anti-DDoS access rate limit configurations.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyDomainUsrName

func (c *Client) ModifyDomainUsrName(request *ModifyDomainUsrNameRequest) (response *ModifyDomainUsrNameResponse, err error)

ModifyDomainUsrName This API is used to modify intelligent scheduling domain names.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyDomainUsrNameWithContext

func (c *Client) ModifyDomainUsrNameWithContext(ctx context.Context, request *ModifyDomainUsrNameRequest) (response *ModifyDomainUsrNameResponse, err error)

ModifyDomainUsrName This API is used to modify intelligent scheduling domain names.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyNewDomainRules

func (c *Client) ModifyNewDomainRules(request *ModifyNewDomainRulesRequest) (response *ModifyNewDomainRulesResponse, err error)

ModifyNewDomainRules This API is used to modify layer-7 forwarding rules.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyNewDomainRulesWithContext

func (c *Client) ModifyNewDomainRulesWithContext(ctx context.Context, request *ModifyNewDomainRulesRequest) (response *ModifyNewDomainRulesResponse, err error)

ModifyNewDomainRules This API is used to modify layer-7 forwarding rules.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyPacketFilterConfig

func (c *Client) ModifyPacketFilterConfig(request *ModifyPacketFilterConfigRequest) (response *ModifyPacketFilterConfigResponse, err error)

ModifyPacketFilterConfig This API is used to modify Anti-DDoS feature filtering rules.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyPacketFilterConfigWithContext

func (c *Client) ModifyPacketFilterConfigWithContext(ctx context.Context, request *ModifyPacketFilterConfigRequest) (response *ModifyPacketFilterConfigResponse, err error)

ModifyPacketFilterConfig This API is used to modify Anti-DDoS feature filtering rules.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SwitchWaterPrintConfig

func (c *Client) SwitchWaterPrintConfig(request *SwitchWaterPrintConfigRequest) (response *SwitchWaterPrintConfigResponse, err error)

SwitchWaterPrintConfig This API is used to enable or disable Anti-DDoS watermark configurations.

error code that may be returned:

INTERNALERROR = "InternalError"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SwitchWaterPrintConfigWithContext

func (c *Client) SwitchWaterPrintConfigWithContext(ctx context.Context, request *SwitchWaterPrintConfigRequest) (response *SwitchWaterPrintConfigResponse, err error)

SwitchWaterPrintConfig This API is used to enable or disable Anti-DDoS watermark configurations.

error code that may be returned:

INTERNALERROR = "InternalError"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

type CreateBlackWhiteIpListRequest

type CreateBlackWhiteIpListRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// List of IPs
	IpList []*string `json:"IpList,omitempty" name:"IpList"`

	// IP type. Valid values: `black` (blocklisted IP), `white`(allowlisted IP).
	Type *string `json:"Type,omitempty" name:"Type"`
}

func NewCreateBlackWhiteIpListRequest

func NewCreateBlackWhiteIpListRequest() (request *CreateBlackWhiteIpListRequest)

func (*CreateBlackWhiteIpListRequest) FromJsonString

func (r *CreateBlackWhiteIpListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBlackWhiteIpListRequest) ToJsonString

func (r *CreateBlackWhiteIpListRequest) ToJsonString() string

type CreateBlackWhiteIpListRequestParams

type CreateBlackWhiteIpListRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// List of IPs
	IpList []*string `json:"IpList,omitempty" name:"IpList"`

	// IP type. Valid values: `black` (blocklisted IP), `white`(allowlisted IP).
	Type *string `json:"Type,omitempty" name:"Type"`
}

Predefined struct for user

type CreateBlackWhiteIpListResponse

type CreateBlackWhiteIpListResponse struct {
	*tchttp.BaseResponse
	Response *CreateBlackWhiteIpListResponseParams `json:"Response"`
}

func NewCreateBlackWhiteIpListResponse

func NewCreateBlackWhiteIpListResponse() (response *CreateBlackWhiteIpListResponse)

func (*CreateBlackWhiteIpListResponse) FromJsonString

func (r *CreateBlackWhiteIpListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBlackWhiteIpListResponse) ToJsonString

func (r *CreateBlackWhiteIpListResponse) ToJsonString() string

type CreateBlackWhiteIpListResponseParams

type CreateBlackWhiteIpListResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateBoundIPRequest

type CreateBoundIPRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS service type. `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP)
	Business *string `json:"Business,omitempty" name:"Business"`

	// Anti-DDoS instance ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Array of IPs to bind to the Anti-DDoS instance. For Anti-DDoS Pro Single IP instance, the array contains only one IP. If there are no IPs to bind, it is empty; however, either `BoundDevList` or `UnBoundDevList` must not be empty.
	BoundDevList []*BoundIpInfo `json:"BoundDevList,omitempty" name:"BoundDevList"`

	// Array of IPs to unbind from the Anti-DDoS instance. For Anti-DDoS Pro Single IP instance, the array contains only one IP; if there are no IPs to unbind, it is empty; however, either `BoundDevList` or `UnBoundDevList` must not be empty.
	UnBoundDevList []*BoundIpInfo `json:"UnBoundDevList,omitempty" name:"UnBoundDevList"`

	// Disused
	CopyPolicy *string `json:"CopyPolicy,omitempty" name:"CopyPolicy"`
}

func NewCreateBoundIPRequest

func NewCreateBoundIPRequest() (request *CreateBoundIPRequest)

func (*CreateBoundIPRequest) FromJsonString

func (r *CreateBoundIPRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBoundIPRequest) ToJsonString

func (r *CreateBoundIPRequest) ToJsonString() string

type CreateBoundIPRequestParams

type CreateBoundIPRequestParams struct {
	// Anti-DDoS service type. `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP)
	Business *string `json:"Business,omitempty" name:"Business"`

	// Anti-DDoS instance ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Array of IPs to bind to the Anti-DDoS instance. For Anti-DDoS Pro Single IP instance, the array contains only one IP. If there are no IPs to bind, it is empty; however, either `BoundDevList` or `UnBoundDevList` must not be empty.
	BoundDevList []*BoundIpInfo `json:"BoundDevList,omitempty" name:"BoundDevList"`

	// Array of IPs to unbind from the Anti-DDoS instance. For Anti-DDoS Pro Single IP instance, the array contains only one IP; if there are no IPs to unbind, it is empty; however, either `BoundDevList` or `UnBoundDevList` must not be empty.
	UnBoundDevList []*BoundIpInfo `json:"UnBoundDevList,omitempty" name:"UnBoundDevList"`

	// Disused
	CopyPolicy *string `json:"CopyPolicy,omitempty" name:"CopyPolicy"`
}

Predefined struct for user

type CreateBoundIPResponse

type CreateBoundIPResponse struct {
	*tchttp.BaseResponse
	Response *CreateBoundIPResponseParams `json:"Response"`
}

func NewCreateBoundIPResponse

func NewCreateBoundIPResponse() (response *CreateBoundIPResponse)

func (*CreateBoundIPResponse) FromJsonString

func (r *CreateBoundIPResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBoundIPResponse) ToJsonString

func (r *CreateBoundIPResponse) ToJsonString() string

type CreateBoundIPResponseParams

type CreateBoundIPResponseParams struct {
	// Success code
	Success *SuccessCode `json:"Success,omitempty" name:"Success"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateCCPrecisionPolicyRequest

type CreateCCPrecisionPolicyRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP address
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Protocol. Valid values: `HTTP` and `HTTPS`.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Action of limiting request frequency. Valid values: `alg` (limit request frequency via verification codes) and `drop`(drop requests).
	PolicyAction *string `json:"PolicyAction,omitempty" name:"PolicyAction"`

	// Policy records
	PolicyList []*CCPrecisionPlyRecord `json:"PolicyList,omitempty" name:"PolicyList"`
}

func NewCreateCCPrecisionPolicyRequest

func NewCreateCCPrecisionPolicyRequest() (request *CreateCCPrecisionPolicyRequest)

func (*CreateCCPrecisionPolicyRequest) FromJsonString

func (r *CreateCCPrecisionPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCCPrecisionPolicyRequest) ToJsonString

func (r *CreateCCPrecisionPolicyRequest) ToJsonString() string

type CreateCCPrecisionPolicyRequestParams

type CreateCCPrecisionPolicyRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP address
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Protocol. Valid values: `HTTP` and `HTTPS`.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Action of limiting request frequency. Valid values: `alg` (limit request frequency via verification codes) and `drop`(drop requests).
	PolicyAction *string `json:"PolicyAction,omitempty" name:"PolicyAction"`

	// Policy records
	PolicyList []*CCPrecisionPlyRecord `json:"PolicyList,omitempty" name:"PolicyList"`
}

Predefined struct for user

type CreateCCPrecisionPolicyResponse

type CreateCCPrecisionPolicyResponse struct {
	*tchttp.BaseResponse
	Response *CreateCCPrecisionPolicyResponseParams `json:"Response"`
}

func NewCreateCCPrecisionPolicyResponse

func NewCreateCCPrecisionPolicyResponse() (response *CreateCCPrecisionPolicyResponse)

func (*CreateCCPrecisionPolicyResponse) FromJsonString

func (r *CreateCCPrecisionPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCCPrecisionPolicyResponse) ToJsonString

func (r *CreateCCPrecisionPolicyResponse) ToJsonString() string

type CreateCCPrecisionPolicyResponseParams

type CreateCCPrecisionPolicyResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateCCReqLimitPolicyRequest

type CreateCCReqLimitPolicyRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP address
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Protocol. Valid values: `HTTP` and `HTTPS`.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Configuration field
	Policy *CCReqLimitPolicyRecord `json:"Policy,omitempty" name:"Policy"`

	// Whether it’s a global CC frequency limit
	IsGlobal *int64 `json:"IsGlobal,omitempty" name:"IsGlobal"`
}

func NewCreateCCReqLimitPolicyRequest

func NewCreateCCReqLimitPolicyRequest() (request *CreateCCReqLimitPolicyRequest)

func (*CreateCCReqLimitPolicyRequest) FromJsonString

func (r *CreateCCReqLimitPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCCReqLimitPolicyRequest) ToJsonString

func (r *CreateCCReqLimitPolicyRequest) ToJsonString() string

type CreateCCReqLimitPolicyRequestParams

type CreateCCReqLimitPolicyRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP address
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Protocol. Valid values: `HTTP` and `HTTPS`.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Configuration field
	Policy *CCReqLimitPolicyRecord `json:"Policy,omitempty" name:"Policy"`

	// Whether it’s a global CC frequency limit
	IsGlobal *int64 `json:"IsGlobal,omitempty" name:"IsGlobal"`
}

Predefined struct for user

type CreateCCReqLimitPolicyResponse

type CreateCCReqLimitPolicyResponse struct {
	*tchttp.BaseResponse
	Response *CreateCCReqLimitPolicyResponseParams `json:"Response"`
}

func NewCreateCCReqLimitPolicyResponse

func NewCreateCCReqLimitPolicyResponse() (response *CreateCCReqLimitPolicyResponse)

func (*CreateCCReqLimitPolicyResponse) FromJsonString

func (r *CreateCCReqLimitPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCCReqLimitPolicyResponse) ToJsonString

func (r *CreateCCReqLimitPolicyResponse) ToJsonString() string

type CreateCCReqLimitPolicyResponseParams

type CreateCCReqLimitPolicyResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateCcBlackWhiteIpListRequest

type CreateCcBlackWhiteIpListRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// List of IPs
	IpList []*IpSegment `json:"IpList,omitempty" name:"IpList"`

	// IP permission. Valid values: `black` (blocked IP), `white` (allowed IP).
	Type *string `json:"Type,omitempty" name:"Type"`

	// IP address
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
}

func NewCreateCcBlackWhiteIpListRequest

func NewCreateCcBlackWhiteIpListRequest() (request *CreateCcBlackWhiteIpListRequest)

func (*CreateCcBlackWhiteIpListRequest) FromJsonString

func (r *CreateCcBlackWhiteIpListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCcBlackWhiteIpListRequest) ToJsonString

func (r *CreateCcBlackWhiteIpListRequest) ToJsonString() string

type CreateCcBlackWhiteIpListRequestParams

type CreateCcBlackWhiteIpListRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// List of IPs
	IpList []*IpSegment `json:"IpList,omitempty" name:"IpList"`

	// IP permission. Valid values: `black` (blocked IP), `white` (allowed IP).
	Type *string `json:"Type,omitempty" name:"Type"`

	// IP address
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
}

Predefined struct for user

type CreateCcBlackWhiteIpListResponse

type CreateCcBlackWhiteIpListResponse struct {
	*tchttp.BaseResponse
	Response *CreateCcBlackWhiteIpListResponseParams `json:"Response"`
}

func NewCreateCcBlackWhiteIpListResponse

func NewCreateCcBlackWhiteIpListResponse() (response *CreateCcBlackWhiteIpListResponse)

func (*CreateCcBlackWhiteIpListResponse) FromJsonString

func (r *CreateCcBlackWhiteIpListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCcBlackWhiteIpListResponse) ToJsonString

func (r *CreateCcBlackWhiteIpListResponse) ToJsonString() string

type CreateCcBlackWhiteIpListResponseParams

type CreateCcBlackWhiteIpListResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateCcGeoIPBlockConfigRequest

type CreateCcGeoIPBlockConfigRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP address
	IP *string `json:"IP,omitempty" name:"IP"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol type
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// CC regional blocking configuration
	CcGeoIPBlockConfig *CcGeoIPBlockConfig `json:"CcGeoIPBlockConfig,omitempty" name:"CcGeoIPBlockConfig"`
}

func NewCreateCcGeoIPBlockConfigRequest

func NewCreateCcGeoIPBlockConfigRequest() (request *CreateCcGeoIPBlockConfigRequest)

func (*CreateCcGeoIPBlockConfigRequest) FromJsonString

func (r *CreateCcGeoIPBlockConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCcGeoIPBlockConfigRequest) ToJsonString

func (r *CreateCcGeoIPBlockConfigRequest) ToJsonString() string

type CreateCcGeoIPBlockConfigRequestParams

type CreateCcGeoIPBlockConfigRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP address
	IP *string `json:"IP,omitempty" name:"IP"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol type
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// CC regional blocking configuration
	CcGeoIPBlockConfig *CcGeoIPBlockConfig `json:"CcGeoIPBlockConfig,omitempty" name:"CcGeoIPBlockConfig"`
}

Predefined struct for user

type CreateCcGeoIPBlockConfigResponse

type CreateCcGeoIPBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *CreateCcGeoIPBlockConfigResponseParams `json:"Response"`
}

func NewCreateCcGeoIPBlockConfigResponse

func NewCreateCcGeoIPBlockConfigResponse() (response *CreateCcGeoIPBlockConfigResponse)

func (*CreateCcGeoIPBlockConfigResponse) FromJsonString

func (r *CreateCcGeoIPBlockConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCcGeoIPBlockConfigResponse) ToJsonString

func (r *CreateCcGeoIPBlockConfigResponse) ToJsonString() string

type CreateCcGeoIPBlockConfigResponseParams

type CreateCcGeoIPBlockConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDDoSAIRequest

type CreateDDoSAIRequest struct {
	*tchttp.BaseRequest

	// List of Anti-DDoS instance IDs
	InstanceIdList []*string `json:"InstanceIdList,omitempty" name:"InstanceIdList"`

	// AI protection switch. Valid values:
	// `on`: enabled
	// `off`: disabled
	// ]
	DDoSAI *string `json:"DDoSAI,omitempty" name:"DDoSAI"`
}

func NewCreateDDoSAIRequest

func NewCreateDDoSAIRequest() (request *CreateDDoSAIRequest)

func (*CreateDDoSAIRequest) FromJsonString

func (r *CreateDDoSAIRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDDoSAIRequest) ToJsonString

func (r *CreateDDoSAIRequest) ToJsonString() string

type CreateDDoSAIRequestParams

type CreateDDoSAIRequestParams struct {
	// List of Anti-DDoS instance IDs
	InstanceIdList []*string `json:"InstanceIdList,omitempty" name:"InstanceIdList"`

	// AI protection switch. Valid values:
	// `on`: enabled
	// `off`: disabled
	// ]
	DDoSAI *string `json:"DDoSAI,omitempty" name:"DDoSAI"`
}

Predefined struct for user

type CreateDDoSAIResponse

type CreateDDoSAIResponse struct {
	*tchttp.BaseResponse
	Response *CreateDDoSAIResponseParams `json:"Response"`
}

func NewCreateDDoSAIResponse

func NewCreateDDoSAIResponse() (response *CreateDDoSAIResponse)

func (*CreateDDoSAIResponse) FromJsonString

func (r *CreateDDoSAIResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDDoSAIResponse) ToJsonString

func (r *CreateDDoSAIResponse) ToJsonString() string

type CreateDDoSAIResponseParams

type CreateDDoSAIResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDDoSGeoIPBlockConfigRequest

type CreateDDoSGeoIPBlockConfigRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Region blocking configuration. The configuration ID should be cleared when you set this parameter.
	DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitempty" name:"DDoSGeoIPBlockConfig"`
}

func NewCreateDDoSGeoIPBlockConfigRequest

func NewCreateDDoSGeoIPBlockConfigRequest() (request *CreateDDoSGeoIPBlockConfigRequest)

func (*CreateDDoSGeoIPBlockConfigRequest) FromJsonString

func (r *CreateDDoSGeoIPBlockConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDDoSGeoIPBlockConfigRequest) ToJsonString

func (r *CreateDDoSGeoIPBlockConfigRequest) ToJsonString() string

type CreateDDoSGeoIPBlockConfigRequestParams

type CreateDDoSGeoIPBlockConfigRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Region blocking configuration. The configuration ID should be cleared when you set this parameter.
	DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitempty" name:"DDoSGeoIPBlockConfig"`
}

Predefined struct for user

type CreateDDoSGeoIPBlockConfigResponse

type CreateDDoSGeoIPBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *CreateDDoSGeoIPBlockConfigResponseParams `json:"Response"`
}

func NewCreateDDoSGeoIPBlockConfigResponse

func NewCreateDDoSGeoIPBlockConfigResponse() (response *CreateDDoSGeoIPBlockConfigResponse)

func (*CreateDDoSGeoIPBlockConfigResponse) FromJsonString

func (r *CreateDDoSGeoIPBlockConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDDoSGeoIPBlockConfigResponse) ToJsonString

func (r *CreateDDoSGeoIPBlockConfigResponse) ToJsonString() string

type CreateDDoSGeoIPBlockConfigResponseParams

type CreateDDoSGeoIPBlockConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDDoSSpeedLimitConfigRequest

type CreateDDoSSpeedLimitConfigRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Access rate limit configuration. The configuration ID should be cleared when you set this parameter.
	DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitempty" name:"DDoSSpeedLimitConfig"`
}

func NewCreateDDoSSpeedLimitConfigRequest

func NewCreateDDoSSpeedLimitConfigRequest() (request *CreateDDoSSpeedLimitConfigRequest)

func (*CreateDDoSSpeedLimitConfigRequest) FromJsonString

func (r *CreateDDoSSpeedLimitConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDDoSSpeedLimitConfigRequest) ToJsonString

func (r *CreateDDoSSpeedLimitConfigRequest) ToJsonString() string

type CreateDDoSSpeedLimitConfigRequestParams

type CreateDDoSSpeedLimitConfigRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Access rate limit configuration. The configuration ID should be cleared when you set this parameter.
	DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitempty" name:"DDoSSpeedLimitConfig"`
}

Predefined struct for user

type CreateDDoSSpeedLimitConfigResponse

type CreateDDoSSpeedLimitConfigResponse struct {
	*tchttp.BaseResponse
	Response *CreateDDoSSpeedLimitConfigResponseParams `json:"Response"`
}

func NewCreateDDoSSpeedLimitConfigResponse

func NewCreateDDoSSpeedLimitConfigResponse() (response *CreateDDoSSpeedLimitConfigResponse)

func (*CreateDDoSSpeedLimitConfigResponse) FromJsonString

func (r *CreateDDoSSpeedLimitConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDDoSSpeedLimitConfigResponse) ToJsonString

func (r *CreateDDoSSpeedLimitConfigResponse) ToJsonString() string

type CreateDDoSSpeedLimitConfigResponseParams

type CreateDDoSSpeedLimitConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDefaultAlarmThresholdRequest

type CreateDefaultAlarmThresholdRequest struct {
	*tchttp.BaseRequest

	// Default alarm threshold configuration
	DefaultAlarmConfig *DefaultAlarmThreshold `json:"DefaultAlarmConfig,omitempty" name:"DefaultAlarmConfig"`

	// Product category. Valid values:
	// `bgp`: Anti-DDoS Pro
	// `bgpip`: Anti-DDoS Advanced
	// ]
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`
}

func NewCreateDefaultAlarmThresholdRequest

func NewCreateDefaultAlarmThresholdRequest() (request *CreateDefaultAlarmThresholdRequest)

func (*CreateDefaultAlarmThresholdRequest) FromJsonString

func (r *CreateDefaultAlarmThresholdRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDefaultAlarmThresholdRequest) ToJsonString

func (r *CreateDefaultAlarmThresholdRequest) ToJsonString() string

type CreateDefaultAlarmThresholdRequestParams

type CreateDefaultAlarmThresholdRequestParams struct {
	// Default alarm threshold configuration
	DefaultAlarmConfig *DefaultAlarmThreshold `json:"DefaultAlarmConfig,omitempty" name:"DefaultAlarmConfig"`

	// Product category. Valid values:
	// `bgp`: Anti-DDoS Pro
	// `bgpip`: Anti-DDoS Advanced
	// ]
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`
}

Predefined struct for user

type CreateDefaultAlarmThresholdResponse

type CreateDefaultAlarmThresholdResponse struct {
	*tchttp.BaseResponse
	Response *CreateDefaultAlarmThresholdResponseParams `json:"Response"`
}

func NewCreateDefaultAlarmThresholdResponse

func NewCreateDefaultAlarmThresholdResponse() (response *CreateDefaultAlarmThresholdResponse)

func (*CreateDefaultAlarmThresholdResponse) FromJsonString

func (r *CreateDefaultAlarmThresholdResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDefaultAlarmThresholdResponse) ToJsonString

func (r *CreateDefaultAlarmThresholdResponse) ToJsonString() string

type CreateDefaultAlarmThresholdResponseParams

type CreateDefaultAlarmThresholdResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateIPAlarmThresholdConfigRequest

type CreateIPAlarmThresholdConfigRequest struct {
	*tchttp.BaseRequest

	// List of IP alarm threshold configurations
	IpAlarmThresholdConfigList []*IPAlarmThresholdRelation `json:"IpAlarmThresholdConfigList,omitempty" name:"IpAlarmThresholdConfigList"`
}

func NewCreateIPAlarmThresholdConfigRequest

func NewCreateIPAlarmThresholdConfigRequest() (request *CreateIPAlarmThresholdConfigRequest)

func (*CreateIPAlarmThresholdConfigRequest) FromJsonString

func (r *CreateIPAlarmThresholdConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateIPAlarmThresholdConfigRequest) ToJsonString

func (r *CreateIPAlarmThresholdConfigRequest) ToJsonString() string

type CreateIPAlarmThresholdConfigRequestParams

type CreateIPAlarmThresholdConfigRequestParams struct {
	// List of IP alarm threshold configurations
	IpAlarmThresholdConfigList []*IPAlarmThresholdRelation `json:"IpAlarmThresholdConfigList,omitempty" name:"IpAlarmThresholdConfigList"`
}

Predefined struct for user

type CreateIPAlarmThresholdConfigResponse

type CreateIPAlarmThresholdConfigResponse struct {
	*tchttp.BaseResponse
	Response *CreateIPAlarmThresholdConfigResponseParams `json:"Response"`
}

func NewCreateIPAlarmThresholdConfigResponse

func NewCreateIPAlarmThresholdConfigResponse() (response *CreateIPAlarmThresholdConfigResponse)

func (*CreateIPAlarmThresholdConfigResponse) FromJsonString

func (r *CreateIPAlarmThresholdConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateIPAlarmThresholdConfigResponse) ToJsonString

func (r *CreateIPAlarmThresholdConfigResponse) ToJsonString() string

type CreateIPAlarmThresholdConfigResponseParams

type CreateIPAlarmThresholdConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateL7RuleCertsRequest

type CreateL7RuleCertsRequest struct {
	*tchttp.BaseRequest

	// SSL certificate ID
	CertId *string `json:"CertId,omitempty" name:"CertId"`

	// List of Layer-7 domain name forwarding rules
	L7Rules []*InsL7Rules `json:"L7Rules,omitempty" name:"L7Rules"`
}

func NewCreateL7RuleCertsRequest

func NewCreateL7RuleCertsRequest() (request *CreateL7RuleCertsRequest)

func (*CreateL7RuleCertsRequest) FromJsonString

func (r *CreateL7RuleCertsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateL7RuleCertsRequest) ToJsonString

func (r *CreateL7RuleCertsRequest) ToJsonString() string

type CreateL7RuleCertsRequestParams

type CreateL7RuleCertsRequestParams struct {
	// SSL certificate ID
	CertId *string `json:"CertId,omitempty" name:"CertId"`

	// List of Layer-7 domain name forwarding rules
	L7Rules []*InsL7Rules `json:"L7Rules,omitempty" name:"L7Rules"`
}

Predefined struct for user

type CreateL7RuleCertsResponse

type CreateL7RuleCertsResponse struct {
	*tchttp.BaseResponse
	Response *CreateL7RuleCertsResponseParams `json:"Response"`
}

func NewCreateL7RuleCertsResponse

func NewCreateL7RuleCertsResponse() (response *CreateL7RuleCertsResponse)

func (*CreateL7RuleCertsResponse) FromJsonString

func (r *CreateL7RuleCertsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateL7RuleCertsResponse) ToJsonString

func (r *CreateL7RuleCertsResponse) ToJsonString() string

type CreateL7RuleCertsResponseParams

type CreateL7RuleCertsResponseParams struct {
	// Success code
	Success *SuccessCode `json:"Success,omitempty" name:"Success"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateNewL7RulesRequest

type CreateNewL7RulesRequest struct {
	*tchttp.BaseRequest

	// List of rules
	Rules []*L7RuleEntry `json:"Rules,omitempty" name:"Rules"`

	// Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced)
	Business *string `json:"Business,omitempty" name:"Business"`

	// List of resource IDs
	IdList []*string `json:"IdList,omitempty" name:"IdList"`

	// List of resource IPs
	VipList []*string `json:"VipList,omitempty" name:"VipList"`
}

func NewCreateNewL7RulesRequest

func NewCreateNewL7RulesRequest() (request *CreateNewL7RulesRequest)

func (*CreateNewL7RulesRequest) FromJsonString

func (r *CreateNewL7RulesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateNewL7RulesRequest) ToJsonString

func (r *CreateNewL7RulesRequest) ToJsonString() string

type CreateNewL7RulesRequestParams

type CreateNewL7RulesRequestParams struct {
	// List of rules
	Rules []*L7RuleEntry `json:"Rules,omitempty" name:"Rules"`

	// Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced)
	Business *string `json:"Business,omitempty" name:"Business"`

	// List of resource IDs
	IdList []*string `json:"IdList,omitempty" name:"IdList"`

	// List of resource IPs
	VipList []*string `json:"VipList,omitempty" name:"VipList"`
}

Predefined struct for user

type CreateNewL7RulesResponse

type CreateNewL7RulesResponse struct {
	*tchttp.BaseResponse
	Response *CreateNewL7RulesResponseParams `json:"Response"`
}

func NewCreateNewL7RulesResponse

func NewCreateNewL7RulesResponse() (response *CreateNewL7RulesResponse)

func (*CreateNewL7RulesResponse) FromJsonString

func (r *CreateNewL7RulesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateNewL7RulesResponse) ToJsonString

func (r *CreateNewL7RulesResponse) ToJsonString() string

type CreateNewL7RulesResponseParams

type CreateNewL7RulesResponseParams struct {
	// Success code
	Success *SuccessCode `json:"Success,omitempty" name:"Success"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePacketFilterConfigRequest

type CreatePacketFilterConfigRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Feature filtering rules
	PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitempty" name:"PacketFilterConfig"`
}

func NewCreatePacketFilterConfigRequest

func NewCreatePacketFilterConfigRequest() (request *CreatePacketFilterConfigRequest)

func (*CreatePacketFilterConfigRequest) FromJsonString

func (r *CreatePacketFilterConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePacketFilterConfigRequest) ToJsonString

func (r *CreatePacketFilterConfigRequest) ToJsonString() string

type CreatePacketFilterConfigRequestParams

type CreatePacketFilterConfigRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Feature filtering rules
	PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitempty" name:"PacketFilterConfig"`
}

Predefined struct for user

type CreatePacketFilterConfigResponse

type CreatePacketFilterConfigResponse struct {
	*tchttp.BaseResponse
	Response *CreatePacketFilterConfigResponseParams `json:"Response"`
}

func NewCreatePacketFilterConfigResponse

func NewCreatePacketFilterConfigResponse() (response *CreatePacketFilterConfigResponse)

func (*CreatePacketFilterConfigResponse) FromJsonString

func (r *CreatePacketFilterConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePacketFilterConfigResponse) ToJsonString

func (r *CreatePacketFilterConfigResponse) ToJsonString() string

type CreatePacketFilterConfigResponseParams

type CreatePacketFilterConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateProtocolBlockConfigRequest

type CreateProtocolBlockConfigRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Protocol blocking configuration
	ProtocolBlockConfig *ProtocolBlockConfig `json:"ProtocolBlockConfig,omitempty" name:"ProtocolBlockConfig"`
}

func NewCreateProtocolBlockConfigRequest

func NewCreateProtocolBlockConfigRequest() (request *CreateProtocolBlockConfigRequest)

func (*CreateProtocolBlockConfigRequest) FromJsonString

func (r *CreateProtocolBlockConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProtocolBlockConfigRequest) ToJsonString

func (r *CreateProtocolBlockConfigRequest) ToJsonString() string

type CreateProtocolBlockConfigRequestParams

type CreateProtocolBlockConfigRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Protocol blocking configuration
	ProtocolBlockConfig *ProtocolBlockConfig `json:"ProtocolBlockConfig,omitempty" name:"ProtocolBlockConfig"`
}

Predefined struct for user

type CreateProtocolBlockConfigResponse

type CreateProtocolBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *CreateProtocolBlockConfigResponseParams `json:"Response"`
}

func NewCreateProtocolBlockConfigResponse

func NewCreateProtocolBlockConfigResponse() (response *CreateProtocolBlockConfigResponse)

func (*CreateProtocolBlockConfigResponse) FromJsonString

func (r *CreateProtocolBlockConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProtocolBlockConfigResponse) ToJsonString

func (r *CreateProtocolBlockConfigResponse) ToJsonString() string

type CreateProtocolBlockConfigResponseParams

type CreateProtocolBlockConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateSchedulingDomainRequest

type CreateSchedulingDomainRequest struct {
	*tchttp.BaseRequest

	// Indicates whether a hybrid cloud product is used.
	// `hybrid`: Anti-DDoS Service Platform
	// For other products, leave this field empty.
	Product *string `json:"Product,omitempty" name:"Product"`
}

func NewCreateSchedulingDomainRequest

func NewCreateSchedulingDomainRequest() (request *CreateSchedulingDomainRequest)

func (*CreateSchedulingDomainRequest) FromJsonString

func (r *CreateSchedulingDomainRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSchedulingDomainRequest) ToJsonString

func (r *CreateSchedulingDomainRequest) ToJsonString() string

type CreateSchedulingDomainRequestParams

type CreateSchedulingDomainRequestParams struct {
	// Indicates whether a hybrid cloud product is used.
	// `hybrid`: Anti-DDoS Service Platform
	// For other products, leave this field empty.
	Product *string `json:"Product,omitempty" name:"Product"`
}

Predefined struct for user

type CreateSchedulingDomainResponse

type CreateSchedulingDomainResponse struct {
	*tchttp.BaseResponse
	Response *CreateSchedulingDomainResponseParams `json:"Response"`
}

func NewCreateSchedulingDomainResponse

func NewCreateSchedulingDomainResponse() (response *CreateSchedulingDomainResponse)

func (*CreateSchedulingDomainResponse) FromJsonString

func (r *CreateSchedulingDomainResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSchedulingDomainResponse) ToJsonString

func (r *CreateSchedulingDomainResponse) ToJsonString() string

type CreateSchedulingDomainResponseParams

type CreateSchedulingDomainResponseParams struct {
	// Created domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateWaterPrintConfigRequest

type CreateWaterPrintConfigRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Watermark configuration
	WaterPrintConfig *WaterPrintConfig `json:"WaterPrintConfig,omitempty" name:"WaterPrintConfig"`
}

func NewCreateWaterPrintConfigRequest

func NewCreateWaterPrintConfigRequest() (request *CreateWaterPrintConfigRequest)

func (*CreateWaterPrintConfigRequest) FromJsonString

func (r *CreateWaterPrintConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateWaterPrintConfigRequest) ToJsonString

func (r *CreateWaterPrintConfigRequest) ToJsonString() string

type CreateWaterPrintConfigRequestParams

type CreateWaterPrintConfigRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Watermark configuration
	WaterPrintConfig *WaterPrintConfig `json:"WaterPrintConfig,omitempty" name:"WaterPrintConfig"`
}

Predefined struct for user

type CreateWaterPrintConfigResponse

type CreateWaterPrintConfigResponse struct {
	*tchttp.BaseResponse
	Response *CreateWaterPrintConfigResponseParams `json:"Response"`
}

func NewCreateWaterPrintConfigResponse

func NewCreateWaterPrintConfigResponse() (response *CreateWaterPrintConfigResponse)

func (*CreateWaterPrintConfigResponse) FromJsonString

func (r *CreateWaterPrintConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateWaterPrintConfigResponse) ToJsonString

func (r *CreateWaterPrintConfigResponse) ToJsonString() string

type CreateWaterPrintConfigResponseParams

type CreateWaterPrintConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateWaterPrintKeyRequest

type CreateWaterPrintKeyRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewCreateWaterPrintKeyRequest

func NewCreateWaterPrintKeyRequest() (request *CreateWaterPrintKeyRequest)

func (*CreateWaterPrintKeyRequest) FromJsonString

func (r *CreateWaterPrintKeyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateWaterPrintKeyRequest) ToJsonString

func (r *CreateWaterPrintKeyRequest) ToJsonString() string

type CreateWaterPrintKeyRequestParams

type CreateWaterPrintKeyRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

Predefined struct for user

type CreateWaterPrintKeyResponse

type CreateWaterPrintKeyResponse struct {
	*tchttp.BaseResponse
	Response *CreateWaterPrintKeyResponseParams `json:"Response"`
}

func NewCreateWaterPrintKeyResponse

func NewCreateWaterPrintKeyResponse() (response *CreateWaterPrintKeyResponse)

func (*CreateWaterPrintKeyResponse) FromJsonString

func (r *CreateWaterPrintKeyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateWaterPrintKeyResponse) ToJsonString

func (r *CreateWaterPrintKeyResponse) ToJsonString() string

type CreateWaterPrintKeyResponseParams

type CreateWaterPrintKeyResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DDoSAIRelation

type DDoSAIRelation struct {
	// AI protection switch. Valid values:
	// `on`: enabled
	// `off`: disabled
	// ]
	DDoSAI *string `json:"DDoSAI,omitempty" name:"DDoSAI"`

	// Anti-DDoS instance configured
	InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitempty" name:"InstanceDetailList"`
}

type DDoSGeoIPBlockConfig

type DDoSGeoIPBlockConfig struct {
	// Region type. Valid values:
	// `oversea`: Outside the Chinese mainland
	// `china`: The Chinese mainland
	// `customized`: User-specified region
	// ]
	RegionType *string `json:"RegionType,omitempty" name:"RegionType"`

	// Blocking action. Valid values:
	// `drop`: the request is blocked.
	// `trans`: the request is allowed.
	// ]
	Action *string `json:"Action,omitempty" name:"Action"`

	// Configuration ID, which is generated after a configuration is added. This field is only required to modify or delete a configuration.
	Id *string `json:"Id,omitempty" name:"Id"`

	// When `RegionType = customized`, AreaList is required and contains up to 128 areas.
	AreaList []*int64 `json:"AreaList,omitempty" name:"AreaList"`
}

type DDoSGeoIPBlockConfigRelation

type DDoSGeoIPBlockConfigRelation struct {
	// Anti-DDoS region blocking configuration
	GeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"GeoIPBlockConfig,omitempty" name:"GeoIPBlockConfig"`

	// Anti-DDoS instance configured
	InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitempty" name:"InstanceDetailList"`
}

type DDoSSpeedLimitConfig

type DDoSSpeedLimitConfig struct {
	// Rate limit mode. Valid values:
	// `1`: rate limit based on the real server IP
	// `2`: rate limit based on the destination port
	// ]
	Mode *uint64 `json:"Mode,omitempty" name:"Mode"`

	// Rate limit value. This field contains at least one valid rate limit type. Note that only up to one value of each type is supported.
	SpeedValues []*SpeedValue `json:"SpeedValues,omitempty" name:"SpeedValues"`

	// This field is replaced with a new field DstPortList.
	DstPortScopes []*PortSegment `json:"DstPortScopes,omitempty" name:"DstPortScopes"`

	Id *string `json:"Id,omitempty" name:"Id"`

	// IP protocol number. Valid values:
	// `ALL`: all protocols
	// `TCP`: TCP protocol
	// `UDP`: UDP protocol
	// `SMP`: SMP protocol
	// `1;2–100`: user-defined protocol with up to 8 ranges
	// ]
	// Note: For custom protocol ranges, only protocol number is supported. Multiple ranges are separated by ";". If the value is `ALL`, any other protocol or protocol number should be excluded.
	ProtocolList *string `json:"ProtocolList,omitempty" name:"ProtocolList"`

	// Port range list, which contains up to 8 ranges. Use ";" to separate multiple ports and "–" to indicate a range of ports, as described in the following formats: `0–65535`, `80;443;1000–2000`.
	DstPortList *string `json:"DstPortList,omitempty" name:"DstPortList"`
}

type DDoSSpeedLimitConfigRelation

type DDoSSpeedLimitConfigRelation struct {
	// Anti-DDoS access rate limit configuration
	SpeedLimitConfig *DDoSSpeedLimitConfig `json:"SpeedLimitConfig,omitempty" name:"SpeedLimitConfig"`

	// Anti-DDoS instance configured
	InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitempty" name:"InstanceDetailList"`
}

type DefaultAlarmThreshold

type DefaultAlarmThreshold struct {
	// Alarm threshold type. Valid values:
	// `1`: alarm threshold for inbound traffic
	// `2`: alarm threshold for cleansing attack traffic
	// ]
	AlarmType *uint64 `json:"AlarmType,omitempty" name:"AlarmType"`

	// Alarm threshold (Mbps). The value should be greater than or equal to 0. Note that the alarm threshold configuration will be removed if you pass the parameter for input and set it to 0.
	AlarmThreshold *uint64 `json:"AlarmThreshold,omitempty" name:"AlarmThreshold"`
}

type DeleteCCLevelPolicyRequest

type DeleteCCLevelPolicyRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Target IP of the policy
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Value: `http`
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
}

func NewDeleteCCLevelPolicyRequest

func NewDeleteCCLevelPolicyRequest() (request *DeleteCCLevelPolicyRequest)

func (*DeleteCCLevelPolicyRequest) FromJsonString

func (r *DeleteCCLevelPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCCLevelPolicyRequest) ToJsonString

func (r *DeleteCCLevelPolicyRequest) ToJsonString() string

type DeleteCCLevelPolicyRequestParams

type DeleteCCLevelPolicyRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Target IP of the policy
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Value: `http`
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
}

Predefined struct for user

type DeleteCCLevelPolicyResponse

type DeleteCCLevelPolicyResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCCLevelPolicyResponseParams `json:"Response"`
}

func NewDeleteCCLevelPolicyResponse

func NewDeleteCCLevelPolicyResponse() (response *DeleteCCLevelPolicyResponse)

func (*DeleteCCLevelPolicyResponse) FromJsonString

func (r *DeleteCCLevelPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCCLevelPolicyResponse) ToJsonString

func (r *DeleteCCLevelPolicyResponse) ToJsonString() string

type DeleteCCLevelPolicyResponseParams

type DeleteCCLevelPolicyResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteCCPrecisionPolicyRequest

type DeleteCCPrecisionPolicyRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`
}

func NewDeleteCCPrecisionPolicyRequest

func NewDeleteCCPrecisionPolicyRequest() (request *DeleteCCPrecisionPolicyRequest)

func (*DeleteCCPrecisionPolicyRequest) FromJsonString

func (r *DeleteCCPrecisionPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCCPrecisionPolicyRequest) ToJsonString

func (r *DeleteCCPrecisionPolicyRequest) ToJsonString() string

type DeleteCCPrecisionPolicyRequestParams

type DeleteCCPrecisionPolicyRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`
}

Predefined struct for user

type DeleteCCPrecisionPolicyResponse

type DeleteCCPrecisionPolicyResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCCPrecisionPolicyResponseParams `json:"Response"`
}

func NewDeleteCCPrecisionPolicyResponse

func NewDeleteCCPrecisionPolicyResponse() (response *DeleteCCPrecisionPolicyResponse)

func (*DeleteCCPrecisionPolicyResponse) FromJsonString

func (r *DeleteCCPrecisionPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCCPrecisionPolicyResponse) ToJsonString

func (r *DeleteCCPrecisionPolicyResponse) ToJsonString() string

type DeleteCCPrecisionPolicyResponseParams

type DeleteCCPrecisionPolicyResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteCCThresholdPolicyRequest

type DeleteCCThresholdPolicyRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Target IP of the policy
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Value: `http`
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
}

func NewDeleteCCThresholdPolicyRequest

func NewDeleteCCThresholdPolicyRequest() (request *DeleteCCThresholdPolicyRequest)

func (*DeleteCCThresholdPolicyRequest) FromJsonString

func (r *DeleteCCThresholdPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCCThresholdPolicyRequest) ToJsonString

func (r *DeleteCCThresholdPolicyRequest) ToJsonString() string

type DeleteCCThresholdPolicyRequestParams

type DeleteCCThresholdPolicyRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Target IP of the policy
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Value: `http`
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
}

Predefined struct for user

type DeleteCCThresholdPolicyResponse

type DeleteCCThresholdPolicyResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCCThresholdPolicyResponseParams `json:"Response"`
}

func NewDeleteCCThresholdPolicyResponse

func NewDeleteCCThresholdPolicyResponse() (response *DeleteCCThresholdPolicyResponse)

func (*DeleteCCThresholdPolicyResponse) FromJsonString

func (r *DeleteCCThresholdPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCCThresholdPolicyResponse) ToJsonString

func (r *DeleteCCThresholdPolicyResponse) ToJsonString() string

type DeleteCCThresholdPolicyResponseParams

type DeleteCCThresholdPolicyResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteCcBlackWhiteIpListRequest

type DeleteCcBlackWhiteIpListRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`
}

func NewDeleteCcBlackWhiteIpListRequest

func NewDeleteCcBlackWhiteIpListRequest() (request *DeleteCcBlackWhiteIpListRequest)

func (*DeleteCcBlackWhiteIpListRequest) FromJsonString

func (r *DeleteCcBlackWhiteIpListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCcBlackWhiteIpListRequest) ToJsonString

func (r *DeleteCcBlackWhiteIpListRequest) ToJsonString() string

type DeleteCcBlackWhiteIpListRequestParams

type DeleteCcBlackWhiteIpListRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`
}

Predefined struct for user

type DeleteCcBlackWhiteIpListResponse

type DeleteCcBlackWhiteIpListResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCcBlackWhiteIpListResponseParams `json:"Response"`
}

func NewDeleteCcBlackWhiteIpListResponse

func NewDeleteCcBlackWhiteIpListResponse() (response *DeleteCcBlackWhiteIpListResponse)

func (*DeleteCcBlackWhiteIpListResponse) FromJsonString

func (r *DeleteCcBlackWhiteIpListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCcBlackWhiteIpListResponse) ToJsonString

func (r *DeleteCcBlackWhiteIpListResponse) ToJsonString() string

type DeleteCcBlackWhiteIpListResponseParams

type DeleteCcBlackWhiteIpListResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteCcGeoIPBlockConfigRequest

type DeleteCcGeoIPBlockConfigRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Region blocking configuration. The configuration ID cannot be empty when you set this parameter.
	CcGeoIPBlockConfig *CcGeoIPBlockConfig `json:"CcGeoIPBlockConfig,omitempty" name:"CcGeoIPBlockConfig"`
}

func NewDeleteCcGeoIPBlockConfigRequest

func NewDeleteCcGeoIPBlockConfigRequest() (request *DeleteCcGeoIPBlockConfigRequest)

func (*DeleteCcGeoIPBlockConfigRequest) FromJsonString

func (r *DeleteCcGeoIPBlockConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCcGeoIPBlockConfigRequest) ToJsonString

func (r *DeleteCcGeoIPBlockConfigRequest) ToJsonString() string

type DeleteCcGeoIPBlockConfigRequestParams

type DeleteCcGeoIPBlockConfigRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Region blocking configuration. The configuration ID cannot be empty when you set this parameter.
	CcGeoIPBlockConfig *CcGeoIPBlockConfig `json:"CcGeoIPBlockConfig,omitempty" name:"CcGeoIPBlockConfig"`
}

Predefined struct for user

type DeleteCcGeoIPBlockConfigResponse

type DeleteCcGeoIPBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCcGeoIPBlockConfigResponseParams `json:"Response"`
}

func NewDeleteCcGeoIPBlockConfigResponse

func NewDeleteCcGeoIPBlockConfigResponse() (response *DeleteCcGeoIPBlockConfigResponse)

func (*DeleteCcGeoIPBlockConfigResponse) FromJsonString

func (r *DeleteCcGeoIPBlockConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCcGeoIPBlockConfigResponse) ToJsonString

func (r *DeleteCcGeoIPBlockConfigResponse) ToJsonString() string

type DeleteCcGeoIPBlockConfigResponseParams

type DeleteCcGeoIPBlockConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteDDoSGeoIPBlockConfigRequest

type DeleteDDoSGeoIPBlockConfigRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Region blocking configuration. The configuration ID cannot be empty when you set this parameter.
	DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitempty" name:"DDoSGeoIPBlockConfig"`
}

func NewDeleteDDoSGeoIPBlockConfigRequest

func NewDeleteDDoSGeoIPBlockConfigRequest() (request *DeleteDDoSGeoIPBlockConfigRequest)

func (*DeleteDDoSGeoIPBlockConfigRequest) FromJsonString

func (r *DeleteDDoSGeoIPBlockConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDDoSGeoIPBlockConfigRequest) ToJsonString

func (r *DeleteDDoSGeoIPBlockConfigRequest) ToJsonString() string

type DeleteDDoSGeoIPBlockConfigRequestParams

type DeleteDDoSGeoIPBlockConfigRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Region blocking configuration. The configuration ID cannot be empty when you set this parameter.
	DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitempty" name:"DDoSGeoIPBlockConfig"`
}

Predefined struct for user

type DeleteDDoSGeoIPBlockConfigResponse

type DeleteDDoSGeoIPBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDDoSGeoIPBlockConfigResponseParams `json:"Response"`
}

func NewDeleteDDoSGeoIPBlockConfigResponse

func NewDeleteDDoSGeoIPBlockConfigResponse() (response *DeleteDDoSGeoIPBlockConfigResponse)

func (*DeleteDDoSGeoIPBlockConfigResponse) FromJsonString

func (r *DeleteDDoSGeoIPBlockConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDDoSGeoIPBlockConfigResponse) ToJsonString

func (r *DeleteDDoSGeoIPBlockConfigResponse) ToJsonString() string

type DeleteDDoSGeoIPBlockConfigResponseParams

type DeleteDDoSGeoIPBlockConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteDDoSSpeedLimitConfigRequest

type DeleteDDoSSpeedLimitConfigRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Access rate limit configuration. The configuration ID cannot be empty when you set this parameter.
	DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitempty" name:"DDoSSpeedLimitConfig"`
}

func NewDeleteDDoSSpeedLimitConfigRequest

func NewDeleteDDoSSpeedLimitConfigRequest() (request *DeleteDDoSSpeedLimitConfigRequest)

func (*DeleteDDoSSpeedLimitConfigRequest) FromJsonString

func (r *DeleteDDoSSpeedLimitConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDDoSSpeedLimitConfigRequest) ToJsonString

func (r *DeleteDDoSSpeedLimitConfigRequest) ToJsonString() string

type DeleteDDoSSpeedLimitConfigRequestParams

type DeleteDDoSSpeedLimitConfigRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Access rate limit configuration. The configuration ID cannot be empty when you set this parameter.
	DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitempty" name:"DDoSSpeedLimitConfig"`
}

Predefined struct for user

type DeleteDDoSSpeedLimitConfigResponse

type DeleteDDoSSpeedLimitConfigResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDDoSSpeedLimitConfigResponseParams `json:"Response"`
}

func NewDeleteDDoSSpeedLimitConfigResponse

func NewDeleteDDoSSpeedLimitConfigResponse() (response *DeleteDDoSSpeedLimitConfigResponse)

func (*DeleteDDoSSpeedLimitConfigResponse) FromJsonString

func (r *DeleteDDoSSpeedLimitConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDDoSSpeedLimitConfigResponse) ToJsonString

func (r *DeleteDDoSSpeedLimitConfigResponse) ToJsonString() string

type DeleteDDoSSpeedLimitConfigResponseParams

type DeleteDDoSSpeedLimitConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePacketFilterConfigRequest

type DeletePacketFilterConfigRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Feature filtering configuration
	PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitempty" name:"PacketFilterConfig"`
}

func NewDeletePacketFilterConfigRequest

func NewDeletePacketFilterConfigRequest() (request *DeletePacketFilterConfigRequest)

func (*DeletePacketFilterConfigRequest) FromJsonString

func (r *DeletePacketFilterConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePacketFilterConfigRequest) ToJsonString

func (r *DeletePacketFilterConfigRequest) ToJsonString() string

type DeletePacketFilterConfigRequestParams

type DeletePacketFilterConfigRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Feature filtering configuration
	PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitempty" name:"PacketFilterConfig"`
}

Predefined struct for user

type DeletePacketFilterConfigResponse

type DeletePacketFilterConfigResponse struct {
	*tchttp.BaseResponse
	Response *DeletePacketFilterConfigResponseParams `json:"Response"`
}

func NewDeletePacketFilterConfigResponse

func NewDeletePacketFilterConfigResponse() (response *DeletePacketFilterConfigResponse)

func (*DeletePacketFilterConfigResponse) FromJsonString

func (r *DeletePacketFilterConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePacketFilterConfigResponse) ToJsonString

func (r *DeletePacketFilterConfigResponse) ToJsonString() string

type DeletePacketFilterConfigResponseParams

type DeletePacketFilterConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteWaterPrintConfigRequest

type DeleteWaterPrintConfigRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewDeleteWaterPrintConfigRequest

func NewDeleteWaterPrintConfigRequest() (request *DeleteWaterPrintConfigRequest)

func (*DeleteWaterPrintConfigRequest) FromJsonString

func (r *DeleteWaterPrintConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteWaterPrintConfigRequest) ToJsonString

func (r *DeleteWaterPrintConfigRequest) ToJsonString() string

type DeleteWaterPrintConfigRequestParams

type DeleteWaterPrintConfigRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DeleteWaterPrintConfigResponse

type DeleteWaterPrintConfigResponse struct {
	*tchttp.BaseResponse
	Response *DeleteWaterPrintConfigResponseParams `json:"Response"`
}

func NewDeleteWaterPrintConfigResponse

func NewDeleteWaterPrintConfigResponse() (response *DeleteWaterPrintConfigResponse)

func (*DeleteWaterPrintConfigResponse) FromJsonString

func (r *DeleteWaterPrintConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteWaterPrintConfigResponse) ToJsonString

func (r *DeleteWaterPrintConfigResponse) ToJsonString() string

type DeleteWaterPrintConfigResponseParams

type DeleteWaterPrintConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteWaterPrintKeyRequest

type DeleteWaterPrintKeyRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Watermark key ID
	KeyId *string `json:"KeyId,omitempty" name:"KeyId"`
}

func NewDeleteWaterPrintKeyRequest

func NewDeleteWaterPrintKeyRequest() (request *DeleteWaterPrintKeyRequest)

func (*DeleteWaterPrintKeyRequest) FromJsonString

func (r *DeleteWaterPrintKeyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteWaterPrintKeyRequest) ToJsonString

func (r *DeleteWaterPrintKeyRequest) ToJsonString() string

type DeleteWaterPrintKeyRequestParams

type DeleteWaterPrintKeyRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Watermark key ID
	KeyId *string `json:"KeyId,omitempty" name:"KeyId"`
}

Predefined struct for user

type DeleteWaterPrintKeyResponse

type DeleteWaterPrintKeyResponse struct {
	*tchttp.BaseResponse
	Response *DeleteWaterPrintKeyResponseParams `json:"Response"`
}

func NewDeleteWaterPrintKeyResponse

func NewDeleteWaterPrintKeyResponse() (response *DeleteWaterPrintKeyResponse)

func (*DeleteWaterPrintKeyResponse) FromJsonString

func (r *DeleteWaterPrintKeyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteWaterPrintKeyResponse) ToJsonString

func (r *DeleteWaterPrintKeyResponse) ToJsonString() string

type DeleteWaterPrintKeyResponseParams

type DeleteWaterPrintKeyResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBasicDeviceStatusRequest

type DescribeBasicDeviceStatusRequest struct {
	*tchttp.BaseRequest

	// List of IP resources
	IpList []*string `json:"IpList,omitempty" name:"IpList"`
}

func NewDescribeBasicDeviceStatusRequest

func NewDescribeBasicDeviceStatusRequest() (request *DescribeBasicDeviceStatusRequest)

func (*DescribeBasicDeviceStatusRequest) FromJsonString

func (r *DescribeBasicDeviceStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBasicDeviceStatusRequest) ToJsonString

func (r *DescribeBasicDeviceStatusRequest) ToJsonString() string

type DescribeBasicDeviceStatusRequestParams

type DescribeBasicDeviceStatusRequestParams struct {
	// List of IP resources
	IpList []*string `json:"IpList,omitempty" name:"IpList"`
}

Predefined struct for user

type DescribeBasicDeviceStatusResponse

type DescribeBasicDeviceStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBasicDeviceStatusResponseParams `json:"Response"`
}

func NewDescribeBasicDeviceStatusResponse

func NewDescribeBasicDeviceStatusResponse() (response *DescribeBasicDeviceStatusResponse)

func (*DescribeBasicDeviceStatusResponse) FromJsonString

func (r *DescribeBasicDeviceStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBasicDeviceStatusResponse) ToJsonString

func (r *DescribeBasicDeviceStatusResponse) ToJsonString() string

type DescribeBasicDeviceStatusResponseParams

type DescribeBasicDeviceStatusResponseParams struct {
	// Status of the specified Anti-DDoS resource. Valid values:
	// `1`: The IP is blocked.
	// `2`: The P is normal.
	// `3`: The IP is being attacked.
	Data []*KeyValue `json:"Data,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBgpBizTrendRequest

type DescribeBgpBizTrendRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS service code. `bgp-multip` indicates Anti-DDos Pro.
	Business *string `json:"Business,omitempty" name:"Business"`

	// Beginning of the time range for the query, such as `2020-09-22 00:00:00`.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End of the time range for the query, such as `2020-09-22 00:00:00`.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Statistical metric. Values: `intraffic`, `outtraffic`, `inpkg`, and `outpkg`.
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// `0`: Fixed time. `1`: Custom time.
	Flag *uint64 `json:"Flag,omitempty" name:"Flag"`
}

func NewDescribeBgpBizTrendRequest

func NewDescribeBgpBizTrendRequest() (request *DescribeBgpBizTrendRequest)

func (*DescribeBgpBizTrendRequest) FromJsonString

func (r *DescribeBgpBizTrendRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBgpBizTrendRequest) ToJsonString

func (r *DescribeBgpBizTrendRequest) ToJsonString() string

type DescribeBgpBizTrendRequestParams

type DescribeBgpBizTrendRequestParams struct {
	// Anti-DDoS service code. `bgp-multip` indicates Anti-DDos Pro.
	Business *string `json:"Business,omitempty" name:"Business"`

	// Beginning of the time range for the query, such as `2020-09-22 00:00:00`.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End of the time range for the query, such as `2020-09-22 00:00:00`.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Statistical metric. Values: `intraffic`, `outtraffic`, `inpkg`, and `outpkg`.
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// `0`: Fixed time. `1`: Custom time.
	Flag *uint64 `json:"Flag,omitempty" name:"Flag"`
}

Predefined struct for user

type DescribeBgpBizTrendResponse

type DescribeBgpBizTrendResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBgpBizTrendResponseParams `json:"Response"`
}

func NewDescribeBgpBizTrendResponse

func NewDescribeBgpBizTrendResponse() (response *DescribeBgpBizTrendResponse)

func (*DescribeBgpBizTrendResponse) FromJsonString

func (r *DescribeBgpBizTrendResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBgpBizTrendResponse) ToJsonString

func (r *DescribeBgpBizTrendResponse) ToJsonString() string

type DescribeBgpBizTrendResponseParams

type DescribeBgpBizTrendResponseParams struct {
	// Values of the samples
	DataList []*uint64 `json:"DataList,omitempty" name:"DataList"`

	// Number of samples
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// Statistical metric
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// Maximum value of the arrays returned
	MaxData *uint64 `json:"MaxData,omitempty" name:"MaxData"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBizHttpStatusRequest

type DescribeBizHttpStatusRequest struct {
	*tchttp.BaseRequest

	// Statistical mode. Value: `sum`.
	Statistics *string `json:"Statistics,omitempty" name:"Statistics"`

	// Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced)
	Business *string `json:"Business,omitempty" name:"Business"`

	// Statistical period in seconds. Valid values: `60`, `300`, `1800`, `3600`, `21600`, and `86400`.
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Statistics start time, such as `2020-02-01 12:04:12`
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Statistics end time, such as `2020-02-03 18:03:23`
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The resource ID.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Specific domain name query
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol and port list, which is valid when the metric is `connum`, `new_conn` or `inactive_conn`. Valid protocols: `TCP`, `UDP`, `HTTP`, `HTTPS`
	ProtoInfo []*ProtocolPort `json:"ProtoInfo,omitempty" name:"ProtoInfo"`
}

func NewDescribeBizHttpStatusRequest

func NewDescribeBizHttpStatusRequest() (request *DescribeBizHttpStatusRequest)

func (*DescribeBizHttpStatusRequest) FromJsonString

func (r *DescribeBizHttpStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBizHttpStatusRequest) ToJsonString

func (r *DescribeBizHttpStatusRequest) ToJsonString() string

type DescribeBizHttpStatusRequestParams

type DescribeBizHttpStatusRequestParams struct {
	// Statistical mode. Value: `sum`.
	Statistics *string `json:"Statistics,omitempty" name:"Statistics"`

	// Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced)
	Business *string `json:"Business,omitempty" name:"Business"`

	// Statistical period in seconds. Valid values: `60`, `300`, `1800`, `3600`, `21600`, and `86400`.
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Statistics start time, such as `2020-02-01 12:04:12`
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Statistics end time, such as `2020-02-03 18:03:23`
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The resource ID.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Specific domain name query
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol and port list, which is valid when the metric is `connum`, `new_conn` or `inactive_conn`. Valid protocols: `TCP`, `UDP`, `HTTP`, `HTTPS`
	ProtoInfo []*ProtocolPort `json:"ProtoInfo,omitempty" name:"ProtoInfo"`
}

Predefined struct for user

type DescribeBizHttpStatusResponse

type DescribeBizHttpStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBizHttpStatusResponseParams `json:"Response"`
}

func NewDescribeBizHttpStatusResponse

func NewDescribeBizHttpStatusResponse() (response *DescribeBizHttpStatusResponse)

func (*DescribeBizHttpStatusResponse) FromJsonString

func (r *DescribeBizHttpStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBizHttpStatusResponse) ToJsonString

func (r *DescribeBizHttpStatusResponse) ToJsonString() string

type DescribeBizHttpStatusResponseParams

type DescribeBizHttpStatusResponseParams struct {
	// Statistics on the HTTP status codes of business traffic
	HttpStatusMap *HttpStatusMap `json:"HttpStatusMap,omitempty" name:"HttpStatusMap"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBizTrendRequest

type DescribeBizTrendRequest struct {
	*tchttp.BaseRequest

	// Statistical method. Valid values: `max`, `min`, `avg`, `sum`. It can only be `max` if the statistical dimension is traffic rate or packet rate.
	Statistics *string `json:"Statistics,omitempty" name:"Statistics"`

	// Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced)
	Business *string `json:"Business,omitempty" name:"Business"`

	// Sampling interval in seconds. Valid values: `60`, `300`, `1800`, `3600`, `21600`, `86400`
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// Beginning of the time range for the query, such as `2020-09-22 00:00:00`.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End of the time range for the query, such as `2020-09-22 00:00:00`.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Instance ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Metric. Valid values: `connum`, `new_conn`, `inactive_conn`, `intraffic`, `outtraffic`, `inpkg`, `outpkg`, `qps`
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// You can query data by specifying a domain name when the metric is `qps`.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol and port list, which is valid when the metric is `connum`, `new_conn` or `inactive_conn`. Valid protocols: `TCP`, `UDP`, `HTTP`, `HTTPS`
	ProtoInfo []*ProtocolPort `json:"ProtoInfo,omitempty" name:"ProtoInfo"`
}

func NewDescribeBizTrendRequest

func NewDescribeBizTrendRequest() (request *DescribeBizTrendRequest)

func (*DescribeBizTrendRequest) FromJsonString

func (r *DescribeBizTrendRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBizTrendRequest) ToJsonString

func (r *DescribeBizTrendRequest) ToJsonString() string

type DescribeBizTrendRequestParams

type DescribeBizTrendRequestParams struct {
	// Statistical method. Valid values: `max`, `min`, `avg`, `sum`. It can only be `max` if the statistical dimension is traffic rate or packet rate.
	Statistics *string `json:"Statistics,omitempty" name:"Statistics"`

	// Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced)
	Business *string `json:"Business,omitempty" name:"Business"`

	// Sampling interval in seconds. Valid values: `60`, `300`, `1800`, `3600`, `21600`, `86400`
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// Beginning of the time range for the query, such as `2020-09-22 00:00:00`.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End of the time range for the query, such as `2020-09-22 00:00:00`.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Instance ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Metric. Valid values: `connum`, `new_conn`, `inactive_conn`, `intraffic`, `outtraffic`, `inpkg`, `outpkg`, `qps`
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// You can query data by specifying a domain name when the metric is `qps`.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol and port list, which is valid when the metric is `connum`, `new_conn` or `inactive_conn`. Valid protocols: `TCP`, `UDP`, `HTTP`, `HTTPS`
	ProtoInfo []*ProtocolPort `json:"ProtoInfo,omitempty" name:"ProtoInfo"`
}

Predefined struct for user

type DescribeBizTrendResponse

type DescribeBizTrendResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBizTrendResponseParams `json:"Response"`
}

func NewDescribeBizTrendResponse

func NewDescribeBizTrendResponse() (response *DescribeBizTrendResponse)

func (*DescribeBizTrendResponse) FromJsonString

func (r *DescribeBizTrendResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBizTrendResponse) ToJsonString

func (r *DescribeBizTrendResponse) ToJsonString() string

type DescribeBizTrendResponseParams

type DescribeBizTrendResponseParams struct {
	// Value at a time point on the curve
	DataList []*float64 `json:"DataList,omitempty" name:"DataList"`

	// Statistical dimension
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBlackWhiteIpListRequest

type DescribeBlackWhiteIpListRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewDescribeBlackWhiteIpListRequest

func NewDescribeBlackWhiteIpListRequest() (request *DescribeBlackWhiteIpListRequest)

func (*DescribeBlackWhiteIpListRequest) FromJsonString

func (r *DescribeBlackWhiteIpListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBlackWhiteIpListRequest) ToJsonString

func (r *DescribeBlackWhiteIpListRequest) ToJsonString() string

type DescribeBlackWhiteIpListRequestParams

type DescribeBlackWhiteIpListRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeBlackWhiteIpListResponse

type DescribeBlackWhiteIpListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBlackWhiteIpListResponseParams `json:"Response"`
}

func NewDescribeBlackWhiteIpListResponse

func NewDescribeBlackWhiteIpListResponse() (response *DescribeBlackWhiteIpListResponse)

func (*DescribeBlackWhiteIpListResponse) FromJsonString

func (r *DescribeBlackWhiteIpListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBlackWhiteIpListResponse) ToJsonString

func (r *DescribeBlackWhiteIpListResponse) ToJsonString() string

type DescribeBlackWhiteIpListResponseParams

type DescribeBlackWhiteIpListResponseParams struct {
	// IP blocklist
	BlackIpList []*string `json:"BlackIpList,omitempty" name:"BlackIpList"`

	// IP allowlist
	WhiteIpList []*string `json:"WhiteIpList,omitempty" name:"WhiteIpList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCCLevelListRequest

type DescribeCCLevelListRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS service code. `bgp-multip` indicates Anti-DDos Pro.
	Business *string `json:"Business,omitempty" name:"Business"`

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results returned in one page
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// ID of the specified instance
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewDescribeCCLevelListRequest

func NewDescribeCCLevelListRequest() (request *DescribeCCLevelListRequest)

func (*DescribeCCLevelListRequest) FromJsonString

func (r *DescribeCCLevelListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCCLevelListRequest) ToJsonString

func (r *DescribeCCLevelListRequest) ToJsonString() string

type DescribeCCLevelListRequestParams

type DescribeCCLevelListRequestParams struct {
	// Anti-DDoS service code. `bgp-multip` indicates Anti-DDos Pro.
	Business *string `json:"Business,omitempty" name:"Business"`

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results returned in one page
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// ID of the specified instance
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeCCLevelListResponse

type DescribeCCLevelListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCCLevelListResponseParams `json:"Response"`
}

func NewDescribeCCLevelListResponse

func NewDescribeCCLevelListResponse() (response *DescribeCCLevelListResponse)

func (*DescribeCCLevelListResponse) FromJsonString

func (r *DescribeCCLevelListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCCLevelListResponse) ToJsonString

func (r *DescribeCCLevelListResponse) ToJsonString() string

type DescribeCCLevelListResponseParams

type DescribeCCLevelListResponseParams struct {
	// Total number of level-defining policies
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// Total number of level-defining policies
	LevelList []*CCLevelPolicy `json:"LevelList,omitempty" name:"LevelList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCCLevelPolicyRequest

type DescribeCCLevelPolicyRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol. Values: `HTTP`,`HTTPS`
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
}

func NewDescribeCCLevelPolicyRequest

func NewDescribeCCLevelPolicyRequest() (request *DescribeCCLevelPolicyRequest)

func (*DescribeCCLevelPolicyRequest) FromJsonString

func (r *DescribeCCLevelPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCCLevelPolicyRequest) ToJsonString

func (r *DescribeCCLevelPolicyRequest) ToJsonString() string

type DescribeCCLevelPolicyRequestParams

type DescribeCCLevelPolicyRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol. Values: `HTTP`,`HTTPS`
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
}

Predefined struct for user

type DescribeCCLevelPolicyResponse

type DescribeCCLevelPolicyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCCLevelPolicyResponseParams `json:"Response"`
}

func NewDescribeCCLevelPolicyResponse

func NewDescribeCCLevelPolicyResponse() (response *DescribeCCLevelPolicyResponse)

func (*DescribeCCLevelPolicyResponse) FromJsonString

func (r *DescribeCCLevelPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCCLevelPolicyResponse) ToJsonString

func (r *DescribeCCLevelPolicyResponse) ToJsonString() string

type DescribeCCLevelPolicyResponseParams

type DescribeCCLevelPolicyResponseParams struct {
	// CC protection level. Vaules: `loose`, `strict`, `normal`, `emergency`, `sup_loose` (super loose), `default` (used when the frequency limit is not configured) and `customized`
	Level *string `json:"Level,omitempty" name:"Level"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCCPrecisionPlyListRequest

type DescribeCCPrecisionPlyListRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS service type. Valid values: `bgpip-multip` (Anti-DDoS Pro) and `bgpip` (Anti-DDoS Advanced).
	Business *string `json:"Business,omitempty" name:"Business"`

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results returned in one page
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP address, which is required when an Anti-DDoS Advanced instance is used.
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name, which is required when an Anti-DDoS Advanced instance is used.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol, which is required when an Anti-DDoS Advanced instance is used.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
}

func NewDescribeCCPrecisionPlyListRequest

func NewDescribeCCPrecisionPlyListRequest() (request *DescribeCCPrecisionPlyListRequest)

func (*DescribeCCPrecisionPlyListRequest) FromJsonString

func (r *DescribeCCPrecisionPlyListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCCPrecisionPlyListRequest) ToJsonString

func (r *DescribeCCPrecisionPlyListRequest) ToJsonString() string

type DescribeCCPrecisionPlyListRequestParams

type DescribeCCPrecisionPlyListRequestParams struct {
	// Anti-DDoS service type. Valid values: `bgpip-multip` (Anti-DDoS Pro) and `bgpip` (Anti-DDoS Advanced).
	Business *string `json:"Business,omitempty" name:"Business"`

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results returned in one page
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP address, which is required when an Anti-DDoS Advanced instance is used.
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name, which is required when an Anti-DDoS Advanced instance is used.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol, which is required when an Anti-DDoS Advanced instance is used.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
}

Predefined struct for user

type DescribeCCPrecisionPlyListResponse

type DescribeCCPrecisionPlyListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCCPrecisionPlyListResponseParams `json:"Response"`
}

func NewDescribeCCPrecisionPlyListResponse

func NewDescribeCCPrecisionPlyListResponse() (response *DescribeCCPrecisionPlyListResponse)

func (*DescribeCCPrecisionPlyListResponse) FromJsonString

func (r *DescribeCCPrecisionPlyListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCCPrecisionPlyListResponse) ToJsonString

func (r *DescribeCCPrecisionPlyListResponse) ToJsonString() string

type DescribeCCPrecisionPlyListResponseParams

type DescribeCCPrecisionPlyListResponseParams struct {
	// Number of policy lists
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// Information of the policy list
	PrecisionPolicyList []*CCPrecisionPolicy `json:"PrecisionPolicyList,omitempty" name:"PrecisionPolicyList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCCThresholdListRequest

type DescribeCCThresholdListRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS service code. `bgp-multip` indicates Anti-DDos Pro.
	Business *string `json:"Business,omitempty" name:"Business"`

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results returned in one page
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// ID of the specified instance
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewDescribeCCThresholdListRequest

func NewDescribeCCThresholdListRequest() (request *DescribeCCThresholdListRequest)

func (*DescribeCCThresholdListRequest) FromJsonString

func (r *DescribeCCThresholdListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCCThresholdListRequest) ToJsonString

func (r *DescribeCCThresholdListRequest) ToJsonString() string

type DescribeCCThresholdListRequestParams

type DescribeCCThresholdListRequestParams struct {
	// Anti-DDoS service code. `bgp-multip` indicates Anti-DDos Pro.
	Business *string `json:"Business,omitempty" name:"Business"`

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results returned in one page
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// ID of the specified instance
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeCCThresholdListResponse

type DescribeCCThresholdListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCCThresholdListResponseParams `json:"Response"`
}

func NewDescribeCCThresholdListResponse

func NewDescribeCCThresholdListResponse() (response *DescribeCCThresholdListResponse)

func (*DescribeCCThresholdListResponse) FromJsonString

func (r *DescribeCCThresholdListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCCThresholdListResponse) ToJsonString

func (r *DescribeCCThresholdListResponse) ToJsonString() string

type DescribeCCThresholdListResponseParams

type DescribeCCThresholdListResponseParams struct {
	// Total number of cleansing threshold policies
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// Details of cleansing threshold policies
	ThresholdList []*CCThresholdPolicy `json:"ThresholdList,omitempty" name:"ThresholdList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCCTrendRequest

type DescribeCCTrendRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic
	Business *string `json:"Business,omitempty" name:"Business"`

	// Instance IP
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day)
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Beginning of the time range for the query
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End of the time range for the query
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Metric. Valid values: `inqps` (total QPS peaks), `dropqps` (attack QPS peaks), `incount` (total number of requests), and `dropcount` (number of attack requests).
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// (Optional) Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Instance ID. Leave this field empty when `Business` is `basic`, as basic protection does not require an instance.
	Id *string `json:"Id,omitempty" name:"Id"`
}

func NewDescribeCCTrendRequest

func NewDescribeCCTrendRequest() (request *DescribeCCTrendRequest)

func (*DescribeCCTrendRequest) FromJsonString

func (r *DescribeCCTrendRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCCTrendRequest) ToJsonString

func (r *DescribeCCTrendRequest) ToJsonString() string

type DescribeCCTrendRequestParams

type DescribeCCTrendRequestParams struct {
	// Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic
	Business *string `json:"Business,omitempty" name:"Business"`

	// Instance IP
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day)
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Beginning of the time range for the query
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End of the time range for the query
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Metric. Valid values: `inqps` (total QPS peaks), `dropqps` (attack QPS peaks), `incount` (total number of requests), and `dropcount` (number of attack requests).
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// (Optional) Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Instance ID. Leave this field empty when `Business` is `basic`, as basic protection does not require an instance.
	Id *string `json:"Id,omitempty" name:"Id"`
}

Predefined struct for user

type DescribeCCTrendResponse

type DescribeCCTrendResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCCTrendResponseParams `json:"Response"`
}

func NewDescribeCCTrendResponse

func NewDescribeCCTrendResponse() (response *DescribeCCTrendResponse)

func (*DescribeCCTrendResponse) FromJsonString

func (r *DescribeCCTrendResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCCTrendResponse) ToJsonString

func (r *DescribeCCTrendResponse) ToJsonString() string

type DescribeCCTrendResponseParams

type DescribeCCTrendResponseParams struct {
	// Number of values returned
	Count *uint64 `json:"Count,omitempty" name:"Count"`

	// Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic
	Business *string `json:"Business,omitempty" name:"Business"`

	// Instance IP
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day)
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Beginning of the time range for the query
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End of the time range for the query
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Value array
	Data []*uint64 `json:"Data,omitempty" name:"Data"`

	// Instance ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Metric. Valid values: `inqps` (total QPS peaks), `dropqps` (attack QPS peaks), `incount` (total number of requests), and `dropcount` (number of attack requests).
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCcBlackWhiteIpListRequest

type DescribeCcBlackWhiteIpListRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS service type. Valid values: `bgpip-multip` (Anti-DDoS Pro) and `bgpip` (Anti-DDoS Advanced).
	Business *string `json:"Business,omitempty" name:"Business"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results returned in one page
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// IP address, which is required when an Anti-DDoS Advanced instance is used.
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name, which is required when an Anti-DDoS Advanced instance is used.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol, which is required when an Anti-DDoS Advanced instance is used.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Specifies a blocklist/allowlist IP.
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`

	// Specifies whether is an IP blocklist or IP allowlist.
	FilterType *string `json:"FilterType,omitempty" name:"FilterType"`
}

func NewDescribeCcBlackWhiteIpListRequest

func NewDescribeCcBlackWhiteIpListRequest() (request *DescribeCcBlackWhiteIpListRequest)

func (*DescribeCcBlackWhiteIpListRequest) FromJsonString

func (r *DescribeCcBlackWhiteIpListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCcBlackWhiteIpListRequest) ToJsonString

func (r *DescribeCcBlackWhiteIpListRequest) ToJsonString() string

type DescribeCcBlackWhiteIpListRequestParams

type DescribeCcBlackWhiteIpListRequestParams struct {
	// Anti-DDoS service type. Valid values: `bgpip-multip` (Anti-DDoS Pro) and `bgpip` (Anti-DDoS Advanced).
	Business *string `json:"Business,omitempty" name:"Business"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results returned in one page
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// IP address, which is required when an Anti-DDoS Advanced instance is used.
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name, which is required when an Anti-DDoS Advanced instance is used.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol, which is required when an Anti-DDoS Advanced instance is used.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Specifies a blocklist/allowlist IP.
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`

	// Specifies whether is an IP blocklist or IP allowlist.
	FilterType *string `json:"FilterType,omitempty" name:"FilterType"`
}

Predefined struct for user

type DescribeCcBlackWhiteIpListResponse

type DescribeCcBlackWhiteIpListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCcBlackWhiteIpListResponseParams `json:"Response"`
}

func NewDescribeCcBlackWhiteIpListResponse

func NewDescribeCcBlackWhiteIpListResponse() (response *DescribeCcBlackWhiteIpListResponse)

func (*DescribeCcBlackWhiteIpListResponse) FromJsonString

func (r *DescribeCcBlackWhiteIpListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCcBlackWhiteIpListResponse) ToJsonString

func (r *DescribeCcBlackWhiteIpListResponse) ToJsonString() string

type DescribeCcBlackWhiteIpListResponseParams

type DescribeCcBlackWhiteIpListResponseParams struct {
	// Number of policy lists
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// Information of the policy list
	CcBlackWhiteIpList []*CcBlackWhiteIpPolicy `json:"CcBlackWhiteIpList,omitempty" name:"CcBlackWhiteIpList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCcGeoIPBlockConfigListRequest

type DescribeCcGeoIPBlockConfigListRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS service type. Valid values: `bgpip-multip` (Anti-DDoS Pro) and `bgpip` (Anti-DDoS Advanced).
	Business *string `json:"Business,omitempty" name:"Business"`

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results returned in one page
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP address, which is required when an Anti-DDoS Advanced instance is used.
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name, which is required when an Anti-DDoS Advanced instance is used.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol, which is required when an Anti-DDoS Advanced instance is used.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
}

func NewDescribeCcGeoIPBlockConfigListRequest

func NewDescribeCcGeoIPBlockConfigListRequest() (request *DescribeCcGeoIPBlockConfigListRequest)

func (*DescribeCcGeoIPBlockConfigListRequest) FromJsonString

func (r *DescribeCcGeoIPBlockConfigListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCcGeoIPBlockConfigListRequest) ToJsonString

type DescribeCcGeoIPBlockConfigListRequestParams

type DescribeCcGeoIPBlockConfigListRequestParams struct {
	// Anti-DDoS service type. Valid values: `bgpip-multip` (Anti-DDoS Pro) and `bgpip` (Anti-DDoS Advanced).
	Business *string `json:"Business,omitempty" name:"Business"`

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results returned in one page
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// IP address, which is required when an Anti-DDoS Advanced instance is used.
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Domain name, which is required when an Anti-DDoS Advanced instance is used.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol, which is required when an Anti-DDoS Advanced instance is used.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
}

Predefined struct for user

type DescribeCcGeoIPBlockConfigListResponse

type DescribeCcGeoIPBlockConfigListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCcGeoIPBlockConfigListResponseParams `json:"Response"`
}

func NewDescribeCcGeoIPBlockConfigListResponse

func NewDescribeCcGeoIPBlockConfigListResponse() (response *DescribeCcGeoIPBlockConfigListResponse)

func (*DescribeCcGeoIPBlockConfigListResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCcGeoIPBlockConfigListResponse) ToJsonString

type DescribeCcGeoIPBlockConfigListResponseParams

type DescribeCcGeoIPBlockConfigListResponseParams struct {
	// Number of policy lists
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// Information of the policy list
	CcGeoIpPolicyList []*CcGeoIpPolicyNew `json:"CcGeoIpPolicyList,omitempty" name:"CcGeoIpPolicyList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDDoSTrendRequest

type DescribeDDoSTrendRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic
	Business *string `json:"Business,omitempty" name:"Business"`

	// Instance IP
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day)
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Beginning of the time range for the query
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End of the time range for the query
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Metric. Valid values: `bps`: attack traffic bandwidth; `pps`: attack packet rate
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// Instance ID. Leave this field empty when `Business` is `basic`, as basic protection does not require an instance.
	Id *string `json:"Id,omitempty" name:"Id"`
}

func NewDescribeDDoSTrendRequest

func NewDescribeDDoSTrendRequest() (request *DescribeDDoSTrendRequest)

func (*DescribeDDoSTrendRequest) FromJsonString

func (r *DescribeDDoSTrendRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSTrendRequest) ToJsonString

func (r *DescribeDDoSTrendRequest) ToJsonString() string

type DescribeDDoSTrendRequestParams

type DescribeDDoSTrendRequestParams struct {
	// Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic
	Business *string `json:"Business,omitempty" name:"Business"`

	// Instance IP
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day)
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Beginning of the time range for the query
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End of the time range for the query
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Metric. Valid values: `bps`: attack traffic bandwidth; `pps`: attack packet rate
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// Instance ID. Leave this field empty when `Business` is `basic`, as basic protection does not require an instance.
	Id *string `json:"Id,omitempty" name:"Id"`
}

Predefined struct for user

type DescribeDDoSTrendResponse

type DescribeDDoSTrendResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSTrendResponseParams `json:"Response"`
}

func NewDescribeDDoSTrendResponse

func NewDescribeDDoSTrendResponse() (response *DescribeDDoSTrendResponse)

func (*DescribeDDoSTrendResponse) FromJsonString

func (r *DescribeDDoSTrendResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSTrendResponse) ToJsonString

func (r *DescribeDDoSTrendResponse) ToJsonString() string

type DescribeDDoSTrendResponseParams

type DescribeDDoSTrendResponseParams struct {
	// Number of values returned
	Count *uint64 `json:"Count,omitempty" name:"Count"`

	// Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic
	Business *string `json:"Business,omitempty" name:"Business"`

	// Instance IP
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day)
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Beginning of the time range for the query
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End of the time range for the query
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Value array. The unit for attack traffic bandwidth is Mbps, and that for the packet rate is pps.
	Data []*uint64 `json:"Data,omitempty" name:"Data"`

	// Instance ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Metric. Valid values: `bps`: attack traffic bandwidth; `pps`: attack packet rate
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDefaultAlarmThresholdRequest

type DescribeDefaultAlarmThresholdRequest struct {
	*tchttp.BaseRequest

	// Product category. Valid values:
	// `bgp`: Anti-DDoS Pro
	// `bgpip`: Anti-DDoS Advanced
	// ]
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Alarm threshold type filter. Valid values:
	// `1`: alarm threshold for inbound traffic
	// `2`: alarm threshold for cleansing attack traffic
	// ]
	FilterAlarmType *int64 `json:"FilterAlarmType,omitempty" name:"FilterAlarmType"`
}

func NewDescribeDefaultAlarmThresholdRequest

func NewDescribeDefaultAlarmThresholdRequest() (request *DescribeDefaultAlarmThresholdRequest)

func (*DescribeDefaultAlarmThresholdRequest) FromJsonString

func (r *DescribeDefaultAlarmThresholdRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDefaultAlarmThresholdRequest) ToJsonString

func (r *DescribeDefaultAlarmThresholdRequest) ToJsonString() string

type DescribeDefaultAlarmThresholdRequestParams

type DescribeDefaultAlarmThresholdRequestParams struct {
	// Product category. Valid values:
	// `bgp`: Anti-DDoS Pro
	// `bgpip`: Anti-DDoS Advanced
	// ]
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Alarm threshold type filter. Valid values:
	// `1`: alarm threshold for inbound traffic
	// `2`: alarm threshold for cleansing attack traffic
	// ]
	FilterAlarmType *int64 `json:"FilterAlarmType,omitempty" name:"FilterAlarmType"`
}

Predefined struct for user

type DescribeDefaultAlarmThresholdResponse

type DescribeDefaultAlarmThresholdResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDefaultAlarmThresholdResponseParams `json:"Response"`
}

func NewDescribeDefaultAlarmThresholdResponse

func NewDescribeDefaultAlarmThresholdResponse() (response *DescribeDefaultAlarmThresholdResponse)

func (*DescribeDefaultAlarmThresholdResponse) FromJsonString

func (r *DescribeDefaultAlarmThresholdResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDefaultAlarmThresholdResponse) ToJsonString

type DescribeDefaultAlarmThresholdResponseParams

type DescribeDefaultAlarmThresholdResponseParams struct {
	// Default alarm threshold configuration
	DefaultAlarmConfigList []*DefaultAlarmThreshold `json:"DefaultAlarmConfigList,omitempty" name:"DefaultAlarmConfigList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeL7RulesBySSLCertIdRequest

type DescribeL7RulesBySSLCertIdRequest struct {
	*tchttp.BaseRequest

	// Domain name status. Valid values: `bindable`, `binded`, `opened`, `closed`, `all` (all states).
	Status *string `json:"Status,omitempty" name:"Status"`

	// List of certificate IDs
	CertIds []*string `json:"CertIds,omitempty" name:"CertIds"`
}

func NewDescribeL7RulesBySSLCertIdRequest

func NewDescribeL7RulesBySSLCertIdRequest() (request *DescribeL7RulesBySSLCertIdRequest)

func (*DescribeL7RulesBySSLCertIdRequest) FromJsonString

func (r *DescribeL7RulesBySSLCertIdRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeL7RulesBySSLCertIdRequest) ToJsonString

func (r *DescribeL7RulesBySSLCertIdRequest) ToJsonString() string

type DescribeL7RulesBySSLCertIdRequestParams

type DescribeL7RulesBySSLCertIdRequestParams struct {
	// Domain name status. Valid values: `bindable`, `binded`, `opened`, `closed`, `all` (all states).
	Status *string `json:"Status,omitempty" name:"Status"`

	// List of certificate IDs
	CertIds []*string `json:"CertIds,omitempty" name:"CertIds"`
}

Predefined struct for user

type DescribeL7RulesBySSLCertIdResponse

type DescribeL7RulesBySSLCertIdResponse struct {
	*tchttp.BaseResponse
	Response *DescribeL7RulesBySSLCertIdResponseParams `json:"Response"`
}

func NewDescribeL7RulesBySSLCertIdResponse

func NewDescribeL7RulesBySSLCertIdResponse() (response *DescribeL7RulesBySSLCertIdResponse)

func (*DescribeL7RulesBySSLCertIdResponse) FromJsonString

func (r *DescribeL7RulesBySSLCertIdResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeL7RulesBySSLCertIdResponse) ToJsonString

func (r *DescribeL7RulesBySSLCertIdResponse) ToJsonString() string

type DescribeL7RulesBySSLCertIdResponseParams

type DescribeL7RulesBySSLCertIdResponseParams struct {
	// Certificate rule set
	CertSet []*CertIdInsL7Rules `json:"CertSet,omitempty" name:"CertSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeListBGPIPInstancesRequest

type DescribeListBGPIPInstancesRequest struct {
	*tchttp.BaseRequest

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`

	// Anti-DDoS instance ID filter. For example, you can filter the Anti-DDoS Advanced instance ID by `bgpip-00000001`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// Anti-DDoS Advanced line filter. Valid values:
	// `1`: BGP line
	// `2`: China Telecom
	// `3`: China Unicom
	// `4`: China Mobile
	// `99`: third-party line
	// ]
	FilterLine *uint64 `json:"FilterLine,omitempty" name:"FilterLine"`

	// Region filter. For example, `ap-guangzhou`.
	FilterRegion *string `json:"FilterRegion,omitempty" name:"FilterRegion"`

	// Name filter
	FilterName *string `json:"FilterName,omitempty" name:"FilterName"`

	// Whether to obtain only Anti-DDoS EIP instances. `1`: Yes; `0`: No.
	FilterEipType *int64 `json:"FilterEipType,omitempty" name:"FilterEipType"`

	// Anti-DDoS Advanced instance binding status filter. Valid values: `BINDING`, `BIND`, `UNBINDING`, `UNBIND`. This filter is only valid when `FilterEipType = 1`.
	FilterEipEipAddressStatus []*string `json:"FilterEipEipAddressStatus,omitempty" name:"FilterEipEipAddressStatus"`

	// Whether to obtain only Anti-DDoS instances with Sec-MCA enabled. Valid values: `1` (only obtain Anti-DDoS instances with Sec-MCA enabled) and `0` (obtain other Anti-DDoS instances).
	FilterDamDDoSStatus *int64 `json:"FilterDamDDoSStatus,omitempty" name:"FilterDamDDoSStatus"`

	// Filters by the status of bound resources. Values: `idle` (normal), `attacking` (being attacked), `blocking` (being blocked), `trial` (in trial)
	FilterStatus *string `json:"FilterStatus,omitempty" name:"FilterStatus"`

	// Filters by the instance CNAME
	FilterCname *string `json:"FilterCname,omitempty" name:"FilterCname"`

	// Filters by the instance ID
	FilterInstanceIdList []*string `json:"FilterInstanceIdList,omitempty" name:"FilterInstanceIdList"`

	// Searches by tag
	FilterTag *TagFilter `json:"FilterTag,omitempty" name:"FilterTag"`

	// Filters by package type.
	FilterPackType []*string `json:"FilterPackType,omitempty" name:"FilterPackType"`

	// Filters out Convoy instances
	FilterConvoy *uint64 `json:"FilterConvoy,omitempty" name:"FilterConvoy"`
}

func NewDescribeListBGPIPInstancesRequest

func NewDescribeListBGPIPInstancesRequest() (request *DescribeListBGPIPInstancesRequest)

func (*DescribeListBGPIPInstancesRequest) FromJsonString

func (r *DescribeListBGPIPInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListBGPIPInstancesRequest) ToJsonString

func (r *DescribeListBGPIPInstancesRequest) ToJsonString() string

type DescribeListBGPIPInstancesRequestParams

type DescribeListBGPIPInstancesRequestParams struct {
	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`

	// Anti-DDoS instance ID filter. For example, you can filter the Anti-DDoS Advanced instance ID by `bgpip-00000001`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// Anti-DDoS Advanced line filter. Valid values:
	// `1`: BGP line
	// `2`: China Telecom
	// `3`: China Unicom
	// `4`: China Mobile
	// `99`: third-party line
	// ]
	FilterLine *uint64 `json:"FilterLine,omitempty" name:"FilterLine"`

	// Region filter. For example, `ap-guangzhou`.
	FilterRegion *string `json:"FilterRegion,omitempty" name:"FilterRegion"`

	// Name filter
	FilterName *string `json:"FilterName,omitempty" name:"FilterName"`

	// Whether to obtain only Anti-DDoS EIP instances. `1`: Yes; `0`: No.
	FilterEipType *int64 `json:"FilterEipType,omitempty" name:"FilterEipType"`

	// Anti-DDoS Advanced instance binding status filter. Valid values: `BINDING`, `BIND`, `UNBINDING`, `UNBIND`. This filter is only valid when `FilterEipType = 1`.
	FilterEipEipAddressStatus []*string `json:"FilterEipEipAddressStatus,omitempty" name:"FilterEipEipAddressStatus"`

	// Whether to obtain only Anti-DDoS instances with Sec-MCA enabled. Valid values: `1` (only obtain Anti-DDoS instances with Sec-MCA enabled) and `0` (obtain other Anti-DDoS instances).
	FilterDamDDoSStatus *int64 `json:"FilterDamDDoSStatus,omitempty" name:"FilterDamDDoSStatus"`

	// Filters by the status of bound resources. Values: `idle` (normal), `attacking` (being attacked), `blocking` (being blocked), `trial` (in trial)
	FilterStatus *string `json:"FilterStatus,omitempty" name:"FilterStatus"`

	// Filters by the instance CNAME
	FilterCname *string `json:"FilterCname,omitempty" name:"FilterCname"`

	// Filters by the instance ID
	FilterInstanceIdList []*string `json:"FilterInstanceIdList,omitempty" name:"FilterInstanceIdList"`

	// Searches by tag
	FilterTag *TagFilter `json:"FilterTag,omitempty" name:"FilterTag"`

	// Filters by package type.
	FilterPackType []*string `json:"FilterPackType,omitempty" name:"FilterPackType"`

	// Filters out Convoy instances
	FilterConvoy *uint64 `json:"FilterConvoy,omitempty" name:"FilterConvoy"`
}

Predefined struct for user

type DescribeListBGPIPInstancesResponse

type DescribeListBGPIPInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListBGPIPInstancesResponseParams `json:"Response"`
}

func NewDescribeListBGPIPInstancesResponse

func NewDescribeListBGPIPInstancesResponse() (response *DescribeListBGPIPInstancesResponse)

func (*DescribeListBGPIPInstancesResponse) FromJsonString

func (r *DescribeListBGPIPInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListBGPIPInstancesResponse) ToJsonString

func (r *DescribeListBGPIPInstancesResponse) ToJsonString() string

type DescribeListBGPIPInstancesResponseParams

type DescribeListBGPIPInstancesResponseParams struct {
	// Total number of lists
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// List of Anti-DDoS Advanced instances
	InstanceList []*BGPIPInstance `json:"InstanceList,omitempty" name:"InstanceList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeListBGPInstancesRequest

type DescribeListBGPInstancesRequest struct {
	*tchttp.BaseRequest

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Filters by IP.
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`

	// Anti-DDoS instance ID filter. For example, `bgp-00000001`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// Filters by region. For example, `ap-guangzhou`.
	FilterRegion *string `json:"FilterRegion,omitempty" name:"FilterRegion"`

	// Filters by name.
	FilterName *string `json:"FilterName,omitempty" name:"FilterName"`

	// Line filter. Valid values: 1: BGP; 2: Non-BGP.
	FilterLine *uint64 `json:"FilterLine,omitempty" name:"FilterLine"`

	// Filters by instance status. `idle`: Running; `attacking`: Being attacked; `blocking`: Being blocked.
	FilterStatus *string `json:"FilterStatus,omitempty" name:"FilterStatus"`

	// Filters by binding status. `bounding`: The instance is bound; `failed`: The binding failed.
	FilterBoundStatus *string `json:"FilterBoundStatus,omitempty" name:"FilterBoundStatus"`

	// Array of instance IDs
	FilterInstanceIdList []*string `json:"FilterInstanceIdList,omitempty" name:"FilterInstanceIdList"`

	// Enterprise edition. Values: `1` (the Convoy package included), `2` (the Convoy package not included)
	FilterEnterpriseFlag *uint64 `json:"FilterEnterpriseFlag,omitempty" name:"FilterEnterpriseFlag"`

	// Whether it’s a Lighthouse edition
	FilterLightFlag *uint64 `json:"FilterLightFlag,omitempty" name:"FilterLightFlag"`

	// Whether it’s a Channel edition
	FilterChannelFlag *uint64 `json:"FilterChannelFlag,omitempty" name:"FilterChannelFlag"`

	// Filters by tag
	FilterTag *TagFilter `json:"FilterTag,omitempty" name:"FilterTag"`

	// Filters out trial instances. Values: `1` (emergency protection instances), `2` (PLG instances)
	FilterTrialFlag *uint64 `json:"FilterTrialFlag,omitempty" name:"FilterTrialFlag"`

	// Filters out Convoy instances
	FilterConvoy *uint64 `json:"FilterConvoy,omitempty" name:"FilterConvoy"`

	// Whether to exclude the advanced information (such as `InstanceList[0].Usage`). Values: `true` (exclude), `false` (do not exclude). The default value is `false`.
	ExcludeAdvancedInfo *bool `json:"ExcludeAdvancedInfo,omitempty" name:"ExcludeAdvancedInfo"`
}

func NewDescribeListBGPInstancesRequest

func NewDescribeListBGPInstancesRequest() (request *DescribeListBGPInstancesRequest)

func (*DescribeListBGPInstancesRequest) FromJsonString

func (r *DescribeListBGPInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListBGPInstancesRequest) ToJsonString

func (r *DescribeListBGPInstancesRequest) ToJsonString() string

type DescribeListBGPInstancesRequestParams

type DescribeListBGPInstancesRequestParams struct {
	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Filters by IP.
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`

	// Anti-DDoS instance ID filter. For example, `bgp-00000001`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// Filters by region. For example, `ap-guangzhou`.
	FilterRegion *string `json:"FilterRegion,omitempty" name:"FilterRegion"`

	// Filters by name.
	FilterName *string `json:"FilterName,omitempty" name:"FilterName"`

	// Line filter. Valid values: 1: BGP; 2: Non-BGP.
	FilterLine *uint64 `json:"FilterLine,omitempty" name:"FilterLine"`

	// Filters by instance status. `idle`: Running; `attacking`: Being attacked; `blocking`: Being blocked.
	FilterStatus *string `json:"FilterStatus,omitempty" name:"FilterStatus"`

	// Filters by binding status. `bounding`: The instance is bound; `failed`: The binding failed.
	FilterBoundStatus *string `json:"FilterBoundStatus,omitempty" name:"FilterBoundStatus"`

	// Array of instance IDs
	FilterInstanceIdList []*string `json:"FilterInstanceIdList,omitempty" name:"FilterInstanceIdList"`

	// Enterprise edition. Values: `1` (the Convoy package included), `2` (the Convoy package not included)
	FilterEnterpriseFlag *uint64 `json:"FilterEnterpriseFlag,omitempty" name:"FilterEnterpriseFlag"`

	// Whether it’s a Lighthouse edition
	FilterLightFlag *uint64 `json:"FilterLightFlag,omitempty" name:"FilterLightFlag"`

	// Whether it’s a Channel edition
	FilterChannelFlag *uint64 `json:"FilterChannelFlag,omitempty" name:"FilterChannelFlag"`

	// Filters by tag
	FilterTag *TagFilter `json:"FilterTag,omitempty" name:"FilterTag"`

	// Filters out trial instances. Values: `1` (emergency protection instances), `2` (PLG instances)
	FilterTrialFlag *uint64 `json:"FilterTrialFlag,omitempty" name:"FilterTrialFlag"`

	// Filters out Convoy instances
	FilterConvoy *uint64 `json:"FilterConvoy,omitempty" name:"FilterConvoy"`

	// Whether to exclude the advanced information (such as `InstanceList[0].Usage`). Values: `true` (exclude), `false` (do not exclude). The default value is `false`.
	ExcludeAdvancedInfo *bool `json:"ExcludeAdvancedInfo,omitempty" name:"ExcludeAdvancedInfo"`
}

Predefined struct for user

type DescribeListBGPInstancesResponse

type DescribeListBGPInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListBGPInstancesResponseParams `json:"Response"`
}

func NewDescribeListBGPInstancesResponse

func NewDescribeListBGPInstancesResponse() (response *DescribeListBGPInstancesResponse)

func (*DescribeListBGPInstancesResponse) FromJsonString

func (r *DescribeListBGPInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListBGPInstancesResponse) ToJsonString

func (r *DescribeListBGPInstancesResponse) ToJsonString() string

type DescribeListBGPInstancesResponseParams

type DescribeListBGPInstancesResponseParams struct {
	// Total number of Anti-DDoS Pro instances
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// List of Anti-DDoS Pro instances
	InstanceList []*BGPInstance `json:"InstanceList,omitempty" name:"InstanceList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeListBlackWhiteIpListRequest

type DescribeListBlackWhiteIpListRequest struct {
	*tchttp.BaseRequest

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`
}

func NewDescribeListBlackWhiteIpListRequest

func NewDescribeListBlackWhiteIpListRequest() (request *DescribeListBlackWhiteIpListRequest)

func (*DescribeListBlackWhiteIpListRequest) FromJsonString

func (r *DescribeListBlackWhiteIpListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListBlackWhiteIpListRequest) ToJsonString

func (r *DescribeListBlackWhiteIpListRequest) ToJsonString() string

type DescribeListBlackWhiteIpListRequestParams

type DescribeListBlackWhiteIpListRequestParams struct {
	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`
}

Predefined struct for user

type DescribeListBlackWhiteIpListResponse

type DescribeListBlackWhiteIpListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListBlackWhiteIpListResponseParams `json:"Response"`
}

func NewDescribeListBlackWhiteIpListResponse

func NewDescribeListBlackWhiteIpListResponse() (response *DescribeListBlackWhiteIpListResponse)

func (*DescribeListBlackWhiteIpListResponse) FromJsonString

func (r *DescribeListBlackWhiteIpListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListBlackWhiteIpListResponse) ToJsonString

func (r *DescribeListBlackWhiteIpListResponse) ToJsonString() string

type DescribeListBlackWhiteIpListResponseParams

type DescribeListBlackWhiteIpListResponseParams struct {
	// Total number of lists
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// IP blocklist/allowlist
	IpList []*BlackWhiteIpRelation `json:"IpList,omitempty" name:"IpList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeListDDoSAIRequest

type DescribeListDDoSAIRequest struct {
	*tchttp.BaseRequest

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`
}

func NewDescribeListDDoSAIRequest

func NewDescribeListDDoSAIRequest() (request *DescribeListDDoSAIRequest)

func (*DescribeListDDoSAIRequest) FromJsonString

func (r *DescribeListDDoSAIRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListDDoSAIRequest) ToJsonString

func (r *DescribeListDDoSAIRequest) ToJsonString() string

type DescribeListDDoSAIRequestParams

type DescribeListDDoSAIRequestParams struct {
	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`
}

Predefined struct for user

type DescribeListDDoSAIResponse

type DescribeListDDoSAIResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListDDoSAIResponseParams `json:"Response"`
}

func NewDescribeListDDoSAIResponse

func NewDescribeListDDoSAIResponse() (response *DescribeListDDoSAIResponse)

func (*DescribeListDDoSAIResponse) FromJsonString

func (r *DescribeListDDoSAIResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListDDoSAIResponse) ToJsonString

func (r *DescribeListDDoSAIResponse) ToJsonString() string

type DescribeListDDoSAIResponseParams

type DescribeListDDoSAIResponseParams struct {
	// Total number of lists
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// List of AI protection switches
	ConfigList []*DDoSAIRelation `json:"ConfigList,omitempty" name:"ConfigList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeListDDoSGeoIPBlockConfigRequest

type DescribeListDDoSGeoIPBlockConfigRequest struct {
	*tchttp.BaseRequest

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`
}

func NewDescribeListDDoSGeoIPBlockConfigRequest

func NewDescribeListDDoSGeoIPBlockConfigRequest() (request *DescribeListDDoSGeoIPBlockConfigRequest)

func (*DescribeListDDoSGeoIPBlockConfigRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListDDoSGeoIPBlockConfigRequest) ToJsonString

type DescribeListDDoSGeoIPBlockConfigRequestParams

type DescribeListDDoSGeoIPBlockConfigRequestParams struct {
	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`
}

Predefined struct for user

type DescribeListDDoSGeoIPBlockConfigResponse

type DescribeListDDoSGeoIPBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListDDoSGeoIPBlockConfigResponseParams `json:"Response"`
}

func NewDescribeListDDoSGeoIPBlockConfigResponse

func NewDescribeListDDoSGeoIPBlockConfigResponse() (response *DescribeListDDoSGeoIPBlockConfigResponse)

func (*DescribeListDDoSGeoIPBlockConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListDDoSGeoIPBlockConfigResponse) ToJsonString

type DescribeListDDoSGeoIPBlockConfigResponseParams

type DescribeListDDoSGeoIPBlockConfigResponseParams struct {
	// Total number of lists
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// List of Anti-DDoS region blocking configurations
	ConfigList []*DDoSGeoIPBlockConfigRelation `json:"ConfigList,omitempty" name:"ConfigList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeListDDoSSpeedLimitConfigRequest

type DescribeListDDoSSpeedLimitConfigRequest struct {
	*tchttp.BaseRequest

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`
}

func NewDescribeListDDoSSpeedLimitConfigRequest

func NewDescribeListDDoSSpeedLimitConfigRequest() (request *DescribeListDDoSSpeedLimitConfigRequest)

func (*DescribeListDDoSSpeedLimitConfigRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListDDoSSpeedLimitConfigRequest) ToJsonString

type DescribeListDDoSSpeedLimitConfigRequestParams

type DescribeListDDoSSpeedLimitConfigRequestParams struct {
	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`
}

Predefined struct for user

type DescribeListDDoSSpeedLimitConfigResponse

type DescribeListDDoSSpeedLimitConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListDDoSSpeedLimitConfigResponseParams `json:"Response"`
}

func NewDescribeListDDoSSpeedLimitConfigResponse

func NewDescribeListDDoSSpeedLimitConfigResponse() (response *DescribeListDDoSSpeedLimitConfigResponse)

func (*DescribeListDDoSSpeedLimitConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListDDoSSpeedLimitConfigResponse) ToJsonString

type DescribeListDDoSSpeedLimitConfigResponseParams

type DescribeListDDoSSpeedLimitConfigResponseParams struct {
	// Total number of lists
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// List of access rate limit configurations
	ConfigList []*DDoSSpeedLimitConfigRelation `json:"ConfigList,omitempty" name:"ConfigList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeListIPAlarmConfigRequest

type DescribeListIPAlarmConfigRequest struct {
	*tchttp.BaseRequest

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// Alarm threshold type filter. Valid values:
	// `1`: alarm threshold for inbound traffic
	// `2`: alarm threshold for cleansing attack traffic
	// ]
	FilterAlarmType *int64 `json:"FilterAlarmType,omitempty" name:"FilterAlarmType"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`

	// CNAME of the Anti-DDoS Advanced instance
	FilterCname *string `json:"FilterCname,omitempty" name:"FilterCname"`
}

func NewDescribeListIPAlarmConfigRequest

func NewDescribeListIPAlarmConfigRequest() (request *DescribeListIPAlarmConfigRequest)

func (*DescribeListIPAlarmConfigRequest) FromJsonString

func (r *DescribeListIPAlarmConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListIPAlarmConfigRequest) ToJsonString

func (r *DescribeListIPAlarmConfigRequest) ToJsonString() string

type DescribeListIPAlarmConfigRequestParams

type DescribeListIPAlarmConfigRequestParams struct {
	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// Alarm threshold type filter. Valid values:
	// `1`: alarm threshold for inbound traffic
	// `2`: alarm threshold for cleansing attack traffic
	// ]
	FilterAlarmType *int64 `json:"FilterAlarmType,omitempty" name:"FilterAlarmType"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`

	// CNAME of the Anti-DDoS Advanced instance
	FilterCname *string `json:"FilterCname,omitempty" name:"FilterCname"`
}

Predefined struct for user

type DescribeListIPAlarmConfigResponse

type DescribeListIPAlarmConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListIPAlarmConfigResponseParams `json:"Response"`
}

func NewDescribeListIPAlarmConfigResponse

func NewDescribeListIPAlarmConfigResponse() (response *DescribeListIPAlarmConfigResponse)

func (*DescribeListIPAlarmConfigResponse) FromJsonString

func (r *DescribeListIPAlarmConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListIPAlarmConfigResponse) ToJsonString

func (r *DescribeListIPAlarmConfigResponse) ToJsonString() string

type DescribeListIPAlarmConfigResponseParams

type DescribeListIPAlarmConfigResponseParams struct {
	// Total number of lists
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// List of IP alarm threshold configurations
	ConfigList []*IPAlarmThresholdRelation `json:"ConfigList,omitempty" name:"ConfigList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeListListenerRequest

type DescribeListListenerRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeListListenerRequest

func NewDescribeListListenerRequest() (request *DescribeListListenerRequest)

func (*DescribeListListenerRequest) FromJsonString

func (r *DescribeListListenerRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListListenerRequest) ToJsonString

func (r *DescribeListListenerRequest) ToJsonString() string

type DescribeListListenerRequestParams

type DescribeListListenerRequestParams struct {
}

Predefined struct for user

type DescribeListListenerResponse

type DescribeListListenerResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListListenerResponseParams `json:"Response"`
}

func NewDescribeListListenerResponse

func NewDescribeListListenerResponse() (response *DescribeListListenerResponse)

func (*DescribeListListenerResponse) FromJsonString

func (r *DescribeListListenerResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListListenerResponse) ToJsonString

func (r *DescribeListListenerResponse) ToJsonString() string

type DescribeListListenerResponseParams

type DescribeListListenerResponseParams struct {
	// List of layer-4 forwarding listeners
	Layer4Listeners []*Layer4Rule `json:"Layer4Listeners,omitempty" name:"Layer4Listeners"`

	// List of layer-7 forwarding listeners
	Layer7Listeners []*Layer7Rule `json:"Layer7Listeners,omitempty" name:"Layer7Listeners"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeListPacketFilterConfigRequest

type DescribeListPacketFilterConfigRequest struct {
	*tchttp.BaseRequest

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`
}

func NewDescribeListPacketFilterConfigRequest

func NewDescribeListPacketFilterConfigRequest() (request *DescribeListPacketFilterConfigRequest)

func (*DescribeListPacketFilterConfigRequest) FromJsonString

func (r *DescribeListPacketFilterConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListPacketFilterConfigRequest) ToJsonString

type DescribeListPacketFilterConfigRequestParams

type DescribeListPacketFilterConfigRequestParams struct {
	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`
}

Predefined struct for user

type DescribeListPacketFilterConfigResponse

type DescribeListPacketFilterConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListPacketFilterConfigResponseParams `json:"Response"`
}

func NewDescribeListPacketFilterConfigResponse

func NewDescribeListPacketFilterConfigResponse() (response *DescribeListPacketFilterConfigResponse)

func (*DescribeListPacketFilterConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListPacketFilterConfigResponse) ToJsonString

type DescribeListPacketFilterConfigResponseParams

type DescribeListPacketFilterConfigResponseParams struct {
	// Total number of lists
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// Feature filtering configuration
	ConfigList []*PacketFilterRelation `json:"ConfigList,omitempty" name:"ConfigList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeListProtectThresholdConfigRequest

type DescribeListProtectThresholdConfigRequest struct {
	*tchttp.BaseRequest

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`

	// Domain name filter for querying CC protection thresholds of domain names and protocols
	FilterDomain *string `json:"FilterDomain,omitempty" name:"FilterDomain"`

	// Protocol filter for querying CC protection thresholds of domain names and protocols
	FilterProtocol *string `json:"FilterProtocol,omitempty" name:"FilterProtocol"`
}

func NewDescribeListProtectThresholdConfigRequest

func NewDescribeListProtectThresholdConfigRequest() (request *DescribeListProtectThresholdConfigRequest)

func (*DescribeListProtectThresholdConfigRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListProtectThresholdConfigRequest) ToJsonString

type DescribeListProtectThresholdConfigRequestParams

type DescribeListProtectThresholdConfigRequestParams struct {
	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`

	// Domain name filter for querying CC protection thresholds of domain names and protocols
	FilterDomain *string `json:"FilterDomain,omitempty" name:"FilterDomain"`

	// Protocol filter for querying CC protection thresholds of domain names and protocols
	FilterProtocol *string `json:"FilterProtocol,omitempty" name:"FilterProtocol"`
}

Predefined struct for user

type DescribeListProtectThresholdConfigResponse

type DescribeListProtectThresholdConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListProtectThresholdConfigResponseParams `json:"Response"`
}

func NewDescribeListProtectThresholdConfigResponse

func NewDescribeListProtectThresholdConfigResponse() (response *DescribeListProtectThresholdConfigResponse)

func (*DescribeListProtectThresholdConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListProtectThresholdConfigResponse) ToJsonString

type DescribeListProtectThresholdConfigResponseParams

type DescribeListProtectThresholdConfigResponseParams struct {
	// Total number of lists
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// List of protection threshold configurations
	ConfigList []*ProtectThresholdRelation `json:"ConfigList,omitempty" name:"ConfigList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeListProtocolBlockConfigRequest

type DescribeListProtocolBlockConfigRequest struct {
	*tchttp.BaseRequest

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`
}

func NewDescribeListProtocolBlockConfigRequest

func NewDescribeListProtocolBlockConfigRequest() (request *DescribeListProtocolBlockConfigRequest)

func (*DescribeListProtocolBlockConfigRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListProtocolBlockConfigRequest) ToJsonString

type DescribeListProtocolBlockConfigRequestParams

type DescribeListProtocolBlockConfigRequestParams struct {
	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`
}

Predefined struct for user

type DescribeListProtocolBlockConfigResponse

type DescribeListProtocolBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListProtocolBlockConfigResponseParams `json:"Response"`
}

func NewDescribeListProtocolBlockConfigResponse

func NewDescribeListProtocolBlockConfigResponse() (response *DescribeListProtocolBlockConfigResponse)

func (*DescribeListProtocolBlockConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListProtocolBlockConfigResponse) ToJsonString

type DescribeListProtocolBlockConfigResponseParams

type DescribeListProtocolBlockConfigResponseParams struct {
	// Total number of lists
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// Protocol blocking configuration
	ConfigList []*ProtocolBlockRelation `json:"ConfigList,omitempty" name:"ConfigList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeListSchedulingDomainRequest

type DescribeListSchedulingDomainRequest struct {
	*tchttp.BaseRequest

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Scheduling domain name filter
	FilterDomain *string `json:"FilterDomain,omitempty" name:"FilterDomain"`
}

func NewDescribeListSchedulingDomainRequest

func NewDescribeListSchedulingDomainRequest() (request *DescribeListSchedulingDomainRequest)

func (*DescribeListSchedulingDomainRequest) FromJsonString

func (r *DescribeListSchedulingDomainRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListSchedulingDomainRequest) ToJsonString

func (r *DescribeListSchedulingDomainRequest) ToJsonString() string

type DescribeListSchedulingDomainRequestParams

type DescribeListSchedulingDomainRequestParams struct {
	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Scheduling domain name filter
	FilterDomain *string `json:"FilterDomain,omitempty" name:"FilterDomain"`
}

Predefined struct for user

type DescribeListSchedulingDomainResponse

type DescribeListSchedulingDomainResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListSchedulingDomainResponseParams `json:"Response"`
}

func NewDescribeListSchedulingDomainResponse

func NewDescribeListSchedulingDomainResponse() (response *DescribeListSchedulingDomainResponse)

func (*DescribeListSchedulingDomainResponse) FromJsonString

func (r *DescribeListSchedulingDomainResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListSchedulingDomainResponse) ToJsonString

func (r *DescribeListSchedulingDomainResponse) ToJsonString() string

type DescribeListSchedulingDomainResponseParams

type DescribeListSchedulingDomainResponseParams struct {
	// Total number of lists
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// List of scheduling domain names
	DomainList []*SchedulingDomainInfo `json:"DomainList,omitempty" name:"DomainList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeListWaterPrintConfigRequest

type DescribeListWaterPrintConfigRequest struct {
	*tchttp.BaseRequest

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`
}

func NewDescribeListWaterPrintConfigRequest

func NewDescribeListWaterPrintConfigRequest() (request *DescribeListWaterPrintConfigRequest)

func (*DescribeListWaterPrintConfigRequest) FromJsonString

func (r *DescribeListWaterPrintConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListWaterPrintConfigRequest) ToJsonString

func (r *DescribeListWaterPrintConfigRequest) ToJsonString() string

type DescribeListWaterPrintConfigRequestParams

type DescribeListWaterPrintConfigRequestParams struct {
	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
	FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"`

	// IP filter
	FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"`
}

Predefined struct for user

type DescribeListWaterPrintConfigResponse

type DescribeListWaterPrintConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeListWaterPrintConfigResponseParams `json:"Response"`
}

func NewDescribeListWaterPrintConfigResponse

func NewDescribeListWaterPrintConfigResponse() (response *DescribeListWaterPrintConfigResponse)

func (*DescribeListWaterPrintConfigResponse) FromJsonString

func (r *DescribeListWaterPrintConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeListWaterPrintConfigResponse) ToJsonString

func (r *DescribeListWaterPrintConfigResponse) ToJsonString() string

type DescribeListWaterPrintConfigResponseParams

type DescribeListWaterPrintConfigResponseParams struct {
	// Total number of lists
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// List of watermark configurations
	ConfigList []*WaterPrintRelation `json:"ConfigList,omitempty" name:"ConfigList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeNewL7RulesErrHealthRequest

type DescribeNewL7RulesErrHealthRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced)
	Business *string `json:"Business,omitempty" name:"Business"`

	// List of rule IDs
	RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList"`
}

func NewDescribeNewL7RulesErrHealthRequest

func NewDescribeNewL7RulesErrHealthRequest() (request *DescribeNewL7RulesErrHealthRequest)

func (*DescribeNewL7RulesErrHealthRequest) FromJsonString

func (r *DescribeNewL7RulesErrHealthRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeNewL7RulesErrHealthRequest) ToJsonString

func (r *DescribeNewL7RulesErrHealthRequest) ToJsonString() string

type DescribeNewL7RulesErrHealthRequestParams

type DescribeNewL7RulesErrHealthRequestParams struct {
	// Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced)
	Business *string `json:"Business,omitempty" name:"Business"`

	// List of rule IDs
	RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList"`
}

Predefined struct for user

type DescribeNewL7RulesErrHealthResponse

type DescribeNewL7RulesErrHealthResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNewL7RulesErrHealthResponseParams `json:"Response"`
}

func NewDescribeNewL7RulesErrHealthResponse

func NewDescribeNewL7RulesErrHealthResponse() (response *DescribeNewL7RulesErrHealthResponse)

func (*DescribeNewL7RulesErrHealthResponse) FromJsonString

func (r *DescribeNewL7RulesErrHealthResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeNewL7RulesErrHealthResponse) ToJsonString

func (r *DescribeNewL7RulesErrHealthResponse) ToJsonString() string

type DescribeNewL7RulesErrHealthResponseParams

type DescribeNewL7RulesErrHealthResponseParams struct {
	// List of rules with exceptions. `Key`: Rule ID, `Value`: Exception IPs and error message.
	ErrHealths []*KeyValue `json:"ErrHealths,omitempty" name:"ErrHealths"`

	// Total number of rules with exceptions
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeNewL7RulesRequest

type DescribeNewL7RulesRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced)
	Business *string `json:"Business,omitempty" name:"Business"`

	// (Optional) Searches by rule status. Valid values: `0` (Successfully configured), `1` (Being configured), `2` (Configuration failed), `3` (Being deleted), `5` (Deletion failed), `6` (awaiting configuration), `7` (awaiting deletion), and `8` (awaiting certificate configuration).
	StatusList []*uint64 `json:"StatusList,omitempty" name:"StatusList"`

	// (Optional) Searches by domain name.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// (Optional) Searches by IP.
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Number of items in a page. Returned results are not paged if you enter “0”.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// (Optional) Searches by forwarding protocol. Values: [http, https, http/https]
	ProtocolList []*string `json:"ProtocolList,omitempty" name:"ProtocolList"`

	// CNAME of the Anti-DDoS Advanced instance
	Cname *string `json:"Cname,omitempty" name:"Cname"`
}

func NewDescribeNewL7RulesRequest

func NewDescribeNewL7RulesRequest() (request *DescribeNewL7RulesRequest)

func (*DescribeNewL7RulesRequest) FromJsonString

func (r *DescribeNewL7RulesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeNewL7RulesRequest) ToJsonString

func (r *DescribeNewL7RulesRequest) ToJsonString() string

type DescribeNewL7RulesRequestParams

type DescribeNewL7RulesRequestParams struct {
	// Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced)
	Business *string `json:"Business,omitempty" name:"Business"`

	// (Optional) Searches by rule status. Valid values: `0` (Successfully configured), `1` (Being configured), `2` (Configuration failed), `3` (Being deleted), `5` (Deletion failed), `6` (awaiting configuration), `7` (awaiting deletion), and `8` (awaiting certificate configuration).
	StatusList []*uint64 `json:"StatusList,omitempty" name:"StatusList"`

	// (Optional) Searches by domain name.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// (Optional) Searches by IP.
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Number of items in a page. Returned results are not paged if you enter “0”.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Starting offset of the page. Value: (number of pages – 1) * items per page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// (Optional) Searches by forwarding protocol. Values: [http, https, http/https]
	ProtocolList []*string `json:"ProtocolList,omitempty" name:"ProtocolList"`

	// CNAME of the Anti-DDoS Advanced instance
	Cname *string `json:"Cname,omitempty" name:"Cname"`
}

Predefined struct for user

type DescribeNewL7RulesResponse

type DescribeNewL7RulesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNewL7RulesResponseParams `json:"Response"`
}

func NewDescribeNewL7RulesResponse

func NewDescribeNewL7RulesResponse() (response *DescribeNewL7RulesResponse)

func (*DescribeNewL7RulesResponse) FromJsonString

func (r *DescribeNewL7RulesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeNewL7RulesResponse) ToJsonString

func (r *DescribeNewL7RulesResponse) ToJsonString() string

type DescribeNewL7RulesResponseParams

type DescribeNewL7RulesResponseParams struct {
	// List of forwarding rules
	Rules []*NewL7RuleEntry `json:"Rules,omitempty" name:"Rules"`

	// List of health check settings
	Healths []*L7RuleHealth `json:"Healths,omitempty" name:"Healths"`

	// Total number of rules
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeOverviewDDoSEventListRequest

type DescribeOverviewDDoSEventListRequest struct {
	*tchttp.BaseRequest

	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Filters by the attack status. `start`: The attack is ongoing; `end`: The attack ends.
	AttackStatus *string `json:"AttackStatus,omitempty" name:"AttackStatus"`

	// The offset value
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Total number of records
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeOverviewDDoSEventListRequest

func NewDescribeOverviewDDoSEventListRequest() (request *DescribeOverviewDDoSEventListRequest)

func (*DescribeOverviewDDoSEventListRequest) FromJsonString

func (r *DescribeOverviewDDoSEventListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOverviewDDoSEventListRequest) ToJsonString

func (r *DescribeOverviewDDoSEventListRequest) ToJsonString() string

type DescribeOverviewDDoSEventListRequestParams

type DescribeOverviewDDoSEventListRequestParams struct {
	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Filters by the attack status. `start`: The attack is ongoing; `end`: The attack ends.
	AttackStatus *string `json:"AttackStatus,omitempty" name:"AttackStatus"`

	// The offset value
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Total number of records
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeOverviewDDoSEventListResponse

type DescribeOverviewDDoSEventListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOverviewDDoSEventListResponseParams `json:"Response"`
}

func NewDescribeOverviewDDoSEventListResponse

func NewDescribeOverviewDDoSEventListResponse() (response *DescribeOverviewDDoSEventListResponse)

func (*DescribeOverviewDDoSEventListResponse) FromJsonString

func (r *DescribeOverviewDDoSEventListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOverviewDDoSEventListResponse) ToJsonString

type DescribeOverviewDDoSEventListResponseParams

type DescribeOverviewDDoSEventListResponseParams struct {
	// Total number of records
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// Event list
	EventList []*OverviewDDoSEvent `json:"EventList,omitempty" name:"EventList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePendingRiskInfoRequest

type DescribePendingRiskInfoRequest struct {
	*tchttp.BaseRequest
}

func NewDescribePendingRiskInfoRequest

func NewDescribePendingRiskInfoRequest() (request *DescribePendingRiskInfoRequest)

func (*DescribePendingRiskInfoRequest) FromJsonString

func (r *DescribePendingRiskInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePendingRiskInfoRequest) ToJsonString

func (r *DescribePendingRiskInfoRequest) ToJsonString() string

type DescribePendingRiskInfoRequestParams

type DescribePendingRiskInfoRequestParams struct {
}

Predefined struct for user

type DescribePendingRiskInfoResponse

type DescribePendingRiskInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribePendingRiskInfoResponseParams `json:"Response"`
}

func NewDescribePendingRiskInfoResponse

func NewDescribePendingRiskInfoResponse() (response *DescribePendingRiskInfoResponse)

func (*DescribePendingRiskInfoResponse) FromJsonString

func (r *DescribePendingRiskInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePendingRiskInfoResponse) ToJsonString

func (r *DescribePendingRiskInfoResponse) ToJsonString() string

type DescribePendingRiskInfoResponseParams

type DescribePendingRiskInfoResponseParams struct {
	// Whether the user is a paid user. Values: `true`, `false`.
	IsPaidUsr *bool `json:"IsPaidUsr,omitempty" name:"IsPaidUsr"`

	// Number of resources being attacked
	AttackingCount *int64 `json:"AttackingCount,omitempty" name:"AttackingCount"`

	// Number of resource blocked
	BlockingCount *int64 `json:"BlockingCount,omitempty" name:"BlockingCount"`

	// Number of expired resources
	ExpiredCount *int64 `json:"ExpiredCount,omitempty" name:"ExpiredCount"`

	// Total pending risk events
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisassociateDDoSEipAddressRequest

type DisassociateDDoSEipAddressRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID (only Anti-DDoS Advanced). For example, `bgpip-0000011x`.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// EIP of the Anti-DDoS instance ID
	Eip *string `json:"Eip,omitempty" name:"Eip"`
}

func NewDisassociateDDoSEipAddressRequest

func NewDisassociateDDoSEipAddressRequest() (request *DisassociateDDoSEipAddressRequest)

func (*DisassociateDDoSEipAddressRequest) FromJsonString

func (r *DisassociateDDoSEipAddressRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisassociateDDoSEipAddressRequest) ToJsonString

func (r *DisassociateDDoSEipAddressRequest) ToJsonString() string

type DisassociateDDoSEipAddressRequestParams

type DisassociateDDoSEipAddressRequestParams struct {
	// Anti-DDoS instance ID (only Anti-DDoS Advanced). For example, `bgpip-0000011x`.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// EIP of the Anti-DDoS instance ID
	Eip *string `json:"Eip,omitempty" name:"Eip"`
}

Predefined struct for user

type DisassociateDDoSEipAddressResponse

type DisassociateDDoSEipAddressResponse struct {
	*tchttp.BaseResponse
	Response *DisassociateDDoSEipAddressResponseParams `json:"Response"`
}

func NewDisassociateDDoSEipAddressResponse

func NewDisassociateDDoSEipAddressResponse() (response *DisassociateDDoSEipAddressResponse)

func (*DisassociateDDoSEipAddressResponse) FromJsonString

func (r *DisassociateDDoSEipAddressResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisassociateDDoSEipAddressResponse) ToJsonString

func (r *DisassociateDDoSEipAddressResponse) ToJsonString() string

type DisassociateDDoSEipAddressResponseParams

type DisassociateDDoSEipAddressResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type EipAddressPackRelation

type EipAddressPackRelation struct {
	// Number of package IPs
	IpCount *uint64 `json:"IpCount,omitempty" name:"IpCount"`

	// Auto-renewal flag
	AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// Current expiration time
	CurDeadline *string `json:"CurDeadline,omitempty" name:"CurDeadline"`
}

type EipAddressRelation

type EipAddressRelation struct {
	// Region of the Anti-DDoS instance bound to the EIP. For example, hk indicates Hong Kong.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	EipAddressRegion *string `json:"EipAddressRegion,omitempty" name:"EipAddressRegion"`

	// ID of the bound resource. For example, an ID may be bound to an CVM instance.
	// Note: This is field may return `null`, indicating that no valid value can be obtained.
	EipBoundRscIns *string `json:"EipBoundRscIns,omitempty" name:"EipBoundRscIns"`

	// ID of the bound ENI
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	EipBoundRscEni *string `json:"EipBoundRscEni,omitempty" name:"EipBoundRscEni"`

	// Private IP of the bound resource
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	EipBoundRscVip *string `json:"EipBoundRscVip,omitempty" name:"EipBoundRscVip"`

	// Modification time
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}

type EipProductInfo

type EipProductInfo struct {
	// IP address
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Cloud product category. Valid values:
	// `public`: CVM
	// `bm`: BM
	// `eni`: ENI
	// `vpngw`: VPN gateway
	//  `natgw`: NAT gateway
	// `waf`: WAF
	// `fpc`: financial products
	// `gaap`: GAAP
	// `other`: hosted IP
	// ]
	BizType *string `json:"BizType,omitempty" name:"BizType"`

	// Cloud sub-product category. Valid values: `cvm` (CVM), `lb` (Load balancer), `eni` (ENI), `vpngw` (VPN gateway), `natgw` (NAT gateway), `waf` (WAF), `fpc` (financial products), `gaap` (GAAP), `eip` (BM EIP) and `other` (hosted IP).
	DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"`

	// Cloud instance ID of the IP. This field InstanceId will be `eni-*` if the instance ID is bound to an ENI IP; `none` if there is no instance ID to bind to a hosted IP.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

type ForwardListener

type ForwardListener struct {
	// The starting port for listener forwarding. Value range: 1 to 65535.
	FrontendPort *int64 `json:"FrontendPort,omitempty" name:"FrontendPort"`

	// Forwarding protocol. Valid values:
	// `TCP`
	// `UDP`
	// ]
	ForwardProtocol *string `json:"ForwardProtocol,omitempty" name:"ForwardProtocol"`

	// The ending port for listener forwarding. Value range: 1 to 65535.
	FrontendPortEnd *int64 `json:"FrontendPortEnd,omitempty" name:"FrontendPortEnd"`
}

type HttpStatusMap

type HttpStatusMap struct {
	// HTTP 2xx Forwarding status code
	SourceHttp2xx []*float64 `json:"SourceHttp2xx,omitempty" name:"SourceHttp2xx"`

	// HTTP 5xx Status code
	Http5xx []*float64 `json:"Http5xx,omitempty" name:"Http5xx"`

	// HTTP 5xx Forwarding status code
	SourceHttp5xx []*float64 `json:"SourceHttp5xx,omitempty" name:"SourceHttp5xx"`

	// HTTP 404 Forwarding status code
	SourceHttp404 []*float64 `json:"SourceHttp404,omitempty" name:"SourceHttp404"`

	// HTTP 4xx Status code
	Http4xx []*float64 `json:"Http4xx,omitempty" name:"Http4xx"`

	// HTTP 4xx Forwarding status code
	SourceHttp4xx []*float64 `json:"SourceHttp4xx,omitempty" name:"SourceHttp4xx"`

	// HTTP 2xx Status code
	Http2xx []*float64 `json:"Http2xx,omitempty" name:"Http2xx"`

	// HTTP 404 Status code
	Http404 []*float64 `json:"Http404,omitempty" name:"Http404"`

	// HTTP 3xx Forwarding status code
	SourceHttp3xx []*float64 `json:"SourceHttp3xx,omitempty" name:"SourceHttp3xx"`

	// HTTP 3xx Status code
	Http3xx []*float64 `json:"Http3xx,omitempty" name:"Http3xx"`
}

type IPAlarmThresholdRelation

type IPAlarmThresholdRelation struct {
	// Alarm threshold type. Valid values:
	// `1`: alarm threshold for inbound traffic
	// `2`: alarm threshold for cleansing attack traffic
	// ]
	AlarmType *uint64 `json:"AlarmType,omitempty" name:"AlarmType"`

	// Alarm threshold (Mbps). The value should be greater than or equal to 0. Note that the alarm threshold configuration will be removed if you pass the parameter for input and set it to 0.
	AlarmThreshold *uint64 `json:"AlarmThreshold,omitempty" name:"AlarmThreshold"`

	// Anti-DDoS instance configured
	InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitempty" name:"InstanceDetailList"`
}

type IPLineInfo

type IPLineInfo struct {
	// IP line type. Valid values:
	// `bgp`: BGP IP
	// `ctcc`: CTCC IP
	// `cucc`: CUCC IP
	// `cmcc`: CMCC IP
	// `abroad`: IP outside the Chinese mainland
	// ]
	Type *string `json:"Type,omitempty" name:"Type"`

	Eip *string `json:"Eip,omitempty" name:"Eip"`

	// CNAME of the instance
	Cname *string `json:"Cname,omitempty" name:"Cname"`

	// Flag of the instance. `0`: Anti-DDoS Pro instance; `1`: Anti-DDoS Advanced instance; `2`: Non-Anti-DDoS Advanced instance.
	ResourceFlag *int64 `json:"ResourceFlag,omitempty" name:"ResourceFlag"`
}

type InsL7Rules

type InsL7Rules struct {
	// Rules can only be modified when the status is `0`, `2`, or `8`.
	// Rule status. Values: `0` (Normal), `1` (Being configured), `2` (Configuration failed), `3` (Being deleted), `5` (Failed to be deleted), `6` (Pending add), `7` (Pending delete), `8` (Pending certificate upload), `9` (Associated resource not exist), `10` (Pending modify), `11` (Being modified).
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Instance ID
	InsId *string `json:"InsId,omitempty" name:"InsId"`

	// User App ID
	AppId *string `json:"AppId,omitempty" name:"AppId"`

	// High-defense port
	VirtualPort *string `json:"VirtualPort,omitempty" name:"VirtualPort"`

	// Certificate ID
	SSLId *string `json:"SSLId,omitempty" name:"SSLId"`
}

type InstanceRelation

type InstanceRelation struct {
	// Instance IP
	EipList []*string `json:"EipList,omitempty" name:"EipList"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

type IpSegment

type IpSegment struct {
	// IP address
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// IP mask. For a 32-bit IP address, enter `0`.
	Mask *uint64 `json:"Mask,omitempty" name:"Mask"`
}

type KeyValue

type KeyValue struct {
	// IP
	Key *string `json:"Key,omitempty" name:"Key"`

	// Status of the IP. Values: `1` (blocked); `2` (normal); `3` (being attacked)
	Value *string `json:"Value,omitempty" name:"Value"`
}

type L4RuleSource

type L4RuleSource struct {
	// IP or domain name for forwarding.
	Source *string `json:"Source,omitempty" name:"Source"`

	// Weight. Value range: [0,100].
	Weight *uint64 `json:"Weight,omitempty" name:"Weight"`

	// 8000
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Secondary origin server. `1`: secondary origin server; `0`: general origin server.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Backup *uint64 `json:"Backup,omitempty" name:"Backup"`
}

type L7RuleEntry

type L7RuleEntry struct {
	// Session persistence duration, in seconds.
	KeepTime *uint64 `json:"KeepTime,omitempty" name:"KeepTime"`

	// Forwarding domain name.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Forwarding protocol. Valid values: `http` and `https`.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Forwarding method. Valid values: `1` (by domain name); `2` (by IP).
	SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"`

	// Load balancing method. Valid value: `1` (weighed polling).
	LbType *uint64 `json:"LbType,omitempty" name:"LbType"`

	// List of origins
	SourceList []*L4RuleSource `json:"SourceList,omitempty" name:"SourceList"`

	// Whether session persistence is enabled. Valid values: `0` (disabled) and `1` (enabled).
	KeepEnable *uint64 `json:"KeepEnable,omitempty" name:"KeepEnable"`

	// Rule status. Valid values: `0` (the rule was successfully configured), `1` (configuring the rule), `2` (rule configuration failed), `3` (deleting the rule), `5` (failed to delete rule), `6` (rule awaiting configuration), `7` (rule awaiting deletion), and `8` (rule awaiting certificate configuration).
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Rule ID. This field is not required for adding a rule, but is required for modifying or deleting a rule.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// CC protection threshold based on HTTPS.
	CCThreshold *uint64 `json:"CCThreshold,omitempty" name:"CCThreshold"`

	// [Disused] When the certificate is an external certificate, the certificate key should be provided here.
	PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"`

	// CC protection status based on HTTPS. Valid values: `0` (disabled) and `1` (enabled).
	CCEnable *uint64 `json:"CCEnable,omitempty" name:"CCEnable"`

	// Whether to enable **Forward HTTPS requests via HTTP**. Valid values: `0` (disable) and `1` (enable). It defaults to `0`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	HttpsToHttpEnable *uint64 `json:"HttpsToHttpEnable,omitempty" name:"HttpsToHttpEnable"`

	// Certificate source. When the forwarding protocol is HTTPS, this field must be set to `2` (Tencent Cloud managed certificate), and for HTTP protocol, it can be set to `0`.
	CertType *uint64 `json:"CertType,omitempty" name:"CertType"`

	// [Disused] When the certificate is an external certificate, the certificate content should be provided here.
	Cert *string `json:"Cert,omitempty" name:"Cert"`

	// CC protection level based on HTTPS.
	CCLevel *string `json:"CCLevel,omitempty" name:"CCLevel"`

	// Rule description.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// CC protection status. Valid values: `0` (disabled) and `1` (enabled).
	CCStatus *uint64 `json:"CCStatus,omitempty" name:"CCStatus"`

	// Access port number.
	// Note: This field may return null, indicating that no valid values can be obtained.
	VirtualPort *uint64 `json:"VirtualPort,omitempty" name:"VirtualPort"`

	// When the certificate is managed by Tencent Cloud, this field must be set to the ID of the managed certificate.
	SSLId *string `json:"SSLId,omitempty" name:"SSLId"`

	// ID of the rule
	Id *string `json:"Id,omitempty" name:"Id"`

	// Intelligent CC protection status. Valid values: `0` (disabled) and `1` (enabled).
	CCAIEnable *uint64 `json:"CCAIEnable,omitempty" name:"CCAIEnable"`
}

type L7RuleHealth

type L7RuleHealth struct {
	// Configuration status. Values: `0` (normal), `1` (configuration in progress) and `2` (configuration failed).
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Switch. Values: `1`: Enable; `0`: Disable.
	Enable *uint64 `json:"Enable,omitempty" name:"Enable"`

	// ID of the rule
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// HTTP request path. The default value is /.
	Url *string `json:"Url,omitempty" name:"Url"`

	// Health check interval. Unit: second.
	Interval *uint64 `json:"Interval,omitempty" name:"Interval"`

	// Healthy threshold, which specifies the number of consecutive successful health checks.
	AliveNum *uint64 `json:"AliveNum,omitempty" name:"AliveNum"`

	// Unhealthy threshold, which specifies the number of consecutive failed health checks.
	KickNum *uint64 `json:"KickNum,omitempty" name:"KickNum"`

	// HTTP request method. Values: `HEAD` and `GET`.
	Method *string `json:"Method,omitempty" name:"Method"`

	// Status code that signifies a normal state. Values: `1` (1xx), `2` (2xx), `4` (3xx), `8` (4xx), and `16` (5xx).
	StatusCode *uint64 `json:"StatusCode,omitempty" name:"StatusCode"`

	// Whether to deploy both HTTP and HTTPS health check rules
	ProtocolFlag *uint64 `json:"ProtocolFlag,omitempty" name:"ProtocolFlag"`

	// Enables passive detection. Values: `1` (enable) and `0` (disable).
	PassiveEnable *uint64 `json:"PassiveEnable,omitempty" name:"PassiveEnable"`

	// Blocking period in the passive detection configuration
	BlockInter *uint64 `json:"BlockInter,omitempty" name:"BlockInter"`

	// Time interval between passive detections
	FailedCountInter *uint64 `json:"FailedCountInter,omitempty" name:"FailedCountInter"`

	// Unhealthy threshold in the passive detection configuration
	FailedThreshold *uint64 `json:"FailedThreshold,omitempty" name:"FailedThreshold"`

	// Status code that signals that the passive detection considers the status normal. Values: `1` (1xx), `2` (2xx), `4` (3xx), `8` (4xx), and `16` (5xx).
	PassiveStatusCode *uint64 `json:"PassiveStatusCode,omitempty" name:"PassiveStatusCode"`

	// Configuration status of the passive health check. Values: `0` (Normal), `1` (configuration in progress) and `2` (configuration failed).
	PassiveStatus *uint64 `json:"PassiveStatus,omitempty" name:"PassiveStatus"`
}

type Layer4Rule

type Layer4Rule struct {
	// Real server port. Value range: 1–65535.
	BackendPort *uint64 `json:"BackendPort,omitempty" name:"BackendPort"`

	// Forwarding port. Value range: 1–65535.
	FrontendPort *uint64 `json:"FrontendPort,omitempty" name:"FrontendPort"`

	// Forwarding rule. Valid values:
	// TCP
	// UDP
	// ]
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// List of real servers
	RealServers []*SourceServer `json:"RealServers,omitempty" name:"RealServers"`

	// Information of the Anti-DDoS instance
	InstanceDetails []*InstanceRelation `json:"InstanceDetails,omitempty" name:"InstanceDetails"`

	// Information of the Anti-DDoS instance configured
	InstanceDetailRule []*RuleInstanceRelation `json:"InstanceDetailRule,omitempty" name:"InstanceDetailRule"`
}

type Layer7Rule

type Layer7Rule struct {
	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// List of forwarding types
	ProxyTypeList []*ProxyTypeInfo `json:"ProxyTypeList,omitempty" name:"ProxyTypeList"`

	// List of real servers
	RealServers []*SourceServer `json:"RealServers,omitempty" name:"RealServers"`

	// Information of the Anti-DDoS instance
	InstanceDetails []*InstanceRelation `json:"InstanceDetails,omitempty" name:"InstanceDetails"`

	// Information of the Anti-DDoS instance configured
	InstanceDetailRule []*RuleInstanceRelation `json:"InstanceDetailRule,omitempty" name:"InstanceDetailRule"`

	// Protocol
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Port number
	Vport *int64 `json:"Vport,omitempty" name:"Vport"`
}

type ListenerCcThreholdConfig

type ListenerCcThreholdConfig struct {
	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Protocol. Value: `https`.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Status. Valid values: `0` (disabled), `1` (enabled).
	CCEnable *int64 `json:"CCEnable,omitempty" name:"CCEnable"`

	// CC protection threshold
	CCThreshold *int64 `json:"CCThreshold,omitempty" name:"CCThreshold"`
}

type ModifyCCPrecisionPolicyRequest

type ModifyCCPrecisionPolicyRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`

	// Specifies the action. `alg`: Verify the access request via CAPTCHA; `drop`: Drop the access request.
	PolicyAction *string `json:"PolicyAction,omitempty" name:"PolicyAction"`

	// Policy records
	PolicyList []*CCPrecisionPlyRecord `json:"PolicyList,omitempty" name:"PolicyList"`
}

func NewModifyCCPrecisionPolicyRequest

func NewModifyCCPrecisionPolicyRequest() (request *ModifyCCPrecisionPolicyRequest)

func (*ModifyCCPrecisionPolicyRequest) FromJsonString

func (r *ModifyCCPrecisionPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCCPrecisionPolicyRequest) ToJsonString

func (r *ModifyCCPrecisionPolicyRequest) ToJsonString() string

type ModifyCCPrecisionPolicyRequestParams

type ModifyCCPrecisionPolicyRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`

	// Specifies the action. `alg`: Verify the access request via CAPTCHA; `drop`: Drop the access request.
	PolicyAction *string `json:"PolicyAction,omitempty" name:"PolicyAction"`

	// Policy records
	PolicyList []*CCPrecisionPlyRecord `json:"PolicyList,omitempty" name:"PolicyList"`
}

Predefined struct for user

type ModifyCCPrecisionPolicyResponse

type ModifyCCPrecisionPolicyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCCPrecisionPolicyResponseParams `json:"Response"`
}

func NewModifyCCPrecisionPolicyResponse

func NewModifyCCPrecisionPolicyResponse() (response *ModifyCCPrecisionPolicyResponse)

func (*ModifyCCPrecisionPolicyResponse) FromJsonString

func (r *ModifyCCPrecisionPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCCPrecisionPolicyResponse) ToJsonString

func (r *ModifyCCPrecisionPolicyResponse) ToJsonString() string

type ModifyCCPrecisionPolicyResponseParams

type ModifyCCPrecisionPolicyResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyCcBlackWhiteIpListRequest

type ModifyCcBlackWhiteIpListRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// List of IPs
	IpList []*IpSegment `json:"IpList,omitempty" name:"IpList"`

	// IP type. Valid values: `black` (blocklisted IP), `white`(allowlisted IP).
	Type *string `json:"Type,omitempty" name:"Type"`

	// Policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`
}

func NewModifyCcBlackWhiteIpListRequest

func NewModifyCcBlackWhiteIpListRequest() (request *ModifyCcBlackWhiteIpListRequest)

func (*ModifyCcBlackWhiteIpListRequest) FromJsonString

func (r *ModifyCcBlackWhiteIpListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCcBlackWhiteIpListRequest) ToJsonString

func (r *ModifyCcBlackWhiteIpListRequest) ToJsonString() string

type ModifyCcBlackWhiteIpListRequestParams

type ModifyCcBlackWhiteIpListRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// List of IPs
	IpList []*IpSegment `json:"IpList,omitempty" name:"IpList"`

	// IP type. Valid values: `black` (blocklisted IP), `white`(allowlisted IP).
	Type *string `json:"Type,omitempty" name:"Type"`

	// Policy ID
	PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"`
}

Predefined struct for user

type ModifyCcBlackWhiteIpListResponse

type ModifyCcBlackWhiteIpListResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCcBlackWhiteIpListResponseParams `json:"Response"`
}

func NewModifyCcBlackWhiteIpListResponse

func NewModifyCcBlackWhiteIpListResponse() (response *ModifyCcBlackWhiteIpListResponse)

func (*ModifyCcBlackWhiteIpListResponse) FromJsonString

func (r *ModifyCcBlackWhiteIpListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCcBlackWhiteIpListResponse) ToJsonString

func (r *ModifyCcBlackWhiteIpListResponse) ToJsonString() string

type ModifyCcBlackWhiteIpListResponseParams

type ModifyCcBlackWhiteIpListResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDDoSGeoIPBlockConfigRequest

type ModifyDDoSGeoIPBlockConfigRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Region blocking configuration. The configuration ID cannot be empty when you set this parameter.
	DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitempty" name:"DDoSGeoIPBlockConfig"`
}

func NewModifyDDoSGeoIPBlockConfigRequest

func NewModifyDDoSGeoIPBlockConfigRequest() (request *ModifyDDoSGeoIPBlockConfigRequest)

func (*ModifyDDoSGeoIPBlockConfigRequest) FromJsonString

func (r *ModifyDDoSGeoIPBlockConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDDoSGeoIPBlockConfigRequest) ToJsonString

func (r *ModifyDDoSGeoIPBlockConfigRequest) ToJsonString() string

type ModifyDDoSGeoIPBlockConfigRequestParams

type ModifyDDoSGeoIPBlockConfigRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Region blocking configuration. The configuration ID cannot be empty when you set this parameter.
	DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitempty" name:"DDoSGeoIPBlockConfig"`
}

Predefined struct for user

type ModifyDDoSGeoIPBlockConfigResponse

type ModifyDDoSGeoIPBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDDoSGeoIPBlockConfigResponseParams `json:"Response"`
}

func NewModifyDDoSGeoIPBlockConfigResponse

func NewModifyDDoSGeoIPBlockConfigResponse() (response *ModifyDDoSGeoIPBlockConfigResponse)

func (*ModifyDDoSGeoIPBlockConfigResponse) FromJsonString

func (r *ModifyDDoSGeoIPBlockConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDDoSGeoIPBlockConfigResponse) ToJsonString

func (r *ModifyDDoSGeoIPBlockConfigResponse) ToJsonString() string

type ModifyDDoSGeoIPBlockConfigResponseParams

type ModifyDDoSGeoIPBlockConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDDoSSpeedLimitConfigRequest

type ModifyDDoSSpeedLimitConfigRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Access rate limit configuration. The configuration ID cannot be empty when you set this parameter.
	DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitempty" name:"DDoSSpeedLimitConfig"`
}

func NewModifyDDoSSpeedLimitConfigRequest

func NewModifyDDoSSpeedLimitConfigRequest() (request *ModifyDDoSSpeedLimitConfigRequest)

func (*ModifyDDoSSpeedLimitConfigRequest) FromJsonString

func (r *ModifyDDoSSpeedLimitConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDDoSSpeedLimitConfigRequest) ToJsonString

func (r *ModifyDDoSSpeedLimitConfigRequest) ToJsonString() string

type ModifyDDoSSpeedLimitConfigRequestParams

type ModifyDDoSSpeedLimitConfigRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Access rate limit configuration. The configuration ID cannot be empty when you set this parameter.
	DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitempty" name:"DDoSSpeedLimitConfig"`
}

Predefined struct for user

type ModifyDDoSSpeedLimitConfigResponse

type ModifyDDoSSpeedLimitConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDDoSSpeedLimitConfigResponseParams `json:"Response"`
}

func NewModifyDDoSSpeedLimitConfigResponse

func NewModifyDDoSSpeedLimitConfigResponse() (response *ModifyDDoSSpeedLimitConfigResponse)

func (*ModifyDDoSSpeedLimitConfigResponse) FromJsonString

func (r *ModifyDDoSSpeedLimitConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDDoSSpeedLimitConfigResponse) ToJsonString

func (r *ModifyDDoSSpeedLimitConfigResponse) ToJsonString() string

type ModifyDDoSSpeedLimitConfigResponseParams

type ModifyDDoSSpeedLimitConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDomainUsrNameRequest

type ModifyDomainUsrNameRequest struct {
	*tchttp.BaseRequest

	// User CNAME
	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`

	// Domain name
	DomainUserName *string `json:"DomainUserName,omitempty" name:"DomainUserName"`
}

func NewModifyDomainUsrNameRequest

func NewModifyDomainUsrNameRequest() (request *ModifyDomainUsrNameRequest)

func (*ModifyDomainUsrNameRequest) FromJsonString

func (r *ModifyDomainUsrNameRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDomainUsrNameRequest) ToJsonString

func (r *ModifyDomainUsrNameRequest) ToJsonString() string

type ModifyDomainUsrNameRequestParams

type ModifyDomainUsrNameRequestParams struct {
	// User CNAME
	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`

	// Domain name
	DomainUserName *string `json:"DomainUserName,omitempty" name:"DomainUserName"`
}

Predefined struct for user

type ModifyDomainUsrNameResponse

type ModifyDomainUsrNameResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDomainUsrNameResponseParams `json:"Response"`
}

func NewModifyDomainUsrNameResponse

func NewModifyDomainUsrNameResponse() (response *ModifyDomainUsrNameResponse)

func (*ModifyDomainUsrNameResponse) FromJsonString

func (r *ModifyDomainUsrNameResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDomainUsrNameResponse) ToJsonString

func (r *ModifyDomainUsrNameResponse) ToJsonString() string

type ModifyDomainUsrNameResponseParams

type ModifyDomainUsrNameResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyNewDomainRulesRequest

type ModifyNewDomainRulesRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced).
	Business *string `json:"Business,omitempty" name:"Business"`

	// Anti-DDoS instance ID.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Domain name forwarding rule.
	Rule *NewL7RuleEntry `json:"Rule,omitempty" name:"Rule"`
}

func NewModifyNewDomainRulesRequest

func NewModifyNewDomainRulesRequest() (request *ModifyNewDomainRulesRequest)

func (*ModifyNewDomainRulesRequest) FromJsonString

func (r *ModifyNewDomainRulesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyNewDomainRulesRequest) ToJsonString

func (r *ModifyNewDomainRulesRequest) ToJsonString() string

type ModifyNewDomainRulesRequestParams

type ModifyNewDomainRulesRequestParams struct {
	// Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced).
	Business *string `json:"Business,omitempty" name:"Business"`

	// Anti-DDoS instance ID.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Domain name forwarding rule.
	Rule *NewL7RuleEntry `json:"Rule,omitempty" name:"Rule"`
}

Predefined struct for user

type ModifyNewDomainRulesResponse

type ModifyNewDomainRulesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyNewDomainRulesResponseParams `json:"Response"`
}

func NewModifyNewDomainRulesResponse

func NewModifyNewDomainRulesResponse() (response *ModifyNewDomainRulesResponse)

func (*ModifyNewDomainRulesResponse) FromJsonString

func (r *ModifyNewDomainRulesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyNewDomainRulesResponse) ToJsonString

func (r *ModifyNewDomainRulesResponse) ToJsonString() string

type ModifyNewDomainRulesResponseParams

type ModifyNewDomainRulesResponseParams struct {
	// Success code.
	Success *SuccessCode `json:"Success,omitempty" name:"Success"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPacketFilterConfigRequest

type ModifyPacketFilterConfigRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Feature filtering configuration
	PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitempty" name:"PacketFilterConfig"`
}

func NewModifyPacketFilterConfigRequest

func NewModifyPacketFilterConfigRequest() (request *ModifyPacketFilterConfigRequest)

func (*ModifyPacketFilterConfigRequest) FromJsonString

func (r *ModifyPacketFilterConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPacketFilterConfigRequest) ToJsonString

func (r *ModifyPacketFilterConfigRequest) ToJsonString() string

type ModifyPacketFilterConfigRequestParams

type ModifyPacketFilterConfigRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Feature filtering configuration
	PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitempty" name:"PacketFilterConfig"`
}

Predefined struct for user

type ModifyPacketFilterConfigResponse

type ModifyPacketFilterConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPacketFilterConfigResponseParams `json:"Response"`
}

func NewModifyPacketFilterConfigResponse

func NewModifyPacketFilterConfigResponse() (response *ModifyPacketFilterConfigResponse)

func (*ModifyPacketFilterConfigResponse) FromJsonString

func (r *ModifyPacketFilterConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPacketFilterConfigResponse) ToJsonString

func (r *ModifyPacketFilterConfigResponse) ToJsonString() string

type ModifyPacketFilterConfigResponseParams

type ModifyPacketFilterConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type NewL7RuleEntry

type NewL7RuleEntry struct {
	// Forwarding protocol. Valid values: `http` and `https`.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Forwarding domain name.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Load balancing method. Valid value: `1` (weighed polling).
	LbType *uint64 `json:"LbType,omitempty" name:"LbType"`

	// Whether session persistence is enabled. Valid values: `0` (disabled) and `1` (enabled).
	KeepEnable *uint64 `json:"KeepEnable,omitempty" name:"KeepEnable"`

	// Session persistence duration, in seconds.
	KeepTime *uint64 `json:"KeepTime,omitempty" name:"KeepTime"`

	// Forwarding method. Valid values: `1` (by domain name); `2` (by IP).
	SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"`

	// List of origins
	SourceList []*L4RuleSource `json:"SourceList,omitempty" name:"SourceList"`

	// Region code.
	Region *uint64 `json:"Region,omitempty" name:"Region"`

	// Resource ID.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Anti-DDoS instance IP address.
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Rule ID. This field is not required for adding a rule, but is required for modifying or deleting a rule.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Rule description.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// Certificate source. When the forwarding protocol is HTTPS, this field must be set to `2` (Tencent Cloud managed certificate), and for HTTP protocol, it can be set to `0`.
	CertType *uint64 `json:"CertType,omitempty" name:"CertType"`

	// When the certificate is managed by Tencent Cloud, this field must be set to the ID of the managed certificate.
	SSLId *string `json:"SSLId,omitempty" name:"SSLId"`

	// [Disused] When the certificate is an external certificate, the certificate content should be provided here.
	Cert *string `json:"Cert,omitempty" name:"Cert"`

	// [Disused] When the certificate is an external certificate, the certificate key should be provided here.
	PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"`

	// Rule status. Valid values: `0` (the rule was successfully configured), `1` (configuring the rule), `2` (rule configuration failed), `3` (deleting the rule), `5` (failed to delete rule), `6` (rule awaiting configuration), `7` (rule awaiting deletion), and `8` (rule awaiting certificate configuration).
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// CC protection status. Valid values: `0` (disabled) and `1` (enabled).
	CCStatus *uint64 `json:"CCStatus,omitempty" name:"CCStatus"`

	// CC protection status based on HTTPS. Valid values: `0` (disabled) and `1` (enabled).
	CCEnable *uint64 `json:"CCEnable,omitempty" name:"CCEnable"`

	// CC protection threshold based on HTTPS.
	CCThreshold *uint64 `json:"CCThreshold,omitempty" name:"CCThreshold"`

	// CC protection level based on HTTPS.
	CCLevel *string `json:"CCLevel,omitempty" name:"CCLevel"`

	// Modification time.
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`

	// Whether to enable **Forward HTTPS requests via HTTP**. Valid values: `0` (disabled) and `1` (enabled). It defaults to `0`.
	HttpsToHttpEnable *uint64 `json:"HttpsToHttpEnable,omitempty" name:"HttpsToHttpEnable"`

	// Access port number.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	VirtualPort *uint64 `json:"VirtualPort,omitempty" name:"VirtualPort"`

	// Specifies whether to forcibly redirect HTTP to HTTPS. `1`: Enable. `0`: Disable.
	RewriteHttps *uint64 `json:"RewriteHttps,omitempty" name:"RewriteHttps"`

	// Returns an error code when the rule configuration fails (only valid when `Status=2`). `1001`: The certificate does not exist. `1002`: Failed to obtain the certificate. `1003`: Failed to upload the certificate. `1004`: The certificate has expired.
	ErrCode *uint64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Version
	// Note: This field may return null, indicating that no valid values can be obtained.
	Version *uint64 `json:"Version,omitempty" name:"Version"`
}

type OverviewDDoSEvent

type OverviewDDoSEvent struct {
	// Event ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// IP
	Vip *string `json:"Vip,omitempty" name:"Vip"`

	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Attack type
	AttackType *string `json:"AttackType,omitempty" name:"AttackType"`

	// Attack status. `0`: The attack is ongoing; `1`: The attack ends.
	AttackStatus *uint64 `json:"AttackStatus,omitempty" name:"AttackStatus"`

	// Attack traffic, in Mbps
	Mbps *uint64 `json:"Mbps,omitempty" name:"Mbps"`

	// Attack packets, in PPS
	Pps *uint64 `json:"Pps,omitempty" name:"Pps"`

	// Anti-DDoS service type. `bgp-multip`: Anti-DDoS Pro; `bgpip`: Anti-DDoS Advanced; `basic`: Anti-DDoS Basic.
	Business *string `json:"Business,omitempty" name:"Business"`

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Anti-DDoS instance name
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`
}

type PackInfo

type PackInfo struct {
	// Package type. Valid values:
	// `staticpack`: non-BGP package
	// `insurance`: guarantee package
	// ]
	PackType *string `json:"PackType,omitempty" name:"PackType"`

	// Package ID
	PackId *string `json:"PackId,omitempty" name:"PackId"`
}

type PacketFilterConfig

type PacketFilterConfig struct {
	// Protocol. Valid values: `tcp`, `udp`, `icmp`, `all`.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Start source port. Value range: 0–65535.
	SportStart *int64 `json:"SportStart,omitempty" name:"SportStart"`

	// End source port. Value range: 0–65535. The value also should be greater than or equal to that of the start source port.
	SportEnd *int64 `json:"SportEnd,omitempty" name:"SportEnd"`

	// Start destination port
	DportStart *int64 `json:"DportStart,omitempty" name:"DportStart"`

	// End destination port. Value range: 1–65535. The value also should be greater than or equal to that of the start source port.
	DportEnd *int64 `json:"DportEnd,omitempty" name:"DportEnd"`

	// Minimum message length. Value range: 1–1500.
	PktlenMin *int64 `json:"PktlenMin,omitempty" name:"PktlenMin"`

	// Maximum message length. Value range: 1–1500. The value also should be greater than or equal to that of the minimum message length.
	PktlenMax *int64 `json:"PktlenMax,omitempty" name:"PktlenMax"`

	// Action. Valid values:
	// `drop`: discards the request.
	// `transmit`: allows the request.
	// `drop_black`: discards the request and adds the IP to blocklist.
	// `drop_rst`: blocks the request.
	// `drop_black_rst`: blocks the request and adds the IP to blocklist.
	// `forward`: continues protection.
	// ]
	Action *string `json:"Action,omitempty" name:"Action"`

	// Detection location:
	// `begin_l3`: IP header
	// `begin_l4`: TCP/UDP header
	// `begin_l5`: T load
	// `no_match`: no match
	// ]
	MatchBegin *string `json:"MatchBegin,omitempty" name:"MatchBegin"`

	// Detection type:
	// `sunday`: keyword
	// `pcre`: regular expression
	// ]
	MatchType *string `json:"MatchType,omitempty" name:"MatchType"`

	// Detection value. Should be in key string or regular expression.
	// When the `MatchType` is `sunday`, enter a string or a string in hexadecimal byte code representation. For example, a string "123" corresponds to the hexadecimal byte code "\x313233".
	// When the `MatchType` is `pcre`, enter a regular expression.
	// ]
	Str *string `json:"Str,omitempty" name:"Str"`

	// Detection depth starting from the detection position. Value range: [0, 1500].
	Depth *int64 `json:"Depth,omitempty" name:"Depth"`

	// Offset starting from the detection position. Value range: [0, Depth].
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Whether the detection value is included:
	// `0`: included
	// `1`: excluded
	// ]
	IsNot *int64 `json:"IsNot,omitempty" name:"IsNot"`

	// Relationship between the first and second detection conditions:
	// `and`: under both the first and second detection conditions
	// `none`: under only the first detection condition
	// ]
	MatchLogic *string `json:"MatchLogic,omitempty" name:"MatchLogic"`

	// The second detection position:
	// `begin_l5`: load
	// `no_match`: no match
	// ]
	MatchBegin2 *string `json:"MatchBegin2,omitempty" name:"MatchBegin2"`

	// The second detection type:
	// `sunday`: keyword
	// `pcre`: regular expression
	// ]
	MatchType2 *string `json:"MatchType2,omitempty" name:"MatchType2"`

	// The second detection value. Should be in key string or regular expression.
	// When the `MatchType` is `sunday`, enter a string or a string in hexadecimal byte code representation. For example, a string "123" corresponds to the hexadecimal byte code "\x313233".
	// When the `MatchType` is `pcre`, enter a regular expression.
	// ]
	Str2 *string `json:"Str2,omitempty" name:"Str2"`

	// Detection depth starting from the second detection position. Value range: [0, 1500].
	Depth2 *int64 `json:"Depth2,omitempty" name:"Depth2"`

	// Offset starting from the second detection position. Value range: [0, Depth2].
	Offset2 *int64 `json:"Offset2,omitempty" name:"Offset2"`

	// Whether the second detection value is included:
	// `0`: included
	// `1`: excluded
	// ]
	IsNot2 *int64 `json:"IsNot2,omitempty" name:"IsNot2"`

	// A rule ID is generated after a feature filtering configuration is added successfully. Leave this field empty when adding a new feature filtering configuration.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Byte threshold of the packet. Packets larger than the specified size are not returned. It must be an integer larger than 1.
	PktLenGT *int64 `json:"PktLenGT,omitempty" name:"PktLenGT"`
}

type PacketFilterRelation

type PacketFilterRelation struct {
	// Feature filtering configuration
	PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitempty" name:"PacketFilterConfig"`

	// Anti-DDoS instance configured
	InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitempty" name:"InstanceDetailList"`

	// Modification time
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}

type PortSegment

type PortSegment struct {
	// Start port. Value range: 1–65535.
	BeginPort *uint64 `json:"BeginPort,omitempty" name:"BeginPort"`

	// End port. The value should be in the range 1–65535 and cannot be less than that of the start port.
	EndPort *uint64 `json:"EndPort,omitempty" name:"EndPort"`
}

type ProtectThresholdRelation

type ProtectThresholdRelation struct {
	// DDoS protection level:
	// `low`: loose protection
	// `middle`: medium protection
	// `high`: strict protection
	// ]
	DDoSLevel *string `json:"DDoSLevel,omitempty" name:"DDoSLevel"`

	// DDoS cleansing threshold (in Mbps)
	DDoSThreshold *uint64 `json:"DDoSThreshold,omitempty" name:"DDoSThreshold"`

	// DDoS AI protection switch:
	// `on`: enabled
	// `off`: disabled
	// ]
	DDoSAI *string `json:"DDoSAI,omitempty" name:"DDoSAI"`

	// CC cleansing switch
	// `0`: disabled
	// `1`: enabled
	// ]
	CCEnable *uint64 `json:"CCEnable,omitempty" name:"CCEnable"`

	// CC cleansing threshold (in QPS)
	CCThreshold *uint64 `json:"CCThreshold,omitempty" name:"CCThreshold"`

	// Anti-DDoS instance configured
	InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitempty" name:"InstanceDetailList"`

	// Domain name and protocol protection thresholds
	ListenerCcThresholdList []*ListenerCcThreholdConfig `json:"ListenerCcThresholdList,omitempty" name:"ListenerCcThresholdList"`

	// SYN traffic threshold
	// Note: This field may return null, indicating that no valid values can be obtained.
	SynFloodThreshold *uint64 `json:"SynFloodThreshold,omitempty" name:"SynFloodThreshold"`

	// SYN packet threshold
	// Note: This field may return null, indicating that no valid values can be obtained.
	SynFloodPktThreshold *uint64 `json:"SynFloodPktThreshold,omitempty" name:"SynFloodPktThreshold"`

	// UDP traffic threshold
	// Note: This field may return null, indicating that no valid values can be obtained.
	UdpFloodThreshold *uint64 `json:"UdpFloodThreshold,omitempty" name:"UdpFloodThreshold"`

	// UDP packet threshold
	// Note: This field may return null, indicating that no valid values can be obtained.
	UdpFloodPktThreshold *uint64 `json:"UdpFloodPktThreshold,omitempty" name:"UdpFloodPktThreshold"`

	// ACK traffic threshold
	// Note: This field may return null, indicating that no valid values can be obtained.
	AckFloodThreshold *uint64 `json:"AckFloodThreshold,omitempty" name:"AckFloodThreshold"`

	// ACK packet threshold
	// Note: This field may return null, indicating that no valid values can be obtained.
	AckFloodPktThreshold *uint64 `json:"AckFloodPktThreshold,omitempty" name:"AckFloodPktThreshold"`

	// SYNACK traffic threshold
	// Note: This field may return null, indicating that no valid values can be obtained.
	SynAckFloodThreshold *uint64 `json:"SynAckFloodThreshold,omitempty" name:"SynAckFloodThreshold"`

	// SYNACK packet threshold
	// Note: This field may return null, indicating that no valid values can be obtained.
	SynAckFloodPktThreshold *uint64 `json:"SynAckFloodPktThreshold,omitempty" name:"SynAckFloodPktThreshold"`

	// RST traffic threshold
	// Note: This field may return null, indicating that no valid values can be obtained.
	RstFloodThreshold *uint64 `json:"RstFloodThreshold,omitempty" name:"RstFloodThreshold"`

	// RST packet threshold
	// Note: This field may return null, indicating that no valid values can be obtained.
	RstFloodPktThreshold *uint64 `json:"RstFloodPktThreshold,omitempty" name:"RstFloodPktThreshold"`
}

type ProtocolBlockConfig

type ProtocolBlockConfig struct {
	// TCP blocking. Valid values: `0` (disabled), `1`(enabled).
	DropTcp *int64 `json:"DropTcp,omitempty" name:"DropTcp"`

	// UDP blocking. Valid values: `0` (disabled), `1`(enabled).
	DropUdp *int64 `json:"DropUdp,omitempty" name:"DropUdp"`

	// ICMP blocking. Valid values: `0` (disabled), `1`(enabled).
	DropIcmp *int64 `json:"DropIcmp,omitempty" name:"DropIcmp"`

	// Other protocol blocking. Valid values: `0` (disabled), `1`(enabled).
	DropOther *int64 `json:"DropOther,omitempty" name:"DropOther"`

	// Null connection protection. Valid values: `0` (disabled), `1` (enabled).
	CheckExceptNullConnect *int64 `json:"CheckExceptNullConnect,omitempty" name:"CheckExceptNullConnect"`

	// PoD protection. Values: `0` (disable), `1` (enable).
	PingOfDeath *int64 `json:"PingOfDeath,omitempty" name:"PingOfDeath"`

	// Teardrop protection. Values: `0` (disable), `1` (enable).
	TearDrop *int64 `json:"TearDrop,omitempty" name:"TearDrop"`
}

type ProtocolBlockRelation

type ProtocolBlockRelation struct {
	// Protocol blocking configuration
	ProtocolBlockConfig *ProtocolBlockConfig `json:"ProtocolBlockConfig,omitempty" name:"ProtocolBlockConfig"`

	// Anti-DDoS instance configured
	InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitempty" name:"InstanceDetailList"`
}

type ProtocolPort

type ProtocolPort struct {
	// Protocol. Valid values: `tcp`, `udp`
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Port
	Port *uint64 `json:"Port,omitempty" name:"Port"`
}

type ProxyTypeInfo

type ProxyTypeInfo struct {
	// List of forwarding listening ports. Value range: 1–65535.
	ProxyPorts []*int64 `json:"ProxyPorts,omitempty" name:"ProxyPorts"`

	// Forwarding protocol:
	// `http`: HTTP protocol
	// `https`: HTTPS protocol
	// ]
	ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`
}

type RegionInfo

type RegionInfo struct {
	// Region name, such as `ap-guangzhou`
	Region *string `json:"Region,omitempty" name:"Region"`
}

type RuleInstanceRelation

type RuleInstanceRelation struct {
	// Instance IP
	EipList []*string `json:"EipList,omitempty" name:"EipList"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Instance CNAME
	Cname *string `json:"Cname,omitempty" name:"Cname"`
}

type SchedulingDomainInfo

type SchedulingDomainInfo struct {
	// Scheduling domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// List of line IPs
	LineIPList []*IPLineInfo `json:"LineIPList,omitempty" name:"LineIPList"`

	// Scheduling mode. Valid value: `priority` (priority scheduling).
	Method *string `json:"Method,omitempty" name:"Method"`

	// TTL value recorded from the scheduling domain name resolution
	TTL *uint64 `json:"TTL,omitempty" name:"TTL"`

	// Running status. Valid values:
	// `0`: not running
	// `1`: running
	// `2`: abnormal
	// ]
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Creation time
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// Last modification time
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`

	// Domain name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UsrDomainName *string `json:"UsrDomainName,omitempty" name:"UsrDomainName"`
}

type SourceServer

type SourceServer struct {
	// Types of the real server address, such as IP or domain name.
	RealServer *string `json:"RealServer,omitempty" name:"RealServer"`

	// Types of the real server address:
	// `1`: domain name
	// `2`: IP
	// ]
	RsType *int64 `json:"RsType,omitempty" name:"RsType"`

	// Forward weight of the real server. Value range: 1–100.
	Weight *int64 `json:"Weight,omitempty" name:"Weight"`

	// Port number. Value range: 0-65535.
	Port *int64 `json:"Port,omitempty" name:"Port"`
}

type SpeedValue

type SpeedValue struct {
	// Rate limit value types:
	// `1`: packets per second (pps)
	// `2`: bits per second (bps)
	// ]
	Type *uint64 `json:"Type,omitempty" name:"Type"`

	// Value
	Value *uint64 `json:"Value,omitempty" name:"Value"`
}

type StaticPackRelation

type StaticPackRelation struct {
	// Base protection bandwidth
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ProtectBandwidth *uint64 `json:"ProtectBandwidth,omitempty" name:"ProtectBandwidth"`

	// Application bandwidth
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	NormalBandwidth *uint64 `json:"NormalBandwidth,omitempty" name:"NormalBandwidth"`

	// Forwarding rules
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ForwardRulesLimit *uint64 `json:"ForwardRulesLimit,omitempty" name:"ForwardRulesLimit"`

	// Auto-renewal flag
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// Expiration time
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CurDeadline *string `json:"CurDeadline,omitempty" name:"CurDeadline"`
}

type SuccessCode

type SuccessCode struct {
	// Description
	Message *string `json:"Message,omitempty" name:"Message"`

	// Success/Error code
	Code *string `json:"Code,omitempty" name:"Code"`
}

type SwitchWaterPrintConfigRequest

type SwitchWaterPrintConfigRequest struct {
	*tchttp.BaseRequest

	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Watermark status. `1`: enabled; `0`: disabled.
	OpenStatus *int64 `json:"OpenStatus,omitempty" name:"OpenStatus"`

	// Whether to enable proxy. Values: `1` (Enable proxy and ignore IP+port verification), `0` (Do not enable proxy and IP+port verification is required)
	CloudSdkProxy *int64 `json:"CloudSdkProxy,omitempty" name:"CloudSdkProxy"`
}

func NewSwitchWaterPrintConfigRequest

func NewSwitchWaterPrintConfigRequest() (request *SwitchWaterPrintConfigRequest)

func (*SwitchWaterPrintConfigRequest) FromJsonString

func (r *SwitchWaterPrintConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SwitchWaterPrintConfigRequest) ToJsonString

func (r *SwitchWaterPrintConfigRequest) ToJsonString() string

type SwitchWaterPrintConfigRequestParams

type SwitchWaterPrintConfigRequestParams struct {
	// Anti-DDoS instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Watermark status. `1`: enabled; `0`: disabled.
	OpenStatus *int64 `json:"OpenStatus,omitempty" name:"OpenStatus"`

	// Whether to enable proxy. Values: `1` (Enable proxy and ignore IP+port verification), `0` (Do not enable proxy and IP+port verification is required)
	CloudSdkProxy *int64 `json:"CloudSdkProxy,omitempty" name:"CloudSdkProxy"`
}

Predefined struct for user

type SwitchWaterPrintConfigResponse

type SwitchWaterPrintConfigResponse struct {
	*tchttp.BaseResponse
	Response *SwitchWaterPrintConfigResponseParams `json:"Response"`
}

func NewSwitchWaterPrintConfigResponse

func NewSwitchWaterPrintConfigResponse() (response *SwitchWaterPrintConfigResponse)

func (*SwitchWaterPrintConfigResponse) FromJsonString

func (r *SwitchWaterPrintConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SwitchWaterPrintConfigResponse) ToJsonString

func (r *SwitchWaterPrintConfigResponse) ToJsonString() string

type SwitchWaterPrintConfigResponseParams

type SwitchWaterPrintConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type TagFilter

type TagFilter struct {
	// Tag key
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value
	TagValue []*string `json:"TagValue,omitempty" name:"TagValue"`
}

type TagInfo

type TagInfo struct {
	// Tag key
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

type WaterPrintConfig

type WaterPrintConfig struct {
	// Watermark offset. Value range: [0, 100).
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Start status. Valid values:
	// `0`: manual start
	// `1`: instant start
	// ]
	OpenStatus *int64 `json:"OpenStatus,omitempty" name:"OpenStatus"`

	// List of forwarding listeners configured
	Listeners []*ForwardListener `json:"Listeners,omitempty" name:"Listeners"`

	// A list of watermark keys is generated after a watermark is added successfully. Each watermark can have up to 2 keys. When there is only one valid key, it cannot be deleted.
	Keys []*WaterPrintKey `json:"Keys,omitempty" name:"Keys"`

	// Watermark checking mode, which can be:
	// `checkall`: normal mode
	// `shortfpcheckall`: compact mode
	// ]
	Verify *string `json:"Verify,omitempty" name:"Verify"`

	// Whether to enable proxy. Values: `1` (Enable proxy and ignore IP+port verification), `0` (Do not enable proxy and IP+port verification is required)
	// Note: This field may return null, indicating that no valid values can be obtained.
	CloudSdkProxy *int64 `json:"CloudSdkProxy,omitempty" name:"CloudSdkProxy"`
}

type WaterPrintKey

type WaterPrintKey struct {
	// Key version
	KeyVersion *string `json:"KeyVersion,omitempty" name:"KeyVersion"`

	// Key content
	KeyContent *string `json:"KeyContent,omitempty" name:"KeyContent"`

	// Key ID
	KeyId *string `json:"KeyId,omitempty" name:"KeyId"`

	// Key status. Valid value: `1` (enabled).
	KeyOpenStatus *int64 `json:"KeyOpenStatus,omitempty" name:"KeyOpenStatus"`

	// Key creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type WaterPrintRelation

type WaterPrintRelation struct {
	// Watermark configuration
	WaterPrintConfig *WaterPrintConfig `json:"WaterPrintConfig,omitempty" name:"WaterPrintConfig"`

	// Anti-DDoS instance configured
	InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitempty" name:"InstanceDetailList"`
}

Jump to

Keyboard shortcuts

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