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) CreateBasicDDoSAlarmThresholdWithContext(ctx context.Context, request *CreateBasicDDoSAlarmThresholdRequest) (response *CreateBasicDDoSAlarmThresholdResponse, err error)
- func (c *Client) CreateBoundIP(request *CreateBoundIPRequest) (response *CreateBoundIPResponse, err error)
- func (c *Client) CreateBoundIPWithContext(ctx context.Context, request *CreateBoundIPRequest) (response *CreateBoundIPResponse, err error)
- func (c *Client) CreateCCFrequencyRules(request *CreateCCFrequencyRulesRequest) (response *CreateCCFrequencyRulesResponse, err error)
- func (c *Client) CreateCCFrequencyRulesWithContext(ctx context.Context, request *CreateCCFrequencyRulesRequest) (response *CreateCCFrequencyRulesResponse, err error)
- func (c *Client) CreateCCSelfDefinePolicy(request *CreateCCSelfDefinePolicyRequest) (response *CreateCCSelfDefinePolicyResponse, err error)
- func (c *Client) CreateCCSelfDefinePolicyWithContext(ctx context.Context, 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) CreateDDoSPolicyCaseWithContext(ctx context.Context, request *CreateDDoSPolicyCaseRequest) (response *CreateDDoSPolicyCaseResponse, err error)
- func (c *Client) CreateDDoSPolicyWithContext(ctx context.Context, request *CreateDDoSPolicyRequest) (response *CreateDDoSPolicyResponse, err error)
- func (c *Client) CreateInstanceName(request *CreateInstanceNameRequest) (response *CreateInstanceNameResponse, err error)
- func (c *Client) CreateInstanceNameWithContext(ctx context.Context, request *CreateInstanceNameRequest) (response *CreateInstanceNameResponse, err error)
- func (c *Client) CreateL4HealthConfig(request *CreateL4HealthConfigRequest) (response *CreateL4HealthConfigResponse, err error)
- func (c *Client) CreateL4HealthConfigWithContext(ctx context.Context, request *CreateL4HealthConfigRequest) (response *CreateL4HealthConfigResponse, err error)
- func (c *Client) CreateL4Rules(request *CreateL4RulesRequest) (response *CreateL4RulesResponse, err error)
- func (c *Client) CreateL4RulesWithContext(ctx context.Context, request *CreateL4RulesRequest) (response *CreateL4RulesResponse, err error)
- func (c *Client) CreateL7CCRule(request *CreateL7CCRuleRequest) (response *CreateL7CCRuleResponse, err error)
- func (c *Client) CreateL7CCRuleWithContext(ctx context.Context, request *CreateL7CCRuleRequest) (response *CreateL7CCRuleResponse, err error)
- func (c *Client) CreateL7HealthConfig(request *CreateL7HealthConfigRequest) (response *CreateL7HealthConfigResponse, err error)
- func (c *Client) CreateL7HealthConfigWithContext(ctx context.Context, request *CreateL7HealthConfigRequest) (response *CreateL7HealthConfigResponse, err error)
- func (c *Client) CreateL7RuleCert(request *CreateL7RuleCertRequest) (response *CreateL7RuleCertResponse, err error)
- func (c *Client) CreateL7RuleCertWithContext(ctx context.Context, 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) CreateL7RulesUploadWithContext(ctx context.Context, request *CreateL7RulesUploadRequest) (response *CreateL7RulesUploadResponse, err error)
- func (c *Client) CreateL7RulesWithContext(ctx context.Context, request *CreateL7RulesRequest) (response *CreateL7RulesResponse, err error)
- func (c *Client) CreateNetReturn(request *CreateNetReturnRequest) (response *CreateNetReturnResponse, err error)
- func (c *Client) CreateNetReturnWithContext(ctx context.Context, request *CreateNetReturnRequest) (response *CreateNetReturnResponse, err error)
- func (c *Client) CreateNewL7RulesUpload(request *CreateNewL7RulesUploadRequest) (response *CreateNewL7RulesUploadResponse, err error)
- func (c *Client) CreateNewL7RulesUploadWithContext(ctx context.Context, request *CreateNewL7RulesUploadRequest) (response *CreateNewL7RulesUploadResponse, err error)
- func (c *Client) CreateUnblockIp(request *CreateUnblockIpRequest) (response *CreateUnblockIpResponse, err error)
- func (c *Client) CreateUnblockIpWithContext(ctx context.Context, request *CreateUnblockIpRequest) (response *CreateUnblockIpResponse, err error)
- func (c *Client) DeleteCCFrequencyRules(request *DeleteCCFrequencyRulesRequest) (response *DeleteCCFrequencyRulesResponse, err error)
- func (c *Client) DeleteCCFrequencyRulesWithContext(ctx context.Context, request *DeleteCCFrequencyRulesRequest) (response *DeleteCCFrequencyRulesResponse, err error)
- func (c *Client) DeleteCCSelfDefinePolicy(request *DeleteCCSelfDefinePolicyRequest) (response *DeleteCCSelfDefinePolicyResponse, err error)
- func (c *Client) DeleteCCSelfDefinePolicyWithContext(ctx context.Context, 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) DeleteDDoSPolicyCaseWithContext(ctx context.Context, request *DeleteDDoSPolicyCaseRequest) (response *DeleteDDoSPolicyCaseResponse, err error)
- func (c *Client) DeleteDDoSPolicyWithContext(ctx context.Context, request *DeleteDDoSPolicyRequest) (response *DeleteDDoSPolicyResponse, err error)
- func (c *Client) DeleteL4Rules(request *DeleteL4RulesRequest) (response *DeleteL4RulesResponse, err error)
- func (c *Client) DeleteL4RulesWithContext(ctx context.Context, request *DeleteL4RulesRequest) (response *DeleteL4RulesResponse, err error)
- func (c *Client) DeleteL7Rules(request *DeleteL7RulesRequest) (response *DeleteL7RulesResponse, err error)
- func (c *Client) DeleteL7RulesWithContext(ctx context.Context, request *DeleteL7RulesRequest) (response *DeleteL7RulesResponse, err error)
- func (c *Client) DescribeActionLog(request *DescribeActionLogRequest) (response *DescribeActionLogResponse, err error)
- func (c *Client) DescribeActionLogWithContext(ctx context.Context, request *DescribeActionLogRequest) (response *DescribeActionLogResponse, err error)
- func (c *Client) DescribeBGPIPL7RuleMaxCnt(request *DescribeBGPIPL7RuleMaxCntRequest) (response *DescribeBGPIPL7RuleMaxCntResponse, err error)
- func (c *Client) DescribeBGPIPL7RuleMaxCntWithContext(ctx context.Context, request *DescribeBGPIPL7RuleMaxCntRequest) (response *DescribeBGPIPL7RuleMaxCntResponse, err error)
- func (c *Client) DescribeBaradData(request *DescribeBaradDataRequest) (response *DescribeBaradDataResponse, err error)
- func (c *Client) DescribeBaradDataWithContext(ctx context.Context, request *DescribeBaradDataRequest) (response *DescribeBaradDataResponse, err error)
- func (c *Client) DescribeBasicCCThreshold(request *DescribeBasicCCThresholdRequest) (response *DescribeBasicCCThresholdResponse, err error)
- func (c *Client) DescribeBasicCCThresholdWithContext(ctx context.Context, request *DescribeBasicCCThresholdRequest) (response *DescribeBasicCCThresholdResponse, err error)
- func (c *Client) DescribeBasicDeviceThreshold(request *DescribeBasicDeviceThresholdRequest) (response *DescribeBasicDeviceThresholdResponse, err error)
- func (c *Client) DescribeBasicDeviceThresholdWithContext(ctx context.Context, request *DescribeBasicDeviceThresholdRequest) (response *DescribeBasicDeviceThresholdResponse, err error)
- func (c *Client) DescribeBizHttpStatus(request *DescribeBizHttpStatusRequest) (response *DescribeBizHttpStatusResponse, err error)
- func (c *Client) DescribeBizHttpStatusWithContext(ctx context.Context, request *DescribeBizHttpStatusRequest) (response *DescribeBizHttpStatusResponse, err error)
- func (c *Client) DescribeCCAlarmThreshold(request *DescribeCCAlarmThresholdRequest) (response *DescribeCCAlarmThresholdResponse, err error)
- func (c *Client) DescribeCCAlarmThresholdWithContext(ctx context.Context, request *DescribeCCAlarmThresholdRequest) (response *DescribeCCAlarmThresholdResponse, err error)
- func (c *Client) DescribeCCEvList(request *DescribeCCEvListRequest) (response *DescribeCCEvListResponse, err error)
- func (c *Client) DescribeCCEvListWithContext(ctx context.Context, request *DescribeCCEvListRequest) (response *DescribeCCEvListResponse, err error)
- func (c *Client) DescribeCCFrequencyRules(request *DescribeCCFrequencyRulesRequest) (response *DescribeCCFrequencyRulesResponse, err error)
- func (c *Client) DescribeCCFrequencyRulesWithContext(ctx context.Context, request *DescribeCCFrequencyRulesRequest) (response *DescribeCCFrequencyRulesResponse, err error)
- func (c *Client) DescribeCCIpAllowDeny(request *DescribeCCIpAllowDenyRequest) (response *DescribeCCIpAllowDenyResponse, err error)
- func (c *Client) DescribeCCIpAllowDenyWithContext(ctx context.Context, request *DescribeCCIpAllowDenyRequest) (response *DescribeCCIpAllowDenyResponse, err error)
- func (c *Client) DescribeCCSelfDefinePolicy(request *DescribeCCSelfDefinePolicyRequest) (response *DescribeCCSelfDefinePolicyResponse, err error)
- func (c *Client) DescribeCCSelfDefinePolicyWithContext(ctx context.Context, request *DescribeCCSelfDefinePolicyRequest) (response *DescribeCCSelfDefinePolicyResponse, err error)
- func (c *Client) DescribeCCTrend(request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error)
- func (c *Client) DescribeCCTrendWithContext(ctx context.Context, request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error)
- func (c *Client) DescribeCCUrlAllow(request *DescribeCCUrlAllowRequest) (response *DescribeCCUrlAllowResponse, err error)
- func (c *Client) DescribeCCUrlAllowWithContext(ctx context.Context, request *DescribeCCUrlAllowRequest) (response *DescribeCCUrlAllowResponse, err error)
- func (c *Client) DescribeDDoSAlarmThreshold(request *DescribeDDoSAlarmThresholdRequest) (response *DescribeDDoSAlarmThresholdResponse, err error)
- func (c *Client) DescribeDDoSAlarmThresholdWithContext(ctx context.Context, request *DescribeDDoSAlarmThresholdRequest) (response *DescribeDDoSAlarmThresholdResponse, err error)
- func (c *Client) DescribeDDoSAttackIPRegionMap(request *DescribeDDoSAttackIPRegionMapRequest) (response *DescribeDDoSAttackIPRegionMapResponse, err error)
- func (c *Client) DescribeDDoSAttackIPRegionMapWithContext(ctx context.Context, request *DescribeDDoSAttackIPRegionMapRequest) (response *DescribeDDoSAttackIPRegionMapResponse, err error)
- func (c *Client) DescribeDDoSAttackSource(request *DescribeDDoSAttackSourceRequest) (response *DescribeDDoSAttackSourceResponse, err error)
- func (c *Client) DescribeDDoSAttackSourceWithContext(ctx context.Context, request *DescribeDDoSAttackSourceRequest) (response *DescribeDDoSAttackSourceResponse, err error)
- func (c *Client) DescribeDDoSCount(request *DescribeDDoSCountRequest) (response *DescribeDDoSCountResponse, err error)
- func (c *Client) DescribeDDoSCountWithContext(ctx context.Context, request *DescribeDDoSCountRequest) (response *DescribeDDoSCountResponse, err error)
- func (c *Client) DescribeDDoSDefendStatus(request *DescribeDDoSDefendStatusRequest) (response *DescribeDDoSDefendStatusResponse, err error)
- func (c *Client) DescribeDDoSDefendStatusWithContext(ctx context.Context, request *DescribeDDoSDefendStatusRequest) (response *DescribeDDoSDefendStatusResponse, err error)
- func (c *Client) DescribeDDoSEvInfo(request *DescribeDDoSEvInfoRequest) (response *DescribeDDoSEvInfoResponse, err error)
- func (c *Client) DescribeDDoSEvInfoWithContext(ctx context.Context, request *DescribeDDoSEvInfoRequest) (response *DescribeDDoSEvInfoResponse, err error)
- func (c *Client) DescribeDDoSEvList(request *DescribeDDoSEvListRequest) (response *DescribeDDoSEvListResponse, err error)
- func (c *Client) DescribeDDoSEvListWithContext(ctx context.Context, request *DescribeDDoSEvListRequest) (response *DescribeDDoSEvListResponse, err error)
- func (c *Client) DescribeDDoSIpLog(request *DescribeDDoSIpLogRequest) (response *DescribeDDoSIpLogResponse, err error)
- func (c *Client) DescribeDDoSIpLogWithContext(ctx context.Context, request *DescribeDDoSIpLogRequest) (response *DescribeDDoSIpLogResponse, err error)
- func (c *Client) DescribeDDoSNetCount(request *DescribeDDoSNetCountRequest) (response *DescribeDDoSNetCountResponse, err error)
- func (c *Client) DescribeDDoSNetCountWithContext(ctx context.Context, request *DescribeDDoSNetCountRequest) (response *DescribeDDoSNetCountResponse, err error)
- func (c *Client) DescribeDDoSNetEvInfo(request *DescribeDDoSNetEvInfoRequest) (response *DescribeDDoSNetEvInfoResponse, err error)
- func (c *Client) DescribeDDoSNetEvInfoWithContext(ctx context.Context, request *DescribeDDoSNetEvInfoRequest) (response *DescribeDDoSNetEvInfoResponse, err error)
- func (c *Client) DescribeDDoSNetEvList(request *DescribeDDoSNetEvListRequest) (response *DescribeDDoSNetEvListResponse, err error)
- func (c *Client) DescribeDDoSNetEvListWithContext(ctx context.Context, request *DescribeDDoSNetEvListRequest) (response *DescribeDDoSNetEvListResponse, err error)
- func (c *Client) DescribeDDoSNetIpLog(request *DescribeDDoSNetIpLogRequest) (response *DescribeDDoSNetIpLogResponse, err error)
- func (c *Client) DescribeDDoSNetIpLogWithContext(ctx context.Context, request *DescribeDDoSNetIpLogRequest) (response *DescribeDDoSNetIpLogResponse, err error)
- func (c *Client) DescribeDDoSNetTrend(request *DescribeDDoSNetTrendRequest) (response *DescribeDDoSNetTrendResponse, err error)
- func (c *Client) DescribeDDoSNetTrendWithContext(ctx context.Context, request *DescribeDDoSNetTrendRequest) (response *DescribeDDoSNetTrendResponse, err error)
- func (c *Client) DescribeDDoSPolicy(request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)
- func (c *Client) DescribeDDoSPolicyWithContext(ctx context.Context, request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)
- func (c *Client) DescribeDDoSTrend(request *DescribeDDoSTrendRequest) (response *DescribeDDoSTrendResponse, err error)
- func (c *Client) DescribeDDoSTrendWithContext(ctx context.Context, request *DescribeDDoSTrendRequest) (response *DescribeDDoSTrendResponse, err error)
- func (c *Client) DescribeDDoSUsedStatis(request *DescribeDDoSUsedStatisRequest) (response *DescribeDDoSUsedStatisResponse, err error)
- func (c *Client) DescribeDDoSUsedStatisWithContext(ctx context.Context, request *DescribeDDoSUsedStatisRequest) (response *DescribeDDoSUsedStatisResponse, err error)
- func (c *Client) DescribeIPProductInfo(request *DescribeIPProductInfoRequest) (response *DescribeIPProductInfoResponse, err error)
- func (c *Client) DescribeIPProductInfoWithContext(ctx context.Context, request *DescribeIPProductInfoRequest) (response *DescribeIPProductInfoResponse, err error)
- func (c *Client) DescribeInsurePacks(request *DescribeInsurePacksRequest) (response *DescribeInsurePacksResponse, err error)
- func (c *Client) DescribeInsurePacksWithContext(ctx context.Context, request *DescribeInsurePacksRequest) (response *DescribeInsurePacksResponse, err error)
- func (c *Client) DescribeIpBlockList(request *DescribeIpBlockListRequest) (response *DescribeIpBlockListResponse, err error)
- func (c *Client) DescribeIpBlockListWithContext(ctx context.Context, request *DescribeIpBlockListRequest) (response *DescribeIpBlockListResponse, err error)
- func (c *Client) DescribeIpUnBlockList(request *DescribeIpUnBlockListRequest) (response *DescribeIpUnBlockListResponse, err error)
- func (c *Client) DescribeIpUnBlockListWithContext(ctx context.Context, request *DescribeIpUnBlockListRequest) (response *DescribeIpUnBlockListResponse, err error)
- func (c *Client) DescribeL4HealthConfig(request *DescribeL4HealthConfigRequest) (response *DescribeL4HealthConfigResponse, err error)
- func (c *Client) DescribeL4HealthConfigWithContext(ctx context.Context, request *DescribeL4HealthConfigRequest) (response *DescribeL4HealthConfigResponse, err error)
- func (c *Client) DescribeL4RulesErrHealth(request *DescribeL4RulesErrHealthRequest) (response *DescribeL4RulesErrHealthResponse, err error)
- func (c *Client) DescribeL4RulesErrHealthWithContext(ctx context.Context, request *DescribeL4RulesErrHealthRequest) (response *DescribeL4RulesErrHealthResponse, err error)
- func (c *Client) DescribeL7HealthConfig(request *DescribeL7HealthConfigRequest) (response *DescribeL7HealthConfigResponse, err error)
- func (c *Client) DescribeL7HealthConfigWithContext(ctx context.Context, request *DescribeL7HealthConfigRequest) (response *DescribeL7HealthConfigResponse, err error)
- func (c *Client) DescribePackIndex(request *DescribePackIndexRequest) (response *DescribePackIndexResponse, err error)
- func (c *Client) DescribePackIndexWithContext(ctx context.Context, request *DescribePackIndexRequest) (response *DescribePackIndexResponse, err error)
- func (c *Client) DescribePcap(request *DescribePcapRequest) (response *DescribePcapResponse, err error)
- func (c *Client) DescribePcapWithContext(ctx context.Context, request *DescribePcapRequest) (response *DescribePcapResponse, err error)
- func (c *Client) DescribePolicyCase(request *DescribePolicyCaseRequest) (response *DescribePolicyCaseResponse, err error)
- func (c *Client) DescribePolicyCaseWithContext(ctx context.Context, request *DescribePolicyCaseRequest) (response *DescribePolicyCaseResponse, err error)
- func (c *Client) DescribeResIpList(request *DescribeResIpListRequest) (response *DescribeResIpListResponse, err error)
- func (c *Client) DescribeResIpListWithContext(ctx context.Context, request *DescribeResIpListRequest) (response *DescribeResIpListResponse, err error)
- func (c *Client) DescribeResourceList(request *DescribeResourceListRequest) (response *DescribeResourceListResponse, err error)
- func (c *Client) DescribeResourceListWithContext(ctx context.Context, request *DescribeResourceListRequest) (response *DescribeResourceListResponse, err error)
- func (c *Client) DescribeRuleSets(request *DescribeRuleSetsRequest) (response *DescribeRuleSetsResponse, err error)
- func (c *Client) DescribeRuleSetsWithContext(ctx context.Context, request *DescribeRuleSetsRequest) (response *DescribeRuleSetsResponse, err error)
- func (c *Client) DescribeSchedulingDomainList(request *DescribeSchedulingDomainListRequest) (response *DescribeSchedulingDomainListResponse, err error)
- func (c *Client) DescribeSchedulingDomainListWithContext(ctx context.Context, request *DescribeSchedulingDomainListRequest) (response *DescribeSchedulingDomainListResponse, err error)
- func (c *Client) DescribeSecIndex(request *DescribeSecIndexRequest) (response *DescribeSecIndexResponse, err error)
- func (c *Client) DescribeSecIndexWithContext(ctx context.Context, request *DescribeSecIndexRequest) (response *DescribeSecIndexResponse, err error)
- func (c *Client) DescribeSourceIpSegment(request *DescribeSourceIpSegmentRequest) (response *DescribeSourceIpSegmentResponse, err error)
- func (c *Client) DescribeSourceIpSegmentWithContext(ctx context.Context, request *DescribeSourceIpSegmentRequest) (response *DescribeSourceIpSegmentResponse, err error)
- func (c *Client) DescribeTransmitStatis(request *DescribeTransmitStatisRequest) (response *DescribeTransmitStatisResponse, err error)
- func (c *Client) DescribeTransmitStatisWithContext(ctx context.Context, request *DescribeTransmitStatisRequest) (response *DescribeTransmitStatisResponse, err error)
- func (c *Client) DescribeUnBlockStatis(request *DescribeUnBlockStatisRequest) (response *DescribeUnBlockStatisResponse, err error)
- func (c *Client) DescribeUnBlockStatisWithContext(ctx context.Context, request *DescribeUnBlockStatisRequest) (response *DescribeUnBlockStatisResponse, err error)
- func (c *Client) DescribleL4Rules(request *DescribleL4RulesRequest) (response *DescribleL4RulesResponse, err error)
- func (c *Client) DescribleL4RulesWithContext(ctx context.Context, request *DescribleL4RulesRequest) (response *DescribleL4RulesResponse, err error)
- func (c *Client) DescribleL7Rules(request *DescribleL7RulesRequest) (response *DescribleL7RulesResponse, err error)
- func (c *Client) DescribleL7RulesWithContext(ctx context.Context, request *DescribleL7RulesRequest) (response *DescribleL7RulesResponse, err error)
- func (c *Client) DescribleRegionCount(request *DescribleRegionCountRequest) (response *DescribleRegionCountResponse, err error)
- func (c *Client) DescribleRegionCountWithContext(ctx context.Context, request *DescribleRegionCountRequest) (response *DescribleRegionCountResponse, err error)
- func (c *Client) ModifyCCAlarmThreshold(request *ModifyCCAlarmThresholdRequest) (response *ModifyCCAlarmThresholdResponse, err error)
- func (c *Client) ModifyCCAlarmThresholdWithContext(ctx context.Context, 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) ModifyCCFrequencyRulesStatusWithContext(ctx context.Context, request *ModifyCCFrequencyRulesStatusRequest) (response *ModifyCCFrequencyRulesStatusResponse, err error)
- func (c *Client) ModifyCCFrequencyRulesWithContext(ctx context.Context, request *ModifyCCFrequencyRulesRequest) (response *ModifyCCFrequencyRulesResponse, err error)
- func (c *Client) ModifyCCHostProtection(request *ModifyCCHostProtectionRequest) (response *ModifyCCHostProtectionResponse, err error)
- func (c *Client) ModifyCCHostProtectionWithContext(ctx context.Context, request *ModifyCCHostProtectionRequest) (response *ModifyCCHostProtectionResponse, err error)
- func (c *Client) ModifyCCIpAllowDeny(request *ModifyCCIpAllowDenyRequest) (response *ModifyCCIpAllowDenyResponse, err error)
- func (c *Client) ModifyCCIpAllowDenyWithContext(ctx context.Context, request *ModifyCCIpAllowDenyRequest) (response *ModifyCCIpAllowDenyResponse, err error)
- func (c *Client) ModifyCCLevel(request *ModifyCCLevelRequest) (response *ModifyCCLevelResponse, err error)
- func (c *Client) ModifyCCLevelWithContext(ctx context.Context, request *ModifyCCLevelRequest) (response *ModifyCCLevelResponse, err error)
- func (c *Client) ModifyCCPolicySwitch(request *ModifyCCPolicySwitchRequest) (response *ModifyCCPolicySwitchResponse, err error)
- func (c *Client) ModifyCCPolicySwitchWithContext(ctx context.Context, request *ModifyCCPolicySwitchRequest) (response *ModifyCCPolicySwitchResponse, err error)
- func (c *Client) ModifyCCSelfDefinePolicy(request *ModifyCCSelfDefinePolicyRequest) (response *ModifyCCSelfDefinePolicyResponse, err error)
- func (c *Client) ModifyCCSelfDefinePolicyWithContext(ctx context.Context, request *ModifyCCSelfDefinePolicyRequest) (response *ModifyCCSelfDefinePolicyResponse, err error)
- func (c *Client) ModifyCCThreshold(request *ModifyCCThresholdRequest) (response *ModifyCCThresholdResponse, err error)
- func (c *Client) ModifyCCThresholdWithContext(ctx context.Context, request *ModifyCCThresholdRequest) (response *ModifyCCThresholdResponse, err error)
- func (c *Client) ModifyCCUrlAllow(request *ModifyCCUrlAllowRequest) (response *ModifyCCUrlAllowResponse, err error)
- func (c *Client) ModifyCCUrlAllowWithContext(ctx context.Context, request *ModifyCCUrlAllowRequest) (response *ModifyCCUrlAllowResponse, err error)
- func (c *Client) ModifyDDoSAIStatus(request *ModifyDDoSAIStatusRequest) (response *ModifyDDoSAIStatusResponse, err error)
- func (c *Client) ModifyDDoSAIStatusWithContext(ctx context.Context, request *ModifyDDoSAIStatusRequest) (response *ModifyDDoSAIStatusResponse, err error)
- func (c *Client) ModifyDDoSAlarmThreshold(request *ModifyDDoSAlarmThresholdRequest) (response *ModifyDDoSAlarmThresholdResponse, err error)
- func (c *Client) ModifyDDoSAlarmThresholdWithContext(ctx context.Context, request *ModifyDDoSAlarmThresholdRequest) (response *ModifyDDoSAlarmThresholdResponse, err error)
- func (c *Client) ModifyDDoSDefendStatus(request *ModifyDDoSDefendStatusRequest) (response *ModifyDDoSDefendStatusResponse, err error)
- func (c *Client) ModifyDDoSDefendStatusWithContext(ctx context.Context, request *ModifyDDoSDefendStatusRequest) (response *ModifyDDoSDefendStatusResponse, err error)
- func (c *Client) ModifyDDoSLevel(request *ModifyDDoSLevelRequest) (response *ModifyDDoSLevelResponse, err error)
- func (c *Client) ModifyDDoSLevelWithContext(ctx context.Context, 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) ModifyDDoSPolicyCaseWithContext(ctx context.Context, request *ModifyDDoSPolicyCaseRequest) (response *ModifyDDoSPolicyCaseResponse, err error)
- func (c *Client) ModifyDDoSPolicyName(request *ModifyDDoSPolicyNameRequest) (response *ModifyDDoSPolicyNameResponse, err error)
- func (c *Client) ModifyDDoSPolicyNameWithContext(ctx context.Context, request *ModifyDDoSPolicyNameRequest) (response *ModifyDDoSPolicyNameResponse, err error)
- func (c *Client) ModifyDDoSPolicyWithContext(ctx context.Context, request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, err error)
- func (c *Client) ModifyDDoSSwitch(request *ModifyDDoSSwitchRequest) (response *ModifyDDoSSwitchResponse, err error)
- func (c *Client) ModifyDDoSSwitchWithContext(ctx context.Context, request *ModifyDDoSSwitchRequest) (response *ModifyDDoSSwitchResponse, err error)
- func (c *Client) ModifyDDoSThreshold(request *ModifyDDoSThresholdRequest) (response *ModifyDDoSThresholdResponse, err error)
- func (c *Client) ModifyDDoSThresholdWithContext(ctx context.Context, request *ModifyDDoSThresholdRequest) (response *ModifyDDoSThresholdResponse, err error)
- func (c *Client) ModifyDDoSWaterKey(request *ModifyDDoSWaterKeyRequest) (response *ModifyDDoSWaterKeyResponse, err error)
- func (c *Client) ModifyDDoSWaterKeyWithContext(ctx context.Context, request *ModifyDDoSWaterKeyRequest) (response *ModifyDDoSWaterKeyResponse, err error)
- func (c *Client) ModifyElasticLimit(request *ModifyElasticLimitRequest) (response *ModifyElasticLimitResponse, err error)
- func (c *Client) ModifyElasticLimitWithContext(ctx context.Context, request *ModifyElasticLimitRequest) (response *ModifyElasticLimitResponse, err error)
- func (c *Client) ModifyL4Health(request *ModifyL4HealthRequest) (response *ModifyL4HealthResponse, err error)
- func (c *Client) ModifyL4HealthWithContext(ctx context.Context, request *ModifyL4HealthRequest) (response *ModifyL4HealthResponse, err error)
- func (c *Client) ModifyL4KeepTime(request *ModifyL4KeepTimeRequest) (response *ModifyL4KeepTimeResponse, err error)
- func (c *Client) ModifyL4KeepTimeWithContext(ctx context.Context, request *ModifyL4KeepTimeRequest) (response *ModifyL4KeepTimeResponse, err error)
- func (c *Client) ModifyL4Rules(request *ModifyL4RulesRequest) (response *ModifyL4RulesResponse, err error)
- func (c *Client) ModifyL4RulesWithContext(ctx context.Context, request *ModifyL4RulesRequest) (response *ModifyL4RulesResponse, err error)
- func (c *Client) ModifyL7Rules(request *ModifyL7RulesRequest) (response *ModifyL7RulesResponse, err error)
- func (c *Client) ModifyL7RulesWithContext(ctx context.Context, request *ModifyL7RulesRequest) (response *ModifyL7RulesResponse, err error)
- func (c *Client) ModifyNetReturnSwitch(request *ModifyNetReturnSwitchRequest) (response *ModifyNetReturnSwitchResponse, err error)
- func (c *Client) ModifyNetReturnSwitchWithContext(ctx context.Context, request *ModifyNetReturnSwitchRequest) (response *ModifyNetReturnSwitchResponse, err error)
- func (c *Client) ModifyNewDomainRules(request *ModifyNewDomainRulesRequest) (response *ModifyNewDomainRulesResponse, err error)
- func (c *Client) ModifyNewDomainRulesWithContext(ctx context.Context, request *ModifyNewDomainRulesRequest) (response *ModifyNewDomainRulesResponse, err error)
- func (c *Client) ModifyNewL4Rule(request *ModifyNewL4RuleRequest) (response *ModifyNewL4RuleResponse, err error)
- func (c *Client) ModifyNewL4RuleWithContext(ctx context.Context, request *ModifyNewL4RuleRequest) (response *ModifyNewL4RuleResponse, err error)
- func (c *Client) ModifyResBindDDoSPolicy(request *ModifyResBindDDoSPolicyRequest) (response *ModifyResBindDDoSPolicyResponse, err error)
- func (c *Client) ModifyResBindDDoSPolicyWithContext(ctx context.Context, request *ModifyResBindDDoSPolicyRequest) (response *ModifyResBindDDoSPolicyResponse, err error)
- func (c *Client) ModifyResourceRenewFlag(request *ModifyResourceRenewFlagRequest) (response *ModifyResourceRenewFlagResponse, err error)
- func (c *Client) ModifyResourceRenewFlagWithContext(ctx context.Context, request *ModifyResourceRenewFlagRequest) (response *ModifyResourceRenewFlagResponse, err error)
- type CreateBasicDDoSAlarmThresholdRequest
- type CreateBasicDDoSAlarmThresholdRequestParams
- type CreateBasicDDoSAlarmThresholdResponse
- type CreateBasicDDoSAlarmThresholdResponseParams
- type CreateBoundIPRequest
- type CreateBoundIPRequestParams
- type CreateBoundIPResponse
- type CreateBoundIPResponseParams
- type CreateCCFrequencyRulesRequest
- type CreateCCFrequencyRulesRequestParams
- type CreateCCFrequencyRulesResponse
- type CreateCCFrequencyRulesResponseParams
- type CreateCCSelfDefinePolicyRequest
- type CreateCCSelfDefinePolicyRequestParams
- type CreateCCSelfDefinePolicyResponse
- type CreateCCSelfDefinePolicyResponseParams
- type CreateDDoSPolicyCaseRequest
- type CreateDDoSPolicyCaseRequestParams
- type CreateDDoSPolicyCaseResponse
- type CreateDDoSPolicyCaseResponseParams
- type CreateDDoSPolicyRequest
- type CreateDDoSPolicyRequestParams
- type CreateDDoSPolicyResponse
- type CreateDDoSPolicyResponseParams
- type CreateInstanceNameRequest
- type CreateInstanceNameRequestParams
- type CreateInstanceNameResponse
- type CreateInstanceNameResponseParams
- type CreateL4HealthConfigRequest
- type CreateL4HealthConfigRequestParams
- type CreateL4HealthConfigResponse
- type CreateL4HealthConfigResponseParams
- type CreateL4RulesRequest
- type CreateL4RulesRequestParams
- type CreateL4RulesResponse
- type CreateL4RulesResponseParams
- type CreateL7CCRuleRequest
- type CreateL7CCRuleRequestParams
- type CreateL7CCRuleResponse
- type CreateL7CCRuleResponseParams
- type CreateL7HealthConfigRequest
- type CreateL7HealthConfigRequestParams
- type CreateL7HealthConfigResponse
- type CreateL7HealthConfigResponseParams
- type CreateL7RuleCertRequest
- type CreateL7RuleCertRequestParams
- type CreateL7RuleCertResponse
- type CreateL7RuleCertResponseParams
- type CreateL7RulesRequest
- type CreateL7RulesRequestParams
- type CreateL7RulesResponse
- type CreateL7RulesResponseParams
- type CreateL7RulesUploadRequest
- type CreateL7RulesUploadRequestParams
- type CreateL7RulesUploadResponse
- type CreateL7RulesUploadResponseParams
- type CreateNetReturnRequest
- type CreateNetReturnRequestParams
- type CreateNetReturnResponse
- type CreateNetReturnResponseParams
- type CreateNewL7RulesUploadRequest
- type CreateNewL7RulesUploadRequestParams
- type CreateNewL7RulesUploadResponse
- type CreateNewL7RulesUploadResponseParams
- type CreateUnblockIpRequest
- type CreateUnblockIpRequestParams
- type CreateUnblockIpResponse
- type CreateUnblockIpResponseParams
- type DDoSAlarmThreshold
- type DDoSAttackSourceRecord
- type DDoSEventRecord
- type DDoSPolicyDropOption
- type DDoSPolicyPacketFilter
- type DDoSPolicyPortLimit
- type DDosPolicy
- type DeleteCCFrequencyRulesRequest
- type DeleteCCFrequencyRulesRequestParams
- type DeleteCCFrequencyRulesResponse
- type DeleteCCFrequencyRulesResponseParams
- type DeleteCCSelfDefinePolicyRequest
- type DeleteCCSelfDefinePolicyRequestParams
- type DeleteCCSelfDefinePolicyResponse
- type DeleteCCSelfDefinePolicyResponseParams
- type DeleteDDoSPolicyCaseRequest
- type DeleteDDoSPolicyCaseRequestParams
- type DeleteDDoSPolicyCaseResponse
- type DeleteDDoSPolicyCaseResponseParams
- type DeleteDDoSPolicyRequest
- type DeleteDDoSPolicyRequestParams
- type DeleteDDoSPolicyResponse
- type DeleteDDoSPolicyResponseParams
- type DeleteL4RulesRequest
- type DeleteL4RulesRequestParams
- type DeleteL4RulesResponse
- type DeleteL4RulesResponseParams
- type DeleteL7RulesRequest
- type DeleteL7RulesRequestParams
- type DeleteL7RulesResponse
- type DeleteL7RulesResponseParams
- type DescribeActionLogRequest
- type DescribeActionLogRequestParams
- type DescribeActionLogResponse
- type DescribeActionLogResponseParams
- type DescribeBGPIPL7RuleMaxCntRequest
- type DescribeBGPIPL7RuleMaxCntRequestParams
- type DescribeBGPIPL7RuleMaxCntResponse
- type DescribeBGPIPL7RuleMaxCntResponseParams
- type DescribeBaradDataRequest
- type DescribeBaradDataRequestParams
- type DescribeBaradDataResponse
- type DescribeBaradDataResponseParams
- type DescribeBasicCCThresholdRequest
- type DescribeBasicCCThresholdRequestParams
- type DescribeBasicCCThresholdResponse
- type DescribeBasicCCThresholdResponseParams
- type DescribeBasicDeviceThresholdRequest
- type DescribeBasicDeviceThresholdRequestParams
- type DescribeBasicDeviceThresholdResponse
- type DescribeBasicDeviceThresholdResponseParams
- type DescribeBizHttpStatusRequest
- type DescribeBizHttpStatusRequestParams
- type DescribeBizHttpStatusResponse
- type DescribeBizHttpStatusResponseParams
- type DescribeCCAlarmThresholdRequest
- type DescribeCCAlarmThresholdRequestParams
- type DescribeCCAlarmThresholdResponse
- type DescribeCCAlarmThresholdResponseParams
- type DescribeCCEvListRequest
- type DescribeCCEvListRequestParams
- type DescribeCCEvListResponse
- type DescribeCCEvListResponseParams
- type DescribeCCFrequencyRulesRequest
- type DescribeCCFrequencyRulesRequestParams
- type DescribeCCFrequencyRulesResponse
- type DescribeCCFrequencyRulesResponseParams
- type DescribeCCIpAllowDenyRequest
- type DescribeCCIpAllowDenyRequestParams
- type DescribeCCIpAllowDenyResponse
- type DescribeCCIpAllowDenyResponseParams
- type DescribeCCSelfDefinePolicyRequest
- type DescribeCCSelfDefinePolicyRequestParams
- type DescribeCCSelfDefinePolicyResponse
- type DescribeCCSelfDefinePolicyResponseParams
- type DescribeCCTrendRequest
- type DescribeCCTrendRequestParams
- type DescribeCCTrendResponse
- type DescribeCCTrendResponseParams
- type DescribeCCUrlAllowRequest
- type DescribeCCUrlAllowRequestParams
- type DescribeCCUrlAllowResponse
- type DescribeCCUrlAllowResponseParams
- type DescribeDDoSAlarmThresholdRequest
- type DescribeDDoSAlarmThresholdRequestParams
- type DescribeDDoSAlarmThresholdResponse
- type DescribeDDoSAlarmThresholdResponseParams
- type DescribeDDoSAttackIPRegionMapRequest
- type DescribeDDoSAttackIPRegionMapRequestParams
- type DescribeDDoSAttackIPRegionMapResponse
- type DescribeDDoSAttackIPRegionMapResponseParams
- type DescribeDDoSAttackSourceRequest
- type DescribeDDoSAttackSourceRequestParams
- type DescribeDDoSAttackSourceResponse
- type DescribeDDoSAttackSourceResponseParams
- type DescribeDDoSCountRequest
- type DescribeDDoSCountRequestParams
- type DescribeDDoSCountResponse
- type DescribeDDoSCountResponseParams
- type DescribeDDoSDefendStatusRequest
- type DescribeDDoSDefendStatusRequestParams
- type DescribeDDoSDefendStatusResponse
- type DescribeDDoSDefendStatusResponseParams
- type DescribeDDoSEvInfoRequest
- type DescribeDDoSEvInfoRequestParams
- type DescribeDDoSEvInfoResponse
- type DescribeDDoSEvInfoResponseParams
- type DescribeDDoSEvListRequest
- type DescribeDDoSEvListRequestParams
- type DescribeDDoSEvListResponse
- type DescribeDDoSEvListResponseParams
- type DescribeDDoSIpLogRequest
- type DescribeDDoSIpLogRequestParams
- type DescribeDDoSIpLogResponse
- type DescribeDDoSIpLogResponseParams
- type DescribeDDoSNetCountRequest
- type DescribeDDoSNetCountRequestParams
- type DescribeDDoSNetCountResponse
- type DescribeDDoSNetCountResponseParams
- type DescribeDDoSNetEvInfoRequest
- type DescribeDDoSNetEvInfoRequestParams
- type DescribeDDoSNetEvInfoResponse
- type DescribeDDoSNetEvInfoResponseParams
- type DescribeDDoSNetEvListRequest
- type DescribeDDoSNetEvListRequestParams
- type DescribeDDoSNetEvListResponse
- type DescribeDDoSNetEvListResponseParams
- type DescribeDDoSNetIpLogRequest
- type DescribeDDoSNetIpLogRequestParams
- type DescribeDDoSNetIpLogResponse
- type DescribeDDoSNetIpLogResponseParams
- type DescribeDDoSNetTrendRequest
- type DescribeDDoSNetTrendRequestParams
- type DescribeDDoSNetTrendResponse
- type DescribeDDoSNetTrendResponseParams
- type DescribeDDoSPolicyRequest
- type DescribeDDoSPolicyRequestParams
- type DescribeDDoSPolicyResponse
- type DescribeDDoSPolicyResponseParams
- type DescribeDDoSTrendRequest
- type DescribeDDoSTrendRequestParams
- type DescribeDDoSTrendResponse
- type DescribeDDoSTrendResponseParams
- type DescribeDDoSUsedStatisRequest
- type DescribeDDoSUsedStatisRequestParams
- type DescribeDDoSUsedStatisResponse
- type DescribeDDoSUsedStatisResponseParams
- type DescribeIPProductInfoRequest
- type DescribeIPProductInfoRequestParams
- type DescribeIPProductInfoResponse
- type DescribeIPProductInfoResponseParams
- type DescribeInsurePacksRequest
- type DescribeInsurePacksRequestParams
- type DescribeInsurePacksResponse
- type DescribeInsurePacksResponseParams
- type DescribeIpBlockListRequest
- type DescribeIpBlockListRequestParams
- type DescribeIpBlockListResponse
- type DescribeIpBlockListResponseParams
- type DescribeIpUnBlockListRequest
- type DescribeIpUnBlockListRequestParams
- type DescribeIpUnBlockListResponse
- type DescribeIpUnBlockListResponseParams
- type DescribeL4HealthConfigRequest
- type DescribeL4HealthConfigRequestParams
- type DescribeL4HealthConfigResponse
- type DescribeL4HealthConfigResponseParams
- type DescribeL4RulesErrHealthRequest
- type DescribeL4RulesErrHealthRequestParams
- type DescribeL4RulesErrHealthResponse
- type DescribeL4RulesErrHealthResponseParams
- type DescribeL7HealthConfigRequest
- type DescribeL7HealthConfigRequestParams
- type DescribeL7HealthConfigResponse
- type DescribeL7HealthConfigResponseParams
- type DescribePackIndexRequest
- type DescribePackIndexRequestParams
- type DescribePackIndexResponse
- type DescribePackIndexResponseParams
- type DescribePcapRequest
- type DescribePcapRequestParams
- type DescribePcapResponse
- type DescribePcapResponseParams
- type DescribePolicyCaseRequest
- type DescribePolicyCaseRequestParams
- type DescribePolicyCaseResponse
- type DescribePolicyCaseResponseParams
- type DescribeResIpListRequest
- type DescribeResIpListRequestParams
- type DescribeResIpListResponse
- type DescribeResIpListResponseParams
- type DescribeResourceListRequest
- type DescribeResourceListRequestParams
- type DescribeResourceListResponse
- type DescribeResourceListResponseParams
- type DescribeRuleSetsRequest
- type DescribeRuleSetsRequestParams
- type DescribeRuleSetsResponse
- type DescribeRuleSetsResponseParams
- type DescribeSchedulingDomainListRequest
- type DescribeSchedulingDomainListRequestParams
- type DescribeSchedulingDomainListResponse
- type DescribeSchedulingDomainListResponseParams
- type DescribeSecIndexRequest
- type DescribeSecIndexRequestParams
- type DescribeSecIndexResponse
- type DescribeSecIndexResponseParams
- type DescribeSourceIpSegmentRequest
- type DescribeSourceIpSegmentRequestParams
- type DescribeSourceIpSegmentResponse
- type DescribeSourceIpSegmentResponseParams
- type DescribeTransmitStatisRequest
- type DescribeTransmitStatisRequestParams
- type DescribeTransmitStatisResponse
- type DescribeTransmitStatisResponseParams
- type DescribeUnBlockStatisRequest
- type DescribeUnBlockStatisRequestParams
- type DescribeUnBlockStatisResponse
- type DescribeUnBlockStatisResponseParams
- type DescribleL4RulesRequest
- type DescribleL4RulesRequestParams
- type DescribleL4RulesResponse
- type DescribleL4RulesResponseParams
- type DescribleL7RulesRequest
- type DescribleL7RulesRequestParams
- type DescribleL7RulesResponse
- type DescribleL7RulesResponseParams
- type DescribleRegionCountRequest
- type DescribleRegionCountRequestParams
- type DescribleRegionCountResponse
- type DescribleRegionCountResponseParams
- 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 ModifyCCAlarmThresholdRequestParams
- type ModifyCCAlarmThresholdResponse
- type ModifyCCAlarmThresholdResponseParams
- type ModifyCCFrequencyRulesRequest
- type ModifyCCFrequencyRulesRequestParams
- type ModifyCCFrequencyRulesResponse
- type ModifyCCFrequencyRulesResponseParams
- type ModifyCCFrequencyRulesStatusRequest
- type ModifyCCFrequencyRulesStatusRequestParams
- type ModifyCCFrequencyRulesStatusResponse
- type ModifyCCFrequencyRulesStatusResponseParams
- type ModifyCCHostProtectionRequest
- type ModifyCCHostProtectionRequestParams
- type ModifyCCHostProtectionResponse
- type ModifyCCHostProtectionResponseParams
- type ModifyCCIpAllowDenyRequest
- type ModifyCCIpAllowDenyRequestParams
- type ModifyCCIpAllowDenyResponse
- type ModifyCCIpAllowDenyResponseParams
- type ModifyCCLevelRequest
- type ModifyCCLevelRequestParams
- type ModifyCCLevelResponse
- type ModifyCCLevelResponseParams
- type ModifyCCPolicySwitchRequest
- type ModifyCCPolicySwitchRequestParams
- type ModifyCCPolicySwitchResponse
- type ModifyCCPolicySwitchResponseParams
- type ModifyCCSelfDefinePolicyRequest
- type ModifyCCSelfDefinePolicyRequestParams
- type ModifyCCSelfDefinePolicyResponse
- type ModifyCCSelfDefinePolicyResponseParams
- type ModifyCCThresholdRequest
- type ModifyCCThresholdRequestParams
- type ModifyCCThresholdResponse
- type ModifyCCThresholdResponseParams
- type ModifyCCUrlAllowRequest
- type ModifyCCUrlAllowRequestParams
- type ModifyCCUrlAllowResponse
- type ModifyCCUrlAllowResponseParams
- type ModifyDDoSAIStatusRequest
- type ModifyDDoSAIStatusRequestParams
- type ModifyDDoSAIStatusResponse
- type ModifyDDoSAIStatusResponseParams
- type ModifyDDoSAlarmThresholdRequest
- type ModifyDDoSAlarmThresholdRequestParams
- type ModifyDDoSAlarmThresholdResponse
- type ModifyDDoSAlarmThresholdResponseParams
- type ModifyDDoSDefendStatusRequest
- type ModifyDDoSDefendStatusRequestParams
- type ModifyDDoSDefendStatusResponse
- type ModifyDDoSDefendStatusResponseParams
- type ModifyDDoSLevelRequest
- type ModifyDDoSLevelRequestParams
- type ModifyDDoSLevelResponse
- type ModifyDDoSLevelResponseParams
- type ModifyDDoSPolicyCaseRequest
- type ModifyDDoSPolicyCaseRequestParams
- type ModifyDDoSPolicyCaseResponse
- type ModifyDDoSPolicyCaseResponseParams
- type ModifyDDoSPolicyNameRequest
- type ModifyDDoSPolicyNameRequestParams
- type ModifyDDoSPolicyNameResponse
- type ModifyDDoSPolicyNameResponseParams
- type ModifyDDoSPolicyRequest
- type ModifyDDoSPolicyRequestParams
- type ModifyDDoSPolicyResponse
- type ModifyDDoSPolicyResponseParams
- type ModifyDDoSSwitchRequest
- type ModifyDDoSSwitchRequestParams
- type ModifyDDoSSwitchResponse
- type ModifyDDoSSwitchResponseParams
- type ModifyDDoSThresholdRequest
- type ModifyDDoSThresholdRequestParams
- type ModifyDDoSThresholdResponse
- type ModifyDDoSThresholdResponseParams
- type ModifyDDoSWaterKeyRequest
- type ModifyDDoSWaterKeyRequestParams
- type ModifyDDoSWaterKeyResponse
- type ModifyDDoSWaterKeyResponseParams
- type ModifyElasticLimitRequest
- type ModifyElasticLimitRequestParams
- type ModifyElasticLimitResponse
- type ModifyElasticLimitResponseParams
- type ModifyL4HealthRequest
- type ModifyL4HealthRequestParams
- type ModifyL4HealthResponse
- type ModifyL4HealthResponseParams
- type ModifyL4KeepTimeRequest
- type ModifyL4KeepTimeRequestParams
- type ModifyL4KeepTimeResponse
- type ModifyL4KeepTimeResponseParams
- type ModifyL4RulesRequest
- type ModifyL4RulesRequestParams
- type ModifyL4RulesResponse
- type ModifyL4RulesResponseParams
- type ModifyL7RulesRequest
- type ModifyL7RulesRequestParams
- type ModifyL7RulesResponse
- type ModifyL7RulesResponseParams
- type ModifyNetReturnSwitchRequest
- type ModifyNetReturnSwitchRequestParams
- type ModifyNetReturnSwitchResponse
- type ModifyNetReturnSwitchResponseParams
- type ModifyNewDomainRulesRequest
- type ModifyNewDomainRulesRequestParams
- type ModifyNewDomainRulesResponse
- type ModifyNewDomainRulesResponseParams
- type ModifyNewL4RuleRequest
- type ModifyNewL4RuleRequestParams
- type ModifyNewL4RuleResponse
- type ModifyNewL4RuleResponseParams
- type ModifyResBindDDoSPolicyRequest
- type ModifyResBindDDoSPolicyRequestParams
- type ModifyResBindDDoSPolicyResponse
- type ModifyResBindDDoSPolicyResponseParams
- type ModifyResourceRenewFlagRequest
- type ModifyResourceRenewFlagRequestParams
- type ModifyResourceRenewFlagResponse
- type ModifyResourceRenewFlagResponseParams
- 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,omitnil" name:"MetricName"` // Value array Data []*float64 `json:"Data,omitnil" name:"Data"` // Value array size Count *uint64 `json:"Count,omitnil" name:"Count"` }
type BoundIpInfo ¶
type BoundIpInfo struct { // IP address Ip *string `json:"Ip,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"InstanceId"` }
type CCAlarmThreshold ¶
type CCAlarmThreshold struct { // CC alarm threshold AlarmThreshold *uint64 `json:"AlarmThreshold,omitnil" 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Resource IP Vip *string `json:"Vip,omitnil" name:"Vip"` // Attack start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Total requests peak (QPS) ReqQps *uint64 `json:"ReqQps,omitnil" name:"ReqQps"` // Attack peak (QPS) DropQps *uint64 `json:"DropQps,omitnil" name:"DropQps"` // Attack status. Valid values: [0 (ongoing), 1 (ended)] AttackStatus *uint64 `json:"AttackStatus,omitnil" name:"AttackStatus"` // Resource name // Note: this field may return null, indicating that no valid values can be obtained. ResourceName *string `json:"ResourceName,omitnil" name:"ResourceName"` // Domain name list // Note: this field may return null, indicating that no valid values can be obtained. DomainList *string `json:"DomainList,omitnil" name:"DomainList"` // URI list // Note: this field may return null, indicating that no valid values can be obtained. UriList *string `json:"UriList,omitnil" name:"UriList"` // Attack source list // Note: this field may return null, indicating that no valid values can be obtained. AttackipList *string `json:"AttackipList,omitnil" name:"AttackipList"` }
type CCFrequencyRule ¶
type CCFrequencyRule struct { // ID of the access frequency control rule for CC protection CCFrequencyRuleId *string `json:"CCFrequencyRuleId,omitnil" 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,omitnil" name:"Uri"` // `User-Agent` string. Length limit: 80 UserAgent *string `json:"UserAgent,omitnil" name:"UserAgent"` // Cookie string. Length limit: 40 Cookie *string `json:"Cookie,omitnil" name:"Cookie"` // Matching rule. Valid values: ["include" (prefix match), "equal" (exact match)] Mode *string `json:"Mode,omitnil" name:"Mode"` // Reference period in seconds. Valid values: [10, 30, 60] Period *uint64 `json:"Period,omitnil" name:"Period"` // Number of access requests. Value range: [1-10000] ReqNumber *uint64 `json:"ReqNumber,omitnil" name:"ReqNumber"` // Action take. Valid values: ["alg" (CAPTCHA), "drop" (blocking)] Act *string `json:"Act,omitnil" name:"Act"` // Execution duration in seconds. Valid range: [1-900] ExeDuration *uint64 `json:"ExeDuration,omitnil" name:"ExeDuration"` }
type CCPolicy ¶
type CCPolicy struct { // Policy name Name *string `json:"Name,omitnil" name:"Name"` // Matching mode. Valid values: [matching (matching mode), speedlimit (speed limiting mode)] Smode *string `json:"Smode,omitnil" name:"Smode"` // Policy ID SetId *string `json:"SetId,omitnil" name:"SetId"` // Number of requests allowed per minute Frequency *uint64 `json:"Frequency,omitnil" name:"Frequency"` // Executed policy mode. Valid values: [alg (verification code), drop (blocking)] ExeMode *string `json:"ExeMode,omitnil" name:"ExeMode"` // Specifies whether the policy is activated Switch *uint64 `json:"Switch,omitnil" name:"Switch"` // Creation time CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Rule list RuleList []*CCRule `json:"RuleList,omitnil" name:"RuleList"` // IP list. If this field is to be left empty, please pass in an empty instead of null; IpList []*string `json:"IpList,omitnil" name:"IpList"` // CC protection type. Valid values: [http, https] Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // ID of the forwarding rule corresponding to the HTTPS CC protection domain name RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // HTTPS CC protection domain name Domain *string `json:"Domain,omitnil" name:"Domain"` }
type CCRule ¶
type CCRule struct { // Key of the policy. Valid values: `host`, `cgi`, `ua`, `referer` Skey *string `json:"Skey,omitnil" name:"Skey"` // Rule condition. Valid values: `include`, `not_include`, `equal` Operator *string `json:"Operator,omitnil" name:"Operator"` // Value of the policy. Length limit: 31 bytes Value *string `json:"Value,omitnil" name:"Value"` }
type CCRuleConfig ¶
type CCRuleConfig struct { // Reference period in seconds. Valid values: [10, 30, 60] Period *uint64 `json:"Period,omitnil" name:"Period"` // Number of access requests. Value range: [1-10000] ReqNumber *uint64 `json:"ReqNumber,omitnil" name:"ReqNumber"` // Action take. Valid values: ["alg" (CAPTCHA), "drop" (blocking)] Action *string `json:"Action,omitnil" name:"Action"` // Execution duration in seconds. Valid range: [1-900] ExeDuration *uint64 `json:"ExeDuration,omitnil" 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) CreateBasicDDoSAlarmThresholdWithContext ¶
func (c *Client) CreateBasicDDoSAlarmThresholdWithContext(ctx context.Context, 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) CreateBoundIPWithContext ¶
func (c *Client) CreateBoundIPWithContext(ctx context.Context, request *CreateBoundIPRequest) (response *CreateBoundIPResponse, err error)
CreateBoundIP This API is used to bind an IP to an Anti-DDoS Pro instance, 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) CreateCCFrequencyRulesWithContext ¶
func (c *Client) CreateCCFrequencyRulesWithContext(ctx context.Context, 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) CreateCCSelfDefinePolicyWithContext ¶
func (c *Client) CreateCCSelfDefinePolicyWithContext(ctx context.Context, 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) CreateDDoSPolicyCaseWithContext ¶
func (c *Client) CreateDDoSPolicyCaseWithContext(ctx context.Context, 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) CreateDDoSPolicyWithContext ¶
func (c *Client) CreateDDoSPolicyWithContext(ctx context.Context, 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) 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) CreateInstanceNameWithContext ¶
func (c *Client) CreateInstanceNameWithContext(ctx context.Context, 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) CreateL4HealthConfigWithContext ¶
func (c *Client) CreateL4HealthConfigWithContext(ctx context.Context, 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) CreateL4RulesWithContext ¶
func (c *Client) CreateL4RulesWithContext(ctx context.Context, 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) CreateL7CCRuleWithContext ¶
func (c *Client) CreateL7CCRuleWithContext(ctx context.Context, 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) CreateL7HealthConfigWithContext ¶
func (c *Client) CreateL7HealthConfigWithContext(ctx context.Context, 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) CreateL7RuleCertWithContext ¶
func (c *Client) CreateL7RuleCertWithContext(ctx context.Context, 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) CreateL7RulesUploadWithContext ¶
func (c *Client) CreateL7RulesUploadWithContext(ctx context.Context, 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) CreateL7RulesWithContext ¶
func (c *Client) CreateL7RulesWithContext(ctx context.Context, 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) 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) CreateNetReturnWithContext ¶
func (c *Client) CreateNetReturnWithContext(ctx context.Context, 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) CreateNewL7RulesUploadWithContext ¶
func (c *Client) CreateNewL7RulesUploadWithContext(ctx context.Context, 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) CreateUnblockIpWithContext ¶
func (c *Client) CreateUnblockIpWithContext(ctx context.Context, 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) DeleteCCFrequencyRulesWithContext ¶
func (c *Client) DeleteCCFrequencyRulesWithContext(ctx context.Context, 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) DeleteCCSelfDefinePolicyWithContext ¶
func (c *Client) DeleteCCSelfDefinePolicyWithContext(ctx context.Context, 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) DeleteDDoSPolicyCaseWithContext ¶
func (c *Client) DeleteDDoSPolicyCaseWithContext(ctx context.Context, 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) DeleteDDoSPolicyWithContext ¶
func (c *Client) DeleteDDoSPolicyWithContext(ctx context.Context, 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) 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) DeleteL4RulesWithContext ¶
func (c *Client) DeleteL4RulesWithContext(ctx context.Context, 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) DeleteL7RulesWithContext ¶
func (c *Client) DeleteL7RulesWithContext(ctx context.Context, 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) DescribeActionLogWithContext ¶
func (c *Client) DescribeActionLogWithContext(ctx context.Context, 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) DescribeBGPIPL7RuleMaxCntWithContext ¶
func (c *Client) DescribeBGPIPL7RuleMaxCntWithContext(ctx context.Context, 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) DescribeBaradDataWithContext ¶
func (c *Client) DescribeBaradDataWithContext(ctx context.Context, 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) DescribeBasicCCThresholdWithContext ¶
func (c *Client) DescribeBasicCCThresholdWithContext(ctx context.Context, 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) DescribeBasicDeviceThresholdWithContext ¶
func (c *Client) DescribeBasicDeviceThresholdWithContext(ctx context.Context, 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) DescribeBizHttpStatusWithContext ¶
func (c *Client) DescribeBizHttpStatusWithContext(ctx context.Context, request *DescribeBizHttpStatusRequest) (response *DescribeBizHttpStatusResponse, err error)
DescribeBizHttpStatus This API is used to get the statistics on the status codes of business traffic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) 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) DescribeCCAlarmThresholdWithContext ¶
func (c *Client) DescribeCCAlarmThresholdWithContext(ctx context.Context, 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) DescribeCCEvListWithContext ¶
func (c *Client) DescribeCCEvListWithContext(ctx context.Context, 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) DescribeCCFrequencyRulesWithContext ¶
func (c *Client) DescribeCCFrequencyRulesWithContext(ctx context.Context, 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) DescribeCCIpAllowDenyWithContext ¶
func (c *Client) DescribeCCIpAllowDenyWithContext(ctx context.Context, 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) DescribeCCSelfDefinePolicyWithContext ¶
func (c *Client) DescribeCCSelfDefinePolicyWithContext(ctx context.Context, 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) DescribeCCTrendWithContext ¶
func (c *Client) DescribeCCTrendWithContext(ctx context.Context, 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) DescribeCCUrlAllowWithContext ¶
func (c *Client) DescribeCCUrlAllowWithContext(ctx context.Context, 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) DescribeDDoSAlarmThresholdWithContext ¶
func (c *Client) DescribeDDoSAlarmThresholdWithContext(ctx context.Context, 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) DescribeDDoSAttackIPRegionMapWithContext ¶
func (c *Client) DescribeDDoSAttackIPRegionMapWithContext(ctx context.Context, 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) DescribeDDoSAttackSourceWithContext ¶
func (c *Client) DescribeDDoSAttackSourceWithContext(ctx context.Context, 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) DescribeDDoSCountWithContext ¶
func (c *Client) DescribeDDoSCountWithContext(ctx context.Context, 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) DescribeDDoSDefendStatusWithContext ¶
func (c *Client) DescribeDDoSDefendStatusWithContext(ctx context.Context, 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) DescribeDDoSEvInfoWithContext ¶
func (c *Client) DescribeDDoSEvInfoWithContext(ctx context.Context, 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) DescribeDDoSEvListWithContext ¶
func (c *Client) DescribeDDoSEvListWithContext(ctx context.Context, 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) DescribeDDoSIpLogWithContext ¶
func (c *Client) DescribeDDoSIpLogWithContext(ctx context.Context, 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) DescribeDDoSNetCountWithContext ¶
func (c *Client) DescribeDDoSNetCountWithContext(ctx context.Context, 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) DescribeDDoSNetEvInfoWithContext ¶
func (c *Client) DescribeDDoSNetEvInfoWithContext(ctx context.Context, 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) DescribeDDoSNetEvListWithContext ¶
func (c *Client) DescribeDDoSNetEvListWithContext(ctx context.Context, 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) DescribeDDoSNetIpLogWithContext ¶
func (c *Client) DescribeDDoSNetIpLogWithContext(ctx context.Context, 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) DescribeDDoSNetTrendWithContext ¶
func (c *Client) DescribeDDoSNetTrendWithContext(ctx context.Context, 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) DescribeDDoSPolicyWithContext ¶
func (c *Client) DescribeDDoSPolicyWithContext(ctx context.Context, 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) DescribeDDoSTrendWithContext ¶
func (c *Client) DescribeDDoSTrendWithContext(ctx context.Context, 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) DescribeDDoSUsedStatisWithContext ¶
func (c *Client) DescribeDDoSUsedStatisWithContext(ctx context.Context, 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) DescribeIPProductInfoWithContext ¶
func (c *Client) DescribeIPProductInfoWithContext(ctx context.Context, 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) DescribeInsurePacksWithContext ¶
func (c *Client) DescribeInsurePacksWithContext(ctx context.Context, 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) DescribeIpBlockListWithContext ¶
func (c *Client) DescribeIpBlockListWithContext(ctx context.Context, 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) DescribeIpUnBlockListWithContext ¶
func (c *Client) DescribeIpUnBlockListWithContext(ctx context.Context, 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) DescribeL4HealthConfigWithContext ¶
func (c *Client) DescribeL4HealthConfigWithContext(ctx context.Context, 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) DescribeL4RulesErrHealthWithContext ¶
func (c *Client) DescribeL4RulesErrHealthWithContext(ctx context.Context, 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) DescribeL7HealthConfigWithContext ¶
func (c *Client) DescribeL7HealthConfigWithContext(ctx context.Context, 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) DescribePackIndexWithContext ¶
func (c *Client) DescribePackIndexWithContext(ctx context.Context, 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) DescribePcapWithContext ¶
func (c *Client) DescribePcapWithContext(ctx context.Context, 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) DescribePolicyCaseWithContext ¶
func (c *Client) DescribePolicyCaseWithContext(ctx context.Context, 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) DescribeResIpListWithContext ¶
func (c *Client) DescribeResIpListWithContext(ctx context.Context, 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) DescribeResourceListWithContext ¶
func (c *Client) DescribeResourceListWithContext(ctx context.Context, 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) DescribeRuleSetsWithContext ¶
func (c *Client) DescribeRuleSetsWithContext(ctx context.Context, 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) DescribeSchedulingDomainListWithContext ¶
func (c *Client) DescribeSchedulingDomainListWithContext(ctx context.Context, 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) DescribeSecIndexWithContext ¶
func (c *Client) DescribeSecIndexWithContext(ctx context.Context, 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) DescribeSourceIpSegmentWithContext ¶
func (c *Client) DescribeSourceIpSegmentWithContext(ctx context.Context, 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) DescribeTransmitStatisWithContext ¶
func (c *Client) DescribeTransmitStatisWithContext(ctx context.Context, 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) DescribeUnBlockStatisWithContext ¶
func (c *Client) DescribeUnBlockStatisWithContext(ctx context.Context, 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) DescribleL4RulesWithContext ¶
func (c *Client) DescribleL4RulesWithContext(ctx context.Context, 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) DescribleL7RulesWithContext ¶
func (c *Client) DescribleL7RulesWithContext(ctx context.Context, 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) DescribleRegionCountWithContext ¶
func (c *Client) DescribleRegionCountWithContext(ctx context.Context, 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) ModifyCCAlarmThresholdWithContext ¶
func (c *Client) ModifyCCAlarmThresholdWithContext(ctx context.Context, 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) ModifyCCFrequencyRulesStatusWithContext ¶
func (c *Client) ModifyCCFrequencyRulesStatusWithContext(ctx context.Context, 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) ModifyCCFrequencyRulesWithContext ¶
func (c *Client) ModifyCCFrequencyRulesWithContext(ctx context.Context, 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) 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) ModifyCCHostProtectionWithContext ¶
func (c *Client) ModifyCCHostProtectionWithContext(ctx context.Context, 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) ModifyCCIpAllowDenyWithContext ¶
func (c *Client) ModifyCCIpAllowDenyWithContext(ctx context.Context, 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) ModifyCCLevelWithContext ¶
func (c *Client) ModifyCCLevelWithContext(ctx context.Context, 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) ModifyCCPolicySwitchWithContext ¶
func (c *Client) ModifyCCPolicySwitchWithContext(ctx context.Context, 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) ModifyCCSelfDefinePolicyWithContext ¶
func (c *Client) ModifyCCSelfDefinePolicyWithContext(ctx context.Context, 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) ModifyCCThresholdWithContext ¶
func (c *Client) ModifyCCThresholdWithContext(ctx context.Context, 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) ModifyCCUrlAllowWithContext ¶
func (c *Client) ModifyCCUrlAllowWithContext(ctx context.Context, 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) ModifyDDoSAIStatusWithContext ¶
func (c *Client) ModifyDDoSAIStatusWithContext(ctx context.Context, 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) ModifyDDoSAlarmThresholdWithContext ¶
func (c *Client) ModifyDDoSAlarmThresholdWithContext(ctx context.Context, 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) ModifyDDoSDefendStatusWithContext ¶
func (c *Client) ModifyDDoSDefendStatusWithContext(ctx context.Context, 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) ModifyDDoSLevelWithContext ¶
func (c *Client) ModifyDDoSLevelWithContext(ctx context.Context, 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) ModifyDDoSPolicyCaseWithContext ¶
func (c *Client) ModifyDDoSPolicyCaseWithContext(ctx context.Context, 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) ModifyDDoSPolicyNameWithContext ¶
func (c *Client) ModifyDDoSPolicyNameWithContext(ctx context.Context, 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) ModifyDDoSPolicyWithContext ¶
func (c *Client) ModifyDDoSPolicyWithContext(ctx context.Context, 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) 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) ModifyDDoSSwitchWithContext ¶
func (c *Client) ModifyDDoSSwitchWithContext(ctx context.Context, 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) ModifyDDoSThresholdWithContext ¶
func (c *Client) ModifyDDoSThresholdWithContext(ctx context.Context, 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) ModifyDDoSWaterKeyWithContext ¶
func (c *Client) ModifyDDoSWaterKeyWithContext(ctx context.Context, 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) ModifyElasticLimitWithContext ¶
func (c *Client) ModifyElasticLimitWithContext(ctx context.Context, 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) ModifyL4HealthWithContext ¶
func (c *Client) ModifyL4HealthWithContext(ctx context.Context, 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) ModifyL4KeepTimeWithContext ¶
func (c *Client) ModifyL4KeepTimeWithContext(ctx context.Context, 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) ModifyL4RulesWithContext ¶
func (c *Client) ModifyL4RulesWithContext(ctx context.Context, 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) ModifyL7RulesWithContext ¶
func (c *Client) ModifyL7RulesWithContext(ctx context.Context, 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) ModifyNetReturnSwitchWithContext ¶
func (c *Client) ModifyNetReturnSwitchWithContext(ctx context.Context, 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) ModifyNewDomainRulesWithContext ¶
func (c *Client) ModifyNewDomainRulesWithContext(ctx context.Context, request *ModifyNewDomainRulesRequest) (response *ModifyNewDomainRulesResponse, err error)
ModifyNewDomainRules This API is used to modify layer-7 forwarding rules.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
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) ModifyNewL4RuleWithContext ¶
func (c *Client) ModifyNewL4RuleWithContext(ctx context.Context, 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) ModifyResBindDDoSPolicyWithContext ¶
func (c *Client) ModifyResBindDDoSPolicyWithContext(ctx context.Context, 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"
func (*Client) ModifyResourceRenewFlagWithContext ¶
func (c *Client) ModifyResourceRenewFlagWithContext(ctx context.Context, 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,omitnil" name:"Business"` // `get`: read alarm threshold, `set`: set alarm threshold Method *string `json:"Method,omitnil" name:"Method"` // Alarm threshold type. 1: inbound traffic, 2: cleansed traffic. This field is required if `Method` is `set`; AlarmType *uint64 `json:"AlarmType,omitnil" 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,omitnil" 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 CreateBasicDDoSAlarmThresholdRequestParams ¶
type CreateBasicDDoSAlarmThresholdRequestParams struct { // Anti-DDoS service type (`basic`: Anti-DDoS Basic) Business *string `json:"Business,omitnil" name:"Business"` // `get`: read alarm threshold, `set`: set alarm threshold Method *string `json:"Method,omitnil" name:"Method"` // Alarm threshold type. 1: inbound traffic, 2: cleansed traffic. This field is required if `Method` is `set`; AlarmType *uint64 `json:"AlarmType,omitnil" 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,omitnil" name:"AlarmThreshold"` }
Predefined struct for user
type CreateBasicDDoSAlarmThresholdResponse ¶
type CreateBasicDDoSAlarmThresholdResponse struct { *tchttp.BaseResponse Response *CreateBasicDDoSAlarmThresholdResponseParams `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 CreateBasicDDoSAlarmThresholdResponseParams ¶
type CreateBasicDDoSAlarmThresholdResponseParams 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,omitnil" name:"AlarmThreshold"` // Alarm threshold type. 1: inbound traffic, 2: cleansed traffic. This field is valid if `AlarmThreshold` is above 0; AlarmType *uint64 `json:"AlarmType,omitnil" name:"AlarmType"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateBoundIPRequest ¶
type CreateBoundIPRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" 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,omitnil" name:"UnBoundDevList"` // [Disused] CopyPolicy *string `json:"CopyPolicy,omitnil" name:"CopyPolicy"` }
func NewCreateBoundIPRequest ¶
func NewCreateBoundIPRequest() (request *CreateBoundIPRequest)
func (*CreateBoundIPRequest) FromJsonString ¶
func (r *CreateBoundIPRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBoundIPRequest) ToJsonString ¶
func (r *CreateBoundIPRequest) ToJsonString() string
type CreateBoundIPRequestParams ¶
type CreateBoundIPRequestParams struct { // Anti-DDoS service type. `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" 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,omitnil" name:"UnBoundDevList"` // [Disused] CopyPolicy *string `json:"CopyPolicy,omitnil" name:"CopyPolicy"` }
Predefined struct for user
type CreateBoundIPResponse ¶
type CreateBoundIPResponse struct { *tchttp.BaseResponse Response *CreateBoundIPResponseParams `json:"Response"` }
func NewCreateBoundIPResponse ¶
func NewCreateBoundIPResponse() (response *CreateBoundIPResponse)
func (*CreateBoundIPResponse) FromJsonString ¶
func (r *CreateBoundIPResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBoundIPResponse) ToJsonString ¶
func (r *CreateBoundIPResponse) ToJsonString() string
type CreateBoundIPResponseParams ¶
type CreateBoundIPResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateCCFrequencyRulesRequest ¶
type CreateCCFrequencyRulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Layer-7 forwarding rule ID, which can be obtained through the `DescribleL7Rules` API RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // Matching rule. Valid values: ["include" (prefix match), "equal" (exact match)] Mode *string `json:"Mode,omitnil" name:"Mode"` // Reference period in seconds. Valid values: [10, 30, 60] Period *uint64 `json:"Period,omitnil" name:"Period"` // Number of access requests. Value range: [1-10000] ReqNumber *uint64 `json:"ReqNumber,omitnil" name:"ReqNumber"` // Action take. Valid values: ["alg" (CAPTCHA), "drop" (blocking)] Act *string `json:"Act,omitnil" name:"Act"` // Execution duration in seconds. Valid range: [1-900] ExeDuration *uint64 `json:"ExeDuration,omitnil" 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,omitnil" name:"Uri"` // `User-Agent` string. Length limit: 80 UserAgent *string `json:"UserAgent,omitnil" name:"UserAgent"` // Cookie string. Length limit: 40 Cookie *string `json:"Cookie,omitnil" 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 CreateCCFrequencyRulesRequestParams ¶
type CreateCCFrequencyRulesRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Layer-7 forwarding rule ID, which can be obtained through the `DescribleL7Rules` API RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // Matching rule. Valid values: ["include" (prefix match), "equal" (exact match)] Mode *string `json:"Mode,omitnil" name:"Mode"` // Reference period in seconds. Valid values: [10, 30, 60] Period *uint64 `json:"Period,omitnil" name:"Period"` // Number of access requests. Value range: [1-10000] ReqNumber *uint64 `json:"ReqNumber,omitnil" name:"ReqNumber"` // Action take. Valid values: ["alg" (CAPTCHA), "drop" (blocking)] Act *string `json:"Act,omitnil" name:"Act"` // Execution duration in seconds. Valid range: [1-900] ExeDuration *uint64 `json:"ExeDuration,omitnil" 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,omitnil" name:"Uri"` // `User-Agent` string. Length limit: 80 UserAgent *string `json:"UserAgent,omitnil" name:"UserAgent"` // Cookie string. Length limit: 40 Cookie *string `json:"Cookie,omitnil" name:"Cookie"` }
Predefined struct for user
type CreateCCFrequencyRulesResponse ¶
type CreateCCFrequencyRulesResponse struct { *tchttp.BaseResponse Response *CreateCCFrequencyRulesResponseParams `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 CreateCCFrequencyRulesResponseParams ¶
type CreateCCFrequencyRulesResponseParams struct { // Access frequency control rule ID for CC protection CCFrequencyRuleId *string `json:"CCFrequencyRuleId,omitnil" name:"CCFrequencyRuleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Details of the CC protection policy Policy *CCPolicy `json:"Policy,omitnil" 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 CreateCCSelfDefinePolicyRequestParams ¶
type CreateCCSelfDefinePolicyRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Details of the CC protection policy Policy *CCPolicy `json:"Policy,omitnil" name:"Policy"` }
Predefined struct for user
type CreateCCSelfDefinePolicyResponse ¶
type CreateCCSelfDefinePolicyResponse struct { *tchttp.BaseResponse Response *CreateCCSelfDefinePolicyResponseParams `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 CreateCCSelfDefinePolicyResponseParams ¶
type CreateCCSelfDefinePolicyResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Policy scenario name string. Length limit: 64 CaseName *string `json:"CaseName,omitnil" name:"CaseName"` // Development platform. Valid values: [PC (PC client), MOBILE (mobile device), TV (TV), SERVER (server)] PlatformTypes []*string `json:"PlatformTypes,omitnil" name:"PlatformTypes"` // Category. Valid values: [WEB (website), GAME (game), APP (application), OTHER (other)] AppType *string `json:"AppType,omitnil" name:"AppType"` // Application protocol. Valid values: [tcp (TCP protocol), udp (UDP protocol), icmp (ICMP protocol), all (other protocols)] AppProtocols []*string `json:"AppProtocols,omitnil" name:"AppProtocols"` // TCP start port. Value range: (0, 65535] TcpSportStart *string `json:"TcpSportStart,omitnil" 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,omitnil" name:"TcpSportEnd"` // UDP start port. Value range: (0, 65535] UdpSportStart *string `json:"UdpSportStart,omitnil" 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,omitnil" name:"UdpSportEnd"` // Whether there are customers outside China. Valid values: [no, yes] HasAbroad *string `json:"HasAbroad,omitnil" name:"HasAbroad"` // Whether to actively initiate outbound TCP requests. Valid values: [no, yes] HasInitiateTcp *string `json:"HasInitiateTcp,omitnil" name:"HasInitiateTcp"` // Whether to actively initiate outbound UDP requests. Valid values: [no, yes] HasInitiateUdp *string `json:"HasInitiateUdp,omitnil" name:"HasInitiateUdp"` // Port that actively initiates TCP requests. Value range: (0, 65535] PeerTcpPort *string `json:"PeerTcpPort,omitnil" name:"PeerTcpPort"` // Port that actively initiates UDP requests. Value range: (0, 65535] PeerUdpPort *string `json:"PeerUdpPort,omitnil" name:"PeerUdpPort"` // Fixed feature code of TCP payload. Max string length: 512 TcpFootprint *string `json:"TcpFootprint,omitnil" name:"TcpFootprint"` // Fixed feature code of UDP payload. Max string length: 512 UdpFootprint *string `json:"UdpFootprint,omitnil" name:"UdpFootprint"` // Web application API URL WebApiUrl []*string `json:"WebApiUrl,omitnil" name:"WebApiUrl"` // Minimum length of TCP packet. Value range: (0, 1500) MinTcpPackageLen *string `json:"MinTcpPackageLen,omitnil" 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,omitnil" name:"MaxTcpPackageLen"` // Minimum length of UDP packet. Value range: (0, 1500) MinUdpPackageLen *string `json:"MinUdpPackageLen,omitnil" 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,omitnil" name:"MaxUdpPackageLen"` // Whether there are applications using VPN. Valid values: [no, yes] HasVPN *string `json:"HasVPN,omitnil" 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,omitnil" 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,omitnil" 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 CreateDDoSPolicyCaseRequestParams ¶
type CreateDDoSPolicyCaseRequestParams 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,omitnil" name:"Business"` // Policy scenario name string. Length limit: 64 CaseName *string `json:"CaseName,omitnil" name:"CaseName"` // Development platform. Valid values: [PC (PC client), MOBILE (mobile device), TV (TV), SERVER (server)] PlatformTypes []*string `json:"PlatformTypes,omitnil" name:"PlatformTypes"` // Category. Valid values: [WEB (website), GAME (game), APP (application), OTHER (other)] AppType *string `json:"AppType,omitnil" name:"AppType"` // Application protocol. Valid values: [tcp (TCP protocol), udp (UDP protocol), icmp (ICMP protocol), all (other protocols)] AppProtocols []*string `json:"AppProtocols,omitnil" name:"AppProtocols"` // TCP start port. Value range: (0, 65535] TcpSportStart *string `json:"TcpSportStart,omitnil" 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,omitnil" name:"TcpSportEnd"` // UDP start port. Value range: (0, 65535] UdpSportStart *string `json:"UdpSportStart,omitnil" 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,omitnil" name:"UdpSportEnd"` // Whether there are customers outside China. Valid values: [no, yes] HasAbroad *string `json:"HasAbroad,omitnil" name:"HasAbroad"` // Whether to actively initiate outbound TCP requests. Valid values: [no, yes] HasInitiateTcp *string `json:"HasInitiateTcp,omitnil" name:"HasInitiateTcp"` // Whether to actively initiate outbound UDP requests. Valid values: [no, yes] HasInitiateUdp *string `json:"HasInitiateUdp,omitnil" name:"HasInitiateUdp"` // Port that actively initiates TCP requests. Value range: (0, 65535] PeerTcpPort *string `json:"PeerTcpPort,omitnil" name:"PeerTcpPort"` // Port that actively initiates UDP requests. Value range: (0, 65535] PeerUdpPort *string `json:"PeerUdpPort,omitnil" name:"PeerUdpPort"` // Fixed feature code of TCP payload. Max string length: 512 TcpFootprint *string `json:"TcpFootprint,omitnil" name:"TcpFootprint"` // Fixed feature code of UDP payload. Max string length: 512 UdpFootprint *string `json:"UdpFootprint,omitnil" name:"UdpFootprint"` // Web application API URL WebApiUrl []*string `json:"WebApiUrl,omitnil" name:"WebApiUrl"` // Minimum length of TCP packet. Value range: (0, 1500) MinTcpPackageLen *string `json:"MinTcpPackageLen,omitnil" 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,omitnil" name:"MaxTcpPackageLen"` // Minimum length of UDP packet. Value range: (0, 1500) MinUdpPackageLen *string `json:"MinUdpPackageLen,omitnil" 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,omitnil" name:"MaxUdpPackageLen"` // Whether there are applications using VPN. Valid values: [no, yes] HasVPN *string `json:"HasVPN,omitnil" 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,omitnil" 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,omitnil" name:"UdpPortList"` }
Predefined struct for user
type CreateDDoSPolicyCaseResponse ¶
type CreateDDoSPolicyCaseResponse struct { *tchttp.BaseResponse Response *CreateDDoSPolicyCaseResponseParams `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 CreateDDoSPolicyCaseResponseParams ¶
type CreateDDoSPolicyCaseResponseParams struct { // Policy scenario ID SceneId *string `json:"SceneId,omitnil" name:"SceneId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Protocol disablement, which must be entered, and the array length must be 1 DropOptions []*DDoSPolicyDropOption `json:"DropOptions,omitnil" name:"DropOptions"` // Policy name Name *string `json:"Name,omitnil" name:"Name"` // Ports to be closed. If no ports are to be closed, enter an empty array PortLimits []*DDoSPolicyPortLimit `json:"PortLimits,omitnil" 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,omitnil" name:"IpAllowDenys"` // Packet filter. Enter an empty array if there are no packets to filter PacketFilters []*DDoSPolicyPacketFilter `json:"PacketFilters,omitnil" 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,omitnil" 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 CreateDDoSPolicyRequestParams ¶
type CreateDDoSPolicyRequestParams 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,omitnil" name:"Business"` // Protocol disablement, which must be entered, and the array length must be 1 DropOptions []*DDoSPolicyDropOption `json:"DropOptions,omitnil" name:"DropOptions"` // Policy name Name *string `json:"Name,omitnil" name:"Name"` // Ports to be closed. If no ports are to be closed, enter an empty array PortLimits []*DDoSPolicyPortLimit `json:"PortLimits,omitnil" 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,omitnil" name:"IpAllowDenys"` // Packet filter. Enter an empty array if there are no packets to filter PacketFilters []*DDoSPolicyPacketFilter `json:"PacketFilters,omitnil" 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,omitnil" name:"WaterPrint"` }
Predefined struct for user
type CreateDDoSPolicyResponse ¶
type CreateDDoSPolicyResponse struct { *tchttp.BaseResponse Response *CreateDDoSPolicyResponseParams `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 CreateDDoSPolicyResponseParams ¶
type CreateDDoSPolicyResponseParams struct { // Policy ID PolicyId *string `json:"PolicyId,omitnil" name:"PolicyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Instance name. Length limit: 32 characters Name *string `json:"Name,omitnil" 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 CreateInstanceNameRequestParams ¶
type CreateInstanceNameRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Instance name. Length limit: 32 characters Name *string `json:"Name,omitnil" name:"Name"` }
Predefined struct for user
type CreateInstanceNameResponse ¶
type CreateInstanceNameResponse struct { *tchttp.BaseResponse Response *CreateInstanceNameResponseParams `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 CreateInstanceNameResponseParams ¶
type CreateInstanceNameResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateL4HealthConfigRequest ¶
type CreateL4HealthConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Layer-4 health check configuration array HealthConfig []*L4HealthConfig `json:"HealthConfig,omitnil" 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 CreateL4HealthConfigRequestParams ¶
type CreateL4HealthConfigRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Layer-4 health check configuration array HealthConfig []*L4HealthConfig `json:"HealthConfig,omitnil" name:"HealthConfig"` }
Predefined struct for user
type CreateL4HealthConfigResponse ¶
type CreateL4HealthConfigResponse struct { *tchttp.BaseResponse Response *CreateL4HealthConfigResponseParams `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 CreateL4HealthConfigResponseParams ¶
type CreateL4HealthConfigResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule list Rules []*L4RuleEntry `json:"Rules,omitnil" 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 CreateL4RulesRequestParams ¶
type CreateL4RulesRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule list Rules []*L4RuleEntry `json:"Rules,omitnil" name:"Rules"` }
Predefined struct for user
type CreateL4RulesResponse ¶
type CreateL4RulesResponse struct { *tchttp.BaseResponse Response *CreateL4RulesResponseParams `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 CreateL4RulesResponseParams ¶
type CreateL4RulesResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateL7CCRuleRequest ¶
type CreateL7CCRuleRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Operation. Valid values: [query (query), add (add), del (delete)] Method *string `json:"Method,omitnil" name:"Method"` // Layer-7 forwarding rule ID, such as rule-0000001 RuleId *string `json:"RuleId,omitnil" 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,omitnil" 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 CreateL7CCRuleRequestParams ¶
type CreateL7CCRuleRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Operation. Valid values: [query (query), add (add), del (delete)] Method *string `json:"Method,omitnil" name:"Method"` // Layer-7 forwarding rule ID, such as rule-0000001 RuleId *string `json:"RuleId,omitnil" 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,omitnil" name:"RuleConfig"` }
Predefined struct for user
type CreateL7CCRuleResponse ¶
type CreateL7CCRuleResponse struct { *tchttp.BaseResponse Response *CreateL7CCRuleResponseParams `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 CreateL7CCRuleResponseParams ¶
type CreateL7CCRuleResponseParams 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,omitnil" name:"RuleConfig"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateL7HealthConfigRequest ¶
type CreateL7HealthConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Layer-7 health check configuration array HealthConfig []*L7HealthConfig `json:"HealthConfig,omitnil" 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 CreateL7HealthConfigRequestParams ¶
type CreateL7HealthConfigRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Layer-7 health check configuration array HealthConfig []*L7HealthConfig `json:"HealthConfig,omitnil" name:"HealthConfig"` }
Predefined struct for user
type CreateL7HealthConfigResponse ¶
type CreateL7HealthConfigResponse struct { *tchttp.BaseResponse Response *CreateL7HealthConfigResponseParams `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 CreateL7HealthConfigResponseParams ¶
type CreateL7HealthConfigResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateL7RuleCertRequest ¶
type CreateL7RuleCertRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" 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,omitnil" name:"Id"` // Rule ID RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // Certificate type, which is required if the protocol is HTTPS. Valid value: [2 (Tencent Cloud-hosted certificate)] CertType *uint64 `json:"CertType,omitnil" 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,omitnil" name:"SSLId"` // [Disused] If the certificate is an external certificate, this field must be entered with the certificate content. Cert *string `json:"Cert,omitnil" name:"Cert"` // [Disused] If the certificate is an external certificate, this field must be entered with the certificate key. PrivateKey *string `json:"PrivateKey,omitnil" 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 CreateL7RuleCertRequestParams ¶
type CreateL7RuleCertRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" 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,omitnil" name:"Id"` // Rule ID RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // Certificate type, which is required if the protocol is HTTPS. Valid value: [2 (Tencent Cloud-hosted certificate)] CertType *uint64 `json:"CertType,omitnil" 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,omitnil" name:"SSLId"` // [Disused] If the certificate is an external certificate, this field must be entered with the certificate content. Cert *string `json:"Cert,omitnil" name:"Cert"` // [Disused] If the certificate is an external certificate, this field must be entered with the certificate key. PrivateKey *string `json:"PrivateKey,omitnil" name:"PrivateKey"` }
Predefined struct for user
type CreateL7RuleCertResponse ¶
type CreateL7RuleCertResponse struct { *tchttp.BaseResponse Response *CreateL7RuleCertResponseParams `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 CreateL7RuleCertResponseParams ¶
type CreateL7RuleCertResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule list Rules []*L7RuleEntry `json:"Rules,omitnil" 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 CreateL7RulesRequestParams ¶
type CreateL7RulesRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule list Rules []*L7RuleEntry `json:"Rules,omitnil" name:"Rules"` }
Predefined struct for user
type CreateL7RulesResponse ¶
type CreateL7RulesResponse struct { *tchttp.BaseResponse Response *CreateL7RulesResponseParams `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 CreateL7RulesResponseParams ¶
type CreateL7RulesResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateL7RulesUploadRequest ¶
type CreateL7RulesUploadRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule list Rules []*L7RuleEntry `json:"Rules,omitnil" 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 CreateL7RulesUploadRequestParams ¶
type CreateL7RulesUploadRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule list Rules []*L7RuleEntry `json:"Rules,omitnil" name:"Rules"` }
Predefined struct for user
type CreateL7RulesUploadResponse ¶
type CreateL7RulesUploadResponse struct { *tchttp.BaseResponse Response *CreateL7RulesUploadResponseParams `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 CreateL7RulesUploadResponseParams ¶
type CreateL7RulesUploadResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateNetReturnRequest ¶
type CreateNetReturnRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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 CreateNetReturnRequestParams ¶
type CreateNetReturnRequestParams struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` }
Predefined struct for user
type CreateNetReturnResponse ¶
type CreateNetReturnResponse struct { *tchttp.BaseResponse Response *CreateNetReturnResponseParams `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 CreateNetReturnResponseParams ¶
type CreateNetReturnResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateNewL7RulesUploadRequest ¶
type CreateNewL7RulesUploadRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced). Business *string `json:"Business,omitnil" name:"Business"` // Resource ID list. IdList []*string `json:"IdList,omitnil" name:"IdList"` // Resource IP address list. VipList []*string `json:"VipList,omitnil" name:"VipList"` // Rule list. Rules []*L7RuleEntry `json:"Rules,omitnil" 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 CreateNewL7RulesUploadRequestParams ¶
type CreateNewL7RulesUploadRequestParams struct { // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced). Business *string `json:"Business,omitnil" name:"Business"` // Resource ID list. IdList []*string `json:"IdList,omitnil" name:"IdList"` // Resource IP address list. VipList []*string `json:"VipList,omitnil" name:"VipList"` // Rule list. Rules []*L7RuleEntry `json:"Rules,omitnil" name:"Rules"` }
Predefined struct for user
type CreateNewL7RulesUploadResponse ¶
type CreateNewL7RulesUploadResponse struct { *tchttp.BaseResponse Response *CreateNewL7RulesUploadResponseParams `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 CreateNewL7RulesUploadResponseParams ¶
type CreateNewL7RulesUploadResponseParams struct { // Success code. Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateUnblockIpRequest ¶
type CreateUnblockIpRequest struct { *tchttp.BaseRequest // IP Ip *string `json:"Ip,omitnil" 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,omitnil" 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 CreateUnblockIpRequestParams ¶
type CreateUnblockIpRequestParams struct { // IP Ip *string `json:"Ip,omitnil" 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,omitnil" name:"ActionType"` }
Predefined struct for user
type CreateUnblockIpResponse ¶
type CreateUnblockIpResponse struct { *tchttp.BaseResponse Response *CreateUnblockIpResponseParams `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 CreateUnblockIpResponseParams ¶
type CreateUnblockIpResponseParams struct { // IP Ip *string `json:"Ip,omitnil" 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,omitnil" name:"ActionType"` // Unblocked time (estimated) UnblockTime *string `json:"UnblockTime,omitnil" name:"UnblockTime"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DDoSAlarmThreshold ¶
type DDoSAlarmThreshold struct { // Alarm threshold type. 1: inbound traffic, 2: cleansed traffic AlarmType *uint64 `json:"AlarmType,omitnil" name:"AlarmType"` // Alarm threshold, which should be greater than 0 (currently scheduled value) AlarmThreshold *uint64 `json:"AlarmThreshold,omitnil" name:"AlarmThreshold"` }
type DDoSAttackSourceRecord ¶
type DDoSAttackSourceRecord struct { // Attack source IP SrcIp *string `json:"SrcIp,omitnil" name:"SrcIp"` // Province (valid for Mainland China) Province *string `json:"Province,omitnil" name:"Province"` // Country/region Nation *string `json:"Nation,omitnil" name:"Nation"` // Total number of attack packets PacketSum *uint64 `json:"PacketSum,omitnil" name:"PacketSum"` // Total attack traffic PacketLen *uint64 `json:"PacketLen,omitnil" 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Resource IP Vip *string `json:"Vip,omitnil" name:"Vip"` // Attack start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Maximum attack bandwidth Mbps *uint64 `json:"Mbps,omitnil" name:"Mbps"` // Maximum attack packet rate Pps *uint64 `json:"Pps,omitnil" name:"Pps"` // Attack type AttackType *string `json:"AttackType,omitnil" name:"AttackType"` // Whether the IP is blocked. Valid values: [1 (yes), 0 (no), 2 (invalid value)] BlockFlag *uint64 `json:"BlockFlag,omitnil" name:"BlockFlag"` // Whether the elastic protection bandwidth is exceeded. Valid values: [yes (yes), no (no), empty string (unknown value)] OverLoad *string `json:"OverLoad,omitnil" name:"OverLoad"` // Attack status. Valid values: [0 (ongoing), 1 (ended)] AttackStatus *uint64 `json:"AttackStatus,omitnil" name:"AttackStatus"` // Resource name // Note: this field may return null, indicating that no valid values can be obtained. ResourceName *string `json:"ResourceName,omitnil" name:"ResourceName"` // Attack event ID // Note: this field may return null, indicating that no valid values can be obtained. EventId *string `json:"EventId,omitnil" name:"EventId"` }
type DDoSPolicyDropOption ¶
type DDoSPolicyDropOption struct { // Blocks all TCP traffic. Valid values: [0,1] DropTcp *uint64 `json:"DropTcp,omitnil" name:"DropTcp"` // Blocks all UDP traffic. Valid values: [0,1] DropUdp *uint64 `json:"DropUdp,omitnil" name:"DropUdp"` // Blocks all ICMP traffic. Valid values: [0,1] DropIcmp *uint64 `json:"DropIcmp,omitnil" name:"DropIcmp"` // Blocks traffic of other protocols. Valid values: [0,1] DropOther *uint64 `json:"DropOther,omitnil" name:"DropOther"` // Rejects traffic from outside Mainland China. Valid values: [0,1] DropAbroad *uint64 `json:"DropAbroad,omitnil" name:"DropAbroad"` // Null session protection. Valid values: [0,1] CheckSyncConn *uint64 `json:"CheckSyncConn,omitnil" name:"CheckSyncConn"` // New connection suppression based on source IP and destination IP. Value range: [0,4294967295] SdNewLimit *uint64 `json:"SdNewLimit,omitnil" name:"SdNewLimit"` // New connection suppression based on destination IP. Value range: [0,4294967295] DstNewLimit *uint64 `json:"DstNewLimit,omitnil" name:"DstNewLimit"` // Concurrent connection suppression based on source IP and destination IP. Value range: [0,4294967295] SdConnLimit *uint64 `json:"SdConnLimit,omitnil" name:"SdConnLimit"` // Concurrent connection suppression based on destination IP. Value range: [0,4294967295] DstConnLimit *uint64 `json:"DstConnLimit,omitnil" name:"DstConnLimit"` // Threshold for triggering connection suppression. Value range: [0,4294967295] BadConnThreshold *uint64 `json:"BadConnThreshold,omitnil" name:"BadConnThreshold"` // Exceptional connection detection condition: null session protection status. Valid values: [0,1] NullConnEnable *uint64 `json:"NullConnEnable,omitnil" name:"NullConnEnable"` // Exceptional connection detection condition: connection timeout. Valid values: [0,65535] ConnTimeout *uint64 `json:"ConnTimeout,omitnil" name:"ConnTimeout"` // Exceptional connection detection condition: percentage of SYN out of ACK. Valid values: [0,100] SynRate *uint64 `json:"SynRate,omitnil" name:"SynRate"` // Exceptional connection detection condition: SYN threshold. Valid values: [0,100] SynLimit *uint64 `json:"SynLimit,omitnil" name:"SynLimit"` // TCP speed limit. Value range: [0,4294967295] DTcpMbpsLimit *uint64 `json:"DTcpMbpsLimit,omitnil" name:"DTcpMbpsLimit"` // UDP speed limit. Value range: [0,4294967295] DUdpMbpsLimit *uint64 `json:"DUdpMbpsLimit,omitnil" name:"DUdpMbpsLimit"` // ICMP speed limit. Value range: [0,4294967295] DIcmpMbpsLimit *uint64 `json:"DIcmpMbpsLimit,omitnil" name:"DIcmpMbpsLimit"` // Other protocol speed limit. Value range: [0,4294967295] DOtherMbpsLimit *uint64 `json:"DOtherMbpsLimit,omitnil" name:"DOtherMbpsLimit"` }
type DDoSPolicyPacketFilter ¶
type DDoSPolicyPacketFilter struct { // Protocol. Valid values: [tcp, udp, icmp, all] Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // Start source port. Value range: [0,65535] SportStart *uint64 `json:"SportStart,omitnil" name:"SportStart"` // End source port. Value range: [0,65535] SportEnd *uint64 `json:"SportEnd,omitnil" name:"SportEnd"` // Start destination port. Value range: [0,65535] DportStart *uint64 `json:"DportStart,omitnil" name:"DportStart"` // End destination port. Value range: [0,65535] DportEnd *uint64 `json:"DportEnd,omitnil" name:"DportEnd"` // Minimum packet length. Value range: [0,1500] PktlenMin *uint64 `json:"PktlenMin,omitnil" name:"PktlenMin"` // Maximum packet length. Value range: [0,1500] PktlenMax *uint64 `json:"PktlenMax,omitnil" 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,omitnil" name:"MatchBegin"` // Whether it is a regular expression. Valid values: [sunday (keyword), pcre (regular expression)] MatchType *string `json:"MatchType,omitnil" name:"MatchType"` // Keyword or regular expression Str *string `json:"Str,omitnil" name:"Str"` // Detection depth. Value range: [0,1500] Depth *uint64 `json:"Depth,omitnil" name:"Depth"` // Detection offset. Value range: [0,1500] Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Whether to include. Valid values: [0 (no), 1 (yes)] IsNot *uint64 `json:"IsNot,omitnil" name:"IsNot"` // Policy action. Valid values: [drop, drop_black, drop_rst, drop_black_rst, transmit] Action *string `json:"Action,omitnil" name:"Action"` }
type DDoSPolicyPortLimit ¶
type DDoSPolicyPortLimit struct { // Protocol. Valid values: [tcp, udp, all] Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // Start destination port. Value range: [0,65535] DPortStart *uint64 `json:"DPortStart,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"Kind"` }
type DDosPolicy ¶
type DDosPolicy struct { // Resource bound to policy Resources []*ResourceIp `json:"Resources,omitnil" name:"Resources"` // Disabled protocol DropOptions *DDoSPolicyDropOption `json:"DropOptions,omitnil" name:"DropOptions"` // Disabled port PortLimits []*DDoSPolicyPortLimit `json:"PortLimits,omitnil" name:"PortLimits"` // Packet filter PacketFilters []*DDoSPolicyPacketFilter `json:"PacketFilters,omitnil" name:"PacketFilters"` // IP blocklist/allowlist IpBlackWhiteLists []*IpBlackWhite `json:"IpBlackWhiteLists,omitnil" name:"IpBlackWhiteLists"` // Policy ID PolicyId *string `json:"PolicyId,omitnil" name:"PolicyId"` // Policy name PolicyName *string `json:"PolicyName,omitnil" name:"PolicyName"` // Policy creation time CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Watermarking policy parameter. There can be only one policy. If there are no policies, the array is empty WaterPrint []*WaterPrintPolicy `json:"WaterPrint,omitnil" name:"WaterPrint"` // Watermark key. There can be up to two keys. If there are no policies, the array is empty WaterKey []*WaterPrintKey `json:"WaterKey,omitnil" 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,omitnil" name:"BoundResources"` // Policy scenario // Note: this field may return null, indicating that no valid values can be obtained. SceneId *string `json:"SceneId,omitnil" 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,omitnil" name:"Business"` // Access frequency control rule ID for CC protection CCFrequencyRuleId *string `json:"CCFrequencyRuleId,omitnil" 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 DeleteCCFrequencyRulesRequestParams ¶
type DeleteCCFrequencyRulesRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Access frequency control rule ID for CC protection CCFrequencyRuleId *string `json:"CCFrequencyRuleId,omitnil" name:"CCFrequencyRuleId"` }
Predefined struct for user
type DeleteCCFrequencyRulesResponse ¶
type DeleteCCFrequencyRulesResponse struct { *tchttp.BaseResponse Response *DeleteCCFrequencyRulesResponseParams `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 DeleteCCFrequencyRulesResponseParams ¶
type DeleteCCFrequencyRulesResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Policy ID SetId *string `json:"SetId,omitnil" 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 DeleteCCSelfDefinePolicyRequestParams ¶
type DeleteCCSelfDefinePolicyRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Policy ID SetId *string `json:"SetId,omitnil" name:"SetId"` }
Predefined struct for user
type DeleteCCSelfDefinePolicyResponse ¶
type DeleteCCSelfDefinePolicyResponse struct { *tchttp.BaseResponse Response *DeleteCCSelfDefinePolicyResponseParams `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 DeleteCCSelfDefinePolicyResponseParams ¶
type DeleteCCSelfDefinePolicyResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Policy scenario ID SceneId *string `json:"SceneId,omitnil" 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 DeleteDDoSPolicyCaseRequestParams ¶
type DeleteDDoSPolicyCaseRequestParams 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,omitnil" name:"Business"` // Policy scenario ID SceneId *string `json:"SceneId,omitnil" name:"SceneId"` }
Predefined struct for user
type DeleteDDoSPolicyCaseResponse ¶
type DeleteDDoSPolicyCaseResponse struct { *tchttp.BaseResponse Response *DeleteDDoSPolicyCaseResponseParams `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 DeleteDDoSPolicyCaseResponseParams ¶
type DeleteDDoSPolicyCaseResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Policy ID PolicyId *string `json:"PolicyId,omitnil" 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 DeleteDDoSPolicyRequestParams ¶
type DeleteDDoSPolicyRequestParams 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,omitnil" name:"Business"` // Policy ID PolicyId *string `json:"PolicyId,omitnil" name:"PolicyId"` }
Predefined struct for user
type DeleteDDoSPolicyResponse ¶
type DeleteDDoSPolicyResponse struct { *tchttp.BaseResponse Response *DeleteDDoSPolicyResponseParams `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 DeleteDDoSPolicyResponseParams ¶
type DeleteDDoSPolicyResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule ID list RuleIdList []*string `json:"RuleIdList,omitnil" 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 DeleteL4RulesRequestParams ¶
type DeleteL4RulesRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule ID list RuleIdList []*string `json:"RuleIdList,omitnil" name:"RuleIdList"` }
Predefined struct for user
type DeleteL4RulesResponse ¶
type DeleteL4RulesResponse struct { *tchttp.BaseResponse Response *DeleteL4RulesResponseParams `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 DeleteL4RulesResponseParams ¶
type DeleteL4RulesResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule ID list RuleIdList []*string `json:"RuleIdList,omitnil" 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 DeleteL7RulesRequestParams ¶
type DeleteL7RulesRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule ID list RuleIdList []*string `json:"RuleIdList,omitnil" name:"RuleIdList"` }
Predefined struct for user
type DeleteL7RulesResponse ¶
type DeleteL7RulesResponse struct { *tchttp.BaseResponse Response *DeleteL7RulesResponseParams `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 DeleteL7RulesResponseParams ¶
type DeleteL7RulesResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeActionLogRequest ¶
type DescribeActionLogRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil" 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,omitnil" name:"Business"` // Search value, which can only be resource ID or user `UIN` Filter *string `json:"Filter,omitnil" name:"Filter"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" 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 DescribeActionLogRequestParams ¶
type DescribeActionLogRequestParams struct { // Start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil" 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,omitnil" name:"Business"` // Search value, which can only be resource ID or user `UIN` Filter *string `json:"Filter,omitnil" name:"Filter"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeActionLogResponse ¶
type DescribeActionLogResponse struct { *tchttp.BaseResponse Response *DescribeActionLogResponseParams `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 DescribeActionLogResponseParams ¶
type DescribeActionLogResponseParams struct { // Total number of records TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Record array Data []*KeyValueRecord `json:"Data,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeBGPIPL7RuleMaxCntRequest ¶
type DescribeBGPIPL7RuleMaxCntRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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 DescribeBGPIPL7RuleMaxCntRequestParams ¶
type DescribeBGPIPL7RuleMaxCntRequestParams struct { // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` }
Predefined struct for user
type DescribeBGPIPL7RuleMaxCntResponse ¶
type DescribeBGPIPL7RuleMaxCntResponse struct { *tchttp.BaseResponse Response *DescribeBGPIPL7RuleMaxCntResponseParams `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 DescribeBGPIPL7RuleMaxCntResponseParams ¶
type DescribeBGPIPL7RuleMaxCntResponseParams struct { // Maximum number of layer-7 rules that can be added for Anti-DDoS Advanced Count *uint64 `json:"Count,omitnil" name:"Count"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeBaradDataRequest ¶
type DescribeBaradDataRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" name:"MetricName"` // Statistical time granularity in seconds (300: 5-minute, 3600: hourly, 86400: daily) Period *uint64 `json:"Period,omitnil" 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,omitnil" 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,omitnil" name:"EndTime"` // Statistical method. Valid values: // max: maximum value; // min: minimum value; // avg: average; Statistics *string `json:"Statistics,omitnil" name:"Statistics"` // Protocol port array ProtocolPort []*ProtocolPort `json:"ProtocolPort,omitnil" 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,omitnil" 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 DescribeBaradDataRequestParams ¶
type DescribeBaradDataRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" name:"MetricName"` // Statistical time granularity in seconds (300: 5-minute, 3600: hourly, 86400: daily) Period *uint64 `json:"Period,omitnil" 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,omitnil" 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,omitnil" name:"EndTime"` // Statistical method. Valid values: // max: maximum value; // min: minimum value; // avg: average; Statistics *string `json:"Statistics,omitnil" name:"Statistics"` // Protocol port array ProtocolPort []*ProtocolPort `json:"ProtocolPort,omitnil" 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,omitnil" name:"Ip"` }
Predefined struct for user
type DescribeBaradDataResponse ¶
type DescribeBaradDataResponse struct { *tchttp.BaseResponse Response *DescribeBaradDataResponseParams `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 DescribeBaradDataResponseParams ¶
type DescribeBaradDataResponseParams struct { // Returned metric value DataList []*BaradData `json:"DataList,omitnil" name:"DataList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeBasicCCThresholdRequest ¶
type DescribeBasicCCThresholdRequest struct { *tchttp.BaseRequest // Queried IP address, such as 1.1.1.1 BasicIp *string `json:"BasicIp,omitnil" name:"BasicIp"` // IP region. Valid values: region abbreviations such as gz, bj, sh, and hk BasicRegion *string `json:"BasicRegion,omitnil" name:"BasicRegion"` // Zone type. Valid values: public (public cloud zone), bm (BM zone), nat (NAT server zone), channel (internet channel). BasicBizType *string `json:"BasicBizType,omitnil" name:"BasicBizType"` // Device type. Valid values: cvm (CVM), clb (public CLB), lb (BM CLB), nat (NAT server), channel (internet channel). BasicDeviceType *string `json:"BasicDeviceType,omitnil" 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,omitnil" 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,omitnil" 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 DescribeBasicCCThresholdRequestParams ¶
type DescribeBasicCCThresholdRequestParams struct { // Queried IP address, such as 1.1.1.1 BasicIp *string `json:"BasicIp,omitnil" name:"BasicIp"` // IP region. Valid values: region abbreviations such as gz, bj, sh, and hk BasicRegion *string `json:"BasicRegion,omitnil" name:"BasicRegion"` // Zone type. Valid values: public (public cloud zone), bm (BM zone), nat (NAT server zone), channel (internet channel). BasicBizType *string `json:"BasicBizType,omitnil" name:"BasicBizType"` // Device type. Valid values: cvm (CVM), clb (public CLB), lb (BM CLB), nat (NAT server), channel (internet channel). BasicDeviceType *string `json:"BasicDeviceType,omitnil" 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,omitnil" 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,omitnil" name:"BasicIspCode"` }
Predefined struct for user
type DescribeBasicCCThresholdResponse ¶
type DescribeBasicCCThresholdResponse struct { *tchttp.BaseResponse Response *DescribeBasicCCThresholdResponseParams `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 DescribeBasicCCThresholdResponseParams ¶
type DescribeBasicCCThresholdResponseParams struct { // CC status (0: disabled, 1: enabled) CCEnable *uint64 `json:"CCEnable,omitnil" name:"CCEnable"` // CC protection threshold CCThreshold *uint64 `json:"CCThreshold,omitnil" name:"CCThreshold"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeBasicDeviceThresholdRequest ¶
type DescribeBasicDeviceThresholdRequest struct { *tchttp.BaseRequest // Queried IP address, such as 1.1.1.1 BasicIp *string `json:"BasicIp,omitnil" name:"BasicIp"` // IP region. Valid values: region abbreviations such as gz, bj, sh, and hk BasicRegion *string `json:"BasicRegion,omitnil" name:"BasicRegion"` // Zone type. Valid values: public (public cloud zone), bm (BM zone), nat (NAT server zone), channel (internet channel). BasicBizType *string `json:"BasicBizType,omitnil" name:"BasicBizType"` // Device type. Valid values: cvm (CVM), clb (public CLB), lb (BM CLB), nat (NAT server), channel (internet channel). BasicDeviceType *string `json:"BasicDeviceType,omitnil" name:"BasicDeviceType"` // Validity check. Valid value: 1 BasicCheckFlag *uint64 `json:"BasicCheckFlag,omitnil" 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,omitnil" 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,omitnil" 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 DescribeBasicDeviceThresholdRequestParams ¶
type DescribeBasicDeviceThresholdRequestParams struct { // Queried IP address, such as 1.1.1.1 BasicIp *string `json:"BasicIp,omitnil" name:"BasicIp"` // IP region. Valid values: region abbreviations such as gz, bj, sh, and hk BasicRegion *string `json:"BasicRegion,omitnil" name:"BasicRegion"` // Zone type. Valid values: public (public cloud zone), bm (BM zone), nat (NAT server zone), channel (internet channel). BasicBizType *string `json:"BasicBizType,omitnil" name:"BasicBizType"` // Device type. Valid values: cvm (CVM), clb (public CLB), lb (BM CLB), nat (NAT server), channel (internet channel). BasicDeviceType *string `json:"BasicDeviceType,omitnil" name:"BasicDeviceType"` // Validity check. Valid value: 1 BasicCheckFlag *uint64 `json:"BasicCheckFlag,omitnil" 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,omitnil" 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,omitnil" name:"BasicIspCode"` }
Predefined struct for user
type DescribeBasicDeviceThresholdResponse ¶
type DescribeBasicDeviceThresholdResponse struct { *tchttp.BaseResponse Response *DescribeBasicDeviceThresholdResponseParams `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 DescribeBasicDeviceThresholdResponseParams ¶
type DescribeBasicDeviceThresholdResponseParams struct { // Blackhole blocking value Threshold *uint64 `json:"Threshold,omitnil" name:"Threshold"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeBizHttpStatusRequest ¶
type DescribeBizHttpStatusRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil" name:"Business"` // Resource ID Id *string `json:"Id,omitnil" name:"Id"` // Statistical period in seconds. Valid values: 300, 1800, 3600, 21600, and 86400. Period *int64 `json:"Period,omitnil" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Statistical mode, which only supports sum. Statistics *string `json:"Statistics,omitnil" 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,omitnil" name:"ProtoInfo"` // Specific domain name query Domain *string `json:"Domain,omitnil" 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 DescribeBizHttpStatusRequestParams ¶
type DescribeBizHttpStatusRequestParams struct { // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil" name:"Business"` // Resource ID Id *string `json:"Id,omitnil" name:"Id"` // Statistical period in seconds. Valid values: 300, 1800, 3600, 21600, and 86400. Period *int64 `json:"Period,omitnil" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Statistical mode, which only supports sum. Statistics *string `json:"Statistics,omitnil" 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,omitnil" name:"ProtoInfo"` // Specific domain name query Domain *string `json:"Domain,omitnil" name:"Domain"` }
Predefined struct for user
type DescribeBizHttpStatusResponse ¶
type DescribeBizHttpStatusResponse struct { *tchttp.BaseResponse Response *DescribeBizHttpStatusResponseParams `json:"Response"` }
func NewDescribeBizHttpStatusResponse ¶
func NewDescribeBizHttpStatusResponse() (response *DescribeBizHttpStatusResponse)
func (*DescribeBizHttpStatusResponse) FromJsonString ¶
func (r *DescribeBizHttpStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBizHttpStatusResponse) ToJsonString ¶
func (r *DescribeBizHttpStatusResponse) ToJsonString() string
type DescribeBizHttpStatusResponseParams ¶
type DescribeBizHttpStatusResponseParams struct { // Statistics on the HTTP status codes of business traffic HttpStatusMap *HttpStatusMap `json:"HttpStatusMap,omitnil" name:"HttpStatusMap"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID RsId *string `json:"RsId,omitnil" 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 DescribeCCAlarmThresholdRequestParams ¶
type DescribeCCAlarmThresholdRequestParams 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) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID RsId *string `json:"RsId,omitnil" name:"RsId"` }
Predefined struct for user
type DescribeCCAlarmThresholdResponse ¶
type DescribeCCAlarmThresholdResponse struct { *tchttp.BaseResponse Response *DescribeCCAlarmThresholdResponseParams `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 DescribeCCAlarmThresholdResponseParams ¶
type DescribeCCAlarmThresholdResponseParams struct { // CC alarm threshold CCAlarmThreshold *CCAlarmThreshold `json:"CCAlarmThreshold,omitnil" name:"CCAlarmThreshold"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Resource instance IP. When `business` is not `basic`, if `IpList` is not empty, `Id` must not be empty; IpList []*string `json:"IpList,omitnil" name:"IpList"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" 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 DescribeCCEvListRequestParams ¶
type DescribeCCEvListRequestParams 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,omitnil" name:"Business"` // Start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Resource instance IP. When `business` is not `basic`, if `IpList` is not empty, `Id` must not be empty; IpList []*string `json:"IpList,omitnil" name:"IpList"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeCCEvListResponse ¶
type DescribeCCEvListResponse struct { *tchttp.BaseResponse Response *DescribeCCEvListResponseParams `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 DescribeCCEvListResponseParams ¶
type DescribeCCEvListResponseParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Instance IP list // Note: this field may return null, indicating that no valid values can be obtained. IpList []*string `json:"IpList,omitnil" name:"IpList"` // Start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // CC attack event list Data []*CCEventRecord `json:"Data,omitnil" name:"Data"` // Total number of records Total *uint64 `json:"Total,omitnil" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeCCFrequencyRulesRequest ¶
type DescribeCCFrequencyRulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" 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 DescribeCCFrequencyRulesRequestParams ¶
type DescribeCCFrequencyRulesRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" name:"RuleId"` }
Predefined struct for user
type DescribeCCFrequencyRulesResponse ¶
type DescribeCCFrequencyRulesResponse struct { *tchttp.BaseResponse Response *DescribeCCFrequencyRulesResponseParams `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 DescribeCCFrequencyRulesResponseParams ¶
type DescribeCCFrequencyRulesResponseParams struct { // Access frequency control rule list CCFrequencyRuleList []*CCFrequencyRule `json:"CCFrequencyRuleList,omitnil" name:"CCFrequencyRuleList"` // Access frequency control rule status. Valid values: [on, off]; CCFrequencyRuleStatus *string `json:"CCFrequencyRuleStatus,omitnil" name:"CCFrequencyRuleStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" name:"Type"` // Pagination parameter Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Pagination parameter Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // HTTP or HTTPS CC protection, which is optional. Valid values: [http (HTTP CC protection), https (HTTPS CC protection)]; Protocol *string `json:"Protocol,omitnil" 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 DescribeCCIpAllowDenyRequestParams ¶
type DescribeCCIpAllowDenyRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" name:"Type"` // Pagination parameter Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Pagination parameter Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // HTTP or HTTPS CC protection, which is optional. Valid values: [http (HTTP CC protection), https (HTTPS CC protection)]; Protocol *string `json:"Protocol,omitnil" name:"Protocol"` }
Predefined struct for user
type DescribeCCIpAllowDenyResponse ¶
type DescribeCCIpAllowDenyResponse struct { *tchttp.BaseResponse Response *DescribeCCIpAllowDenyResponseParams `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 DescribeCCIpAllowDenyResponseParams ¶
type DescribeCCIpAllowDenyResponseParams struct { // This field has been replaced by `RecordList` and should not be used Data []*KeyValue `json:"Data,omitnil" name:"Data"` // Number of records Total *uint64 `json:"Total,omitnil" 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,omitnil" name:"RecordList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Number of entries pulled Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Offset Offset *uint64 `json:"Offset,omitnil" 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 DescribeCCSelfDefinePolicyRequestParams ¶
type DescribeCCSelfDefinePolicyRequestParams struct { // Anti-DDoS service type. `bgp`: Anti-DDoS Pro, `bgp-multip`: Anti-DDoS Pro (multi-IP) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Number of entries pulled Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Offset Offset *uint64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeCCSelfDefinePolicyResponse ¶
type DescribeCCSelfDefinePolicyResponse struct { *tchttp.BaseResponse Response *DescribeCCSelfDefinePolicyResponseParams `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 DescribeCCSelfDefinePolicyResponseParams ¶
type DescribeCCSelfDefinePolicyResponseParams struct { // Total number of custom rules Total *uint64 `json:"Total,omitnil" name:"Total"` // Policy list Policys []*CCPolicy `json:"Policys,omitnil" name:"Policys"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeCCTrendRequest ¶
type DescribeCCTrendRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic Business *string `json:"Business,omitnil" name:"Business"` // Resource IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Metric. Valid values: [inqps (total requests peak), dropqps (attack requests peak)] MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *int64 `json:"Period,omitnil" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" 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,omitnil" name:"Id"` // (Optional) Domain name Domain *string `json:"Domain,omitnil" 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 DescribeCCTrendRequestParams ¶
type DescribeCCTrendRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic Business *string `json:"Business,omitnil" name:"Business"` // Resource IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Metric. Valid values: [inqps (total requests peak), dropqps (attack requests peak)] MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *int64 `json:"Period,omitnil" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" 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,omitnil" name:"Id"` // (Optional) Domain name Domain *string `json:"Domain,omitnil" name:"Domain"` }
Predefined struct for user
type DescribeCCTrendResponse ¶
type DescribeCCTrendResponse struct { *tchttp.BaseResponse Response *DescribeCCTrendResponseParams `json:"Response"` }
func NewDescribeCCTrendResponse ¶
func NewDescribeCCTrendResponse() (response *DescribeCCTrendResponse)
func (*DescribeCCTrendResponse) FromJsonString ¶
func (r *DescribeCCTrendResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCTrendResponse) ToJsonString ¶
func (r *DescribeCCTrendResponse) ToJsonString() string
type DescribeCCTrendResponseParams ¶
type DescribeCCTrendResponseParams struct { // 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,omitnil" name:"Business"` // Anti-DDoS instance ID // Note: this field may return null, indicating that no valid values can be obtained. Id *string `json:"Id,omitnil" name:"Id"` // Resource IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Metric. Valid values: [inqps (total requests peak), dropqps (attack requests peak)] MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *int64 `json:"Period,omitnil" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Value array Data []*uint64 `json:"Data,omitnil" name:"Data"` // Number of values Count *uint64 `json:"Count,omitnil" name:"Count"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" name:"Type"` // Pagination parameter Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Pagination parameter Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // HTTP or HTTPS CC protection, which is optional. Valid values: [http (HTTP CC protection), https (HTTPS CC protection)]; Protocol *string `json:"Protocol,omitnil" 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 DescribeCCUrlAllowRequestParams ¶
type DescribeCCUrlAllowRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" name:"Type"` // Pagination parameter Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Pagination parameter Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // HTTP or HTTPS CC protection, which is optional. Valid values: [http (HTTP CC protection), https (HTTPS CC protection)]; Protocol *string `json:"Protocol,omitnil" name:"Protocol"` }
Predefined struct for user
type DescribeCCUrlAllowResponse ¶
type DescribeCCUrlAllowResponse struct { *tchttp.BaseResponse Response *DescribeCCUrlAllowResponseParams `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 DescribeCCUrlAllowResponseParams ¶
type DescribeCCUrlAllowResponseParams struct { // This field has been replaced by `RecordList` and should not be used Data []*KeyValue `json:"Data,omitnil" name:"Data"` // Total number of records Total *uint64 `json:"Total,omitnil" 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,omitnil" name:"RecordList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID RsId *string `json:"RsId,omitnil" 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 DescribeDDoSAlarmThresholdRequestParams ¶
type DescribeDDoSAlarmThresholdRequestParams 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) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID RsId *string `json:"RsId,omitnil" name:"RsId"` }
Predefined struct for user
type DescribeDDoSAlarmThresholdResponse ¶
type DescribeDDoSAlarmThresholdResponse struct { *tchttp.BaseResponse Response *DescribeDDoSAlarmThresholdResponseParams `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 DescribeDDoSAlarmThresholdResponseParams ¶
type DescribeDDoSAlarmThresholdResponseParams struct { // DDoS alarm threshold DDoSAlarmThreshold *DDoSAlarmThreshold `json:"DDoSAlarmThreshold,omitnil" name:"DDoSAlarmThreshold"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time. Maximum statistics time range: half a year; EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // IP attack source of specified resource, which is optional IpList []*string `json:"IpList,omitnil" 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 DescribeDDoSAttackIPRegionMapRequestParams ¶
type DescribeDDoSAttackIPRegionMapRequestParams 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) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time. Maximum statistics time range: half a year; EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // IP attack source of specified resource, which is optional IpList []*string `json:"IpList,omitnil" name:"IpList"` }
Predefined struct for user
type DescribeDDoSAttackIPRegionMapResponse ¶
type DescribeDDoSAttackIPRegionMapResponse struct { *tchttp.BaseResponse Response *DescribeDDoSAttackIPRegionMapResponseParams `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 DescribeDDoSAttackIPRegionMapResponseParams ¶
type DescribeDDoSAttackIPRegionMapResponseParams struct { // Global region distribution data NationCount []*KeyValueRecord `json:"NationCount,omitnil" name:"NationCount"` // Chinese province distribution data ProvinceCount []*KeyValueRecord `json:"ProvinceCount,omitnil" name:"ProvinceCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // IP attack source of specified resource, which is optional IpList []*string `json:"IpList,omitnil" 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 DescribeDDoSAttackSourceRequestParams ¶
type DescribeDDoSAttackSourceRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // IP attack source of specified resource, which is optional IpList []*string `json:"IpList,omitnil" name:"IpList"` }
Predefined struct for user
type DescribeDDoSAttackSourceResponse ¶
type DescribeDDoSAttackSourceResponse struct { *tchttp.BaseResponse Response *DescribeDDoSAttackSourceResponseParams `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 DescribeDDoSAttackSourceResponseParams ¶
type DescribeDDoSAttackSourceResponseParams struct { // Total number of attack sources Total *uint64 `json:"Total,omitnil" name:"Total"` // Attack source list AttackSourceList []*DDoSAttackSourceRecord `json:"AttackSourceList,omitnil" name:"AttackSourceList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Resource IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" 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,omitnil" 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 DescribeDDoSCountRequestParams ¶
type DescribeDDoSCountRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Resource IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" 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,omitnil" name:"MetricName"` }
Predefined struct for user
type DescribeDDoSCountResponse ¶
type DescribeDDoSCountResponse struct { *tchttp.BaseResponse Response *DescribeDDoSCountResponseParams `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 DescribeDDoSCountResponseParams ¶
type DescribeDDoSCountResponseParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Resource IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" 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,omitnil" 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,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Instance ID, which is required only if `Business` is not `basic`. Id *string `json:"Id,omitnil" name:"Id"` // Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic; Ip *string `json:"Ip,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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 DescribeDDoSDefendStatusRequestParams ¶
type DescribeDDoSDefendStatusRequestParams struct { // 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,omitnil" name:"Business"` // Instance ID, which is required only if `Business` is not `basic`. Id *string `json:"Id,omitnil" name:"Id"` // Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic; Ip *string `json:"Ip,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"IPRegion"` }
Predefined struct for user
type DescribeDDoSDefendStatusResponse ¶
type DescribeDDoSDefendStatusResponse struct { *tchttp.BaseResponse Response *DescribeDDoSDefendStatusResponseParams `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 DescribeDDoSDefendStatusResponseParams ¶
type DescribeDDoSDefendStatusResponseParams 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,omitnil" 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,omitnil" 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,omitnil" name:"ShowFlag"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Resource IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Attack start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitnil" 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 DescribeDDoSEvInfoRequestParams ¶
type DescribeDDoSEvInfoRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Resource IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Attack start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` }
Predefined struct for user
type DescribeDDoSEvInfoResponse ¶
type DescribeDDoSEvInfoResponse struct { *tchttp.BaseResponse Response *DescribeDDoSEvInfoResponseParams `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 DescribeDDoSEvInfoResponseParams ¶
type DescribeDDoSEvInfoResponseParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Resource IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Attack start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Number of TCP attack packets TcpPacketSum *uint64 `json:"TcpPacketSum,omitnil" name:"TcpPacketSum"` // Traffic of TCP attacks in KB TcpKBSum *uint64 `json:"TcpKBSum,omitnil" name:"TcpKBSum"` // Number of UDP attack packets UdpPacketSum *uint64 `json:"UdpPacketSum,omitnil" name:"UdpPacketSum"` // Traffic of UDP attacks in KB UdpKBSum *uint64 `json:"UdpKBSum,omitnil" name:"UdpKBSum"` // Number of ICMP attack packets IcmpPacketSum *uint64 `json:"IcmpPacketSum,omitnil" name:"IcmpPacketSum"` // Traffic of ICMP attacks in KB IcmpKBSum *uint64 `json:"IcmpKBSum,omitnil" name:"IcmpKBSum"` // Number of other attack packets OtherPacketSum *uint64 `json:"OtherPacketSum,omitnil" name:"OtherPacketSum"` // Traffic of other attacks in KB OtherKBSum *uint64 `json:"OtherKBSum,omitnil" name:"OtherKBSum"` // Total attack traffic in KB TotalTraffic *uint64 `json:"TotalTraffic,omitnil" name:"TotalTraffic"` // Attack traffic bandwidth peak Mbps *uint64 `json:"Mbps,omitnil" name:"Mbps"` // Attack packet rate peak Pps *uint64 `json:"Pps,omitnil" name:"Pps"` // PCAP file download link PcapUrl []*string `json:"PcapUrl,omitnil" name:"PcapUrl"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil" 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,omitnil" name:"Id"` // Resource IP IpList []*string `json:"IpList,omitnil" 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,omitnil" name:"OverLoad"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" 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 DescribeDDoSEvListRequestParams ¶
type DescribeDDoSEvListRequestParams 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,omitnil" name:"Business"` // Start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil" 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,omitnil" name:"Id"` // Resource IP IpList []*string `json:"IpList,omitnil" 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,omitnil" name:"OverLoad"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeDDoSEvListResponse ¶
type DescribeDDoSEvListResponse struct { *tchttp.BaseResponse Response *DescribeDDoSEvListResponseParams `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 DescribeDDoSEvListResponseParams ¶
type DescribeDDoSEvListResponseParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Resource IP // Note: this field may return null, indicating that no valid values can be obtained. IpList []*string `json:"IpList,omitnil" name:"IpList"` // Start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // DDoS attack event list Data []*DDoSEventRecord `json:"Data,omitnil" name:"Data"` // Total number of records Total *uint64 `json:"Total,omitnil" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSIpLogRequest ¶
type DescribeDDoSIpLogRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Resource IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Attack start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitnil" 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 DescribeDDoSIpLogRequestParams ¶
type DescribeDDoSIpLogRequestParams struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Resource IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Attack start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` }
Predefined struct for user
type DescribeDDoSIpLogResponse ¶
type DescribeDDoSIpLogResponse struct { *tchttp.BaseResponse Response *DescribeDDoSIpLogResponseParams `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 DescribeDDoSIpLogResponseParams ¶
type DescribeDDoSIpLogResponseParams struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Resource IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Attack start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitnil" 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,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSNetCountRequest ¶
type DescribeDDoSNetCountRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" 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,omitnil" 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 DescribeDDoSNetCountRequestParams ¶
type DescribeDDoSNetCountRequestParams struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" 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,omitnil" name:"MetricName"` }
Predefined struct for user
type DescribeDDoSNetCountResponse ¶
type DescribeDDoSNetCountResponse struct { *tchttp.BaseResponse Response *DescribeDDoSNetCountResponseParams `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 DescribeDDoSNetCountResponseParams ¶
type DescribeDDoSNetCountResponseParams struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" 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,omitnil" 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,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSNetEvInfoRequest ¶
type DescribeDDoSNetEvInfoRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Attack start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitnil" 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 DescribeDDoSNetEvInfoRequestParams ¶
type DescribeDDoSNetEvInfoRequestParams struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Attack start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` }
Predefined struct for user
type DescribeDDoSNetEvInfoResponse ¶
type DescribeDDoSNetEvInfoResponse struct { *tchttp.BaseResponse Response *DescribeDDoSNetEvInfoResponseParams `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 DescribeDDoSNetEvInfoResponseParams ¶
type DescribeDDoSNetEvInfoResponseParams struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Attack start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Number of TCP attack packets TcpPacketSum *uint64 `json:"TcpPacketSum,omitnil" name:"TcpPacketSum"` // Traffic of TCP attacks in KB TcpKBSum *uint64 `json:"TcpKBSum,omitnil" name:"TcpKBSum"` // Number of UDP attack packets UdpPacketSum *uint64 `json:"UdpPacketSum,omitnil" name:"UdpPacketSum"` // Traffic of UDP attacks in KB UdpKBSum *uint64 `json:"UdpKBSum,omitnil" name:"UdpKBSum"` // Number of ICMP attack packets IcmpPacketSum *uint64 `json:"IcmpPacketSum,omitnil" name:"IcmpPacketSum"` // Traffic of ICMP attacks in KB IcmpKBSum *uint64 `json:"IcmpKBSum,omitnil" name:"IcmpKBSum"` // Number of other attack packets OtherPacketSum *uint64 `json:"OtherPacketSum,omitnil" name:"OtherPacketSum"` // Traffic of other attacks in KB OtherKBSum *uint64 `json:"OtherKBSum,omitnil" name:"OtherKBSum"` // Total attack traffic in KB TotalTraffic *uint64 `json:"TotalTraffic,omitnil" name:"TotalTraffic"` // Attack traffic bandwidth peak Mbps *uint64 `json:"Mbps,omitnil" name:"Mbps"` // Attack packet rate peak Pps *uint64 `json:"Pps,omitnil" name:"Pps"` // PCAP file download link PcapUrl []*string `json:"PcapUrl,omitnil" name:"PcapUrl"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSNetEvListRequest ¶
type DescribeDDoSNetEvListRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" 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 DescribeDDoSNetEvListRequestParams ¶
type DescribeDDoSNetEvListRequestParams struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeDDoSNetEvListResponse ¶
type DescribeDDoSNetEvListResponse struct { *tchttp.BaseResponse Response *DescribeDDoSNetEvListResponseParams `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 DescribeDDoSNetEvListResponseParams ¶
type DescribeDDoSNetEvListResponseParams struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // DDoS attack event list Data []*DDoSEventRecord `json:"Data,omitnil" name:"Data"` // Total number of records Total *uint64 `json:"Total,omitnil" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSNetIpLogRequest ¶
type DescribeDDoSNetIpLogRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Attack start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitnil" 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 DescribeDDoSNetIpLogRequestParams ¶
type DescribeDDoSNetIpLogRequestParams struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Attack start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` }
Predefined struct for user
type DescribeDDoSNetIpLogResponse ¶
type DescribeDDoSNetIpLogResponse struct { *tchttp.BaseResponse Response *DescribeDDoSNetIpLogResponseParams `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 DescribeDDoSNetIpLogResponseParams ¶
type DescribeDDoSNetIpLogResponseParams struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Attack start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack end time EndTime *string `json:"EndTime,omitnil" 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,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSNetTrendRequest ¶
type DescribeDDoSNetTrendRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Metric. Valid values: [bps (attack traffic bandwidth), pps (attack packet rate)] MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *uint64 `json:"Period,omitnil" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" 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 DescribeDDoSNetTrendRequestParams ¶
type DescribeDDoSNetTrendRequestParams struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Metric. Valid values: [bps (attack traffic bandwidth), pps (attack packet rate)] MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *uint64 `json:"Period,omitnil" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` }
Predefined struct for user
type DescribeDDoSNetTrendResponse ¶
type DescribeDDoSNetTrendResponse struct { *tchttp.BaseResponse Response *DescribeDDoSNetTrendResponseParams `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 DescribeDDoSNetTrendResponseParams ¶
type DescribeDDoSNetTrendResponseParams struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Metric. Valid values: [bps (attack traffic bandwidth), pps (attack packet rate)] MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *uint64 `json:"Period,omitnil" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Value array Data []*uint64 `json:"Data,omitnil" name:"Data"` // Number of values Count *uint64 `json:"Count,omitnil" name:"Count"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" 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,omitnil" 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 DescribeDDoSPolicyRequestParams ¶
type DescribeDDoSPolicyRequestParams 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,omitnil" 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,omitnil" name:"Id"` }
Predefined struct for user
type DescribeDDoSPolicyResponse ¶
type DescribeDDoSPolicyResponse struct { *tchttp.BaseResponse Response *DescribeDDoSPolicyResponseParams `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 DescribeDDoSPolicyResponseParams ¶
type DescribeDDoSPolicyResponseParams struct { // Advanced DDoS policy list DDosPolicyList []*DDosPolicy `json:"DDosPolicyList,omitnil" name:"DDosPolicyList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSTrendRequest ¶
type DescribeDDoSTrendRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Metric. Valid values: [bps (attack traffic bandwidth), pps (attack packet rate)] MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *int64 `json:"Period,omitnil" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" 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,omitnil" name:"Id"` }
func NewDescribeDDoSTrendRequest ¶
func NewDescribeDDoSTrendRequest() (request *DescribeDDoSTrendRequest)
func (*DescribeDDoSTrendRequest) FromJsonString ¶
func (r *DescribeDDoSTrendRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSTrendRequest) ToJsonString ¶
func (r *DescribeDDoSTrendRequest) ToJsonString() string
type DescribeDDoSTrendRequestParams ¶
type DescribeDDoSTrendRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Metric. Valid values: [bps (attack traffic bandwidth), pps (attack packet rate)] MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *int64 `json:"Period,omitnil" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" 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,omitnil" name:"Id"` }
Predefined struct for user
type DescribeDDoSTrendResponse ¶
type DescribeDDoSTrendResponse struct { *tchttp.BaseResponse Response *DescribeDDoSTrendResponseParams `json:"Response"` }
func NewDescribeDDoSTrendResponse ¶
func NewDescribeDDoSTrendResponse() (response *DescribeDDoSTrendResponse)
func (*DescribeDDoSTrendResponse) FromJsonString ¶
func (r *DescribeDDoSTrendResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSTrendResponse) ToJsonString ¶
func (r *DescribeDDoSTrendResponse) ToJsonString() string
type DescribeDDoSTrendResponseParams ¶
type DescribeDDoSTrendResponseParams struct { // 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,omitnil" name:"Business"` // Anti-DDoS instance ID // Note: this field may return null, indicating that no valid values can be obtained. Id *string `json:"Id,omitnil" name:"Id"` // Resource IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Metric. Valid values: [bps (attack traffic bandwidth), pps (attack packet rate)] MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // Statistical granularity. Valid values: [300 (5-minute), 3600 (hourly), 86400 (daily)] Period *int64 `json:"Period,omitnil" name:"Period"` // Statistics start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Value array. The unit for attack traffic bandwidth is Mbps, and that for the packet rate is pps. Data []*uint64 `json:"Data,omitnil" name:"Data"` // Number of values Count *uint64 `json:"Count,omitnil" name:"Count"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSUsedStatisRequest ¶
type DescribeDDoSUsedStatisRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil" 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 DescribeDDoSUsedStatisRequestParams ¶
type DescribeDDoSUsedStatisRequestParams struct { // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil" name:"Business"` }
Predefined struct for user
type DescribeDDoSUsedStatisResponse ¶
type DescribeDDoSUsedStatisResponse struct { *tchttp.BaseResponse Response *DescribeDDoSUsedStatisResponseParams `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 DescribeDDoSUsedStatisResponseParams ¶
type DescribeDDoSUsedStatisResponseParams struct { // Field value as follows: // Days: number of days of Anti-DDoS resource use // Attacks: number of DDoS attacks Data []*KeyValue `json:"Data,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // IP list IpList []*string `json:"IpList,omitnil" 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 DescribeIPProductInfoRequestParams ¶
type DescribeIPProductInfoRequestParams struct { // Anti-DDoS service type. `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP) Business *string `json:"Business,omitnil" name:"Business"` // IP list IpList []*string `json:"IpList,omitnil" name:"IpList"` }
Predefined struct for user
type DescribeIPProductInfoResponse ¶
type DescribeIPProductInfoResponse struct { *tchttp.BaseResponse Response *DescribeIPProductInfoResponseParams `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 DescribeIPProductInfoResponseParams ¶
type DescribeIPProductInfoResponseParams 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,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" 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 DescribeInsurePacksRequestParams ¶
type DescribeInsurePacksRequestParams struct { // 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,omitnil" name:"IdList"` }
Predefined struct for user
type DescribeInsurePacksResponse ¶
type DescribeInsurePacksResponse struct { *tchttp.BaseResponse Response *DescribeInsurePacksResponseParams `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 DescribeInsurePacksResponseParams ¶
type DescribeInsurePacksResponseParams struct { // Guarantee package list InsurePacks []*KeyValueRecord `json:"InsurePacks,omitnil" name:"InsurePacks"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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 DescribeIpBlockListRequestParams ¶
type DescribeIpBlockListRequestParams struct { }
Predefined struct for user
type DescribeIpBlockListResponse ¶
type DescribeIpBlockListResponse struct { *tchttp.BaseResponse Response *DescribeIpBlockListResponseParams `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 DescribeIpBlockListResponseParams ¶
type DescribeIpBlockListResponseParams struct { // Blocked IP list List []*IpBlockData `json:"List,omitnil" name:"List"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeIpUnBlockListRequest ¶
type DescribeIpUnBlockListRequest struct { *tchttp.BaseRequest // Start time BeginTime *string `json:"BeginTime,omitnil" name:"BeginTime"` // End time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // IP (if this field is not empty, IP filtering will be performed) Ip *string `json:"Ip,omitnil" 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,omitnil" name:"Paging"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" 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 DescribeIpUnBlockListRequestParams ¶
type DescribeIpUnBlockListRequestParams struct { // Start time BeginTime *string `json:"BeginTime,omitnil" name:"BeginTime"` // End time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // IP (if this field is not empty, IP filtering will be performed) Ip *string `json:"Ip,omitnil" 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,omitnil" name:"Paging"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeIpUnBlockListResponse ¶
type DescribeIpUnBlockListResponse struct { *tchttp.BaseResponse Response *DescribeIpUnBlockListResponseParams `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 DescribeIpUnBlockListResponseParams ¶
type DescribeIpUnBlockListResponseParams struct { // Start time BeginTime *string `json:"BeginTime,omitnil" name:"BeginTime"` // End time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // IP unblocking record List []*IpUnBlockData `json:"List,omitnil" name:"List"` // Total number of records Total *uint64 `json:"Total,omitnil" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeL4HealthConfigRequest ¶
type DescribeL4HealthConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" 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 DescribeL4HealthConfigRequestParams ¶
type DescribeL4HealthConfigRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" name:"RuleIdList"` }
Predefined struct for user
type DescribeL4HealthConfigResponse ¶
type DescribeL4HealthConfigResponse struct { *tchttp.BaseResponse Response *DescribeL4HealthConfigResponseParams `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 DescribeL4HealthConfigResponseParams ¶
type DescribeL4HealthConfigResponseParams struct { // Layer-4 health check configuration array HealthConfig []*L4HealthConfig `json:"HealthConfig,omitnil" name:"HealthConfig"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeL4RulesErrHealthRequest ¶
type DescribeL4RulesErrHealthRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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 DescribeL4RulesErrHealthRequestParams ¶
type DescribeL4RulesErrHealthRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` }
Predefined struct for user
type DescribeL4RulesErrHealthResponse ¶
type DescribeL4RulesErrHealthResponse struct { *tchttp.BaseResponse Response *DescribeL4RulesErrHealthResponseParams `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 DescribeL4RulesErrHealthResponseParams ¶
type DescribeL4RulesErrHealthResponseParams struct { // Total number of exceptional rules Total *uint64 `json:"Total,omitnil" 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,omitnil" 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,omitnil" name:"ExtErrHealths"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeL7HealthConfigRequest ¶
type DescribeL7HealthConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" 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 DescribeL7HealthConfigRequestParams ¶
type DescribeL7HealthConfigRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" name:"RuleIdList"` }
Predefined struct for user
type DescribeL7HealthConfigResponse ¶
type DescribeL7HealthConfigResponse struct { *tchttp.BaseResponse Response *DescribeL7HealthConfigResponseParams `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 DescribeL7HealthConfigResponseParams ¶
type DescribeL7HealthConfigResponseParams struct { // Layer-7 health check configuration array HealthConfig []*L7HealthConfig `json:"HealthConfig,omitnil" name:"HealthConfig"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" 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 DescribePackIndexRequestParams ¶
type DescribePackIndexRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced, `bgp`: Anti-DDoS Pro (single IP), `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` }
Predefined struct for user
type DescribePackIndexResponse ¶
type DescribePackIndexResponse struct { *tchttp.BaseResponse Response *DescribePackIndexResponseParams `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 DescribePackIndexResponseParams ¶
type DescribePackIndexResponseParams 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,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Attack event start time in the format of "2018-08-28 07:00:00" StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack event end time in the format of "2018-08-28 07:02:00" EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Resource IP, which is required only if `Business` is `net`; Ip *string `json:"Ip,omitnil" 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 DescribePcapRequestParams ¶
type DescribePcapRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Attack event start time in the format of "2018-08-28 07:00:00" StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Attack event end time in the format of "2018-08-28 07:02:00" EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Resource IP, which is required only if `Business` is `net`; Ip *string `json:"Ip,omitnil" name:"Ip"` }
Predefined struct for user
type DescribePcapResponse ¶
type DescribePcapResponse struct { *tchttp.BaseResponse Response *DescribePcapResponseParams `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 DescribePcapResponseParams ¶
type DescribePcapResponseParams struct { // PCAP packet download link list, which is an empty array if there are no PCAP packets; PcapUrlList []*string `json:"PcapUrlList,omitnil" name:"PcapUrlList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Policy scenario ID SceneId *string `json:"SceneId,omitnil" 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 DescribePolicyCaseRequestParams ¶
type DescribePolicyCaseRequestParams 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,omitnil" name:"Business"` // Policy scenario ID SceneId *string `json:"SceneId,omitnil" name:"SceneId"` }
Predefined struct for user
type DescribePolicyCaseResponse ¶
type DescribePolicyCaseResponse struct { *tchttp.BaseResponse Response *DescribePolicyCaseResponseParams `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 DescribePolicyCaseResponseParams ¶
type DescribePolicyCaseResponseParams struct { // Policy scenario list CaseList []*KeyValueRecord `json:"CaseList,omitnil" name:"CaseList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" 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,omitnil" 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 DescribeResIpListRequestParams ¶
type DescribeResIpListRequestParams 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,omitnil" 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,omitnil" name:"IdList"` }
Predefined struct for user
type DescribeResIpListResponse ¶
type DescribeResIpListResponse struct { *tchttp.BaseResponse Response *DescribeResIpListResponseParams `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 DescribeResIpListResponseParams ¶
type DescribeResIpListResponseParams struct { // Resource IP list Resource []*ResourceIp `json:"Resource,omitnil" name:"Resource"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"Name"` // IP query list, which is optional. Resources will be queried by IP if the list is not empty. IpList []*string `json:"IpList,omitnil" 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,omitnil" name:"Status"` // Expiring resource search, which is optional. Valid values: [0 (no search), 1 (search for expiring resources)] Expire *uint64 `json:"Expire,omitnil" name:"Expire"` // Sort by field, which is optional OderBy []*OrderBy `json:"OderBy,omitnil" name:"OderBy"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" 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,omitnil" 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,omitnil" 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 DescribeResourceListRequestParams ¶
type DescribeResourceListRequestParams struct { // 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"Name"` // IP query list, which is optional. Resources will be queried by IP if the list is not empty. IpList []*string `json:"IpList,omitnil" 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,omitnil" name:"Status"` // Expiring resource search, which is optional. Valid values: [0 (no search), 1 (search for expiring resources)] Expire *uint64 `json:"Expire,omitnil" name:"Expire"` // Sort by field, which is optional OderBy []*OrderBy `json:"OderBy,omitnil" name:"OderBy"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" 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,omitnil" 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,omitnil" name:"Domain"` }
Predefined struct for user
type DescribeResourceListResponse ¶
type DescribeResourceListResponse struct { *tchttp.BaseResponse Response *DescribeResourceListResponseParams `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 DescribeResourceListResponseParams ¶
type DescribeResourceListResponseParams struct { // Total number of records Total *uint64 `json:"Total,omitnil" 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,omitnil" 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,omitnil" name:"Business"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeRuleSetsRequest ¶
type DescribeRuleSetsRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Resource ID list IdList []*string `json:"IdList,omitnil" 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 DescribeRuleSetsRequestParams ¶
type DescribeRuleSetsRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Resource ID list IdList []*string `json:"IdList,omitnil" name:"IdList"` }
Predefined struct for user
type DescribeRuleSetsResponse ¶
type DescribeRuleSetsResponse struct { *tchttp.BaseResponse Response *DescribeRuleSetsResponseParams `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 DescribeRuleSetsResponseParams ¶
type DescribeRuleSetsResponseParams 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,omitnil" 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,omitnil" name:"L7RuleSets"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Limit"` // Starting offset of the page. Value: (number of pages - 1) * items per page Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // (Optional) Filter by specific domain name Domain *string `json:"Domain,omitnil" 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 DescribeSchedulingDomainListRequestParams ¶
type DescribeSchedulingDomainListRequestParams struct { // Number of items in a page. Returned results are not paged if you enter '0'. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Starting offset of the page. Value: (number of pages - 1) * items per page Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // (Optional) Filter by specific domain name Domain *string `json:"Domain,omitnil" name:"Domain"` }
Predefined struct for user
type DescribeSchedulingDomainListResponse ¶
type DescribeSchedulingDomainListResponse struct { *tchttp.BaseResponse Response *DescribeSchedulingDomainListResponseParams `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 DescribeSchedulingDomainListResponseParams ¶
type DescribeSchedulingDomainListResponseParams struct { // Total number of scheduling domain names Total *uint64 `json:"Total,omitnil" name:"Total"` // List of scheduling domain names DomainList []*SchedulingDomain `json:"DomainList,omitnil" name:"DomainList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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 DescribeSecIndexRequestParams ¶
type DescribeSecIndexRequestParams struct { }
Predefined struct for user
type DescribeSecIndexResponse ¶
type DescribeSecIndexResponse struct { *tchttp.BaseResponse Response *DescribeSecIndexResponseParams `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 DescribeSecIndexResponseParams ¶
type DescribeSecIndexResponseParams 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,omitnil" name:"Data"` // Start time of the current month BeginDate *string `json:"BeginDate,omitnil" name:"BeginDate"` // End time of the current month EndDate *string `json:"EndDate,omitnil" name:"EndDate"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSourceIpSegmentRequest ¶
type DescribeSourceIpSegmentRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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 DescribeSourceIpSegmentRequestParams ¶
type DescribeSourceIpSegmentRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` }
Predefined struct for user
type DescribeSourceIpSegmentResponse ¶
type DescribeSourceIpSegmentResponse struct { *tchttp.BaseResponse Response *DescribeSourceIpSegmentResponseParams `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 DescribeSourceIpSegmentResponseParams ¶
type DescribeSourceIpSegmentResponseParams struct { // Intermediate IP range. Multiple values are separated by ";" Data *string `json:"Data,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Metric name. Valid values: // traffic: traffic bandwidth; // pkg: packet rate; MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // Statistical time granularity (300: 5-minute, 3600: hourly, 86400: daily) Period *uint64 `json:"Period,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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 DescribeTransmitStatisRequestParams ¶
type DescribeTransmitStatisRequestParams struct { // 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Metric name. Valid values: // traffic: traffic bandwidth; // pkg: packet rate; MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // Statistical time granularity (300: 5-minute, 3600: hourly, 86400: daily) Period *uint64 `json:"Period,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"IpList"` }
Predefined struct for user
type DescribeTransmitStatisResponse ¶
type DescribeTransmitStatisResponse struct { *tchttp.BaseResponse Response *DescribeTransmitStatisResponseParams `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 DescribeTransmitStatisResponseParams ¶
type DescribeTransmitStatisResponseParams 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,omitnil" 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,omitnil" name:"OutDataList"` // Metric name: // traffic: traffic bandwidth; // pkg: packet rate; MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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 DescribeUnBlockStatisRequestParams ¶
type DescribeUnBlockStatisRequestParams struct { }
Predefined struct for user
type DescribeUnBlockStatisResponse ¶
type DescribeUnBlockStatisResponse struct { *tchttp.BaseResponse Response *DescribeUnBlockStatisResponseParams `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 DescribeUnBlockStatisResponseParams ¶
type DescribeUnBlockStatisResponseParams struct { // Total number of unblocking chances Total *uint64 `json:"Total,omitnil" name:"Total"` // Number of used chances Used *uint64 `json:"Used,omitnil" name:"Used"` // Statistics start time BeginTime *string `json:"BeginTime,omitnil" name:"BeginTime"` // Statistics end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribleL4RulesRequest ¶
type DescribleL4RulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule ID, which is optional. If this field is entered, the specified rule will be obtained RuleIdList []*string `json:"RuleIdList,omitnil" name:"RuleIdList"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" 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 DescribleL4RulesRequestParams ¶
type DescribleL4RulesRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule ID, which is optional. If this field is entered, the specified rule will be obtained RuleIdList []*string `json:"RuleIdList,omitnil" name:"RuleIdList"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribleL4RulesResponse ¶
type DescribleL4RulesResponse struct { *tchttp.BaseResponse Response *DescribleL4RulesResponseParams `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 DescribleL4RulesResponseParams ¶
type DescribleL4RulesResponseParams struct { // Forwarding rule list Rules []*L4RuleEntry `json:"Rules,omitnil" name:"Rules"` // Total number of rules Total *uint64 `json:"Total,omitnil" name:"Total"` // Health check configuration list Healths []*L4RuleHealth `json:"Healths,omitnil" name:"Healths"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribleL7RulesRequest ¶
type DescribleL7RulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule ID, which is optional. If this field is entered, the specified rule will be obtained RuleIdList []*string `json:"RuleIdList,omitnil" name:"RuleIdList"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Domain name search, which is optional. Enter it if you need to search for domain names Domain *string `json:"Domain,omitnil" name:"Domain"` // Forwarding protocol search, which is optional. Valid values: [http, https, http/https] ProtocolList []*string `json:"ProtocolList,omitnil" 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,omitnil" 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 DescribleL7RulesRequestParams ¶
type DescribleL7RulesRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule ID, which is optional. If this field is entered, the specified rule will be obtained RuleIdList []*string `json:"RuleIdList,omitnil" name:"RuleIdList"` // Number of entries per page. A value of 0 means no pagination Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Page start offset, whose value is (page number - 1) * number of entries per page Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Domain name search, which is optional. Enter it if you need to search for domain names Domain *string `json:"Domain,omitnil" name:"Domain"` // Forwarding protocol search, which is optional. Valid values: [http, https, http/https] ProtocolList []*string `json:"ProtocolList,omitnil" 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,omitnil" name:"StatusList"` }
Predefined struct for user
type DescribleL7RulesResponse ¶
type DescribleL7RulesResponse struct { *tchttp.BaseResponse Response *DescribleL7RulesResponseParams `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 DescribleL7RulesResponseParams ¶
type DescribleL7RulesResponseParams struct { // Forwarding rule list Rules []*L7RuleEntry `json:"Rules,omitnil" name:"Rules"` // Total number of rules Total *uint64 `json:"Total,omitnil" name:"Total"` // Health check configuration list Healths []*L7RuleHealth `json:"Healths,omitnil" name:"Healths"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" 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,omitnil" 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 DescribleRegionCountRequestParams ¶
type DescribleRegionCountRequestParams struct { // 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,omitnil" 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,omitnil" name:"LineList"` }
Predefined struct for user
type DescribleRegionCountResponse ¶
type DescribleRegionCountResponse struct { *tchttp.BaseResponse Response *DescribleRegionCountResponseParams `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 DescribleRegionCountResponseParams ¶
type DescribleRegionCountResponseParams struct { // Number of resource instances in region RegionList []*RegionInstanceCount `json:"RegionList,omitnil" name:"RegionList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type HttpStatusMap ¶
type HttpStatusMap struct { // HTTP 2xx Status code Http2xx []*float64 `json:"Http2xx,omitnil" name:"Http2xx"` // HTTP 3xx Status code Http3xx []*float64 `json:"Http3xx,omitnil" name:"Http3xx"` // HTTP 404 Status code Http404 []*float64 `json:"Http404,omitnil" name:"Http404"` // HTTP 4xx Status code Http4xx []*float64 `json:"Http4xx,omitnil" name:"Http4xx"` // HTTP 5xx Status code Http5xx []*float64 `json:"Http5xx,omitnil" name:"Http5xx"` // HTTP 2xx Forwarding status code SourceHttp2xx []*float64 `json:"SourceHttp2xx,omitnil" name:"SourceHttp2xx"` // HTTP 3xx Forwarding status code SourceHttp3xx []*float64 `json:"SourceHttp3xx,omitnil" name:"SourceHttp3xx"` // HTTP 404 Forwarding status code SourceHttp404 []*float64 `json:"SourceHttp404,omitnil" name:"SourceHttp404"` // HTTP 4xx Forwarding status code SourceHttp4xx []*float64 `json:"SourceHttp4xx,omitnil" name:"SourceHttp4xx"` // HTTP 5xx Forwarding status code SourceHttp5xx []*float64 `json:"SourceHttp5xx,omitnil" name:"SourceHttp5xx"` }
type IpBlackWhite ¶
type IpBlockData ¶
type IpBlockData struct { // IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Status (Blocked: blocked, UnBlocking: unblocking, UnBlockFailed: unblocking failed) Status *string `json:"Status,omitnil" name:"Status"` // Blocked time BlockTime *string `json:"BlockTime,omitnil" name:"BlockTime"` // Unblocked time (estimated) UnBlockTime *string `json:"UnBlockTime,omitnil" 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,omitnil" name:"ActionType"` }
type IpUnBlockData ¶
type IpUnBlockData struct { // IP Ip *string `json:"Ip,omitnil" name:"Ip"` // Blocked time BlockTime *string `json:"BlockTime,omitnil" name:"BlockTime"` // Unblocked time (actual) UnBlockTime *string `json:"UnBlockTime,omitnil" 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,omitnil" name:"ActionType"` }
type KeyValueRecord ¶
type KeyValueRecord struct { // Key-Value array of a record Record []*KeyValue `json:"Record,omitnil" name:"Record"` }
type L4HealthConfig ¶
type L4HealthConfig struct { // Forwarding protocol. Valid values: [TCP, UDP] Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // Forwarding port VirtualPort *uint64 `json:"VirtualPort,omitnil" name:"VirtualPort"` // 1: enabled, 0: disabled Enable *uint64 `json:"Enable,omitnil" name:"Enable"` // Response timeout period in seconds TimeOut *uint64 `json:"TimeOut,omitnil" name:"TimeOut"` // Detection interval in seconds Interval *uint64 `json:"Interval,omitnil" name:"Interval"` // Unhealthy threshold in times. KickNum *uint64 `json:"KickNum,omitnil" name:"KickNum"` // Healthy threshold in times. AliveNum *uint64 `json:"AliveNum,omitnil" name:"AliveNum"` // Session persistence duration in seconds KeepTime *uint64 `json:"KeepTime,omitnil" name:"KeepTime"` }
type L4RuleEntry ¶
type L4RuleEntry struct { // Forwarding protocol. Valid values: [TCP, UDP] Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // Forwarding port VirtualPort *uint64 `json:"VirtualPort,omitnil" name:"VirtualPort"` // Real server port SourcePort *uint64 `json:"SourcePort,omitnil" name:"SourcePort"` // Forwarding method. Valid values: [1 (forwarding via domain name), 2 (forwarding via IP)] SourceType *uint64 `json:"SourceType,omitnil" name:"SourceType"` // Session persistence duration in seconds KeepTime *uint64 `json:"KeepTime,omitnil" name:"KeepTime"` // Forward list SourceList []*L4RuleSource `json:"SourceList,omitnil" name:"SourceList"` // Load balancing method. Valid values: [1 (weighted round robin), 2 (source IP hash)] LbType *uint64 `json:"LbType,omitnil" name:"LbType"` // Session persistence status. Valid values: [0 (disabled), 1 (enabled)]; KeepEnable *uint64 `json:"KeepEnable,omitnil" name:"KeepEnable"` // Rule ID RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // Rule description RuleName *string `json:"RuleName,omitnil" name:"RuleName"` // Watermark removal status. Valid values: [0 (disabled), 1 (enabled)] RemoveSwitch *uint64 `json:"RemoveSwitch,omitnil" name:"RemoveSwitch"` }
type L4RuleHealth ¶
type L4RuleHealth struct { // Rule ID RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // 1: enabled, 0: disabled Enable *uint64 `json:"Enable,omitnil" name:"Enable"` // Response timeout period in seconds TimeOut *uint64 `json:"TimeOut,omitnil" name:"TimeOut"` // Detection interval in seconds, which must be greater than the response timeout period Interval *uint64 `json:"Interval,omitnil" name:"Interval"` // Unhealthy threshold in times KickNum *uint64 `json:"KickNum,omitnil" name:"KickNum"` // Healthy threshold in times. AliveNum *uint64 `json:"AliveNum,omitnil" name:"AliveNum"` }
type L4RuleSource ¶
type L7HealthConfig ¶
type L7HealthConfig struct { // Forwarding protocol. Valid values: [http, https, http/https] Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // Forwarding domain name Domain *string `json:"Domain,omitnil" name:"Domain"` // 1: enabled, 0: disabled Enable *uint64 `json:"Enable,omitnil" name:"Enable"` // Detection interval in seconds Interval *uint64 `json:"Interval,omitnil" name:"Interval"` // Number of exceptions in times KickNum *uint64 `json:"KickNum,omitnil" name:"KickNum"` // Number of health checks in times AliveNum *uint64 `json:"AliveNum,omitnil" name:"AliveNum"` // Health check detection method. Valid values: HEAD, GET. Default VALUE: HEAD Method *string `json:"Method,omitnil" 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,omitnil" name:"StatusCode"` // URL of checked directory. Default value: / Url *string `json:"Url,omitnil" name:"Url"` }
type L7RuleEntry ¶
type L7RuleEntry struct { // Forwarding protocol. Valid values: [http, https] Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // Forwarding domain name Domain *string `json:"Domain,omitnil" name:"Domain"` // Forwarding method. Valid values: [1 (forwarding via domain name), 2 (forwarding via IP)] SourceType *uint64 `json:"SourceType,omitnil" name:"SourceType"` // Session persistence duration in seconds KeepTime *uint64 `json:"KeepTime,omitnil" name:"KeepTime"` // Forward list SourceList []*L4RuleSource `json:"SourceList,omitnil" name:"SourceList"` // Load balancing method. Valid value: [1 (weighted round robin)] LbType *uint64 `json:"LbType,omitnil" name:"LbType"` // Session persistence status. Valid values: [0 (disabled), 1 (enabled)] KeepEnable *uint64 `json:"KeepEnable,omitnil" name:"KeepEnable"` // Rule ID, which is optional when adding a new rule but required when modifying or deleting a rule; RuleId *string `json:"RuleId,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"PrivateKey"` // Rule description RuleName *string `json:"RuleName,omitnil" 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,omitnil" name:"Status"` // CC protection status. Valid values: [0 (disabled), 1 (enabled)] CCStatus *uint64 `json:"CCStatus,omitnil" name:"CCStatus"` // HTTPS CC protection status. Valid values: [0 (disabled), 1 (enabled)] CCEnable *uint64 `json:"CCEnable,omitnil" name:"CCEnable"` // HTTPS CC protection threshold CCThreshold *uint64 `json:"CCThreshold,omitnil" name:"CCThreshold"` // HTTPS CC protection level CCLevel *string `json:"CCLevel,omitnil" 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,omitnil" name:"HttpsToHttpEnable"` // Access port number. // Note: this field may return null, indicating that no valid values can be obtained. VirtualPort *uint64 `json:"VirtualPort,omitnil" name:"VirtualPort"` }
type L7RuleHealth ¶
type L7RuleHealth struct { // Rule ID RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // 1: enabled, 0: disabled Enable *uint64 `json:"Enable,omitnil" name:"Enable"` // Detection interval in seconds Interval *uint64 `json:"Interval,omitnil" name:"Interval"` // Unhealthy threshold in times. KickNum *uint64 `json:"KickNum,omitnil" name:"KickNum"` // Healthy threshold in times. AliveNum *uint64 `json:"AliveNum,omitnil" name:"AliveNum"` // HTTP request method. Valid values: [HEAD, GET] Method *string `json:"Method,omitnil" 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,omitnil" name:"StatusCode"` // URL of checked directory. Default value: / Url *string `json:"Url,omitnil" name:"Url"` // Configuration status. 0: normal, 1: configuring, 2: configuration failed Status *uint64 `json:"Status,omitnil" 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,omitnil" name:"Business"` // Anti-DDoS instance ID RsId *string `json:"RsId,omitnil" 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,omitnil" 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,omitnil" 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 ModifyCCAlarmThresholdRequestParams ¶
type ModifyCCAlarmThresholdRequestParams 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) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID RsId *string `json:"RsId,omitnil" 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,omitnil" 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,omitnil" name:"IpList"` }
Predefined struct for user
type ModifyCCAlarmThresholdResponse ¶
type ModifyCCAlarmThresholdResponse struct { *tchttp.BaseResponse Response *ModifyCCAlarmThresholdResponseParams `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 ModifyCCAlarmThresholdResponseParams ¶
type ModifyCCAlarmThresholdResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyCCFrequencyRulesRequest ¶
type ModifyCCFrequencyRulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // CC access frequency control rule ID CCFrequencyRuleId *string `json:"CCFrequencyRuleId,omitnil" name:"CCFrequencyRuleId"` // Matching rule. Valid values: ["include" (prefix match), "equal" (exact match)] Mode *string `json:"Mode,omitnil" name:"Mode"` // Reference period in seconds. Valid values: [10, 30, 60] Period *uint64 `json:"Period,omitnil" name:"Period"` // Number of access requests. Value range: [1-10000] ReqNumber *uint64 `json:"ReqNumber,omitnil" name:"ReqNumber"` // Action take. Valid values: ["alg" (CAPTCHA), "drop" (blocking)] Act *string `json:"Act,omitnil" name:"Act"` // Execution duration in seconds. Valid range: [1-900] ExeDuration *uint64 `json:"ExeDuration,omitnil" 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,omitnil" name:"Uri"` // `User-Agent` string. Length limit: 80 UserAgent *string `json:"UserAgent,omitnil" name:"UserAgent"` // Cookie string. Length limit: 40 Cookie *string `json:"Cookie,omitnil" 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 ModifyCCFrequencyRulesRequestParams ¶
type ModifyCCFrequencyRulesRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // CC access frequency control rule ID CCFrequencyRuleId *string `json:"CCFrequencyRuleId,omitnil" name:"CCFrequencyRuleId"` // Matching rule. Valid values: ["include" (prefix match), "equal" (exact match)] Mode *string `json:"Mode,omitnil" name:"Mode"` // Reference period in seconds. Valid values: [10, 30, 60] Period *uint64 `json:"Period,omitnil" name:"Period"` // Number of access requests. Value range: [1-10000] ReqNumber *uint64 `json:"ReqNumber,omitnil" name:"ReqNumber"` // Action take. Valid values: ["alg" (CAPTCHA), "drop" (blocking)] Act *string `json:"Act,omitnil" name:"Act"` // Execution duration in seconds. Valid range: [1-900] ExeDuration *uint64 `json:"ExeDuration,omitnil" 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,omitnil" name:"Uri"` // `User-Agent` string. Length limit: 80 UserAgent *string `json:"UserAgent,omitnil" name:"UserAgent"` // Cookie string. Length limit: 40 Cookie *string `json:"Cookie,omitnil" name:"Cookie"` }
Predefined struct for user
type ModifyCCFrequencyRulesResponse ¶
type ModifyCCFrequencyRulesResponse struct { *tchttp.BaseResponse Response *ModifyCCFrequencyRulesResponseParams `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 ModifyCCFrequencyRulesResponseParams ¶
type ModifyCCFrequencyRulesResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyCCFrequencyRulesStatusRequest ¶
type ModifyCCFrequencyRulesStatusRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Layer-7 forwarding rule ID, which can be obtained through the `DescribleL7Rules` API RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // Enables or disable. Valid values: ["on", "off"] Method *string `json:"Method,omitnil" 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 ModifyCCFrequencyRulesStatusRequestParams ¶
type ModifyCCFrequencyRulesStatusRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Layer-7 forwarding rule ID, which can be obtained through the `DescribleL7Rules` API RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // Enables or disable. Valid values: ["on", "off"] Method *string `json:"Method,omitnil" name:"Method"` }
Predefined struct for user
type ModifyCCFrequencyRulesStatusResponse ¶
type ModifyCCFrequencyRulesStatusResponse struct { *tchttp.BaseResponse Response *ModifyCCFrequencyRulesStatusResponseParams `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 ModifyCCFrequencyRulesStatusResponseParams ¶
type ModifyCCFrequencyRulesStatusResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyCCHostProtectionRequest ¶
type ModifyCCHostProtectionRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule ID RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // Enables/disables CC domain name protection. Valid values: [open (enable), close (disable)] Method *string `json:"Method,omitnil" 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 ModifyCCHostProtectionRequestParams ¶
type ModifyCCHostProtectionRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule ID RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // Enables/disables CC domain name protection. Valid values: [open (enable), close (disable)] Method *string `json:"Method,omitnil" name:"Method"` }
Predefined struct for user
type ModifyCCHostProtectionResponse ¶
type ModifyCCHostProtectionResponse struct { *tchttp.BaseResponse Response *ModifyCCHostProtectionResponseParams `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 ModifyCCHostProtectionResponseParams ¶
type ModifyCCHostProtectionResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // add: add, delete: delete Method *string `json:"Method,omitnil" name:"Method"` // Blocklist/allowlist type. Valid values: [white (allowlist), black (blocklist)] Type *string `json:"Type,omitnil" name:"Type"` // Blocklisted/whitelisted IP array IpList []*string `json:"IpList,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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 ModifyCCIpAllowDenyRequestParams ¶
type ModifyCCIpAllowDenyRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // add: add, delete: delete Method *string `json:"Method,omitnil" name:"Method"` // Blocklist/allowlist type. Valid values: [white (allowlist), black (blocklist)] Type *string `json:"Type,omitnil" name:"Type"` // Blocklisted/whitelisted IP array IpList []*string `json:"IpList,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"RuleId"` }
Predefined struct for user
type ModifyCCIpAllowDenyResponse ¶
type ModifyCCIpAllowDenyResponse struct { *tchttp.BaseResponse Response *ModifyCCIpAllowDenyResponseParams `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 ModifyCCIpAllowDenyResponseParams ¶
type ModifyCCIpAllowDenyResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyCCLevelRequest ¶
type ModifyCCLevelRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // CC protection level. Valid values: [default (normal), loose (loose), strict (strict)]; Level *string `json:"Level,omitnil" 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,omitnil" name:"Protocol"` // Layer-7 forwarding rule ID (which can be obtained from the layer-7 forwarding rule API); RuleId *string `json:"RuleId,omitnil" 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 ModifyCCLevelRequestParams ¶
type ModifyCCLevelRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // CC protection level. Valid values: [default (normal), loose (loose), strict (strict)]; Level *string `json:"Level,omitnil" 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,omitnil" name:"Protocol"` // Layer-7 forwarding rule ID (which can be obtained from the layer-7 forwarding rule API); RuleId *string `json:"RuleId,omitnil" name:"RuleId"` }
Predefined struct for user
type ModifyCCLevelResponse ¶
type ModifyCCLevelResponse struct { *tchttp.BaseResponse Response *ModifyCCLevelResponseParams `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 ModifyCCLevelResponseParams ¶
type ModifyCCLevelResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Policy ID SetId *string `json:"SetId,omitnil" name:"SetId"` // Status Switch *uint64 `json:"Switch,omitnil" 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 ModifyCCPolicySwitchRequestParams ¶
type ModifyCCPolicySwitchRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Policy ID SetId *string `json:"SetId,omitnil" name:"SetId"` // Status Switch *uint64 `json:"Switch,omitnil" name:"Switch"` }
Predefined struct for user
type ModifyCCPolicySwitchResponse ¶
type ModifyCCPolicySwitchResponse struct { *tchttp.BaseResponse Response *ModifyCCPolicySwitchResponseParams `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 ModifyCCPolicySwitchResponseParams ¶
type ModifyCCPolicySwitchResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Policy ID SetId *string `json:"SetId,omitnil" name:"SetId"` // Details of the CC protection policy Policy *CCPolicy `json:"Policy,omitnil" 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 ModifyCCSelfDefinePolicyRequestParams ¶
type ModifyCCSelfDefinePolicyRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Policy ID SetId *string `json:"SetId,omitnil" name:"SetId"` // Details of the CC protection policy Policy *CCPolicy `json:"Policy,omitnil" name:"Policy"` }
Predefined struct for user
type ModifyCCSelfDefinePolicyResponse ¶
type ModifyCCSelfDefinePolicyResponse struct { *tchttp.BaseResponse Response *ModifyCCSelfDefinePolicyResponseParams `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 ModifyCCSelfDefinePolicyResponseParams ¶
type ModifyCCSelfDefinePolicyResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" 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,omitnil" name:"Threshold"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" 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,omitnil" name:"RuleId"` // Queried IP address (only provided by Anti-DDoS Basic), such as 1.1.1.1 BasicIp *string `json:"BasicIp,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"BasicIspCode"` // This optional field must be specified when HTTPS protocol is used. Domain *string `json:"Domain,omitnil" 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 ModifyCCThresholdRequestParams ¶
type ModifyCCThresholdRequestParams 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,omitnil" 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,omitnil" name:"Threshold"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" 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,omitnil" name:"RuleId"` // Queried IP address (only provided by Anti-DDoS Basic), such as 1.1.1.1 BasicIp *string `json:"BasicIp,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"BasicIspCode"` // This optional field must be specified when HTTPS protocol is used. Domain *string `json:"Domain,omitnil" name:"Domain"` }
Predefined struct for user
type ModifyCCThresholdResponse ¶
type ModifyCCThresholdResponse struct { *tchttp.BaseResponse Response *ModifyCCThresholdResponseParams `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 ModifyCCThresholdResponseParams ¶
type ModifyCCThresholdResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // add: add, delete: delete Method *string `json:"Method,omitnil" name:"Method"` // Blocklist/allowlist type. Valid value: [white (allowlist)] Type *string `json:"Type,omitnil" name:"Type"` // URL array. URL format: // http://domain name/cgi // https://domain name/cgi UrlList []*string `json:"UrlList,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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 ModifyCCUrlAllowRequestParams ¶
type ModifyCCUrlAllowRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // add: add, delete: delete Method *string `json:"Method,omitnil" name:"Method"` // Blocklist/allowlist type. Valid value: [white (allowlist)] Type *string `json:"Type,omitnil" name:"Type"` // URL array. URL format: // http://domain name/cgi // https://domain name/cgi UrlList []*string `json:"UrlList,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"RuleId"` }
Predefined struct for user
type ModifyCCUrlAllowResponse ¶
type ModifyCCUrlAllowResponse struct { *tchttp.BaseResponse Response *ModifyCCUrlAllowResponseParams `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 ModifyCCUrlAllowResponseParams ¶
type ModifyCCUrlAllowResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // get (read AI protection status), set (modify AI protection status); Method *string `json:"Method,omitnil" name:"Method"` // AI protection status, which is required if `Method` is `set`. Valid values: [on, off]. DDoSAI *string `json:"DDoSAI,omitnil" 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 ModifyDDoSAIStatusRequestParams ¶
type ModifyDDoSAIStatusRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // get (read AI protection status), set (modify AI protection status); Method *string `json:"Method,omitnil" name:"Method"` // AI protection status, which is required if `Method` is `set`. Valid values: [on, off]. DDoSAI *string `json:"DDoSAI,omitnil" name:"DDoSAI"` }
Predefined struct for user
type ModifyDDoSAIStatusResponse ¶
type ModifyDDoSAIStatusResponse struct { *tchttp.BaseResponse Response *ModifyDDoSAIStatusResponseParams `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 ModifyDDoSAIStatusResponseParams ¶
type ModifyDDoSAIStatusResponseParams struct { // AI protection status. Valid values: [on, off] DDoSAI *string `json:"DDoSAI,omitnil" name:"DDoSAI"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID RsId *string `json:"RsId,omitnil" name:"RsId"` // Alarm threshold type. 0: not set, 1: inbound traffic, 2: cleansed traffic AlarmType *uint64 `json:"AlarmType,omitnil" name:"AlarmType"` // Alarm threshold, which should be greater than 0 (currently scheduled value) AlarmThreshold *uint64 `json:"AlarmThreshold,omitnil" 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,omitnil" 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 ModifyDDoSAlarmThresholdRequestParams ¶
type ModifyDDoSAlarmThresholdRequestParams 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) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID RsId *string `json:"RsId,omitnil" name:"RsId"` // Alarm threshold type. 0: not set, 1: inbound traffic, 2: cleansed traffic AlarmType *uint64 `json:"AlarmType,omitnil" name:"AlarmType"` // Alarm threshold, which should be greater than 0 (currently scheduled value) AlarmThreshold *uint64 `json:"AlarmThreshold,omitnil" 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,omitnil" name:"IpList"` }
Predefined struct for user
type ModifyDDoSAlarmThresholdResponse ¶
type ModifyDDoSAlarmThresholdResponse struct { *tchttp.BaseResponse Response *ModifyDDoSAlarmThresholdResponseParams `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 ModifyDDoSAlarmThresholdResponseParams ¶
type ModifyDDoSAlarmThresholdResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Protection status. Valid values: [0 (disabled), 1 (enabled)] Status *uint64 `json:"Status,omitnil" 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,omitnil" name:"Hour"` // Resource ID, which is required if `Business` is not Anti-DDoS Basic; Id *string `json:"Id,omitnil" name:"Id"` // Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic; Ip *string `json:"Ip,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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 ModifyDDoSDefendStatusRequestParams ¶
type ModifyDDoSDefendStatusRequestParams struct { // 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,omitnil" name:"Business"` // Protection status. Valid values: [0 (disabled), 1 (enabled)] Status *uint64 `json:"Status,omitnil" 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,omitnil" name:"Hour"` // Resource ID, which is required if `Business` is not Anti-DDoS Basic; Id *string `json:"Id,omitnil" name:"Id"` // Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic; Ip *string `json:"Ip,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"IPRegion"` }
Predefined struct for user
type ModifyDDoSDefendStatusResponse ¶
type ModifyDDoSDefendStatusResponse struct { *tchttp.BaseResponse Response *ModifyDDoSDefendStatusResponseParams `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 ModifyDDoSDefendStatusResponseParams ¶
type ModifyDDoSDefendStatusResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // get (read protection level), set (modify protection level); Method *string `json:"Method,omitnil" name:"Method"` // Protection level, which is required if `Method` is `set`. Valid values: [low,middle,high] DDoSLevel *string `json:"DDoSLevel,omitnil" 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 ModifyDDoSLevelRequestParams ¶
type ModifyDDoSLevelRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // get (read protection level), set (modify protection level); Method *string `json:"Method,omitnil" name:"Method"` // Protection level, which is required if `Method` is `set`. Valid values: [low,middle,high] DDoSLevel *string `json:"DDoSLevel,omitnil" name:"DDoSLevel"` }
Predefined struct for user
type ModifyDDoSLevelResponse ¶
type ModifyDDoSLevelResponse struct { *tchttp.BaseResponse Response *ModifyDDoSLevelResponseParams `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 ModifyDDoSLevelResponseParams ¶
type ModifyDDoSLevelResponseParams struct { // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Protection level. Valid values: [low,middle,high] DDoSLevel *string `json:"DDoSLevel,omitnil" name:"DDoSLevel"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Policy scenario ID SceneId *string `json:"SceneId,omitnil" name:"SceneId"` // Development platform. Valid values: [PC (PC client), MOBILE (mobile device), TV (TV), SERVER (server)] PlatformTypes []*string `json:"PlatformTypes,omitnil" name:"PlatformTypes"` // Category. Valid values: [WEB (website), GAME (game), APP (application), OTHER (other)] AppType *string `json:"AppType,omitnil" name:"AppType"` // Application protocol. Valid values: [tcp (TCP protocol), udp (UDP protocol), icmp (ICMP protocol), all (other protocols)] AppProtocols []*string `json:"AppProtocols,omitnil" name:"AppProtocols"` // TCP start port. Value range: (0, 65535] TcpSportStart *string `json:"TcpSportStart,omitnil" 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,omitnil" name:"TcpSportEnd"` // UDP start port. Value range: (0, 65535] UdpSportStart *string `json:"UdpSportStart,omitnil" 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,omitnil" name:"UdpSportEnd"` // Whether there are customers outside Mainland China. Valid values: [no, yes] HasAbroad *string `json:"HasAbroad,omitnil" name:"HasAbroad"` // Whether to actively initiate outbound TCP requests. Valid values: [no, yes] HasInitiateTcp *string `json:"HasInitiateTcp,omitnil" name:"HasInitiateTcp"` // Whether to actively initiate outbound UDP requests. Valid values: [no, yes] HasInitiateUdp *string `json:"HasInitiateUdp,omitnil" name:"HasInitiateUdp"` // Port that actively initiates TCP requests. Value range: (0, 65535] PeerTcpPort *string `json:"PeerTcpPort,omitnil" name:"PeerTcpPort"` // Port that actively initiates UDP requests. Value range: (0, 65535] PeerUdpPort *string `json:"PeerUdpPort,omitnil" name:"PeerUdpPort"` // Fixed feature code of TCP payload. String length limit: 512 TcpFootprint *string `json:"TcpFootprint,omitnil" name:"TcpFootprint"` // Fixed feature code of UDP payload. String length limit: 512 UdpFootprint *string `json:"UdpFootprint,omitnil" name:"UdpFootprint"` // Web business API URL WebApiUrl []*string `json:"WebApiUrl,omitnil" name:"WebApiUrl"` // Minimum length of TCP business packet. Value range: (0, 1500) MinTcpPackageLen *string `json:"MinTcpPackageLen,omitnil" 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,omitnil" name:"MaxTcpPackageLen"` // Minimum length of UDP business packet. Value range: (0, 1500) MinUdpPackageLen *string `json:"MinUdpPackageLen,omitnil" 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,omitnil" name:"MaxUdpPackageLen"` // Whether there are VPN businesses. Valid values: [no, yes] HasVPN *string `json:"HasVPN,omitnil" 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,omitnil" 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,omitnil" 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 ModifyDDoSPolicyCaseRequestParams ¶
type ModifyDDoSPolicyCaseRequestParams 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,omitnil" name:"Business"` // Policy scenario ID SceneId *string `json:"SceneId,omitnil" name:"SceneId"` // Development platform. Valid values: [PC (PC client), MOBILE (mobile device), TV (TV), SERVER (server)] PlatformTypes []*string `json:"PlatformTypes,omitnil" name:"PlatformTypes"` // Category. Valid values: [WEB (website), GAME (game), APP (application), OTHER (other)] AppType *string `json:"AppType,omitnil" name:"AppType"` // Application protocol. Valid values: [tcp (TCP protocol), udp (UDP protocol), icmp (ICMP protocol), all (other protocols)] AppProtocols []*string `json:"AppProtocols,omitnil" name:"AppProtocols"` // TCP start port. Value range: (0, 65535] TcpSportStart *string `json:"TcpSportStart,omitnil" 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,omitnil" name:"TcpSportEnd"` // UDP start port. Value range: (0, 65535] UdpSportStart *string `json:"UdpSportStart,omitnil" 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,omitnil" name:"UdpSportEnd"` // Whether there are customers outside Mainland China. Valid values: [no, yes] HasAbroad *string `json:"HasAbroad,omitnil" name:"HasAbroad"` // Whether to actively initiate outbound TCP requests. Valid values: [no, yes] HasInitiateTcp *string `json:"HasInitiateTcp,omitnil" name:"HasInitiateTcp"` // Whether to actively initiate outbound UDP requests. Valid values: [no, yes] HasInitiateUdp *string `json:"HasInitiateUdp,omitnil" name:"HasInitiateUdp"` // Port that actively initiates TCP requests. Value range: (0, 65535] PeerTcpPort *string `json:"PeerTcpPort,omitnil" name:"PeerTcpPort"` // Port that actively initiates UDP requests. Value range: (0, 65535] PeerUdpPort *string `json:"PeerUdpPort,omitnil" name:"PeerUdpPort"` // Fixed feature code of TCP payload. String length limit: 512 TcpFootprint *string `json:"TcpFootprint,omitnil" name:"TcpFootprint"` // Fixed feature code of UDP payload. String length limit: 512 UdpFootprint *string `json:"UdpFootprint,omitnil" name:"UdpFootprint"` // Web business API URL WebApiUrl []*string `json:"WebApiUrl,omitnil" name:"WebApiUrl"` // Minimum length of TCP business packet. Value range: (0, 1500) MinTcpPackageLen *string `json:"MinTcpPackageLen,omitnil" 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,omitnil" name:"MaxTcpPackageLen"` // Minimum length of UDP business packet. Value range: (0, 1500) MinUdpPackageLen *string `json:"MinUdpPackageLen,omitnil" 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,omitnil" name:"MaxUdpPackageLen"` // Whether there are VPN businesses. Valid values: [no, yes] HasVPN *string `json:"HasVPN,omitnil" 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,omitnil" 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,omitnil" name:"UdpPortList"` }
Predefined struct for user
type ModifyDDoSPolicyCaseResponse ¶
type ModifyDDoSPolicyCaseResponse struct { *tchttp.BaseResponse Response *ModifyDDoSPolicyCaseResponseParams `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 ModifyDDoSPolicyCaseResponseParams ¶
type ModifyDDoSPolicyCaseResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Policy ID PolicyId *string `json:"PolicyId,omitnil" name:"PolicyId"` // Policy name Name *string `json:"Name,omitnil" 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 ModifyDDoSPolicyNameRequestParams ¶
type ModifyDDoSPolicyNameRequestParams 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,omitnil" name:"Business"` // Policy ID PolicyId *string `json:"PolicyId,omitnil" name:"PolicyId"` // Policy name Name *string `json:"Name,omitnil" name:"Name"` }
Predefined struct for user
type ModifyDDoSPolicyNameResponse ¶
type ModifyDDoSPolicyNameResponse struct { *tchttp.BaseResponse Response *ModifyDDoSPolicyNameResponseParams `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 ModifyDDoSPolicyNameResponseParams ¶
type ModifyDDoSPolicyNameResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Policy ID PolicyId *string `json:"PolicyId,omitnil" name:"PolicyId"` // Protocol disablement, which must be entered, and the array length must be 1 DropOptions []*DDoSPolicyDropOption `json:"DropOptions,omitnil" name:"DropOptions"` // Port disablement. If no ports are to be disabled, enter an empty array PortLimits []*DDoSPolicyPortLimit `json:"PortLimits,omitnil" name:"PortLimits"` // IP blocklist/allowlist. Enter an empty array if there is no IP blocklist/allowlist IpAllowDenys []*IpBlackWhite `json:"IpAllowDenys,omitnil" name:"IpAllowDenys"` // Packet filter. Enter an empty array if there are no packets to filter PacketFilters []*DDoSPolicyPacketFilter `json:"PacketFilters,omitnil" 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,omitnil" 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 ModifyDDoSPolicyRequestParams ¶
type ModifyDDoSPolicyRequestParams 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,omitnil" name:"Business"` // Policy ID PolicyId *string `json:"PolicyId,omitnil" name:"PolicyId"` // Protocol disablement, which must be entered, and the array length must be 1 DropOptions []*DDoSPolicyDropOption `json:"DropOptions,omitnil" name:"DropOptions"` // Port disablement. If no ports are to be disabled, enter an empty array PortLimits []*DDoSPolicyPortLimit `json:"PortLimits,omitnil" name:"PortLimits"` // IP blocklist/allowlist. Enter an empty array if there is no IP blocklist/allowlist IpAllowDenys []*IpBlackWhite `json:"IpAllowDenys,omitnil" name:"IpAllowDenys"` // Packet filter. Enter an empty array if there are no packets to filter PacketFilters []*DDoSPolicyPacketFilter `json:"PacketFilters,omitnil" 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,omitnil" name:"WaterPrint"` }
Predefined struct for user
type ModifyDDoSPolicyResponse ¶
type ModifyDDoSPolicyResponse struct { *tchttp.BaseResponse Response *ModifyDDoSPolicyResponseParams `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 ModifyDDoSPolicyResponseParams ¶
type ModifyDDoSPolicyResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyDDoSSwitchRequest ¶
type ModifyDDoSSwitchRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `basic`: Anti-DDoS Basic Business *string `json:"Business,omitnil" name:"Business"` // `get`: read DDoS protection status, `set`: modify DDoS protection status Method *string `json:"Method,omitnil" name:"Method"` // Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic; Ip *string `json:"Ip,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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 ModifyDDoSSwitchRequestParams ¶
type ModifyDDoSSwitchRequestParams struct { // Anti-DDoS service type. `basic`: Anti-DDoS Basic Business *string `json:"Business,omitnil" name:"Business"` // `get`: read DDoS protection status, `set`: modify DDoS protection status Method *string `json:"Method,omitnil" name:"Method"` // Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic; Ip *string `json:"Ip,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"Status"` }
Predefined struct for user
type ModifyDDoSSwitchResponse ¶
type ModifyDDoSSwitchResponse struct { *tchttp.BaseResponse Response *ModifyDDoSSwitchResponseParams `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 ModifyDDoSSwitchResponseParams ¶
type ModifyDDoSSwitchResponseParams struct { // Current protection status value. Valid values: [0 (disabled), 1 (enabled)] Status *uint64 `json:"Status,omitnil" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" 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 ModifyDDoSThresholdRequestParams ¶
type ModifyDDoSThresholdRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" name:"Threshold"` }
Predefined struct for user
type ModifyDDoSThresholdResponse ¶
type ModifyDDoSThresholdResponse struct { *tchttp.BaseResponse Response *ModifyDDoSThresholdResponseParams `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 ModifyDDoSThresholdResponseParams ¶
type ModifyDDoSThresholdResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Policy ID PolicyId *string `json:"PolicyId,omitnil" name:"PolicyId"` // Key operation. Valid values: [add (add), delete (delete), open (open), close (close), get (get key)] Method *string `json:"Method,omitnil" 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,omitnil" 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 ModifyDDoSWaterKeyRequestParams ¶
type ModifyDDoSWaterKeyRequestParams 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,omitnil" name:"Business"` // Policy ID PolicyId *string `json:"PolicyId,omitnil" name:"PolicyId"` // Key operation. Valid values: [add (add), delete (delete), open (open), close (close), get (get key)] Method *string `json:"Method,omitnil" 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,omitnil" name:"KeyId"` }
Predefined struct for user
type ModifyDDoSWaterKeyResponse ¶
type ModifyDDoSWaterKeyResponse struct { *tchttp.BaseResponse Response *ModifyDDoSWaterKeyResponseParams `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 ModifyDDoSWaterKeyResponseParams ¶
type ModifyDDoSWaterKeyResponseParams struct { // Watermark key list KeyList []*WaterPrintKey `json:"KeyList,omitnil" name:"KeyList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" 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 ModifyElasticLimitRequestParams ¶
type ModifyElasticLimitRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" 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,omitnil" name:"Limit"` }
Predefined struct for user
type ModifyElasticLimitResponse ¶
type ModifyElasticLimitResponse struct { *tchttp.BaseResponse Response *ModifyElasticLimitResponseParams `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 ModifyElasticLimitResponseParams ¶
type ModifyElasticLimitResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyL4HealthRequest ¶
type ModifyL4HealthRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Health check parameter array Healths []*L4RuleHealth `json:"Healths,omitnil" 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 ModifyL4HealthRequestParams ¶
type ModifyL4HealthRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Health check parameter array Healths []*L4RuleHealth `json:"Healths,omitnil" name:"Healths"` }
Predefined struct for user
type ModifyL4HealthResponse ¶
type ModifyL4HealthResponse struct { *tchttp.BaseResponse Response *ModifyL4HealthResponseParams `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 ModifyL4HealthResponseParams ¶
type ModifyL4HealthResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyL4KeepTimeRequest ¶
type ModifyL4KeepTimeRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule ID RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // Session persistence status. Valid values: [0 (disabled), 1 (enabled)] KeepEnable *uint64 `json:"KeepEnable,omitnil" name:"KeepEnable"` // Session persistence duration in seconds KeepTime *uint64 `json:"KeepTime,omitnil" 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 ModifyL4KeepTimeRequestParams ¶
type ModifyL4KeepTimeRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimate Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule ID RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // Session persistence status. Valid values: [0 (disabled), 1 (enabled)] KeepEnable *uint64 `json:"KeepEnable,omitnil" name:"KeepEnable"` // Session persistence duration in seconds KeepTime *uint64 `json:"KeepTime,omitnil" name:"KeepTime"` }
Predefined struct for user
type ModifyL4KeepTimeResponse ¶
type ModifyL4KeepTimeResponse struct { *tchttp.BaseResponse Response *ModifyL4KeepTimeResponseParams `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 ModifyL4KeepTimeResponseParams ¶
type ModifyL4KeepTimeResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule Rule *L4RuleEntry `json:"Rule,omitnil" 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 ModifyL4RulesRequestParams ¶
type ModifyL4RulesRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule Rule *L4RuleEntry `json:"Rule,omitnil" name:"Rule"` }
Predefined struct for user
type ModifyL4RulesResponse ¶
type ModifyL4RulesResponse struct { *tchttp.BaseResponse Response *ModifyL4RulesResponseParams `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 ModifyL4RulesResponseParams ¶
type ModifyL4RulesResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule Rule *L7RuleEntry `json:"Rule,omitnil" 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 ModifyL7RulesRequestParams ¶
type ModifyL7RulesRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Rule Rule *L7RuleEntry `json:"Rule,omitnil" name:"Rule"` }
Predefined struct for user
type ModifyL7RulesResponse ¶
type ModifyL7RulesResponse struct { *tchttp.BaseResponse Response *ModifyL7RulesResponseParams `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 ModifyL7RulesResponseParams ¶
type ModifyL7RulesResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyNetReturnSwitchRequest ¶
type ModifyNetReturnSwitchRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Switch status. 0: disabled, 1: enabled Status *uint64 `json:"Status,omitnil" 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,omitnil" 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 ModifyNetReturnSwitchRequestParams ¶
type ModifyNetReturnSwitchRequestParams struct { // Anti-DDoS service type (`net`: Anti-DDoS Ultimate) Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Switch status. 0: disabled, 1: enabled Status *uint64 `json:"Status,omitnil" 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,omitnil" name:"Hour"` }
Predefined struct for user
type ModifyNetReturnSwitchResponse ¶
type ModifyNetReturnSwitchResponse struct { *tchttp.BaseResponse Response *ModifyNetReturnSwitchResponseParams `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 ModifyNetReturnSwitchResponseParams ¶
type ModifyNetReturnSwitchResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyNewDomainRulesRequest ¶
type ModifyNewDomainRulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced). Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID. Id *string `json:"Id,omitnil" name:"Id"` // Domain name forwarding rule. Rule *NewL7RuleEntry `json:"Rule,omitnil" name:"Rule"` }
func NewModifyNewDomainRulesRequest ¶
func NewModifyNewDomainRulesRequest() (request *ModifyNewDomainRulesRequest)
func (*ModifyNewDomainRulesRequest) FromJsonString ¶
func (r *ModifyNewDomainRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNewDomainRulesRequest) ToJsonString ¶
func (r *ModifyNewDomainRulesRequest) ToJsonString() string
type ModifyNewDomainRulesRequestParams ¶
type ModifyNewDomainRulesRequestParams struct { // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced). Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID. Id *string `json:"Id,omitnil" name:"Id"` // Domain name forwarding rule. Rule *NewL7RuleEntry `json:"Rule,omitnil" name:"Rule"` }
Predefined struct for user
type ModifyNewDomainRulesResponse ¶
type ModifyNewDomainRulesResponse struct { *tchttp.BaseResponse Response *ModifyNewDomainRulesResponseParams `json:"Response"` }
func NewModifyNewDomainRulesResponse ¶
func NewModifyNewDomainRulesResponse() (response *ModifyNewDomainRulesResponse)
func (*ModifyNewDomainRulesResponse) FromJsonString ¶
func (r *ModifyNewDomainRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNewDomainRulesResponse) ToJsonString ¶
func (r *ModifyNewDomainRulesResponse) ToJsonString() string
type ModifyNewDomainRulesResponseParams ¶
type ModifyNewDomainRulesResponseParams struct { // Success code. Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyNewL4RuleRequest ¶
type ModifyNewL4RuleRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced). Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID. Id *string `json:"Id,omitnil" name:"Id"` // Forwarding rule. Rule *L4RuleEntry `json:"Rule,omitnil" 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 ModifyNewL4RuleRequestParams ¶
type ModifyNewL4RuleRequestParams struct { // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced). Business *string `json:"Business,omitnil" name:"Business"` // Anti-DDoS instance ID. Id *string `json:"Id,omitnil" name:"Id"` // Forwarding rule. Rule *L4RuleEntry `json:"Rule,omitnil" name:"Rule"` }
Predefined struct for user
type ModifyNewL4RuleResponse ¶
type ModifyNewL4RuleResponse struct { *tchttp.BaseResponse Response *ModifyNewL4RuleResponseParams `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 ModifyNewL4RuleResponseParams ¶
type ModifyNewL4RuleResponseParams struct { // Success code. Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Policy ID PolicyId *string `json:"PolicyId,omitnil" name:"PolicyId"` // bind: bind policy; unbind: unbind policy Method *string `json:"Method,omitnil" 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 ModifyResBindDDoSPolicyRequestParams ¶
type ModifyResBindDDoSPolicyRequestParams 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,omitnil" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil" name:"Id"` // Policy ID PolicyId *string `json:"PolicyId,omitnil" name:"PolicyId"` // bind: bind policy; unbind: unbind policy Method *string `json:"Method,omitnil" name:"Method"` }
Predefined struct for user
type ModifyResBindDDoSPolicyResponse ¶
type ModifyResBindDDoSPolicyResponse struct { *tchttp.BaseResponse Response *ModifyResBindDDoSPolicyResponseParams `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 ModifyResBindDDoSPolicyResponseParams ¶
type ModifyResBindDDoSPolicyResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" name:"Business"` // Resource ID Id *string `json:"Id,omitnil" name:"Id"` // Auto-renewal flag (0: manual renewal, 1: auto-renewal, 2: no renewal upon expiration) RenewFlag *uint64 `json:"RenewFlag,omitnil" 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 ModifyResourceRenewFlagRequestParams ¶
type ModifyResourceRenewFlagRequestParams struct { // 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,omitnil" name:"Business"` // Resource ID Id *string `json:"Id,omitnil" name:"Id"` // Auto-renewal flag (0: manual renewal, 1: auto-renewal, 2: no renewal upon expiration) RenewFlag *uint64 `json:"RenewFlag,omitnil" name:"RenewFlag"` }
Predefined struct for user
type ModifyResourceRenewFlagResponse ¶
type ModifyResourceRenewFlagResponse struct { *tchttp.BaseResponse Response *ModifyResourceRenewFlagResponseParams `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 ModifyResourceRenewFlagResponseParams ¶
type ModifyResourceRenewFlagResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type NewL7RuleEntry ¶
type NewL7RuleEntry struct { // Forwarding protocol. Valid values: `http` and `https`. Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // Forwarding domain name. Domain *string `json:"Domain,omitnil" name:"Domain"` // Forwarding method. Valid values: `1` (by domain name); `2` (by IP). SourceType *uint64 `json:"SourceType,omitnil" name:"SourceType"` // Session persistence duration, in seconds. KeepTime *uint64 `json:"KeepTime,omitnil" name:"KeepTime"` // List of sources SourceList []*L4RuleSource `json:"SourceList,omitnil" name:"SourceList"` // Load balancing method. Valid value: `1` (weighed polling). LbType *uint64 `json:"LbType,omitnil" name:"LbType"` // Whether session persistence is enabled. Valid values: `0` (disabled) and `1` (enabled). KeepEnable *uint64 `json:"KeepEnable,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"SSLId"` // [Disused] When the certificate is an external certificate, the certificate content should be provided here. Cert *string `json:"Cert,omitnil" name:"Cert"` // [Disused] When the certificate is an external certificate, the certificate key should be provided here. PrivateKey *string `json:"PrivateKey,omitnil" name:"PrivateKey"` // Rule description. RuleName *string `json:"RuleName,omitnil" 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,omitnil" name:"Status"` // CC protection status. Valid values: `0` (disabled) and `1` (enabled). CCStatus *uint64 `json:"CCStatus,omitnil" name:"CCStatus"` // CC protection status based on HTTPS. Valid values: `0` (disabled) and `1` (enabled). CCEnable *uint64 `json:"CCEnable,omitnil" name:"CCEnable"` // CC protection threshold based on HTTPS. CCThreshold *uint64 `json:"CCThreshold,omitnil" name:"CCThreshold"` // CC protection level based on HTTPS. CCLevel *string `json:"CCLevel,omitnil" name:"CCLevel"` // Region code. Region *uint64 `json:"Region,omitnil" name:"Region"` // Anti-DDoS instance ID. Id *string `json:"Id,omitnil" name:"Id"` // Anti-DDoS instance IP address. Ip *string `json:"Ip,omitnil" name:"Ip"` // Modification time. ModifyTime *string `json:"ModifyTime,omitnil" 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,omitnil" name:"HttpsToHttpEnable"` // Access port number. // Note: this field may return null, indicating that no valid values can be obtained. VirtualPort *uint64 `json:"VirtualPort,omitnil" 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,omitnil" name:"Field"` // Sorting order. Valid values: [asc (ascending), desc (descending)] Order *string `json:"Order,omitnil" name:"Order"` }
type ProtocolPort ¶
type RegionInstanceCount ¶
type ResourceIp ¶
type SchedulingDomain ¶
type SchedulingDomain struct { // Scheduling domain name Domain *string `json:"Domain,omitnil" name:"Domain"` // List of BGP IPs BGPIpList []*string `json:"BGPIpList,omitnil" name:"BGPIpList"` // List of CTCC IPs CTCCIpList []*string `json:"CTCCIpList,omitnil" name:"CTCCIpList"` // List of CUCC IPs CUCCIpList []*string `json:"CUCCIpList,omitnil" name:"CUCCIpList"` // List of CMCC IPs CMCCIpList []*string `json:"CMCCIpList,omitnil" name:"CMCCIpList"` // List of IPs outside Mainland China OverseaIpList []*string `json:"OverseaIpList,omitnil" name:"OverseaIpList"` // Scheduling method. It only supports `priority` now. Method *string `json:"Method,omitnil" name:"Method"` // The creation time. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` TTL *uint64 `json:"TTL,omitnil" name:"TTL"` // Status Status *uint64 `json:"Status,omitnil" name:"Status"` // Modification time ModifyTime *string `json:"ModifyTime,omitnil" name:"ModifyTime"` }
type SuccessCode ¶
type WaterPrintKey ¶
type WaterPrintKey struct { // Watermark key ID KeyId *string `json:"KeyId,omitnil" name:"KeyId"` // Watermark key value KeyContent *string `json:"KeyContent,omitnil" name:"KeyContent"` // Watermark key version number KeyVersion *string `json:"KeyVersion,omitnil" name:"KeyVersion"` // Whether it is enabled. Valid values: [0 (no), 1 (yes)] OpenStatus *uint64 `json:"OpenStatus,omitnil" name:"OpenStatus"` // Key generation time CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` }
type WaterPrintPolicy ¶
type WaterPrintPolicy struct { // TCP port range, such as ["2000-3000","3500-4000"] TcpPortList []*string `json:"TcpPortList,omitnil" name:"TcpPortList"` // UDP port range, such as ["2000-3000","3500-4000"] UdpPortList []*string `json:"UdpPortList,omitnil" name:"UdpPortList"` // Watermark offset. Value range: [0, 100) Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Whether to automatically remove. Valid values: [0 (no), 1 (yes)] RemoveSwitch *uint64 `json:"RemoveSwitch,omitnil" name:"RemoveSwitch"` // Whether it is enabled. Valid values: [0 (no), 1 (yes)] OpenStatus *uint64 `json:"OpenStatus,omitnil" name:"OpenStatus"` }