Documentation ¶
Index ¶
- Constants
- type BaradData
- type BoundIpInfo
- type CCAlarmThreshold
- type CCEventRecord
- type CCFrequencyRule
- type CCPolicy
- type CCRule
- type CCRuleConfig
- type Client
- func (c *Client) CreateBasicDDoSAlarmThreshold(request *CreateBasicDDoSAlarmThresholdRequest) (response *CreateBasicDDoSAlarmThresholdResponse, err error)
- func (c *Client) CreateBoundIP(request *CreateBoundIPRequest) (response *CreateBoundIPResponse, err error)
- func (c *Client) CreateCCFrequencyRules(request *CreateCCFrequencyRulesRequest) (response *CreateCCFrequencyRulesResponse, err error)
- func (c *Client) CreateCCSelfDefinePolicy(request *CreateCCSelfDefinePolicyRequest) (response *CreateCCSelfDefinePolicyResponse, err error)
- func (c *Client) CreateDDoSPolicy(request *CreateDDoSPolicyRequest) (response *CreateDDoSPolicyResponse, err error)
- func (c *Client) CreateDDoSPolicyCase(request *CreateDDoSPolicyCaseRequest) (response *CreateDDoSPolicyCaseResponse, err error)
- func (c *Client) CreateInstanceName(request *CreateInstanceNameRequest) (response *CreateInstanceNameResponse, err error)
- func (c *Client) CreateL4HealthConfig(request *CreateL4HealthConfigRequest) (response *CreateL4HealthConfigResponse, err error)
- func (c *Client) CreateL4Rules(request *CreateL4RulesRequest) (response *CreateL4RulesResponse, err error)
- func (c *Client) CreateL7CCRule(request *CreateL7CCRuleRequest) (response *CreateL7CCRuleResponse, err error)
- func (c *Client) CreateL7HealthConfig(request *CreateL7HealthConfigRequest) (response *CreateL7HealthConfigResponse, err error)
- func (c *Client) CreateL7RuleCert(request *CreateL7RuleCertRequest) (response *CreateL7RuleCertResponse, err error)
- func (c *Client) CreateL7Rules(request *CreateL7RulesRequest) (response *CreateL7RulesResponse, err error)
- func (c *Client) CreateL7RulesUpload(request *CreateL7RulesUploadRequest) (response *CreateL7RulesUploadResponse, err error)
- func (c *Client) CreateNetReturn(request *CreateNetReturnRequest) (response *CreateNetReturnResponse, err error)
- func (c *Client) CreateNewL7RulesUpload(request *CreateNewL7RulesUploadRequest) (response *CreateNewL7RulesUploadResponse, err error)
- func (c *Client) CreateUnblockIp(request *CreateUnblockIpRequest) (response *CreateUnblockIpResponse, err error)
- func (c *Client) DeleteCCFrequencyRules(request *DeleteCCFrequencyRulesRequest) (response *DeleteCCFrequencyRulesResponse, err error)
- func (c *Client) DeleteCCSelfDefinePolicy(request *DeleteCCSelfDefinePolicyRequest) (response *DeleteCCSelfDefinePolicyResponse, err error)
- func (c *Client) DeleteDDoSPolicy(request *DeleteDDoSPolicyRequest) (response *DeleteDDoSPolicyResponse, err error)
- func (c *Client) DeleteDDoSPolicyCase(request *DeleteDDoSPolicyCaseRequest) (response *DeleteDDoSPolicyCaseResponse, err error)
- func (c *Client) DeleteL4Rules(request *DeleteL4RulesRequest) (response *DeleteL4RulesResponse, err error)
- func (c *Client) DeleteL7Rules(request *DeleteL7RulesRequest) (response *DeleteL7RulesResponse, err error)
- func (c *Client) DescribeActionLog(request *DescribeActionLogRequest) (response *DescribeActionLogResponse, err error)
- func (c *Client) DescribeBGPIPL7RuleMaxCnt(request *DescribeBGPIPL7RuleMaxCntRequest) (response *DescribeBGPIPL7RuleMaxCntResponse, err error)
- func (c *Client) DescribeBaradData(request *DescribeBaradDataRequest) (response *DescribeBaradDataResponse, err error)
- func (c *Client) DescribeBasicCCThreshold(request *DescribeBasicCCThresholdRequest) (response *DescribeBasicCCThresholdResponse, err error)
- func (c *Client) DescribeBasicDeviceThreshold(request *DescribeBasicDeviceThresholdRequest) (response *DescribeBasicDeviceThresholdResponse, err error)
- func (c *Client) DescribeBizHttpStatus(request *DescribeBizHttpStatusRequest) (response *DescribeBizHttpStatusResponse, err error)
- func (c *Client) DescribeCCAlarmThreshold(request *DescribeCCAlarmThresholdRequest) (response *DescribeCCAlarmThresholdResponse, err error)
- func (c *Client) DescribeCCEvList(request *DescribeCCEvListRequest) (response *DescribeCCEvListResponse, err error)
- func (c *Client) DescribeCCFrequencyRules(request *DescribeCCFrequencyRulesRequest) (response *DescribeCCFrequencyRulesResponse, err error)
- func (c *Client) DescribeCCIpAllowDeny(request *DescribeCCIpAllowDenyRequest) (response *DescribeCCIpAllowDenyResponse, err error)
- func (c *Client) DescribeCCSelfDefinePolicy(request *DescribeCCSelfDefinePolicyRequest) (response *DescribeCCSelfDefinePolicyResponse, err error)
- func (c *Client) DescribeCCTrend(request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error)
- func (c *Client) DescribeCCUrlAllow(request *DescribeCCUrlAllowRequest) (response *DescribeCCUrlAllowResponse, err error)
- func (c *Client) DescribeDDoSAlarmThreshold(request *DescribeDDoSAlarmThresholdRequest) (response *DescribeDDoSAlarmThresholdResponse, err error)
- func (c *Client) DescribeDDoSAttackIPRegionMap(request *DescribeDDoSAttackIPRegionMapRequest) (response *DescribeDDoSAttackIPRegionMapResponse, err error)
- func (c *Client) DescribeDDoSAttackSource(request *DescribeDDoSAttackSourceRequest) (response *DescribeDDoSAttackSourceResponse, err error)
- func (c *Client) DescribeDDoSCount(request *DescribeDDoSCountRequest) (response *DescribeDDoSCountResponse, err error)
- func (c *Client) DescribeDDoSDefendStatus(request *DescribeDDoSDefendStatusRequest) (response *DescribeDDoSDefendStatusResponse, err error)
- func (c *Client) DescribeDDoSEvInfo(request *DescribeDDoSEvInfoRequest) (response *DescribeDDoSEvInfoResponse, err error)
- func (c *Client) DescribeDDoSEvList(request *DescribeDDoSEvListRequest) (response *DescribeDDoSEvListResponse, err error)
- func (c *Client) DescribeDDoSIpLog(request *DescribeDDoSIpLogRequest) (response *DescribeDDoSIpLogResponse, err error)
- func (c *Client) DescribeDDoSNetCount(request *DescribeDDoSNetCountRequest) (response *DescribeDDoSNetCountResponse, err error)
- func (c *Client) DescribeDDoSNetEvInfo(request *DescribeDDoSNetEvInfoRequest) (response *DescribeDDoSNetEvInfoResponse, err error)
- func (c *Client) DescribeDDoSNetEvList(request *DescribeDDoSNetEvListRequest) (response *DescribeDDoSNetEvListResponse, err error)
- func (c *Client) DescribeDDoSNetIpLog(request *DescribeDDoSNetIpLogRequest) (response *DescribeDDoSNetIpLogResponse, err error)
- func (c *Client) DescribeDDoSNetTrend(request *DescribeDDoSNetTrendRequest) (response *DescribeDDoSNetTrendResponse, err error)
- func (c *Client) DescribeDDoSPolicy(request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)
- func (c *Client) DescribeDDoSTrend(request *DescribeDDoSTrendRequest) (response *DescribeDDoSTrendResponse, err error)
- func (c *Client) DescribeDDoSUsedStatis(request *DescribeDDoSUsedStatisRequest) (response *DescribeDDoSUsedStatisResponse, err error)
- func (c *Client) DescribeIPProductInfo(request *DescribeIPProductInfoRequest) (response *DescribeIPProductInfoResponse, err error)
- func (c *Client) DescribeInsurePacks(request *DescribeInsurePacksRequest) (response *DescribeInsurePacksResponse, err error)
- func (c *Client) DescribeIpBlockList(request *DescribeIpBlockListRequest) (response *DescribeIpBlockListResponse, err error)
- func (c *Client) DescribeIpUnBlockList(request *DescribeIpUnBlockListRequest) (response *DescribeIpUnBlockListResponse, err error)
- func (c *Client) DescribeL4HealthConfig(request *DescribeL4HealthConfigRequest) (response *DescribeL4HealthConfigResponse, err error)
- func (c *Client) DescribeL4RulesErrHealth(request *DescribeL4RulesErrHealthRequest) (response *DescribeL4RulesErrHealthResponse, err error)
- func (c *Client) DescribeL7HealthConfig(request *DescribeL7HealthConfigRequest) (response *DescribeL7HealthConfigResponse, err error)
- func (c *Client) DescribePackIndex(request *DescribePackIndexRequest) (response *DescribePackIndexResponse, err error)
- func (c *Client) DescribePcap(request *DescribePcapRequest) (response *DescribePcapResponse, err error)
- func (c *Client) DescribePolicyCase(request *DescribePolicyCaseRequest) (response *DescribePolicyCaseResponse, err error)
- func (c *Client) DescribeResIpList(request *DescribeResIpListRequest) (response *DescribeResIpListResponse, err error)
- func (c *Client) DescribeResourceList(request *DescribeResourceListRequest) (response *DescribeResourceListResponse, err error)
- func (c *Client) DescribeRuleSets(request *DescribeRuleSetsRequest) (response *DescribeRuleSetsResponse, err error)
- func (c *Client) DescribeSchedulingDomainList(request *DescribeSchedulingDomainListRequest) (response *DescribeSchedulingDomainListResponse, err error)
- func (c *Client) DescribeSecIndex(request *DescribeSecIndexRequest) (response *DescribeSecIndexResponse, err error)
- func (c *Client) DescribeSourceIpSegment(request *DescribeSourceIpSegmentRequest) (response *DescribeSourceIpSegmentResponse, err error)
- func (c *Client) DescribeTransmitStatis(request *DescribeTransmitStatisRequest) (response *DescribeTransmitStatisResponse, err error)
- func (c *Client) DescribeUnBlockStatis(request *DescribeUnBlockStatisRequest) (response *DescribeUnBlockStatisResponse, err error)
- func (c *Client) DescribleL4Rules(request *DescribleL4RulesRequest) (response *DescribleL4RulesResponse, err error)
- func (c *Client) DescribleL7Rules(request *DescribleL7RulesRequest) (response *DescribleL7RulesResponse, err error)
- func (c *Client) DescribleRegionCount(request *DescribleRegionCountRequest) (response *DescribleRegionCountResponse, err error)
- func (c *Client) ModifyCCAlarmThreshold(request *ModifyCCAlarmThresholdRequest) (response *ModifyCCAlarmThresholdResponse, err error)
- func (c *Client) ModifyCCFrequencyRules(request *ModifyCCFrequencyRulesRequest) (response *ModifyCCFrequencyRulesResponse, err error)
- func (c *Client) ModifyCCFrequencyRulesStatus(request *ModifyCCFrequencyRulesStatusRequest) (response *ModifyCCFrequencyRulesStatusResponse, err error)
- func (c *Client) ModifyCCHostProtection(request *ModifyCCHostProtectionRequest) (response *ModifyCCHostProtectionResponse, err error)
- func (c *Client) ModifyCCIpAllowDeny(request *ModifyCCIpAllowDenyRequest) (response *ModifyCCIpAllowDenyResponse, err error)
- func (c *Client) ModifyCCLevel(request *ModifyCCLevelRequest) (response *ModifyCCLevelResponse, err error)
- func (c *Client) ModifyCCPolicySwitch(request *ModifyCCPolicySwitchRequest) (response *ModifyCCPolicySwitchResponse, err error)
- func (c *Client) ModifyCCSelfDefinePolicy(request *ModifyCCSelfDefinePolicyRequest) (response *ModifyCCSelfDefinePolicyResponse, err error)
- func (c *Client) ModifyCCThreshold(request *ModifyCCThresholdRequest) (response *ModifyCCThresholdResponse, err error)
- func (c *Client) ModifyCCUrlAllow(request *ModifyCCUrlAllowRequest) (response *ModifyCCUrlAllowResponse, err error)
- func (c *Client) ModifyDDoSAIStatus(request *ModifyDDoSAIStatusRequest) (response *ModifyDDoSAIStatusResponse, err error)
- func (c *Client) ModifyDDoSAlarmThreshold(request *ModifyDDoSAlarmThresholdRequest) (response *ModifyDDoSAlarmThresholdResponse, err error)
- func (c *Client) ModifyDDoSDefendStatus(request *ModifyDDoSDefendStatusRequest) (response *ModifyDDoSDefendStatusResponse, err error)
- func (c *Client) ModifyDDoSLevel(request *ModifyDDoSLevelRequest) (response *ModifyDDoSLevelResponse, err error)
- func (c *Client) ModifyDDoSPolicy(request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, err error)
- func (c *Client) ModifyDDoSPolicyCase(request *ModifyDDoSPolicyCaseRequest) (response *ModifyDDoSPolicyCaseResponse, err error)
- func (c *Client) ModifyDDoSPolicyName(request *ModifyDDoSPolicyNameRequest) (response *ModifyDDoSPolicyNameResponse, err error)
- func (c *Client) ModifyDDoSSwitch(request *ModifyDDoSSwitchRequest) (response *ModifyDDoSSwitchResponse, err error)
- func (c *Client) ModifyDDoSThreshold(request *ModifyDDoSThresholdRequest) (response *ModifyDDoSThresholdResponse, err error)
- func (c *Client) ModifyDDoSWaterKey(request *ModifyDDoSWaterKeyRequest) (response *ModifyDDoSWaterKeyResponse, err error)
- func (c *Client) ModifyElasticLimit(request *ModifyElasticLimitRequest) (response *ModifyElasticLimitResponse, err error)
- func (c *Client) ModifyL4Health(request *ModifyL4HealthRequest) (response *ModifyL4HealthResponse, err error)
- func (c *Client) ModifyL4KeepTime(request *ModifyL4KeepTimeRequest) (response *ModifyL4KeepTimeResponse, err error)
- func (c *Client) ModifyL4Rules(request *ModifyL4RulesRequest) (response *ModifyL4RulesResponse, err error)
- func (c *Client) ModifyL7Rules(request *ModifyL7RulesRequest) (response *ModifyL7RulesResponse, err error)
- func (c *Client) ModifyNetReturnSwitch(request *ModifyNetReturnSwitchRequest) (response *ModifyNetReturnSwitchResponse, err error)
- func (c *Client) ModifyNewDomainRules(request *ModifyNewDomainRulesRequest) (response *ModifyNewDomainRulesResponse, err error)
- func (c *Client) ModifyNewL4Rule(request *ModifyNewL4RuleRequest) (response *ModifyNewL4RuleResponse, err error)
- func (c *Client) ModifyResBindDDoSPolicy(request *ModifyResBindDDoSPolicyRequest) (response *ModifyResBindDDoSPolicyResponse, err error)
- func (c *Client) ModifyResourceRenewFlag(request *ModifyResourceRenewFlagRequest) (response *ModifyResourceRenewFlagResponse, err error)
- type CreateBasicDDoSAlarmThresholdRequest
- type CreateBasicDDoSAlarmThresholdResponse
- type CreateBoundIPRequest
- type CreateBoundIPResponse
- type CreateCCFrequencyRulesRequest
- type CreateCCFrequencyRulesResponse
- type CreateCCSelfDefinePolicyRequest
- type CreateCCSelfDefinePolicyResponse
- type CreateDDoSPolicyCaseRequest
- type CreateDDoSPolicyCaseResponse
- type CreateDDoSPolicyRequest
- type CreateDDoSPolicyResponse
- type CreateInstanceNameRequest
- type CreateInstanceNameResponse
- type CreateL4HealthConfigRequest
- type CreateL4HealthConfigResponse
- type CreateL4RulesRequest
- type CreateL4RulesResponse
- type CreateL7CCRuleRequest
- type CreateL7CCRuleResponse
- type CreateL7HealthConfigRequest
- type CreateL7HealthConfigResponse
- type CreateL7RuleCertRequest
- type CreateL7RuleCertResponse
- type CreateL7RulesRequest
- type CreateL7RulesResponse
- type CreateL7RulesUploadRequest
- type CreateL7RulesUploadResponse
- type CreateNetReturnRequest
- type CreateNetReturnResponse
- type CreateNewL7RulesUploadRequest
- type CreateNewL7RulesUploadResponse
- type CreateUnblockIpRequest
- type CreateUnblockIpResponse
- type DDoSAlarmThreshold
- type DDoSAttackSourceRecord
- type DDoSEventRecord
- type DDoSPolicyDropOption
- type DDoSPolicyPacketFilter
- type DDoSPolicyPortLimit
- type DDosPolicy
- type DeleteCCFrequencyRulesRequest
- type DeleteCCFrequencyRulesResponse
- type DeleteCCSelfDefinePolicyRequest
- type DeleteCCSelfDefinePolicyResponse
- type DeleteDDoSPolicyCaseRequest
- type DeleteDDoSPolicyCaseResponse
- type DeleteDDoSPolicyRequest
- type DeleteDDoSPolicyResponse
- type DeleteL4RulesRequest
- type DeleteL4RulesResponse
- type DeleteL7RulesRequest
- type DeleteL7RulesResponse
- type DescribeActionLogRequest
- type DescribeActionLogResponse
- type DescribeBGPIPL7RuleMaxCntRequest
- type DescribeBGPIPL7RuleMaxCntResponse
- type DescribeBaradDataRequest
- type DescribeBaradDataResponse
- type DescribeBasicCCThresholdRequest
- type DescribeBasicCCThresholdResponse
- type DescribeBasicDeviceThresholdRequest
- type DescribeBasicDeviceThresholdResponse
- type DescribeBizHttpStatusRequest
- type DescribeBizHttpStatusResponse
- type DescribeCCAlarmThresholdRequest
- type DescribeCCAlarmThresholdResponse
- type DescribeCCEvListRequest
- type DescribeCCEvListResponse
- type DescribeCCFrequencyRulesRequest
- type DescribeCCFrequencyRulesResponse
- type DescribeCCIpAllowDenyRequest
- type DescribeCCIpAllowDenyResponse
- type DescribeCCSelfDefinePolicyRequest
- type DescribeCCSelfDefinePolicyResponse
- type DescribeCCTrendRequest
- type DescribeCCTrendResponse
- type DescribeCCUrlAllowRequest
- type DescribeCCUrlAllowResponse
- type DescribeDDoSAlarmThresholdRequest
- type DescribeDDoSAlarmThresholdResponse
- type DescribeDDoSAttackIPRegionMapRequest
- type DescribeDDoSAttackIPRegionMapResponse
- type DescribeDDoSAttackSourceRequest
- type DescribeDDoSAttackSourceResponse
- type DescribeDDoSCountRequest
- type DescribeDDoSCountResponse
- type DescribeDDoSDefendStatusRequest
- type DescribeDDoSDefendStatusResponse
- type DescribeDDoSEvInfoRequest
- type DescribeDDoSEvInfoResponse
- type DescribeDDoSEvListRequest
- type DescribeDDoSEvListResponse
- type DescribeDDoSIpLogRequest
- type DescribeDDoSIpLogResponse
- type DescribeDDoSNetCountRequest
- type DescribeDDoSNetCountResponse
- type DescribeDDoSNetEvInfoRequest
- type DescribeDDoSNetEvInfoResponse
- type DescribeDDoSNetEvListRequest
- type DescribeDDoSNetEvListResponse
- type DescribeDDoSNetIpLogRequest
- type DescribeDDoSNetIpLogResponse
- type DescribeDDoSNetTrendRequest
- type DescribeDDoSNetTrendResponse
- type DescribeDDoSPolicyRequest
- type DescribeDDoSPolicyResponse
- type DescribeDDoSTrendRequest
- type DescribeDDoSTrendResponse
- type DescribeDDoSUsedStatisRequest
- type DescribeDDoSUsedStatisResponse
- type DescribeIPProductInfoRequest
- type DescribeIPProductInfoResponse
- type DescribeInsurePacksRequest
- type DescribeInsurePacksResponse
- type DescribeIpBlockListRequest
- type DescribeIpBlockListResponse
- type DescribeIpUnBlockListRequest
- type DescribeIpUnBlockListResponse
- type DescribeL4HealthConfigRequest
- type DescribeL4HealthConfigResponse
- type DescribeL4RulesErrHealthRequest
- type DescribeL4RulesErrHealthResponse
- type DescribeL7HealthConfigRequest
- type DescribeL7HealthConfigResponse
- type DescribePackIndexRequest
- type DescribePackIndexResponse
- type DescribePcapRequest
- type DescribePcapResponse
- type DescribePolicyCaseRequest
- type DescribePolicyCaseResponse
- type DescribeResIpListRequest
- type DescribeResIpListResponse
- type DescribeResourceListRequest
- type DescribeResourceListResponse
- type DescribeRuleSetsRequest
- type DescribeRuleSetsResponse
- type DescribeSchedulingDomainListRequest
- type DescribeSchedulingDomainListResponse
- type DescribeSecIndexRequest
- type DescribeSecIndexResponse
- type DescribeSourceIpSegmentRequest
- type DescribeSourceIpSegmentResponse
- type DescribeTransmitStatisRequest
- type DescribeTransmitStatisResponse
- type DescribeUnBlockStatisRequest
- type DescribeUnBlockStatisResponse
- type DescribleL4RulesRequest
- type DescribleL4RulesResponse
- type DescribleL7RulesRequest
- type DescribleL7RulesResponse
- type DescribleRegionCountRequest
- type DescribleRegionCountResponse
- type HttpStatusMap
- type IpBlackWhite
- type IpBlockData
- type IpUnBlockData
- type KeyValue
- type KeyValueRecord
- type L4HealthConfig
- type L4RuleEntry
- type L4RuleHealth
- type L4RuleSource
- type L7HealthConfig
- type L7RuleEntry
- type L7RuleHealth
- type ModifyCCAlarmThresholdRequest
- type ModifyCCAlarmThresholdResponse
- type ModifyCCFrequencyRulesRequest
- type ModifyCCFrequencyRulesResponse
- type ModifyCCFrequencyRulesStatusRequest
- type ModifyCCFrequencyRulesStatusResponse
- type ModifyCCHostProtectionRequest
- type ModifyCCHostProtectionResponse
- type ModifyCCIpAllowDenyRequest
- type ModifyCCIpAllowDenyResponse
- type ModifyCCLevelRequest
- type ModifyCCLevelResponse
- type ModifyCCPolicySwitchRequest
- type ModifyCCPolicySwitchResponse
- type ModifyCCSelfDefinePolicyRequest
- type ModifyCCSelfDefinePolicyResponse
- type ModifyCCThresholdRequest
- type ModifyCCThresholdResponse
- type ModifyCCUrlAllowRequest
- type ModifyCCUrlAllowResponse
- type ModifyDDoSAIStatusRequest
- type ModifyDDoSAIStatusResponse
- type ModifyDDoSAlarmThresholdRequest
- type ModifyDDoSAlarmThresholdResponse
- type ModifyDDoSDefendStatusRequest
- type ModifyDDoSDefendStatusResponse
- type ModifyDDoSLevelRequest
- type ModifyDDoSLevelResponse
- type ModifyDDoSPolicyCaseRequest
- type ModifyDDoSPolicyCaseResponse
- type ModifyDDoSPolicyNameRequest
- type ModifyDDoSPolicyNameResponse
- type ModifyDDoSPolicyRequest
- type ModifyDDoSPolicyResponse
- type ModifyDDoSSwitchRequest
- type ModifyDDoSSwitchResponse
- type ModifyDDoSThresholdRequest
- type ModifyDDoSThresholdResponse
- type ModifyDDoSWaterKeyRequest
- type ModifyDDoSWaterKeyResponse
- type ModifyElasticLimitRequest
- type ModifyElasticLimitResponse
- type ModifyL4HealthRequest
- type ModifyL4HealthResponse
- type ModifyL4KeepTimeRequest
- type ModifyL4KeepTimeResponse
- type ModifyL4RulesRequest
- type ModifyL4RulesResponse
- type ModifyL7RulesRequest
- type ModifyL7RulesResponse
- type ModifyNetReturnSwitchRequest
- type ModifyNetReturnSwitchResponse
- type ModifyNewDomainRulesRequest
- type ModifyNewDomainRulesResponse
- type ModifyNewL4RuleRequest
- type ModifyNewL4RuleResponse
- type ModifyResBindDDoSPolicyRequest
- type ModifyResBindDDoSPolicyResponse
- type ModifyResourceRenewFlagRequest
- type ModifyResourceRenewFlagResponse
- type NewL7RuleEntry
- type OrderBy
- type Paging
- type ProtocolPort
- type RegionInstanceCount
- type ResourceIp
- type SchedulingDomain
- type SuccessCode
- type WaterPrintKey
- type WaterPrintPolicy
Constants ¶
const ( // `DryRun` Operation. It means that the request would have succeeded, but the `DryRun` parameter was used. DRYRUNOPERATION = "DryRunOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // An internal error occurred. INTERNALERROR = "InternalError" // A parameter error occurred. INVALIDPARAMETER = "InvalidParameter" // Incorrect parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The quota limit is exceeded. LIMITEXCEEDED = "LimitExceeded" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // The resource is occupied. RESOURCEINUSE = "ResourceInUse" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The resource is unavailable RESOURCEUNAVAILABLE = "ResourceUnavailable" // Unknown parameter error. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2018-07-09"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaradData ¶
type BaradData struct { // Metric name (connum: number of active TCP connections; // new_conn: number of new TCP connections; // inactive_conn: number of inactive connections; // intraffic: inbound traffic; // outtraffic: outbound traffic; // alltraffic: sum of inbound and outbound traffic; // inpkg: inbound packet rate; // outpkg: outbound packet rate;) MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Value array Data []*float64 `json:"Data,omitempty" name:"Data"` // Value array size Count *uint64 `json:"Count,omitempty" name:"Count"` }
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"` // Subtype under product type. Valid values: [cvm (CVM), lb (CLB), eni (ENI), vpngw (VPN), natgw (NAT), waf (WAF), fpc (finance), gaap (GAAP), other (hosted IP), eip (BM EIP)] DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // Resource instance ID of IP. This field is required when binding a new IP. For example, if it is an ENI IP, enter `ID(eni-*)` of the ENI for `InstanceId`; if it is a hosted IP without corresponding resource instance ID, enter "none"; InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
type CCAlarmThreshold ¶
type CCAlarmThreshold struct { // CC alarm threshold AlarmThreshold *uint64 `json:"AlarmThreshold,omitempty" name:"AlarmThreshold"` }
type CCEventRecord ¶
type CCEventRecord struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Resource IP Vip *string `json:"Vip,omitempty" name:"Vip"` // Attack start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Total requests peak (QPS) ReqQps *uint64 `json:"ReqQps,omitempty" name:"ReqQps"` // Attack peak (QPS) DropQps *uint64 `json:"DropQps,omitempty" name:"DropQps"` // Attack status. Valid values: [0 (ongoing), 1 (ended)] AttackStatus *uint64 `json:"AttackStatus,omitempty" name:"AttackStatus"` // Resource name // Note: this field may return null, indicating that no valid values can be obtained. ResourceName *string `json:"ResourceName,omitempty" name:"ResourceName"` // Domain name list // Note: this field may return null, indicating that no valid values can be obtained. DomainList *string `json:"DomainList,omitempty" name:"DomainList"` // URI list // Note: this field may return null, indicating that no valid values can be obtained. UriList *string `json:"UriList,omitempty" name:"UriList"` // Attack source list // Note: this field may return null, indicating that no valid values can be obtained. AttackipList *string `json:"AttackipList,omitempty" name:"AttackipList"` }
type CCFrequencyRule ¶
type CCFrequencyRule struct { // ID of the access frequency control rule for CC protection CCFrequencyRuleId *string `json:"CCFrequencyRuleId,omitempty" name:"CCFrequencyRuleId"` // URI string, which must start with `/`, such as `/abc/a.php`. Length limit: 31. If URI is `/`, only prefix match can be selected as the matching mode; Uri *string `json:"Uri,omitempty" name:"Uri"` // `User-Agent` string. Length limit: 80 UserAgent *string `json:"UserAgent,omitempty" name:"UserAgent"` // Cookie string. Length limit: 40 Cookie *string `json:"Cookie,omitempty" name:"Cookie"` // Matching rule. Valid values: ["include" (prefix match), "equal" (exact match)] Mode *string `json:"Mode,omitempty" name:"Mode"` // Reference period in seconds. Valid values: [10, 30, 60] Period *uint64 `json:"Period,omitempty" name:"Period"` // Number of access requests. Value range: [1-10000] ReqNumber *uint64 `json:"ReqNumber,omitempty" name:"ReqNumber"` // Action take. Valid values: ["alg" (CAPTCHA), "drop" (blocking)] Act *string `json:"Act,omitempty" name:"Act"` // Execution duration in seconds. Valid range: [1-900] ExeDuration *uint64 `json:"ExeDuration,omitempty" name:"ExeDuration"` }
type CCPolicy ¶
type CCPolicy struct { // Policy name Name *string `json:"Name,omitempty" name:"Name"` // Matching mode. Valid values: [matching (matching mode), speedlimit (speed limiting mode)] Smode *string `json:"Smode,omitempty" name:"Smode"` // Policy ID SetId *string `json:"SetId,omitempty" name:"SetId"` // Number of requests allowed per minute Frequency *uint64 `json:"Frequency,omitempty" name:"Frequency"` // Executed policy mode. Valid values: [alg (verification code), drop (blocking)] ExeMode *string `json:"ExeMode,omitempty" name:"ExeMode"` // Specifies whether the policy is activated Switch *uint64 `json:"Switch,omitempty" name:"Switch"` // Creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Rule list RuleList []*CCRule `json:"RuleList,omitempty" name:"RuleList"` // IP list. If this field is to be left empty, please pass in an empty instead of null; IpList []*string `json:"IpList,omitempty" name:"IpList"` // CC protection type. Valid values: [http, https] Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // ID of the forwarding rule corresponding to the HTTPS CC protection domain name RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // HTTPS CC protection domain name Domain *string `json:"Domain,omitempty" name:"Domain"` }
type CCRule ¶
type CCRule struct { // Key of the policy. Valid values: `host`, `cgi`, `ua`, `referer` Skey *string `json:"Skey,omitempty" name:"Skey"` // Rule condition. Valid values: `include`, `not_include`, `equal` Operator *string `json:"Operator,omitempty" name:"Operator"` // Value of the policy. Length limit: 31 bytes Value *string `json:"Value,omitempty" name:"Value"` }
type CCRuleConfig ¶
type CCRuleConfig struct { // Reference period in seconds. Valid values: [10, 30, 60] Period *uint64 `json:"Period,omitempty" name:"Period"` // Number of access requests. Value range: [1-10000] ReqNumber *uint64 `json:"ReqNumber,omitempty" name:"ReqNumber"` // Action take. Valid values: ["alg" (CAPTCHA), "drop" (blocking)] Action *string `json:"Action,omitempty" name:"Action"` // Execution duration in seconds. Valid range: [1-900] ExeDuration *uint64 `json:"ExeDuration,omitempty" name:"ExeDuration"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateBasicDDoSAlarmThreshold ¶
func (c *Client) CreateBasicDDoSAlarmThreshold(request *CreateBasicDDoSAlarmThresholdRequest) (response *CreateBasicDDoSAlarmThresholdResponse, err error)
CreateBasicDDoSAlarmThreshold This API is used to set the DDoS alarm threshold for Anti-DDoS Basic, which is only supported for Anti-DDoS Basic.
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, which supports both single IP instances and multi-IP instances. It should be noted that this API is async; therefore, if a binding/unbinding operation is in progress, new binding/unbinding operations cannot be initiated.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCCFrequencyRules ¶
func (c *Client) CreateCCFrequencyRules(request *CreateCCFrequencyRulesRequest) (response *CreateCCFrequencyRulesResponse, err error)
CreateCCFrequencyRules This API is used to add an access frequency control rule for CC protection.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCCSelfDefinePolicy ¶
func (c *Client) CreateCCSelfDefinePolicy(request *CreateCCSelfDefinePolicyRequest) (response *CreateCCSelfDefinePolicyResponse, err error)
CreateCCSelfDefinePolicy This API is used to create a custom CC policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) CreateDDoSPolicy ¶
func (c *Client) CreateDDoSPolicy(request *CreateDDoSPolicyRequest) (response *CreateDDoSPolicyResponse, err error)
CreateDDoSPolicy This API is used to add an advanced DDoS policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) CreateDDoSPolicyCase ¶
func (c *Client) CreateDDoSPolicyCase(request *CreateDDoSPolicyCaseRequest) (response *CreateDDoSPolicyCaseResponse, err error)
CreateDDoSPolicyCase This API is used to add a policy scenario.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) CreateInstanceName ¶
func (c *Client) CreateInstanceName(request *CreateInstanceNameRequest) (response *CreateInstanceNameResponse, err error)
CreateInstanceName This API is used to rename a resource instance, which supports single IP instances, multi-IP instances, Anti-DDoS Advanced, and Anti-DDoS Ultimate.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) CreateL4HealthConfig ¶
func (c *Client) CreateL4HealthConfig(request *CreateL4HealthConfigRequest) (response *CreateL4HealthConfigResponse, err error)
CreateL4HealthConfig This API is used to upload layer-4 health check configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) CreateL4Rules ¶
func (c *Client) CreateL4Rules(request *CreateL4RulesRequest) (response *CreateL4RulesResponse, err error)
CreateL4Rules This API is used to add a layer-4 forwarding rule.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) CreateL7CCRule ¶
func (c *Client) CreateL7CCRule(request *CreateL7CCRuleRequest) (response *CreateL7CCRuleResponse, err error)
CreateL7CCRule This API is used to add a custom frequency control rule for layer-7 CC access (it works in the IP + Host dimension and does not support specific URIs). As it has been disused, please call the new `CreateCCFrequencyRules` API, which supports both IP + Host and URI.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) CreateL7HealthConfig ¶
func (c *Client) CreateL7HealthConfig(request *CreateL7HealthConfigRequest) (response *CreateL7HealthConfigResponse, err error)
CreateL7HealthConfig This API is used to upload layer-7 health check configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) CreateL7RuleCert ¶
func (c *Client) CreateL7RuleCert(request *CreateL7RuleCertRequest) (response *CreateL7RuleCertResponse, err error)
CreateL7RuleCert This API is used to configure a certificate for a layer-7 forwarding rule.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) CreateL7Rules ¶
func (c *Client) CreateL7Rules(request *CreateL7RulesRequest) (response *CreateL7RulesResponse, err error)
CreateL7Rules This API is used to add a layer-7 (website) forwarding rule.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) CreateL7RulesUpload ¶
func (c *Client) CreateL7RulesUpload(request *CreateL7RulesUploadRequest) (response *CreateL7RulesUploadResponse, err error)
CreateL7RulesUpload This API is used to upload layer-7 forwarding rules in batches.
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) CreateNetReturn ¶
func (c *Client) CreateNetReturn(request *CreateNetReturnRequest) (response *CreateNetReturnResponse, err error)
CreateNetReturn This API is used to switch to the real server in Anti-DDoS Ultimate.
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) CreateNewL7RulesUpload ¶
func (c *Client) CreateNewL7RulesUpload(request *CreateNewL7RulesUploadRequest) (response *CreateNewL7RulesUploadResponse, err error)
CreateNewL7RulesUpload This API is used to batch upload Layer-7 forwarding rules.
error code that may be returned:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateUnblockIp ¶
func (c *Client) CreateUnblockIp(request *CreateUnblockIpRequest) (response *CreateUnblockIpResponse, err error)
CreateUnblockIp This API is used to unblock an IP.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded"
func (*Client) DeleteCCFrequencyRules ¶
func (c *Client) DeleteCCFrequencyRules(request *DeleteCCFrequencyRulesRequest) (response *DeleteCCFrequencyRulesResponse, err error)
DeleteCCFrequencyRules This API is used to delete an access frequency control rule for CC protection.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded"
func (*Client) DeleteCCSelfDefinePolicy ¶
func (c *Client) DeleteCCSelfDefinePolicy(request *DeleteCCSelfDefinePolicyRequest) (response *DeleteCCSelfDefinePolicyResponse, err error)
DeleteCCSelfDefinePolicy This API is used to delete a custom CC policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DeleteDDoSPolicy ¶
func (c *Client) DeleteDDoSPolicy(request *DeleteDDoSPolicyRequest) (response *DeleteDDoSPolicyResponse, err error)
DeleteDDoSPolicy This API is used to delete an advanced DDoS protection policy.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) DeleteDDoSPolicyCase ¶
func (c *Client) DeleteDDoSPolicyCase(request *DeleteDDoSPolicyCaseRequest) (response *DeleteDDoSPolicyCaseResponse, err error)
DeleteDDoSPolicyCase This API is used to delete a policy scenario.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) DeleteL4Rules ¶
func (c *Client) DeleteL4Rules(request *DeleteL4RulesRequest) (response *DeleteL4RulesResponse, err error)
DeleteL4Rules This API is used to delete one or more layer-4 forwarding rules.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) DeleteL7Rules ¶
func (c *Client) DeleteL7Rules(request *DeleteL7RulesRequest) (response *DeleteL7RulesResponse, err error)
DeleteL7Rules This API is used to delete one or more layer-7 forwarding rules.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) DescribeActionLog ¶
func (c *Client) DescribeActionLog(request *DescribeActionLogRequest) (response *DescribeActionLogResponse, err error)
DescribeActionLog This API is used to get operation logs.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) DescribeBGPIPL7RuleMaxCnt ¶
func (c *Client) DescribeBGPIPL7RuleMaxCnt(request *DescribeBGPIPL7RuleMaxCntRequest) (response *DescribeBGPIPL7RuleMaxCntResponse, err error)
DescribeBGPIPL7RuleMaxCnt This API is used to get the maximum number of layer-7 rules that can be added for Anti-DDoS Advanced.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) DescribeBaradData ¶
func (c *Client) DescribeBaradData(request *DescribeBaradDataRequest) (response *DescribeBaradDataResponse, err error)
DescribeBaradData This API is used to provide business forwarding metric data of Anti-DDoS services.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) DescribeBasicCCThreshold ¶
func (c *Client) DescribeBasicCCThreshold(request *DescribeBasicCCThresholdRequest) (response *DescribeBasicCCThresholdResponse, err error)
DescribeBasicCCThreshold This API is used to get the CC protection threshold of Anti-DDoS Basic.
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) DescribeBasicDeviceThreshold ¶
func (c *Client) DescribeBasicDeviceThreshold(request *DescribeBasicDeviceThresholdRequest) (response *DescribeBasicDeviceThresholdResponse, err error)
DescribeBasicDeviceThreshold This API is used to get the blackhole threshold of Anti-DDoS Basic.
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) DescribeBizHttpStatus ¶
func (c *Client) DescribeBizHttpStatus(request *DescribeBizHttpStatusRequest) (response *DescribeBizHttpStatusResponse, err error)
DescribeBizHttpStatus This API is used to get the statistics on the status codes of business traffic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeCCAlarmThreshold ¶
func (c *Client) DescribeCCAlarmThreshold(request *DescribeCCAlarmThresholdRequest) (response *DescribeCCAlarmThresholdResponse, err error)
DescribeCCAlarmThreshold This API is used to get the alarm notification threshold set for CC attacks in Anti-DDoS Pro, Anti-DDoS Advanced, Anti-DDoS Ultimate, and Chess Shield.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeCCEvList ¶
func (c *Client) DescribeCCEvList(request *DescribeCCEvListRequest) (response *DescribeCCEvListResponse, err error)
DescribeCCEvList This API is used to get the CC attack event list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeCCFrequencyRules ¶
func (c *Client) DescribeCCFrequencyRules(request *DescribeCCFrequencyRulesRequest) (response *DescribeCCFrequencyRulesResponse, err error)
DescribeCCFrequencyRules This API is used to get an access frequency control rule for CC protection.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeCCIpAllowDeny ¶
func (c *Client) DescribeCCIpAllowDeny(request *DescribeCCIpAllowDenyRequest) (response *DescribeCCIpAllowDenyResponse, err error)
DescribeCCIpAllowDeny This API is used to get the CC IP blocklist/allowlist.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeCCSelfDefinePolicy ¶
func (c *Client) DescribeCCSelfDefinePolicy(request *DescribeCCSelfDefinePolicyRequest) (response *DescribeCCSelfDefinePolicyResponse, err error)
DescribeCCSelfDefinePolicy This API is used to get a custom CC policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeCCTrend ¶
func (c *Client) DescribeCCTrend(request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error)
DescribeCCTrend This API is used to get CC attack metric data, including total requests peak (QPS) and attack requests (QPS).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeCCUrlAllow ¶
func (c *Client) DescribeCCUrlAllow(request *DescribeCCUrlAllowRequest) (response *DescribeCCUrlAllowResponse, err error)
DescribeCCUrlAllow This API is used to get the CC URL allowlist.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeDDoSAlarmThreshold ¶
func (c *Client) DescribeDDoSAlarmThreshold(request *DescribeDDoSAlarmThresholdRequest) (response *DescribeDDoSAlarmThresholdResponse, err error)
DescribeDDoSAlarmThreshold This API is used to get the alarm notification threshold set for DDoS attacks in Anti-DDoS Pro, Anti-DDoS Advanced, Anti-DDoS Ultimate, and Chess Shield.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeDDoSAttackIPRegionMap ¶
func (c *Client) DescribeDDoSAttackIPRegionMap(request *DescribeDDoSAttackIPRegionMapRequest) (response *DescribeDDoSAttackIPRegionMapResponse, err error)
DescribeDDoSAttackIPRegionMap This API is used to get the geographical distribution map of DDoS attack source IPs. It supports display by global regions and Chinese provinces.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeDDoSAttackSource ¶
func (c *Client) DescribeDDoSAttackSource(request *DescribeDDoSAttackSourceRequest) (response *DescribeDDoSAttackSourceResponse, err error)
DescribeDDoSAttackSource This API is used to get the DDoS attack source list.
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) DescribeDDoSCount ¶
func (c *Client) DescribeDDoSCount(request *DescribeDDoSCountRequest) (response *DescribeDDoSCountResponse, err error)
DescribeDDoSCount This API is used to get the DDoS attack proportion analysis.
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) DescribeDDoSDefendStatus ¶
func (c *Client) DescribeDDoSDefendStatus(request *DescribeDDoSDefendStatusRequest) (response *DescribeDDoSDefendStatusResponse, err error)
DescribeDDoSDefendStatus This API is used to get the DDoS protection status (temporarily disabled status). It is supported for Anti-DDoS Basic, single IP instance, multi-IP instance, Anti-DDoS Advanced, and Anti-DDoS Ultimate. It is used to query whether DDoS protection is temporarily disabled, and if yes, return parameters such as temporary disablement duration.
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) DescribeDDoSEvInfo ¶
func (c *Client) DescribeDDoSEvInfo(request *DescribeDDoSEvInfoRequest) (response *DescribeDDoSEvInfoResponse, err error)
DescribeDDoSEvInfo This API is used to get details of a specific DDoS attack.
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) DescribeDDoSEvList ¶
func (c *Client) DescribeDDoSEvList(request *DescribeDDoSEvListRequest) (response *DescribeDDoSEvListResponse, err error)
DescribeDDoSEvList This API is used to get the DDoS attack event list.
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) DescribeDDoSIpLog ¶
func (c *Client) DescribeDDoSIpLog(request *DescribeDDoSIpLogRequest) (response *DescribeDDoSIpLogResponse, err error)
DescribeDDoSIpLog This API is used to get a DDoS IP attack log.
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) DescribeDDoSNetCount ¶
func (c *Client) DescribeDDoSNetCount(request *DescribeDDoSNetCountRequest) (response *DescribeDDoSNetCountResponse, err error)
DescribeDDoSNetCount This API is used to get the DDoS attack proportion analysis for an Anti-DDoS Ultimate resource.
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) DescribeDDoSNetEvInfo ¶
func (c *Client) DescribeDDoSNetEvInfo(request *DescribeDDoSNetEvInfoRequest) (response *DescribeDDoSNetEvInfoResponse, err error)
DescribeDDoSNetEvInfo This API is used to get the DDoS attack event details of an Anti-DDoS Ultimate resource.
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) DescribeDDoSNetEvList ¶
func (c *Client) DescribeDDoSNetEvList(request *DescribeDDoSNetEvListRequest) (response *DescribeDDoSNetEvListResponse, err error)
DescribeDDoSNetEvList This API is used to get the DDoS attack event list of an Anti-DDoS Ultimate resource.
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) DescribeDDoSNetIpLog ¶
func (c *Client) DescribeDDoSNetIpLog(request *DescribeDDoSNetIpLogRequest) (response *DescribeDDoSNetIpLogResponse, err error)
DescribeDDoSNetIpLog This API is used to get the DDoS IP attack logs of an Anti-DDoS Ultimate resource.
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) DescribeDDoSNetTrend ¶
func (c *Client) DescribeDDoSNetTrend(request *DescribeDDoSNetTrendRequest) (response *DescribeDDoSNetTrendResponse, err error)
DescribeDDoSNetTrend This API is used to get the DDoS attack metric data of an Anti-DDoS Ultimate resource.
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) DescribeDDoSPolicy ¶
func (c *Client) DescribeDDoSPolicy(request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)
DescribeDDoSPolicy This API is used to get an advanced DDoS policy.
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) DescribeDDoSTrend ¶
func (c *Client) DescribeDDoSTrend(request *DescribeDDoSTrendRequest) (response *DescribeDDoSTrendResponse, err error)
DescribeDDoSTrend This API is used to get the data of DDoS attack traffic bandwidth and attack packet rate.
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) DescribeDDoSUsedStatis ¶
func (c *Client) DescribeDDoSUsedStatis(request *DescribeDDoSUsedStatisRequest) (response *DescribeDDoSUsedStatisResponse, err error)
DescribeDDoSUsedStatis This API is used to count the number of days of Anti-DDoS resource use and number of DDoS attacks defended against.
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) DescribeIPProductInfo ¶
func (c *Client) DescribeIPProductInfo(request *DescribeIPProductInfoRequest) (response *DescribeIPProductInfoResponse, err error)
DescribeIPProductInfo This API is used to get the Tencent Cloud asset information corresponding to an IP of a single IP instance or multi-IP instance, which is supported only for IPs of single IP instances and multi-IP instances.
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) DescribeInsurePacks ¶
func (c *Client) DescribeInsurePacks(request *DescribeInsurePacksRequest) (response *DescribeInsurePacksResponse, err error)
DescribeInsurePacks This API is used to get the guarantee package list.
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) DescribeIpBlockList ¶
func (c *Client) DescribeIpBlockList(request *DescribeIpBlockListRequest) (response *DescribeIpBlockListResponse, err error)
DescribeIpBlockList This API is used to get the blocked IP list.
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) DescribeIpUnBlockList ¶
func (c *Client) DescribeIpUnBlockList(request *DescribeIpUnBlockListRequest) (response *DescribeIpUnBlockListResponse, err error)
DescribeIpUnBlockList This API is used to get the IP unblocking records.
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) DescribeL4HealthConfig ¶
func (c *Client) DescribeL4HealthConfig(request *DescribeL4HealthConfigRequest) (response *DescribeL4HealthConfigResponse, err error)
DescribeL4HealthConfig This API is used to export the layer-4 health check configuration.
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) DescribeL4RulesErrHealth ¶
func (c *Client) DescribeL4RulesErrHealth(request *DescribeL4RulesErrHealthRequest) (response *DescribeL4RulesErrHealthResponse, err error)
DescribeL4RulesErrHealth This API is used to get the exception result of a layer-4 forwarding rule health check.
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) DescribeL7HealthConfig ¶
func (c *Client) DescribeL7HealthConfig(request *DescribeL7HealthConfigRequest) (response *DescribeL7HealthConfigResponse, err error)
DescribeL7HealthConfig This API is used to export the layer-7 health check configuration.
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) DescribePackIndex ¶
func (c *Client) DescribePackIndex(request *DescribePackIndexRequest) (response *DescribePackIndexResponse, err error)
DescribePackIndex This API is used to get the product overview statistics. It is supported for Anti-DDoS Pro, Anti-DDoS Advanced, and Anti-DDoS Ultimate.
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) DescribePcap ¶
func (c *Client) DescribePcap(request *DescribePcapRequest) (response *DescribePcapResponse, err error)
DescribePcap This API is used to download the PCAP packet of an attack event.
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) DescribePolicyCase ¶
func (c *Client) DescribePolicyCase(request *DescribePolicyCaseRequest) (response *DescribePolicyCaseResponse, err error)
DescribePolicyCase This API is used to get the policy scenario.
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) DescribeResIpList ¶
func (c *Client) DescribeResIpList(request *DescribeResIpListRequest) (response *DescribeResIpListResponse, err error)
DescribeResIpList This API is used to get the IP list of a resource.
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) DescribeResourceList ¶
func (c *Client) DescribeResourceList(request *DescribeResourceListRequest) (response *DescribeResourceListResponse, err error)
DescribeResourceList This API is used to get the resource list.
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) DescribeRuleSets ¶
func (c *Client) DescribeRuleSets(request *DescribeRuleSetsRequest) (response *DescribeRuleSetsResponse, err error)
DescribeRuleSets This API is used to get the number of rules of a resource.
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) DescribeSchedulingDomainList ¶
func (c *Client) DescribeSchedulingDomainList(request *DescribeSchedulingDomainListRequest) (response *DescribeSchedulingDomainListResponse, err error)
DescribeSchedulingDomainList Get scheduling domain name list
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) DescribeSecIndex ¶
func (c *Client) DescribeSecIndex(request *DescribeSecIndexRequest) (response *DescribeSecIndexResponse, err error)
DescribeSecIndex This API is used to get the security statistics of the current month.
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) DescribeSourceIpSegment ¶
func (c *Client) DescribeSourceIpSegment(request *DescribeSourceIpSegmentRequest) (response *DescribeSourceIpSegmentResponse, err error)
DescribeSourceIpSegment This API is used to get the intermediate IP range. It is supported for Anti-DDoS Advanced and Anti-DDoS Ultimate.
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) DescribeTransmitStatis ¶
func (c *Client) DescribeTransmitStatis(request *DescribeTransmitStatisRequest) (response *DescribeTransmitStatisResponse, err error)
DescribeTransmitStatis This API is used to get the business forwarding statistics, including forwarded traffic and packet forwarding rate.
error code that may be returned:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeUnBlockStatis ¶
func (c *Client) DescribeUnBlockStatis(request *DescribeUnBlockStatisRequest) (response *DescribeUnBlockStatisResponse, err error)
DescribeUnBlockStatis This API is used to get the number of blackhole unblockings.
error code that may be returned:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribleL4Rules ¶
func (c *Client) DescribleL4Rules(request *DescribleL4RulesRequest) (response *DescribleL4RulesResponse, err error)
DescribleL4Rules This API is used to get a layer-4 forwarding rule.
error code that may be returned:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribleL7Rules ¶
func (c *Client) DescribleL7Rules(request *DescribleL7RulesRequest) (response *DescribleL7RulesResponse, err error)
DescribleL7Rules This API is used to get a layer-7 forwarding rule.
error code that may be returned:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribleRegionCount ¶
func (c *Client) DescribleRegionCount(request *DescribleRegionCountRequest) (response *DescribleRegionCountResponse, err error)
DescribleRegionCount This API is used to get the number of resource instances in a region.
error code that may be returned:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyCCAlarmThreshold ¶
func (c *Client) ModifyCCAlarmThreshold(request *ModifyCCAlarmThresholdRequest) (response *ModifyCCAlarmThresholdResponse, err error)
ModifyCCAlarmThreshold This API is used to set the alarm notification threshold for CC attacks in Anti-DDoS Pro, Anti-DDoS Advanced, Anti-DDoS Ultimate, and Chess Shield.
error code that may be returned:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyCCFrequencyRules ¶
func (c *Client) ModifyCCFrequencyRules(request *ModifyCCFrequencyRulesRequest) (response *ModifyCCFrequencyRulesResponse, err error)
ModifyCCFrequencyRules This API is used to modify an access frequency control rule for CC protection.
error code that may be returned:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyCCFrequencyRulesStatus ¶
func (c *Client) ModifyCCFrequencyRulesStatus(request *ModifyCCFrequencyRulesStatusRequest) (response *ModifyCCFrequencyRulesStatusResponse, err error)
ModifyCCFrequencyRulesStatus This API is used to enable or disable an access frequency control rule for CC protection.
error code that may be returned:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyCCHostProtection ¶
func (c *Client) ModifyCCHostProtection(request *ModifyCCHostProtectionRequest) (response *ModifyCCHostProtectionResponse, err error)
ModifyCCHostProtection This API is used to enable or disable CC domain name protection.
error code that may be returned:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyCCIpAllowDeny ¶
func (c *Client) ModifyCCIpAllowDeny(request *ModifyCCIpAllowDenyRequest) (response *ModifyCCIpAllowDenyResponse, err error)
ModifyCCIpAllowDeny This API is used to add/remove a CC IP to/from the blocklist/allowlist.
error code that may be returned:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyCCLevel ¶
func (c *Client) ModifyCCLevel(request *ModifyCCLevelRequest) (response *ModifyCCLevelResponse, err error)
ModifyCCLevel This API is used to modify CC protection level.
error code that may be returned:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyCCPolicySwitch ¶
func (c *Client) ModifyCCPolicySwitch(request *ModifyCCPolicySwitchRequest) (response *ModifyCCPolicySwitchResponse, err error)
ModifyCCPolicySwitch This API is used to enable or disable a custom CC policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyCCSelfDefinePolicy ¶
func (c *Client) ModifyCCSelfDefinePolicy(request *ModifyCCSelfDefinePolicyRequest) (response *ModifyCCSelfDefinePolicyResponse, err error)
ModifyCCSelfDefinePolicy This API is used to modify a custom CC policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyCCThreshold ¶
func (c *Client) ModifyCCThreshold(request *ModifyCCThresholdRequest) (response *ModifyCCThresholdResponse, err error)
ModifyCCThreshold This API is used to modify the CC protection threshold.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyCCUrlAllow ¶
func (c *Client) ModifyCCUrlAllow(request *ModifyCCUrlAllowRequest) (response *ModifyCCUrlAllowResponse, err error)
ModifyCCUrlAllow This API is used to add/remove a CC URL to/from the allowlist.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyDDoSAIStatus ¶
func (c *Client) ModifyDDoSAIStatus(request *ModifyDDoSAIStatusRequest) (response *ModifyDDoSAIStatusResponse, err error)
ModifyDDoSAIStatus This API is used to read or modify DDoS AI protection status.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyDDoSAlarmThreshold ¶
func (c *Client) ModifyDDoSAlarmThreshold(request *ModifyDDoSAlarmThresholdRequest) (response *ModifyDDoSAlarmThresholdResponse, err error)
ModifyDDoSAlarmThreshold This API is used to set the alarm notification threshold for DDoS attacks in Anti-DDoS Pro, Anti-DDoS Advanced, Anti-DDoS Ultimate, and Chess Shield.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyDDoSDefendStatus ¶
func (c *Client) ModifyDDoSDefendStatus(request *ModifyDDoSDefendStatusRequest) (response *ModifyDDoSDefendStatusResponse, err error)
ModifyDDoSDefendStatus This API is used to enable or disable DDoS. It can disable DDoS protection for a period of time, which will be automatically enabled after the period of time elapses.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyDDoSLevel ¶
func (c *Client) ModifyDDoSLevel(request *ModifyDDoSLevelRequest) (response *ModifyDDoSLevelResponse, err error)
ModifyDDoSLevel This API is used to read or modify DDoS protection level.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyDDoSPolicy ¶
func (c *Client) ModifyDDoSPolicy(request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, err error)
ModifyDDoSPolicy This API is used to modify an advanced DDoS policy.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyDDoSPolicyCase ¶
func (c *Client) ModifyDDoSPolicyCase(request *ModifyDDoSPolicyCaseRequest) (response *ModifyDDoSPolicyCaseResponse, err error)
ModifyDDoSPolicyCase This API is used to modify a policy scenario.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyDDoSPolicyName ¶
func (c *Client) ModifyDDoSPolicyName(request *ModifyDDoSPolicyNameRequest) (response *ModifyDDoSPolicyNameResponse, err error)
ModifyDDoSPolicyName This API is used to rename an advanced DDoS policy.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyDDoSSwitch ¶
func (c *Client) ModifyDDoSSwitch(request *ModifyDDoSSwitchRequest) (response *ModifyDDoSSwitchResponse, err error)
ModifyDDoSSwitch This API is used to enable or disable DDoS protection, which is only supported for Anti-DDoS Basic.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyDDoSThreshold ¶
func (c *Client) ModifyDDoSThreshold(request *ModifyDDoSThresholdRequest) (response *ModifyDDoSThresholdResponse, err error)
ModifyDDoSThreshold This API is used to modify the DDoS cleansing threshold.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyDDoSWaterKey ¶
func (c *Client) ModifyDDoSWaterKey(request *ModifyDDoSWaterKeyRequest) (response *ModifyDDoSWaterKeyResponse, err error)
ModifyDDoSWaterKey This API is used to add, delete, enable, or disable a watermark key.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyElasticLimit ¶
func (c *Client) ModifyElasticLimit(request *ModifyElasticLimitRequest) (response *ModifyElasticLimitResponse, err error)
ModifyElasticLimit This API is used to modify the elastic protection threshold.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyL4Health ¶
func (c *Client) ModifyL4Health(request *ModifyL4HealthRequest) (response *ModifyL4HealthResponse, err error)
ModifyL4Health This API is used to modify the health check parameters of a layer-4 forwarding rule. It is supported for Anti-DDoS Advanced and Anti-DDoS Ultimate.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyL4KeepTime ¶
func (c *Client) ModifyL4KeepTime(request *ModifyL4KeepTimeRequest) (response *ModifyL4KeepTimeResponse, err error)
ModifyL4KeepTime This API is used to modify the session persistence of a layer-4 forwarding rule. It is supported for Anti-DDoS Advanced and Anti-DDoS Ultimate.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyL4Rules ¶
func (c *Client) ModifyL4Rules(request *ModifyL4RulesRequest) (response *ModifyL4RulesResponse, err error)
ModifyL4Rules This API is used to modify a layer-4 forwarding rule.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyL7Rules ¶
func (c *Client) ModifyL7Rules(request *ModifyL7RulesRequest) (response *ModifyL7RulesResponse, err error)
ModifyL7Rules This API is used to modify the layer-7 forwarding rules.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyNetReturnSwitch ¶
func (c *Client) ModifyNetReturnSwitch(request *ModifyNetReturnSwitchRequest) (response *ModifyNetReturnSwitchResponse, err error)
ModifyNetReturnSwitch This API is used to switch a client to the real server and set the switch duration when the client is under attack or blocked.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyNewDomainRules ¶
func (c *Client) ModifyNewDomainRules(request *ModifyNewDomainRulesRequest) (response *ModifyNewDomainRulesResponse, err error)
ModifyNewDomainRules This API is used to modify layer-7 forwarding rules.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) ModifyNewL4Rule ¶
func (c *Client) ModifyNewL4Rule(request *ModifyNewL4RuleRequest) (response *ModifyNewL4RuleResponse, err error)
ModifyNewL4Rule This API is used to modify layer-4 forwarding rules.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) ModifyResBindDDoSPolicy ¶
func (c *Client) ModifyResBindDDoSPolicy(request *ModifyResBindDDoSPolicyRequest) (response *ModifyResBindDDoSPolicyResponse, err error)
ModifyResBindDDoSPolicy This API is used to bind an advanced DDoS policy to an instance.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) ModifyResourceRenewFlag ¶
func (c *Client) ModifyResourceRenewFlag(request *ModifyResourceRenewFlagRequest) (response *ModifyResourceRenewFlagResponse, err error)
ModifyResourceRenewFlag This API is used to enable or disable auto-renewal for a resource.
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"
type CreateBasicDDoSAlarmThresholdRequest ¶
type CreateBasicDDoSAlarmThresholdRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`basic`: Anti-DDoS Basic) Business *string `json:"Business,omitempty" name:"Business"` // `get`: read alarm threshold, `set`: set alarm threshold Method *string `json:"Method,omitempty" name:"Method"` // Alarm threshold type. 1: inbound traffic, 2: cleansed traffic. This field is required if `Method` is `set`; AlarmType *uint64 `json:"AlarmType,omitempty" name:"AlarmType"` // Alarm threshold. It is required if `Method` is `set`. If it is set to 0, it means to clear the alarm threshold configuration; AlarmThreshold *uint64 `json:"AlarmThreshold,omitempty" name:"AlarmThreshold"` }
func NewCreateBasicDDoSAlarmThresholdRequest ¶
func NewCreateBasicDDoSAlarmThresholdRequest() (request *CreateBasicDDoSAlarmThresholdRequest)
func (*CreateBasicDDoSAlarmThresholdRequest) FromJsonString ¶
func (r *CreateBasicDDoSAlarmThresholdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBasicDDoSAlarmThresholdRequest) ToJsonString ¶
func (r *CreateBasicDDoSAlarmThresholdRequest) ToJsonString() string
type CreateBasicDDoSAlarmThresholdResponse ¶
type CreateBasicDDoSAlarmThresholdResponse struct { *tchttp.BaseResponse Response *struct { // If there is an alarm threshold configuration, the returned alarm threshold will be greater than 0; otherwise, the returned alarm threshold will be 0; AlarmThreshold *uint64 `json:"AlarmThreshold,omitempty" name:"AlarmThreshold"` // Alarm threshold type. 1: inbound traffic, 2: cleansed traffic. This field is valid if `AlarmThreshold` is above 0; AlarmType *uint64 `json:"AlarmType,omitempty" name:"AlarmType"` // 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 NewCreateBasicDDoSAlarmThresholdResponse ¶
func NewCreateBasicDDoSAlarmThresholdResponse() (response *CreateBasicDDoSAlarmThresholdResponse)
func (*CreateBasicDDoSAlarmThresholdResponse) FromJsonString ¶
func (r *CreateBasicDDoSAlarmThresholdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBasicDDoSAlarmThresholdResponse) ToJsonString ¶
func (r *CreateBasicDDoSAlarmThresholdResponse) 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 be bound to the Anti-DDoS instance. For Anti-DDoS Pro Single IP instance, this array can contain only one IP. If there are no IPs to bind, it can be empty; however, either `BoundDevList` or `UnBoundDevList` must not be empty; BoundDevList []*BoundIpInfo `json:"BoundDevList,omitempty" name:"BoundDevList"` // Array of IPs to be unbound from Anti-DDoS instance. For Anti-DDoS Pro Single IP instance, this array can contain only one IP; if there are no IPs to unbind, it can be 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 CreateCCFrequencyRulesRequest ¶
type CreateCCFrequencyRulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Layer-7 forwarding rule ID, which can be obtained through the `DescribleL7Rules` API RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Matching rule. Valid values: ["include" (prefix match), "equal" (exact match)] Mode *string `json:"Mode,omitempty" name:"Mode"` // Reference period in seconds. Valid values: [10, 30, 60] Period *uint64 `json:"Period,omitempty" name:"Period"` // Number of access requests. Value range: [1-10000] ReqNumber *uint64 `json:"ReqNumber,omitempty" name:"ReqNumber"` // Action take. Valid values: ["alg" (CAPTCHA), "drop" (blocking)] Act *string `json:"Act,omitempty" name:"Act"` // Execution duration in seconds. Valid range: [1-900] ExeDuration *uint64 `json:"ExeDuration,omitempty" name:"ExeDuration"` // URI string, which must start with `/`, such as `/abc/a.php`. Length limit: 31. If URI is `/`, only prefix match can be selected as the matching mode; Uri *string `json:"Uri,omitempty" name:"Uri"` // `User-Agent` string. Length limit: 80 UserAgent *string `json:"UserAgent,omitempty" name:"UserAgent"` // Cookie string. Length limit: 40 Cookie *string `json:"Cookie,omitempty" name:"Cookie"` }
func NewCreateCCFrequencyRulesRequest ¶
func NewCreateCCFrequencyRulesRequest() (request *CreateCCFrequencyRulesRequest)
func (*CreateCCFrequencyRulesRequest) FromJsonString ¶
func (r *CreateCCFrequencyRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCCFrequencyRulesRequest) ToJsonString ¶
func (r *CreateCCFrequencyRulesRequest) ToJsonString() string
type CreateCCFrequencyRulesResponse ¶
type CreateCCFrequencyRulesResponse struct { *tchttp.BaseResponse Response *struct { // Access frequency control rule ID for CC protection CCFrequencyRuleId *string `json:"CCFrequencyRuleId,omitempty" name:"CCFrequencyRuleId"` // 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 NewCreateCCFrequencyRulesResponse ¶
func NewCreateCCFrequencyRulesResponse() (response *CreateCCFrequencyRulesResponse)
func (*CreateCCFrequencyRulesResponse) FromJsonString ¶
func (r *CreateCCFrequencyRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCCFrequencyRulesResponse) ToJsonString ¶
func (r *CreateCCFrequencyRulesResponse) ToJsonString() string
type CreateCCSelfDefinePolicyRequest ¶
type CreateCCSelfDefinePolicyRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Details of the CC protection policy Policy *CCPolicy `json:"Policy,omitempty" name:"Policy"` }
func NewCreateCCSelfDefinePolicyRequest ¶
func NewCreateCCSelfDefinePolicyRequest() (request *CreateCCSelfDefinePolicyRequest)
func (*CreateCCSelfDefinePolicyRequest) FromJsonString ¶
func (r *CreateCCSelfDefinePolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCCSelfDefinePolicyRequest) ToJsonString ¶
func (r *CreateCCSelfDefinePolicyRequest) ToJsonString() string
type CreateCCSelfDefinePolicyResponse ¶
type CreateCCSelfDefinePolicyResponse 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 NewCreateCCSelfDefinePolicyResponse ¶
func NewCreateCCSelfDefinePolicyResponse() (response *CreateCCSelfDefinePolicyResponse)
func (*CreateCCSelfDefinePolicyResponse) FromJsonString ¶
func (r *CreateCCSelfDefinePolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCCSelfDefinePolicyResponse) ToJsonString ¶
func (r *CreateCCSelfDefinePolicyResponse) ToJsonString() string
type CreateDDoSPolicyCaseRequest ¶
type CreateDDoSPolicyCaseRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Policy scenario name string. Length limit: 64 CaseName *string `json:"CaseName,omitempty" name:"CaseName"` // Development platform. Valid values: [PC (PC client), MOBILE (mobile device), TV (TV), SERVER (server)] PlatformTypes []*string `json:"PlatformTypes,omitempty" name:"PlatformTypes"` // Category. Valid values: [WEB (website), GAME (game), APP (application), OTHER (other)] AppType *string `json:"AppType,omitempty" name:"AppType"` // Application protocol. Valid values: [tcp (TCP protocol), udp (UDP protocol), icmp (ICMP protocol), all (other protocols)] AppProtocols []*string `json:"AppProtocols,omitempty" name:"AppProtocols"` // TCP start port. Value range: (0, 65535] TcpSportStart *string `json:"TcpSportStart,omitempty" name:"TcpSportStart"` // TCP end port. Value range: (0, 65535). It must be greater than or equal to the TCP start port. TcpSportEnd *string `json:"TcpSportEnd,omitempty" name:"TcpSportEnd"` // UDP start port. Value range: (0, 65535] UdpSportStart *string `json:"UdpSportStart,omitempty" name:"UdpSportStart"` // UDP end port. Value range: (0, 65535). It must be greater than or equal to the UDP start port. UdpSportEnd *string `json:"UdpSportEnd,omitempty" name:"UdpSportEnd"` // Whether there are customers outside China. Valid values: [no, yes] HasAbroad *string `json:"HasAbroad,omitempty" name:"HasAbroad"` // Whether to actively initiate outbound TCP requests. Valid values: [no, yes] HasInitiateTcp *string `json:"HasInitiateTcp,omitempty" name:"HasInitiateTcp"` // Whether to actively initiate outbound UDP requests. Valid values: [no, yes] HasInitiateUdp *string `json:"HasInitiateUdp,omitempty" name:"HasInitiateUdp"` // Port that actively initiates TCP requests. Value range: (0, 65535] PeerTcpPort *string `json:"PeerTcpPort,omitempty" name:"PeerTcpPort"` // Port that actively initiates UDP requests. Value range: (0, 65535] PeerUdpPort *string `json:"PeerUdpPort,omitempty" name:"PeerUdpPort"` // Fixed feature code of TCP payload. Max string length: 512 TcpFootprint *string `json:"TcpFootprint,omitempty" name:"TcpFootprint"` // Fixed feature code of UDP payload. Max string length: 512 UdpFootprint *string `json:"UdpFootprint,omitempty" name:"UdpFootprint"` // Web application API URL WebApiUrl []*string `json:"WebApiUrl,omitempty" name:"WebApiUrl"` // Minimum length of TCP packet. Value range: (0, 1500) MinTcpPackageLen *string `json:"MinTcpPackageLen,omitempty" name:"MinTcpPackageLen"` // Maximum length of TCP packet. Value range: (0, 1500). It must be greater than or equal to the minimum length of TCP packet MaxTcpPackageLen *string `json:"MaxTcpPackageLen,omitempty" name:"MaxTcpPackageLen"` // Minimum length of UDP packet. Value range: (0, 1500) MinUdpPackageLen *string `json:"MinUdpPackageLen,omitempty" name:"MinUdpPackageLen"` // Maximum length of UDP packet. Value range: (0, 1500). It must be greater than or equal to the minimum length of UDP packet MaxUdpPackageLen *string `json:"MaxUdpPackageLen,omitempty" name:"MaxUdpPackageLen"` // Whether there are applications using VPN. Valid values: [no, yes] HasVPN *string `json:"HasVPN,omitempty" name:"HasVPN"` // TCP port list. You can enter a single port, or a port range. Format: 80,443,700-800,53,1000-3000. TcpPortList *string `json:"TcpPortList,omitempty" name:"TcpPortList"` // UDP port list. You can enter a single port, or a port range. Format: 80,443,700-800,53,1000-3000. UdpPortList *string `json:"UdpPortList,omitempty" name:"UdpPortList"` }
func NewCreateDDoSPolicyCaseRequest ¶
func NewCreateDDoSPolicyCaseRequest() (request *CreateDDoSPolicyCaseRequest)
func (*CreateDDoSPolicyCaseRequest) FromJsonString ¶
func (r *CreateDDoSPolicyCaseRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDDoSPolicyCaseRequest) ToJsonString ¶
func (r *CreateDDoSPolicyCaseRequest) ToJsonString() string
type CreateDDoSPolicyCaseResponse ¶
type CreateDDoSPolicyCaseResponse struct { *tchttp.BaseResponse Response *struct { // Policy scenario ID SceneId *string `json:"SceneId,omitempty" name:"SceneId"` // 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 NewCreateDDoSPolicyCaseResponse ¶
func NewCreateDDoSPolicyCaseResponse() (response *CreateDDoSPolicyCaseResponse)
func (*CreateDDoSPolicyCaseResponse) FromJsonString ¶
func (r *CreateDDoSPolicyCaseResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDDoSPolicyCaseResponse) ToJsonString ¶
func (r *CreateDDoSPolicyCaseResponse) ToJsonString() string
type CreateDDoSPolicyRequest ¶
type CreateDDoSPolicyRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Protocol disablement, which must be entered, and the array length must be 1 DropOptions []*DDoSPolicyDropOption `json:"DropOptions,omitempty" name:"DropOptions"` // Policy name Name *string `json:"Name,omitempty" name:"Name"` // Ports to be closed. If no ports are to be closed, enter an empty array PortLimits []*DDoSPolicyPortLimit `json:"PortLimits,omitempty" name:"PortLimits"` // Request source IP blocklist/allowlist, which should be an empty array if there are no blocked or allowed IPs. IpAllowDenys []*IpBlackWhite `json:"IpAllowDenys,omitempty" name:"IpAllowDenys"` // Packet filter. Enter an empty array if there are no packets to filter PacketFilters []*DDoSPolicyPacketFilter `json:"PacketFilters,omitempty" name:"PacketFilters"` // Watermarking policy parameters. Enter an empty array if the watermarking feature is not enabled. Only one watermarking policy can be passed in (that is, the size of the array cannot exceed 1) WaterPrint []*WaterPrintPolicy `json:"WaterPrint,omitempty" name:"WaterPrint"` }
func NewCreateDDoSPolicyRequest ¶
func NewCreateDDoSPolicyRequest() (request *CreateDDoSPolicyRequest)
func (*CreateDDoSPolicyRequest) FromJsonString ¶
func (r *CreateDDoSPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDDoSPolicyRequest) ToJsonString ¶
func (r *CreateDDoSPolicyRequest) ToJsonString() string
type CreateDDoSPolicyResponse ¶
type CreateDDoSPolicyResponse struct { *tchttp.BaseResponse Response *struct { // Policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // 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 NewCreateDDoSPolicyResponse ¶
func NewCreateDDoSPolicyResponse() (response *CreateDDoSPolicyResponse)
func (*CreateDDoSPolicyResponse) FromJsonString ¶
func (r *CreateDDoSPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDDoSPolicyResponse) ToJsonString ¶
func (r *CreateDDoSPolicyResponse) ToJsonString() string
type CreateInstanceNameRequest ¶
type CreateInstanceNameRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Instance name. Length limit: 32 characters Name *string `json:"Name,omitempty" name:"Name"` }
func NewCreateInstanceNameRequest ¶
func NewCreateInstanceNameRequest() (request *CreateInstanceNameRequest)
func (*CreateInstanceNameRequest) FromJsonString ¶
func (r *CreateInstanceNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstanceNameRequest) ToJsonString ¶
func (r *CreateInstanceNameRequest) ToJsonString() string
type CreateInstanceNameResponse ¶
type CreateInstanceNameResponse 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 NewCreateInstanceNameResponse ¶
func NewCreateInstanceNameResponse() (response *CreateInstanceNameResponse)
func (*CreateInstanceNameResponse) FromJsonString ¶
func (r *CreateInstanceNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstanceNameResponse) ToJsonString ¶
func (r *CreateInstanceNameResponse) ToJsonString() string
type CreateL4HealthConfigRequest ¶
type CreateL4HealthConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Layer-4 health check configuration array HealthConfig []*L4HealthConfig `json:"HealthConfig,omitempty" name:"HealthConfig"` }
func NewCreateL4HealthConfigRequest ¶
func NewCreateL4HealthConfigRequest() (request *CreateL4HealthConfigRequest)
func (*CreateL4HealthConfigRequest) FromJsonString ¶
func (r *CreateL4HealthConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL4HealthConfigRequest) ToJsonString ¶
func (r *CreateL4HealthConfigRequest) ToJsonString() string
type CreateL4HealthConfigResponse ¶
type CreateL4HealthConfigResponse 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 NewCreateL4HealthConfigResponse ¶
func NewCreateL4HealthConfigResponse() (response *CreateL4HealthConfigResponse)
func (*CreateL4HealthConfigResponse) FromJsonString ¶
func (r *CreateL4HealthConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL4HealthConfigResponse) ToJsonString ¶
func (r *CreateL4HealthConfigResponse) ToJsonString() string
type CreateL4RulesRequest ¶
type CreateL4RulesRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Rule list Rules []*L4RuleEntry `json:"Rules,omitempty" name:"Rules"` }
func NewCreateL4RulesRequest ¶
func NewCreateL4RulesRequest() (request *CreateL4RulesRequest)
func (*CreateL4RulesRequest) FromJsonString ¶
func (r *CreateL4RulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL4RulesRequest) ToJsonString ¶
func (r *CreateL4RulesRequest) ToJsonString() string
type CreateL4RulesResponse ¶
type CreateL4RulesResponse 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 NewCreateL4RulesResponse ¶
func NewCreateL4RulesResponse() (response *CreateL4RulesResponse)
func (*CreateL4RulesResponse) FromJsonString ¶
func (r *CreateL4RulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL4RulesResponse) ToJsonString ¶
func (r *CreateL4RulesResponse) ToJsonString() string
type CreateL7CCRuleRequest ¶
type CreateL7CCRuleRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Operation. Valid values: [query (query), add (add), del (delete)] Method *string `json:"Method,omitempty" name:"Method"` // Layer-7 forwarding rule ID, such as rule-0000001 RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Custom layer-7 CC protection rule. If the `Method` is `query`, this field can be left empty; if the `Method` is `add` or `del`, it is required, and the array length can only be 1; RuleConfig []*CCRuleConfig `json:"RuleConfig,omitempty" name:"RuleConfig"` }
func NewCreateL7CCRuleRequest ¶
func NewCreateL7CCRuleRequest() (request *CreateL7CCRuleRequest)
func (*CreateL7CCRuleRequest) FromJsonString ¶
func (r *CreateL7CCRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL7CCRuleRequest) ToJsonString ¶
func (r *CreateL7CCRuleRequest) ToJsonString() string
type CreateL7CCRuleResponse ¶
type CreateL7CCRuleResponse struct { *tchttp.BaseResponse Response *struct { // Custom layer-7 CC protection rule parameters. If custom CC protection rule is not enabled, an empty array will be returned. RuleConfig []*CCRuleConfig `json:"RuleConfig,omitempty" name:"RuleConfig"` // 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 NewCreateL7CCRuleResponse ¶
func NewCreateL7CCRuleResponse() (response *CreateL7CCRuleResponse)
func (*CreateL7CCRuleResponse) FromJsonString ¶
func (r *CreateL7CCRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL7CCRuleResponse) ToJsonString ¶
func (r *CreateL7CCRuleResponse) ToJsonString() string
type CreateL7HealthConfigRequest ¶
type CreateL7HealthConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Layer-7 health check configuration array HealthConfig []*L7HealthConfig `json:"HealthConfig,omitempty" name:"HealthConfig"` }
func NewCreateL7HealthConfigRequest ¶
func NewCreateL7HealthConfigRequest() (request *CreateL7HealthConfigRequest)
func (*CreateL7HealthConfigRequest) FromJsonString ¶
func (r *CreateL7HealthConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL7HealthConfigRequest) ToJsonString ¶
func (r *CreateL7HealthConfigRequest) ToJsonString() string
type CreateL7HealthConfigResponse ¶
type CreateL7HealthConfigResponse 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 NewCreateL7HealthConfigResponse ¶
func NewCreateL7HealthConfigResponse() (response *CreateL7HealthConfigResponse)
func (*CreateL7HealthConfigResponse) FromJsonString ¶
func (r *CreateL7HealthConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL7HealthConfigResponse) ToJsonString ¶
func (r *CreateL7HealthConfigResponse) ToJsonString() string
type CreateL7RuleCertRequest ¶
type CreateL7RuleCertRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // The resource instance ID, such as the ID of an Anti-DDoS Advanced instance or the ID of an Anti-DDoS Ultimate instance. Id *string `json:"Id,omitempty" name:"Id"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Certificate type, which is required if the protocol is HTTPS. Valid value: [2 (Tencent Cloud-hosted certificate)] CertType *uint64 `json:"CertType,omitempty" name:"CertType"` // If the certificate is a Tencent Cloud-hosted certificate, this field must be entered with the hosted certificate ID. SSLId *string `json:"SSLId,omitempty" name:"SSLId"` // [Disused] If the certificate is an external certificate, this field must be entered with the certificate content. Cert *string `json:"Cert,omitempty" name:"Cert"` // [Disused] If the certificate is an external certificate, this field must be entered with the certificate key. PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"` }
func NewCreateL7RuleCertRequest ¶
func NewCreateL7RuleCertRequest() (request *CreateL7RuleCertRequest)
func (*CreateL7RuleCertRequest) FromJsonString ¶
func (r *CreateL7RuleCertRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL7RuleCertRequest) ToJsonString ¶
func (r *CreateL7RuleCertRequest) ToJsonString() string
type CreateL7RuleCertResponse ¶
type CreateL7RuleCertResponse 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 NewCreateL7RuleCertResponse ¶
func NewCreateL7RuleCertResponse() (response *CreateL7RuleCertResponse)
func (*CreateL7RuleCertResponse) FromJsonString ¶
func (r *CreateL7RuleCertResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL7RuleCertResponse) ToJsonString ¶
func (r *CreateL7RuleCertResponse) ToJsonString() string
type CreateL7RulesRequest ¶
type CreateL7RulesRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Rule list Rules []*L7RuleEntry `json:"Rules,omitempty" name:"Rules"` }
func NewCreateL7RulesRequest ¶
func NewCreateL7RulesRequest() (request *CreateL7RulesRequest)
func (*CreateL7RulesRequest) FromJsonString ¶
func (r *CreateL7RulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL7RulesRequest) ToJsonString ¶
func (r *CreateL7RulesRequest) ToJsonString() string
type CreateL7RulesResponse ¶
type CreateL7RulesResponse 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 NewCreateL7RulesResponse ¶
func NewCreateL7RulesResponse() (response *CreateL7RulesResponse)
func (*CreateL7RulesResponse) FromJsonString ¶
func (r *CreateL7RulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL7RulesResponse) ToJsonString ¶
func (r *CreateL7RulesResponse) ToJsonString() string
type CreateL7RulesUploadRequest ¶
type CreateL7RulesUploadRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Rule list Rules []*L7RuleEntry `json:"Rules,omitempty" name:"Rules"` }
func NewCreateL7RulesUploadRequest ¶
func NewCreateL7RulesUploadRequest() (request *CreateL7RulesUploadRequest)
func (*CreateL7RulesUploadRequest) FromJsonString ¶
func (r *CreateL7RulesUploadRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL7RulesUploadRequest) ToJsonString ¶
func (r *CreateL7RulesUploadRequest) ToJsonString() string
type CreateL7RulesUploadResponse ¶
type CreateL7RulesUploadResponse 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 NewCreateL7RulesUploadResponse ¶
func NewCreateL7RulesUploadResponse() (response *CreateL7RulesUploadResponse)
func (*CreateL7RulesUploadResponse) FromJsonString ¶
func (r *CreateL7RulesUploadResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL7RulesUploadResponse) ToJsonString ¶
func (r *CreateL7RulesUploadResponse) ToJsonString() string
type CreateNetReturnRequest ¶
type CreateNetReturnRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` }
func NewCreateNetReturnRequest ¶
func NewCreateNetReturnRequest() (request *CreateNetReturnRequest)
func (*CreateNetReturnRequest) FromJsonString ¶
func (r *CreateNetReturnRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateNetReturnRequest) ToJsonString ¶
func (r *CreateNetReturnRequest) ToJsonString() string
type CreateNetReturnResponse ¶
type CreateNetReturnResponse 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 NewCreateNetReturnResponse ¶
func NewCreateNetReturnResponse() (response *CreateNetReturnResponse)
func (*CreateNetReturnResponse) FromJsonString ¶
func (r *CreateNetReturnResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateNetReturnResponse) ToJsonString ¶
func (r *CreateNetReturnResponse) ToJsonString() string
type CreateNewL7RulesUploadRequest ¶
type CreateNewL7RulesUploadRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced). Business *string `json:"Business,omitempty" name:"Business"` // Resource ID list. IdList []*string `json:"IdList,omitempty" name:"IdList"` // Resource IP address list. VipList []*string `json:"VipList,omitempty" name:"VipList"` // Rule list. Rules []*L7RuleEntry `json:"Rules,omitempty" name:"Rules"` }
func NewCreateNewL7RulesUploadRequest ¶
func NewCreateNewL7RulesUploadRequest() (request *CreateNewL7RulesUploadRequest)
func (*CreateNewL7RulesUploadRequest) FromJsonString ¶
func (r *CreateNewL7RulesUploadRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateNewL7RulesUploadRequest) ToJsonString ¶
func (r *CreateNewL7RulesUploadRequest) ToJsonString() string
type CreateNewL7RulesUploadResponse ¶
type CreateNewL7RulesUploadResponse 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 NewCreateNewL7RulesUploadResponse ¶
func NewCreateNewL7RulesUploadResponse() (response *CreateNewL7RulesUploadResponse)
func (*CreateNewL7RulesUploadResponse) FromJsonString ¶
func (r *CreateNewL7RulesUploadResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateNewL7RulesUploadResponse) ToJsonString ¶
func (r *CreateNewL7RulesUploadResponse) ToJsonString() string
type CreateUnblockIpRequest ¶
type CreateUnblockIpRequest struct { *tchttp.BaseRequest // IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Type of the unblocking action (`user`: self-service unblocking, `auto`: automatic unblocking, `update`: unblocking by service upgrading, `bind`: unblocking by binding Anti-DDoS Pro instance) ActionType *string `json:"ActionType,omitempty" name:"ActionType"` }
func NewCreateUnblockIpRequest ¶
func NewCreateUnblockIpRequest() (request *CreateUnblockIpRequest)
func (*CreateUnblockIpRequest) FromJsonString ¶
func (r *CreateUnblockIpRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUnblockIpRequest) ToJsonString ¶
func (r *CreateUnblockIpRequest) ToJsonString() string
type CreateUnblockIpResponse ¶
type CreateUnblockIpResponse struct { *tchttp.BaseResponse Response *struct { // IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Type of the unblocking action (`user`: self-service unblocking, `auto`: automatic unblocking, `update`: unblocking by service upgrading, `bind`: unblocking by binding Anti-DDoS Pro instance) ActionType *string `json:"ActionType,omitempty" name:"ActionType"` // Unblocked time (estimated) UnblockTime *string `json:"UnblockTime,omitempty" name:"UnblockTime"` // 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 NewCreateUnblockIpResponse ¶
func NewCreateUnblockIpResponse() (response *CreateUnblockIpResponse)
func (*CreateUnblockIpResponse) FromJsonString ¶
func (r *CreateUnblockIpResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUnblockIpResponse) ToJsonString ¶
func (r *CreateUnblockIpResponse) ToJsonString() string
type DDoSAlarmThreshold ¶
type DDoSAlarmThreshold struct { // Alarm threshold type. 1: inbound traffic, 2: cleansed traffic AlarmType *uint64 `json:"AlarmType,omitempty" name:"AlarmType"` // Alarm threshold, which should be greater than 0 (currently scheduled value) AlarmThreshold *uint64 `json:"AlarmThreshold,omitempty" name:"AlarmThreshold"` }
type DDoSAttackSourceRecord ¶
type DDoSAttackSourceRecord struct { // Attack source IP SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"` // Province (valid for Mainland China) Province *string `json:"Province,omitempty" name:"Province"` // Country/region Nation *string `json:"Nation,omitempty" name:"Nation"` // Total number of attack packets PacketSum *uint64 `json:"PacketSum,omitempty" name:"PacketSum"` // Total attack traffic PacketLen *uint64 `json:"PacketLen,omitempty" name:"PacketLen"` }
type DDoSEventRecord ¶
type DDoSEventRecord struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Resource IP Vip *string `json:"Vip,omitempty" name:"Vip"` // Attack start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Maximum attack bandwidth Mbps *uint64 `json:"Mbps,omitempty" name:"Mbps"` // Maximum attack packet rate Pps *uint64 `json:"Pps,omitempty" name:"Pps"` // Attack type AttackType *string `json:"AttackType,omitempty" name:"AttackType"` // Whether the IP is blocked. Valid values: [1 (yes), 0 (no), 2 (invalid value)] BlockFlag *uint64 `json:"BlockFlag,omitempty" name:"BlockFlag"` // Whether the elastic protection bandwidth is exceeded. Valid values: [yes (yes), no (no), empty string (unknown value)] OverLoad *string `json:"OverLoad,omitempty" name:"OverLoad"` // Attack status. Valid values: [0 (ongoing), 1 (ended)] AttackStatus *uint64 `json:"AttackStatus,omitempty" name:"AttackStatus"` // Resource name // Note: this field may return null, indicating that no valid values can be obtained. ResourceName *string `json:"ResourceName,omitempty" name:"ResourceName"` // Attack event ID // Note: this field may return null, indicating that no valid values can be obtained. EventId *string `json:"EventId,omitempty" name:"EventId"` }
type DDoSPolicyDropOption ¶
type DDoSPolicyDropOption struct { // Blocks all TCP traffic. Valid values: [0,1] DropTcp *uint64 `json:"DropTcp,omitempty" name:"DropTcp"` // Blocks all UDP traffic. Valid values: [0,1] DropUdp *uint64 `json:"DropUdp,omitempty" name:"DropUdp"` // Blocks all ICMP traffic. Valid values: [0,1] DropIcmp *uint64 `json:"DropIcmp,omitempty" name:"DropIcmp"` // Blocks traffic of other protocols. Valid values: [0,1] DropOther *uint64 `json:"DropOther,omitempty" name:"DropOther"` // Rejects traffic from outside Mainland China. Valid values: [0,1] DropAbroad *uint64 `json:"DropAbroad,omitempty" name:"DropAbroad"` // Null session protection. Valid values: [0,1] CheckSyncConn *uint64 `json:"CheckSyncConn,omitempty" name:"CheckSyncConn"` // New connection suppression based on source IP and destination IP. Value range: [0,4294967295] SdNewLimit *uint64 `json:"SdNewLimit,omitempty" name:"SdNewLimit"` // New connection suppression based on destination IP. Value range: [0,4294967295] DstNewLimit *uint64 `json:"DstNewLimit,omitempty" name:"DstNewLimit"` // Concurrent connection suppression based on source IP and destination IP. Value range: [0,4294967295] SdConnLimit *uint64 `json:"SdConnLimit,omitempty" name:"SdConnLimit"` // Concurrent connection suppression based on destination IP. Value range: [0,4294967295] DstConnLimit *uint64 `json:"DstConnLimit,omitempty" name:"DstConnLimit"` // Threshold for triggering connection suppression. Value range: [0,4294967295] BadConnThreshold *uint64 `json:"BadConnThreshold,omitempty" name:"BadConnThreshold"` // Exceptional connection detection condition: null session protection status. Valid values: [0,1] NullConnEnable *uint64 `json:"NullConnEnable,omitempty" name:"NullConnEnable"` // Exceptional connection detection condition: connection timeout. Valid values: [0,65535] ConnTimeout *uint64 `json:"ConnTimeout,omitempty" name:"ConnTimeout"` // Exceptional connection detection condition: percentage of SYN out of ACK. Valid values: [0,100] SynRate *uint64 `json:"SynRate,omitempty" name:"SynRate"` // Exceptional connection detection condition: SYN threshold. Valid values: [0,100] SynLimit *uint64 `json:"SynLimit,omitempty" name:"SynLimit"` // TCP speed limit. Value range: [0,4294967295] DTcpMbpsLimit *uint64 `json:"DTcpMbpsLimit,omitempty" name:"DTcpMbpsLimit"` // UDP speed limit. Value range: [0,4294967295] DUdpMbpsLimit *uint64 `json:"DUdpMbpsLimit,omitempty" name:"DUdpMbpsLimit"` // ICMP speed limit. Value range: [0,4294967295] DIcmpMbpsLimit *uint64 `json:"DIcmpMbpsLimit,omitempty" name:"DIcmpMbpsLimit"` // Other protocol speed limit. Value range: [0,4294967295] DOtherMbpsLimit *uint64 `json:"DOtherMbpsLimit,omitempty" name:"DOtherMbpsLimit"` }
type DDoSPolicyPacketFilter ¶
type DDoSPolicyPacketFilter struct { // Protocol. Valid values: [tcp, udp, icmp, all] Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Start source port. Value range: [0,65535] SportStart *uint64 `json:"SportStart,omitempty" name:"SportStart"` // End source port. Value range: [0,65535] SportEnd *uint64 `json:"SportEnd,omitempty" name:"SportEnd"` // Start destination port. Value range: [0,65535] DportStart *uint64 `json:"DportStart,omitempty" name:"DportStart"` // End destination port. Value range: [0,65535] DportEnd *uint64 `json:"DportEnd,omitempty" name:"DportEnd"` // Minimum packet length. Value range: [0,1500] PktlenMin *uint64 `json:"PktlenMin,omitempty" name:"PktlenMin"` // Maximum packet length. Value range: [0,1500] PktlenMax *uint64 `json:"PktlenMax,omitempty" name:"PktlenMax"` // Whether to detect the payload. Valid values: [ // begin_l3 (IP header) // begin_l4 (TCP header) // begin_l5 (payload) // no_match (no check) // ] MatchBegin *string `json:"MatchBegin,omitempty" name:"MatchBegin"` // Whether it is a regular expression. Valid values: [sunday (keyword), pcre (regular expression)] MatchType *string `json:"MatchType,omitempty" name:"MatchType"` // Keyword or regular expression Str *string `json:"Str,omitempty" name:"Str"` // Detection depth. Value range: [0,1500] Depth *uint64 `json:"Depth,omitempty" name:"Depth"` // Detection offset. Value range: [0,1500] Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Whether to include. Valid values: [0 (no), 1 (yes)] IsNot *uint64 `json:"IsNot,omitempty" name:"IsNot"` // Policy action. Valid values: [drop, drop_black, drop_rst, drop_black_rst, transmit] Action *string `json:"Action,omitempty" name:"Action"` }
type DDoSPolicyPortLimit ¶
type DDoSPolicyPortLimit struct { // Protocol. Valid values: [tcp, udp, all] Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Start destination port. Value range: [0,65535] DPortStart *uint64 `json:"DPortStart,omitempty" name:"DPortStart"` // End destination port, which must be greater than or equal to the start destination port. Value range: [0,65535] DPortEnd *uint64 `json:"DPortEnd,omitempty" name:"DPortEnd"` // Start source port. Value range: [0,65535] // Note: this field may return null, indicating that no valid values can be obtained. SPortStart *uint64 `json:"SPortStart,omitempty" name:"SPortStart"` // End source port, which must be greater than or equal to the start source port. Value range: [0,65535] // Note: this field may return null, indicating that no valid values can be obtained. SPortEnd *uint64 `json:"SPortEnd,omitempty" name:"SPortEnd"` // Action to be executed. Valid values: [drop (discard) , transmit (forward)] // Note: this field may return null, indicating that no valid values can be obtained. Action *string `json:"Action,omitempty" name:"Action"` // Type of port to be disabled. Valid values: [0 (destination port range), 1 (source port range), 2 (destination port range and source port range)] // Note: this field may return null, indicating that no valid values can be obtained. Kind *uint64 `json:"Kind,omitempty" name:"Kind"` }
type DDosPolicy ¶
type DDosPolicy struct { // Resource bound to policy Resources []*ResourceIp `json:"Resources,omitempty" name:"Resources"` // Disabled protocol DropOptions *DDoSPolicyDropOption `json:"DropOptions,omitempty" name:"DropOptions"` // Disabled port PortLimits []*DDoSPolicyPortLimit `json:"PortLimits,omitempty" name:"PortLimits"` // Packet filter PacketFilters []*DDoSPolicyPacketFilter `json:"PacketFilters,omitempty" name:"PacketFilters"` // IP blocklist/allowlist IpBlackWhiteLists []*IpBlackWhite `json:"IpBlackWhiteLists,omitempty" name:"IpBlackWhiteLists"` // Policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Policy name PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // Policy creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Watermarking policy parameter. There can be only one policy. If there are no policies, the array is empty WaterPrint []*WaterPrintPolicy `json:"WaterPrint,omitempty" name:"WaterPrint"` // Watermark key. There can be up to two keys. If there are no policies, the array is empty WaterKey []*WaterPrintKey `json:"WaterKey,omitempty" name:"WaterKey"` // Resource instance bound to policy // Note: this field may return null, indicating that no valid values can be obtained. BoundResources []*string `json:"BoundResources,omitempty" name:"BoundResources"` // Policy scenario // Note: this field may return null, indicating that no valid values can be obtained. SceneId *string `json:"SceneId,omitempty" name:"SceneId"` }
type DeleteCCFrequencyRulesRequest ¶
type DeleteCCFrequencyRulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Access frequency control rule ID for CC protection CCFrequencyRuleId *string `json:"CCFrequencyRuleId,omitempty" name:"CCFrequencyRuleId"` }
func NewDeleteCCFrequencyRulesRequest ¶
func NewDeleteCCFrequencyRulesRequest() (request *DeleteCCFrequencyRulesRequest)
func (*DeleteCCFrequencyRulesRequest) FromJsonString ¶
func (r *DeleteCCFrequencyRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCCFrequencyRulesRequest) ToJsonString ¶
func (r *DeleteCCFrequencyRulesRequest) ToJsonString() string
type DeleteCCFrequencyRulesResponse ¶
type DeleteCCFrequencyRulesResponse 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 NewDeleteCCFrequencyRulesResponse ¶
func NewDeleteCCFrequencyRulesResponse() (response *DeleteCCFrequencyRulesResponse)
func (*DeleteCCFrequencyRulesResponse) FromJsonString ¶
func (r *DeleteCCFrequencyRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCCFrequencyRulesResponse) ToJsonString ¶
func (r *DeleteCCFrequencyRulesResponse) ToJsonString() string
type DeleteCCSelfDefinePolicyRequest ¶
type DeleteCCSelfDefinePolicyRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Policy ID SetId *string `json:"SetId,omitempty" name:"SetId"` }
func NewDeleteCCSelfDefinePolicyRequest ¶
func NewDeleteCCSelfDefinePolicyRequest() (request *DeleteCCSelfDefinePolicyRequest)
func (*DeleteCCSelfDefinePolicyRequest) FromJsonString ¶
func (r *DeleteCCSelfDefinePolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCCSelfDefinePolicyRequest) ToJsonString ¶
func (r *DeleteCCSelfDefinePolicyRequest) ToJsonString() string
type DeleteCCSelfDefinePolicyResponse ¶
type DeleteCCSelfDefinePolicyResponse 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 NewDeleteCCSelfDefinePolicyResponse ¶
func NewDeleteCCSelfDefinePolicyResponse() (response *DeleteCCSelfDefinePolicyResponse)
func (*DeleteCCSelfDefinePolicyResponse) FromJsonString ¶
func (r *DeleteCCSelfDefinePolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCCSelfDefinePolicyResponse) ToJsonString ¶
func (r *DeleteCCSelfDefinePolicyResponse) ToJsonString() string
type DeleteDDoSPolicyCaseRequest ¶
type DeleteDDoSPolicyCaseRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Policy scenario ID SceneId *string `json:"SceneId,omitempty" name:"SceneId"` }
func NewDeleteDDoSPolicyCaseRequest ¶
func NewDeleteDDoSPolicyCaseRequest() (request *DeleteDDoSPolicyCaseRequest)
func (*DeleteDDoSPolicyCaseRequest) FromJsonString ¶
func (r *DeleteDDoSPolicyCaseRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDDoSPolicyCaseRequest) ToJsonString ¶
func (r *DeleteDDoSPolicyCaseRequest) ToJsonString() string
type DeleteDDoSPolicyCaseResponse ¶
type DeleteDDoSPolicyCaseResponse 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 NewDeleteDDoSPolicyCaseResponse ¶
func NewDeleteDDoSPolicyCaseResponse() (response *DeleteDDoSPolicyCaseResponse)
func (*DeleteDDoSPolicyCaseResponse) FromJsonString ¶
func (r *DeleteDDoSPolicyCaseResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDDoSPolicyCaseResponse) ToJsonString ¶
func (r *DeleteDDoSPolicyCaseResponse) ToJsonString() string
type DeleteDDoSPolicyRequest ¶
type DeleteDDoSPolicyRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` }
func NewDeleteDDoSPolicyRequest ¶
func NewDeleteDDoSPolicyRequest() (request *DeleteDDoSPolicyRequest)
func (*DeleteDDoSPolicyRequest) FromJsonString ¶
func (r *DeleteDDoSPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDDoSPolicyRequest) ToJsonString ¶
func (r *DeleteDDoSPolicyRequest) ToJsonString() string
type DeleteDDoSPolicyResponse ¶
type DeleteDDoSPolicyResponse 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 NewDeleteDDoSPolicyResponse ¶
func NewDeleteDDoSPolicyResponse() (response *DeleteDDoSPolicyResponse)
func (*DeleteDDoSPolicyResponse) FromJsonString ¶
func (r *DeleteDDoSPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDDoSPolicyResponse) ToJsonString ¶
func (r *DeleteDDoSPolicyResponse) ToJsonString() string
type DeleteL4RulesRequest ¶
type DeleteL4RulesRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Rule ID list RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList"` }
func NewDeleteL4RulesRequest ¶
func NewDeleteL4RulesRequest() (request *DeleteL4RulesRequest)
func (*DeleteL4RulesRequest) FromJsonString ¶
func (r *DeleteL4RulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteL4RulesRequest) ToJsonString ¶
func (r *DeleteL4RulesRequest) ToJsonString() string
type DeleteL4RulesResponse ¶
type DeleteL4RulesResponse 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 NewDeleteL4RulesResponse ¶
func NewDeleteL4RulesResponse() (response *DeleteL4RulesResponse)
func (*DeleteL4RulesResponse) FromJsonString ¶
func (r *DeleteL4RulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteL4RulesResponse) ToJsonString ¶
func (r *DeleteL4RulesResponse) ToJsonString() string
type DeleteL7RulesRequest ¶
type DeleteL7RulesRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Rule ID list RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList"` }
func NewDeleteL7RulesRequest ¶
func NewDeleteL7RulesRequest() (request *DeleteL7RulesRequest)
func (*DeleteL7RulesRequest) FromJsonString ¶
func (r *DeleteL7RulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteL7RulesRequest) ToJsonString ¶
func (r *DeleteL7RulesRequest) ToJsonString() string
type DeleteL7RulesResponse ¶
type DeleteL7RulesResponse 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 NewDeleteL7RulesResponse ¶
func NewDeleteL7RulesResponse() (response *DeleteL7RulesResponse)
func (*DeleteL7RulesResponse) FromJsonString ¶
func (r *DeleteL7RulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteL7RulesResponse) ToJsonString ¶
func (r *DeleteL7RulesResponse) ToJsonString() string
type DescribeActionLogRequest ¶
type DescribeActionLogRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 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 Business *string `json:"Business,omitempty" name:"Business"` // Search value, which can only be resource ID or user `UIN` Filter *string `json:"Filter,omitempty" name:"Filter"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeActionLogRequest ¶
func NewDescribeActionLogRequest() (request *DescribeActionLogRequest)
func (*DescribeActionLogRequest) FromJsonString ¶
func (r *DescribeActionLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeActionLogRequest) ToJsonString ¶
func (r *DescribeActionLogRequest) ToJsonString() string
type DescribeActionLogResponse ¶
type DescribeActionLogResponse struct { *tchttp.BaseResponse Response *struct { // Total number of records TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Record array Data []*KeyValueRecord `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 NewDescribeActionLogResponse ¶
func NewDescribeActionLogResponse() (response *DescribeActionLogResponse)
func (*DescribeActionLogResponse) FromJsonString ¶
func (r *DescribeActionLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeActionLogResponse) ToJsonString ¶
func (r *DescribeActionLogResponse) ToJsonString() string
type DescribeBGPIPL7RuleMaxCntRequest ¶
type DescribeBGPIPL7RuleMaxCntRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` }
func NewDescribeBGPIPL7RuleMaxCntRequest ¶
func NewDescribeBGPIPL7RuleMaxCntRequest() (request *DescribeBGPIPL7RuleMaxCntRequest)
func (*DescribeBGPIPL7RuleMaxCntRequest) FromJsonString ¶
func (r *DescribeBGPIPL7RuleMaxCntRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBGPIPL7RuleMaxCntRequest) ToJsonString ¶
func (r *DescribeBGPIPL7RuleMaxCntRequest) ToJsonString() string
type DescribeBGPIPL7RuleMaxCntResponse ¶
type DescribeBGPIPL7RuleMaxCntResponse struct { *tchttp.BaseResponse Response *struct { // Maximum number of layer-7 rules that can be added for Anti-DDoS Advanced Count *uint64 `json:"Count,omitempty" name:"Count"` // 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 NewDescribeBGPIPL7RuleMaxCntResponse ¶
func NewDescribeBGPIPL7RuleMaxCntResponse() (response *DescribeBGPIPL7RuleMaxCntResponse)
func (*DescribeBGPIPL7RuleMaxCntResponse) FromJsonString ¶
func (r *DescribeBGPIPL7RuleMaxCntResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBGPIPL7RuleMaxCntResponse) ToJsonString ¶
func (r *DescribeBGPIPL7RuleMaxCntResponse) ToJsonString() string
type DescribeBaradDataRequest ¶
type DescribeBaradDataRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Metric name. Valid values: // connum: number of active TCP connections; // new_conn: number of new TCP connections; // inactive_conn: number of inactive connections; // intraffic: inbound traffic; // outtraffic: outbound traffic; // alltraffic: sum of inbound and outbound traffic; // inpkg: inbound packet rate; // outpkg: outbound packet rate; MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Statistical time granularity in seconds (300: 5-minute, 3600: hourly, 86400: daily) Period *uint64 `json:"Period,omitempty" name:"Period"` // Statistics start time. The second part is kept at 0, and the minute part is a multiple of 5 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Statistics end time. The second part is kept at 0, and the minute part is a multiple of 5 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Statistical method. Valid values: // max: maximum value; // min: minimum value; // avg: average; Statistics *string `json:"Statistics,omitempty" name:"Statistics"` // Protocol port array ProtocolPort []*ProtocolPort `json:"ProtocolPort,omitempty" name:"ProtocolPort"` // Resource instance IP, which is required only if `Business` is `net` (Anti-DDoS Ultimate), because an Anti-DDoS Ultimate instance has multiple IPs; Ip *string `json:"Ip,omitempty" name:"Ip"` }
func NewDescribeBaradDataRequest ¶
func NewDescribeBaradDataRequest() (request *DescribeBaradDataRequest)
func (*DescribeBaradDataRequest) FromJsonString ¶
func (r *DescribeBaradDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBaradDataRequest) ToJsonString ¶
func (r *DescribeBaradDataRequest) ToJsonString() string
type DescribeBaradDataResponse ¶
type DescribeBaradDataResponse struct { *tchttp.BaseResponse Response *struct { // Returned metric value DataList []*BaradData `json:"DataList,omitempty" name:"DataList"` // 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 NewDescribeBaradDataResponse ¶
func NewDescribeBaradDataResponse() (response *DescribeBaradDataResponse)
func (*DescribeBaradDataResponse) FromJsonString ¶
func (r *DescribeBaradDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBaradDataResponse) ToJsonString ¶
func (r *DescribeBaradDataResponse) ToJsonString() string
type DescribeBasicCCThresholdRequest ¶
type DescribeBasicCCThresholdRequest struct { *tchttp.BaseRequest // Queried IP address, such as 1.1.1.1 BasicIp *string `json:"BasicIp,omitempty" name:"BasicIp"` // IP region. Valid values: region abbreviations such as gz, bj, sh, and hk BasicRegion *string `json:"BasicRegion,omitempty" name:"BasicRegion"` // Zone type. Valid values: public (public cloud zone), bm (BM zone), nat (NAT server zone), channel (internet channel). BasicBizType *string `json:"BasicBizType,omitempty" name:"BasicBizType"` // Device type. Valid values: cvm (CVM), clb (public CLB), lb (BM CLB), nat (NAT server), channel (internet channel). BasicDeviceType *string `json:"BasicDeviceType,omitempty" name:"BasicDeviceType"` // IPInstance Nat gateway, which is optional. (If the device type to be queried is a NAT server, this parameter is required, which can be obtained through the NAT resource query API) BasicIpInstance *string `json:"BasicIpInstance,omitempty" name:"BasicIpInstance"` // ISP line, which is optional. (If the device type to be queried is a NAT server, this parameter should be 5) BasicIspCode *uint64 `json:"BasicIspCode,omitempty" name:"BasicIspCode"` }
func NewDescribeBasicCCThresholdRequest ¶
func NewDescribeBasicCCThresholdRequest() (request *DescribeBasicCCThresholdRequest)
func (*DescribeBasicCCThresholdRequest) FromJsonString ¶
func (r *DescribeBasicCCThresholdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBasicCCThresholdRequest) ToJsonString ¶
func (r *DescribeBasicCCThresholdRequest) ToJsonString() string
type DescribeBasicCCThresholdResponse ¶
type DescribeBasicCCThresholdResponse struct { *tchttp.BaseResponse Response *struct { // CC status (0: disabled, 1: enabled) CCEnable *uint64 `json:"CCEnable,omitempty" name:"CCEnable"` // CC protection threshold CCThreshold *uint64 `json:"CCThreshold,omitempty" name:"CCThreshold"` // 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 NewDescribeBasicCCThresholdResponse ¶
func NewDescribeBasicCCThresholdResponse() (response *DescribeBasicCCThresholdResponse)
func (*DescribeBasicCCThresholdResponse) FromJsonString ¶
func (r *DescribeBasicCCThresholdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBasicCCThresholdResponse) ToJsonString ¶
func (r *DescribeBasicCCThresholdResponse) ToJsonString() string
type DescribeBasicDeviceThresholdRequest ¶
type DescribeBasicDeviceThresholdRequest struct { *tchttp.BaseRequest // Queried IP address, such as 1.1.1.1 BasicIp *string `json:"BasicIp,omitempty" name:"BasicIp"` // IP region. Valid values: region abbreviations such as gz, bj, sh, and hk BasicRegion *string `json:"BasicRegion,omitempty" name:"BasicRegion"` // Zone type. Valid values: public (public cloud zone), bm (BM zone), nat (NAT server zone), channel (internet channel). BasicBizType *string `json:"BasicBizType,omitempty" name:"BasicBizType"` // Device type. Valid values: cvm (CVM), clb (public CLB), lb (BM CLB), nat (NAT server), channel (internet channel). BasicDeviceType *string `json:"BasicDeviceType,omitempty" name:"BasicDeviceType"` // Validity check. Valid value: 1 BasicCheckFlag *uint64 `json:"BasicCheckFlag,omitempty" name:"BasicCheckFlag"` // IPInstance Nat gateway, which is optional. (If the device type to be queried is a NAT server, this parameter is required, which can be obtained through the NAT resource query API) BasicIpInstance *string `json:"BasicIpInstance,omitempty" name:"BasicIpInstance"` // ISP line, which is optional. (If the device type to be queried is a NAT server, this parameter should be 5) BasicIspCode *uint64 `json:"BasicIspCode,omitempty" name:"BasicIspCode"` }
func NewDescribeBasicDeviceThresholdRequest ¶
func NewDescribeBasicDeviceThresholdRequest() (request *DescribeBasicDeviceThresholdRequest)
func (*DescribeBasicDeviceThresholdRequest) FromJsonString ¶
func (r *DescribeBasicDeviceThresholdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBasicDeviceThresholdRequest) ToJsonString ¶
func (r *DescribeBasicDeviceThresholdRequest) ToJsonString() string
type DescribeBasicDeviceThresholdResponse ¶
type DescribeBasicDeviceThresholdResponse struct { *tchttp.BaseResponse Response *struct { // Blackhole blocking value Threshold *uint64 `json:"Threshold,omitempty" name:"Threshold"` // 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 NewDescribeBasicDeviceThresholdResponse ¶
func NewDescribeBasicDeviceThresholdResponse() (response *DescribeBasicDeviceThresholdResponse)
func (*DescribeBasicDeviceThresholdResponse) FromJsonString ¶
func (r *DescribeBasicDeviceThresholdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBasicDeviceThresholdResponse) ToJsonString ¶
func (r *DescribeBasicDeviceThresholdResponse) ToJsonString() string
type DescribeBizHttpStatusRequest ¶
type DescribeBizHttpStatusRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitempty" name:"Business"` // Resource ID Id *string `json:"Id,omitempty" name:"Id"` // Statistical period in seconds. Valid values: 300, 1800, 3600, 21600, and 86400. Period *int64 `json:"Period,omitempty" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Statistical mode, which only supports sum. Statistics *string `json:"Statistics,omitempty" name:"Statistics"` // Protocol and port list, which is valid when the statistical dimension is the number of connections. Valid protocols: TCP, UDP, HTTP, and HTTPS. ProtoInfo []*ProtocolPort `json:"ProtoInfo,omitempty" name:"ProtoInfo"` // Specific domain name query Domain *string `json:"Domain,omitempty" name:"Domain"` }
func NewDescribeBizHttpStatusRequest ¶
func NewDescribeBizHttpStatusRequest() (request *DescribeBizHttpStatusRequest)
func (*DescribeBizHttpStatusRequest) FromJsonString ¶
func (r *DescribeBizHttpStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBizHttpStatusRequest) ToJsonString ¶
func (r *DescribeBizHttpStatusRequest) ToJsonString() string
type DescribeBizHttpStatusResponse ¶
type DescribeBizHttpStatusResponse struct { *tchttp.BaseResponse Response *struct { // Statistics on the HTTP status codes of business traffic HttpStatusMap *HttpStatusMap `json:"HttpStatusMap,omitempty" name:"HttpStatusMap"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBizHttpStatusResponse ¶
func NewDescribeBizHttpStatusResponse() (response *DescribeBizHttpStatusResponse)
func (*DescribeBizHttpStatusResponse) FromJsonString ¶
func (r *DescribeBizHttpStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBizHttpStatusResponse) ToJsonString ¶
func (r *DescribeBizHttpStatusResponse) ToJsonString() string
type DescribeCCAlarmThresholdRequest ¶
type DescribeCCAlarmThresholdRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`shield`: Chess Shield, `bgpip`: Anti-DDoS Advanced, `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS Pro (multi-IP), `net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID RsId *string `json:"RsId,omitempty" name:"RsId"` }
func NewDescribeCCAlarmThresholdRequest ¶
func NewDescribeCCAlarmThresholdRequest() (request *DescribeCCAlarmThresholdRequest)
func (*DescribeCCAlarmThresholdRequest) FromJsonString ¶
func (r *DescribeCCAlarmThresholdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCAlarmThresholdRequest) ToJsonString ¶
func (r *DescribeCCAlarmThresholdRequest) ToJsonString() string
type DescribeCCAlarmThresholdResponse ¶
type DescribeCCAlarmThresholdResponse struct { *tchttp.BaseResponse Response *struct { // CC alarm threshold CCAlarmThreshold *CCAlarmThreshold `json:"CCAlarmThreshold,omitempty" name:"CCAlarmThreshold"` // 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 NewDescribeCCAlarmThresholdResponse ¶
func NewDescribeCCAlarmThresholdResponse() (response *DescribeCCAlarmThresholdResponse)
func (*DescribeCCAlarmThresholdResponse) FromJsonString ¶
func (r *DescribeCCAlarmThresholdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCAlarmThresholdResponse) ToJsonString ¶
func (r *DescribeCCAlarmThresholdResponse) ToJsonString() string
type DescribeCCEvListRequest ¶
type DescribeCCEvListRequest 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"` // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Resource instance IP. When `business` is not `basic`, if `IpList` is not empty, `Id` must not be empty; IpList []*string `json:"IpList,omitempty" name:"IpList"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeCCEvListRequest ¶
func NewDescribeCCEvListRequest() (request *DescribeCCEvListRequest)
func (*DescribeCCEvListRequest) FromJsonString ¶
func (r *DescribeCCEvListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCEvListRequest) ToJsonString ¶
func (r *DescribeCCEvListRequest) ToJsonString() string
type DescribeCCEvListResponse ¶
type DescribeCCEvListResponse struct { *tchttp.BaseResponse Response *struct { // Anti-DDoS service type. `shield`: Chess Shield; `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"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Instance IP list // Note: this field may return null, indicating that no valid values can be obtained. IpList []*string `json:"IpList,omitempty" name:"IpList"` // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // CC attack event list Data []*CCEventRecord `json:"Data,omitempty" name:"Data"` // Total number of records Total *uint64 `json:"Total,omitempty" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCCEvListResponse ¶
func NewDescribeCCEvListResponse() (response *DescribeCCEvListResponse)
func (*DescribeCCEvListResponse) FromJsonString ¶
func (r *DescribeCCEvListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCEvListResponse) ToJsonString ¶
func (r *DescribeCCEvListResponse) ToJsonString() string
type DescribeCCFrequencyRulesRequest ¶
type DescribeCCFrequencyRulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Layer-7 forwarding rule ID (which can be obtained from the layer-7 forwarding rule API). If a value is entered, it means to get the access frequency control rule of the forwarding rule; RuleId *string `json:"RuleId,omitempty" name:"RuleId"` }
func NewDescribeCCFrequencyRulesRequest ¶
func NewDescribeCCFrequencyRulesRequest() (request *DescribeCCFrequencyRulesRequest)
func (*DescribeCCFrequencyRulesRequest) FromJsonString ¶
func (r *DescribeCCFrequencyRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCFrequencyRulesRequest) ToJsonString ¶
func (r *DescribeCCFrequencyRulesRequest) ToJsonString() string
type DescribeCCFrequencyRulesResponse ¶
type DescribeCCFrequencyRulesResponse struct { *tchttp.BaseResponse Response *struct { // Access frequency control rule list CCFrequencyRuleList []*CCFrequencyRule `json:"CCFrequencyRuleList,omitempty" name:"CCFrequencyRuleList"` // Access frequency control rule status. Valid values: [on, off]; CCFrequencyRuleStatus *string `json:"CCFrequencyRuleStatus,omitempty" name:"CCFrequencyRuleStatus"` // 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 NewDescribeCCFrequencyRulesResponse ¶
func NewDescribeCCFrequencyRulesResponse() (response *DescribeCCFrequencyRulesResponse)
func (*DescribeCCFrequencyRulesResponse) FromJsonString ¶
func (r *DescribeCCFrequencyRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCFrequencyRulesResponse) ToJsonString ¶
func (r *DescribeCCFrequencyRulesResponse) ToJsonString() string
type DescribeCCIpAllowDenyRequest ¶
type DescribeCCIpAllowDenyRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Blocklist or allowlist. Valid values: [white (allowlist), black (blocklist)] // Note: this array can only have one value. It cannot get the blocklist and allowlist at the same time Type []*string `json:"Type,omitempty" name:"Type"` // Pagination parameter Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Pagination parameter Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // HTTP or HTTPS CC protection, which is optional. Valid values: [http (HTTP CC protection), https (HTTPS CC protection)]; Protocol *string `json:"Protocol,omitempty" name:"Protocol"` }
func NewDescribeCCIpAllowDenyRequest ¶
func NewDescribeCCIpAllowDenyRequest() (request *DescribeCCIpAllowDenyRequest)
func (*DescribeCCIpAllowDenyRequest) FromJsonString ¶
func (r *DescribeCCIpAllowDenyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCIpAllowDenyRequest) ToJsonString ¶
func (r *DescribeCCIpAllowDenyRequest) ToJsonString() string
type DescribeCCIpAllowDenyResponse ¶
type DescribeCCIpAllowDenyResponse struct { *tchttp.BaseResponse Response *struct { // This field has been replaced by `RecordList` and should not be used Data []*KeyValue `json:"Data,omitempty" name:"Data"` // Number of records Total *uint64 `json:"Total,omitempty" name:"Total"` // Returned Blocklist/allowlist record, // If "Key":"ip", "Value": IP; // If "Key":"domain", "Value": domain name. // If "Key":"type", "Value" can be `white` (allowlist) or `black` (blocklist). // If "Key":"protocol", "Value": CC protection protocol (HTTP or HTTPS); RecordList []*KeyValueRecord `json:"RecordList,omitempty" name:"RecordList"` // 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 NewDescribeCCIpAllowDenyResponse ¶
func NewDescribeCCIpAllowDenyResponse() (response *DescribeCCIpAllowDenyResponse)
func (*DescribeCCIpAllowDenyResponse) FromJsonString ¶
func (r *DescribeCCIpAllowDenyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCIpAllowDenyResponse) ToJsonString ¶
func (r *DescribeCCIpAllowDenyResponse) ToJsonString() string
type DescribeCCSelfDefinePolicyRequest ¶
type DescribeCCSelfDefinePolicyRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgp`: Anti-DDoS Pro, `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"` // Number of entries pulled Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeCCSelfDefinePolicyRequest ¶
func NewDescribeCCSelfDefinePolicyRequest() (request *DescribeCCSelfDefinePolicyRequest)
func (*DescribeCCSelfDefinePolicyRequest) FromJsonString ¶
func (r *DescribeCCSelfDefinePolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCSelfDefinePolicyRequest) ToJsonString ¶
func (r *DescribeCCSelfDefinePolicyRequest) ToJsonString() string
type DescribeCCSelfDefinePolicyResponse ¶
type DescribeCCSelfDefinePolicyResponse struct { *tchttp.BaseResponse Response *struct { // Total number of custom rules Total *uint64 `json:"Total,omitempty" name:"Total"` // Policy list Policys []*CCPolicy `json:"Policys,omitempty" name:"Policys"` // 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 NewDescribeCCSelfDefinePolicyResponse ¶
func NewDescribeCCSelfDefinePolicyResponse() (response *DescribeCCSelfDefinePolicyResponse)
func (*DescribeCCSelfDefinePolicyResponse) FromJsonString ¶
func (r *DescribeCCSelfDefinePolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCSelfDefinePolicyResponse) ToJsonString ¶
func (r *DescribeCCSelfDefinePolicyResponse) 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"` // Resource IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Metric. Valid values: [inqps (total requests peak), dropqps (attack requests peak)] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *int64 `json:"Period,omitempty" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Resource instance ID. If `Business` is `basic`, this field is not required (because Anti-DDoS Basic has no resource instance) Id *string `json:"Id,omitempty" name:"Id"` // (Optional) Domain name Domain *string `json:"Domain,omitempty" name:"Domain"` }
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 { // 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"` // Anti-DDoS instance ID // Note: this field may return null, indicating that no valid values can be obtained. Id *string `json:"Id,omitempty" name:"Id"` // Resource IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Metric. Valid values: [inqps (total requests peak), dropqps (attack requests peak)] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *int64 `json:"Period,omitempty" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Value array Data []*uint64 `json:"Data,omitempty" name:"Data"` // Number of values Count *uint64 `json:"Count,omitempty" name:"Count"` // 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 DescribeCCUrlAllowRequest ¶
type DescribeCCUrlAllowRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Blocklist or allowlist. Valid value: [white (allowlist)]. Currently, only allowlist is supported. // Note: this array can only have one value which can only be `white` Type []*string `json:"Type,omitempty" name:"Type"` // Pagination parameter Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Pagination parameter Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // HTTP or HTTPS CC protection, which is optional. Valid values: [http (HTTP CC protection), https (HTTPS CC protection)]; Protocol *string `json:"Protocol,omitempty" name:"Protocol"` }
func NewDescribeCCUrlAllowRequest ¶
func NewDescribeCCUrlAllowRequest() (request *DescribeCCUrlAllowRequest)
func (*DescribeCCUrlAllowRequest) FromJsonString ¶
func (r *DescribeCCUrlAllowRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCUrlAllowRequest) ToJsonString ¶
func (r *DescribeCCUrlAllowRequest) ToJsonString() string
type DescribeCCUrlAllowResponse ¶
type DescribeCCUrlAllowResponse struct { *tchttp.BaseResponse Response *struct { // This field has been replaced by `RecordList` and should not be used Data []*KeyValue `json:"Data,omitempty" name:"Data"` // Total number of records Total *uint64 `json:"Total,omitempty" name:"Total"` // Returned Blocklist/allowlist record, // If "Key":"url", "Value": URL; // If "Key":"domain", "Value": domain name. // If "Key":"type", "Value" can be `white` (allowlist) or `black` (blocklist). // If "Key":"protocol", "Value": CC protection type (HTTP protection or HTTPS domain name protection); RecordList []*KeyValueRecord `json:"RecordList,omitempty" name:"RecordList"` // 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 NewDescribeCCUrlAllowResponse ¶
func NewDescribeCCUrlAllowResponse() (response *DescribeCCUrlAllowResponse)
func (*DescribeCCUrlAllowResponse) FromJsonString ¶
func (r *DescribeCCUrlAllowResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCUrlAllowResponse) ToJsonString ¶
func (r *DescribeCCUrlAllowResponse) ToJsonString() string
type DescribeDDoSAlarmThresholdRequest ¶
type DescribeDDoSAlarmThresholdRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`shield`: Chess Shield, `bgpip`: Anti-DDoS Advanced, `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS Pro (multi-IP), `net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID RsId *string `json:"RsId,omitempty" name:"RsId"` }
func NewDescribeDDoSAlarmThresholdRequest ¶
func NewDescribeDDoSAlarmThresholdRequest() (request *DescribeDDoSAlarmThresholdRequest)
func (*DescribeDDoSAlarmThresholdRequest) FromJsonString ¶
func (r *DescribeDDoSAlarmThresholdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAlarmThresholdRequest) ToJsonString ¶
func (r *DescribeDDoSAlarmThresholdRequest) ToJsonString() string
type DescribeDDoSAlarmThresholdResponse ¶
type DescribeDDoSAlarmThresholdResponse struct { *tchttp.BaseResponse Response *struct { // DDoS alarm threshold DDoSAlarmThreshold *DDoSAlarmThreshold `json:"DDoSAlarmThreshold,omitempty" name:"DDoSAlarmThreshold"` // 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 NewDescribeDDoSAlarmThresholdResponse ¶
func NewDescribeDDoSAlarmThresholdResponse() (response *DescribeDDoSAlarmThresholdResponse)
func (*DescribeDDoSAlarmThresholdResponse) FromJsonString ¶
func (r *DescribeDDoSAlarmThresholdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAlarmThresholdResponse) ToJsonString ¶
func (r *DescribeDDoSAlarmThresholdResponse) ToJsonString() string
type DescribeDDoSAttackIPRegionMapRequest ¶
type DescribeDDoSAttackIPRegionMapRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`shield`: Chess Shield, `bgpip`: Anti-DDoS Advanced, `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS Pro (multi-IP), `net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Statistics start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Statistics end time. Maximum statistics time range: half a year; EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // IP attack source of specified resource, which is optional IpList []*string `json:"IpList,omitempty" name:"IpList"` }
func NewDescribeDDoSAttackIPRegionMapRequest ¶
func NewDescribeDDoSAttackIPRegionMapRequest() (request *DescribeDDoSAttackIPRegionMapRequest)
func (*DescribeDDoSAttackIPRegionMapRequest) FromJsonString ¶
func (r *DescribeDDoSAttackIPRegionMapRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAttackIPRegionMapRequest) ToJsonString ¶
func (r *DescribeDDoSAttackIPRegionMapRequest) ToJsonString() string
type DescribeDDoSAttackIPRegionMapResponse ¶
type DescribeDDoSAttackIPRegionMapResponse struct { *tchttp.BaseResponse Response *struct { // Global region distribution data NationCount []*KeyValueRecord `json:"NationCount,omitempty" name:"NationCount"` // Chinese province distribution data ProvinceCount []*KeyValueRecord `json:"ProvinceCount,omitempty" name:"ProvinceCount"` // 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 NewDescribeDDoSAttackIPRegionMapResponse ¶
func NewDescribeDDoSAttackIPRegionMapResponse() (response *DescribeDDoSAttackIPRegionMapResponse)
func (*DescribeDDoSAttackIPRegionMapResponse) FromJsonString ¶
func (r *DescribeDDoSAttackIPRegionMapResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAttackIPRegionMapResponse) ToJsonString ¶
func (r *DescribeDDoSAttackIPRegionMapResponse) ToJsonString() string
type DescribeDDoSAttackSourceRequest ¶
type DescribeDDoSAttackSourceRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // IP attack source of specified resource, which is optional IpList []*string `json:"IpList,omitempty" name:"IpList"` }
func NewDescribeDDoSAttackSourceRequest ¶
func NewDescribeDDoSAttackSourceRequest() (request *DescribeDDoSAttackSourceRequest)
func (*DescribeDDoSAttackSourceRequest) FromJsonString ¶
func (r *DescribeDDoSAttackSourceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAttackSourceRequest) ToJsonString ¶
func (r *DescribeDDoSAttackSourceRequest) ToJsonString() string
type DescribeDDoSAttackSourceResponse ¶
type DescribeDDoSAttackSourceResponse struct { *tchttp.BaseResponse Response *struct { // Total number of attack sources Total *uint64 `json:"Total,omitempty" name:"Total"` // Attack source list AttackSourceList []*DDoSAttackSourceRecord `json:"AttackSourceList,omitempty" name:"AttackSourceList"` // 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 NewDescribeDDoSAttackSourceResponse ¶
func NewDescribeDDoSAttackSourceResponse() (response *DescribeDDoSAttackSourceResponse)
func (*DescribeDDoSAttackSourceResponse) FromJsonString ¶
func (r *DescribeDDoSAttackSourceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAttackSourceResponse) ToJsonString ¶
func (r *DescribeDDoSAttackSourceResponse) ToJsonString() string
type DescribeDDoSCountRequest ¶
type DescribeDDoSCountRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Resource IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Statistics start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Metric. Valid values: [traffic (attack protocol traffic in KB), pkg (number of attack protocol packets), classnum (number of attack events)] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` }
func NewDescribeDDoSCountRequest ¶
func NewDescribeDDoSCountRequest() (request *DescribeDDoSCountRequest)
func (*DescribeDDoSCountRequest) FromJsonString ¶
func (r *DescribeDDoSCountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSCountRequest) ToJsonString ¶
func (r *DescribeDDoSCountRequest) ToJsonString() string
type DescribeDDoSCountResponse ¶
type DescribeDDoSCountResponse struct { *tchttp.BaseResponse Response *struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (single IP); `bgp-multip`: Anti-DDoS Pro (multi-IP), `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Resource IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Statistics start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Metric. Valid values: [traffic (attack protocol traffic in KB), pkg (number of attack protocol packets), classnum (number of attack events)] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // `Key-Value` array. Valid values of `Key`: // If `MetricName` is `traffic`: // If `key` is `TcpKBSum`, it indicates the traffic of TCP packets in KB. // If `key` is `UdpKBSum`, it indicates the traffic of UDP packets in KB. // If `key` is `IcmpKBSum`, it indicates the traffic of ICMP packets in KB. // If `key` is `OtherKBSum`, it indicates the traffic of other packets in KB. // // If `MetricName` is `pkg`: // If `key` is `TcpPacketSum`, it indicates the number of TCP packets. // If `key` is `UdpPacketSum`, it indicates the number of UDP packets. // If `key` is `IcmpPacketSum`, it indicates the number of ICMP packets. // If `key` is `OtherPacketSum`, it indicates the number of other packets. // // If `MetricName` is `classnum`: // The value of `key` indicates the attack event type. When the `key` is `UNKNOWNFLOOD`, it indicates unknown attack events. 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 NewDescribeDDoSCountResponse ¶
func NewDescribeDDoSCountResponse() (response *DescribeDDoSCountResponse)
func (*DescribeDDoSCountResponse) FromJsonString ¶
func (r *DescribeDDoSCountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSCountResponse) ToJsonString ¶
func (r *DescribeDDoSCountResponse) ToJsonString() string
type DescribeDDoSDefendStatusRequest ¶
type DescribeDDoSDefendStatusRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `basic`: Anti-DDoS Basic, `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS (multi-IP), `bgpip`: Anti-DDoS Advanced, `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Instance ID, which is required only if `Business` is not `basic`. Id *string `json:"Id,omitempty" name:"Id"` // Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic; Ip *string `json:"Ip,omitempty" name:"Ip"` // Type of products bound to the anti-DDoS instance, which is required only if `Business` is Anti-DDoS Basic. Valid values: [public (CVM), bm (Bare metal products), eni (elastic network interface), vpngw (VPN Gateway), natgw (NAT Gateway), waf (Web Application Firewall), fpc (Finance products), gaap (GAAP), other (hosted IP)] BizType *string `json:"BizType,omitempty" name:"BizType"` // Product subtype of IP, which is required only if `Business` is Anti-DDoS Basic. Valid values: [cvm (CVM), lb (CLB), eni (ENI), vpngw (VPN), natgw (NAT), waf (WAF), fpc (finance), gaap (GAAP), other (hosted IP), eip (BM EIP)] DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // Resource instance ID of IP, which is required only if `Business` is Anti-DDoS Basic. This field is required when binding a new IP. For example, if it is an ENI IP, enter `ID(eni-*)` of the ENI for `InstanceId`; InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // This field is required only if `Business` is Anti-DDoS Basic, indicating the IP region. Valid values: // "bj": North China (Beijing) // "cd": Southwest China (Chengdu) // "cq": Southwest China (Chongqing) // "gz": South China (Guangzhou) // "gzopen": South China (Guangzhou Open) // "hk": Hong Kong (China) // "kr": Southeast Asia (Seoul) // "sh": East China (Shanghai) // "shjr": East China (Shanghai Finance) // "szjr": South China (Shenzhen Finance) // "sg": Southeast Asia (Singapore) // "th": Southeast Asia (Thailand) // "de": Europe (Germany) // "usw": West US (Silicon Valley) // "ca": North America (Toronto) // "jp": Japan // "hzec": Hangzhou // "in": India // "use": East US (Virginia) // "ru": Russia // "tpe": Taiwan (China) // "nj": Nanjing IPRegion *string `json:"IPRegion,omitempty" name:"IPRegion"` }
func NewDescribeDDoSDefendStatusRequest ¶
func NewDescribeDDoSDefendStatusRequest() (request *DescribeDDoSDefendStatusRequest)
func (*DescribeDDoSDefendStatusRequest) FromJsonString ¶
func (r *DescribeDDoSDefendStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSDefendStatusRequest) ToJsonString ¶
func (r *DescribeDDoSDefendStatusRequest) ToJsonString() string
type DescribeDDoSDefendStatusResponse ¶
type DescribeDDoSDefendStatusResponse struct { *tchttp.BaseResponse Response *struct { // Protection status. 0: disabled, 1: enabled // Note: this field may return null, indicating that no valid values can be obtained. DefendStatus *uint64 `json:"DefendStatus,omitempty" name:"DefendStatus"` // Expiration time of temporary protection disablement. This field is empty if the protection is in enabled status; // Note: this field may return null, indicating that no valid values can be obtained. UndefendExpire *string `json:"UndefendExpire,omitempty" name:"UndefendExpire"` // Console feature display field. 1: displays console features, 0: hides console features // Note: this field may return null, indicating that no valid values can be obtained. ShowFlag *uint64 `json:"ShowFlag,omitempty" name:"ShowFlag"` // 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 NewDescribeDDoSDefendStatusResponse ¶
func NewDescribeDDoSDefendStatusResponse() (response *DescribeDDoSDefendStatusResponse)
func (*DescribeDDoSDefendStatusResponse) FromJsonString ¶
func (r *DescribeDDoSDefendStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSDefendStatusResponse) ToJsonString ¶
func (r *DescribeDDoSDefendStatusResponse) ToJsonString() string
type DescribeDDoSEvInfoRequest ¶
type DescribeDDoSEvInfoRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Resource IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Attack start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeDDoSEvInfoRequest ¶
func NewDescribeDDoSEvInfoRequest() (request *DescribeDDoSEvInfoRequest)
func (*DescribeDDoSEvInfoRequest) FromJsonString ¶
func (r *DescribeDDoSEvInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSEvInfoRequest) ToJsonString ¶
func (r *DescribeDDoSEvInfoRequest) ToJsonString() string
type DescribeDDoSEvInfoResponse ¶
type DescribeDDoSEvInfoResponse struct { *tchttp.BaseResponse Response *struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (single IP); `bgp-multip`: Anti-DDoS Pro (multi-IP), `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Resource IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Attack start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of TCP attack packets TcpPacketSum *uint64 `json:"TcpPacketSum,omitempty" name:"TcpPacketSum"` // Traffic of TCP attacks in KB TcpKBSum *uint64 `json:"TcpKBSum,omitempty" name:"TcpKBSum"` // Number of UDP attack packets UdpPacketSum *uint64 `json:"UdpPacketSum,omitempty" name:"UdpPacketSum"` // Traffic of UDP attacks in KB UdpKBSum *uint64 `json:"UdpKBSum,omitempty" name:"UdpKBSum"` // Number of ICMP attack packets IcmpPacketSum *uint64 `json:"IcmpPacketSum,omitempty" name:"IcmpPacketSum"` // Traffic of ICMP attacks in KB IcmpKBSum *uint64 `json:"IcmpKBSum,omitempty" name:"IcmpKBSum"` // Number of other attack packets OtherPacketSum *uint64 `json:"OtherPacketSum,omitempty" name:"OtherPacketSum"` // Traffic of other attacks in KB OtherKBSum *uint64 `json:"OtherKBSum,omitempty" name:"OtherKBSum"` // Total attack traffic in KB TotalTraffic *uint64 `json:"TotalTraffic,omitempty" name:"TotalTraffic"` // Attack traffic bandwidth peak Mbps *uint64 `json:"Mbps,omitempty" name:"Mbps"` // Attack packet rate peak Pps *uint64 `json:"Pps,omitempty" name:"Pps"` // PCAP file download link PcapUrl []*string `json:"PcapUrl,omitempty" name:"PcapUrl"` // 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 NewDescribeDDoSEvInfoResponse ¶
func NewDescribeDDoSEvInfoResponse() (response *DescribeDDoSEvInfoResponse)
func (*DescribeDDoSEvInfoResponse) FromJsonString ¶
func (r *DescribeDDoSEvInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSEvInfoResponse) ToJsonString ¶
func (r *DescribeDDoSEvInfoResponse) ToJsonString() string
type DescribeDDoSEvListRequest ¶
type DescribeDDoSEvListRequest 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"` // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Resource instance ID. If `Business` is `basic`, this field is not required (because Anti-DDoS Basic has no resource instance) Id *string `json:"Id,omitempty" name:"Id"` // Resource IP IpList []*string `json:"IpList,omitempty" name:"IpList"` // Whether the elastic protection bandwidth is exceeded. Valid values: [yes, no]. If an empty string is entered, it means no filtering OverLoad *string `json:"OverLoad,omitempty" name:"OverLoad"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeDDoSEvListRequest ¶
func NewDescribeDDoSEvListRequest() (request *DescribeDDoSEvListRequest)
func (*DescribeDDoSEvListRequest) FromJsonString ¶
func (r *DescribeDDoSEvListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSEvListRequest) ToJsonString ¶
func (r *DescribeDDoSEvListRequest) ToJsonString() string
type DescribeDDoSEvListResponse ¶
type DescribeDDoSEvListResponse struct { *tchttp.BaseResponse Response *struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Resource IP // Note: this field may return null, indicating that no valid values can be obtained. IpList []*string `json:"IpList,omitempty" name:"IpList"` // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // DDoS attack event list Data []*DDoSEventRecord `json:"Data,omitempty" name:"Data"` // Total number of records Total *uint64 `json:"Total,omitempty" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSEvListResponse ¶
func NewDescribeDDoSEvListResponse() (response *DescribeDDoSEvListResponse)
func (*DescribeDDoSEvListResponse) FromJsonString ¶
func (r *DescribeDDoSEvListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSEvListResponse) ToJsonString ¶
func (r *DescribeDDoSEvListResponse) ToJsonString() string
type DescribeDDoSIpLogRequest ¶
type DescribeDDoSIpLogRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Resource IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Attack start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeDDoSIpLogRequest ¶
func NewDescribeDDoSIpLogRequest() (request *DescribeDDoSIpLogRequest)
func (*DescribeDDoSIpLogRequest) FromJsonString ¶
func (r *DescribeDDoSIpLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSIpLogRequest) ToJsonString ¶
func (r *DescribeDDoSIpLogRequest) ToJsonString() string
type DescribeDDoSIpLogResponse ¶
type DescribeDDoSIpLogResponse struct { *tchttp.BaseResponse Response *struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Resource IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Attack start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // IP attack log, which is a `KeyValue` array. Valid values of `Key-Value`: // If `Key` is `LogTime`, `Value` indicates the IP log time // If `Key` is `LogMessage`, `Value` indicates the IP log content Data []*KeyValueRecord `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 NewDescribeDDoSIpLogResponse ¶
func NewDescribeDDoSIpLogResponse() (response *DescribeDDoSIpLogResponse)
func (*DescribeDDoSIpLogResponse) FromJsonString ¶
func (r *DescribeDDoSIpLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSIpLogResponse) ToJsonString ¶
func (r *DescribeDDoSIpLogResponse) ToJsonString() string
type DescribeDDoSNetCountRequest ¶
type DescribeDDoSNetCountRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Statistics start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Metric. Valid values: [traffic (attack protocol traffic in KB), pkg (number of attack protocol packets), classnum (number of attack events)] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` }
func NewDescribeDDoSNetCountRequest ¶
func NewDescribeDDoSNetCountRequest() (request *DescribeDDoSNetCountRequest)
func (*DescribeDDoSNetCountRequest) FromJsonString ¶
func (r *DescribeDDoSNetCountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSNetCountRequest) ToJsonString ¶
func (r *DescribeDDoSNetCountRequest) ToJsonString() string
type DescribeDDoSNetCountResponse ¶
type DescribeDDoSNetCountResponse struct { *tchttp.BaseResponse Response *struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Statistics start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Metric. Valid values: [traffic (attack protocol traffic in KB), pkg (number of attack protocol packets), classnum (number of attack events)] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // `Key-Value` array. Valid values of `Key`: // If `MetricName` is `traffic`: // If `key` is `TcpKBSum`, it indicates the traffic of TCP packets in KB. // If `key` is `UdpKBSum`, it indicates the traffic of UDP packets in KB. // If `key` is `IcmpKBSum`, it indicates the traffic of ICMP packets in KB. // If `key` is `OtherKBSum`, it indicates the traffic of other packets in KB. // // If `MetricName` is `pkg`: // If `key` is `TcpPacketSum`, it indicates the number of TCP packets. // If `key` is `UdpPacketSum`, it indicates the number of UDP packets. // If `key` is `IcmpPacketSum`, it indicates the number of ICMP packets. // If `key` is `OtherPacketSum`, it indicates the number of other packets. // // If `MetricName` is `classnum`: // The value of `key` indicates the attack event type. When the `key` is `UNKNOWNFLOOD`, it indicates unknown attack events. 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 NewDescribeDDoSNetCountResponse ¶
func NewDescribeDDoSNetCountResponse() (response *DescribeDDoSNetCountResponse)
func (*DescribeDDoSNetCountResponse) FromJsonString ¶
func (r *DescribeDDoSNetCountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSNetCountResponse) ToJsonString ¶
func (r *DescribeDDoSNetCountResponse) ToJsonString() string
type DescribeDDoSNetEvInfoRequest ¶
type DescribeDDoSNetEvInfoRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Attack start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeDDoSNetEvInfoRequest ¶
func NewDescribeDDoSNetEvInfoRequest() (request *DescribeDDoSNetEvInfoRequest)
func (*DescribeDDoSNetEvInfoRequest) FromJsonString ¶
func (r *DescribeDDoSNetEvInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSNetEvInfoRequest) ToJsonString ¶
func (r *DescribeDDoSNetEvInfoRequest) ToJsonString() string
type DescribeDDoSNetEvInfoResponse ¶
type DescribeDDoSNetEvInfoResponse struct { *tchttp.BaseResponse Response *struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Attack start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of TCP attack packets TcpPacketSum *uint64 `json:"TcpPacketSum,omitempty" name:"TcpPacketSum"` // Traffic of TCP attacks in KB TcpKBSum *uint64 `json:"TcpKBSum,omitempty" name:"TcpKBSum"` // Number of UDP attack packets UdpPacketSum *uint64 `json:"UdpPacketSum,omitempty" name:"UdpPacketSum"` // Traffic of UDP attacks in KB UdpKBSum *uint64 `json:"UdpKBSum,omitempty" name:"UdpKBSum"` // Number of ICMP attack packets IcmpPacketSum *uint64 `json:"IcmpPacketSum,omitempty" name:"IcmpPacketSum"` // Traffic of ICMP attacks in KB IcmpKBSum *uint64 `json:"IcmpKBSum,omitempty" name:"IcmpKBSum"` // Number of other attack packets OtherPacketSum *uint64 `json:"OtherPacketSum,omitempty" name:"OtherPacketSum"` // Traffic of other attacks in KB OtherKBSum *uint64 `json:"OtherKBSum,omitempty" name:"OtherKBSum"` // Total attack traffic in KB TotalTraffic *uint64 `json:"TotalTraffic,omitempty" name:"TotalTraffic"` // Attack traffic bandwidth peak Mbps *uint64 `json:"Mbps,omitempty" name:"Mbps"` // Attack packet rate peak Pps *uint64 `json:"Pps,omitempty" name:"Pps"` // PCAP file download link PcapUrl []*string `json:"PcapUrl,omitempty" name:"PcapUrl"` // 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 NewDescribeDDoSNetEvInfoResponse ¶
func NewDescribeDDoSNetEvInfoResponse() (response *DescribeDDoSNetEvInfoResponse)
func (*DescribeDDoSNetEvInfoResponse) FromJsonString ¶
func (r *DescribeDDoSNetEvInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSNetEvInfoResponse) ToJsonString ¶
func (r *DescribeDDoSNetEvInfoResponse) ToJsonString() string
type DescribeDDoSNetEvListRequest ¶
type DescribeDDoSNetEvListRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeDDoSNetEvListRequest ¶
func NewDescribeDDoSNetEvListRequest() (request *DescribeDDoSNetEvListRequest)
func (*DescribeDDoSNetEvListRequest) FromJsonString ¶
func (r *DescribeDDoSNetEvListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSNetEvListRequest) ToJsonString ¶
func (r *DescribeDDoSNetEvListRequest) ToJsonString() string
type DescribeDDoSNetEvListResponse ¶
type DescribeDDoSNetEvListResponse struct { *tchttp.BaseResponse Response *struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // DDoS attack event list Data []*DDoSEventRecord `json:"Data,omitempty" name:"Data"` // Total number of records Total *uint64 `json:"Total,omitempty" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSNetEvListResponse ¶
func NewDescribeDDoSNetEvListResponse() (response *DescribeDDoSNetEvListResponse)
func (*DescribeDDoSNetEvListResponse) FromJsonString ¶
func (r *DescribeDDoSNetEvListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSNetEvListResponse) ToJsonString ¶
func (r *DescribeDDoSNetEvListResponse) ToJsonString() string
type DescribeDDoSNetIpLogRequest ¶
type DescribeDDoSNetIpLogRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Attack start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeDDoSNetIpLogRequest ¶
func NewDescribeDDoSNetIpLogRequest() (request *DescribeDDoSNetIpLogRequest)
func (*DescribeDDoSNetIpLogRequest) FromJsonString ¶
func (r *DescribeDDoSNetIpLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSNetIpLogRequest) ToJsonString ¶
func (r *DescribeDDoSNetIpLogRequest) ToJsonString() string
type DescribeDDoSNetIpLogResponse ¶
type DescribeDDoSNetIpLogResponse struct { *tchttp.BaseResponse Response *struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Attack start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // IP attack log, which is a `KeyValue` array. Valid values of `Key-Value`: // If `Key` is `LogTime`, `Value` indicates the IP log time // If `Key` is `LogMessage`, `Value` indicates the IP log content Data []*KeyValueRecord `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 NewDescribeDDoSNetIpLogResponse ¶
func NewDescribeDDoSNetIpLogResponse() (response *DescribeDDoSNetIpLogResponse)
func (*DescribeDDoSNetIpLogResponse) FromJsonString ¶
func (r *DescribeDDoSNetIpLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSNetIpLogResponse) ToJsonString ¶
func (r *DescribeDDoSNetIpLogResponse) ToJsonString() string
type DescribeDDoSNetTrendRequest ¶
type DescribeDDoSNetTrendRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID 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"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *uint64 `json:"Period,omitempty" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeDDoSNetTrendRequest ¶
func NewDescribeDDoSNetTrendRequest() (request *DescribeDDoSNetTrendRequest)
func (*DescribeDDoSNetTrendRequest) FromJsonString ¶
func (r *DescribeDDoSNetTrendRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSNetTrendRequest) ToJsonString ¶
func (r *DescribeDDoSNetTrendRequest) ToJsonString() string
type DescribeDDoSNetTrendResponse ¶
type DescribeDDoSNetTrendResponse struct { *tchttp.BaseResponse Response *struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID 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"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *uint64 `json:"Period,omitempty" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Value array Data []*uint64 `json:"Data,omitempty" name:"Data"` // Number of values Count *uint64 `json:"Count,omitempty" name:"Count"` // 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 NewDescribeDDoSNetTrendResponse ¶
func NewDescribeDDoSNetTrendResponse() (response *DescribeDDoSNetTrendResponse)
func (*DescribeDDoSNetTrendResponse) FromJsonString ¶
func (r *DescribeDDoSNetTrendResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSNetTrendResponse) ToJsonString ¶
func (r *DescribeDDoSNetTrendResponse) ToJsonString() string
type DescribeDDoSPolicyRequest ¶
type DescribeDDoSPolicyRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Resource ID, which is optional. If a value is entered, it indicates the advanced DDoS policy bound to the resource Id *string `json:"Id,omitempty" name:"Id"` }
func NewDescribeDDoSPolicyRequest ¶
func NewDescribeDDoSPolicyRequest() (request *DescribeDDoSPolicyRequest)
func (*DescribeDDoSPolicyRequest) FromJsonString ¶
func (r *DescribeDDoSPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSPolicyRequest) ToJsonString ¶
func (r *DescribeDDoSPolicyRequest) ToJsonString() string
type DescribeDDoSPolicyResponse ¶
type DescribeDDoSPolicyResponse struct { *tchttp.BaseResponse Response *struct { // Advanced DDoS policy list DDosPolicyList []*DDosPolicy `json:"DDosPolicyList,omitempty" name:"DDosPolicyList"` // 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 NewDescribeDDoSPolicyResponse ¶
func NewDescribeDDoSPolicyResponse() (response *DescribeDDoSPolicyResponse)
func (*DescribeDDoSPolicyResponse) FromJsonString ¶
func (r *DescribeDDoSPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSPolicyResponse) ToJsonString ¶
func (r *DescribeDDoSPolicyResponse) 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"` // Anti-DDoS instance IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Metric. Valid values: [bps (attack traffic bandwidth), pps (attack packet rate)] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *int64 `json:"Period,omitempty" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Resource instance ID. If `Business` is `basic`, this field is not required (because Anti-DDoS Basic has no resource 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 { // 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"` // Anti-DDoS instance ID // Note: this field may return null, indicating that no valid values can be obtained. Id *string `json:"Id,omitempty" name:"Id"` // Resource IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Metric. Valid values: [bps (attack traffic bandwidth), pps (attack packet rate)] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *int64 `json:"Period,omitempty" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Statistics end time 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"` // Number of values Count *uint64 `json:"Count,omitempty" name:"Count"` // 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 DescribeDDoSUsedStatisRequest ¶
type DescribeDDoSUsedStatisRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitempty" name:"Business"` }
func NewDescribeDDoSUsedStatisRequest ¶
func NewDescribeDDoSUsedStatisRequest() (request *DescribeDDoSUsedStatisRequest)
func (*DescribeDDoSUsedStatisRequest) FromJsonString ¶
func (r *DescribeDDoSUsedStatisRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSUsedStatisRequest) ToJsonString ¶
func (r *DescribeDDoSUsedStatisRequest) ToJsonString() string
type DescribeDDoSUsedStatisResponse ¶
type DescribeDDoSUsedStatisResponse struct { *tchttp.BaseResponse Response *struct { // Field value as follows: // Days: number of days of Anti-DDoS resource use // Attacks: number of DDoS attacks 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 NewDescribeDDoSUsedStatisResponse ¶
func NewDescribeDDoSUsedStatisResponse() (response *DescribeDDoSUsedStatisResponse)
func (*DescribeDDoSUsedStatisResponse) FromJsonString ¶
func (r *DescribeDDoSUsedStatisResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSUsedStatisResponse) ToJsonString ¶
func (r *DescribeDDoSUsedStatisResponse) ToJsonString() string
type DescribeIPProductInfoRequest ¶
type DescribeIPProductInfoRequest 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"` // IP list IpList []*string `json:"IpList,omitempty" name:"IpList"` }
func NewDescribeIPProductInfoRequest ¶
func NewDescribeIPProductInfoRequest() (request *DescribeIPProductInfoRequest)
func (*DescribeIPProductInfoRequest) FromJsonString ¶
func (r *DescribeIPProductInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIPProductInfoRequest) ToJsonString ¶
func (r *DescribeIPProductInfoRequest) ToJsonString() string
type DescribeIPProductInfoResponse ¶
type DescribeIPProductInfoResponse struct { *tchttp.BaseResponse Response *struct { // Tencent Cloud product information list. If nothing is found, an empty array will be returned. Valid values: // If `Key` is ProductName, `value` indicates the name of a Tencent Cloud product instance; // If `Key` is `ProductInstanceId`, `value` indicates the ID of a Tencent Cloud product instance; // If `Key` is `ProductType`, `value` indicates the Tencent Cloud product type (cvm: CVM, clb: CLB); // If `Key` is `IP`, `value` indicates the IP of a Tencent Cloud product instance; Data []*KeyValueRecord `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 NewDescribeIPProductInfoResponse ¶
func NewDescribeIPProductInfoResponse() (response *DescribeIPProductInfoResponse)
func (*DescribeIPProductInfoResponse) FromJsonString ¶
func (r *DescribeIPProductInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIPProductInfoResponse) ToJsonString ¶
func (r *DescribeIPProductInfoResponse) ToJsonString() string
type DescribeInsurePacksRequest ¶
type DescribeInsurePacksRequest struct { *tchttp.BaseRequest // Guarantee package ID, which is optional. If you need to get the guarantee package with a specified ID (such as insure-000000xe), please use this field IdList []*string `json:"IdList,omitempty" name:"IdList"` }
func NewDescribeInsurePacksRequest ¶
func NewDescribeInsurePacksRequest() (request *DescribeInsurePacksRequest)
func (*DescribeInsurePacksRequest) FromJsonString ¶
func (r *DescribeInsurePacksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInsurePacksRequest) ToJsonString ¶
func (r *DescribeInsurePacksRequest) ToJsonString() string
type DescribeInsurePacksResponse ¶
type DescribeInsurePacksResponse struct { *tchttp.BaseResponse Response *struct { // Guarantee package list InsurePacks []*KeyValueRecord `json:"InsurePacks,omitempty" name:"InsurePacks"` // 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 NewDescribeInsurePacksResponse ¶
func NewDescribeInsurePacksResponse() (response *DescribeInsurePacksResponse)
func (*DescribeInsurePacksResponse) FromJsonString ¶
func (r *DescribeInsurePacksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInsurePacksResponse) ToJsonString ¶
func (r *DescribeInsurePacksResponse) ToJsonString() string
type DescribeIpBlockListRequest ¶
type DescribeIpBlockListRequest struct {
*tchttp.BaseRequest
}
func NewDescribeIpBlockListRequest ¶
func NewDescribeIpBlockListRequest() (request *DescribeIpBlockListRequest)
func (*DescribeIpBlockListRequest) FromJsonString ¶
func (r *DescribeIpBlockListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIpBlockListRequest) ToJsonString ¶
func (r *DescribeIpBlockListRequest) ToJsonString() string
type DescribeIpBlockListResponse ¶
type DescribeIpBlockListResponse struct { *tchttp.BaseResponse Response *struct { // Blocked IP list List []*IpBlockData `json:"List,omitempty" name:"List"` // 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 NewDescribeIpBlockListResponse ¶
func NewDescribeIpBlockListResponse() (response *DescribeIpBlockListResponse)
func (*DescribeIpBlockListResponse) FromJsonString ¶
func (r *DescribeIpBlockListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIpBlockListResponse) ToJsonString ¶
func (r *DescribeIpBlockListResponse) ToJsonString() string
type DescribeIpUnBlockListRequest ¶
type DescribeIpUnBlockListRequest struct { *tchttp.BaseRequest // Start time BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // IP (if this field is not empty, IP filtering will be performed) Ip *string `json:"Ip,omitempty" name:"Ip"` // Pagination parameter (paginated query will be performed if this field is not empty). This field will be disused in the future. Please use the `Limit` and `Offset` fields instead; Paging *Paging `json:"Paging,omitempty" name:"Paging"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeIpUnBlockListRequest ¶
func NewDescribeIpUnBlockListRequest() (request *DescribeIpUnBlockListRequest)
func (*DescribeIpUnBlockListRequest) FromJsonString ¶
func (r *DescribeIpUnBlockListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIpUnBlockListRequest) ToJsonString ¶
func (r *DescribeIpUnBlockListRequest) ToJsonString() string
type DescribeIpUnBlockListResponse ¶
type DescribeIpUnBlockListResponse struct { *tchttp.BaseResponse Response *struct { // Start time BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // IP unblocking record List []*IpUnBlockData `json:"List,omitempty" name:"List"` // Total number of records Total *uint64 `json:"Total,omitempty" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeIpUnBlockListResponse ¶
func NewDescribeIpUnBlockListResponse() (response *DescribeIpUnBlockListResponse)
func (*DescribeIpUnBlockListResponse) FromJsonString ¶
func (r *DescribeIpUnBlockListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIpUnBlockListResponse) ToJsonString ¶
func (r *DescribeIpUnBlockListResponse) ToJsonString() string
type DescribeL4HealthConfigRequest ¶
type DescribeL4HealthConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Rule ID array. To export the health check configurations of all rules, leave this field empty or enter an empty array; RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList"` }
func NewDescribeL4HealthConfigRequest ¶
func NewDescribeL4HealthConfigRequest() (request *DescribeL4HealthConfigRequest)
func (*DescribeL4HealthConfigRequest) FromJsonString ¶
func (r *DescribeL4HealthConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeL4HealthConfigRequest) ToJsonString ¶
func (r *DescribeL4HealthConfigRequest) ToJsonString() string
type DescribeL4HealthConfigResponse ¶
type DescribeL4HealthConfigResponse struct { *tchttp.BaseResponse Response *struct { // Layer-4 health check configuration array HealthConfig []*L4HealthConfig `json:"HealthConfig,omitempty" name:"HealthConfig"` // 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 NewDescribeL4HealthConfigResponse ¶
func NewDescribeL4HealthConfigResponse() (response *DescribeL4HealthConfigResponse)
func (*DescribeL4HealthConfigResponse) FromJsonString ¶
func (r *DescribeL4HealthConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeL4HealthConfigResponse) ToJsonString ¶
func (r *DescribeL4HealthConfigResponse) ToJsonString() string
type DescribeL4RulesErrHealthRequest ¶
type DescribeL4RulesErrHealthRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` }
func NewDescribeL4RulesErrHealthRequest ¶
func NewDescribeL4RulesErrHealthRequest() (request *DescribeL4RulesErrHealthRequest)
func (*DescribeL4RulesErrHealthRequest) FromJsonString ¶
func (r *DescribeL4RulesErrHealthRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeL4RulesErrHealthRequest) ToJsonString ¶
func (r *DescribeL4RulesErrHealthRequest) ToJsonString() string
type DescribeL4RulesErrHealthResponse ¶
type DescribeL4RulesErrHealthResponse struct { *tchttp.BaseResponse Response *struct { // Total number of exceptional rules Total *uint64 `json:"Total,omitempty" name:"Total"` // Exceptional rule list. Returned value description: `Key` is the rule ID, while `Value` is the exceptional IP. Multiple IPs are separated by "," ErrHealths []*KeyValue `json:"ErrHealths,omitempty" name:"ErrHealths"` // Exceptional rule list (which provides more error-related information). Returned value description: // If `key` is `RuleId`, `Value` indicates the rule ID; // If `key` is `Protocol`, `Value` indicates the forwarding protocol of a rule; // If `key` is `VirtualPort`, `Value` indicates the forwarding port of a rule; // If `Key` is `ErrMessage`, `Value` indicates the exception message for health check; // Exception message for health check in the format of `"SourceIp:1.1.1.1|SourcePort:1234|AbnormalStatTime:1570689065|AbnormalReason:connection time out|Interval:20|CheckNum:6|FailNum:6"`. Multiple error messages for the source IP should be separated by `,`, // SourceIp: real server IP, SourcePort: real server port, AbnormalStatTime: exception time, AbnormalReason: cause of exception, Interval: check frequency, CheckNum: number of checks, FailNum: number of failures; ExtErrHealths []*KeyValueRecord `json:"ExtErrHealths,omitempty" name:"ExtErrHealths"` // 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 NewDescribeL4RulesErrHealthResponse ¶
func NewDescribeL4RulesErrHealthResponse() (response *DescribeL4RulesErrHealthResponse)
func (*DescribeL4RulesErrHealthResponse) FromJsonString ¶
func (r *DescribeL4RulesErrHealthResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeL4RulesErrHealthResponse) ToJsonString ¶
func (r *DescribeL4RulesErrHealthResponse) ToJsonString() string
type DescribeL7HealthConfigRequest ¶
type DescribeL7HealthConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Rule ID array. To export the health check configurations of all rules, leave this field empty or enter an empty array; RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList"` }
func NewDescribeL7HealthConfigRequest ¶
func NewDescribeL7HealthConfigRequest() (request *DescribeL7HealthConfigRequest)
func (*DescribeL7HealthConfigRequest) FromJsonString ¶
func (r *DescribeL7HealthConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeL7HealthConfigRequest) ToJsonString ¶
func (r *DescribeL7HealthConfigRequest) ToJsonString() string
type DescribeL7HealthConfigResponse ¶
type DescribeL7HealthConfigResponse struct { *tchttp.BaseResponse Response *struct { // Layer-7 health check configuration array HealthConfig []*L7HealthConfig `json:"HealthConfig,omitempty" name:"HealthConfig"` // 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 NewDescribeL7HealthConfigResponse ¶
func NewDescribeL7HealthConfigResponse() (response *DescribeL7HealthConfigResponse)
func (*DescribeL7HealthConfigResponse) FromJsonString ¶
func (r *DescribeL7HealthConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeL7HealthConfigResponse) ToJsonString ¶
func (r *DescribeL7HealthConfigResponse) ToJsonString() string
type DescribePackIndexRequest ¶
type DescribePackIndexRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced, `bgp`: Anti-DDoS Pro (single IP), `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` }
func NewDescribePackIndexRequest ¶
func NewDescribePackIndexRequest() (request *DescribePackIndexRequest)
func (*DescribePackIndexRequest) FromJsonString ¶
func (r *DescribePackIndexRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePackIndexRequest) ToJsonString ¶
func (r *DescribePackIndexRequest) ToJsonString() string
type DescribePackIndexResponse ¶
type DescribePackIndexResponse struct { *tchttp.BaseResponse Response *struct { // Field value as follows: // TotalPackCount: number of resources // AttackPackCount: number of resources being cleansed // BlockPackCount: number of blocked resources // ExpiredPackCount: number of expired resources // ExpireingPackCount: number of expiring resources // IsolatePackCount: number of isolated resources 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 NewDescribePackIndexResponse ¶
func NewDescribePackIndexResponse() (response *DescribePackIndexResponse)
func (*DescribePackIndexResponse) FromJsonString ¶
func (r *DescribePackIndexResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePackIndexResponse) ToJsonString ¶
func (r *DescribePackIndexResponse) ToJsonString() string
type DescribePcapRequest ¶
type DescribePcapRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Attack event start time in the format of "2018-08-28 07:00:00" StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Attack event end time in the format of "2018-08-28 07:02:00" EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Resource IP, which is required only if `Business` is `net`; Ip *string `json:"Ip,omitempty" name:"Ip"` }
func NewDescribePcapRequest ¶
func NewDescribePcapRequest() (request *DescribePcapRequest)
func (*DescribePcapRequest) FromJsonString ¶
func (r *DescribePcapRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePcapRequest) ToJsonString ¶
func (r *DescribePcapRequest) ToJsonString() string
type DescribePcapResponse ¶
type DescribePcapResponse struct { *tchttp.BaseResponse Response *struct { // PCAP packet download link list, which is an empty array if there are no PCAP packets; PcapUrlList []*string `json:"PcapUrlList,omitempty" name:"PcapUrlList"` // 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 NewDescribePcapResponse ¶
func NewDescribePcapResponse() (response *DescribePcapResponse)
func (*DescribePcapResponse) FromJsonString ¶
func (r *DescribePcapResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePcapResponse) ToJsonString ¶
func (r *DescribePcapResponse) ToJsonString() string
type DescribePolicyCaseRequest ¶
type DescribePolicyCaseRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Policy scenario ID SceneId *string `json:"SceneId,omitempty" name:"SceneId"` }
func NewDescribePolicyCaseRequest ¶
func NewDescribePolicyCaseRequest() (request *DescribePolicyCaseRequest)
func (*DescribePolicyCaseRequest) FromJsonString ¶
func (r *DescribePolicyCaseRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePolicyCaseRequest) ToJsonString ¶
func (r *DescribePolicyCaseRequest) ToJsonString() string
type DescribePolicyCaseResponse ¶
type DescribePolicyCaseResponse struct { *tchttp.BaseResponse Response *struct { // Policy scenario list CaseList []*KeyValueRecord `json:"CaseList,omitempty" name:"CaseList"` // 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 NewDescribePolicyCaseResponse ¶
func NewDescribePolicyCaseResponse() (response *DescribePolicyCaseResponse)
func (*DescribePolicyCaseResponse) FromJsonString ¶
func (r *DescribePolicyCaseResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePolicyCaseResponse) ToJsonString ¶
func (r *DescribePolicyCaseResponse) ToJsonString() string
type DescribeResIpListRequest ¶
type DescribeResIpListRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Resource ID. If this field is left empty, it means to get all resources IP of the current user IdList []*string `json:"IdList,omitempty" name:"IdList"` }
func NewDescribeResIpListRequest ¶
func NewDescribeResIpListRequest() (request *DescribeResIpListRequest)
func (*DescribeResIpListRequest) FromJsonString ¶
func (r *DescribeResIpListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResIpListRequest) ToJsonString ¶
func (r *DescribeResIpListRequest) ToJsonString() string
type DescribeResIpListResponse ¶
type DescribeResIpListResponse struct { *tchttp.BaseResponse Response *struct { // Resource IP list Resource []*ResourceIp `json:"Resource,omitempty" name:"Resource"` // 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 NewDescribeResIpListResponse ¶
func NewDescribeResIpListResponse() (response *DescribeResIpListResponse)
func (*DescribeResIpListResponse) FromJsonString ¶
func (r *DescribeResIpListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResIpListResponse) ToJsonString ¶
func (r *DescribeResIpListResponse) ToJsonString() string
type DescribeResourceListRequest ¶
type DescribeResourceListRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS Pro (multi-IP), `bgpip`: Anti-DDoS Advanced, `net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Region code search, which is optional. If no regions are to be specified, enter an empty array. If a region is to be specified, enter a region code, such as ["gz", "sh"] RegionList []*string `json:"RegionList,omitempty" name:"RegionList"` // Line search. This field can be optionally entered only when getting the list of Anti-DDoS Advanced resources. Valid values: [1 (BGP line), 2 (Nanjing Telecom), 3 (Nanjing Unicom), 99 (third-party partner line)]. Please enter an empty array when getting other products; Line []*uint64 `json:"Line,omitempty" name:"Line"` // Resource ID search, which is optional. If this field is not an empty array, it means to get the resource list of a specified resource; IdList []*string `json:"IdList,omitempty" name:"IdList"` // Resource name search, which is optional. If this field is not an empty string, it means to search for resources by name; Name *string `json:"Name,omitempty" name:"Name"` // IP query list, which is optional. Resources will be queried by IP if the list is not empty. IpList []*string `json:"IpList,omitempty" name:"IpList"` // Resource status search list, which is optional. Valid values: [0 (running), 1 (cleansing), 2 (blocking)]. No status search will be performed if an empty array is entered; Status []*uint64 `json:"Status,omitempty" name:"Status"` // Expiring resource search, which is optional. Valid values: [0 (no search), 1 (search for expiring resources)] Expire *uint64 `json:"Expire,omitempty" name:"Expire"` // Sort by field, which is optional OderBy []*OrderBy `json:"OderBy,omitempty" name:"OderBy"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // CNAME of Anti-DDoS Ultimate resource, which is optional and only valid for the Anti-DDoS Ultimate resource list; CName *string `json:"CName,omitempty" name:"CName"` // Domain name of Anti-DDoS Ultimate resource, which is optional and only valid for the Anti-DDoS Ultimate resource list; Domain *string `json:"Domain,omitempty" name:"Domain"` }
func NewDescribeResourceListRequest ¶
func NewDescribeResourceListRequest() (request *DescribeResourceListRequest)
func (*DescribeResourceListRequest) FromJsonString ¶
func (r *DescribeResourceListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceListRequest) ToJsonString ¶
func (r *DescribeResourceListRequest) ToJsonString() string
type DescribeResourceListResponse ¶
type DescribeResourceListResponse struct { *tchttp.BaseResponse Response *struct { // Total number of records Total *uint64 `json:"Total,omitempty" name:"Total"` // Resource record list. The description of key values is as follows: // "Key": "CreateTime" (Instance purchase time) // "Key": "Region" (Instance region) // "Key": "BoundIP" (IP bound to the single-IP instance) // "Key": "Id" (Instance ID) // "Key": "CCEnabled" (CC protection switch status of the instance) // "Key": "DDoSThreshold" (Anti-DDoS cleansing threshold of the instance) // "Key": "BoundStatus" (IP binding status of the single-IP/multi-IP instance; binding or bound) // "Key": "Type" (Disused field) // "Key": "ElasticLimit" (Elastic protection value of the instance) // "Key": "DDoSAI" (Anti-DDoS AI protection switch of the instance) // "Key": "OverloadCount" (The number of attacks exceeding the elastic protection value to the instance) // "Key": "Status" (Instance status; idle: running; attacking: under attacks; blocking: being blocked; isolate: being isolated) // "Key": "Lbid" (Disused field) // "Key": "ShowFlag" (Disused field) // "Key": "Expire" (Instance expiry time) // "Key": "CCThreshold" (CC protection trigger value of the instance) // "Key": "AutoRenewFlag" (Whether the instance is on auto-renewal) // "Key": "IspCode" (Line of the single-IP/multi-IP instance; 0: China Telecom; 1: China Unicom; 2: China Mobile; 5: BGP) // "Key": "PackType" (Package type) // "Key": "PackId" (Package ID) // "Key": "Name" (Instance name) // "Key": "Locked" (Disused field) // "Key": "IpDDoSLevel" (Protection level of the instance; low: loose; middle: normal; high: strict) // "Key": "DefendStatus" (DDoS protection status of the instance; enabled or temporarily disabled) // "Key": "UndefendExpire" (End time of the temporary disabling on DDoS protection for the instance) // "Key": "Tgw" (Whether it is a new instance) // "Key": "Bandwidth" (Base protection value of the Anti-DDoS Pro/Advanced instance) // "Key": "DdosMax" (Base protection value of the Anti-DDoS Ultimate instance) // "Key": "GFBandwidth" (Base business application bandwidth of the Anti-DDoS Advanced instance) // "Key": "ServiceBandwidth" (Base business application bandwidth of the Anti-DDoS Ultimate instance) ServicePacks []*KeyValueRecord `json:"ServicePacks,omitempty" name:"ServicePacks"` // Anti-DDoS service type. `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS Pro (multi-IP), `bgpip`: Anti-DDoS Advanced, `net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // 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 NewDescribeResourceListResponse ¶
func NewDescribeResourceListResponse() (response *DescribeResourceListResponse)
func (*DescribeResourceListResponse) FromJsonString ¶
func (r *DescribeResourceListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceListResponse) ToJsonString ¶
func (r *DescribeResourceListResponse) ToJsonString() string
type DescribeRuleSetsRequest ¶
type DescribeRuleSetsRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Resource ID list IdList []*string `json:"IdList,omitempty" name:"IdList"` }
func NewDescribeRuleSetsRequest ¶
func NewDescribeRuleSetsRequest() (request *DescribeRuleSetsRequest)
func (*DescribeRuleSetsRequest) FromJsonString ¶
func (r *DescribeRuleSetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRuleSetsRequest) ToJsonString ¶
func (r *DescribeRuleSetsRequest) ToJsonString() string
type DescribeRuleSetsResponse ¶
type DescribeRuleSetsResponse struct { *tchttp.BaseResponse Response *struct { // Rule record array. Valid values: // If `Key` is "Id", `Value` indicates the resource ID // If `Key` is "RuleIdList", `Value` indicates the resource rule ID. Multiple rule IDs are separated by "," // If `Key` is "RuleNameList", `Value` indicates the resource rule name. Multiple rule names are separated by "," // If `Key` is "RuleNum", `Value` indicates the number of resource rules L4RuleSets []*KeyValueRecord `json:"L4RuleSets,omitempty" name:"L4RuleSets"` // Rule record array. Valid values: // If `Key` is "Id", `Value` indicates the resource ID // If `Key` is "RuleIdList", `Value` indicates the resource rule ID. Multiple rule IDs are separated by "," // If `Key` is "RuleNameList", `Value` indicates the resource rule name. Multiple rule names are separated by "," // If `Key` is "RuleNum", `Value` indicates the number of resource rules L7RuleSets []*KeyValueRecord `json:"L7RuleSets,omitempty" name:"L7RuleSets"` // 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 NewDescribeRuleSetsResponse ¶
func NewDescribeRuleSetsResponse() (response *DescribeRuleSetsResponse)
func (*DescribeRuleSetsResponse) FromJsonString ¶
func (r *DescribeRuleSetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRuleSetsResponse) ToJsonString ¶
func (r *DescribeRuleSetsResponse) ToJsonString() string
type DescribeSchedulingDomainListRequest ¶
type DescribeSchedulingDomainListRequest struct { *tchttp.BaseRequest // Number of items in a page. Returned results are not paged if you enter '0'. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Starting offset of the page. Value: (number of pages - 1) * items per page Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // (Optional) Filter by specific domain name Domain *string `json:"Domain,omitempty" name:"Domain"` }
func NewDescribeSchedulingDomainListRequest ¶
func NewDescribeSchedulingDomainListRequest() (request *DescribeSchedulingDomainListRequest)
func (*DescribeSchedulingDomainListRequest) FromJsonString ¶
func (r *DescribeSchedulingDomainListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSchedulingDomainListRequest) ToJsonString ¶
func (r *DescribeSchedulingDomainListRequest) ToJsonString() string
type DescribeSchedulingDomainListResponse ¶
type DescribeSchedulingDomainListResponse struct { *tchttp.BaseResponse Response *struct { // Total number of scheduling domain names Total *uint64 `json:"Total,omitempty" name:"Total"` // List of scheduling domain names DomainList []*SchedulingDomain `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 NewDescribeSchedulingDomainListResponse ¶
func NewDescribeSchedulingDomainListResponse() (response *DescribeSchedulingDomainListResponse)
func (*DescribeSchedulingDomainListResponse) FromJsonString ¶
func (r *DescribeSchedulingDomainListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSchedulingDomainListResponse) ToJsonString ¶
func (r *DescribeSchedulingDomainListResponse) ToJsonString() string
type DescribeSecIndexRequest ¶
type DescribeSecIndexRequest struct {
*tchttp.BaseRequest
}
func NewDescribeSecIndexRequest ¶
func NewDescribeSecIndexRequest() (request *DescribeSecIndexRequest)
func (*DescribeSecIndexRequest) FromJsonString ¶
func (r *DescribeSecIndexRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecIndexRequest) ToJsonString ¶
func (r *DescribeSecIndexRequest) ToJsonString() string
type DescribeSecIndexResponse ¶
type DescribeSecIndexResponse struct { *tchttp.BaseResponse Response *struct { // Field value as follows: // AttackIpCount: number of attacked IPs // AttackCount: number of attacks // BlockCount: number of blockings // MaxMbps: attack bandwidth peak in Mbps // IpNum: IP statistics Data []*KeyValue `json:"Data,omitempty" name:"Data"` // Start time of the current month BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"` // End time of the current month EndDate *string `json:"EndDate,omitempty" name:"EndDate"` // 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 NewDescribeSecIndexResponse ¶
func NewDescribeSecIndexResponse() (response *DescribeSecIndexResponse)
func (*DescribeSecIndexResponse) FromJsonString ¶
func (r *DescribeSecIndexResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecIndexResponse) ToJsonString ¶
func (r *DescribeSecIndexResponse) ToJsonString() string
type DescribeSourceIpSegmentRequest ¶
type DescribeSourceIpSegmentRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` }
func NewDescribeSourceIpSegmentRequest ¶
func NewDescribeSourceIpSegmentRequest() (request *DescribeSourceIpSegmentRequest)
func (*DescribeSourceIpSegmentRequest) FromJsonString ¶
func (r *DescribeSourceIpSegmentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSourceIpSegmentRequest) ToJsonString ¶
func (r *DescribeSourceIpSegmentRequest) ToJsonString() string
type DescribeSourceIpSegmentResponse ¶
type DescribeSourceIpSegmentResponse struct { *tchttp.BaseResponse Response *struct { // Intermediate IP range. Multiple values are separated by ";" Data *string `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 NewDescribeSourceIpSegmentResponse ¶
func NewDescribeSourceIpSegmentResponse() (response *DescribeSourceIpSegmentResponse)
func (*DescribeSourceIpSegmentResponse) FromJsonString ¶
func (r *DescribeSourceIpSegmentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSourceIpSegmentResponse) ToJsonString ¶
func (r *DescribeSourceIpSegmentResponse) ToJsonString() string
type DescribeTransmitStatisRequest ¶
type DescribeTransmitStatisRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced, `net`: Anti-DDoS Ultimate, `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"` // Metric name. Valid values: // traffic: traffic bandwidth; // pkg: packet rate; MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Statistical time granularity (300: 5-minute, 3600: hourly, 86400: daily) Period *uint64 `json:"Period,omitempty" name:"Period"` // Statistics start time. The second part is kept at 0, and the minute part is a multiple of 5 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Statistics end time. The second part is kept at 0, and the minute part is a multiple of 5 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Resource IP, which is required and only supports one IP if `Business` is `bgp-multip`. If this field is left empty, all IPs of a resource instance will be counted by default. If the resource instance has multiple IPs (such as Anti-DDoS Ultimate), the statistical method is summation; IpList []*string `json:"IpList,omitempty" name:"IpList"` }
func NewDescribeTransmitStatisRequest ¶
func NewDescribeTransmitStatisRequest() (request *DescribeTransmitStatisRequest)
func (*DescribeTransmitStatisRequest) FromJsonString ¶
func (r *DescribeTransmitStatisRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTransmitStatisRequest) ToJsonString ¶
func (r *DescribeTransmitStatisRequest) ToJsonString() string
type DescribeTransmitStatisResponse ¶
type DescribeTransmitStatisResponse struct { *tchttp.BaseResponse Response *struct { // If `MetricName` is `traffic`, this field indicates the inbound traffic bandwidth in bps; // If `MetricName` is `pkg`, this field indicates the inbound packet rate in pps; InDataList []*float64 `json:"InDataList,omitempty" name:"InDataList"` // If `MetricName` is `traffic`, this field indicates the outbound traffic bandwidth in bps; // If `MetricName` is `pkg`, this field indicates the outbound packet rate in pps; OutDataList []*float64 `json:"OutDataList,omitempty" name:"OutDataList"` // Metric name: // traffic: traffic bandwidth; // pkg: 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 NewDescribeTransmitStatisResponse ¶
func NewDescribeTransmitStatisResponse() (response *DescribeTransmitStatisResponse)
func (*DescribeTransmitStatisResponse) FromJsonString ¶
func (r *DescribeTransmitStatisResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTransmitStatisResponse) ToJsonString ¶
func (r *DescribeTransmitStatisResponse) ToJsonString() string
type DescribeUnBlockStatisRequest ¶
type DescribeUnBlockStatisRequest struct {
*tchttp.BaseRequest
}
func NewDescribeUnBlockStatisRequest ¶
func NewDescribeUnBlockStatisRequest() (request *DescribeUnBlockStatisRequest)
func (*DescribeUnBlockStatisRequest) FromJsonString ¶
func (r *DescribeUnBlockStatisRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUnBlockStatisRequest) ToJsonString ¶
func (r *DescribeUnBlockStatisRequest) ToJsonString() string
type DescribeUnBlockStatisResponse ¶
type DescribeUnBlockStatisResponse struct { *tchttp.BaseResponse Response *struct { // Total number of unblocking chances Total *uint64 `json:"Total,omitempty" name:"Total"` // Number of used chances Used *uint64 `json:"Used,omitempty" name:"Used"` // Statistics start time BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // Statistics end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 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 NewDescribeUnBlockStatisResponse ¶
func NewDescribeUnBlockStatisResponse() (response *DescribeUnBlockStatisResponse)
func (*DescribeUnBlockStatisResponse) FromJsonString ¶
func (r *DescribeUnBlockStatisResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUnBlockStatisResponse) ToJsonString ¶
func (r *DescribeUnBlockStatisResponse) ToJsonString() string
type DescribleL4RulesRequest ¶
type DescribleL4RulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Rule ID, which is optional. If this field is entered, the specified rule will be obtained RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribleL4RulesRequest ¶
func NewDescribleL4RulesRequest() (request *DescribleL4RulesRequest)
func (*DescribleL4RulesRequest) FromJsonString ¶
func (r *DescribleL4RulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribleL4RulesRequest) ToJsonString ¶
func (r *DescribleL4RulesRequest) ToJsonString() string
type DescribleL4RulesResponse ¶
type DescribleL4RulesResponse struct { *tchttp.BaseResponse Response *struct { // Forwarding rule list Rules []*L4RuleEntry `json:"Rules,omitempty" name:"Rules"` // Total number of rules Total *uint64 `json:"Total,omitempty" name:"Total"` // Health check configuration list Healths []*L4RuleHealth `json:"Healths,omitempty" name:"Healths"` // 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 NewDescribleL4RulesResponse ¶
func NewDescribleL4RulesResponse() (response *DescribleL4RulesResponse)
func (*DescribleL4RulesResponse) FromJsonString ¶
func (r *DescribleL4RulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribleL4RulesResponse) ToJsonString ¶
func (r *DescribleL4RulesResponse) ToJsonString() string
type DescribleL7RulesRequest ¶
type DescribleL7RulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Rule ID, which is optional. If this field is entered, the specified rule will be obtained RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Domain name search, which is optional. Enter it if you need to search for domain names Domain *string `json:"Domain,omitempty" name:"Domain"` // Forwarding protocol search, which is optional. Valid values: [http, https, http/https] ProtocolList []*string `json:"ProtocolList,omitempty" name:"ProtocolList"` // Status search, which is optional. Valid values: [0 (successfully configured rule), 1 (rule configuration taking effect), 2 (rule configuration failed), 3 (rule deletion taking effect), 5 (rule deletion failed), 6 (rule waiting for configuration), 7 (rule waiting for deletion), 8 (rule waiting for certificate configuration)] StatusList []*uint64 `json:"StatusList,omitempty" name:"StatusList"` }
func NewDescribleL7RulesRequest ¶
func NewDescribleL7RulesRequest() (request *DescribleL7RulesRequest)
func (*DescribleL7RulesRequest) FromJsonString ¶
func (r *DescribleL7RulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribleL7RulesRequest) ToJsonString ¶
func (r *DescribleL7RulesRequest) ToJsonString() string
type DescribleL7RulesResponse ¶
type DescribleL7RulesResponse struct { *tchttp.BaseResponse Response *struct { // Forwarding rule list Rules []*L7RuleEntry `json:"Rules,omitempty" name:"Rules"` // Total number of rules Total *uint64 `json:"Total,omitempty" name:"Total"` // Health check configuration list Healths []*L7RuleHealth `json:"Healths,omitempty" name:"Healths"` // 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 NewDescribleL7RulesResponse ¶
func NewDescribleL7RulesResponse() (response *DescribleL7RulesResponse)
func (*DescribleL7RulesResponse) FromJsonString ¶
func (r *DescribleL7RulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribleL7RulesResponse) ToJsonString ¶
func (r *DescribleL7RulesResponse) ToJsonString() string
type DescribleRegionCountRequest ¶
type DescribleRegionCountRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced, `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS Pro (multi-IP) Business *string `json:"Business,omitempty" name:"Business"` // Line search. Valid values: [1 (BGP line), 2 (Nanjing Telecom), 3 (Nanjing Unicom), 99 (third-party partner line)]. This field is valid only for Anti-DDoS Advanced and should be ignored for other product LineList []*uint64 `json:"LineList,omitempty" name:"LineList"` }
func NewDescribleRegionCountRequest ¶
func NewDescribleRegionCountRequest() (request *DescribleRegionCountRequest)
func (*DescribleRegionCountRequest) FromJsonString ¶
func (r *DescribleRegionCountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribleRegionCountRequest) ToJsonString ¶
func (r *DescribleRegionCountRequest) ToJsonString() string
type DescribleRegionCountResponse ¶
type DescribleRegionCountResponse struct { *tchttp.BaseResponse Response *struct { // Number of resource instances in region RegionList []*RegionInstanceCount `json:"RegionList,omitempty" name:"RegionList"` // 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 NewDescribleRegionCountResponse ¶
func NewDescribleRegionCountResponse() (response *DescribleRegionCountResponse)
func (*DescribleRegionCountResponse) FromJsonString ¶
func (r *DescribleRegionCountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribleRegionCountResponse) ToJsonString ¶
func (r *DescribleRegionCountResponse) ToJsonString() string
type HttpStatusMap ¶
type HttpStatusMap struct { // HTTP 2xx Status code Http2xx []*float64 `json:"Http2xx,omitempty" name:"Http2xx"` // HTTP 3xx Status code Http3xx []*float64 `json:"Http3xx,omitempty" name:"Http3xx"` // HTTP 404 Status code Http404 []*float64 `json:"Http404,omitempty" name:"Http404"` // HTTP 4xx Status code Http4xx []*float64 `json:"Http4xx,omitempty" name:"Http4xx"` // HTTP 5xx Status code Http5xx []*float64 `json:"Http5xx,omitempty" name:"Http5xx"` // HTTP 2xx Forwarding status code SourceHttp2xx []*float64 `json:"SourceHttp2xx,omitempty" name:"SourceHttp2xx"` // HTTP 3xx Forwarding status code SourceHttp3xx []*float64 `json:"SourceHttp3xx,omitempty" name:"SourceHttp3xx"` // HTTP 404 Forwarding status code SourceHttp404 []*float64 `json:"SourceHttp404,omitempty" name:"SourceHttp404"` // HTTP 4xx Forwarding status code SourceHttp4xx []*float64 `json:"SourceHttp4xx,omitempty" name:"SourceHttp4xx"` // HTTP 5xx Forwarding status code SourceHttp5xx []*float64 `json:"SourceHttp5xx,omitempty" name:"SourceHttp5xx"` }
type IpBlackWhite ¶
type IpBlockData ¶
type IpBlockData struct { // IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Status (Blocked: blocked, UnBlocking: unblocking, UnBlockFailed: unblocking failed) Status *string `json:"Status,omitempty" name:"Status"` // Blocked time BlockTime *string `json:"BlockTime,omitempty" name:"BlockTime"` // Unblocked time (estimated) UnBlockTime *string `json:"UnBlockTime,omitempty" name:"UnBlockTime"` // Type of the unblocking action (`user`: self-service unblocking, `auto`: automatic unblocking, `update`: unblocking by service upgrading, `bind`: unblocking by binding Anti-DDoS Pro instance) ActionType *string `json:"ActionType,omitempty" name:"ActionType"` }
type IpUnBlockData ¶
type IpUnBlockData struct { // IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Blocked time BlockTime *string `json:"BlockTime,omitempty" name:"BlockTime"` // Unblocked time (actual) UnBlockTime *string `json:"UnBlockTime,omitempty" name:"UnBlockTime"` // Type of the unblocking action (`user`: self-service unblocking, `auto`: automatic unblocking, `update`: unblocking by service upgrading, `bind`: unblocking by binding Anti-DDoS Pro instance) ActionType *string `json:"ActionType,omitempty" name:"ActionType"` }
type KeyValueRecord ¶
type KeyValueRecord struct { // Key-Value array of a record Record []*KeyValue `json:"Record,omitempty" name:"Record"` }
type L4HealthConfig ¶
type L4HealthConfig struct { // Forwarding protocol. Valid values: [TCP, UDP] Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Forwarding port VirtualPort *uint64 `json:"VirtualPort,omitempty" name:"VirtualPort"` // 1: enabled, 0: disabled Enable *uint64 `json:"Enable,omitempty" name:"Enable"` // Response timeout period in seconds TimeOut *uint64 `json:"TimeOut,omitempty" name:"TimeOut"` // Detection interval in seconds Interval *uint64 `json:"Interval,omitempty" name:"Interval"` // Unhealthy threshold in times. KickNum *uint64 `json:"KickNum,omitempty" name:"KickNum"` // Healthy threshold in times. AliveNum *uint64 `json:"AliveNum,omitempty" name:"AliveNum"` // Session persistence duration in seconds KeepTime *uint64 `json:"KeepTime,omitempty" name:"KeepTime"` }
type L4RuleEntry ¶
type L4RuleEntry struct { // Forwarding protocol. Valid values: [TCP, UDP] Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Forwarding port VirtualPort *uint64 `json:"VirtualPort,omitempty" name:"VirtualPort"` // Real server port SourcePort *uint64 `json:"SourcePort,omitempty" name:"SourcePort"` // Forwarding method. Valid values: [1 (forwarding via domain name), 2 (forwarding via IP)] SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"` // Session persistence duration in seconds KeepTime *uint64 `json:"KeepTime,omitempty" name:"KeepTime"` // Forward list SourceList []*L4RuleSource `json:"SourceList,omitempty" name:"SourceList"` // Load balancing method. Valid values: [1 (weighted round robin), 2 (source IP hash)] LbType *uint64 `json:"LbType,omitempty" name:"LbType"` // Session persistence status. Valid values: [0 (disabled), 1 (enabled)]; KeepEnable *uint64 `json:"KeepEnable,omitempty" name:"KeepEnable"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Rule description RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Watermark removal status. Valid values: [0 (disabled), 1 (enabled)] RemoveSwitch *uint64 `json:"RemoveSwitch,omitempty" name:"RemoveSwitch"` }
type L4RuleHealth ¶
type L4RuleHealth struct { // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // 1: enabled, 0: disabled Enable *uint64 `json:"Enable,omitempty" name:"Enable"` // Response timeout period in seconds TimeOut *uint64 `json:"TimeOut,omitempty" name:"TimeOut"` // Detection interval in seconds, which must be greater than the response timeout period Interval *uint64 `json:"Interval,omitempty" name:"Interval"` // Unhealthy threshold in times KickNum *uint64 `json:"KickNum,omitempty" name:"KickNum"` // Healthy threshold in times. AliveNum *uint64 `json:"AliveNum,omitempty" name:"AliveNum"` }
type L4RuleSource ¶
type L7HealthConfig ¶
type L7HealthConfig struct { // Forwarding protocol. Valid values: [http, https, http/https] Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Forwarding domain name Domain *string `json:"Domain,omitempty" name:"Domain"` // 1: enabled, 0: disabled Enable *uint64 `json:"Enable,omitempty" name:"Enable"` // Detection interval in seconds Interval *uint64 `json:"Interval,omitempty" name:"Interval"` // Number of exceptions in times KickNum *uint64 `json:"KickNum,omitempty" name:"KickNum"` // Number of health checks in times AliveNum *uint64 `json:"AliveNum,omitempty" name:"AliveNum"` // Health check detection method. Valid values: HEAD, GET. Default VALUE: HEAD Method *string `json:"Method,omitempty" name:"Method"` // Healthy status code during health check. xx = 1, 2xx = 2, 3xx = 4, 4xx = 8, 5xx = 16. Multiple status code values are added up StatusCode *uint64 `json:"StatusCode,omitempty" name:"StatusCode"` // URL of checked directory. Default value: / Url *string `json:"Url,omitempty" name:"Url"` }
type L7RuleEntry ¶
type L7RuleEntry struct { // Forwarding protocol. Valid values: [http, https] Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Forwarding domain name Domain *string `json:"Domain,omitempty" name:"Domain"` // Forwarding method. Valid values: [1 (forwarding via domain name), 2 (forwarding via IP)] SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"` // Session persistence duration in seconds KeepTime *uint64 `json:"KeepTime,omitempty" name:"KeepTime"` // Forward list SourceList []*L4RuleSource `json:"SourceList,omitempty" name:"SourceList"` // Load balancing method. Valid value: [1 (weighted round robin)] LbType *uint64 `json:"LbType,omitempty" name:"LbType"` // Session persistence status. Valid values: [0 (disabled), 1 (enabled)] KeepEnable *uint64 `json:"KeepEnable,omitempty" name:"KeepEnable"` // Rule ID, which is optional when adding a new rule but required when modifying or deleting a rule; RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Certificate source, which is required if the forwarding protocol is HTTPS. Valid value: [2 (Tencent Cloud-hosted certificate)]. If the forwarding protocol is HTTP, 0 can be entered for this field CertType *uint64 `json:"CertType,omitempty" name:"CertType"` // If the certificate is a Tencent Cloud-hosted certificate, this field must be entered with the hosted certificate ID SSLId *string `json:"SSLId,omitempty" name:"SSLId"` // If the certificate is an external certificate, this field must be entered with the certificate content. (As external certificates are no longer supported, this field has been disused and does not need to be entered) Cert *string `json:"Cert,omitempty" name:"Cert"` // If the certificate is an external certificate, this field must be entered with the certificate key. (As external certificates are no longer supported, this field has been disused and does not need to be entered) PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"` // Rule description RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Rule status. Valid values: [0 (successfully configured rule), 1 (rule configuration taking effect), 2 (rule configuration failed), 3 (rule deletion taking effect), 5 (rule deletion failed), 6 (rule waiting for configuration), 7 (rule waiting for deletion), 8 (rule waiting for certificate configuration)] Status *uint64 `json:"Status,omitempty" name:"Status"` // CC protection status. Valid values: [0 (disabled), 1 (enabled)] CCStatus *uint64 `json:"CCStatus,omitempty" name:"CCStatus"` // HTTPS CC protection status. Valid values: [0 (disabled), 1 (enabled)] CCEnable *uint64 `json:"CCEnable,omitempty" name:"CCEnable"` // HTTPS CC protection threshold CCThreshold *uint64 `json:"CCThreshold,omitempty" name:"CCThreshold"` // HTTPS CC protection level CCLevel *string `json:"CCLevel,omitempty" name:"CCLevel"` // Whether to enable **Forward HTTPS requests via HTTP**. Valid values: `0` (disabled) and `1` (enabled). The default value is disabled. HttpsToHttpEnable *uint64 `json:"HttpsToHttpEnable,omitempty" name:"HttpsToHttpEnable"` // Access port number. // Note: this field may return null, indicating that no valid values can be obtained. VirtualPort *uint64 `json:"VirtualPort,omitempty" name:"VirtualPort"` }
type L7RuleHealth ¶
type L7RuleHealth struct { // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // 1: enabled, 0: disabled Enable *uint64 `json:"Enable,omitempty" name:"Enable"` // Detection interval in seconds Interval *uint64 `json:"Interval,omitempty" name:"Interval"` // Unhealthy threshold in times. KickNum *uint64 `json:"KickNum,omitempty" name:"KickNum"` // Healthy threshold in times. AliveNum *uint64 `json:"AliveNum,omitempty" name:"AliveNum"` // HTTP request method. Valid values: [HEAD, GET] Method *string `json:"Method,omitempty" name:"Method"` // Healthy status code during health check. xx = 1, 2xx = 2, 3xx = 4, 4xx = 8, 5xx = 16. Multiple status code values are added up StatusCode *uint64 `json:"StatusCode,omitempty" name:"StatusCode"` // URL of checked directory. Default value: / Url *string `json:"Url,omitempty" name:"Url"` // Configuration status. 0: normal, 1: configuring, 2: configuration failed Status *uint64 `json:"Status,omitempty" name:"Status"` }
type ModifyCCAlarmThresholdRequest ¶
type ModifyCCAlarmThresholdRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`shield`: Chess Shield, `bgpip`: Anti-DDoS Advanced, `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS Pro (multi-IP), `net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID RsId *string `json:"RsId,omitempty" name:"RsId"` // Alarm threshold, which should be greater than 0 (currently scheduled value). It is set to 1000 on the backend by default AlarmThreshold *uint64 `json:"AlarmThreshold,omitempty" name:"AlarmThreshold"` // List of IPs associated with resource. If no Anti-DDoS Pro instance is bound, pass in an empty array. For Anti-DDoS Ultimate, pass in multiple IPs IpList []*string `json:"IpList,omitempty" name:"IpList"` }
func NewModifyCCAlarmThresholdRequest ¶
func NewModifyCCAlarmThresholdRequest() (request *ModifyCCAlarmThresholdRequest)
func (*ModifyCCAlarmThresholdRequest) FromJsonString ¶
func (r *ModifyCCAlarmThresholdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCAlarmThresholdRequest) ToJsonString ¶
func (r *ModifyCCAlarmThresholdRequest) ToJsonString() string
type ModifyCCAlarmThresholdResponse ¶
type ModifyCCAlarmThresholdResponse 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 NewModifyCCAlarmThresholdResponse ¶
func NewModifyCCAlarmThresholdResponse() (response *ModifyCCAlarmThresholdResponse)
func (*ModifyCCAlarmThresholdResponse) FromJsonString ¶
func (r *ModifyCCAlarmThresholdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCAlarmThresholdResponse) ToJsonString ¶
func (r *ModifyCCAlarmThresholdResponse) ToJsonString() string
type ModifyCCFrequencyRulesRequest ¶
type ModifyCCFrequencyRulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // CC access frequency control rule ID CCFrequencyRuleId *string `json:"CCFrequencyRuleId,omitempty" name:"CCFrequencyRuleId"` // Matching rule. Valid values: ["include" (prefix match), "equal" (exact match)] Mode *string `json:"Mode,omitempty" name:"Mode"` // Reference period in seconds. Valid values: [10, 30, 60] Period *uint64 `json:"Period,omitempty" name:"Period"` // Number of access requests. Value range: [1-10000] ReqNumber *uint64 `json:"ReqNumber,omitempty" name:"ReqNumber"` // Action take. Valid values: ["alg" (CAPTCHA), "drop" (blocking)] Act *string `json:"Act,omitempty" name:"Act"` // Execution duration in seconds. Valid range: [1-900] ExeDuration *uint64 `json:"ExeDuration,omitempty" name:"ExeDuration"` // URI string, which must start with `/`, such as `/abc/a.php`. Length limit: 31. If URI is `/`, only prefix match can be selected as the matching mode; Uri *string `json:"Uri,omitempty" name:"Uri"` // `User-Agent` string. Length limit: 80 UserAgent *string `json:"UserAgent,omitempty" name:"UserAgent"` // Cookie string. Length limit: 40 Cookie *string `json:"Cookie,omitempty" name:"Cookie"` }
func NewModifyCCFrequencyRulesRequest ¶
func NewModifyCCFrequencyRulesRequest() (request *ModifyCCFrequencyRulesRequest)
func (*ModifyCCFrequencyRulesRequest) FromJsonString ¶
func (r *ModifyCCFrequencyRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCFrequencyRulesRequest) ToJsonString ¶
func (r *ModifyCCFrequencyRulesRequest) ToJsonString() string
type ModifyCCFrequencyRulesResponse ¶
type ModifyCCFrequencyRulesResponse 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 NewModifyCCFrequencyRulesResponse ¶
func NewModifyCCFrequencyRulesResponse() (response *ModifyCCFrequencyRulesResponse)
func (*ModifyCCFrequencyRulesResponse) FromJsonString ¶
func (r *ModifyCCFrequencyRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCFrequencyRulesResponse) ToJsonString ¶
func (r *ModifyCCFrequencyRulesResponse) ToJsonString() string
type ModifyCCFrequencyRulesStatusRequest ¶
type ModifyCCFrequencyRulesStatusRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Layer-7 forwarding rule ID, which can be obtained through the `DescribleL7Rules` API RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Enables or disable. Valid values: ["on", "off"] Method *string `json:"Method,omitempty" name:"Method"` }
func NewModifyCCFrequencyRulesStatusRequest ¶
func NewModifyCCFrequencyRulesStatusRequest() (request *ModifyCCFrequencyRulesStatusRequest)
func (*ModifyCCFrequencyRulesStatusRequest) FromJsonString ¶
func (r *ModifyCCFrequencyRulesStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCFrequencyRulesStatusRequest) ToJsonString ¶
func (r *ModifyCCFrequencyRulesStatusRequest) ToJsonString() string
type ModifyCCFrequencyRulesStatusResponse ¶
type ModifyCCFrequencyRulesStatusResponse 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 NewModifyCCFrequencyRulesStatusResponse ¶
func NewModifyCCFrequencyRulesStatusResponse() (response *ModifyCCFrequencyRulesStatusResponse)
func (*ModifyCCFrequencyRulesStatusResponse) FromJsonString ¶
func (r *ModifyCCFrequencyRulesStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCFrequencyRulesStatusResponse) ToJsonString ¶
func (r *ModifyCCFrequencyRulesStatusResponse) ToJsonString() string
type ModifyCCHostProtectionRequest ¶
type ModifyCCHostProtectionRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Enables/disables CC domain name protection. Valid values: [open (enable), close (disable)] Method *string `json:"Method,omitempty" name:"Method"` }
func NewModifyCCHostProtectionRequest ¶
func NewModifyCCHostProtectionRequest() (request *ModifyCCHostProtectionRequest)
func (*ModifyCCHostProtectionRequest) FromJsonString ¶
func (r *ModifyCCHostProtectionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCHostProtectionRequest) ToJsonString ¶
func (r *ModifyCCHostProtectionRequest) ToJsonString() string
type ModifyCCHostProtectionResponse ¶
type ModifyCCHostProtectionResponse 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 NewModifyCCHostProtectionResponse ¶
func NewModifyCCHostProtectionResponse() (response *ModifyCCHostProtectionResponse)
func (*ModifyCCHostProtectionResponse) FromJsonString ¶
func (r *ModifyCCHostProtectionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCHostProtectionResponse) ToJsonString ¶
func (r *ModifyCCHostProtectionResponse) ToJsonString() string
type ModifyCCIpAllowDenyRequest ¶
type ModifyCCIpAllowDenyRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // add: add, delete: delete Method *string `json:"Method,omitempty" name:"Method"` // Blocklist/allowlist type. Valid values: [white (allowlist), black (blocklist)] Type *string `json:"Type,omitempty" name:"Type"` // Blocklisted/whitelisted IP array IpList []*string `json:"IpList,omitempty" name:"IpList"` // CC protection type, which is optional. Valid values: [http (HTTP CC protection), https (HTTPS CC protection)]; if this field is left empty, HTTPS CC protection will be used by default; if `https` is entered, the `Domain` and `RuleId` fields are required; Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // HTTPS layer-7 forwarding rule domain name (which is optional and can be obtained from the layer-7 forwarding rule API). This field is required only if `Protocol` is `https`; Domain *string `json:"Domain,omitempty" name:"Domain"` // HTTPS layer-7 forwarding rule ID (which is optional and can be obtained from the layer-7 forwarding rule API), // If `Method` is `delete`, this field can be left empty; RuleId *string `json:"RuleId,omitempty" name:"RuleId"` }
func NewModifyCCIpAllowDenyRequest ¶
func NewModifyCCIpAllowDenyRequest() (request *ModifyCCIpAllowDenyRequest)
func (*ModifyCCIpAllowDenyRequest) FromJsonString ¶
func (r *ModifyCCIpAllowDenyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCIpAllowDenyRequest) ToJsonString ¶
func (r *ModifyCCIpAllowDenyRequest) ToJsonString() string
type ModifyCCIpAllowDenyResponse ¶
type ModifyCCIpAllowDenyResponse 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 NewModifyCCIpAllowDenyResponse ¶
func NewModifyCCIpAllowDenyResponse() (response *ModifyCCIpAllowDenyResponse)
func (*ModifyCCIpAllowDenyResponse) FromJsonString ¶
func (r *ModifyCCIpAllowDenyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCIpAllowDenyResponse) ToJsonString ¶
func (r *ModifyCCIpAllowDenyResponse) ToJsonString() string
type ModifyCCLevelRequest ¶
type ModifyCCLevelRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // CC protection level. Valid values: [default (normal), loose (loose), strict (strict)]; Level *string `json:"Level,omitempty" name:"Level"` // CC protection type, which is optional. Valid values: [http (HTTP CC protection), https (HTTPS CC protection)]; if this field is left empty, HTTPS CC protection will be used by default; if `https` is entered, the `RuleId` field is required; Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Layer-7 forwarding rule ID (which can be obtained from the layer-7 forwarding rule API); RuleId *string `json:"RuleId,omitempty" name:"RuleId"` }
func NewModifyCCLevelRequest ¶
func NewModifyCCLevelRequest() (request *ModifyCCLevelRequest)
func (*ModifyCCLevelRequest) FromJsonString ¶
func (r *ModifyCCLevelRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCLevelRequest) ToJsonString ¶
func (r *ModifyCCLevelRequest) ToJsonString() string
type ModifyCCLevelResponse ¶
type ModifyCCLevelResponse 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 NewModifyCCLevelResponse ¶
func NewModifyCCLevelResponse() (response *ModifyCCLevelResponse)
func (*ModifyCCLevelResponse) FromJsonString ¶
func (r *ModifyCCLevelResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCLevelResponse) ToJsonString ¶
func (r *ModifyCCLevelResponse) ToJsonString() string
type ModifyCCPolicySwitchRequest ¶
type ModifyCCPolicySwitchRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Policy ID SetId *string `json:"SetId,omitempty" name:"SetId"` // Status Switch *uint64 `json:"Switch,omitempty" name:"Switch"` }
func NewModifyCCPolicySwitchRequest ¶
func NewModifyCCPolicySwitchRequest() (request *ModifyCCPolicySwitchRequest)
func (*ModifyCCPolicySwitchRequest) FromJsonString ¶
func (r *ModifyCCPolicySwitchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCPolicySwitchRequest) ToJsonString ¶
func (r *ModifyCCPolicySwitchRequest) ToJsonString() string
type ModifyCCPolicySwitchResponse ¶
type ModifyCCPolicySwitchResponse 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 NewModifyCCPolicySwitchResponse ¶
func NewModifyCCPolicySwitchResponse() (response *ModifyCCPolicySwitchResponse)
func (*ModifyCCPolicySwitchResponse) FromJsonString ¶
func (r *ModifyCCPolicySwitchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCPolicySwitchResponse) ToJsonString ¶
func (r *ModifyCCPolicySwitchResponse) ToJsonString() string
type ModifyCCSelfDefinePolicyRequest ¶
type ModifyCCSelfDefinePolicyRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Policy ID SetId *string `json:"SetId,omitempty" name:"SetId"` // Details of the CC protection policy Policy *CCPolicy `json:"Policy,omitempty" name:"Policy"` }
func NewModifyCCSelfDefinePolicyRequest ¶
func NewModifyCCSelfDefinePolicyRequest() (request *ModifyCCSelfDefinePolicyRequest)
func (*ModifyCCSelfDefinePolicyRequest) FromJsonString ¶
func (r *ModifyCCSelfDefinePolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCSelfDefinePolicyRequest) ToJsonString ¶
func (r *ModifyCCSelfDefinePolicyRequest) ToJsonString() string
type ModifyCCSelfDefinePolicyResponse ¶
type ModifyCCSelfDefinePolicyResponse 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 NewModifyCCSelfDefinePolicyResponse ¶
func NewModifyCCSelfDefinePolicyResponse() (response *ModifyCCSelfDefinePolicyResponse)
func (*ModifyCCSelfDefinePolicyResponse) FromJsonString ¶
func (r *ModifyCCSelfDefinePolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCSelfDefinePolicyResponse) ToJsonString ¶
func (r *ModifyCCSelfDefinePolicyResponse) ToJsonString() string
type ModifyCCThresholdRequest ¶
type ModifyCCThresholdRequest 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"` // CC protection threshold. Valid values: (0 100 150 240 350 480 550 700 850 1000 1500 2000 3000 5000 10000 20000); // If `Business` is Anti-DDoS Advanced or Anti-DDoS Ultimate, its maximum CC protection threshold is subject to the base protection bandwidth in the following way: // Base bandwidth: maximum CC protection threshold // 10: 20000, // 20: 40000, // 30: 70000, // 40: 100000, // 50: 150000, // 60: 200000, // 80: 250000, // 100: 300000, Threshold *uint64 `json:"Threshold,omitempty" name:"Threshold"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // CC protection type, which is optional. Valid values: [http (HTTP CC protection), https (HTTPS CC protection)]; if this field is left empty, HTTPS CC protection will be used by default; if `https` is entered, the `RuleId` field is required; Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // HTTPS layer-7 forwarding rule ID (which is optional and can be obtained from the layer-7 forwarding rule API); // Required if `Protocol` is `https`; RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Queried IP address (only provided by Anti-DDoS Basic), such as 1.1.1.1 BasicIp *string `json:"BasicIp,omitempty" name:"BasicIp"` // IP region (only provided for Anti-DDoS Basic). Valid values: region abbreviations such as gz, bj, sh, and hk BasicRegion *string `json:"BasicRegion,omitempty" name:"BasicRegion"` // Zone type (only provided for Anti-DDoS Basic). Valid values: public (public cloud zone), bm (BM zone), nat (NAT server zone), channel (internet channel). BasicBizType *string `json:"BasicBizType,omitempty" name:"BasicBizType"` // Device type (only provided for Anti-DDoS Basic). Valid values: cvm (CVM), clb (public CLB), lb (BM CLB), nat (NAT server), channel (internet channel). BasicDeviceType *string `json:"BasicDeviceType,omitempty" name:"BasicDeviceType"` // IPInstance Nat gateway (only provided for Anti-DDoS Basic), which is optional. (If the device type to be queried is a NAT server, this parameter is required, which can be obtained through the NAT resource query API) BasicIpInstance *string `json:"BasicIpInstance,omitempty" name:"BasicIpInstance"` // ISP line (only provided for Anti-DDoS Basic), which is optional. (If the device type to be queried is a NAT server, this parameter should be 5) BasicIspCode *uint64 `json:"BasicIspCode,omitempty" name:"BasicIspCode"` // This optional field must be specified when HTTPS protocol is used. Domain *string `json:"Domain,omitempty" name:"Domain"` }
func NewModifyCCThresholdRequest ¶
func NewModifyCCThresholdRequest() (request *ModifyCCThresholdRequest)
func (*ModifyCCThresholdRequest) FromJsonString ¶
func (r *ModifyCCThresholdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCThresholdRequest) ToJsonString ¶
func (r *ModifyCCThresholdRequest) ToJsonString() string
type ModifyCCThresholdResponse ¶
type ModifyCCThresholdResponse 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 NewModifyCCThresholdResponse ¶
func NewModifyCCThresholdResponse() (response *ModifyCCThresholdResponse)
func (*ModifyCCThresholdResponse) FromJsonString ¶
func (r *ModifyCCThresholdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCThresholdResponse) ToJsonString ¶
func (r *ModifyCCThresholdResponse) ToJsonString() string
type ModifyCCUrlAllowRequest ¶
type ModifyCCUrlAllowRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // add: add, delete: delete Method *string `json:"Method,omitempty" name:"Method"` // Blocklist/allowlist type. Valid value: [white (allowlist)] Type *string `json:"Type,omitempty" name:"Type"` // URL array. URL format: // http://domain name/cgi // https://domain name/cgi UrlList []*string `json:"UrlList,omitempty" name:"UrlList"` // CC protection type, which is optional. Valid values: [http (HTTP CC protection), https (HTTPS CC protection)]; if this field is left empty, HTTPS CC protection will be used by default; if `https` is entered, the `Domain` and `RuleId` fields are required; Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // HTTPS layer-7 forwarding rule domain name (which is optional and can be obtained from the layer-7 forwarding rule API). This field is required only if `Protocol` is `https`; Domain *string `json:"Domain,omitempty" name:"Domain"` // HTTPS layer-7 forwarding rule ID (which is optional and can be obtained from the layer-7 forwarding rule API). This field is required only when adding a rule and `Protocol` is `https`; // If `Method` is `delete`, this field can be left empty; RuleId *string `json:"RuleId,omitempty" name:"RuleId"` }
func NewModifyCCUrlAllowRequest ¶
func NewModifyCCUrlAllowRequest() (request *ModifyCCUrlAllowRequest)
func (*ModifyCCUrlAllowRequest) FromJsonString ¶
func (r *ModifyCCUrlAllowRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCUrlAllowRequest) ToJsonString ¶
func (r *ModifyCCUrlAllowRequest) ToJsonString() string
type ModifyCCUrlAllowResponse ¶
type ModifyCCUrlAllowResponse 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 NewModifyCCUrlAllowResponse ¶
func NewModifyCCUrlAllowResponse() (response *ModifyCCUrlAllowResponse)
func (*ModifyCCUrlAllowResponse) FromJsonString ¶
func (r *ModifyCCUrlAllowResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCUrlAllowResponse) ToJsonString ¶
func (r *ModifyCCUrlAllowResponse) ToJsonString() string
type ModifyDDoSAIStatusRequest ¶
type ModifyDDoSAIStatusRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // get (read AI protection status), set (modify AI protection status); Method *string `json:"Method,omitempty" name:"Method"` // AI protection status, which is required if `Method` is `set`. Valid values: [on, off]. DDoSAI *string `json:"DDoSAI,omitempty" name:"DDoSAI"` }
func NewModifyDDoSAIStatusRequest ¶
func NewModifyDDoSAIStatusRequest() (request *ModifyDDoSAIStatusRequest)
func (*ModifyDDoSAIStatusRequest) FromJsonString ¶
func (r *ModifyDDoSAIStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSAIStatusRequest) ToJsonString ¶
func (r *ModifyDDoSAIStatusRequest) ToJsonString() string
type ModifyDDoSAIStatusResponse ¶
type ModifyDDoSAIStatusResponse struct { *tchttp.BaseResponse Response *struct { // AI protection status. Valid values: [on, off] DDoSAI *string `json:"DDoSAI,omitempty" name:"DDoSAI"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // 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 NewModifyDDoSAIStatusResponse ¶
func NewModifyDDoSAIStatusResponse() (response *ModifyDDoSAIStatusResponse)
func (*ModifyDDoSAIStatusResponse) FromJsonString ¶
func (r *ModifyDDoSAIStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSAIStatusResponse) ToJsonString ¶
func (r *ModifyDDoSAIStatusResponse) ToJsonString() string
type ModifyDDoSAlarmThresholdRequest ¶
type ModifyDDoSAlarmThresholdRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`shield`: Chess Shield, `bgpip`: Anti-DDoS Advanced, `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS Pro (multi-IP), `net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID RsId *string `json:"RsId,omitempty" name:"RsId"` // Alarm threshold type. 0: not set, 1: inbound traffic, 2: cleansed traffic AlarmType *uint64 `json:"AlarmType,omitempty" name:"AlarmType"` // Alarm threshold, which should be greater than 0 (currently scheduled value) AlarmThreshold *uint64 `json:"AlarmThreshold,omitempty" name:"AlarmThreshold"` // List of IPs associated with resource. If no Anti-DDoS Pro instance is bound, pass in an empty array. For Anti-DDoS Ultimate, pass in multiple IPs IpList []*string `json:"IpList,omitempty" name:"IpList"` }
func NewModifyDDoSAlarmThresholdRequest ¶
func NewModifyDDoSAlarmThresholdRequest() (request *ModifyDDoSAlarmThresholdRequest)
func (*ModifyDDoSAlarmThresholdRequest) FromJsonString ¶
func (r *ModifyDDoSAlarmThresholdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSAlarmThresholdRequest) ToJsonString ¶
func (r *ModifyDDoSAlarmThresholdRequest) ToJsonString() string
type ModifyDDoSAlarmThresholdResponse ¶
type ModifyDDoSAlarmThresholdResponse 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 NewModifyDDoSAlarmThresholdResponse ¶
func NewModifyDDoSAlarmThresholdResponse() (response *ModifyDDoSAlarmThresholdResponse)
func (*ModifyDDoSAlarmThresholdResponse) FromJsonString ¶
func (r *ModifyDDoSAlarmThresholdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSAlarmThresholdResponse) ToJsonString ¶
func (r *ModifyDDoSAlarmThresholdResponse) ToJsonString() string
type ModifyDDoSDefendStatusRequest ¶
type ModifyDDoSDefendStatusRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS Pro (multi-IP), `bgpip`: Anti-DDoS Advanced, `net`: Anti-DDoS Ultimate, `basic`: Anti-DDoS Basic Business *string `json:"Business,omitempty" name:"Business"` // Protection status. Valid values: [0 (disabled), 1 (enabled)] Status *uint64 `json:"Status,omitempty" name:"Status"` // Disablement duration in hours. Valid values: [0, 1, 2, 3, 4, 5, 6]. If `Status` is `0` (indicating to disable), `Hour` must be greater than 0; Hour *int64 `json:"Hour,omitempty" name:"Hour"` // Resource ID, which is required if `Business` is not Anti-DDoS Basic; Id *string `json:"Id,omitempty" name:"Id"` // Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic; Ip *string `json:"Ip,omitempty" name:"Ip"` // Product type of IP, which is required only if `Business` is Anti-DDoS Basic. Valid values: [public (CVM), bm (BM), eni (ENI), vpngw (VPN Gateway), natgw (NAT Gateway), waf (WAF), fpc (finance product), gaap (GAAP), other (hosted IP)] BizType *string `json:"BizType,omitempty" name:"BizType"` // Product subtype of IP, which is required only if `Business` is Anti-DDoS Basic. Valid values: [cvm (CVM), lb (CLB), eni (ENI), vpngw (VPN), natgw (NAT), waf (WAF), fpc (finance), gaap (GAAP), other (hosted IP), eip (BM EIP)] DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // Resource instance ID of IP, which is required only if `Business` is Anti-DDoS Basic. This field is required when binding a new IP. For example, if it is an ENI IP, enter `ID(eni-*)` of the ENI for `InstanceId`; InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // This field is required only if `Business` is Anti-DDoS Basic, indicating the IP region. Valid values: // "bj": North China (Beijing) // "cd": Southwest China (Chengdu) // "cq": Southwest China (Chongqing) // "gz": South China (Guangzhou) // "gzopen": South China (Guangzhou Open) // "hk": Hong Kong (China) // "kr": Southeast Asia (Seoul) // "sh": East China (Shanghai) // "shjr": East China (Shanghai Finance) // "szjr": South China (Shenzhen Finance) // "sg": Southeast Asia (Singapore) // "th": Southeast Asia (Thailand) // "de": Europe (Germany) // "usw": West US (Silicon Valley) // "ca": North America (Toronto) // "jp": Japan // "hzec": Hangzhou // "in": India // "use": East US (Virginia) // "ru": Russia // "tpe": Taiwan (China) // "nj": Nanjing IPRegion *string `json:"IPRegion,omitempty" name:"IPRegion"` }
func NewModifyDDoSDefendStatusRequest ¶
func NewModifyDDoSDefendStatusRequest() (request *ModifyDDoSDefendStatusRequest)
func (*ModifyDDoSDefendStatusRequest) FromJsonString ¶
func (r *ModifyDDoSDefendStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSDefendStatusRequest) ToJsonString ¶
func (r *ModifyDDoSDefendStatusRequest) ToJsonString() string
type ModifyDDoSDefendStatusResponse ¶
type ModifyDDoSDefendStatusResponse 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 NewModifyDDoSDefendStatusResponse ¶
func NewModifyDDoSDefendStatusResponse() (response *ModifyDDoSDefendStatusResponse)
func (*ModifyDDoSDefendStatusResponse) FromJsonString ¶
func (r *ModifyDDoSDefendStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSDefendStatusResponse) ToJsonString ¶
func (r *ModifyDDoSDefendStatusResponse) ToJsonString() string
type ModifyDDoSLevelRequest ¶
type ModifyDDoSLevelRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // get (read protection level), set (modify protection level); Method *string `json:"Method,omitempty" name:"Method"` // Protection level, which is required if `Method` is `set`. Valid values: [low,middle,high] DDoSLevel *string `json:"DDoSLevel,omitempty" name:"DDoSLevel"` }
func NewModifyDDoSLevelRequest ¶
func NewModifyDDoSLevelRequest() (request *ModifyDDoSLevelRequest)
func (*ModifyDDoSLevelRequest) FromJsonString ¶
func (r *ModifyDDoSLevelRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSLevelRequest) ToJsonString ¶
func (r *ModifyDDoSLevelRequest) ToJsonString() string
type ModifyDDoSLevelResponse ¶
type ModifyDDoSLevelResponse struct { *tchttp.BaseResponse Response *struct { // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Protection level. Valid values: [low,middle,high] DDoSLevel *string `json:"DDoSLevel,omitempty" name:"DDoSLevel"` // 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 NewModifyDDoSLevelResponse ¶
func NewModifyDDoSLevelResponse() (response *ModifyDDoSLevelResponse)
func (*ModifyDDoSLevelResponse) FromJsonString ¶
func (r *ModifyDDoSLevelResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSLevelResponse) ToJsonString ¶
func (r *ModifyDDoSLevelResponse) ToJsonString() string
type ModifyDDoSPolicyCaseRequest ¶
type ModifyDDoSPolicyCaseRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Policy scenario ID SceneId *string `json:"SceneId,omitempty" name:"SceneId"` // Development platform. Valid values: [PC (PC client), MOBILE (mobile device), TV (TV), SERVER (server)] PlatformTypes []*string `json:"PlatformTypes,omitempty" name:"PlatformTypes"` // Category. Valid values: [WEB (website), GAME (game), APP (application), OTHER (other)] AppType *string `json:"AppType,omitempty" name:"AppType"` // Application protocol. Valid values: [tcp (TCP protocol), udp (UDP protocol), icmp (ICMP protocol), all (other protocols)] AppProtocols []*string `json:"AppProtocols,omitempty" name:"AppProtocols"` // TCP start port. Value range: (0, 65535] TcpSportStart *string `json:"TcpSportStart,omitempty" name:"TcpSportStart"` // TCP end port. Value range: (0, 65535). It must be greater than or equal to the TCP start port TcpSportEnd *string `json:"TcpSportEnd,omitempty" name:"TcpSportEnd"` // UDP start port. Value range: (0, 65535] UdpSportStart *string `json:"UdpSportStart,omitempty" name:"UdpSportStart"` // End UDP business port. Value range: (0, 65535). It must be greater than or equal to the start UDP business port UdpSportEnd *string `json:"UdpSportEnd,omitempty" name:"UdpSportEnd"` // Whether there are customers outside Mainland China. Valid values: [no, yes] HasAbroad *string `json:"HasAbroad,omitempty" name:"HasAbroad"` // Whether to actively initiate outbound TCP requests. Valid values: [no, yes] HasInitiateTcp *string `json:"HasInitiateTcp,omitempty" name:"HasInitiateTcp"` // Whether to actively initiate outbound UDP requests. Valid values: [no, yes] HasInitiateUdp *string `json:"HasInitiateUdp,omitempty" name:"HasInitiateUdp"` // Port that actively initiates TCP requests. Value range: (0, 65535] PeerTcpPort *string `json:"PeerTcpPort,omitempty" name:"PeerTcpPort"` // Port that actively initiates UDP requests. Value range: (0, 65535] PeerUdpPort *string `json:"PeerUdpPort,omitempty" name:"PeerUdpPort"` // Fixed feature code of TCP payload. String length limit: 512 TcpFootprint *string `json:"TcpFootprint,omitempty" name:"TcpFootprint"` // Fixed feature code of UDP payload. String length limit: 512 UdpFootprint *string `json:"UdpFootprint,omitempty" name:"UdpFootprint"` // Web business API URL WebApiUrl []*string `json:"WebApiUrl,omitempty" name:"WebApiUrl"` // Minimum length of TCP business packet. Value range: (0, 1500) MinTcpPackageLen *string `json:"MinTcpPackageLen,omitempty" name:"MinTcpPackageLen"` // Maximum length of TCP business packet. Value range: (0, 1500). It must be greater than or equal to the minimum length of TCP business packet MaxTcpPackageLen *string `json:"MaxTcpPackageLen,omitempty" name:"MaxTcpPackageLen"` // Minimum length of UDP business packet. Value range: (0, 1500) MinUdpPackageLen *string `json:"MinUdpPackageLen,omitempty" name:"MinUdpPackageLen"` // Maximum length of UDP business packet. Value range: (0, 1500). It must be greater than or equal to the minimum length of UDP business packet MaxUdpPackageLen *string `json:"MaxUdpPackageLen,omitempty" name:"MaxUdpPackageLen"` // Whether there are VPN businesses. Valid values: [no, yes] HasVPN *string `json:"HasVPN,omitempty" name:"HasVPN"` // TCP business port list. Individual ports and port ranges are supported, which should be in string type, such as 80,443,700-800,53,1000-3000 TcpPortList *string `json:"TcpPortList,omitempty" name:"TcpPortList"` // UDP business port list. Individual ports and port ranges are supported, which should be in string type, such as 80,443,700-800,53,1000-3000 UdpPortList *string `json:"UdpPortList,omitempty" name:"UdpPortList"` }
func NewModifyDDoSPolicyCaseRequest ¶
func NewModifyDDoSPolicyCaseRequest() (request *ModifyDDoSPolicyCaseRequest)
func (*ModifyDDoSPolicyCaseRequest) FromJsonString ¶
func (r *ModifyDDoSPolicyCaseRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSPolicyCaseRequest) ToJsonString ¶
func (r *ModifyDDoSPolicyCaseRequest) ToJsonString() string
type ModifyDDoSPolicyCaseResponse ¶
type ModifyDDoSPolicyCaseResponse 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 NewModifyDDoSPolicyCaseResponse ¶
func NewModifyDDoSPolicyCaseResponse() (response *ModifyDDoSPolicyCaseResponse)
func (*ModifyDDoSPolicyCaseResponse) FromJsonString ¶
func (r *ModifyDDoSPolicyCaseResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSPolicyCaseResponse) ToJsonString ¶
func (r *ModifyDDoSPolicyCaseResponse) ToJsonString() string
type ModifyDDoSPolicyNameRequest ¶
type ModifyDDoSPolicyNameRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Policy name Name *string `json:"Name,omitempty" name:"Name"` }
func NewModifyDDoSPolicyNameRequest ¶
func NewModifyDDoSPolicyNameRequest() (request *ModifyDDoSPolicyNameRequest)
func (*ModifyDDoSPolicyNameRequest) FromJsonString ¶
func (r *ModifyDDoSPolicyNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSPolicyNameRequest) ToJsonString ¶
func (r *ModifyDDoSPolicyNameRequest) ToJsonString() string
type ModifyDDoSPolicyNameResponse ¶
type ModifyDDoSPolicyNameResponse 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 NewModifyDDoSPolicyNameResponse ¶
func NewModifyDDoSPolicyNameResponse() (response *ModifyDDoSPolicyNameResponse)
func (*ModifyDDoSPolicyNameResponse) FromJsonString ¶
func (r *ModifyDDoSPolicyNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSPolicyNameResponse) ToJsonString ¶
func (r *ModifyDDoSPolicyNameResponse) ToJsonString() string
type ModifyDDoSPolicyRequest ¶
type ModifyDDoSPolicyRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Protocol disablement, which must be entered, and the array length must be 1 DropOptions []*DDoSPolicyDropOption `json:"DropOptions,omitempty" name:"DropOptions"` // Port disablement. If no ports are to be disabled, enter an empty array PortLimits []*DDoSPolicyPortLimit `json:"PortLimits,omitempty" name:"PortLimits"` // IP blocklist/allowlist. Enter an empty array if there is no IP blocklist/allowlist IpAllowDenys []*IpBlackWhite `json:"IpAllowDenys,omitempty" name:"IpAllowDenys"` // Packet filter. Enter an empty array if there are no packets to filter PacketFilters []*DDoSPolicyPacketFilter `json:"PacketFilters,omitempty" name:"PacketFilters"` // Watermarking policy parameter. Enter an empty array if the watermarking feature is not enabled. At most one watermarking policy can be passed in (that is, the size of the array cannot exceed 1) WaterPrint []*WaterPrintPolicy `json:"WaterPrint,omitempty" name:"WaterPrint"` }
func NewModifyDDoSPolicyRequest ¶
func NewModifyDDoSPolicyRequest() (request *ModifyDDoSPolicyRequest)
func (*ModifyDDoSPolicyRequest) FromJsonString ¶
func (r *ModifyDDoSPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSPolicyRequest) ToJsonString ¶
func (r *ModifyDDoSPolicyRequest) ToJsonString() string
type ModifyDDoSPolicyResponse ¶
type ModifyDDoSPolicyResponse 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 NewModifyDDoSPolicyResponse ¶
func NewModifyDDoSPolicyResponse() (response *ModifyDDoSPolicyResponse)
func (*ModifyDDoSPolicyResponse) FromJsonString ¶
func (r *ModifyDDoSPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSPolicyResponse) ToJsonString ¶
func (r *ModifyDDoSPolicyResponse) ToJsonString() string
type ModifyDDoSSwitchRequest ¶
type ModifyDDoSSwitchRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `basic`: Anti-DDoS Basic Business *string `json:"Business,omitempty" name:"Business"` // `get`: read DDoS protection status, `set`: modify DDoS protection status Method *string `json:"Method,omitempty" name:"Method"` // Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic; Ip *string `json:"Ip,omitempty" name:"Ip"` // Product type of IP, which is required only if `Business` is Anti-DDoS Basic. Valid values: [public (CVM), bm (BM), eni (ENI), vpngw (VPN Gateway), natgw (NAT Gateway), waf (WAF), fpc (finance product), gaap (GAAP), other (hosted IP)] BizType *string `json:"BizType,omitempty" name:"BizType"` // Product subtype of IP, which is required only if `Business` is Anti-DDoS Basic. Valid values: [cvm (CVM), lb (CLB), eni (ENI), vpngw (VPN), natgw (NAT), waf (WAF), fpc (finance), gaap (GAAP), other (hosted IP), eip (BM EIP)] DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // Resource instance ID of IP, which is required only if `Business` is Anti-DDoS Basic. This field is required when binding a new IP. For example, if it is an ENI IP, enter `ID(eni-*)` of the ENI for `InstanceId`; InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // This field is required only if `Business` is Anti-DDoS Basic, indicating the IP region. Valid values: // "bj": North China (Beijing) // "cd": Southwest China (Chengdu) // "cq": Southwest China (Chongqing) // "gz": South China (Guangzhou) // "gzopen": South China (Guangzhou Open) // "hk": Hong Kong (China) // "kr": Southeast Asia (Seoul) // "sh": East China (Shanghai) // "shjr": East China (Shanghai Finance) // "szjr": South China (Shenzhen Finance) // "sg": Southeast Asia (Singapore) // "th": Southeast Asia (Thailand) // "de": Europe (Germany) // "usw": West US (Silicon Valley) // "ca": North America (Toronto) // "jp": Japan // "hzec": Hangzhou // "in": India // "use": East US (Virginia) // "ru": Russia // "tpe": Taiwan (China) // "nj": Nanjing IPRegion *string `json:"IPRegion,omitempty" name:"IPRegion"` // Protection status value, which is optional. Valid values: [0 (disabled), 1 (enabled)]. If `Method` is `get`, this field can be left empty; Status *uint64 `json:"Status,omitempty" name:"Status"` }
func NewModifyDDoSSwitchRequest ¶
func NewModifyDDoSSwitchRequest() (request *ModifyDDoSSwitchRequest)
func (*ModifyDDoSSwitchRequest) FromJsonString ¶
func (r *ModifyDDoSSwitchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSSwitchRequest) ToJsonString ¶
func (r *ModifyDDoSSwitchRequest) ToJsonString() string
type ModifyDDoSSwitchResponse ¶
type ModifyDDoSSwitchResponse struct { *tchttp.BaseResponse Response *struct { // Current protection status value. Valid values: [0 (disabled), 1 (enabled)] Status *uint64 `json:"Status,omitempty" name:"Status"` // 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 NewModifyDDoSSwitchResponse ¶
func NewModifyDDoSSwitchResponse() (response *ModifyDDoSSwitchResponse)
func (*ModifyDDoSSwitchResponse) FromJsonString ¶
func (r *ModifyDDoSSwitchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSSwitchResponse) ToJsonString ¶
func (r *ModifyDDoSSwitchResponse) ToJsonString() string
type ModifyDDoSThresholdRequest ¶
type ModifyDDoSThresholdRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // DDoS cleansing threshold. Valid values: [0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; // If the value is set to 0, the default value will be used; Threshold *uint64 `json:"Threshold,omitempty" name:"Threshold"` }
func NewModifyDDoSThresholdRequest ¶
func NewModifyDDoSThresholdRequest() (request *ModifyDDoSThresholdRequest)
func (*ModifyDDoSThresholdRequest) FromJsonString ¶
func (r *ModifyDDoSThresholdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSThresholdRequest) ToJsonString ¶
func (r *ModifyDDoSThresholdRequest) ToJsonString() string
type ModifyDDoSThresholdResponse ¶
type ModifyDDoSThresholdResponse 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 NewModifyDDoSThresholdResponse ¶
func NewModifyDDoSThresholdResponse() (response *ModifyDDoSThresholdResponse)
func (*ModifyDDoSThresholdResponse) FromJsonString ¶
func (r *ModifyDDoSThresholdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSThresholdResponse) ToJsonString ¶
func (r *ModifyDDoSThresholdResponse) ToJsonString() string
type ModifyDDoSWaterKeyRequest ¶
type ModifyDDoSWaterKeyRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Key operation. Valid values: [add (add), delete (delete), open (open), close (close), get (get key)] Method *string `json:"Method,omitempty" name:"Method"` // Key ID, which can be left empty or 0 when adding a key but is required for other operations KeyId *uint64 `json:"KeyId,omitempty" name:"KeyId"` }
func NewModifyDDoSWaterKeyRequest ¶
func NewModifyDDoSWaterKeyRequest() (request *ModifyDDoSWaterKeyRequest)
func (*ModifyDDoSWaterKeyRequest) FromJsonString ¶
func (r *ModifyDDoSWaterKeyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSWaterKeyRequest) ToJsonString ¶
func (r *ModifyDDoSWaterKeyRequest) ToJsonString() string
type ModifyDDoSWaterKeyResponse ¶
type ModifyDDoSWaterKeyResponse struct { *tchttp.BaseResponse Response *struct { // Watermark key list KeyList []*WaterPrintKey `json:"KeyList,omitempty" name:"KeyList"` // 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 NewModifyDDoSWaterKeyResponse ¶
func NewModifyDDoSWaterKeyResponse() (response *ModifyDDoSWaterKeyResponse)
func (*ModifyDDoSWaterKeyResponse) FromJsonString ¶
func (r *ModifyDDoSWaterKeyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSWaterKeyResponse) ToJsonString ¶
func (r *ModifyDDoSWaterKeyResponse) ToJsonString() string
type ModifyElasticLimitRequest ¶
type ModifyElasticLimitRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Elastic protection threshold. Valid values: [0 10000 20000 30000 40000 50000 60000 70000 80000 90000 100000 120000 150000 200000 250000 300000 400000 600000 800000 220000 310000 110000 270000 610000] Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewModifyElasticLimitRequest ¶
func NewModifyElasticLimitRequest() (request *ModifyElasticLimitRequest)
func (*ModifyElasticLimitRequest) FromJsonString ¶
func (r *ModifyElasticLimitRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyElasticLimitRequest) ToJsonString ¶
func (r *ModifyElasticLimitRequest) ToJsonString() string
type ModifyElasticLimitResponse ¶
type ModifyElasticLimitResponse 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 NewModifyElasticLimitResponse ¶
func NewModifyElasticLimitResponse() (response *ModifyElasticLimitResponse)
func (*ModifyElasticLimitResponse) FromJsonString ¶
func (r *ModifyElasticLimitResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyElasticLimitResponse) ToJsonString ¶
func (r *ModifyElasticLimitResponse) ToJsonString() string
type ModifyL4HealthRequest ¶
type ModifyL4HealthRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Health check parameter array Healths []*L4RuleHealth `json:"Healths,omitempty" name:"Healths"` }
func NewModifyL4HealthRequest ¶
func NewModifyL4HealthRequest() (request *ModifyL4HealthRequest)
func (*ModifyL4HealthRequest) FromJsonString ¶
func (r *ModifyL4HealthRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL4HealthRequest) ToJsonString ¶
func (r *ModifyL4HealthRequest) ToJsonString() string
type ModifyL4HealthResponse ¶
type ModifyL4HealthResponse 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 NewModifyL4HealthResponse ¶
func NewModifyL4HealthResponse() (response *ModifyL4HealthResponse)
func (*ModifyL4HealthResponse) FromJsonString ¶
func (r *ModifyL4HealthResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL4HealthResponse) ToJsonString ¶
func (r *ModifyL4HealthResponse) ToJsonString() string
type ModifyL4KeepTimeRequest ¶
type ModifyL4KeepTimeRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Session persistence status. Valid values: [0 (disabled), 1 (enabled)] KeepEnable *uint64 `json:"KeepEnable,omitempty" name:"KeepEnable"` // Session persistence duration in seconds KeepTime *uint64 `json:"KeepTime,omitempty" name:"KeepTime"` }
func NewModifyL4KeepTimeRequest ¶
func NewModifyL4KeepTimeRequest() (request *ModifyL4KeepTimeRequest)
func (*ModifyL4KeepTimeRequest) FromJsonString ¶
func (r *ModifyL4KeepTimeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL4KeepTimeRequest) ToJsonString ¶
func (r *ModifyL4KeepTimeRequest) ToJsonString() string
type ModifyL4KeepTimeResponse ¶
type ModifyL4KeepTimeResponse 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 NewModifyL4KeepTimeResponse ¶
func NewModifyL4KeepTimeResponse() (response *ModifyL4KeepTimeResponse)
func (*ModifyL4KeepTimeResponse) FromJsonString ¶
func (r *ModifyL4KeepTimeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL4KeepTimeResponse) ToJsonString ¶
func (r *ModifyL4KeepTimeResponse) ToJsonString() string
type ModifyL4RulesRequest ¶
type ModifyL4RulesRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Rule Rule *L4RuleEntry `json:"Rule,omitempty" name:"Rule"` }
func NewModifyL4RulesRequest ¶
func NewModifyL4RulesRequest() (request *ModifyL4RulesRequest)
func (*ModifyL4RulesRequest) FromJsonString ¶
func (r *ModifyL4RulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL4RulesRequest) ToJsonString ¶
func (r *ModifyL4RulesRequest) ToJsonString() string
type ModifyL4RulesResponse ¶
type ModifyL4RulesResponse 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 NewModifyL4RulesResponse ¶
func NewModifyL4RulesResponse() (response *ModifyL4RulesResponse)
func (*ModifyL4RulesResponse) FromJsonString ¶
func (r *ModifyL4RulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL4RulesResponse) ToJsonString ¶
func (r *ModifyL4RulesResponse) ToJsonString() string
type ModifyL7RulesRequest ¶
type ModifyL7RulesRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Rule Rule *L7RuleEntry `json:"Rule,omitempty" name:"Rule"` }
func NewModifyL7RulesRequest ¶
func NewModifyL7RulesRequest() (request *ModifyL7RulesRequest)
func (*ModifyL7RulesRequest) FromJsonString ¶
func (r *ModifyL7RulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL7RulesRequest) ToJsonString ¶
func (r *ModifyL7RulesRequest) ToJsonString() string
type ModifyL7RulesResponse ¶
type ModifyL7RulesResponse 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 NewModifyL7RulesResponse ¶
func NewModifyL7RulesResponse() (response *ModifyL7RulesResponse)
func (*ModifyL7RulesResponse) FromJsonString ¶
func (r *ModifyL7RulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL7RulesResponse) ToJsonString ¶
func (r *ModifyL7RulesResponse) ToJsonString() string
type ModifyNetReturnSwitchRequest ¶
type ModifyNetReturnSwitchRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Switch status. 0: disabled, 1: enabled Status *uint64 `json:"Status,omitempty" name:"Status"` // Switch duration in hours. Valid values: [0,1,2,3,4,5,6;]. If `status` is 1, this field is required and must be greater than 0 Hour *uint64 `json:"Hour,omitempty" name:"Hour"` }
func NewModifyNetReturnSwitchRequest ¶
func NewModifyNetReturnSwitchRequest() (request *ModifyNetReturnSwitchRequest)
func (*ModifyNetReturnSwitchRequest) FromJsonString ¶
func (r *ModifyNetReturnSwitchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNetReturnSwitchRequest) ToJsonString ¶
func (r *ModifyNetReturnSwitchRequest) ToJsonString() string
type ModifyNetReturnSwitchResponse ¶
type ModifyNetReturnSwitchResponse 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 NewModifyNetReturnSwitchResponse ¶
func NewModifyNetReturnSwitchResponse() (response *ModifyNetReturnSwitchResponse)
func (*ModifyNetReturnSwitchResponse) FromJsonString ¶
func (r *ModifyNetReturnSwitchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNetReturnSwitchResponse) ToJsonString ¶
func (r *ModifyNetReturnSwitchResponse) ToJsonString() string
type ModifyNewDomainRulesRequest ¶
type ModifyNewDomainRulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced). Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID. Id *string `json:"Id,omitempty" name:"Id"` // Domain name forwarding rule. Rule *NewL7RuleEntry `json:"Rule,omitempty" name:"Rule"` }
func NewModifyNewDomainRulesRequest ¶
func NewModifyNewDomainRulesRequest() (request *ModifyNewDomainRulesRequest)
func (*ModifyNewDomainRulesRequest) FromJsonString ¶
func (r *ModifyNewDomainRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNewDomainRulesRequest) ToJsonString ¶
func (r *ModifyNewDomainRulesRequest) ToJsonString() string
type ModifyNewDomainRulesResponse ¶
type ModifyNewDomainRulesResponse struct { *tchttp.BaseResponse Response *struct { // Success code. Success *SuccessCode `json:"Success,omitempty" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyNewDomainRulesResponse ¶
func NewModifyNewDomainRulesResponse() (response *ModifyNewDomainRulesResponse)
func (*ModifyNewDomainRulesResponse) FromJsonString ¶
func (r *ModifyNewDomainRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNewDomainRulesResponse) ToJsonString ¶
func (r *ModifyNewDomainRulesResponse) ToJsonString() string
type ModifyNewL4RuleRequest ¶
type ModifyNewL4RuleRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced). Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID. Id *string `json:"Id,omitempty" name:"Id"` // Forwarding rule. Rule *L4RuleEntry `json:"Rule,omitempty" name:"Rule"` }
func NewModifyNewL4RuleRequest ¶
func NewModifyNewL4RuleRequest() (request *ModifyNewL4RuleRequest)
func (*ModifyNewL4RuleRequest) FromJsonString ¶
func (r *ModifyNewL4RuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNewL4RuleRequest) ToJsonString ¶
func (r *ModifyNewL4RuleRequest) ToJsonString() string
type ModifyNewL4RuleResponse ¶
type ModifyNewL4RuleResponse 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 NewModifyNewL4RuleResponse ¶
func NewModifyNewL4RuleResponse() (response *ModifyNewL4RuleResponse)
func (*ModifyNewL4RuleResponse) FromJsonString ¶
func (r *ModifyNewL4RuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNewL4RuleResponse) ToJsonString ¶
func (r *ModifyNewL4RuleResponse) ToJsonString() string
type ModifyResBindDDoSPolicyRequest ¶
type ModifyResBindDDoSPolicyRequest 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 Business *string `json:"Business,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitempty" name:"Id"` // Policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // bind: bind policy; unbind: unbind policy Method *string `json:"Method,omitempty" name:"Method"` }
func NewModifyResBindDDoSPolicyRequest ¶
func NewModifyResBindDDoSPolicyRequest() (request *ModifyResBindDDoSPolicyRequest)
func (*ModifyResBindDDoSPolicyRequest) FromJsonString ¶
func (r *ModifyResBindDDoSPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResBindDDoSPolicyRequest) ToJsonString ¶
func (r *ModifyResBindDDoSPolicyRequest) ToJsonString() string
type ModifyResBindDDoSPolicyResponse ¶
type ModifyResBindDDoSPolicyResponse 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 NewModifyResBindDDoSPolicyResponse ¶
func NewModifyResBindDDoSPolicyResponse() (response *ModifyResBindDDoSPolicyResponse)
func (*ModifyResBindDDoSPolicyResponse) FromJsonString ¶
func (r *ModifyResBindDDoSPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResBindDDoSPolicyResponse) ToJsonString ¶
func (r *ModifyResBindDDoSPolicyResponse) ToJsonString() string
type ModifyResourceRenewFlagRequest ¶
type ModifyResourceRenewFlagRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced, `net`: Anti-DDoS Ultimate, `shield`: Chess Shield, `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS Pro (multi-IP), `insurance`: guarantee package, `staticpack`: non-BGP package Business *string `json:"Business,omitempty" name:"Business"` // Resource ID Id *string `json:"Id,omitempty" name:"Id"` // Auto-renewal flag (0: manual renewal, 1: auto-renewal, 2: no renewal upon expiration) RenewFlag *uint64 `json:"RenewFlag,omitempty" name:"RenewFlag"` }
func NewModifyResourceRenewFlagRequest ¶
func NewModifyResourceRenewFlagRequest() (request *ModifyResourceRenewFlagRequest)
func (*ModifyResourceRenewFlagRequest) FromJsonString ¶
func (r *ModifyResourceRenewFlagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourceRenewFlagRequest) ToJsonString ¶
func (r *ModifyResourceRenewFlagRequest) ToJsonString() string
type ModifyResourceRenewFlagResponse ¶
type ModifyResourceRenewFlagResponse 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 NewModifyResourceRenewFlagResponse ¶
func NewModifyResourceRenewFlagResponse() (response *ModifyResourceRenewFlagResponse)
func (*ModifyResourceRenewFlagResponse) FromJsonString ¶
func (r *ModifyResourceRenewFlagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourceRenewFlagResponse) ToJsonString ¶
func (r *ModifyResourceRenewFlagResponse) ToJsonString() string
type NewL7RuleEntry ¶
type NewL7RuleEntry struct { // Forwarding protocol. Valid values: `http` and `https`. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Forwarding domain name. Domain *string `json:"Domain,omitempty" name:"Domain"` // Forwarding method. Valid values: `1` (by domain name); `2` (by IP). SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"` // Session persistence duration, in seconds. KeepTime *uint64 `json:"KeepTime,omitempty" name:"KeepTime"` // List of sources SourceList []*L4RuleSource `json:"SourceList,omitempty" name:"SourceList"` // Load balancing method. Valid value: `1` (weighed polling). LbType *uint64 `json:"LbType,omitempty" name:"LbType"` // Whether session persistence is enabled. Valid values: `0` (disabled) and `1` (enabled). KeepEnable *uint64 `json:"KeepEnable,omitempty" name:"KeepEnable"` // Rule ID. This field is not required for adding a rule, but is required for modifying or deleting a rule. RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Certificate source. When the forwarding protocol is HTTPS, this field must be set to `2` (Tencent Cloud managed certificate), and for HTTP protocol, it can be set to `0`. CertType *uint64 `json:"CertType,omitempty" name:"CertType"` // When the certificate source is Tencent Cloud managed certificate, this field must be set to the ID of the managed certificate. SSLId *string `json:"SSLId,omitempty" name:"SSLId"` // [Disused] When the certificate is an external certificate, the certificate content should be provided here. Cert *string `json:"Cert,omitempty" name:"Cert"` // [Disused] When the certificate is an external certificate, the certificate key should be provided here. PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"` // Rule description. RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Rule status. Valid values: `0` (the rule was successfully configured), `1` (configuring the rule), `2` (rule configuration failed), `3` (deleting the rule), `5` (failed to delete rule), `6` (rule awaiting configuration), `7` (rule awaiting deletion), and `8` (rule awaiting certificate configuration). Status *uint64 `json:"Status,omitempty" name:"Status"` // CC protection status. Valid values: `0` (disabled) and `1` (enabled). CCStatus *uint64 `json:"CCStatus,omitempty" name:"CCStatus"` // CC protection status based on HTTPS. Valid values: `0` (disabled) and `1` (enabled). CCEnable *uint64 `json:"CCEnable,omitempty" name:"CCEnable"` // CC protection threshold based on HTTPS. CCThreshold *uint64 `json:"CCThreshold,omitempty" name:"CCThreshold"` // CC protection level based on HTTPS. CCLevel *string `json:"CCLevel,omitempty" name:"CCLevel"` // Region code. Region *uint64 `json:"Region,omitempty" name:"Region"` // Anti-DDoS instance ID. Id *string `json:"Id,omitempty" name:"Id"` // Anti-DDoS instance IP address. Ip *string `json:"Ip,omitempty" name:"Ip"` // Modification time. ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` // Whether to enable **Forward HTTPS requests via HTTP**. Valid values: `0` (disabled) and `1` (enabled). The default value is disabled. HttpsToHttpEnable *uint64 `json:"HttpsToHttpEnable,omitempty" name:"HttpsToHttpEnable"` // Access port number. // Note: this field may return null, indicating that no valid values can be obtained. VirtualPort *uint64 `json:"VirtualPort,omitempty" name:"VirtualPort"` }
type OrderBy ¶
type OrderBy struct { // Sort by field name. Valid values: [ // bandwidth (bandwidth), // overloadCount (number of times of exceeding peak value) // ] Field *string `json:"Field,omitempty" name:"Field"` // Sorting order. Valid values: [asc (ascending), desc (descending)] Order *string `json:"Order,omitempty" name:"Order"` }
type ProtocolPort ¶
type RegionInstanceCount ¶
type ResourceIp ¶
type SchedulingDomain ¶
type SchedulingDomain struct { // Scheduling domain name Domain *string `json:"Domain,omitempty" name:"Domain"` // List of BGP IPs BGPIpList []*string `json:"BGPIpList,omitempty" name:"BGPIpList"` // List of CTCC IPs CTCCIpList []*string `json:"CTCCIpList,omitempty" name:"CTCCIpList"` // List of CUCC IPs CUCCIpList []*string `json:"CUCCIpList,omitempty" name:"CUCCIpList"` // List of CMCC IPs CMCCIpList []*string `json:"CMCCIpList,omitempty" name:"CMCCIpList"` // List of IPs outside Mainland China OverseaIpList []*string `json:"OverseaIpList,omitempty" name:"OverseaIpList"` // Scheduling method. It only supports `priority` now. Method *string `json:"Method,omitempty" name:"Method"` // The creation time. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // Status Status *uint64 `json:"Status,omitempty" name:"Status"` // Modification time ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` }
type SuccessCode ¶
type WaterPrintKey ¶
type WaterPrintKey struct { // Watermark key ID KeyId *string `json:"KeyId,omitempty" name:"KeyId"` // Watermark key value KeyContent *string `json:"KeyContent,omitempty" name:"KeyContent"` // Watermark key version number KeyVersion *string `json:"KeyVersion,omitempty" name:"KeyVersion"` // Whether it is enabled. Valid values: [0 (no), 1 (yes)] OpenStatus *uint64 `json:"OpenStatus,omitempty" name:"OpenStatus"` // Key generation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` }
type WaterPrintPolicy ¶
type WaterPrintPolicy struct { // TCP port range, such as ["2000-3000","3500-4000"] TcpPortList []*string `json:"TcpPortList,omitempty" name:"TcpPortList"` // UDP port range, such as ["2000-3000","3500-4000"] UdpPortList []*string `json:"UdpPortList,omitempty" name:"UdpPortList"` // Watermark offset. Value range: [0, 100) Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Whether to automatically remove. Valid values: [0 (no), 1 (yes)] RemoveSwitch *uint64 `json:"RemoveSwitch,omitempty" name:"RemoveSwitch"` // Whether it is enabled. Valid values: [0 (no), 1 (yes)] OpenStatus *uint64 `json:"OpenStatus,omitempty" name:"OpenStatus"` }