v20200309

package
v3.0.443+incompatible Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 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 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 AssociateDDoSEipAddressResponse

type AssociateDDoSEipAddressResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 AssociateDDoSEipLoadBalancerResponse

type AssociateDDoSEipLoadBalancerResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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"`
}

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 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"`
}

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` (hosted 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 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 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 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:

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:

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) 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:

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:

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) DeleteBlackWhiteIpList

func (c *Client) DeleteBlackWhiteIpList(request *DeleteBlackWhiteIpListRequest) (response *DeleteBlackWhiteIpListResponse, err error)

DeleteBlackWhiteIpList This API is used to delete an Anti-DDoS IP blocklist/allowlist.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteBlackWhiteIpListWithContext

func (c *Client) DeleteBlackWhiteIpListWithContext(ctx context.Context, request *DeleteBlackWhiteIpListRequest) (response *DeleteBlackWhiteIpListResponse, err error)

DeleteBlackWhiteIpList This API is used to delete an Anti-DDoS IP blocklist/allowlist.

error code that may be returned:

RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

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

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:

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"
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"
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"
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"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

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 This API is used to query 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 This API is used to query 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) 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) 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:

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) 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:

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) 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:

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) 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:

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) 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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

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

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:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
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"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

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"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

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

type CreateBlackWhiteIpListResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 CreateBoundIPResponse

type CreateBoundIPResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 CreateCCPrecisionPolicyResponse

type CreateCCPrecisionPolicyResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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"`
}

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 CreateCCReqLimitPolicyResponse

type CreateCCReqLimitPolicyResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 CreateCcBlackWhiteIpListResponse

type CreateCcBlackWhiteIpListResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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"`

	// Region blocking configuration. The configuration ID should be cleared when you set this parameter.
	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 CreateCcGeoIPBlockConfigResponse

type CreateCcGeoIPBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 CreateDDoSAIResponse

type CreateDDoSAIResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 CreateDDoSGeoIPBlockConfigResponse

type CreateDDoSGeoIPBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 CreateDDoSSpeedLimitConfigResponse

type CreateDDoSSpeedLimitConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 CreateDefaultAlarmThresholdResponse

type CreateDefaultAlarmThresholdResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 CreateIPAlarmThresholdConfigResponse

type CreateIPAlarmThresholdConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 CreateL7RuleCertsResponse

type CreateL7RuleCertsResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 CreatePacketFilterConfigResponse

type CreatePacketFilterConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 CreateProtocolBlockConfigResponse

type CreateProtocolBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 CreateSchedulingDomainResponse

type CreateSchedulingDomainResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 CreateWaterPrintConfigResponse

type CreateWaterPrintConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 CreateWaterPrintKeyResponse

type CreateWaterPrintKeyResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DeleteBlackWhiteIpListRequest

type DeleteBlackWhiteIpListRequest 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 NewDeleteBlackWhiteIpListRequest

func NewDeleteBlackWhiteIpListRequest() (request *DeleteBlackWhiteIpListRequest)

func (*DeleteBlackWhiteIpListRequest) FromJsonString

func (r *DeleteBlackWhiteIpListRequest) 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 (*DeleteBlackWhiteIpListRequest) ToJsonString

func (r *DeleteBlackWhiteIpListRequest) ToJsonString() string

type DeleteBlackWhiteIpListResponse

type DeleteBlackWhiteIpListResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `json:"Response"`
}

func NewDeleteBlackWhiteIpListResponse

func NewDeleteBlackWhiteIpListResponse() (response *DeleteBlackWhiteIpListResponse)

func (*DeleteBlackWhiteIpListResponse) FromJsonString

func (r *DeleteBlackWhiteIpListResponse) 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 (*DeleteBlackWhiteIpListResponse) ToJsonString

func (r *DeleteBlackWhiteIpListResponse) ToJsonString() string

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 DeleteCCLevelPolicyResponse

type DeleteCCLevelPolicyResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DeleteCCPrecisionPolicyResponse

type DeleteCCPrecisionPolicyResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DeleteCCThresholdPolicyResponse

type DeleteCCThresholdPolicyResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DeleteCcBlackWhiteIpListResponse

type DeleteCcBlackWhiteIpListResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DeleteCcGeoIPBlockConfigResponse

type DeleteCcGeoIPBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DeleteDDoSGeoIPBlockConfigResponse

type DeleteDDoSGeoIPBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DeleteDDoSSpeedLimitConfigResponse

type DeleteDDoSSpeedLimitConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DeletePacketFilterConfigResponse

type DeletePacketFilterConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DeleteWaterPrintConfigResponse

type DeleteWaterPrintConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DeleteWaterPrintKeyResponse

type DeleteWaterPrintKeyResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeBasicDeviceStatusResponse

type DescribeBasicDeviceStatusResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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. Valid values: `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 DescribeBizTrendResponse

type DescribeBizTrendResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeBlackWhiteIpListResponse

type DescribeBlackWhiteIpListResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeCCLevelListResponse

type DescribeCCLevelListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of level-defining policies
		Total *uint64 `json:"Total,omitempty" name:"Total"`

		// Details 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"`
	} `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 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 DescribeCCLevelPolicyResponse

type DescribeCCLevelPolicyResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeCCThresholdListResponse

type DescribeCCThresholdListResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeCCTrendResponse

type DescribeCCTrendResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeDDoSTrendResponse

type DescribeDDoSTrendResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeDefaultAlarmThresholdResponse

type DescribeDefaultAlarmThresholdResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeL7RulesBySSLCertIdResponse

type DescribeL7RulesBySSLCertIdResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 status of bound resources. `idle`: normal; `attacking`: being attacked; `blocking`: blocked
	FilterStatus *string `json:"FilterStatus,omitempty" name:"FilterStatus"`
}

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 DescribeListBGPIPInstancesResponse

type DescribeListBGPIPInstancesResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeListBlackWhiteIpListResponse

type DescribeListBlackWhiteIpListResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeListDDoSAIResponse

type DescribeListDDoSAIResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeListDDoSGeoIPBlockConfigResponse

type DescribeListDDoSGeoIPBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeListDDoSSpeedLimitConfigResponse

type DescribeListDDoSSpeedLimitConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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"`
}

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 DescribeListIPAlarmConfigResponse

type DescribeListIPAlarmConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeListListenerResponse

type DescribeListListenerResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeListPacketFilterConfigResponse

type DescribeListPacketFilterConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeListProtectThresholdConfigResponse

type DescribeListProtectThresholdConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeListProtocolBlockConfigResponse

type DescribeListProtocolBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeListSchedulingDomainResponse

type DescribeListSchedulingDomainResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DescribeListWaterPrintConfigResponse

type DescribeListWaterPrintConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 DisassociateDDoSEipAddressResponse

type DisassociateDDoSEipAddressResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 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 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"`
}

type InsL7Rules

type InsL7Rules struct {

	// Rule status. Valid values: `0` (the rule is working), `1` (the rule goes into effect), `2` (rule configuration failed), `3` (the rule is being deleted), `5` (rule deletion failed), `6` (waiting to add rules), `7` (waiting to delete rules), `8` (waiting to upload certificates), `9` (resources for the rule not found), `10` (waiting to modify rules), `11` (the rule is being modifying).
	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"`
}

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

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

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

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

type ListenerCcThreholdConfig

type ListenerCcThreholdConfig struct {

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

	// Protocol. Value: htttps
	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"`

	// 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 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 ModifyCCPrecisionPolicyResponse

type ModifyCCPrecisionPolicyResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 ModifyCcBlackWhiteIpListResponse

type ModifyCcBlackWhiteIpListResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 ModifyDDoSGeoIPBlockConfigResponse

type ModifyDDoSGeoIPBlockConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 ModifyDDoSSpeedLimitConfigResponse

type ModifyDDoSSpeedLimitConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 ModifyDomainUsrNameResponse

type ModifyDomainUsrNameResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 ModifyNewDomainRulesResponse

type ModifyNewDomainRulesResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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 ModifyPacketFilterConfigResponse

type ModifyPacketFilterConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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"`
}

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"`
}

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"`
}

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"`
}

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"`
}

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 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"`
}

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"`
}

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 SwitchWaterPrintConfigResponse

type SwitchWaterPrintConfigResponse struct {
	*tchttp.BaseResponse
	Response *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"`
	} `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 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"`
}

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