Documentation ¶
Index ¶
- Constants
- type AssociateDDoSEipAddressRequest
- type AssociateDDoSEipAddressResponse
- type AssociateDDoSEipLoadBalancerRequest
- type AssociateDDoSEipLoadBalancerResponse
- type BGPIPInstance
- type BGPIPInstanceSpecification
- type BGPIPInstanceUsages
- type BGPInstance
- type BGPInstanceSpecification
- type BGPInstanceUsages
- type BlackWhiteIpRelation
- type BoundIpInfo
- type CertIdInsL7Rules
- type Client
- func (c *Client) AssociateDDoSEipAddress(request *AssociateDDoSEipAddressRequest) (response *AssociateDDoSEipAddressResponse, err error)
- func (c *Client) AssociateDDoSEipLoadBalancer(request *AssociateDDoSEipLoadBalancerRequest) (response *AssociateDDoSEipLoadBalancerResponse, err error)
- func (c *Client) CreateBlackWhiteIpList(request *CreateBlackWhiteIpListRequest) (response *CreateBlackWhiteIpListResponse, err error)
- func (c *Client) CreateBoundIP(request *CreateBoundIPRequest) (response *CreateBoundIPResponse, err error)
- func (c *Client) CreateDDoSAI(request *CreateDDoSAIRequest) (response *CreateDDoSAIResponse, err error)
- func (c *Client) CreateDDoSGeoIPBlockConfig(request *CreateDDoSGeoIPBlockConfigRequest) (response *CreateDDoSGeoIPBlockConfigResponse, err error)
- func (c *Client) CreateDDoSSpeedLimitConfig(request *CreateDDoSSpeedLimitConfigRequest) (response *CreateDDoSSpeedLimitConfigResponse, err error)
- func (c *Client) CreateDefaultAlarmThreshold(request *CreateDefaultAlarmThresholdRequest) (response *CreateDefaultAlarmThresholdResponse, err error)
- func (c *Client) CreateIPAlarmThresholdConfig(request *CreateIPAlarmThresholdConfigRequest) (response *CreateIPAlarmThresholdConfigResponse, err error)
- func (c *Client) CreateL7RuleCerts(request *CreateL7RuleCertsRequest) (response *CreateL7RuleCertsResponse, err error)
- func (c *Client) CreatePacketFilterConfig(request *CreatePacketFilterConfigRequest) (response *CreatePacketFilterConfigResponse, err error)
- func (c *Client) CreateProtocolBlockConfig(request *CreateProtocolBlockConfigRequest) (response *CreateProtocolBlockConfigResponse, err error)
- func (c *Client) CreateSchedulingDomain(request *CreateSchedulingDomainRequest) (response *CreateSchedulingDomainResponse, err error)
- func (c *Client) CreateWaterPrintConfig(request *CreateWaterPrintConfigRequest) (response *CreateWaterPrintConfigResponse, err error)
- func (c *Client) CreateWaterPrintKey(request *CreateWaterPrintKeyRequest) (response *CreateWaterPrintKeyResponse, err error)
- func (c *Client) DeleteBlackWhiteIpList(request *DeleteBlackWhiteIpListRequest) (response *DeleteBlackWhiteIpListResponse, err error)
- func (c *Client) DeleteDDoSGeoIPBlockConfig(request *DeleteDDoSGeoIPBlockConfigRequest) (response *DeleteDDoSGeoIPBlockConfigResponse, err error)
- func (c *Client) DeleteDDoSSpeedLimitConfig(request *DeleteDDoSSpeedLimitConfigRequest) (response *DeleteDDoSSpeedLimitConfigResponse, err error)
- func (c *Client) DeletePacketFilterConfig(request *DeletePacketFilterConfigRequest) (response *DeletePacketFilterConfigResponse, err error)
- func (c *Client) DeleteWaterPrintConfig(request *DeleteWaterPrintConfigRequest) (response *DeleteWaterPrintConfigResponse, err error)
- func (c *Client) DeleteWaterPrintKey(request *DeleteWaterPrintKeyRequest) (response *DeleteWaterPrintKeyResponse, err error)
- func (c *Client) DescribeBasicDeviceStatus(request *DescribeBasicDeviceStatusRequest) (response *DescribeBasicDeviceStatusResponse, err error)
- func (c *Client) DescribeBizTrend(request *DescribeBizTrendRequest) (response *DescribeBizTrendResponse, err error)
- func (c *Client) DescribeBlackWhiteIpList(request *DescribeBlackWhiteIpListRequest) (response *DescribeBlackWhiteIpListResponse, err error)
- func (c *Client) DescribeCCTrend(request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error)
- func (c *Client) DescribeDDoSTrend(request *DescribeDDoSTrendRequest) (response *DescribeDDoSTrendResponse, err error)
- func (c *Client) DescribeDefaultAlarmThreshold(request *DescribeDefaultAlarmThresholdRequest) (response *DescribeDefaultAlarmThresholdResponse, err error)
- func (c *Client) DescribeL7RulesBySSLCertId(request *DescribeL7RulesBySSLCertIdRequest) (response *DescribeL7RulesBySSLCertIdResponse, err error)
- func (c *Client) DescribeListBGPIPInstances(request *DescribeListBGPIPInstancesRequest) (response *DescribeListBGPIPInstancesResponse, err error)
- func (c *Client) DescribeListBGPInstances(request *DescribeListBGPInstancesRequest) (response *DescribeListBGPInstancesResponse, err error)
- func (c *Client) DescribeListBlackWhiteIpList(request *DescribeListBlackWhiteIpListRequest) (response *DescribeListBlackWhiteIpListResponse, err error)
- func (c *Client) DescribeListDDoSAI(request *DescribeListDDoSAIRequest) (response *DescribeListDDoSAIResponse, err error)
- func (c *Client) DescribeListDDoSGeoIPBlockConfig(request *DescribeListDDoSGeoIPBlockConfigRequest) (response *DescribeListDDoSGeoIPBlockConfigResponse, err error)
- func (c *Client) DescribeListDDoSSpeedLimitConfig(request *DescribeListDDoSSpeedLimitConfigRequest) (response *DescribeListDDoSSpeedLimitConfigResponse, err error)
- func (c *Client) DescribeListIPAlarmConfig(request *DescribeListIPAlarmConfigRequest) (response *DescribeListIPAlarmConfigResponse, err error)
- func (c *Client) DescribeListListener(request *DescribeListListenerRequest) (response *DescribeListListenerResponse, err error)
- func (c *Client) DescribeListPacketFilterConfig(request *DescribeListPacketFilterConfigRequest) (response *DescribeListPacketFilterConfigResponse, err error)
- func (c *Client) DescribeListProtectThresholdConfig(request *DescribeListProtectThresholdConfigRequest) (response *DescribeListProtectThresholdConfigResponse, err error)
- func (c *Client) DescribeListProtocolBlockConfig(request *DescribeListProtocolBlockConfigRequest) (response *DescribeListProtocolBlockConfigResponse, err error)
- func (c *Client) DescribeListSchedulingDomain(request *DescribeListSchedulingDomainRequest) (response *DescribeListSchedulingDomainResponse, err error)
- func (c *Client) DescribeListWaterPrintConfig(request *DescribeListWaterPrintConfigRequest) (response *DescribeListWaterPrintConfigResponse, err error)
- func (c *Client) DisassociateDDoSEipAddress(request *DisassociateDDoSEipAddressRequest) (response *DisassociateDDoSEipAddressResponse, err error)
- func (c *Client) ModifyDDoSGeoIPBlockConfig(request *ModifyDDoSGeoIPBlockConfigRequest) (response *ModifyDDoSGeoIPBlockConfigResponse, err error)
- func (c *Client) ModifyDDoSSpeedLimitConfig(request *ModifyDDoSSpeedLimitConfigRequest) (response *ModifyDDoSSpeedLimitConfigResponse, err error)
- func (c *Client) ModifyDomainUsrName(request *ModifyDomainUsrNameRequest) (response *ModifyDomainUsrNameResponse, err error)
- func (c *Client) ModifyPacketFilterConfig(request *ModifyPacketFilterConfigRequest) (response *ModifyPacketFilterConfigResponse, err error)
- func (c *Client) SwitchWaterPrintConfig(request *SwitchWaterPrintConfigRequest) (response *SwitchWaterPrintConfigResponse, err error)
- type CreateBlackWhiteIpListRequest
- type CreateBlackWhiteIpListResponse
- type CreateBoundIPRequest
- type CreateBoundIPResponse
- type CreateDDoSAIRequest
- type CreateDDoSAIResponse
- type CreateDDoSGeoIPBlockConfigRequest
- type CreateDDoSGeoIPBlockConfigResponse
- type CreateDDoSSpeedLimitConfigRequest
- type CreateDDoSSpeedLimitConfigResponse
- type CreateDefaultAlarmThresholdRequest
- type CreateDefaultAlarmThresholdResponse
- type CreateIPAlarmThresholdConfigRequest
- type CreateIPAlarmThresholdConfigResponse
- type CreateL7RuleCertsRequest
- type CreateL7RuleCertsResponse
- type CreatePacketFilterConfigRequest
- type CreatePacketFilterConfigResponse
- type CreateProtocolBlockConfigRequest
- type CreateProtocolBlockConfigResponse
- type CreateSchedulingDomainRequest
- type CreateSchedulingDomainResponse
- type CreateWaterPrintConfigRequest
- type CreateWaterPrintConfigResponse
- type CreateWaterPrintKeyRequest
- type CreateWaterPrintKeyResponse
- type DDoSAIRelation
- type DDoSGeoIPBlockConfig
- type DDoSGeoIPBlockConfigRelation
- type DDoSSpeedLimitConfig
- type DDoSSpeedLimitConfigRelation
- type DefaultAlarmThreshold
- type DeleteBlackWhiteIpListRequest
- type DeleteBlackWhiteIpListResponse
- type DeleteDDoSGeoIPBlockConfigRequest
- type DeleteDDoSGeoIPBlockConfigResponse
- type DeleteDDoSSpeedLimitConfigRequest
- type DeleteDDoSSpeedLimitConfigResponse
- type DeletePacketFilterConfigRequest
- type DeletePacketFilterConfigResponse
- type DeleteWaterPrintConfigRequest
- type DeleteWaterPrintConfigResponse
- type DeleteWaterPrintKeyRequest
- type DeleteWaterPrintKeyResponse
- type DescribeBasicDeviceStatusRequest
- type DescribeBasicDeviceStatusResponse
- type DescribeBizTrendRequest
- type DescribeBizTrendResponse
- type DescribeBlackWhiteIpListRequest
- type DescribeBlackWhiteIpListResponse
- type DescribeCCTrendRequest
- type DescribeCCTrendResponse
- type DescribeDDoSTrendRequest
- type DescribeDDoSTrendResponse
- type DescribeDefaultAlarmThresholdRequest
- type DescribeDefaultAlarmThresholdResponse
- type DescribeL7RulesBySSLCertIdRequest
- type DescribeL7RulesBySSLCertIdResponse
- type DescribeListBGPIPInstancesRequest
- type DescribeListBGPIPInstancesResponse
- type DescribeListBGPInstancesRequest
- type DescribeListBGPInstancesResponse
- type DescribeListBlackWhiteIpListRequest
- type DescribeListBlackWhiteIpListResponse
- type DescribeListDDoSAIRequest
- type DescribeListDDoSAIResponse
- type DescribeListDDoSGeoIPBlockConfigRequest
- type DescribeListDDoSGeoIPBlockConfigResponse
- type DescribeListDDoSSpeedLimitConfigRequest
- type DescribeListDDoSSpeedLimitConfigResponse
- type DescribeListIPAlarmConfigRequest
- type DescribeListIPAlarmConfigResponse
- type DescribeListListenerRequest
- type DescribeListListenerResponse
- type DescribeListPacketFilterConfigRequest
- type DescribeListPacketFilterConfigResponse
- type DescribeListProtectThresholdConfigRequest
- type DescribeListProtectThresholdConfigResponse
- type DescribeListProtocolBlockConfigRequest
- type DescribeListProtocolBlockConfigResponse
- type DescribeListSchedulingDomainRequest
- type DescribeListSchedulingDomainResponse
- type DescribeListWaterPrintConfigRequest
- type DescribeListWaterPrintConfigResponse
- type DisassociateDDoSEipAddressRequest
- type DisassociateDDoSEipAddressResponse
- type EipAddressPackRelation
- type EipAddressRelation
- type EipProductInfo
- type ForwardListener
- type IPAlarmThresholdRelation
- type IPLineInfo
- type InsL7Rules
- type InstanceRelation
- type KeyValue
- type Layer4Rule
- type Layer7Rule
- type ListenerCcThreholdConfig
- type ModifyDDoSGeoIPBlockConfigRequest
- type ModifyDDoSGeoIPBlockConfigResponse
- type ModifyDDoSSpeedLimitConfigRequest
- type ModifyDDoSSpeedLimitConfigResponse
- type ModifyDomainUsrNameRequest
- type ModifyDomainUsrNameResponse
- type ModifyPacketFilterConfigRequest
- type ModifyPacketFilterConfigResponse
- type PackInfo
- type PacketFilterConfig
- type PacketFilterRelation
- type PortSegment
- type ProtectThresholdRelation
- type ProtocolBlockConfig
- type ProtocolBlockRelation
- type ProtocolPort
- type ProxyTypeInfo
- type RegionInfo
- type SchedulingDomainInfo
- type SourceServer
- type SpeedValue
- type StaticPackRelation
- type SuccessCode
- type SwitchWaterPrintConfigRequest
- type SwitchWaterPrintConfigResponse
- type WaterPrintConfig
- type WaterPrintKey
- type WaterPrintRelation
Constants ¶
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" )
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"` }
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"` }
type BGPIPInstanceSpecification ¶
type BGPIPInstanceSpecification struct { // Base protection bandwidth (in Mbps) ProtectBandwidth *uint64 `json:"ProtectBandwidth,omitempty" name:"ProtectBandwidth"` // CC protection bandwidth (in QPS) ProtectCCQPS *uint64 `json:"ProtectCCQPS,omitempty" name:"ProtectCCQPS"` // Normal application bandwidth (in Mbps) NormalBandwidth *uint64 `json:"NormalBandwidth,omitempty" name:"NormalBandwidth"` // Number of forwarding rules ForwardRulesLimit *uint64 `json:"ForwardRulesLimit,omitempty" name:"ForwardRulesLimit"` // Auto-renewal status. Valid values: // `0`: disabled // `1`: enabled // ] AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // Anti-DDoS Advanced line. Valid values: // `1`: BGP // `2`: China Telecom // `3`: China Unicom // `4`: China Mobile // `99`: third-party line // ] Line *uint64 `json:"Line,omitempty" name:"Line"` // Elastic protection bandwidth (in Mbps) ElasticBandwidth *uint64 `json:"ElasticBandwidth,omitempty" name:"ElasticBandwidth"` }
type BGPIPInstanceUsages ¶
type BGPIPInstanceUsages struct { // Number of used port rules PortRulesUsage *uint64 `json:"PortRulesUsage,omitempty" name:"PortRulesUsage"` // Number of used domain name rules DomainRulesUsage *uint64 `json:"DomainRulesUsage,omitempty" name:"DomainRulesUsage"` // Number of attack times in the last 7 days Last7DayAttackCount *uint64 `json:"Last7DayAttackCount,omitempty" name:"Last7DayAttackCount"` }
type BGPInstance ¶
type BGPInstance struct { // Anti-DDoS instance details InstanceDetail *InstanceRelation `json:"InstanceDetail,omitempty" name:"InstanceDetail"` // Anti-DDoS instance specifications SpecificationLimit *BGPInstanceSpecification `json:"SpecificationLimit,omitempty" name:"SpecificationLimit"` // Anti-DDoS instance usage statistics Usage *BGPInstanceUsages `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`: unblocked // `isolate`: isolated Status *string `json:"Status,omitempty" name:"Status"` // Purchase Time CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // Expiration time ExpiredTime *string `json:"ExpiredTime,omitempty" name:"ExpiredTime"` // Name of the Anti-DDoS 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"` // Details of the cloud product used by the EIP bound to the Anti-DDoS Pro instance EipProductInfos []*EipProductInfo `json:"EipProductInfos,omitempty" name:"EipProductInfos"` // Binding status of the Anti-DDoS Pro instance // `idle`: the instance is bound. // `bounding`: the instance is in binding. // `failed`: the binding failed. // ] BoundStatus *string `json:"BoundStatus,omitempty" name:"BoundStatus"` // Layer-4 protection level DDoSLevel *string `json:"DDoSLevel,omitempty" name:"DDoSLevel"` // CC protection switch CCEnable *int64 `json:"CCEnable,omitempty" name:"CCEnable"` }
type BGPInstanceSpecification ¶
type BGPInstanceSpecification struct { // Base protection bandwidth (in Gbps) ProtectBandwidth *uint64 `json:"ProtectBandwidth,omitempty" name:"ProtectBandwidth"` // Number of protection chances ProtectCountLimit *uint64 `json:"ProtectCountLimit,omitempty" name:"ProtectCountLimit"` // Number of protection IPs ProtectIPNumberLimit *uint64 `json:"ProtectIPNumberLimit,omitempty" name:"ProtectIPNumberLimit"` // Auto-renewal status. Valid values: // `0`: disabled // `1`: enabled // ] AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` }
type BGPInstanceUsages ¶
type BGPInstanceUsages struct { // Number of used protection chances ProtectCountUsage *uint64 `json:"ProtectCountUsage,omitempty" name:"ProtectCountUsage"` // Number of protected IPs ProtectIPNumberUsage *uint64 `json:"ProtectIPNumberUsage,omitempty" name:"ProtectIPNumberUsage"` // Number of attack times in the last 7 days Last7DayAttackCount *uint64 `json:"Last7DayAttackCount,omitempty" name:"Last7DayAttackCount"` }
type BlackWhiteIpRelation ¶
type BlackWhiteIpRelation struct { // IP address Ip *string `json:"Ip,omitempty" name:"Ip"` // IP type. Valid values: `black` (blocklisted IP), `white`(allowlisted IP). Type *string `json:"Type,omitempty" name:"Type"` // Anti-DDoS instance configured InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitempty" name:"InstanceDetailList"` // IP mask. `0` indicates a 32-bit IP. Mask *uint64 `json:"Mask,omitempty" name:"Mask"` }
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). BizType *string `json:"BizType,omitempty" name:"BizType"` // Anti-DDoS instance ID of the IP. This field is required if the instance ID is bound to a new 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 ID to bind to a hosted 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). DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // ISP. Valid values: `0` (China Telecom), `1` (China Unicom), `2` (China Mobile),`5` (BGP). IspCode *uint64 `json:"IspCode,omitempty" name:"IspCode"` }
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 ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
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) 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) 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) 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) 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:
LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" UNSUPPORTEDOPERATION = "UnsupportedOperation"
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" 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"
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) 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) 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) 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:
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:
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) 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" 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"
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) 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) 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) 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) 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"
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"
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"
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) 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) DescribeCCTrend ¶
func (c *Client) DescribeCCTrend(request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error)
DescribeCCTrend This API is used to get CC attack data, including total peak requests (QPS) and attack requests (QPS).
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) 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) 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) 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) DescribeListBGPInstances ¶
func (c *Client) DescribeListBGPInstances(request *DescribeListBGPInstancesRequest) (response *DescribeListBGPInstancesResponse, err error)
DescribeListBGPInstances This API is used to get a list of Anti-DDoS Pro 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) SwitchWaterPrintConfig ¶
func (c *Client) SwitchWaterPrintConfig(request *SwitchWaterPrintConfigRequest) (response *SwitchWaterPrintConfigResponse, err error)
SwitchWaterPrintConfig This API is used to enable or disable Anti-DDoS watermark configurations.
error code that may be returned:
INTERNALERROR = "InternalError" 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 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
}
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`: custom 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 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 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 peak requests; `dropqps`: peak 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 peak requests; `dropqps`: peak 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 ¶
func (r *DescribeDefaultAlarmThresholdResponse) ToJsonString() string
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"` }
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 DescribeListBGPInstancesRequest ¶
type DescribeListBGPInstancesRequest struct { *tchttp.BaseRequest // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // IP filter FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"` // Anti-DDoS instance ID filter. For example, `bgp-00000001`. FilterInstanceId *string `json:"FilterInstanceId,omitempty" name:"FilterInstanceId"` // Region filter. For example, `ap-guangzhou`. FilterRegion *string `json:"FilterRegion,omitempty" name:"FilterRegion"` // Name filter FilterName *string `json:"FilterName,omitempty" name:"FilterName"` // Line filter. Valid values: 1: BGP; 2: Non-BGP. FilterLine *uint64 `json:"FilterLine,omitempty" name:"FilterLine"` }
func NewDescribeListBGPInstancesRequest ¶
func NewDescribeListBGPInstancesRequest() (request *DescribeListBGPInstancesRequest)
func (*DescribeListBGPInstancesRequest) FromJsonString ¶
func (r *DescribeListBGPInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListBGPInstancesRequest) ToJsonString ¶
func (r *DescribeListBGPInstancesRequest) ToJsonString() string
type DescribeListBGPInstancesResponse ¶
type DescribeListBGPInstancesResponse struct { *tchttp.BaseResponse Response *struct { // Total number of lists Total *uint64 `json:"Total,omitempty" name:"Total"` // List of Anti-DDoS Pro instances InstanceList []*BGPInstance `json:"InstanceList,omitempty" name:"InstanceList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeListBGPInstancesResponse ¶
func NewDescribeListBGPInstancesResponse() (response *DescribeListBGPInstancesResponse)
func (*DescribeListBGPInstancesResponse) FromJsonString ¶
func (r *DescribeListBGPInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListBGPInstancesResponse) ToJsonString ¶
func (r *DescribeListBGPInstancesResponse) ToJsonString() string
type 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 ¶
func (r *DescribeListDDoSGeoIPBlockConfigRequest) 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 (*DescribeListDDoSGeoIPBlockConfigRequest) ToJsonString ¶
func (r *DescribeListDDoSGeoIPBlockConfigRequest) ToJsonString() string
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 ¶
func (r *DescribeListDDoSGeoIPBlockConfigResponse) 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 (*DescribeListDDoSGeoIPBlockConfigResponse) ToJsonString ¶
func (r *DescribeListDDoSGeoIPBlockConfigResponse) ToJsonString() string
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 ¶
func (r *DescribeListDDoSSpeedLimitConfigRequest) 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 (*DescribeListDDoSSpeedLimitConfigRequest) ToJsonString ¶
func (r *DescribeListDDoSSpeedLimitConfigRequest) ToJsonString() string
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 ¶
func (r *DescribeListDDoSSpeedLimitConfigResponse) 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 (*DescribeListDDoSSpeedLimitConfigResponse) ToJsonString ¶
func (r *DescribeListDDoSSpeedLimitConfigResponse) ToJsonString() string
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 ¶
func (r *DescribeListPacketFilterConfigRequest) ToJsonString() string
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 ¶
func (r *DescribeListPacketFilterConfigResponse) 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 (*DescribeListPacketFilterConfigResponse) ToJsonString ¶
func (r *DescribeListPacketFilterConfigResponse) ToJsonString() string
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 ¶
func (r *DescribeListProtectThresholdConfigRequest) 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 (*DescribeListProtectThresholdConfigRequest) ToJsonString ¶
func (r *DescribeListProtectThresholdConfigRequest) ToJsonString() string
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 ¶
func (r *DescribeListProtectThresholdConfigResponse) 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 (*DescribeListProtectThresholdConfigResponse) ToJsonString ¶
func (r *DescribeListProtectThresholdConfigResponse) ToJsonString() string
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 ¶
func (r *DescribeListProtocolBlockConfigRequest) 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 (*DescribeListProtocolBlockConfigRequest) ToJsonString ¶
func (r *DescribeListProtocolBlockConfigRequest) ToJsonString() string
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 ¶
func (r *DescribeListProtocolBlockConfigResponse) 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 (*DescribeListProtocolBlockConfigResponse) ToJsonString ¶
func (r *DescribeListProtocolBlockConfigResponse) ToJsonString() string
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 EipProductInfo ¶
type EipProductInfo struct { // IP address Ip *string `json:"Ip,omitempty" name:"Ip"` // Cloud product category. Valid values: // `public`: CVM // `bm`: BM // `eni`: ENI // `vpngw`: VPN gateway // `natgw`: NAT gateway // `waf`: WAF // `fpc`: financial products // `gaap`: GAAP // `other`: hosted IP // ] BizType *string `json:"BizType,omitempty" name:"BizType"` // Cloud sub-product category. Valid values: `cvm` (CVM), `lb` (Load balancer), `eni` (ENI), `vpngw` (VPN gateway), `natgw` (NAT gateway), `waf` (WAF), `fpc` (financial products), `gaap` (GAAP), `eip` (BM EIP) and `other` (hosted IP). DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // Cloud instance ID of the IP. This field InstanceId will be `eni-*` if the instance ID is bound to an ENI IP; `none` if there is no instance ID to bind to a hosted IP. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
type ForwardListener ¶
type ForwardListener struct { // The starting port for listener forwarding. Value range: 1 to 65535. FrontendPort *int64 `json:"FrontendPort,omitempty" name:"FrontendPort"` // Forwarding protocol. Valid values: // `TCP` // `UDP` // ] ForwardProtocol *string `json:"ForwardProtocol,omitempty" name:"ForwardProtocol"` // The ending port for listener forwarding. Value range: 1 to 65535. FrontendPortEnd *int64 `json:"FrontendPortEnd,omitempty" name:"FrontendPortEnd"` }
type 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 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 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 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 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 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 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 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 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 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"` }