Documentation ¶
Index ¶
- Constants
- type BaradData
- type BoundIpInfo
- type CCAlarmThreshold
- type CCEventRecord
- type CCFrequencyRule
- type CCPolicy
- type CCRule
- type CCRuleConfig
- type Client
- func (c *Client) CreateBasicDDoSAlarmThreshold(request *CreateBasicDDoSAlarmThresholdRequest) (response *CreateBasicDDoSAlarmThresholdResponse, err error)
- func (c *Client) CreateBoundIP(request *CreateBoundIPRequest) (response *CreateBoundIPResponse, err error)
- func (c *Client) CreateCCFrequencyRules(request *CreateCCFrequencyRulesRequest) (response *CreateCCFrequencyRulesResponse, err error)
- func (c *Client) CreateCCSelfDefinePolicy(request *CreateCCSelfDefinePolicyRequest) (response *CreateCCSelfDefinePolicyResponse, err error)
- func (c *Client) CreateDDoSPolicy(request *CreateDDoSPolicyRequest) (response *CreateDDoSPolicyResponse, err error)
- func (c *Client) CreateDDoSPolicyCase(request *CreateDDoSPolicyCaseRequest) (response *CreateDDoSPolicyCaseResponse, err error)
- func (c *Client) CreateInstanceName(request *CreateInstanceNameRequest) (response *CreateInstanceNameResponse, err error)
- func (c *Client) CreateL4HealthConfig(request *CreateL4HealthConfigRequest) (response *CreateL4HealthConfigResponse, err error)
- func (c *Client) CreateL4Rules(request *CreateL4RulesRequest) (response *CreateL4RulesResponse, err error)
- func (c *Client) CreateL7CCRule(request *CreateL7CCRuleRequest) (response *CreateL7CCRuleResponse, err error)
- func (c *Client) CreateL7HealthConfig(request *CreateL7HealthConfigRequest) (response *CreateL7HealthConfigResponse, err error)
- func (c *Client) CreateL7RuleCert(request *CreateL7RuleCertRequest) (response *CreateL7RuleCertResponse, err error)
- func (c *Client) CreateL7Rules(request *CreateL7RulesRequest) (response *CreateL7RulesResponse, err error)
- func (c *Client) CreateL7RulesUpload(request *CreateL7RulesUploadRequest) (response *CreateL7RulesUploadResponse, err error)
- func (c *Client) CreateNetReturn(request *CreateNetReturnRequest) (response *CreateNetReturnResponse, err error)
- func (c *Client) CreateUnblockIp(request *CreateUnblockIpRequest) (response *CreateUnblockIpResponse, err error)
- func (c *Client) DeleteCCFrequencyRules(request *DeleteCCFrequencyRulesRequest) (response *DeleteCCFrequencyRulesResponse, err error)
- func (c *Client) DeleteCCSelfDefinePolicy(request *DeleteCCSelfDefinePolicyRequest) (response *DeleteCCSelfDefinePolicyResponse, err error)
- func (c *Client) DeleteDDoSPolicy(request *DeleteDDoSPolicyRequest) (response *DeleteDDoSPolicyResponse, err error)
- func (c *Client) DeleteDDoSPolicyCase(request *DeleteDDoSPolicyCaseRequest) (response *DeleteDDoSPolicyCaseResponse, err error)
- func (c *Client) DeleteL4Rules(request *DeleteL4RulesRequest) (response *DeleteL4RulesResponse, err error)
- func (c *Client) DeleteL7Rules(request *DeleteL7RulesRequest) (response *DeleteL7RulesResponse, err error)
- func (c *Client) DescribeActionLog(request *DescribeActionLogRequest) (response *DescribeActionLogResponse, err error)
- func (c *Client) DescribeBGPIPL7RuleMaxCnt(request *DescribeBGPIPL7RuleMaxCntRequest) (response *DescribeBGPIPL7RuleMaxCntResponse, err error)
- func (c *Client) DescribeBaradData(request *DescribeBaradDataRequest) (response *DescribeBaradDataResponse, err error)
- func (c *Client) DescribeBasicCCThreshold(request *DescribeBasicCCThresholdRequest) (response *DescribeBasicCCThresholdResponse, err error)
- func (c *Client) DescribeBasicDeviceThreshold(request *DescribeBasicDeviceThresholdRequest) (response *DescribeBasicDeviceThresholdResponse, err error)
- func (c *Client) DescribeCCAlarmThreshold(request *DescribeCCAlarmThresholdRequest) (response *DescribeCCAlarmThresholdResponse, err error)
- func (c *Client) DescribeCCEvList(request *DescribeCCEvListRequest) (response *DescribeCCEvListResponse, err error)
- func (c *Client) DescribeCCFrequencyRules(request *DescribeCCFrequencyRulesRequest) (response *DescribeCCFrequencyRulesResponse, err error)
- func (c *Client) DescribeCCIpAllowDeny(request *DescribeCCIpAllowDenyRequest) (response *DescribeCCIpAllowDenyResponse, err error)
- func (c *Client) DescribeCCSelfDefinePolicy(request *DescribeCCSelfDefinePolicyRequest) (response *DescribeCCSelfDefinePolicyResponse, err error)
- func (c *Client) DescribeCCTrend(request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error)
- func (c *Client) DescribeCCUrlAllow(request *DescribeCCUrlAllowRequest) (response *DescribeCCUrlAllowResponse, err error)
- func (c *Client) DescribeDDoSAlarmThreshold(request *DescribeDDoSAlarmThresholdRequest) (response *DescribeDDoSAlarmThresholdResponse, err error)
- func (c *Client) DescribeDDoSAttackIPRegionMap(request *DescribeDDoSAttackIPRegionMapRequest) (response *DescribeDDoSAttackIPRegionMapResponse, err error)
- func (c *Client) DescribeDDoSAttackSource(request *DescribeDDoSAttackSourceRequest) (response *DescribeDDoSAttackSourceResponse, err error)
- func (c *Client) DescribeDDoSCount(request *DescribeDDoSCountRequest) (response *DescribeDDoSCountResponse, err error)
- func (c *Client) DescribeDDoSDefendStatus(request *DescribeDDoSDefendStatusRequest) (response *DescribeDDoSDefendStatusResponse, err error)
- func (c *Client) DescribeDDoSEvInfo(request *DescribeDDoSEvInfoRequest) (response *DescribeDDoSEvInfoResponse, err error)
- func (c *Client) DescribeDDoSEvList(request *DescribeDDoSEvListRequest) (response *DescribeDDoSEvListResponse, err error)
- func (c *Client) DescribeDDoSIpLog(request *DescribeDDoSIpLogRequest) (response *DescribeDDoSIpLogResponse, err error)
- func (c *Client) DescribeDDoSNetCount(request *DescribeDDoSNetCountRequest) (response *DescribeDDoSNetCountResponse, err error)
- func (c *Client) DescribeDDoSNetEvInfo(request *DescribeDDoSNetEvInfoRequest) (response *DescribeDDoSNetEvInfoResponse, err error)
- func (c *Client) DescribeDDoSNetEvList(request *DescribeDDoSNetEvListRequest) (response *DescribeDDoSNetEvListResponse, err error)
- func (c *Client) DescribeDDoSNetIpLog(request *DescribeDDoSNetIpLogRequest) (response *DescribeDDoSNetIpLogResponse, err error)
- func (c *Client) DescribeDDoSNetTrend(request *DescribeDDoSNetTrendRequest) (response *DescribeDDoSNetTrendResponse, err error)
- func (c *Client) DescribeDDoSPolicy(request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)
- func (c *Client) DescribeDDoSTrend(request *DescribeDDoSTrendRequest) (response *DescribeDDoSTrendResponse, err error)
- func (c *Client) DescribeDDoSUsedStatis(request *DescribeDDoSUsedStatisRequest) (response *DescribeDDoSUsedStatisResponse, err error)
- func (c *Client) DescribeIPProductInfo(request *DescribeIPProductInfoRequest) (response *DescribeIPProductInfoResponse, err error)
- func (c *Client) DescribeInsurePacks(request *DescribeInsurePacksRequest) (response *DescribeInsurePacksResponse, err error)
- func (c *Client) DescribeIpBlockList(request *DescribeIpBlockListRequest) (response *DescribeIpBlockListResponse, err error)
- func (c *Client) DescribeIpUnBlockList(request *DescribeIpUnBlockListRequest) (response *DescribeIpUnBlockListResponse, err error)
- func (c *Client) DescribeL4HealthConfig(request *DescribeL4HealthConfigRequest) (response *DescribeL4HealthConfigResponse, err error)
- func (c *Client) DescribeL4RulesErrHealth(request *DescribeL4RulesErrHealthRequest) (response *DescribeL4RulesErrHealthResponse, err error)
- func (c *Client) DescribeL7HealthConfig(request *DescribeL7HealthConfigRequest) (response *DescribeL7HealthConfigResponse, err error)
- func (c *Client) DescribePackIndex(request *DescribePackIndexRequest) (response *DescribePackIndexResponse, err error)
- func (c *Client) DescribePcap(request *DescribePcapRequest) (response *DescribePcapResponse, err error)
- func (c *Client) DescribePolicyCase(request *DescribePolicyCaseRequest) (response *DescribePolicyCaseResponse, err error)
- func (c *Client) DescribeResIpList(request *DescribeResIpListRequest) (response *DescribeResIpListResponse, err error)
- func (c *Client) DescribeResourceList(request *DescribeResourceListRequest) (response *DescribeResourceListResponse, err error)
- func (c *Client) DescribeRuleSets(request *DescribeRuleSetsRequest) (response *DescribeRuleSetsResponse, err error)
- func (c *Client) DescribeSchedulingDomainList(request *DescribeSchedulingDomainListRequest) (response *DescribeSchedulingDomainListResponse, err error)
- func (c *Client) DescribeSecIndex(request *DescribeSecIndexRequest) (response *DescribeSecIndexResponse, err error)
- func (c *Client) DescribeSourceIpSegment(request *DescribeSourceIpSegmentRequest) (response *DescribeSourceIpSegmentResponse, err error)
- func (c *Client) DescribeTransmitStatis(request *DescribeTransmitStatisRequest) (response *DescribeTransmitStatisResponse, err error)
- func (c *Client) DescribeUnBlockStatis(request *DescribeUnBlockStatisRequest) (response *DescribeUnBlockStatisResponse, err error)
- func (c *Client) DescribleL4Rules(request *DescribleL4RulesRequest) (response *DescribleL4RulesResponse, err error)
- func (c *Client) DescribleL7Rules(request *DescribleL7RulesRequest) (response *DescribleL7RulesResponse, err error)
- func (c *Client) DescribleRegionCount(request *DescribleRegionCountRequest) (response *DescribleRegionCountResponse, err error)
- func (c *Client) ModifyCCAlarmThreshold(request *ModifyCCAlarmThresholdRequest) (response *ModifyCCAlarmThresholdResponse, err error)
- func (c *Client) ModifyCCFrequencyRules(request *ModifyCCFrequencyRulesRequest) (response *ModifyCCFrequencyRulesResponse, err error)
- func (c *Client) ModifyCCFrequencyRulesStatus(request *ModifyCCFrequencyRulesStatusRequest) (response *ModifyCCFrequencyRulesStatusResponse, err error)
- func (c *Client) ModifyCCHostProtection(request *ModifyCCHostProtectionRequest) (response *ModifyCCHostProtectionResponse, err error)
- func (c *Client) ModifyCCIpAllowDeny(request *ModifyCCIpAllowDenyRequest) (response *ModifyCCIpAllowDenyResponse, err error)
- func (c *Client) ModifyCCLevel(request *ModifyCCLevelRequest) (response *ModifyCCLevelResponse, err error)
- func (c *Client) ModifyCCPolicySwitch(request *ModifyCCPolicySwitchRequest) (response *ModifyCCPolicySwitchResponse, err error)
- func (c *Client) ModifyCCSelfDefinePolicy(request *ModifyCCSelfDefinePolicyRequest) (response *ModifyCCSelfDefinePolicyResponse, err error)
- func (c *Client) ModifyCCThreshold(request *ModifyCCThresholdRequest) (response *ModifyCCThresholdResponse, err error)
- func (c *Client) ModifyCCUrlAllow(request *ModifyCCUrlAllowRequest) (response *ModifyCCUrlAllowResponse, err error)
- func (c *Client) ModifyDDoSAIStatus(request *ModifyDDoSAIStatusRequest) (response *ModifyDDoSAIStatusResponse, err error)
- func (c *Client) ModifyDDoSAlarmThreshold(request *ModifyDDoSAlarmThresholdRequest) (response *ModifyDDoSAlarmThresholdResponse, err error)
- func (c *Client) ModifyDDoSDefendStatus(request *ModifyDDoSDefendStatusRequest) (response *ModifyDDoSDefendStatusResponse, err error)
- func (c *Client) ModifyDDoSLevel(request *ModifyDDoSLevelRequest) (response *ModifyDDoSLevelResponse, err error)
- func (c *Client) ModifyDDoSPolicy(request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, err error)
- func (c *Client) ModifyDDoSPolicyCase(request *ModifyDDoSPolicyCaseRequest) (response *ModifyDDoSPolicyCaseResponse, err error)
- func (c *Client) ModifyDDoSPolicyName(request *ModifyDDoSPolicyNameRequest) (response *ModifyDDoSPolicyNameResponse, err error)
- func (c *Client) ModifyDDoSSwitch(request *ModifyDDoSSwitchRequest) (response *ModifyDDoSSwitchResponse, err error)
- func (c *Client) ModifyDDoSThreshold(request *ModifyDDoSThresholdRequest) (response *ModifyDDoSThresholdResponse, err error)
- func (c *Client) ModifyDDoSWaterKey(request *ModifyDDoSWaterKeyRequest) (response *ModifyDDoSWaterKeyResponse, err error)
- func (c *Client) ModifyElasticLimit(request *ModifyElasticLimitRequest) (response *ModifyElasticLimitResponse, err error)
- func (c *Client) ModifyL4Health(request *ModifyL4HealthRequest) (response *ModifyL4HealthResponse, err error)
- func (c *Client) ModifyL4KeepTime(request *ModifyL4KeepTimeRequest) (response *ModifyL4KeepTimeResponse, err error)
- func (c *Client) ModifyL4Rules(request *ModifyL4RulesRequest) (response *ModifyL4RulesResponse, err error)
- func (c *Client) ModifyL7Rules(request *ModifyL7RulesRequest) (response *ModifyL7RulesResponse, err error)
- func (c *Client) ModifyNetReturnSwitch(request *ModifyNetReturnSwitchRequest) (response *ModifyNetReturnSwitchResponse, err error)
- func (c *Client) ModifyResBindDDoSPolicy(request *ModifyResBindDDoSPolicyRequest) (response *ModifyResBindDDoSPolicyResponse, err error)
- func (c *Client) ModifyResourceRenewFlag(request *ModifyResourceRenewFlagRequest) (response *ModifyResourceRenewFlagResponse, err error)
- type CreateBasicDDoSAlarmThresholdRequest
- type CreateBasicDDoSAlarmThresholdResponse
- type CreateBoundIPRequest
- type CreateBoundIPResponse
- type CreateCCFrequencyRulesRequest
- type CreateCCFrequencyRulesResponse
- type CreateCCSelfDefinePolicyRequest
- type CreateCCSelfDefinePolicyResponse
- type CreateDDoSPolicyCaseRequest
- type CreateDDoSPolicyCaseResponse
- type CreateDDoSPolicyRequest
- type CreateDDoSPolicyResponse
- type CreateInstanceNameRequest
- type CreateInstanceNameResponse
- type CreateL4HealthConfigRequest
- type CreateL4HealthConfigResponse
- type CreateL4RulesRequest
- type CreateL4RulesResponse
- type CreateL7CCRuleRequest
- type CreateL7CCRuleResponse
- type CreateL7HealthConfigRequest
- type CreateL7HealthConfigResponse
- type CreateL7RuleCertRequest
- type CreateL7RuleCertResponse
- type CreateL7RulesRequest
- type CreateL7RulesResponse
- type CreateL7RulesUploadRequest
- type CreateL7RulesUploadResponse
- type CreateNetReturnRequest
- type CreateNetReturnResponse
- type CreateUnblockIpRequest
- type CreateUnblockIpResponse
- type DDoSAlarmThreshold
- type DDoSAttackSourceRecord
- type DDoSEventRecord
- type DDoSPolicyDropOption
- type DDoSPolicyPacketFilter
- type DDoSPolicyPortLimit
- type DDosPolicy
- type DeleteCCFrequencyRulesRequest
- type DeleteCCFrequencyRulesResponse
- type DeleteCCSelfDefinePolicyRequest
- type DeleteCCSelfDefinePolicyResponse
- type DeleteDDoSPolicyCaseRequest
- type DeleteDDoSPolicyCaseResponse
- type DeleteDDoSPolicyRequest
- type DeleteDDoSPolicyResponse
- type DeleteL4RulesRequest
- type DeleteL4RulesResponse
- type DeleteL7RulesRequest
- type DeleteL7RulesResponse
- type DescribeActionLogRequest
- type DescribeActionLogResponse
- type DescribeBGPIPL7RuleMaxCntRequest
- type DescribeBGPIPL7RuleMaxCntResponse
- type DescribeBaradDataRequest
- type DescribeBaradDataResponse
- type DescribeBasicCCThresholdRequest
- type DescribeBasicCCThresholdResponse
- type DescribeBasicDeviceThresholdRequest
- type DescribeBasicDeviceThresholdResponse
- type DescribeCCAlarmThresholdRequest
- type DescribeCCAlarmThresholdResponse
- type DescribeCCEvListRequest
- type DescribeCCEvListResponse
- type DescribeCCFrequencyRulesRequest
- type DescribeCCFrequencyRulesResponse
- type DescribeCCIpAllowDenyRequest
- type DescribeCCIpAllowDenyResponse
- type DescribeCCSelfDefinePolicyRequest
- type DescribeCCSelfDefinePolicyResponse
- type DescribeCCTrendRequest
- type DescribeCCTrendResponse
- type DescribeCCUrlAllowRequest
- type DescribeCCUrlAllowResponse
- type DescribeDDoSAlarmThresholdRequest
- type DescribeDDoSAlarmThresholdResponse
- type DescribeDDoSAttackIPRegionMapRequest
- type DescribeDDoSAttackIPRegionMapResponse
- type DescribeDDoSAttackSourceRequest
- type DescribeDDoSAttackSourceResponse
- type DescribeDDoSCountRequest
- type DescribeDDoSCountResponse
- type DescribeDDoSDefendStatusRequest
- type DescribeDDoSDefendStatusResponse
- type DescribeDDoSEvInfoRequest
- type DescribeDDoSEvInfoResponse
- type DescribeDDoSEvListRequest
- type DescribeDDoSEvListResponse
- type DescribeDDoSIpLogRequest
- type DescribeDDoSIpLogResponse
- type DescribeDDoSNetCountRequest
- type DescribeDDoSNetCountResponse
- type DescribeDDoSNetEvInfoRequest
- type DescribeDDoSNetEvInfoResponse
- type DescribeDDoSNetEvListRequest
- type DescribeDDoSNetEvListResponse
- type DescribeDDoSNetIpLogRequest
- type DescribeDDoSNetIpLogResponse
- type DescribeDDoSNetTrendRequest
- type DescribeDDoSNetTrendResponse
- type DescribeDDoSPolicyRequest
- type DescribeDDoSPolicyResponse
- type DescribeDDoSTrendRequest
- type DescribeDDoSTrendResponse
- type DescribeDDoSUsedStatisRequest
- type DescribeDDoSUsedStatisResponse
- type DescribeIPProductInfoRequest
- type DescribeIPProductInfoResponse
- type DescribeInsurePacksRequest
- type DescribeInsurePacksResponse
- type DescribeIpBlockListRequest
- type DescribeIpBlockListResponse
- type DescribeIpUnBlockListRequest
- type DescribeIpUnBlockListResponse
- type DescribeL4HealthConfigRequest
- type DescribeL4HealthConfigResponse
- type DescribeL4RulesErrHealthRequest
- type DescribeL4RulesErrHealthResponse
- type DescribeL7HealthConfigRequest
- type DescribeL7HealthConfigResponse
- type DescribePackIndexRequest
- type DescribePackIndexResponse
- type DescribePcapRequest
- type DescribePcapResponse
- type DescribePolicyCaseRequest
- type DescribePolicyCaseResponse
- type DescribeResIpListRequest
- type DescribeResIpListResponse
- type DescribeResourceListRequest
- type DescribeResourceListResponse
- type DescribeRuleSetsRequest
- type DescribeRuleSetsResponse
- type DescribeSchedulingDomainListRequest
- type DescribeSchedulingDomainListResponse
- type DescribeSecIndexRequest
- type DescribeSecIndexResponse
- type DescribeSourceIpSegmentRequest
- type DescribeSourceIpSegmentResponse
- type DescribeTransmitStatisRequest
- type DescribeTransmitStatisResponse
- type DescribeUnBlockStatisRequest
- type DescribeUnBlockStatisResponse
- type DescribleL4RulesRequest
- type DescribleL4RulesResponse
- type DescribleL7RulesRequest
- type DescribleL7RulesResponse
- type DescribleRegionCountRequest
- type DescribleRegionCountResponse
- type IpBlackWhite
- type IpBlockData
- type IpUnBlockData
- type KeyValue
- type KeyValueRecord
- type L4HealthConfig
- type L4RuleEntry
- type L4RuleHealth
- type L4RuleSource
- type L7HealthConfig
- type L7RuleEntry
- type L7RuleHealth
- type ModifyCCAlarmThresholdRequest
- type ModifyCCAlarmThresholdResponse
- type ModifyCCFrequencyRulesRequest
- type ModifyCCFrequencyRulesResponse
- type ModifyCCFrequencyRulesStatusRequest
- type ModifyCCFrequencyRulesStatusResponse
- type ModifyCCHostProtectionRequest
- type ModifyCCHostProtectionResponse
- type ModifyCCIpAllowDenyRequest
- type ModifyCCIpAllowDenyResponse
- type ModifyCCLevelRequest
- type ModifyCCLevelResponse
- type ModifyCCPolicySwitchRequest
- type ModifyCCPolicySwitchResponse
- type ModifyCCSelfDefinePolicyRequest
- type ModifyCCSelfDefinePolicyResponse
- type ModifyCCThresholdRequest
- type ModifyCCThresholdResponse
- type ModifyCCUrlAllowRequest
- type ModifyCCUrlAllowResponse
- type ModifyDDoSAIStatusRequest
- type ModifyDDoSAIStatusResponse
- type ModifyDDoSAlarmThresholdRequest
- type ModifyDDoSAlarmThresholdResponse
- type ModifyDDoSDefendStatusRequest
- type ModifyDDoSDefendStatusResponse
- type ModifyDDoSLevelRequest
- type ModifyDDoSLevelResponse
- type ModifyDDoSPolicyCaseRequest
- type ModifyDDoSPolicyCaseResponse
- type ModifyDDoSPolicyNameRequest
- type ModifyDDoSPolicyNameResponse
- type ModifyDDoSPolicyRequest
- type ModifyDDoSPolicyResponse
- type ModifyDDoSSwitchRequest
- type ModifyDDoSSwitchResponse
- type ModifyDDoSThresholdRequest
- type ModifyDDoSThresholdResponse
- type ModifyDDoSWaterKeyRequest
- type ModifyDDoSWaterKeyResponse
- type ModifyElasticLimitRequest
- type ModifyElasticLimitResponse
- type ModifyL4HealthRequest
- type ModifyL4HealthResponse
- type ModifyL4KeepTimeRequest
- type ModifyL4KeepTimeResponse
- type ModifyL4RulesRequest
- type ModifyL4RulesResponse
- type ModifyL7RulesRequest
- type ModifyL7RulesResponse
- type ModifyNetReturnSwitchRequest
- type ModifyNetReturnSwitchResponse
- type ModifyResBindDDoSPolicyRequest
- type ModifyResBindDDoSPolicyResponse
- type ModifyResourceRenewFlagRequest
- type ModifyResourceRenewFlagResponse
- type OrderBy
- type Paging
- type ProtocolPort
- type RegionInstanceCount
- type ResourceIp
- type SchedulingDomain
- type SuccessCode
- type WaterPrintKey
- type WaterPrintPolicy
Constants ¶
const APIVersion = "2018-07-09"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaradData ¶
type BaradData struct { // 指标名(connum表示TCP活跃连接数; // new_conn表示新建TCP连接数; // inactive_conn表示非活跃连接数; // intraffic表示入流量; // outtraffic表示出流量; // alltraffic表示出流量和入流量之和; // inpkg表示入包速率; // outpkg表示出包速率;) MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // 值数组 Data []*float64 `json:"Data,omitempty" name:"Data" list` // 值数组的大小 Count *uint64 `json:"Count,omitempty" name:"Count"` }
type BoundIpInfo ¶
type BoundIpInfo struct { // IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 绑定的产品分类,取值[public(CVM产品),bm(黑石产品),eni(弹性网卡),vpngw(VPN网关), natgw(NAT网关),waf(Web应用安全产品),fpc(金融产品),gaap(GAAP产品), other(托管IP)] BizType *string `json:"BizType,omitempty" name:"BizType"` // 产品分类下的子类型,取值[cvm(CVM),lb(负载均衡器),eni(弹性网卡),vpngw(VPN),natgw(NAT),waf(WAF),fpc(金融),gaap(GAAP),other(托管IP),eip(黑石弹性IP)] DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // IP所属的资源实例ID,当绑定新IP时必须填写此字段;例如是弹性网卡的IP,则InstanceId填写弹性网卡的ID(eni-*); 如果绑定的是托管IP没有对应的资源实例ID,请填写"none"; InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
type CCAlarmThreshold ¶
type CCAlarmThreshold struct { // CC告警阈值 AlarmThreshold *uint64 `json:"AlarmThreshold,omitempty" name:"AlarmThreshold"` }
type CCEventRecord ¶
type CCEventRecord struct { // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 资源的IP Vip *string `json:"Vip,omitempty" name:"Vip"` // 攻击开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 攻击结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 总请求QPS峰值 ReqQps *uint64 `json:"ReqQps,omitempty" name:"ReqQps"` // 攻击QPS峰值 DropQps *uint64 `json:"DropQps,omitempty" name:"DropQps"` // 攻击状态,取值[0(攻击中), 1(攻击结束)] AttackStatus *uint64 `json:"AttackStatus,omitempty" name:"AttackStatus"` // 资源名称 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceName *string `json:"ResourceName,omitempty" name:"ResourceName"` // 域名列表 // 注意:此字段可能返回 null,表示取不到有效值。 DomainList *string `json:"DomainList,omitempty" name:"DomainList"` // uri列表 // 注意:此字段可能返回 null,表示取不到有效值。 UriList *string `json:"UriList,omitempty" name:"UriList"` // 攻击源列表 // 注意:此字段可能返回 null,表示取不到有效值。 AttackipList *string `json:"AttackipList,omitempty" name:"AttackipList"` }
type CCFrequencyRule ¶
type CCFrequencyRule struct { // CC的访问频率控制规则ID CCFrequencyRuleId *string `json:"CCFrequencyRuleId,omitempty" name:"CCFrequencyRuleId"` // URI字符串,必须以/开头,例如/abc/a.php,长度不超过31;当URI=/时,匹配模式只能选择前缀匹配; Uri *string `json:"Uri,omitempty" name:"Uri"` // User-Agent字符串,长度不超过80 UserAgent *string `json:"UserAgent,omitempty" name:"UserAgent"` // Cookie字符串,长度不超过40 Cookie *string `json:"Cookie,omitempty" name:"Cookie"` // 匹配规则,取值["include"(前缀匹配),"equal"(完全匹配)] Mode *string `json:"Mode,omitempty" name:"Mode"` // 统计周期,单位秒,取值[10, 30, 60] Period *uint64 `json:"Period,omitempty" name:"Period"` // 访问次数,取值[1-10000] ReqNumber *uint64 `json:"ReqNumber,omitempty" name:"ReqNumber"` // 执行动作,取值["alg"(人机识别), "drop"(拦截)] Act *string `json:"Act,omitempty" name:"Act"` // 执行时间,单位秒,取值[1-900] ExeDuration *uint64 `json:"ExeDuration,omitempty" name:"ExeDuration"` }
type CCPolicy ¶
type CCPolicy struct { // 策略名称 Name *string `json:"Name,omitempty" name:"Name"` // 匹配模式,取值[matching(匹配模式), speedlimit(限速模式)] Smode *string `json:"Smode,omitempty" name:"Smode"` // 策略id SetId *string `json:"SetId,omitempty" name:"SetId"` // 每分钟限制的次数 Frequency *uint64 `json:"Frequency,omitempty" name:"Frequency"` // 执行策略模式,拦截或者验证码,取值[alg(验证码), drop(拦截)] ExeMode *string `json:"ExeMode,omitempty" name:"ExeMode"` // 生效开关 Switch *uint64 `json:"Switch,omitempty" name:"Switch"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 规则列表 RuleList []*CCRule `json:"RuleList,omitempty" name:"RuleList" list` // IP列表,如果不填时,请传空数组但不能为null; IpList []*string `json:"IpList,omitempty" name:"IpList" list` // cc防护类型,取值[http,https] Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 可选字段,表示HTTPS的CC防护域名对应的转发规则ID; RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // HTTPS的CC防护域名 Domain *string `json:"Domain,omitempty" name:"Domain"` }
type CCRuleConfig ¶
type CCRuleConfig struct { // 统计周期,单位秒,取值[10, 30, 60] Period *uint64 `json:"Period,omitempty" name:"Period"` // 访问次数,取值[1-10000] ReqNumber *uint64 `json:"ReqNumber,omitempty" name:"ReqNumber"` // 执行动作,取值["alg"(人机识别), "drop"(拦截)] Action *string `json:"Action,omitempty" name:"Action"` // 执行时间,单位秒,取值[1-900] ExeDuration *uint64 `json:"ExeDuration,omitempty" name:"ExeDuration"` }
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, 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)
设置基础防护的DDoS告警阈值,只支持基础防护产品
func (*Client) CreateBoundIP ¶
func (c *Client) CreateBoundIP(request *CreateBoundIPRequest) (response *CreateBoundIPResponse, err error)
绑定IP到高防包实例,支持独享包、共享包;需要注意的是此接口绑定或解绑IP是异步接口,当处于绑定或解绑中时,则不允许再进行绑定或解绑,需要等待当前绑定或解绑完成。
func (*Client) CreateCCFrequencyRules ¶
func (c *Client) CreateCCFrequencyRules(request *CreateCCFrequencyRulesRequest) (response *CreateCCFrequencyRulesResponse, err error)
添加CC防护的访问频率控制规则
func (*Client) CreateCCSelfDefinePolicy ¶
func (c *Client) CreateCCSelfDefinePolicy(request *CreateCCSelfDefinePolicyRequest) (response *CreateCCSelfDefinePolicyResponse, err error)
创建CC自定义策略
func (*Client) CreateDDoSPolicy ¶
func (c *Client) CreateDDoSPolicy(request *CreateDDoSPolicyRequest) (response *CreateDDoSPolicyResponse, err error)
添加DDoS高级策略
func (*Client) CreateDDoSPolicyCase ¶
func (c *Client) CreateDDoSPolicyCase(request *CreateDDoSPolicyCaseRequest) (response *CreateDDoSPolicyCaseResponse, err error)
添加策略场景
func (*Client) CreateInstanceName ¶
func (c *Client) CreateInstanceName(request *CreateInstanceNameRequest) (response *CreateInstanceNameResponse, err error)
资源实例重命名,支持独享包、共享包、高防IP、高防IP专业版;
func (*Client) CreateL4HealthConfig ¶
func (c *Client) CreateL4HealthConfig(request *CreateL4HealthConfigRequest) (response *CreateL4HealthConfigResponse, err error)
上传四层健康检查配置
func (*Client) CreateL4Rules ¶
func (c *Client) CreateL4Rules(request *CreateL4RulesRequest) (response *CreateL4RulesResponse, err error)
添加L4转发规则
func (*Client) CreateL7CCRule ¶
func (c *Client) CreateL7CCRule(request *CreateL7CCRuleRequest) (response *CreateL7CCRuleResponse, err error)
此接口是7层CC的访问频控自定义规则(IP+Host维度,不支持具体的URI),此接口已弃用,请调用新接口CreateCCFrequencyRules,新接口同时支持IP+Host维度以及具体的URI;
func (*Client) CreateL7HealthConfig ¶
func (c *Client) CreateL7HealthConfig(request *CreateL7HealthConfigRequest) (response *CreateL7HealthConfigResponse, err error)
上传七层健康检查配置
func (*Client) CreateL7RuleCert ¶
func (c *Client) CreateL7RuleCert(request *CreateL7RuleCertRequest) (response *CreateL7RuleCertResponse, err error)
配置7层转发规则的证书
func (*Client) CreateL7Rules ¶
func (c *Client) CreateL7Rules(request *CreateL7RulesRequest) (response *CreateL7RulesResponse, err error)
添加7层(网站)转发规则
func (*Client) CreateL7RulesUpload ¶
func (c *Client) CreateL7RulesUpload(request *CreateL7RulesUploadRequest) (response *CreateL7RulesUploadResponse, err error)
批量上传7层转发规则
func (*Client) CreateNetReturn ¶
func (c *Client) CreateNetReturn(request *CreateNetReturnRequest) (response *CreateNetReturnResponse, err error)
高防IP专业版一键切回源站
func (*Client) CreateUnblockIp ¶
func (c *Client) CreateUnblockIp(request *CreateUnblockIpRequest) (response *CreateUnblockIpResponse, err error)
IP解封操作
func (*Client) DeleteCCFrequencyRules ¶
func (c *Client) DeleteCCFrequencyRules(request *DeleteCCFrequencyRulesRequest) (response *DeleteCCFrequencyRulesResponse, err error)
删除CC防护的访问频率控制规则
func (*Client) DeleteCCSelfDefinePolicy ¶
func (c *Client) DeleteCCSelfDefinePolicy(request *DeleteCCSelfDefinePolicyRequest) (response *DeleteCCSelfDefinePolicyResponse, err error)
删除CC自定义策略
func (*Client) DeleteDDoSPolicy ¶
func (c *Client) DeleteDDoSPolicy(request *DeleteDDoSPolicyRequest) (response *DeleteDDoSPolicyResponse, err error)
删除DDoS高级策略
func (*Client) DeleteDDoSPolicyCase ¶
func (c *Client) DeleteDDoSPolicyCase(request *DeleteDDoSPolicyCaseRequest) (response *DeleteDDoSPolicyCaseResponse, err error)
删除策略场景
func (*Client) DeleteL4Rules ¶
func (c *Client) DeleteL4Rules(request *DeleteL4RulesRequest) (response *DeleteL4RulesResponse, err error)
删除四层转发规则
func (*Client) DeleteL7Rules ¶
func (c *Client) DeleteL7Rules(request *DeleteL7RulesRequest) (response *DeleteL7RulesResponse, err error)
删除七层转发规则
func (*Client) DescribeActionLog ¶
func (c *Client) DescribeActionLog(request *DescribeActionLogRequest) (response *DescribeActionLogResponse, err error)
获取操作日志
func (*Client) DescribeBGPIPL7RuleMaxCnt ¶
func (c *Client) DescribeBGPIPL7RuleMaxCnt(request *DescribeBGPIPL7RuleMaxCntRequest) (response *DescribeBGPIPL7RuleMaxCntResponse, err error)
获取高防IP可添加的最多7层规则数量
func (*Client) DescribeBaradData ¶
func (c *Client) DescribeBaradData(request *DescribeBaradDataRequest) (response *DescribeBaradDataResponse, err error)
为大禹子产品提供业务转发指标数据的接口
func (*Client) DescribeBasicCCThreshold ¶
func (c *Client) DescribeBasicCCThreshold(request *DescribeBasicCCThresholdRequest) (response *DescribeBasicCCThresholdResponse, err error)
获取基础防护CC防护阈值
func (*Client) DescribeBasicDeviceThreshold ¶
func (c *Client) DescribeBasicDeviceThreshold(request *DescribeBasicDeviceThresholdRequest) (response *DescribeBasicDeviceThresholdResponse, err error)
获取基础防护黑洞阈值
func (*Client) DescribeCCAlarmThreshold ¶
func (c *Client) DescribeCCAlarmThreshold(request *DescribeCCAlarmThresholdRequest) (response *DescribeCCAlarmThresholdResponse, err error)
获取高防包、高防IP、高防IP专业版、棋牌盾产品设置CC攻击的告警通知阈值
func (*Client) DescribeCCEvList ¶
func (c *Client) DescribeCCEvList(request *DescribeCCEvListRequest) (response *DescribeCCEvListResponse, err error)
获取CC攻击事件列表
func (*Client) DescribeCCFrequencyRules ¶
func (c *Client) DescribeCCFrequencyRules(request *DescribeCCFrequencyRulesRequest) (response *DescribeCCFrequencyRulesResponse, err error)
获取CC防护的访问频率控制规则
func (*Client) DescribeCCIpAllowDeny ¶
func (c *Client) DescribeCCIpAllowDeny(request *DescribeCCIpAllowDenyRequest) (response *DescribeCCIpAllowDenyResponse, err error)
获取CC的IP黑白名单
func (*Client) DescribeCCSelfDefinePolicy ¶
func (c *Client) DescribeCCSelfDefinePolicy(request *DescribeCCSelfDefinePolicyRequest) (response *DescribeCCSelfDefinePolicyResponse, err error)
获取CC自定义策略
func (*Client) DescribeCCTrend ¶
func (c *Client) DescribeCCTrend(request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error)
获取CC攻击指标数据,包括总请求峰值(QPS)和攻击请求(QPS)
func (*Client) DescribeCCUrlAllow ¶
func (c *Client) DescribeCCUrlAllow(request *DescribeCCUrlAllowRequest) (response *DescribeCCUrlAllowResponse, err error)
获取CC的Url白名单
func (*Client) DescribeDDoSAlarmThreshold ¶
func (c *Client) DescribeDDoSAlarmThreshold(request *DescribeDDoSAlarmThresholdRequest) (response *DescribeDDoSAlarmThresholdResponse, err error)
获取高防包、高防IP、高防IP专业版、棋牌盾产品设置DDoS攻击的告警通知阈值
func (*Client) DescribeDDoSAttackIPRegionMap ¶
func (c *Client) DescribeDDoSAttackIPRegionMap(request *DescribeDDoSAttackIPRegionMapRequest) (response *DescribeDDoSAttackIPRegionMapResponse, err error)
获取DDoS攻击源IP地域分布图,支持全球攻击分布和国内省份攻击分布;
func (*Client) DescribeDDoSAttackSource ¶
func (c *Client) DescribeDDoSAttackSource(request *DescribeDDoSAttackSourceRequest) (response *DescribeDDoSAttackSourceResponse, err error)
获取DDoS攻击源列表
func (*Client) DescribeDDoSCount ¶
func (c *Client) DescribeDDoSCount(request *DescribeDDoSCountRequest) (response *DescribeDDoSCountResponse, err error)
获取DDoS攻击占比分析
func (*Client) DescribeDDoSDefendStatus ¶
func (c *Client) DescribeDDoSDefendStatus(request *DescribeDDoSDefendStatusRequest) (response *DescribeDDoSDefendStatusResponse, err error)
获取DDoS防护状态(临时关闭状态),支持产品:基础防护,独享包,共享包,高防IP,高防IP专业版;调用此接口是获取当前是否有设置临时关闭DDoS防护状态,如果有设置会返回临时关闭的时长等参数。
func (*Client) DescribeDDoSEvInfo ¶
func (c *Client) DescribeDDoSEvInfo(request *DescribeDDoSEvInfoRequest) (response *DescribeDDoSEvInfoResponse, err error)
获取DDoS攻击事件详情
func (*Client) DescribeDDoSEvList ¶
func (c *Client) DescribeDDoSEvList(request *DescribeDDoSEvListRequest) (response *DescribeDDoSEvListResponse, err error)
获取DDoS攻击事件列表
func (*Client) DescribeDDoSIpLog ¶
func (c *Client) DescribeDDoSIpLog(request *DescribeDDoSIpLogRequest) (response *DescribeDDoSIpLogResponse, err error)
获取DDoSIP攻击日志
func (*Client) DescribeDDoSNetCount ¶
func (c *Client) DescribeDDoSNetCount(request *DescribeDDoSNetCountRequest) (response *DescribeDDoSNetCountResponse, err error)
获取高防IP专业版资源的DDoS攻击占比分析
func (*Client) DescribeDDoSNetEvInfo ¶
func (c *Client) DescribeDDoSNetEvInfo(request *DescribeDDoSNetEvInfoRequest) (response *DescribeDDoSNetEvInfoResponse, err error)
获取高防IP专业版资源的DDoS攻击事件详情
func (*Client) DescribeDDoSNetEvList ¶
func (c *Client) DescribeDDoSNetEvList(request *DescribeDDoSNetEvListRequest) (response *DescribeDDoSNetEvListResponse, err error)
获取高防IP专业版资源的DDoS攻击事件列表
func (*Client) DescribeDDoSNetIpLog ¶
func (c *Client) DescribeDDoSNetIpLog(request *DescribeDDoSNetIpLogRequest) (response *DescribeDDoSNetIpLogResponse, err error)
获取高防IP专业版资源的DDoSIP攻击日志
func (*Client) DescribeDDoSNetTrend ¶
func (c *Client) DescribeDDoSNetTrend(request *DescribeDDoSNetTrendRequest) (response *DescribeDDoSNetTrendResponse, err error)
获取高防IP专业版资源的DDoS攻击指标数据
func (*Client) DescribeDDoSPolicy ¶
func (c *Client) DescribeDDoSPolicy(request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)
获取DDoS高级策略
func (*Client) DescribeDDoSTrend ¶
func (c *Client) DescribeDDoSTrend(request *DescribeDDoSTrendRequest) (response *DescribeDDoSTrendResponse, err error)
获取DDoS攻击流量带宽和攻击包速率数据
func (*Client) DescribeDDoSUsedStatis ¶
func (c *Client) DescribeDDoSUsedStatis(request *DescribeDDoSUsedStatisRequest) (response *DescribeDDoSUsedStatisResponse, err error)
统计用户的高防资源的使用天数和DDoS攻击防护次数
func (*Client) DescribeIPProductInfo ¶
func (c *Client) DescribeIPProductInfo(request *DescribeIPProductInfoRequest) (response *DescribeIPProductInfoResponse, err error)
获取独享包或共享包IP对应的云资产信息,只支持独享包和共享包的IP
func (*Client) DescribeInsurePacks ¶
func (c *Client) DescribeInsurePacks(request *DescribeInsurePacksRequest) (response *DescribeInsurePacksResponse, err error)
获取保险包套餐列表
func (*Client) DescribeIpBlockList ¶
func (c *Client) DescribeIpBlockList(request *DescribeIpBlockListRequest) (response *DescribeIpBlockListResponse, err error)
获取IP封堵列表
func (*Client) DescribeIpUnBlockList ¶
func (c *Client) DescribeIpUnBlockList(request *DescribeIpUnBlockListRequest) (response *DescribeIpUnBlockListResponse, err error)
获取IP解封记录
func (*Client) DescribeL4HealthConfig ¶
func (c *Client) DescribeL4HealthConfig(request *DescribeL4HealthConfigRequest) (response *DescribeL4HealthConfigResponse, err error)
导出四层健康检查配置
func (*Client) DescribeL4RulesErrHealth ¶
func (c *Client) DescribeL4RulesErrHealth(request *DescribeL4RulesErrHealthRequest) (response *DescribeL4RulesErrHealthResponse, err error)
获取L4转发规则健康检查异常结果
func (*Client) DescribeL7HealthConfig ¶
func (c *Client) DescribeL7HealthConfig(request *DescribeL7HealthConfigRequest) (response *DescribeL7HealthConfigResponse, err error)
导出七层健康检查配置
func (*Client) DescribePackIndex ¶
func (c *Client) DescribePackIndex(request *DescribePackIndexRequest) (response *DescribePackIndexResponse, err error)
获取产品总览统计,支持高防包、高防IP、高防IP专业版;
func (*Client) DescribePcap ¶
func (c *Client) DescribePcap(request *DescribePcapRequest) (response *DescribePcapResponse, err error)
下载攻击事件的pcap包
func (*Client) DescribePolicyCase ¶
func (c *Client) DescribePolicyCase(request *DescribePolicyCaseRequest) (response *DescribePolicyCaseResponse, err error)
获取策略场景
func (*Client) DescribeResIpList ¶
func (c *Client) DescribeResIpList(request *DescribeResIpListRequest) (response *DescribeResIpListResponse, err error)
获取资源的IP列表
func (*Client) DescribeResourceList ¶
func (c *Client) DescribeResourceList(request *DescribeResourceListRequest) (response *DescribeResourceListResponse, err error)
获取资源列表
func (*Client) DescribeRuleSets ¶
func (c *Client) DescribeRuleSets(request *DescribeRuleSetsRequest) (response *DescribeRuleSetsResponse, err error)
获取资源的规则数
func (*Client) DescribeSchedulingDomainList ¶
func (c *Client) DescribeSchedulingDomainList(request *DescribeSchedulingDomainListRequest) (response *DescribeSchedulingDomainListResponse, err error)
获取调度域名列表
func (*Client) DescribeSecIndex ¶
func (c *Client) DescribeSecIndex(request *DescribeSecIndexRequest) (response *DescribeSecIndexResponse, err error)
获取本月安全统计
func (*Client) DescribeSourceIpSegment ¶
func (c *Client) DescribeSourceIpSegment(request *DescribeSourceIpSegmentRequest) (response *DescribeSourceIpSegmentResponse, err error)
获取回源IP段,支持的产品:高防IP,高防IP专业版;
func (*Client) DescribeTransmitStatis ¶
func (c *Client) DescribeTransmitStatis(request *DescribeTransmitStatisRequest) (response *DescribeTransmitStatisResponse, err error)
获取业务转发统计数据,支持转发流量和转发包速率
func (*Client) DescribeUnBlockStatis ¶
func (c *Client) DescribeUnBlockStatis(request *DescribeUnBlockStatisRequest) (response *DescribeUnBlockStatisResponse, err error)
获取黑洞解封次数
func (*Client) DescribleL4Rules ¶
func (c *Client) DescribleL4Rules(request *DescribleL4RulesRequest) (response *DescribleL4RulesResponse, err error)
获取四层转发规则
func (*Client) DescribleL7Rules ¶
func (c *Client) DescribleL7Rules(request *DescribleL7RulesRequest) (response *DescribleL7RulesResponse, err error)
获取七层转发规则
func (*Client) DescribleRegionCount ¶
func (c *Client) DescribleRegionCount(request *DescribleRegionCountRequest) (response *DescribleRegionCountResponse, err error)
获取地域的资源实例数
func (*Client) ModifyCCAlarmThreshold ¶
func (c *Client) ModifyCCAlarmThreshold(request *ModifyCCAlarmThresholdRequest) (response *ModifyCCAlarmThresholdResponse, err error)
为高防包、高防IP、高防IP专业版、棋牌盾产品设置CC攻击的告警通知阈值
func (*Client) ModifyCCFrequencyRules ¶
func (c *Client) ModifyCCFrequencyRules(request *ModifyCCFrequencyRulesRequest) (response *ModifyCCFrequencyRulesResponse, err error)
修改CC防护的访问频率控制规则
func (*Client) ModifyCCFrequencyRulesStatus ¶
func (c *Client) ModifyCCFrequencyRulesStatus(request *ModifyCCFrequencyRulesStatusRequest) (response *ModifyCCFrequencyRulesStatusResponse, err error)
开启或关闭CC防护的访问频率控制规则
func (*Client) ModifyCCHostProtection ¶
func (c *Client) ModifyCCHostProtection(request *ModifyCCHostProtectionRequest) (response *ModifyCCHostProtectionResponse, err error)
开启或关闭CC域名防护
func (*Client) ModifyCCIpAllowDeny ¶
func (c *Client) ModifyCCIpAllowDeny(request *ModifyCCIpAllowDenyRequest) (response *ModifyCCIpAllowDenyResponse, err error)
添加或删除CC的IP黑白名单
func (*Client) ModifyCCLevel ¶
func (c *Client) ModifyCCLevel(request *ModifyCCLevelRequest) (response *ModifyCCLevelResponse, err error)
修改CC防护等级
func (*Client) ModifyCCPolicySwitch ¶
func (c *Client) ModifyCCPolicySwitch(request *ModifyCCPolicySwitchRequest) (response *ModifyCCPolicySwitchResponse, err error)
修改CC自定义策略开关
func (*Client) ModifyCCSelfDefinePolicy ¶
func (c *Client) ModifyCCSelfDefinePolicy(request *ModifyCCSelfDefinePolicyRequest) (response *ModifyCCSelfDefinePolicyResponse, err error)
修改CC自定义策略
func (*Client) ModifyCCThreshold ¶
func (c *Client) ModifyCCThreshold(request *ModifyCCThresholdRequest) (response *ModifyCCThresholdResponse, err error)
修改CC的防护阈值
func (*Client) ModifyCCUrlAllow ¶
func (c *Client) ModifyCCUrlAllow(request *ModifyCCUrlAllowRequest) (response *ModifyCCUrlAllowResponse, err error)
添加或删除CC的URL白名单
func (*Client) ModifyDDoSAIStatus ¶
func (c *Client) ModifyDDoSAIStatus(request *ModifyDDoSAIStatusRequest) (response *ModifyDDoSAIStatusResponse, err error)
读取或修改DDoS的AI防护状态
func (*Client) ModifyDDoSAlarmThreshold ¶
func (c *Client) ModifyDDoSAlarmThreshold(request *ModifyDDoSAlarmThresholdRequest) (response *ModifyDDoSAlarmThresholdResponse, err error)
为高防包、高防IP、高防IP专业版、棋牌盾等产品设置DDoS攻击的告警通知阈值
func (*Client) ModifyDDoSDefendStatus ¶
func (c *Client) ModifyDDoSDefendStatus(request *ModifyDDoSDefendStatusRequest) (response *ModifyDDoSDefendStatusResponse, err error)
开启或关闭DDoS防护状态,调用此接口允许临时关闭DDoS防护一段时间,等时间到了会自动开启DDoS防护;
func (*Client) ModifyDDoSLevel ¶
func (c *Client) ModifyDDoSLevel(request *ModifyDDoSLevelRequest) (response *ModifyDDoSLevelResponse, err error)
读取或修改DDoS的防护等级
func (*Client) ModifyDDoSPolicy ¶
func (c *Client) ModifyDDoSPolicy(request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, err error)
修改DDoS高级策略
func (*Client) ModifyDDoSPolicyCase ¶
func (c *Client) ModifyDDoSPolicyCase(request *ModifyDDoSPolicyCaseRequest) (response *ModifyDDoSPolicyCaseResponse, err error)
修改策略场景
func (*Client) ModifyDDoSPolicyName ¶
func (c *Client) ModifyDDoSPolicyName(request *ModifyDDoSPolicyNameRequest) (response *ModifyDDoSPolicyNameResponse, err error)
修改DDoS高级策略名称
func (*Client) ModifyDDoSSwitch ¶
func (c *Client) ModifyDDoSSwitch(request *ModifyDDoSSwitchRequest) (response *ModifyDDoSSwitchResponse, err error)
开启或关闭DDoS防护,只支持基础防护产品;
func (*Client) ModifyDDoSThreshold ¶
func (c *Client) ModifyDDoSThreshold(request *ModifyDDoSThresholdRequest) (response *ModifyDDoSThresholdResponse, err error)
修改DDoS清洗阈值
func (*Client) ModifyDDoSWaterKey ¶
func (c *Client) ModifyDDoSWaterKey(request *ModifyDDoSWaterKeyRequest) (response *ModifyDDoSWaterKeyResponse, err error)
支持水印密钥的添加,删除,开启,关闭
func (*Client) ModifyElasticLimit ¶
func (c *Client) ModifyElasticLimit(request *ModifyElasticLimitRequest) (response *ModifyElasticLimitResponse, err error)
修改弹性防护阈值
func (*Client) ModifyL4Health ¶
func (c *Client) ModifyL4Health(request *ModifyL4HealthRequest) (response *ModifyL4HealthResponse, err error)
修改L4转发规则健康检查参数,支持的子产品:高防IP、高防IP专业版
func (*Client) ModifyL4KeepTime ¶
func (c *Client) ModifyL4KeepTime(request *ModifyL4KeepTimeRequest) (response *ModifyL4KeepTimeResponse, err error)
修改L4转发规则的会话保持,支持的子产品:高防IP、高防IP专业版
func (*Client) ModifyL4Rules ¶
func (c *Client) ModifyL4Rules(request *ModifyL4RulesRequest) (response *ModifyL4RulesResponse, err error)
修改L4转发规则
func (*Client) ModifyL7Rules ¶
func (c *Client) ModifyL7Rules(request *ModifyL7RulesRequest) (response *ModifyL7RulesResponse, err error)
修改L7转发规则
func (*Client) ModifyNetReturnSwitch ¶
func (c *Client) ModifyNetReturnSwitch(request *ModifyNetReturnSwitchRequest) (response *ModifyNetReturnSwitchResponse, err error)
在客户收攻击或者被封堵时,切回到源站,并设置回切的时长
func (*Client) ModifyResBindDDoSPolicy ¶
func (c *Client) ModifyResBindDDoSPolicy(request *ModifyResBindDDoSPolicyRequest) (response *ModifyResBindDDoSPolicyResponse, err error)
资源实例绑定DDoS高级策略
func (*Client) ModifyResourceRenewFlag ¶
func (c *Client) ModifyResourceRenewFlag(request *ModifyResourceRenewFlagRequest) (response *ModifyResourceRenewFlagResponse, err error)
修改资源自动续费标记
type CreateBasicDDoSAlarmThresholdRequest ¶
type CreateBasicDDoSAlarmThresholdRequest struct { *tchttp.BaseRequest // 大禹子产品代号(basic表示DDoS基础防护) Business *string `json:"Business,omitempty" name:"Business"` // =get表示读取告警阈值;=set表示设置告警阈值; Method *string `json:"Method,omitempty" name:"Method"` // 可选,告警阈值类型,1-入流量,2-清洗流量;当Method为set时必须填写; AlarmType *uint64 `json:"AlarmType,omitempty" name:"AlarmType"` // 可选,告警阈值,当Method为set时必须填写;当设置阈值为0时表示清除告警阈值配置; AlarmThreshold *uint64 `json:"AlarmThreshold,omitempty" name:"AlarmThreshold"` }
func NewCreateBasicDDoSAlarmThresholdRequest ¶
func NewCreateBasicDDoSAlarmThresholdRequest() (request *CreateBasicDDoSAlarmThresholdRequest)
func (*CreateBasicDDoSAlarmThresholdRequest) FromJsonString ¶
func (r *CreateBasicDDoSAlarmThresholdRequest) FromJsonString(s string) error
func (*CreateBasicDDoSAlarmThresholdRequest) ToJsonString ¶
func (r *CreateBasicDDoSAlarmThresholdRequest) ToJsonString() string
type CreateBasicDDoSAlarmThresholdResponse ¶
type CreateBasicDDoSAlarmThresholdResponse struct { *tchttp.BaseResponse Response *struct { // 当存在告警阈值配置时,返回告警阈值大于0,当不存在告警配置时,返回告警阈值为0; AlarmThreshold *uint64 `json:"AlarmThreshold,omitempty" name:"AlarmThreshold"` // 告警阈值类型,1-入流量,2-清洗流量;当AlarmThreshold大于0时有效; AlarmType *uint64 `json:"AlarmType,omitempty" name:"AlarmType"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateBasicDDoSAlarmThresholdResponse ¶
func NewCreateBasicDDoSAlarmThresholdResponse() (response *CreateBasicDDoSAlarmThresholdResponse)
func (*CreateBasicDDoSAlarmThresholdResponse) FromJsonString ¶
func (r *CreateBasicDDoSAlarmThresholdResponse) FromJsonString(s string) error
func (*CreateBasicDDoSAlarmThresholdResponse) ToJsonString ¶
func (r *CreateBasicDDoSAlarmThresholdResponse) ToJsonString() string
type CreateBoundIPRequest ¶
type CreateBoundIPRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgp表示独享包;bgp-multip表示共享包) Business *string `json:"Business,omitempty" name:"Business"` // 资源实例ID Id *string `json:"Id,omitempty" name:"Id"` // 绑定到资源实例的IP数组,当资源实例为高防包(独享包)时,数组只允许填1个IP;当没有要绑定的IP时可以为空数组;但是BoundDevList和UnBoundDevList至少有一个不为空; BoundDevList []*BoundIpInfo `json:"BoundDevList,omitempty" name:"BoundDevList" list` // 与资源实例解绑的IP数组,当资源实例为高防包(独享包)时,数组只允许填1个IP;当没有要解绑的IP时可以为空数组;但是BoundDevList和UnBoundDevList至少有一个不为空; UnBoundDevList []*BoundIpInfo `json:"UnBoundDevList,omitempty" name:"UnBoundDevList" list` // 已弃用,不填 CopyPolicy *string `json:"CopyPolicy,omitempty" name:"CopyPolicy"` }
func NewCreateBoundIPRequest ¶
func NewCreateBoundIPRequest() (request *CreateBoundIPRequest)
func (*CreateBoundIPRequest) FromJsonString ¶
func (r *CreateBoundIPRequest) FromJsonString(s string) error
func (*CreateBoundIPRequest) ToJsonString ¶
func (r *CreateBoundIPRequest) ToJsonString() string
type CreateBoundIPResponse ¶
type CreateBoundIPResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateBoundIPResponse ¶
func NewCreateBoundIPResponse() (response *CreateBoundIPResponse)
func (*CreateBoundIPResponse) FromJsonString ¶
func (r *CreateBoundIPResponse) FromJsonString(s string) error
func (*CreateBoundIPResponse) ToJsonString ¶
func (r *CreateBoundIPResponse) ToJsonString() string
type CreateCCFrequencyRulesRequest ¶
type CreateCCFrequencyRulesRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 7层转发规则ID(通过获取7层转发规则接口可以获取规则ID) RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // 匹配规则,取值["include"(前缀匹配),"equal"(完全匹配)] Mode *string `json:"Mode,omitempty" name:"Mode"` // 统计周期,单位秒,取值[10, 30, 60] Period *uint64 `json:"Period,omitempty" name:"Period"` // 访问次数,取值[1-10000] ReqNumber *uint64 `json:"ReqNumber,omitempty" name:"ReqNumber"` // 执行动作,取值["alg"(人机识别), "drop"(拦截)] Act *string `json:"Act,omitempty" name:"Act"` // 执行时间,单位秒,取值[1-900] ExeDuration *uint64 `json:"ExeDuration,omitempty" name:"ExeDuration"` // URI字符串,必须以/开头,例如/abc/a.php,长度不超过31;当URI=/时,匹配模式只能选择前缀匹配; Uri *string `json:"Uri,omitempty" name:"Uri"` // User-Agent字符串,长度不超过80 UserAgent *string `json:"UserAgent,omitempty" name:"UserAgent"` // Cookie字符串,长度不超过40 Cookie *string `json:"Cookie,omitempty" name:"Cookie"` }
func NewCreateCCFrequencyRulesRequest ¶
func NewCreateCCFrequencyRulesRequest() (request *CreateCCFrequencyRulesRequest)
func (*CreateCCFrequencyRulesRequest) FromJsonString ¶
func (r *CreateCCFrequencyRulesRequest) FromJsonString(s string) error
func (*CreateCCFrequencyRulesRequest) ToJsonString ¶
func (r *CreateCCFrequencyRulesRequest) ToJsonString() string
type CreateCCFrequencyRulesResponse ¶
type CreateCCFrequencyRulesResponse struct { *tchttp.BaseResponse Response *struct { // CC防护的访问频率控制规则ID CCFrequencyRuleId *string `json:"CCFrequencyRuleId,omitempty" name:"CCFrequencyRuleId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateCCFrequencyRulesResponse ¶
func NewCreateCCFrequencyRulesResponse() (response *CreateCCFrequencyRulesResponse)
func (*CreateCCFrequencyRulesResponse) FromJsonString ¶
func (r *CreateCCFrequencyRulesResponse) FromJsonString(s string) error
func (*CreateCCFrequencyRulesResponse) ToJsonString ¶
func (r *CreateCCFrequencyRulesResponse) ToJsonString() string
type CreateCCSelfDefinePolicyRequest ¶
type CreateCCSelfDefinePolicyRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // CC策略描述 Policy *CCPolicy `json:"Policy,omitempty" name:"Policy"` }
func NewCreateCCSelfDefinePolicyRequest ¶
func NewCreateCCSelfDefinePolicyRequest() (request *CreateCCSelfDefinePolicyRequest)
func (*CreateCCSelfDefinePolicyRequest) FromJsonString ¶
func (r *CreateCCSelfDefinePolicyRequest) FromJsonString(s string) error
func (*CreateCCSelfDefinePolicyRequest) ToJsonString ¶
func (r *CreateCCSelfDefinePolicyRequest) ToJsonString() string
type CreateCCSelfDefinePolicyResponse ¶
type CreateCCSelfDefinePolicyResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateCCSelfDefinePolicyResponse ¶
func NewCreateCCSelfDefinePolicyResponse() (response *CreateCCSelfDefinePolicyResponse)
func (*CreateCCSelfDefinePolicyResponse) FromJsonString ¶
func (r *CreateCCSelfDefinePolicyResponse) FromJsonString(s string) error
func (*CreateCCSelfDefinePolicyResponse) ToJsonString ¶
func (r *CreateCCSelfDefinePolicyResponse) ToJsonString() string
type CreateDDoSPolicyCaseRequest ¶
type CreateDDoSPolicyCaseRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 策略场景名,字符串长度小于64 CaseName *string `json:"CaseName,omitempty" name:"CaseName"` // 开发平台,取值[PC(PC客户端), MOBILE(移动端), TV(电视端), SERVER(主机)] PlatformTypes []*string `json:"PlatformTypes,omitempty" name:"PlatformTypes" list` // 细分品类,取值[WEB(网站), GAME(游戏), APP(应用), OTHER(其他)] AppType *string `json:"AppType,omitempty" name:"AppType"` // 应用协议,取值[tcp(TCP协议),udp(UDP协议),icmp(ICMP协议),all(其他协议)] AppProtocols []*string `json:"AppProtocols,omitempty" name:"AppProtocols" list` // TCP业务起始端口,取值(0, 65535] TcpSportStart *string `json:"TcpSportStart,omitempty" name:"TcpSportStart"` // TCP业务结束端口,取值(0, 65535],必须大于等于TCP业务起始端口 TcpSportEnd *string `json:"TcpSportEnd,omitempty" name:"TcpSportEnd"` // UDP业务起始端口,取值范围(0, 65535] UdpSportStart *string `json:"UdpSportStart,omitempty" name:"UdpSportStart"` // UDP业务结束端口,取值范围(0, 65535),必须大于等于UDP业务起始端口 UdpSportEnd *string `json:"UdpSportEnd,omitempty" name:"UdpSportEnd"` // 是否有海外客户,取值[no(没有), yes(有)] HasAbroad *string `json:"HasAbroad,omitempty" name:"HasAbroad"` // 是否会主动对外发起TCP请求,取值[no(不会), yes(会)] HasInitiateTcp *string `json:"HasInitiateTcp,omitempty" name:"HasInitiateTcp"` // 是否会主动对外发起UDP业务请求,取值[no(不会), yes(会)] HasInitiateUdp *string `json:"HasInitiateUdp,omitempty" name:"HasInitiateUdp"` // 主动发起TCP请求的端口,取值范围(0, 65535] PeerTcpPort *string `json:"PeerTcpPort,omitempty" name:"PeerTcpPort"` // 主动发起UDP请求的端口,取值范围(0, 65535] PeerUdpPort *string `json:"PeerUdpPort,omitempty" name:"PeerUdpPort"` // TCP载荷的固定特征码,字符串长度小于512 TcpFootprint *string `json:"TcpFootprint,omitempty" name:"TcpFootprint"` // UDP载荷的固定特征码,字符串长度小于512 UdpFootprint *string `json:"UdpFootprint,omitempty" name:"UdpFootprint"` // Web业务的API的URL WebApiUrl []*string `json:"WebApiUrl,omitempty" name:"WebApiUrl" list` // TCP业务报文长度最小值,取值范围(0, 1500) MinTcpPackageLen *string `json:"MinTcpPackageLen,omitempty" name:"MinTcpPackageLen"` // TCP业务报文长度最大值,取值范围(0, 1500),必须大于等于TCP业务报文长度最小值 MaxTcpPackageLen *string `json:"MaxTcpPackageLen,omitempty" name:"MaxTcpPackageLen"` // UDP业务报文长度最小值,取值范围(0, 1500) MinUdpPackageLen *string `json:"MinUdpPackageLen,omitempty" name:"MinUdpPackageLen"` // UDP业务报文长度最大值,取值范围(0, 1500),必须大于等于UDP业务报文长度最小值 MaxUdpPackageLen *string `json:"MaxUdpPackageLen,omitempty" name:"MaxUdpPackageLen"` // 是否有VPN业务,取值[no(没有), yes(有)] HasVPN *string `json:"HasVPN,omitempty" name:"HasVPN"` // TCP业务端口列表,同时支持单个端口和端口段,字符串格式,例如:80,443,700-800,53,1000-3000 TcpPortList *string `json:"TcpPortList,omitempty" name:"TcpPortList"` // UDP业务端口列表,同时支持单个端口和端口段,字符串格式,例如:80,443,700-800,53,1000-3000 UdpPortList *string `json:"UdpPortList,omitempty" name:"UdpPortList"` }
func NewCreateDDoSPolicyCaseRequest ¶
func NewCreateDDoSPolicyCaseRequest() (request *CreateDDoSPolicyCaseRequest)
func (*CreateDDoSPolicyCaseRequest) FromJsonString ¶
func (r *CreateDDoSPolicyCaseRequest) FromJsonString(s string) error
func (*CreateDDoSPolicyCaseRequest) ToJsonString ¶
func (r *CreateDDoSPolicyCaseRequest) ToJsonString() string
type CreateDDoSPolicyCaseResponse ¶
type CreateDDoSPolicyCaseResponse struct { *tchttp.BaseResponse Response *struct { // 策略场景ID SceneId *string `json:"SceneId,omitempty" name:"SceneId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateDDoSPolicyCaseResponse ¶
func NewCreateDDoSPolicyCaseResponse() (response *CreateDDoSPolicyCaseResponse)
func (*CreateDDoSPolicyCaseResponse) FromJsonString ¶
func (r *CreateDDoSPolicyCaseResponse) FromJsonString(s string) error
func (*CreateDDoSPolicyCaseResponse) ToJsonString ¶
func (r *CreateDDoSPolicyCaseResponse) ToJsonString() string
type CreateDDoSPolicyRequest ¶
type CreateDDoSPolicyRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 协议禁用,必须填写且数组长度必须为1 DropOptions []*DDoSPolicyDropOption `json:"DropOptions,omitempty" name:"DropOptions" list` // 策略名称 Name *string `json:"Name,omitempty" name:"Name"` // 端口禁用,当没有禁用端口时填空数组 PortLimits []*DDoSPolicyPortLimit `json:"PortLimits,omitempty" name:"PortLimits" list` // IP黑白名单,当没有IP黑白名单时填空数组 IpAllowDenys []*IpBlackWhite `json:"IpAllowDenys,omitempty" name:"IpAllowDenys" list` // 报文过滤,当没有报文过滤时填空数组 PacketFilters []*DDoSPolicyPacketFilter `json:"PacketFilters,omitempty" name:"PacketFilters" list` // 水印策略参数,当没有启用水印功能时填空数组,最多只能传一条水印策略(即数组大小不超过1) WaterPrint []*WaterPrintPolicy `json:"WaterPrint,omitempty" name:"WaterPrint" list` }
func NewCreateDDoSPolicyRequest ¶
func NewCreateDDoSPolicyRequest() (request *CreateDDoSPolicyRequest)
func (*CreateDDoSPolicyRequest) FromJsonString ¶
func (r *CreateDDoSPolicyRequest) FromJsonString(s string) error
func (*CreateDDoSPolicyRequest) ToJsonString ¶
func (r *CreateDDoSPolicyRequest) ToJsonString() string
type CreateDDoSPolicyResponse ¶
type CreateDDoSPolicyResponse struct { *tchttp.BaseResponse Response *struct { // 策略ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateDDoSPolicyResponse ¶
func NewCreateDDoSPolicyResponse() (response *CreateDDoSPolicyResponse)
func (*CreateDDoSPolicyResponse) FromJsonString ¶
func (r *CreateDDoSPolicyResponse) FromJsonString(s string) error
func (*CreateDDoSPolicyResponse) ToJsonString ¶
func (r *CreateDDoSPolicyResponse) ToJsonString() string
type CreateInstanceNameRequest ¶
type CreateInstanceNameRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 资源实例名称,长度不超过32个字符 Name *string `json:"Name,omitempty" name:"Name"` }
func NewCreateInstanceNameRequest ¶
func NewCreateInstanceNameRequest() (request *CreateInstanceNameRequest)
func (*CreateInstanceNameRequest) FromJsonString ¶
func (r *CreateInstanceNameRequest) FromJsonString(s string) error
func (*CreateInstanceNameRequest) ToJsonString ¶
func (r *CreateInstanceNameRequest) ToJsonString() string
type CreateInstanceNameResponse ¶
type CreateInstanceNameResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateInstanceNameResponse ¶
func NewCreateInstanceNameResponse() (response *CreateInstanceNameResponse)
func (*CreateInstanceNameResponse) FromJsonString ¶
func (r *CreateInstanceNameResponse) FromJsonString(s string) error
func (*CreateInstanceNameResponse) ToJsonString ¶
func (r *CreateInstanceNameResponse) ToJsonString() string
type CreateL4HealthConfigRequest ¶
type CreateL4HealthConfigRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 四层健康检查配置数组 HealthConfig []*L4HealthConfig `json:"HealthConfig,omitempty" name:"HealthConfig" list` }
func NewCreateL4HealthConfigRequest ¶
func NewCreateL4HealthConfigRequest() (request *CreateL4HealthConfigRequest)
func (*CreateL4HealthConfigRequest) FromJsonString ¶
func (r *CreateL4HealthConfigRequest) FromJsonString(s string) error
func (*CreateL4HealthConfigRequest) ToJsonString ¶
func (r *CreateL4HealthConfigRequest) ToJsonString() string
type CreateL4HealthConfigResponse ¶
type CreateL4HealthConfigResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateL4HealthConfigResponse ¶
func NewCreateL4HealthConfigResponse() (response *CreateL4HealthConfigResponse)
func (*CreateL4HealthConfigResponse) FromJsonString ¶
func (r *CreateL4HealthConfigResponse) FromJsonString(s string) error
func (*CreateL4HealthConfigResponse) ToJsonString ¶
func (r *CreateL4HealthConfigResponse) ToJsonString() string
type CreateL4RulesRequest ¶
type CreateL4RulesRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 规则列表 Rules []*L4RuleEntry `json:"Rules,omitempty" name:"Rules" list` }
func NewCreateL4RulesRequest ¶
func NewCreateL4RulesRequest() (request *CreateL4RulesRequest)
func (*CreateL4RulesRequest) FromJsonString ¶
func (r *CreateL4RulesRequest) FromJsonString(s string) error
func (*CreateL4RulesRequest) ToJsonString ¶
func (r *CreateL4RulesRequest) ToJsonString() string
type CreateL4RulesResponse ¶
type CreateL4RulesResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateL4RulesResponse ¶
func NewCreateL4RulesResponse() (response *CreateL4RulesResponse)
func (*CreateL4RulesResponse) FromJsonString ¶
func (r *CreateL4RulesResponse) FromJsonString(s string) error
func (*CreateL4RulesResponse) ToJsonString ¶
func (r *CreateL4RulesResponse) ToJsonString() string
type CreateL7CCRuleRequest ¶
type CreateL7CCRuleRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 操作码,取值[query(表示查询),add(表示添加),del(表示删除)] Method *string `json:"Method,omitempty" name:"Method"` // 7层转发规则ID,例如:rule-0000001 RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // 7层CC自定义规则参数,当操作码为query时,可以不用填写;当操作码为add或del时,必须填写,且数组长度只能为1; RuleConfig []*CCRuleConfig `json:"RuleConfig,omitempty" name:"RuleConfig" list` }
func NewCreateL7CCRuleRequest ¶
func NewCreateL7CCRuleRequest() (request *CreateL7CCRuleRequest)
func (*CreateL7CCRuleRequest) FromJsonString ¶
func (r *CreateL7CCRuleRequest) FromJsonString(s string) error
func (*CreateL7CCRuleRequest) ToJsonString ¶
func (r *CreateL7CCRuleRequest) ToJsonString() string
type CreateL7CCRuleResponse ¶
type CreateL7CCRuleResponse struct { *tchttp.BaseResponse Response *struct { // 7层CC自定义规则参数,当没有开启CC自定义规则时,返回空数组 RuleConfig []*CCRuleConfig `json:"RuleConfig,omitempty" name:"RuleConfig" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateL7CCRuleResponse ¶
func NewCreateL7CCRuleResponse() (response *CreateL7CCRuleResponse)
func (*CreateL7CCRuleResponse) FromJsonString ¶
func (r *CreateL7CCRuleResponse) FromJsonString(s string) error
func (*CreateL7CCRuleResponse) ToJsonString ¶
func (r *CreateL7CCRuleResponse) ToJsonString() string
type CreateL7HealthConfigRequest ¶
type CreateL7HealthConfigRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 七层健康检查配置数组 HealthConfig []*L7HealthConfig `json:"HealthConfig,omitempty" name:"HealthConfig" list` }
func NewCreateL7HealthConfigRequest ¶
func NewCreateL7HealthConfigRequest() (request *CreateL7HealthConfigRequest)
func (*CreateL7HealthConfigRequest) FromJsonString ¶
func (r *CreateL7HealthConfigRequest) FromJsonString(s string) error
func (*CreateL7HealthConfigRequest) ToJsonString ¶
func (r *CreateL7HealthConfigRequest) ToJsonString() string
type CreateL7HealthConfigResponse ¶
type CreateL7HealthConfigResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateL7HealthConfigResponse ¶
func NewCreateL7HealthConfigResponse() (response *CreateL7HealthConfigResponse)
func (*CreateL7HealthConfigResponse) FromJsonString ¶
func (r *CreateL7HealthConfigResponse) FromJsonString(s string) error
func (*CreateL7HealthConfigResponse) ToJsonString ¶
func (r *CreateL7HealthConfigResponse) ToJsonString() string
type CreateL7RuleCertRequest ¶
type CreateL7RuleCertRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源实例ID,比如高防IP实例的ID,高防IP专业版实例的ID Id *string `json:"Id,omitempty" name:"Id"` // 规则ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // 证书类型,当为协议为HTTPS协议时必须填,取值[2(腾讯云托管证书)] CertType *uint64 `json:"CertType,omitempty" name:"CertType"` // 当证书来源为腾讯云托管证书时,此字段必须填写托管证书ID SSLId *string `json:"SSLId,omitempty" name:"SSLId"` // 当证书来源为自有证书时,此字段必须填写证书内容;(因已不再支持自有证书,此字段已弃用,请不用填写此字段) Cert *string `json:"Cert,omitempty" name:"Cert"` // 当证书来源为自有证书时,此字段必须填写证书密钥;(因已不再支持自有证书,此字段已弃用,请不用填写此字段) PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"` }
func NewCreateL7RuleCertRequest ¶
func NewCreateL7RuleCertRequest() (request *CreateL7RuleCertRequest)
func (*CreateL7RuleCertRequest) FromJsonString ¶
func (r *CreateL7RuleCertRequest) FromJsonString(s string) error
func (*CreateL7RuleCertRequest) ToJsonString ¶
func (r *CreateL7RuleCertRequest) ToJsonString() string
type CreateL7RuleCertResponse ¶
type CreateL7RuleCertResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateL7RuleCertResponse ¶
func NewCreateL7RuleCertResponse() (response *CreateL7RuleCertResponse)
func (*CreateL7RuleCertResponse) FromJsonString ¶
func (r *CreateL7RuleCertResponse) FromJsonString(s string) error
func (*CreateL7RuleCertResponse) ToJsonString ¶
func (r *CreateL7RuleCertResponse) ToJsonString() string
type CreateL7RulesRequest ¶
type CreateL7RulesRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 规则列表 Rules []*L7RuleEntry `json:"Rules,omitempty" name:"Rules" list` }
func NewCreateL7RulesRequest ¶
func NewCreateL7RulesRequest() (request *CreateL7RulesRequest)
func (*CreateL7RulesRequest) FromJsonString ¶
func (r *CreateL7RulesRequest) FromJsonString(s string) error
func (*CreateL7RulesRequest) ToJsonString ¶
func (r *CreateL7RulesRequest) ToJsonString() string
type CreateL7RulesResponse ¶
type CreateL7RulesResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateL7RulesResponse ¶
func NewCreateL7RulesResponse() (response *CreateL7RulesResponse)
func (*CreateL7RulesResponse) FromJsonString ¶
func (r *CreateL7RulesResponse) FromJsonString(s string) error
func (*CreateL7RulesResponse) ToJsonString ¶
func (r *CreateL7RulesResponse) ToJsonString() string
type CreateL7RulesUploadRequest ¶
type CreateL7RulesUploadRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 规则列表 Rules []*L7RuleEntry `json:"Rules,omitempty" name:"Rules" list` }
func NewCreateL7RulesUploadRequest ¶
func NewCreateL7RulesUploadRequest() (request *CreateL7RulesUploadRequest)
func (*CreateL7RulesUploadRequest) FromJsonString ¶
func (r *CreateL7RulesUploadRequest) FromJsonString(s string) error
func (*CreateL7RulesUploadRequest) ToJsonString ¶
func (r *CreateL7RulesUploadRequest) ToJsonString() string
type CreateL7RulesUploadResponse ¶
type CreateL7RulesUploadResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateL7RulesUploadResponse ¶
func NewCreateL7RulesUploadResponse() (response *CreateL7RulesUploadResponse)
func (*CreateL7RulesUploadResponse) FromJsonString ¶
func (r *CreateL7RulesUploadResponse) FromJsonString(s string) error
func (*CreateL7RulesUploadResponse) ToJsonString ¶
func (r *CreateL7RulesUploadResponse) ToJsonString() string
type CreateNetReturnRequest ¶
type CreateNetReturnRequest struct { *tchttp.BaseRequest // 大禹子产品代号(net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源实例ID Id *string `json:"Id,omitempty" name:"Id"` }
func NewCreateNetReturnRequest ¶
func NewCreateNetReturnRequest() (request *CreateNetReturnRequest)
func (*CreateNetReturnRequest) FromJsonString ¶
func (r *CreateNetReturnRequest) FromJsonString(s string) error
func (*CreateNetReturnRequest) ToJsonString ¶
func (r *CreateNetReturnRequest) ToJsonString() string
type CreateNetReturnResponse ¶
type CreateNetReturnResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateNetReturnResponse ¶
func NewCreateNetReturnResponse() (response *CreateNetReturnResponse)
func (*CreateNetReturnResponse) FromJsonString ¶
func (r *CreateNetReturnResponse) FromJsonString(s string) error
func (*CreateNetReturnResponse) ToJsonString ¶
func (r *CreateNetReturnResponse) ToJsonString() string
type CreateUnblockIpRequest ¶
type CreateUnblockIpRequest struct { *tchttp.BaseRequest // IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 解封类型(user:自助解封;auto:自动解封; update:升级解封;bind:绑定高防包解封) ActionType *string `json:"ActionType,omitempty" name:"ActionType"` }
func NewCreateUnblockIpRequest ¶
func NewCreateUnblockIpRequest() (request *CreateUnblockIpRequest)
func (*CreateUnblockIpRequest) FromJsonString ¶
func (r *CreateUnblockIpRequest) FromJsonString(s string) error
func (*CreateUnblockIpRequest) ToJsonString ¶
func (r *CreateUnblockIpRequest) ToJsonString() string
type CreateUnblockIpResponse ¶
type CreateUnblockIpResponse struct { *tchttp.BaseResponse Response *struct { // IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 解封类型(user:自助解封;auto:自动解封; update:升级解封;bind:绑定高防包解封) ActionType *string `json:"ActionType,omitempty" name:"ActionType"` // 解封时间(预计解封时间) UnblockTime *string `json:"UnblockTime,omitempty" name:"UnblockTime"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateUnblockIpResponse ¶
func NewCreateUnblockIpResponse() (response *CreateUnblockIpResponse)
func (*CreateUnblockIpResponse) FromJsonString ¶
func (r *CreateUnblockIpResponse) FromJsonString(s string) error
func (*CreateUnblockIpResponse) ToJsonString ¶
func (r *CreateUnblockIpResponse) ToJsonString() string
type DDoSAlarmThreshold ¶
type DDoSAttackSourceRecord ¶
type DDoSAttackSourceRecord struct { // 攻击源ip SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"` // 省份(国内有效,不包含港澳台) Province *string `json:"Province,omitempty" name:"Province"` // 国家 Nation *string `json:"Nation,omitempty" name:"Nation"` // 累计攻击包量 PacketSum *uint64 `json:"PacketSum,omitempty" name:"PacketSum"` // 累计攻击流量 PacketLen *uint64 `json:"PacketLen,omitempty" name:"PacketLen"` }
type DDoSEventRecord ¶
type DDoSEventRecord struct { // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 资源的IP Vip *string `json:"Vip,omitempty" name:"Vip"` // 攻击开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 攻击结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 攻击最大带宽 Mbps *uint64 `json:"Mbps,omitempty" name:"Mbps"` // 攻击最大包速率 Pps *uint64 `json:"Pps,omitempty" name:"Pps"` // 攻击类型 AttackType *string `json:"AttackType,omitempty" name:"AttackType"` // 是否被封堵,取值[1(是),0(否),2(无效值)] BlockFlag *uint64 `json:"BlockFlag,omitempty" name:"BlockFlag"` // 是否超过弹性防护峰值,取值取值[yes(是),no(否),空字符串(未知值)] OverLoad *string `json:"OverLoad,omitempty" name:"OverLoad"` // 攻击状态,取值[0(攻击中), 1(攻击结束)] AttackStatus *uint64 `json:"AttackStatus,omitempty" name:"AttackStatus"` // 资源名称 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceName *string `json:"ResourceName,omitempty" name:"ResourceName"` // 攻击事件Id // 注意:此字段可能返回 null,表示取不到有效值。 EventId *string `json:"EventId,omitempty" name:"EventId"` }
type DDoSPolicyDropOption ¶
type DDoSPolicyDropOption struct { // 禁用TCP协议,取值范围[0,1] DropTcp *uint64 `json:"DropTcp,omitempty" name:"DropTcp"` // 禁用UDP协议,取值范围[0,1] DropUdp *uint64 `json:"DropUdp,omitempty" name:"DropUdp"` // 禁用ICMP协议,取值范围[0,1] DropIcmp *uint64 `json:"DropIcmp,omitempty" name:"DropIcmp"` // 禁用其他协议,取值范围[0,1] DropOther *uint64 `json:"DropOther,omitempty" name:"DropOther"` // 拒绝海外流量,取值范围[0,1] DropAbroad *uint64 `json:"DropAbroad,omitempty" name:"DropAbroad"` // 空连接防护,取值范围[0,1] CheckSyncConn *uint64 `json:"CheckSyncConn,omitempty" name:"CheckSyncConn"` // 基于来源IP及目的IP的新建连接抑制,取值范围[0,4294967295] SdNewLimit *uint64 `json:"SdNewLimit,omitempty" name:"SdNewLimit"` // 基于目的IP的新建连接抑制,取值范围[0,4294967295] DstNewLimit *uint64 `json:"DstNewLimit,omitempty" name:"DstNewLimit"` // 基于来源IP及目的IP的并发连接抑制,取值范围[0,4294967295] SdConnLimit *uint64 `json:"SdConnLimit,omitempty" name:"SdConnLimit"` // 基于目的IP的并发连接抑制,取值范围[0,4294967295] DstConnLimit *uint64 `json:"DstConnLimit,omitempty" name:"DstConnLimit"` // 基于连接抑制触发阈值,取值范围[0,4294967295] BadConnThreshold *uint64 `json:"BadConnThreshold,omitempty" name:"BadConnThreshold"` // 异常连接检测条件,空连接防护开关,,取值范围[0,1] NullConnEnable *uint64 `json:"NullConnEnable,omitempty" name:"NullConnEnable"` // 异常连接检测条件,连接超时,,取值范围[0,65535] ConnTimeout *uint64 `json:"ConnTimeout,omitempty" name:"ConnTimeout"` // 异常连接检测条件,syn占比ack百分比,,取值范围[0,100] SynRate *uint64 `json:"SynRate,omitempty" name:"SynRate"` // 异常连接检测条件,syn阈值,取值范围[0,100] SynLimit *uint64 `json:"SynLimit,omitempty" name:"SynLimit"` // tcp限速,取值范围[0,4294967295] DTcpMbpsLimit *uint64 `json:"DTcpMbpsLimit,omitempty" name:"DTcpMbpsLimit"` // udp限速,取值范围[0,4294967295] DUdpMbpsLimit *uint64 `json:"DUdpMbpsLimit,omitempty" name:"DUdpMbpsLimit"` // icmp限速,取值范围[0,4294967295] DIcmpMbpsLimit *uint64 `json:"DIcmpMbpsLimit,omitempty" name:"DIcmpMbpsLimit"` // other协议限速,取值范围[0,4294967295] DOtherMbpsLimit *uint64 `json:"DOtherMbpsLimit,omitempty" name:"DOtherMbpsLimit"` }
type DDoSPolicyPacketFilter ¶
type DDoSPolicyPacketFilter struct { // 协议,取值范围[tcp,udp,icmp,all] Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 开始源端口,取值范围[0,65535] SportStart *uint64 `json:"SportStart,omitempty" name:"SportStart"` // 结束源端口,取值范围[0,65535] SportEnd *uint64 `json:"SportEnd,omitempty" name:"SportEnd"` // 开始目的端口,取值范围[0,65535] DportStart *uint64 `json:"DportStart,omitempty" name:"DportStart"` // 结束目的端口,取值范围[0,65535] DportEnd *uint64 `json:"DportEnd,omitempty" name:"DportEnd"` // 最小包长,取值范围[0,1500] PktlenMin *uint64 `json:"PktlenMin,omitempty" name:"PktlenMin"` // 最大包长,取值范围[0,1500] PktlenMax *uint64 `json:"PktlenMax,omitempty" name:"PktlenMax"` // 是否检测载荷,取值范围[ // begin_l3(IP头) // begin_l4(TCP头) // begin_l5(载荷) // no_match(不检测) // ] MatchBegin *string `json:"MatchBegin,omitempty" name:"MatchBegin"` // 是否是正则表达式,取值范围[sunday(表示关键字),pcre(表示正则表达式)] MatchType *string `json:"MatchType,omitempty" name:"MatchType"` // 关键字或正则表达式 Str *string `json:"Str,omitempty" name:"Str"` // 检测深度,取值范围[0,1500] Depth *uint64 `json:"Depth,omitempty" name:"Depth"` // 检测偏移量,取值范围[0,1500] Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 是否包括,取值范围[0(表示不包含),1(表示包含)] IsNot *uint64 `json:"IsNot,omitempty" name:"IsNot"` // 策略动作,取值范围[drop,drop_black,drop_rst,drop_black_rst,transmit] Action *string `json:"Action,omitempty" name:"Action"` }
type DDoSPolicyPortLimit ¶
type DDoSPolicyPortLimit struct { // 协议,取值范围[tcp,udp,all] Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 开始目的端口,取值范围[0,65535] DPortStart *uint64 `json:"DPortStart,omitempty" name:"DPortStart"` // 结束目的端口,取值范围[0,65535],要求大于等于开始目的端口 DPortEnd *uint64 `json:"DPortEnd,omitempty" name:"DPortEnd"` // 开始源端口,取值范围[0,65535] // 注意:此字段可能返回 null,表示取不到有效值。 SPortStart *uint64 `json:"SPortStart,omitempty" name:"SPortStart"` // 结束源端口,取值范围[0,65535],要求大于等于开始源端口 // 注意:此字段可能返回 null,表示取不到有效值。 SPortEnd *uint64 `json:"SPortEnd,omitempty" name:"SPortEnd"` // 执行动作,取值[drop(丢弃) ,transmit(转发)] // 注意:此字段可能返回 null,表示取不到有效值。 Action *string `json:"Action,omitempty" name:"Action"` // 禁用端口类型,取值[0(目的端口范围禁用), 1(源端口范围禁用), 2(目的和源端口范围同时禁用)] // 注意:此字段可能返回 null,表示取不到有效值。 Kind *uint64 `json:"Kind,omitempty" name:"Kind"` }
type DDosPolicy ¶
type DDosPolicy struct { // 策略绑定的资源 Resources []*ResourceIp `json:"Resources,omitempty" name:"Resources" list` // 禁用协议 DropOptions *DDoSPolicyDropOption `json:"DropOptions,omitempty" name:"DropOptions"` // 禁用端口 PortLimits []*DDoSPolicyPortLimit `json:"PortLimits,omitempty" name:"PortLimits" list` // 报文过滤 PacketFilters []*DDoSPolicyPacketFilter `json:"PacketFilters,omitempty" name:"PacketFilters" list` // 黑白IP名单 IpBlackWhiteLists []*IpBlackWhite `json:"IpBlackWhiteLists,omitempty" name:"IpBlackWhiteLists" list` // 策略ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // 策略名称 PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // 策略创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 水印策略参数,最多只有一个,当没有水印策略时数组为空 WaterPrint []*WaterPrintPolicy `json:"WaterPrint,omitempty" name:"WaterPrint" list` // 水印密钥,最多只有2个,当没有水印策略时数组为空 WaterKey []*WaterPrintKey `json:"WaterKey,omitempty" name:"WaterKey" list` // 策略绑定的资源实例 // 注意:此字段可能返回 null,表示取不到有效值。 BoundResources []*string `json:"BoundResources,omitempty" name:"BoundResources" list` // 策略所属的策略场景 // 注意:此字段可能返回 null,表示取不到有效值。 SceneId *string `json:"SceneId,omitempty" name:"SceneId"` }
type DeleteCCFrequencyRulesRequest ¶
type DeleteCCFrequencyRulesRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // CC防护的访问频率控制规则ID CCFrequencyRuleId *string `json:"CCFrequencyRuleId,omitempty" name:"CCFrequencyRuleId"` }
func NewDeleteCCFrequencyRulesRequest ¶
func NewDeleteCCFrequencyRulesRequest() (request *DeleteCCFrequencyRulesRequest)
func (*DeleteCCFrequencyRulesRequest) FromJsonString ¶
func (r *DeleteCCFrequencyRulesRequest) FromJsonString(s string) error
func (*DeleteCCFrequencyRulesRequest) ToJsonString ¶
func (r *DeleteCCFrequencyRulesRequest) ToJsonString() string
type DeleteCCFrequencyRulesResponse ¶
type DeleteCCFrequencyRulesResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteCCFrequencyRulesResponse ¶
func NewDeleteCCFrequencyRulesResponse() (response *DeleteCCFrequencyRulesResponse)
func (*DeleteCCFrequencyRulesResponse) FromJsonString ¶
func (r *DeleteCCFrequencyRulesResponse) FromJsonString(s string) error
func (*DeleteCCFrequencyRulesResponse) ToJsonString ¶
func (r *DeleteCCFrequencyRulesResponse) ToJsonString() string
type DeleteCCSelfDefinePolicyRequest ¶
type DeleteCCSelfDefinePolicyRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 策略ID SetId *string `json:"SetId,omitempty" name:"SetId"` }
func NewDeleteCCSelfDefinePolicyRequest ¶
func NewDeleteCCSelfDefinePolicyRequest() (request *DeleteCCSelfDefinePolicyRequest)
func (*DeleteCCSelfDefinePolicyRequest) FromJsonString ¶
func (r *DeleteCCSelfDefinePolicyRequest) FromJsonString(s string) error
func (*DeleteCCSelfDefinePolicyRequest) ToJsonString ¶
func (r *DeleteCCSelfDefinePolicyRequest) ToJsonString() string
type DeleteCCSelfDefinePolicyResponse ¶
type DeleteCCSelfDefinePolicyResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteCCSelfDefinePolicyResponse ¶
func NewDeleteCCSelfDefinePolicyResponse() (response *DeleteCCSelfDefinePolicyResponse)
func (*DeleteCCSelfDefinePolicyResponse) FromJsonString ¶
func (r *DeleteCCSelfDefinePolicyResponse) FromJsonString(s string) error
func (*DeleteCCSelfDefinePolicyResponse) ToJsonString ¶
func (r *DeleteCCSelfDefinePolicyResponse) ToJsonString() string
type DeleteDDoSPolicyCaseRequest ¶
type DeleteDDoSPolicyCaseRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 策略场景ID SceneId *string `json:"SceneId,omitempty" name:"SceneId"` }
func NewDeleteDDoSPolicyCaseRequest ¶
func NewDeleteDDoSPolicyCaseRequest() (request *DeleteDDoSPolicyCaseRequest)
func (*DeleteDDoSPolicyCaseRequest) FromJsonString ¶
func (r *DeleteDDoSPolicyCaseRequest) FromJsonString(s string) error
func (*DeleteDDoSPolicyCaseRequest) ToJsonString ¶
func (r *DeleteDDoSPolicyCaseRequest) ToJsonString() string
type DeleteDDoSPolicyCaseResponse ¶
type DeleteDDoSPolicyCaseResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteDDoSPolicyCaseResponse ¶
func NewDeleteDDoSPolicyCaseResponse() (response *DeleteDDoSPolicyCaseResponse)
func (*DeleteDDoSPolicyCaseResponse) FromJsonString ¶
func (r *DeleteDDoSPolicyCaseResponse) FromJsonString(s string) error
func (*DeleteDDoSPolicyCaseResponse) ToJsonString ¶
func (r *DeleteDDoSPolicyCaseResponse) ToJsonString() string
type DeleteDDoSPolicyRequest ¶
type DeleteDDoSPolicyRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 策略ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` }
func NewDeleteDDoSPolicyRequest ¶
func NewDeleteDDoSPolicyRequest() (request *DeleteDDoSPolicyRequest)
func (*DeleteDDoSPolicyRequest) FromJsonString ¶
func (r *DeleteDDoSPolicyRequest) FromJsonString(s string) error
func (*DeleteDDoSPolicyRequest) ToJsonString ¶
func (r *DeleteDDoSPolicyRequest) ToJsonString() string
type DeleteDDoSPolicyResponse ¶
type DeleteDDoSPolicyResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteDDoSPolicyResponse ¶
func NewDeleteDDoSPolicyResponse() (response *DeleteDDoSPolicyResponse)
func (*DeleteDDoSPolicyResponse) FromJsonString ¶
func (r *DeleteDDoSPolicyResponse) FromJsonString(s string) error
func (*DeleteDDoSPolicyResponse) ToJsonString ¶
func (r *DeleteDDoSPolicyResponse) ToJsonString() string
type DeleteL4RulesRequest ¶
type DeleteL4RulesRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 规则ID列表 RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList" list` }
func NewDeleteL4RulesRequest ¶
func NewDeleteL4RulesRequest() (request *DeleteL4RulesRequest)
func (*DeleteL4RulesRequest) FromJsonString ¶
func (r *DeleteL4RulesRequest) FromJsonString(s string) error
func (*DeleteL4RulesRequest) ToJsonString ¶
func (r *DeleteL4RulesRequest) ToJsonString() string
type DeleteL4RulesResponse ¶
type DeleteL4RulesResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteL4RulesResponse ¶
func NewDeleteL4RulesResponse() (response *DeleteL4RulesResponse)
func (*DeleteL4RulesResponse) FromJsonString ¶
func (r *DeleteL4RulesResponse) FromJsonString(s string) error
func (*DeleteL4RulesResponse) ToJsonString ¶
func (r *DeleteL4RulesResponse) ToJsonString() string
type DeleteL7RulesRequest ¶
type DeleteL7RulesRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 规则ID列表 RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList" list` }
func NewDeleteL7RulesRequest ¶
func NewDeleteL7RulesRequest() (request *DeleteL7RulesRequest)
func (*DeleteL7RulesRequest) FromJsonString ¶
func (r *DeleteL7RulesRequest) FromJsonString(s string) error
func (*DeleteL7RulesRequest) ToJsonString ¶
func (r *DeleteL7RulesRequest) ToJsonString() string
type DeleteL7RulesResponse ¶
type DeleteL7RulesResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteL7RulesResponse ¶
func NewDeleteL7RulesResponse() (response *DeleteL7RulesResponse)
func (*DeleteL7RulesResponse) FromJsonString ¶
func (r *DeleteL7RulesResponse) FromJsonString(s string) error
func (*DeleteL7RulesResponse) ToJsonString ¶
func (r *DeleteL7RulesResponse) ToJsonString() string
type DescribeActionLogRequest ¶
type DescribeActionLogRequest struct { *tchttp.BaseRequest // 开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 搜索值,只支持资源ID或用户UIN Filter *string `json:"Filter,omitempty" name:"Filter"` // 一页条数,填0表示不分页 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页起始偏移,取值为(页码-1)*一页条数 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeActionLogRequest ¶
func NewDescribeActionLogRequest() (request *DescribeActionLogRequest)
func (*DescribeActionLogRequest) FromJsonString ¶
func (r *DescribeActionLogRequest) FromJsonString(s string) error
func (*DescribeActionLogRequest) ToJsonString ¶
func (r *DescribeActionLogRequest) ToJsonString() string
type DescribeActionLogResponse ¶
type DescribeActionLogResponse struct { *tchttp.BaseResponse Response *struct { // 总记录数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 记录数组 Data []*KeyValueRecord `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeActionLogResponse ¶
func NewDescribeActionLogResponse() (response *DescribeActionLogResponse)
func (*DescribeActionLogResponse) FromJsonString ¶
func (r *DescribeActionLogResponse) FromJsonString(s string) error
func (*DescribeActionLogResponse) ToJsonString ¶
func (r *DescribeActionLogResponse) ToJsonString() string
type DescribeBGPIPL7RuleMaxCntRequest ¶
type DescribeBGPIPL7RuleMaxCntRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP) Business *string `json:"Business,omitempty" name:"Business"` // 资源实例ID Id *string `json:"Id,omitempty" name:"Id"` }
func NewDescribeBGPIPL7RuleMaxCntRequest ¶
func NewDescribeBGPIPL7RuleMaxCntRequest() (request *DescribeBGPIPL7RuleMaxCntRequest)
func (*DescribeBGPIPL7RuleMaxCntRequest) FromJsonString ¶
func (r *DescribeBGPIPL7RuleMaxCntRequest) FromJsonString(s string) error
func (*DescribeBGPIPL7RuleMaxCntRequest) ToJsonString ¶
func (r *DescribeBGPIPL7RuleMaxCntRequest) ToJsonString() string
type DescribeBGPIPL7RuleMaxCntResponse ¶
type DescribeBGPIPL7RuleMaxCntResponse struct { *tchttp.BaseResponse Response *struct { // 高防IP最多可添加的7层规则数量 Count *uint64 `json:"Count,omitempty" name:"Count"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBGPIPL7RuleMaxCntResponse ¶
func NewDescribeBGPIPL7RuleMaxCntResponse() (response *DescribeBGPIPL7RuleMaxCntResponse)
func (*DescribeBGPIPL7RuleMaxCntResponse) FromJsonString ¶
func (r *DescribeBGPIPL7RuleMaxCntResponse) FromJsonString(s string) error
func (*DescribeBGPIPL7RuleMaxCntResponse) ToJsonString ¶
func (r *DescribeBGPIPL7RuleMaxCntResponse) ToJsonString() string
type DescribeBaradDataRequest ¶
type DescribeBaradDataRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源实例ID Id *string `json:"Id,omitempty" name:"Id"` // 指标名,取值: // connum表示TCP活跃连接数; // new_conn表示新建TCP连接数; // inactive_conn表示非活跃连接数; // intraffic表示入流量; // outtraffic表示出流量; // alltraffic表示出流量和入流量之和; // inpkg表示入包速率; // outpkg表示出包速率; MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // 统计时间粒度,单位秒(300表示5分钟;3600表示小时;86400表示天) Period *uint64 `json:"Period,omitempty" name:"Period"` // 统计开始时间,秒部分保持为0,分钟部分为5的倍数 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 统计结束时间,秒部分保持为0,分钟部分为5的倍数 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 统计方式,取值: // max表示最大值; // min表示最小值; // avg表示均值; Statistics *string `json:"Statistics,omitempty" name:"Statistics"` // 协议端口数组 ProtocolPort []*ProtocolPort `json:"ProtocolPort,omitempty" name:"ProtocolPort" list` // 资源实例下的IP,只有当Business=net(高防IP专业版)时才必须填写资源的一个IP(因为高防IP专业版资源实例有多个IP,才需要指定); Ip *string `json:"Ip,omitempty" name:"Ip"` }
func NewDescribeBaradDataRequest ¶
func NewDescribeBaradDataRequest() (request *DescribeBaradDataRequest)
func (*DescribeBaradDataRequest) FromJsonString ¶
func (r *DescribeBaradDataRequest) FromJsonString(s string) error
func (*DescribeBaradDataRequest) ToJsonString ¶
func (r *DescribeBaradDataRequest) ToJsonString() string
type DescribeBaradDataResponse ¶
type DescribeBaradDataResponse struct { *tchttp.BaseResponse Response *struct { // 返回指标的值 DataList []*BaradData `json:"DataList,omitempty" name:"DataList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBaradDataResponse ¶
func NewDescribeBaradDataResponse() (response *DescribeBaradDataResponse)
func (*DescribeBaradDataResponse) FromJsonString ¶
func (r *DescribeBaradDataResponse) FromJsonString(s string) error
func (*DescribeBaradDataResponse) ToJsonString ¶
func (r *DescribeBaradDataResponse) ToJsonString() string
type DescribeBasicCCThresholdRequest ¶
type DescribeBasicCCThresholdRequest struct { *tchttp.BaseRequest // 查询的IP地址,取值如:1.1.1.1 BasicIp *string `json:"BasicIp,omitempty" name:"BasicIp"` // 查询IP所属地域,取值如:gz、bj、sh、hk等地域缩写 BasicRegion *string `json:"BasicRegion,omitempty" name:"BasicRegion"` // 专区类型,取值如:公有云专区:public,黑石专区:bm, NAT服务器专区:nat,互联网通道:channel。 BasicBizType *string `json:"BasicBizType,omitempty" name:"BasicBizType"` // 设备类型,取值如:服务器:cvm,公有云负载均衡:clb,黑石负载均衡:lb,NAT服务器:nat,互联网通道:channel. BasicDeviceType *string `json:"BasicDeviceType,omitempty" name:"BasicDeviceType"` // 可选,IPInstance Nat 网关(如果查询的设备类型是NAT服务器,需要传此参数,通过nat资源查询接口获取) BasicIpInstance *string `json:"BasicIpInstance,omitempty" name:"BasicIpInstance"` // 可选,运营商线路(如果查询的设备类型是NAT服务器,需要传此参数为5) BasicIspCode *uint64 `json:"BasicIspCode,omitempty" name:"BasicIspCode"` }
func NewDescribeBasicCCThresholdRequest ¶
func NewDescribeBasicCCThresholdRequest() (request *DescribeBasicCCThresholdRequest)
func (*DescribeBasicCCThresholdRequest) FromJsonString ¶
func (r *DescribeBasicCCThresholdRequest) FromJsonString(s string) error
func (*DescribeBasicCCThresholdRequest) ToJsonString ¶
func (r *DescribeBasicCCThresholdRequest) ToJsonString() string
type DescribeBasicCCThresholdResponse ¶
type DescribeBasicCCThresholdResponse struct { *tchttp.BaseResponse Response *struct { // CC启动开关(0:关闭;1:开启) CCEnable *uint64 `json:"CCEnable,omitempty" name:"CCEnable"` // CC防护阈值 CCThreshold *uint64 `json:"CCThreshold,omitempty" name:"CCThreshold"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBasicCCThresholdResponse ¶
func NewDescribeBasicCCThresholdResponse() (response *DescribeBasicCCThresholdResponse)
func (*DescribeBasicCCThresholdResponse) FromJsonString ¶
func (r *DescribeBasicCCThresholdResponse) FromJsonString(s string) error
func (*DescribeBasicCCThresholdResponse) ToJsonString ¶
func (r *DescribeBasicCCThresholdResponse) ToJsonString() string
type DescribeBasicDeviceThresholdRequest ¶
type DescribeBasicDeviceThresholdRequest struct { *tchttp.BaseRequest // 查询的IP地址,取值如:1.1.1.1 BasicIp *string `json:"BasicIp,omitempty" name:"BasicIp"` // 查询IP所属地域,取值如:gz、bj、sh、hk等地域缩写 BasicRegion *string `json:"BasicRegion,omitempty" name:"BasicRegion"` // 专区类型,取值如:公有云专区:public,黑石专区:bm, NAT服务器专区:nat,互联网通道:channel。 BasicBizType *string `json:"BasicBizType,omitempty" name:"BasicBizType"` // 设备类型,取值如:服务器:cvm,公有云负载均衡:clb,黑石负载均衡:lb,NAT服务器:nat,互联网通道:channel. BasicDeviceType *string `json:"BasicDeviceType,omitempty" name:"BasicDeviceType"` // 有效性检查,取值为1 BasicCheckFlag *uint64 `json:"BasicCheckFlag,omitempty" name:"BasicCheckFlag"` // 可选,IPInstance Nat 网关(如果查询的设备类型是NAT服务器,需要传此参数,通过nat资源查询接口获取) BasicIpInstance *string `json:"BasicIpInstance,omitempty" name:"BasicIpInstance"` // 可选,运营商线路(如果查询的设备类型是NAT服务器,需要传此参数为5) BasicIspCode *uint64 `json:"BasicIspCode,omitempty" name:"BasicIspCode"` }
func NewDescribeBasicDeviceThresholdRequest ¶
func NewDescribeBasicDeviceThresholdRequest() (request *DescribeBasicDeviceThresholdRequest)
func (*DescribeBasicDeviceThresholdRequest) FromJsonString ¶
func (r *DescribeBasicDeviceThresholdRequest) FromJsonString(s string) error
func (*DescribeBasicDeviceThresholdRequest) ToJsonString ¶
func (r *DescribeBasicDeviceThresholdRequest) ToJsonString() string
type DescribeBasicDeviceThresholdResponse ¶
type DescribeBasicDeviceThresholdResponse struct { *tchttp.BaseResponse Response *struct { // 返回黑洞封堵值 Threshold *uint64 `json:"Threshold,omitempty" name:"Threshold"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBasicDeviceThresholdResponse ¶
func NewDescribeBasicDeviceThresholdResponse() (response *DescribeBasicDeviceThresholdResponse)
func (*DescribeBasicDeviceThresholdResponse) FromJsonString ¶
func (r *DescribeBasicDeviceThresholdResponse) FromJsonString(s string) error
func (*DescribeBasicDeviceThresholdResponse) ToJsonString ¶
func (r *DescribeBasicDeviceThresholdResponse) ToJsonString() string
type DescribeCCAlarmThresholdRequest ¶
type DescribeCCAlarmThresholdRequest struct { *tchttp.BaseRequest // 大禹子产品代号(shield表示棋牌;bgpip表示高防IP;bgp表示高防包;bgp-multip表示多ip高防包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID,字符串类型 RsId *string `json:"RsId,omitempty" name:"RsId"` }
func NewDescribeCCAlarmThresholdRequest ¶
func NewDescribeCCAlarmThresholdRequest() (request *DescribeCCAlarmThresholdRequest)
func (*DescribeCCAlarmThresholdRequest) FromJsonString ¶
func (r *DescribeCCAlarmThresholdRequest) FromJsonString(s string) error
func (*DescribeCCAlarmThresholdRequest) ToJsonString ¶
func (r *DescribeCCAlarmThresholdRequest) ToJsonString() string
type DescribeCCAlarmThresholdResponse ¶
type DescribeCCAlarmThresholdResponse struct { *tchttp.BaseResponse Response *struct { // CC告警阈值 CCAlarmThreshold *CCAlarmThreshold `json:"CCAlarmThreshold,omitempty" name:"CCAlarmThreshold"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCCAlarmThresholdResponse ¶
func NewDescribeCCAlarmThresholdResponse() (response *DescribeCCAlarmThresholdResponse)
func (*DescribeCCAlarmThresholdResponse) FromJsonString ¶
func (r *DescribeCCAlarmThresholdResponse) FromJsonString(s string) error
func (*DescribeCCAlarmThresholdResponse) ToJsonString ¶
func (r *DescribeCCAlarmThresholdResponse) ToJsonString() string
type DescribeCCEvListRequest ¶
type DescribeCCEvListRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护) Business *string `json:"Business,omitempty" name:"Business"` // 开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 资源实例ID Id *string `json:"Id,omitempty" name:"Id"` // 资源实例的IP,当business不为basic时,如果IpList不为空则Id也必须不能为空; IpList []*string `json:"IpList,omitempty" name:"IpList" list` // 一页条数,填0表示不分页 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页起始偏移,取值为(页码-1)*一页条数 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeCCEvListRequest ¶
func NewDescribeCCEvListRequest() (request *DescribeCCEvListRequest)
func (*DescribeCCEvListRequest) FromJsonString ¶
func (r *DescribeCCEvListRequest) FromJsonString(s string) error
func (*DescribeCCEvListRequest) ToJsonString ¶
func (r *DescribeCCEvListRequest) ToJsonString() string
type DescribeCCEvListResponse ¶
type DescribeCCEvListResponse struct { *tchttp.BaseResponse Response *struct { // 大禹子产品代号(shield表示棋牌盾;bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护) Business *string `json:"Business,omitempty" name:"Business"` // 资源实例ID Id *string `json:"Id,omitempty" name:"Id"` // 资源实例的IP列表 // 注意:此字段可能返回 null,表示取不到有效值。 IpList []*string `json:"IpList,omitempty" name:"IpList" list` // 开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // CC攻击事件列表 Data []*CCEventRecord `json:"Data,omitempty" name:"Data" list` // 总记录数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCCEvListResponse ¶
func NewDescribeCCEvListResponse() (response *DescribeCCEvListResponse)
func (*DescribeCCEvListResponse) FromJsonString ¶
func (r *DescribeCCEvListResponse) FromJsonString(s string) error
func (*DescribeCCEvListResponse) ToJsonString ¶
func (r *DescribeCCEvListResponse) ToJsonString() string
type DescribeCCFrequencyRulesRequest ¶
type DescribeCCFrequencyRulesRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 7层转发规则ID(通过获取7层转发规则接口可以获取规则ID);当填写时表示获取转发规则的访问频率控制规则; RuleId *string `json:"RuleId,omitempty" name:"RuleId"` }
func NewDescribeCCFrequencyRulesRequest ¶
func NewDescribeCCFrequencyRulesRequest() (request *DescribeCCFrequencyRulesRequest)
func (*DescribeCCFrequencyRulesRequest) FromJsonString ¶
func (r *DescribeCCFrequencyRulesRequest) FromJsonString(s string) error
func (*DescribeCCFrequencyRulesRequest) ToJsonString ¶
func (r *DescribeCCFrequencyRulesRequest) ToJsonString() string
type DescribeCCFrequencyRulesResponse ¶
type DescribeCCFrequencyRulesResponse struct { *tchttp.BaseResponse Response *struct { // 访问频率控制规则列表 CCFrequencyRuleList []*CCFrequencyRule `json:"CCFrequencyRuleList,omitempty" name:"CCFrequencyRuleList" list` // 访问频率控制规则开关状态,取值[on(开启),off(关闭)] CCFrequencyRuleStatus *string `json:"CCFrequencyRuleStatus,omitempty" name:"CCFrequencyRuleStatus"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCCFrequencyRulesResponse ¶
func NewDescribeCCFrequencyRulesResponse() (response *DescribeCCFrequencyRulesResponse)
func (*DescribeCCFrequencyRulesResponse) FromJsonString ¶
func (r *DescribeCCFrequencyRulesResponse) FromJsonString(s string) error
func (*DescribeCCFrequencyRulesResponse) ToJsonString ¶
func (r *DescribeCCFrequencyRulesResponse) ToJsonString() string
type DescribeCCIpAllowDenyRequest ¶
type DescribeCCIpAllowDenyRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 黑或白名单,取值[white(白名单),black(黑名单)] // 注意:此数组只能有一个值,不能同时获取黑名单和白名单 Type []*string `json:"Type,omitempty" name:"Type" list` // 分页参数 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 分页参数 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 可选,代表HTTP协议或HTTPS协议的CC防护,取值[http(HTTP协议的CC防护),https(HTTPS协议的CC防护)]; Protocol *string `json:"Protocol,omitempty" name:"Protocol"` }
func NewDescribeCCIpAllowDenyRequest ¶
func NewDescribeCCIpAllowDenyRequest() (request *DescribeCCIpAllowDenyRequest)
func (*DescribeCCIpAllowDenyRequest) FromJsonString ¶
func (r *DescribeCCIpAllowDenyRequest) FromJsonString(s string) error
func (*DescribeCCIpAllowDenyRequest) ToJsonString ¶
func (r *DescribeCCIpAllowDenyRequest) ToJsonString() string
type DescribeCCIpAllowDenyResponse ¶
type DescribeCCIpAllowDenyResponse struct { *tchttp.BaseResponse Response *struct { // 该字段被RecordList字段替代了,请不要使用 Data []*KeyValue `json:"Data,omitempty" name:"Data" list` // 记录数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 返回黑/白名单的记录, // "Key":"ip"时,"Value":值表示ip; // "Key":"domain"时, "Value":值表示域名; // "Key":"type"时,"Value":值表示黑白名单类型(white为白名单,block为黑名单); // "Key":"protocol"时,"Value":值表示CC防护的协议(http或https); RecordList []*KeyValueRecord `json:"RecordList,omitempty" name:"RecordList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCCIpAllowDenyResponse ¶
func NewDescribeCCIpAllowDenyResponse() (response *DescribeCCIpAllowDenyResponse)
func (*DescribeCCIpAllowDenyResponse) FromJsonString ¶
func (r *DescribeCCIpAllowDenyResponse) FromJsonString(s string) error
func (*DescribeCCIpAllowDenyResponse) ToJsonString ¶
func (r *DescribeCCIpAllowDenyResponse) ToJsonString() string
type DescribeCCSelfDefinePolicyRequest ¶
type DescribeCCSelfDefinePolicyRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgp高防包;bgp-multip共享包) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 拉取的条数 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeCCSelfDefinePolicyRequest ¶
func NewDescribeCCSelfDefinePolicyRequest() (request *DescribeCCSelfDefinePolicyRequest)
func (*DescribeCCSelfDefinePolicyRequest) FromJsonString ¶
func (r *DescribeCCSelfDefinePolicyRequest) FromJsonString(s string) error
func (*DescribeCCSelfDefinePolicyRequest) ToJsonString ¶
func (r *DescribeCCSelfDefinePolicyRequest) ToJsonString() string
type DescribeCCSelfDefinePolicyResponse ¶
type DescribeCCSelfDefinePolicyResponse struct { *tchttp.BaseResponse Response *struct { // 自定义规则总数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 策略列表 Policys []*CCPolicy `json:"Policys,omitempty" name:"Policys" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCCSelfDefinePolicyResponse ¶
func NewDescribeCCSelfDefinePolicyResponse() (response *DescribeCCSelfDefinePolicyResponse)
func (*DescribeCCSelfDefinePolicyResponse) FromJsonString ¶
func (r *DescribeCCSelfDefinePolicyResponse) FromJsonString(s string) error
func (*DescribeCCSelfDefinePolicyResponse) ToJsonString ¶
func (r *DescribeCCSelfDefinePolicyResponse) ToJsonString() string
type DescribeCCTrendRequest ¶
type DescribeCCTrendRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护) Business *string `json:"Business,omitempty" name:"Business"` // 资源的IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 指标,取值[inqps(总请求峰值,dropqps(攻击请求峰值))] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // 统计粒度,取值[300(5分钟),3600(小时),86400(天)] Period *int64 `json:"Period,omitempty" name:"Period"` // 统计开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 统计结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 资源实例ID,当Business为basic时,此字段不用填写(因为基础防护没有资源实例) Id *string `json:"Id,omitempty" name:"Id"` }
func NewDescribeCCTrendRequest ¶
func NewDescribeCCTrendRequest() (request *DescribeCCTrendRequest)
func (*DescribeCCTrendRequest) FromJsonString ¶
func (r *DescribeCCTrendRequest) FromJsonString(s string) error
func (*DescribeCCTrendRequest) ToJsonString ¶
func (r *DescribeCCTrendRequest) ToJsonString() string
type DescribeCCTrendResponse ¶
type DescribeCCTrendResponse struct { *tchttp.BaseResponse Response *struct { // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID // 注意:此字段可能返回 null,表示取不到有效值。 Id *string `json:"Id,omitempty" name:"Id"` // 资源的IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 指标,取值[inqps(总请求峰值,dropqps(攻击请求峰值))] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // 统计粒度,取值[300(5分钟),3600(小时),86400(天)] Period *int64 `json:"Period,omitempty" name:"Period"` // 统计开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 统计结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 值数组 Data []*uint64 `json:"Data,omitempty" name:"Data" list` // 值个数 Count *uint64 `json:"Count,omitempty" name:"Count"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCCTrendResponse ¶
func NewDescribeCCTrendResponse() (response *DescribeCCTrendResponse)
func (*DescribeCCTrendResponse) FromJsonString ¶
func (r *DescribeCCTrendResponse) FromJsonString(s string) error
func (*DescribeCCTrendResponse) ToJsonString ¶
func (r *DescribeCCTrendResponse) ToJsonString() string
type DescribeCCUrlAllowRequest ¶
type DescribeCCUrlAllowRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 黑或白名单,取值[white(白名单)],目前只支持白名单 // 注意:此数组只能有一个值,且只能为white Type []*string `json:"Type,omitempty" name:"Type" list` // 分页参数 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 分页参数 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 可选,代表HTTP协议或HTTPS协议的CC防护,取值[http(HTTP协议的CC防护),https(HTTPS协议的CC防护)]; Protocol *string `json:"Protocol,omitempty" name:"Protocol"` }
func NewDescribeCCUrlAllowRequest ¶
func NewDescribeCCUrlAllowRequest() (request *DescribeCCUrlAllowRequest)
func (*DescribeCCUrlAllowRequest) FromJsonString ¶
func (r *DescribeCCUrlAllowRequest) FromJsonString(s string) error
func (*DescribeCCUrlAllowRequest) ToJsonString ¶
func (r *DescribeCCUrlAllowRequest) ToJsonString() string
type DescribeCCUrlAllowResponse ¶
type DescribeCCUrlAllowResponse struct { *tchttp.BaseResponse Response *struct { // 该字段被RecordList字段替代了,请不要使用 Data []*KeyValue `json:"Data,omitempty" name:"Data" list` // 记录总数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 返回黑/白名单的记录, // "Key":"url"时,"Value":值表示URL; // "Key":"domain"时, "Value":值表示域名; // "Key":"type"时,"Value":值表示黑白名单类型(white为白名单,block为黑名单); // "Key":"protocol"时,"Value":值表示CC的防护类型(HTTP防护或HTTPS域名防护); RecordList []*KeyValueRecord `json:"RecordList,omitempty" name:"RecordList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCCUrlAllowResponse ¶
func NewDescribeCCUrlAllowResponse() (response *DescribeCCUrlAllowResponse)
func (*DescribeCCUrlAllowResponse) FromJsonString ¶
func (r *DescribeCCUrlAllowResponse) FromJsonString(s string) error
func (*DescribeCCUrlAllowResponse) ToJsonString ¶
func (r *DescribeCCUrlAllowResponse) ToJsonString() string
type DescribeDDoSAlarmThresholdRequest ¶
type DescribeDDoSAlarmThresholdRequest struct { *tchttp.BaseRequest // 大禹子产品代号(shield表示棋牌;bgpip表示高防IP;bgp表示高防包;bgp-multip表示多ip高防包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID,字符串类型 RsId *string `json:"RsId,omitempty" name:"RsId"` }
func NewDescribeDDoSAlarmThresholdRequest ¶
func NewDescribeDDoSAlarmThresholdRequest() (request *DescribeDDoSAlarmThresholdRequest)
func (*DescribeDDoSAlarmThresholdRequest) FromJsonString ¶
func (r *DescribeDDoSAlarmThresholdRequest) FromJsonString(s string) error
func (*DescribeDDoSAlarmThresholdRequest) ToJsonString ¶
func (r *DescribeDDoSAlarmThresholdRequest) ToJsonString() string
type DescribeDDoSAlarmThresholdResponse ¶
type DescribeDDoSAlarmThresholdResponse struct { *tchttp.BaseResponse Response *struct { // DDoS告警阈值 DDoSAlarmThreshold *DDoSAlarmThreshold `json:"DDoSAlarmThreshold,omitempty" name:"DDoSAlarmThreshold"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSAlarmThresholdResponse ¶
func NewDescribeDDoSAlarmThresholdResponse() (response *DescribeDDoSAlarmThresholdResponse)
func (*DescribeDDoSAlarmThresholdResponse) FromJsonString ¶
func (r *DescribeDDoSAlarmThresholdResponse) FromJsonString(s string) error
func (*DescribeDDoSAlarmThresholdResponse) ToJsonString ¶
func (r *DescribeDDoSAlarmThresholdResponse) ToJsonString() string
type DescribeDDoSAttackIPRegionMapRequest ¶
type DescribeDDoSAttackIPRegionMapRequest struct { *tchttp.BaseRequest // 大禹子产品代号(shield表示棋牌;bgpip表示高防IP;bgp表示高防包;bgp-multip表示多ip高防包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 统计开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 统计结束时间,最大可统计的时间范围是半年; EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 指定资源的特定IP的攻击源,可选 IpList []*string `json:"IpList,omitempty" name:"IpList" list` }
func NewDescribeDDoSAttackIPRegionMapRequest ¶
func NewDescribeDDoSAttackIPRegionMapRequest() (request *DescribeDDoSAttackIPRegionMapRequest)
func (*DescribeDDoSAttackIPRegionMapRequest) FromJsonString ¶
func (r *DescribeDDoSAttackIPRegionMapRequest) FromJsonString(s string) error
func (*DescribeDDoSAttackIPRegionMapRequest) ToJsonString ¶
func (r *DescribeDDoSAttackIPRegionMapRequest) ToJsonString() string
type DescribeDDoSAttackIPRegionMapResponse ¶
type DescribeDDoSAttackIPRegionMapResponse struct { *tchttp.BaseResponse Response *struct { // 全球地域分布数据 NationCount []*KeyValueRecord `json:"NationCount,omitempty" name:"NationCount" list` // 国内省份地域分布数据 ProvinceCount []*KeyValueRecord `json:"ProvinceCount,omitempty" name:"ProvinceCount" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSAttackIPRegionMapResponse ¶
func NewDescribeDDoSAttackIPRegionMapResponse() (response *DescribeDDoSAttackIPRegionMapResponse)
func (*DescribeDDoSAttackIPRegionMapResponse) FromJsonString ¶
func (r *DescribeDDoSAttackIPRegionMapResponse) FromJsonString(s string) error
func (*DescribeDDoSAttackIPRegionMapResponse) ToJsonString ¶
func (r *DescribeDDoSAttackIPRegionMapResponse) ToJsonString() string
type DescribeDDoSAttackSourceRequest ¶
type DescribeDDoSAttackSourceRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 起始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 一页条数,填0表示不分页 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页起始偏移,取值为(页码-1)*一页条数 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 获取指定资源的特定ip的攻击源,可选 IpList []*string `json:"IpList,omitempty" name:"IpList" list` }
func NewDescribeDDoSAttackSourceRequest ¶
func NewDescribeDDoSAttackSourceRequest() (request *DescribeDDoSAttackSourceRequest)
func (*DescribeDDoSAttackSourceRequest) FromJsonString ¶
func (r *DescribeDDoSAttackSourceRequest) FromJsonString(s string) error
func (*DescribeDDoSAttackSourceRequest) ToJsonString ¶
func (r *DescribeDDoSAttackSourceRequest) ToJsonString() string
type DescribeDDoSAttackSourceResponse ¶
type DescribeDDoSAttackSourceResponse struct { *tchttp.BaseResponse Response *struct { // 总攻击源条数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 攻击源列表 AttackSourceList []*DDoSAttackSourceRecord `json:"AttackSourceList,omitempty" name:"AttackSourceList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSAttackSourceResponse ¶
func NewDescribeDDoSAttackSourceResponse() (response *DescribeDDoSAttackSourceResponse)
func (*DescribeDDoSAttackSourceResponse) FromJsonString ¶
func (r *DescribeDDoSAttackSourceResponse) FromJsonString(s string) error
func (*DescribeDDoSAttackSourceResponse) ToJsonString ¶
func (r *DescribeDDoSAttackSourceResponse) ToJsonString() string
type DescribeDDoSCountRequest ¶
type DescribeDDoSCountRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 资源的IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 统计开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 统计结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 指标,取值[traffic(攻击协议流量, 单位KB), pkg(攻击协议报文数), classnum(攻击事件次数)] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` }
func NewDescribeDDoSCountRequest ¶
func NewDescribeDDoSCountRequest() (request *DescribeDDoSCountRequest)
func (*DescribeDDoSCountRequest) FromJsonString ¶
func (r *DescribeDDoSCountRequest) FromJsonString(s string) error
func (*DescribeDDoSCountRequest) ToJsonString ¶
func (r *DescribeDDoSCountRequest) ToJsonString() string
type DescribeDDoSCountResponse ¶
type DescribeDDoSCountResponse struct { *tchttp.BaseResponse Response *struct { // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 资源的IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 统计开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 统计结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 指标,取值[traffic(攻击协议流量, 单位KB), pkg(攻击协议报文数), classnum(攻击事件次数)] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Key-Value值数组,Key说明如下, // 当MetricName为traffic时: // key为"TcpKBSum",表示TCP报文流量,单位KB // key为"UdpKBSum",表示UDP报文流量,单位KB // key为"IcmpKBSum",表示ICMP报文流量,单位KB // key为"OtherKBSum",表示其他报文流量,单位KB // // 当MetricName为pkg时: // key为"TcpPacketSum",表示TCP报文个数,单位个 // key为"UdpPacketSum",表示UDP报文个数,单位个 // key为"IcmpPacketSum",表示ICMP报文个数,单位个 // key为"OtherPacketSum",表示其他报文个数,单位个 // // 当MetricName为classnum时: // key的值表示攻击事件类型,其中Key为"UNKNOWNFLOOD",表示未知的攻击事件 Data []*KeyValue `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSCountResponse ¶
func NewDescribeDDoSCountResponse() (response *DescribeDDoSCountResponse)
func (*DescribeDDoSCountResponse) FromJsonString ¶
func (r *DescribeDDoSCountResponse) FromJsonString(s string) error
func (*DescribeDDoSCountResponse) ToJsonString ¶
func (r *DescribeDDoSCountResponse) ToJsonString() string
type DescribeDDoSDefendStatusRequest ¶
type DescribeDDoSDefendStatusRequest struct { *tchttp.BaseRequest // 大禹子产品代号(basic表示基础防护;bgp表示独享包;bgp-multip表示共享包;bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源实例ID,只有当Business不是基础防护时才需要填写此字段; Id *string `json:"Id,omitempty" name:"Id"` // 基础防护的IP,只有当Business为基础防护时才需要填写此字段; Ip *string `json:"Ip,omitempty" name:"Ip"` // 只有当Business为基础防护时才需要填写此字段,IP所属的产品类型,取值[public(CVM产品),bm(黑石产品),eni(弹性网卡),vpngw(VPN网关), natgw(NAT网关),waf(Web应用安全产品),fpc(金融产品),gaap(GAAP产品), other(托管IP)] BizType *string `json:"BizType,omitempty" name:"BizType"` // 只有当Business为基础防护时才需要填写此字段,IP所属的产品子类,取值[cvm(CVM),lb(负载均衡器),eni(弹性网卡),vpngw(VPN),natgw(NAT),waf(WAF),fpc(金融),gaap(GAAP),other(托管IP),eip(黑石弹性IP)] DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // 只有当Business为基础防护时才需要填写此字段,IP所属的资源实例ID,当绑定新IP时必须填写此字段;例如是弹性网卡的IP,则InstanceId填写弹性网卡的ID(eni-*); InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 只有当Business为基础防护时才需要填写此字段,表示IP所属的地域,取值: // "bj": 华北地区(北京) // "cd": 西南地区(成都) // "cq": 西南地区(重庆) // "gz": 华南地区(广州) // "gzopen": 华南地区(广州Open) // "hk": 中国香港 // "kr": 东南亚地区(首尔) // "sh": 华东地区(上海) // "shjr": 华东地区(上海金融) // "szjr": 华南地区(深圳金融) // "sg": 东南亚地区(新加坡) // "th": 东南亚地区(泰国) // "de": 欧洲地区(德国) // "usw": 美国西部(硅谷) // "ca": 北美地区(多伦多) // "jp": 日本 // "hzec": 杭州 // "in": 印度 // "use": 美东地区(弗吉尼亚) // "ru": 俄罗斯 // "tpe": 中国台湾 // "nj": 南京 IPRegion *string `json:"IPRegion,omitempty" name:"IPRegion"` }
func NewDescribeDDoSDefendStatusRequest ¶
func NewDescribeDDoSDefendStatusRequest() (request *DescribeDDoSDefendStatusRequest)
func (*DescribeDDoSDefendStatusRequest) FromJsonString ¶
func (r *DescribeDDoSDefendStatusRequest) FromJsonString(s string) error
func (*DescribeDDoSDefendStatusRequest) ToJsonString ¶
func (r *DescribeDDoSDefendStatusRequest) ToJsonString() string
type DescribeDDoSDefendStatusResponse ¶
type DescribeDDoSDefendStatusResponse struct { *tchttp.BaseResponse Response *struct { // 防护状态,为0表示防护处于关闭状态,为1表示防护处于开启状态 // 注意:此字段可能返回 null,表示取不到有效值。 DefendStatus *uint64 `json:"DefendStatus,omitempty" name:"DefendStatus"` // 防护临时关闭的过期时间,当防护状态为开启时此字段为空; // 注意:此字段可能返回 null,表示取不到有效值。 UndefendExpire *string `json:"UndefendExpire,omitempty" name:"UndefendExpire"` // 控制台功能展示字段,为1表示控制台功能展示,为0表示控制台功能隐藏 // 注意:此字段可能返回 null,表示取不到有效值。 ShowFlag *uint64 `json:"ShowFlag,omitempty" name:"ShowFlag"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSDefendStatusResponse ¶
func NewDescribeDDoSDefendStatusResponse() (response *DescribeDDoSDefendStatusResponse)
func (*DescribeDDoSDefendStatusResponse) FromJsonString ¶
func (r *DescribeDDoSDefendStatusResponse) FromJsonString(s string) error
func (*DescribeDDoSDefendStatusResponse) ToJsonString ¶
func (r *DescribeDDoSDefendStatusResponse) ToJsonString() string
type DescribeDDoSEvInfoRequest ¶
type DescribeDDoSEvInfoRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 资源的IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 攻击开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 攻击结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeDDoSEvInfoRequest ¶
func NewDescribeDDoSEvInfoRequest() (request *DescribeDDoSEvInfoRequest)
func (*DescribeDDoSEvInfoRequest) FromJsonString ¶
func (r *DescribeDDoSEvInfoRequest) FromJsonString(s string) error
func (*DescribeDDoSEvInfoRequest) ToJsonString ¶
func (r *DescribeDDoSEvInfoRequest) ToJsonString() string
type DescribeDDoSEvInfoResponse ¶
type DescribeDDoSEvInfoResponse struct { *tchttp.BaseResponse Response *struct { // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 资源的IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 攻击开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 攻击结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // TCP报文攻击包数 TcpPacketSum *uint64 `json:"TcpPacketSum,omitempty" name:"TcpPacketSum"` // TCP报文攻击流量,单位KB TcpKBSum *uint64 `json:"TcpKBSum,omitempty" name:"TcpKBSum"` // UDP报文攻击包数 UdpPacketSum *uint64 `json:"UdpPacketSum,omitempty" name:"UdpPacketSum"` // UDP报文攻击流量,单位KB UdpKBSum *uint64 `json:"UdpKBSum,omitempty" name:"UdpKBSum"` // ICMP报文攻击包数 IcmpPacketSum *uint64 `json:"IcmpPacketSum,omitempty" name:"IcmpPacketSum"` // ICMP报文攻击流量,单位KB IcmpKBSum *uint64 `json:"IcmpKBSum,omitempty" name:"IcmpKBSum"` // 其他报文攻击包数 OtherPacketSum *uint64 `json:"OtherPacketSum,omitempty" name:"OtherPacketSum"` // 其他报文攻击流量,单位KB OtherKBSum *uint64 `json:"OtherKBSum,omitempty" name:"OtherKBSum"` // 累计攻击流量,单位KB TotalTraffic *uint64 `json:"TotalTraffic,omitempty" name:"TotalTraffic"` // 攻击流量带宽峰值 Mbps *uint64 `json:"Mbps,omitempty" name:"Mbps"` // 攻击包速率峰值 Pps *uint64 `json:"Pps,omitempty" name:"Pps"` // PCAP文件下载链接 PcapUrl []*string `json:"PcapUrl,omitempty" name:"PcapUrl" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSEvInfoResponse ¶
func NewDescribeDDoSEvInfoResponse() (response *DescribeDDoSEvInfoResponse)
func (*DescribeDDoSEvInfoResponse) FromJsonString ¶
func (r *DescribeDDoSEvInfoResponse) FromJsonString(s string) error
func (*DescribeDDoSEvInfoResponse) ToJsonString ¶
func (r *DescribeDDoSEvInfoResponse) ToJsonString() string
type DescribeDDoSEvListRequest ¶
type DescribeDDoSEvListRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护) Business *string `json:"Business,omitempty" name:"Business"` // 开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 资源实例ID,当Business为basic时,此字段不用填写(因为基础防护没有资源实例) Id *string `json:"Id,omitempty" name:"Id"` // 资源的IP IpList []*string `json:"IpList,omitempty" name:"IpList" list` // 是否超过弹性防护峰值,取值[yes(是),no(否)],填写空字符串时表示不进行过滤 OverLoad *string `json:"OverLoad,omitempty" name:"OverLoad"` // 一页条数,填0表示不分页 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页起始偏移,取值为(页码-1)*一页条数 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeDDoSEvListRequest ¶
func NewDescribeDDoSEvListRequest() (request *DescribeDDoSEvListRequest)
func (*DescribeDDoSEvListRequest) FromJsonString ¶
func (r *DescribeDDoSEvListRequest) FromJsonString(s string) error
func (*DescribeDDoSEvListRequest) ToJsonString ¶
func (r *DescribeDDoSEvListRequest) ToJsonString() string
type DescribeDDoSEvListResponse ¶
type DescribeDDoSEvListResponse struct { *tchttp.BaseResponse Response *struct { // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 资源的IP // 注意:此字段可能返回 null,表示取不到有效值。 IpList []*string `json:"IpList,omitempty" name:"IpList" list` // 开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // DDoS攻击事件列表 Data []*DDoSEventRecord `json:"Data,omitempty" name:"Data" list` // 总记录数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSEvListResponse ¶
func NewDescribeDDoSEvListResponse() (response *DescribeDDoSEvListResponse)
func (*DescribeDDoSEvListResponse) FromJsonString ¶
func (r *DescribeDDoSEvListResponse) FromJsonString(s string) error
func (*DescribeDDoSEvListResponse) ToJsonString ¶
func (r *DescribeDDoSEvListResponse) ToJsonString() string
type DescribeDDoSIpLogRequest ¶
type DescribeDDoSIpLogRequest struct { *tchttp.BaseRequest // 大禹子产品代号(net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 资源的IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 攻击开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 攻击结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeDDoSIpLogRequest ¶
func NewDescribeDDoSIpLogRequest() (request *DescribeDDoSIpLogRequest)
func (*DescribeDDoSIpLogRequest) FromJsonString ¶
func (r *DescribeDDoSIpLogRequest) FromJsonString(s string) error
func (*DescribeDDoSIpLogRequest) ToJsonString ¶
func (r *DescribeDDoSIpLogRequest) ToJsonString() string
type DescribeDDoSIpLogResponse ¶
type DescribeDDoSIpLogResponse struct { *tchttp.BaseResponse Response *struct { // 大禹子产品代号(net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 资源的IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 攻击开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 攻击结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // IP攻击日志,KeyValue数组,Key-Value取值说明: // Key为"LogTime"时,Value值为IP日志时间 // Key为"LogMessage"时,Value值为Ip日志内容 Data []*KeyValueRecord `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSIpLogResponse ¶
func NewDescribeDDoSIpLogResponse() (response *DescribeDDoSIpLogResponse)
func (*DescribeDDoSIpLogResponse) FromJsonString ¶
func (r *DescribeDDoSIpLogResponse) FromJsonString(s string) error
func (*DescribeDDoSIpLogResponse) ToJsonString ¶
func (r *DescribeDDoSIpLogResponse) ToJsonString() string
type DescribeDDoSNetCountRequest ¶
type DescribeDDoSNetCountRequest struct { *tchttp.BaseRequest // 大禹子产品代号(net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 统计开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 统计结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 指标,取值[traffic(攻击协议流量, 单位KB), pkg(攻击协议报文数), classnum(攻击事件次数)] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` }
func NewDescribeDDoSNetCountRequest ¶
func NewDescribeDDoSNetCountRequest() (request *DescribeDDoSNetCountRequest)
func (*DescribeDDoSNetCountRequest) FromJsonString ¶
func (r *DescribeDDoSNetCountRequest) FromJsonString(s string) error
func (*DescribeDDoSNetCountRequest) ToJsonString ¶
func (r *DescribeDDoSNetCountRequest) ToJsonString() string
type DescribeDDoSNetCountResponse ¶
type DescribeDDoSNetCountResponse struct { *tchttp.BaseResponse Response *struct { // 大禹子产品代号(net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 统计开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 统计结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 指标,取值[traffic(攻击协议流量, 单位KB), pkg(攻击协议报文数), classnum(攻击事件次数)] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Key-Value值数组,Key说明如下, // 当MetricName为traffic时: // key为"TcpKBSum",表示TCP报文流量,单位KB // key为"UdpKBSum",表示UDP报文流量,单位KB // key为"IcmpKBSum",表示ICMP报文流量,单位KB // key为"OtherKBSum",表示其他报文流量,单位KB // // 当MetricName为pkg时: // key为"TcpPacketSum",表示TCP报文个数,单位个 // key为"UdpPacketSum",表示UDP报文个数,单位个 // key为"IcmpPacketSum",表示ICMP报文个数,单位个 // key为"OtherPacketSum",表示其他报文个数,单位个 // // 当MetricName为classnum时: // key的值表示攻击事件类型,其中Key为"UNKNOWNFLOOD",表示未知的攻击事件 Data []*KeyValue `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSNetCountResponse ¶
func NewDescribeDDoSNetCountResponse() (response *DescribeDDoSNetCountResponse)
func (*DescribeDDoSNetCountResponse) FromJsonString ¶
func (r *DescribeDDoSNetCountResponse) FromJsonString(s string) error
func (*DescribeDDoSNetCountResponse) ToJsonString ¶
func (r *DescribeDDoSNetCountResponse) ToJsonString() string
type DescribeDDoSNetEvInfoRequest ¶
type DescribeDDoSNetEvInfoRequest struct { *tchttp.BaseRequest // 大禹子产品代号(net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 攻击开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 攻击结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeDDoSNetEvInfoRequest ¶
func NewDescribeDDoSNetEvInfoRequest() (request *DescribeDDoSNetEvInfoRequest)
func (*DescribeDDoSNetEvInfoRequest) FromJsonString ¶
func (r *DescribeDDoSNetEvInfoRequest) FromJsonString(s string) error
func (*DescribeDDoSNetEvInfoRequest) ToJsonString ¶
func (r *DescribeDDoSNetEvInfoRequest) ToJsonString() string
type DescribeDDoSNetEvInfoResponse ¶
type DescribeDDoSNetEvInfoResponse struct { *tchttp.BaseResponse Response *struct { // 大禹子产品代号(net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 攻击开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 攻击结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // TCP报文攻击包数 TcpPacketSum *uint64 `json:"TcpPacketSum,omitempty" name:"TcpPacketSum"` // TCP报文攻击流量,单位KB TcpKBSum *uint64 `json:"TcpKBSum,omitempty" name:"TcpKBSum"` // UDP报文攻击包数 UdpPacketSum *uint64 `json:"UdpPacketSum,omitempty" name:"UdpPacketSum"` // UDP报文攻击流量,单位KB UdpKBSum *uint64 `json:"UdpKBSum,omitempty" name:"UdpKBSum"` // ICMP报文攻击包数 IcmpPacketSum *uint64 `json:"IcmpPacketSum,omitempty" name:"IcmpPacketSum"` // ICMP报文攻击流量,单位KB IcmpKBSum *uint64 `json:"IcmpKBSum,omitempty" name:"IcmpKBSum"` // 其他报文攻击包数 OtherPacketSum *uint64 `json:"OtherPacketSum,omitempty" name:"OtherPacketSum"` // 其他报文攻击流量,单位KB OtherKBSum *uint64 `json:"OtherKBSum,omitempty" name:"OtherKBSum"` // 累计攻击流量,单位KB TotalTraffic *uint64 `json:"TotalTraffic,omitempty" name:"TotalTraffic"` // 攻击流量带宽峰值 Mbps *uint64 `json:"Mbps,omitempty" name:"Mbps"` // 攻击包速率峰值 Pps *uint64 `json:"Pps,omitempty" name:"Pps"` // PCAP文件下载链接 PcapUrl []*string `json:"PcapUrl,omitempty" name:"PcapUrl" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSNetEvInfoResponse ¶
func NewDescribeDDoSNetEvInfoResponse() (response *DescribeDDoSNetEvInfoResponse)
func (*DescribeDDoSNetEvInfoResponse) FromJsonString ¶
func (r *DescribeDDoSNetEvInfoResponse) FromJsonString(s string) error
func (*DescribeDDoSNetEvInfoResponse) ToJsonString ¶
func (r *DescribeDDoSNetEvInfoResponse) ToJsonString() string
type DescribeDDoSNetEvListRequest ¶
type DescribeDDoSNetEvListRequest struct { *tchttp.BaseRequest // 大禹子产品代号(net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 一页条数,填0表示不分页 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页起始偏移,取值为(页码-1)*一页条数 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeDDoSNetEvListRequest ¶
func NewDescribeDDoSNetEvListRequest() (request *DescribeDDoSNetEvListRequest)
func (*DescribeDDoSNetEvListRequest) FromJsonString ¶
func (r *DescribeDDoSNetEvListRequest) FromJsonString(s string) error
func (*DescribeDDoSNetEvListRequest) ToJsonString ¶
func (r *DescribeDDoSNetEvListRequest) ToJsonString() string
type DescribeDDoSNetEvListResponse ¶
type DescribeDDoSNetEvListResponse struct { *tchttp.BaseResponse Response *struct { // 大禹子产品代号(net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // DDoS攻击事件列表 Data []*DDoSEventRecord `json:"Data,omitempty" name:"Data" list` // 总记录数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSNetEvListResponse ¶
func NewDescribeDDoSNetEvListResponse() (response *DescribeDDoSNetEvListResponse)
func (*DescribeDDoSNetEvListResponse) FromJsonString ¶
func (r *DescribeDDoSNetEvListResponse) FromJsonString(s string) error
func (*DescribeDDoSNetEvListResponse) ToJsonString ¶
func (r *DescribeDDoSNetEvListResponse) ToJsonString() string
type DescribeDDoSNetIpLogRequest ¶
type DescribeDDoSNetIpLogRequest struct { *tchttp.BaseRequest // 大禹子产品代号(net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 攻击开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 攻击结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeDDoSNetIpLogRequest ¶
func NewDescribeDDoSNetIpLogRequest() (request *DescribeDDoSNetIpLogRequest)
func (*DescribeDDoSNetIpLogRequest) FromJsonString ¶
func (r *DescribeDDoSNetIpLogRequest) FromJsonString(s string) error
func (*DescribeDDoSNetIpLogRequest) ToJsonString ¶
func (r *DescribeDDoSNetIpLogRequest) ToJsonString() string
type DescribeDDoSNetIpLogResponse ¶
type DescribeDDoSNetIpLogResponse struct { *tchttp.BaseResponse Response *struct { // 大禹子产品代号(net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 攻击开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 攻击结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // IP攻击日志,KeyValue数组,Key-Value取值说明: // Key为"LogTime"时,Value值为IP日志时间 // Key为"LogMessage"时,Value值为Ip日志内容 Data []*KeyValueRecord `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSNetIpLogResponse ¶
func NewDescribeDDoSNetIpLogResponse() (response *DescribeDDoSNetIpLogResponse)
func (*DescribeDDoSNetIpLogResponse) FromJsonString ¶
func (r *DescribeDDoSNetIpLogResponse) FromJsonString(s string) error
func (*DescribeDDoSNetIpLogResponse) ToJsonString ¶
func (r *DescribeDDoSNetIpLogResponse) ToJsonString() string
type DescribeDDoSNetTrendRequest ¶
type DescribeDDoSNetTrendRequest struct { *tchttp.BaseRequest // 大禹子产品代号(net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 指标,取值[bps(攻击流量带宽,pps(攻击包速率))] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // 统计粒度,取值[300(5分钟),3600(小时),86400(天)] Period *uint64 `json:"Period,omitempty" name:"Period"` // 统计开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 统计结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeDDoSNetTrendRequest ¶
func NewDescribeDDoSNetTrendRequest() (request *DescribeDDoSNetTrendRequest)
func (*DescribeDDoSNetTrendRequest) FromJsonString ¶
func (r *DescribeDDoSNetTrendRequest) FromJsonString(s string) error
func (*DescribeDDoSNetTrendRequest) ToJsonString ¶
func (r *DescribeDDoSNetTrendRequest) ToJsonString() string
type DescribeDDoSNetTrendResponse ¶
type DescribeDDoSNetTrendResponse struct { *tchttp.BaseResponse Response *struct { // 大禹子产品代号(net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 指标,取值[bps(攻击流量带宽,pps(攻击包速率))] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // 统计粒度,取值[300(5分钟),3600(小时),86400(天)] Period *uint64 `json:"Period,omitempty" name:"Period"` // 统计开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 统计结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 值数组 Data []*uint64 `json:"Data,omitempty" name:"Data" list` // 值个数 Count *uint64 `json:"Count,omitempty" name:"Count"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSNetTrendResponse ¶
func NewDescribeDDoSNetTrendResponse() (response *DescribeDDoSNetTrendResponse)
func (*DescribeDDoSNetTrendResponse) FromJsonString ¶
func (r *DescribeDDoSNetTrendResponse) FromJsonString(s string) error
func (*DescribeDDoSNetTrendResponse) ToJsonString ¶
func (r *DescribeDDoSNetTrendResponse) ToJsonString() string
type DescribeDDoSPolicyRequest ¶
type DescribeDDoSPolicyRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 可选字段,资源ID,如果填写则表示该资源绑定的DDoS高级策略 Id *string `json:"Id,omitempty" name:"Id"` }
func NewDescribeDDoSPolicyRequest ¶
func NewDescribeDDoSPolicyRequest() (request *DescribeDDoSPolicyRequest)
func (*DescribeDDoSPolicyRequest) FromJsonString ¶
func (r *DescribeDDoSPolicyRequest) FromJsonString(s string) error
func (*DescribeDDoSPolicyRequest) ToJsonString ¶
func (r *DescribeDDoSPolicyRequest) ToJsonString() string
type DescribeDDoSPolicyResponse ¶
type DescribeDDoSPolicyResponse struct { *tchttp.BaseResponse Response *struct { // DDoS高级策略列表 DDosPolicyList []*DDosPolicy `json:"DDosPolicyList,omitempty" name:"DDosPolicyList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSPolicyResponse ¶
func NewDescribeDDoSPolicyResponse() (response *DescribeDDoSPolicyResponse)
func (*DescribeDDoSPolicyResponse) FromJsonString ¶
func (r *DescribeDDoSPolicyResponse) FromJsonString(s string) error
func (*DescribeDDoSPolicyResponse) ToJsonString ¶
func (r *DescribeDDoSPolicyResponse) ToJsonString() string
type DescribeDDoSTrendRequest ¶
type DescribeDDoSTrendRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护) Business *string `json:"Business,omitempty" name:"Business"` // 资源实例的IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 指标,取值[bps(攻击流量带宽,pps(攻击包速率))] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // 统计粒度,取值[300(5分钟),3600(小时),86400(天)] Period *int64 `json:"Period,omitempty" name:"Period"` // 统计开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 统计结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 资源实例ID,当Business为basic时,此字段不用填写(因为基础防护没有资源实例) Id *string `json:"Id,omitempty" name:"Id"` }
func NewDescribeDDoSTrendRequest ¶
func NewDescribeDDoSTrendRequest() (request *DescribeDDoSTrendRequest)
func (*DescribeDDoSTrendRequest) FromJsonString ¶
func (r *DescribeDDoSTrendRequest) FromJsonString(s string) error
func (*DescribeDDoSTrendRequest) ToJsonString ¶
func (r *DescribeDDoSTrendRequest) ToJsonString() string
type DescribeDDoSTrendResponse ¶
type DescribeDDoSTrendResponse struct { *tchttp.BaseResponse Response *struct { // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID // 注意:此字段可能返回 null,表示取不到有效值。 Id *string `json:"Id,omitempty" name:"Id"` // 资源的IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 指标,取值[bps(攻击流量带宽,pps(攻击包速率))] MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // 统计粒度,取值[300(5分钟),3600(小时),86400(天)] Period *int64 `json:"Period,omitempty" name:"Period"` // 统计开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 统计结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 值数组 Data []*uint64 `json:"Data,omitempty" name:"Data" list` // 值个数 Count *uint64 `json:"Count,omitempty" name:"Count"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSTrendResponse ¶
func NewDescribeDDoSTrendResponse() (response *DescribeDDoSTrendResponse)
func (*DescribeDDoSTrendResponse) FromJsonString ¶
func (r *DescribeDDoSTrendResponse) FromJsonString(s string) error
func (*DescribeDDoSTrendResponse) ToJsonString ¶
func (r *DescribeDDoSTrendResponse) ToJsonString() string
type DescribeDDoSUsedStatisRequest ¶
type DescribeDDoSUsedStatisRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP) Business *string `json:"Business,omitempty" name:"Business"` }
func NewDescribeDDoSUsedStatisRequest ¶
func NewDescribeDDoSUsedStatisRequest() (request *DescribeDDoSUsedStatisRequest)
func (*DescribeDDoSUsedStatisRequest) FromJsonString ¶
func (r *DescribeDDoSUsedStatisRequest) FromJsonString(s string) error
func (*DescribeDDoSUsedStatisRequest) ToJsonString ¶
func (r *DescribeDDoSUsedStatisRequest) ToJsonString() string
type DescribeDDoSUsedStatisResponse ¶
type DescribeDDoSUsedStatisResponse struct { *tchttp.BaseResponse Response *struct { // 字段值,如下: // Days:高防资源使用天数 // Attacks:DDoS防护次数 Data []*KeyValue `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDDoSUsedStatisResponse ¶
func NewDescribeDDoSUsedStatisResponse() (response *DescribeDDoSUsedStatisResponse)
func (*DescribeDDoSUsedStatisResponse) FromJsonString ¶
func (r *DescribeDDoSUsedStatisResponse) FromJsonString(s string) error
func (*DescribeDDoSUsedStatisResponse) ToJsonString ¶
func (r *DescribeDDoSUsedStatisResponse) ToJsonString() string
type DescribeIPProductInfoRequest ¶
type DescribeIPProductInfoRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgp表示独享包;bgp-multip表示共享包) Business *string `json:"Business,omitempty" name:"Business"` // IP列表 IpList []*string `json:"IpList,omitempty" name:"IpList" list` }
func NewDescribeIPProductInfoRequest ¶
func NewDescribeIPProductInfoRequest() (request *DescribeIPProductInfoRequest)
func (*DescribeIPProductInfoRequest) FromJsonString ¶
func (r *DescribeIPProductInfoRequest) FromJsonString(s string) error
func (*DescribeIPProductInfoRequest) ToJsonString ¶
func (r *DescribeIPProductInfoRequest) ToJsonString() string
type DescribeIPProductInfoResponse ¶
type DescribeIPProductInfoResponse struct { *tchttp.BaseResponse Response *struct { // 云产品信息列表,如果没有查询到则返回空数组,值说明如下: // Key为ProductName时,value表示云产品实例的名称; // Key为ProductInstanceId时,value表示云产品实例的ID; // Key为ProductType时,value表示的是云产品的类型(cvm表示云主机、clb表示负载均衡); // Key为IP时,value表示云产品实例的IP; Data []*KeyValueRecord `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeIPProductInfoResponse ¶
func NewDescribeIPProductInfoResponse() (response *DescribeIPProductInfoResponse)
func (*DescribeIPProductInfoResponse) FromJsonString ¶
func (r *DescribeIPProductInfoResponse) FromJsonString(s string) error
func (*DescribeIPProductInfoResponse) ToJsonString ¶
func (r *DescribeIPProductInfoResponse) ToJsonString() string
type DescribeInsurePacksRequest ¶
type DescribeInsurePacksRequest struct { *tchttp.BaseRequest // 可选字段,保险包套餐ID,当要获取指定ID(例如insure-000000xe)的保险包套餐时请填写此字段; IdList []*string `json:"IdList,omitempty" name:"IdList" list` }
func NewDescribeInsurePacksRequest ¶
func NewDescribeInsurePacksRequest() (request *DescribeInsurePacksRequest)
func (*DescribeInsurePacksRequest) FromJsonString ¶
func (r *DescribeInsurePacksRequest) FromJsonString(s string) error
func (*DescribeInsurePacksRequest) ToJsonString ¶
func (r *DescribeInsurePacksRequest) ToJsonString() string
type DescribeInsurePacksResponse ¶
type DescribeInsurePacksResponse struct { *tchttp.BaseResponse Response *struct { // 保险包套餐列表 InsurePacks []*KeyValueRecord `json:"InsurePacks,omitempty" name:"InsurePacks" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInsurePacksResponse ¶
func NewDescribeInsurePacksResponse() (response *DescribeInsurePacksResponse)
func (*DescribeInsurePacksResponse) FromJsonString ¶
func (r *DescribeInsurePacksResponse) FromJsonString(s string) error
func (*DescribeInsurePacksResponse) ToJsonString ¶
func (r *DescribeInsurePacksResponse) ToJsonString() string
type DescribeIpBlockListRequest ¶
type DescribeIpBlockListRequest struct {
*tchttp.BaseRequest
}
func NewDescribeIpBlockListRequest ¶
func NewDescribeIpBlockListRequest() (request *DescribeIpBlockListRequest)
func (*DescribeIpBlockListRequest) FromJsonString ¶
func (r *DescribeIpBlockListRequest) FromJsonString(s string) error
func (*DescribeIpBlockListRequest) ToJsonString ¶
func (r *DescribeIpBlockListRequest) ToJsonString() string
type DescribeIpBlockListResponse ¶
type DescribeIpBlockListResponse struct { *tchttp.BaseResponse Response *struct { // IP封堵列表 List []*IpBlockData `json:"List,omitempty" name:"List" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeIpBlockListResponse ¶
func NewDescribeIpBlockListResponse() (response *DescribeIpBlockListResponse)
func (*DescribeIpBlockListResponse) FromJsonString ¶
func (r *DescribeIpBlockListResponse) FromJsonString(s string) error
func (*DescribeIpBlockListResponse) ToJsonString ¶
func (r *DescribeIpBlockListResponse) ToJsonString() string
type DescribeIpUnBlockListRequest ¶
type DescribeIpUnBlockListRequest struct { *tchttp.BaseRequest // 开始时间 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // IP(不为空时,进行IP过滤) Ip *string `json:"Ip,omitempty" name:"Ip"` // 分页参数(不为空时,进行分页查询),此字段后面会弃用,请用Limit和Offset字段代替; Paging *Paging `json:"Paging,omitempty" name:"Paging"` // 一页条数,填0表示不分页 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页起始偏移,取值为(页码-1)*一页条数 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeIpUnBlockListRequest ¶
func NewDescribeIpUnBlockListRequest() (request *DescribeIpUnBlockListRequest)
func (*DescribeIpUnBlockListRequest) FromJsonString ¶
func (r *DescribeIpUnBlockListRequest) FromJsonString(s string) error
func (*DescribeIpUnBlockListRequest) ToJsonString ¶
func (r *DescribeIpUnBlockListRequest) ToJsonString() string
type DescribeIpUnBlockListResponse ¶
type DescribeIpUnBlockListResponse struct { *tchttp.BaseResponse Response *struct { // 开始时间 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // IP解封记录 List []*IpUnBlockData `json:"List,omitempty" name:"List" list` // 总记录数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeIpUnBlockListResponse ¶
func NewDescribeIpUnBlockListResponse() (response *DescribeIpUnBlockListResponse)
func (*DescribeIpUnBlockListResponse) FromJsonString ¶
func (r *DescribeIpUnBlockListResponse) FromJsonString(s string) error
func (*DescribeIpUnBlockListResponse) ToJsonString ¶
func (r *DescribeIpUnBlockListResponse) ToJsonString() string
type DescribeL4HealthConfigRequest ¶
type DescribeL4HealthConfigRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 规则ID数组,当导出所有规则的健康检查配置则不填或填空数组; RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList" list` }
func NewDescribeL4HealthConfigRequest ¶
func NewDescribeL4HealthConfigRequest() (request *DescribeL4HealthConfigRequest)
func (*DescribeL4HealthConfigRequest) FromJsonString ¶
func (r *DescribeL4HealthConfigRequest) FromJsonString(s string) error
func (*DescribeL4HealthConfigRequest) ToJsonString ¶
func (r *DescribeL4HealthConfigRequest) ToJsonString() string
type DescribeL4HealthConfigResponse ¶
type DescribeL4HealthConfigResponse struct { *tchttp.BaseResponse Response *struct { // 四层健康检查配置数组 HealthConfig []*L4HealthConfig `json:"HealthConfig,omitempty" name:"HealthConfig" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeL4HealthConfigResponse ¶
func NewDescribeL4HealthConfigResponse() (response *DescribeL4HealthConfigResponse)
func (*DescribeL4HealthConfigResponse) FromJsonString ¶
func (r *DescribeL4HealthConfigResponse) FromJsonString(s string) error
func (*DescribeL4HealthConfigResponse) ToJsonString ¶
func (r *DescribeL4HealthConfigResponse) ToJsonString() string
type DescribeL4RulesErrHealthRequest ¶
type DescribeL4RulesErrHealthRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` }
func NewDescribeL4RulesErrHealthRequest ¶
func NewDescribeL4RulesErrHealthRequest() (request *DescribeL4RulesErrHealthRequest)
func (*DescribeL4RulesErrHealthRequest) FromJsonString ¶
func (r *DescribeL4RulesErrHealthRequest) FromJsonString(s string) error
func (*DescribeL4RulesErrHealthRequest) ToJsonString ¶
func (r *DescribeL4RulesErrHealthRequest) ToJsonString() string
type DescribeL4RulesErrHealthResponse ¶
type DescribeL4RulesErrHealthResponse struct { *tchttp.BaseResponse Response *struct { // 异常规则的总数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 异常规则列表,返回值说明: Key值为规则ID,Value值为异常IP,多个IP用","分割 ErrHealths []*KeyValue `json:"ErrHealths,omitempty" name:"ErrHealths" list` // 异常规则列表(提供更多的错误相关信息),返回值说明: // Key值为RuleId时,Value值为规则ID; // Key值为Protocol时,Value值为规则的转发协议; // Key值为VirtualPort时,Value值为规则的转发端口; // Key值为ErrMessage时,Value值为健康检查异常信息; // 健康检查异常信息的格式为"SourceIp:1.1.1.1|SourcePort:1234|AbnormalStatTime:1570689065|AbnormalReason:connection time out|Interval:20|CheckNum:6|FailNum:6" 多个源IP的错误信息用,分割, // SourceIp表示源站IP,SourcePort表示源站端口,AbnormalStatTime表示异常时间,AbnormalReason表示异常原因,Interval表示检查周期,CheckNum表示检查次数,FailNum表示失败次数; ExtErrHealths []*KeyValueRecord `json:"ExtErrHealths,omitempty" name:"ExtErrHealths" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeL4RulesErrHealthResponse ¶
func NewDescribeL4RulesErrHealthResponse() (response *DescribeL4RulesErrHealthResponse)
func (*DescribeL4RulesErrHealthResponse) FromJsonString ¶
func (r *DescribeL4RulesErrHealthResponse) FromJsonString(s string) error
func (*DescribeL4RulesErrHealthResponse) ToJsonString ¶
func (r *DescribeL4RulesErrHealthResponse) ToJsonString() string
type DescribeL7HealthConfigRequest ¶
type DescribeL7HealthConfigRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 规则ID数组,当导出所有规则的健康检查配置则不填或填空数组; RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList" list` }
func NewDescribeL7HealthConfigRequest ¶
func NewDescribeL7HealthConfigRequest() (request *DescribeL7HealthConfigRequest)
func (*DescribeL7HealthConfigRequest) FromJsonString ¶
func (r *DescribeL7HealthConfigRequest) FromJsonString(s string) error
func (*DescribeL7HealthConfigRequest) ToJsonString ¶
func (r *DescribeL7HealthConfigRequest) ToJsonString() string
type DescribeL7HealthConfigResponse ¶
type DescribeL7HealthConfigResponse struct { *tchttp.BaseResponse Response *struct { // 七层健康检查配置数组 HealthConfig []*L7HealthConfig `json:"HealthConfig,omitempty" name:"HealthConfig" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeL7HealthConfigResponse ¶
func NewDescribeL7HealthConfigResponse() (response *DescribeL7HealthConfigResponse)
func (*DescribeL7HealthConfigResponse) FromJsonString ¶
func (r *DescribeL7HealthConfigResponse) FromJsonString(s string) error
func (*DescribeL7HealthConfigResponse) ToJsonString ¶
func (r *DescribeL7HealthConfigResponse) ToJsonString() string
type DescribePackIndexRequest ¶
type DescribePackIndexRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示高防包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` }
func NewDescribePackIndexRequest ¶
func NewDescribePackIndexRequest() (request *DescribePackIndexRequest)
func (*DescribePackIndexRequest) FromJsonString ¶
func (r *DescribePackIndexRequest) FromJsonString(s string) error
func (*DescribePackIndexRequest) ToJsonString ¶
func (r *DescribePackIndexRequest) ToJsonString() string
type DescribePackIndexResponse ¶
type DescribePackIndexResponse struct { *tchttp.BaseResponse Response *struct { // 字段值,如下: // TotalPackCount:资源数 // AttackPackCount:清洗中的资源数 // BlockPackCount:封堵中的资源数 // ExpiredPackCount:过期的资源数 // ExpireingPackCount:即将过期的资源数 // IsolatePackCount:隔离中的资源数 Data []*KeyValue `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribePackIndexResponse ¶
func NewDescribePackIndexResponse() (response *DescribePackIndexResponse)
func (*DescribePackIndexResponse) FromJsonString ¶
func (r *DescribePackIndexResponse) FromJsonString(s string) error
func (*DescribePackIndexResponse) ToJsonString ¶
func (r *DescribePackIndexResponse) ToJsonString() string
type DescribePcapRequest ¶
type DescribePcapRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源实例ID Id *string `json:"Id,omitempty" name:"Id"` // 攻击事件的开始时间,格式为"2018-08-28 07:00:00" StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 攻击事件的结束时间,格式为"2018-08-28 07:02:00" EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 资源的IP,只有当Business为net时才需要填写资源实例下的IP; Ip *string `json:"Ip,omitempty" name:"Ip"` }
func NewDescribePcapRequest ¶
func NewDescribePcapRequest() (request *DescribePcapRequest)
func (*DescribePcapRequest) FromJsonString ¶
func (r *DescribePcapRequest) FromJsonString(s string) error
func (*DescribePcapRequest) ToJsonString ¶
func (r *DescribePcapRequest) ToJsonString() string
type DescribePcapResponse ¶
type DescribePcapResponse struct { *tchttp.BaseResponse Response *struct { // pcap包的下载链接列表,无pcap包时为空数组; PcapUrlList []*string `json:"PcapUrlList,omitempty" name:"PcapUrlList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribePcapResponse ¶
func NewDescribePcapResponse() (response *DescribePcapResponse)
func (*DescribePcapResponse) FromJsonString ¶
func (r *DescribePcapResponse) FromJsonString(s string) error
func (*DescribePcapResponse) ToJsonString ¶
func (r *DescribePcapResponse) ToJsonString() string
type DescribePolicyCaseRequest ¶
type DescribePolicyCaseRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 策略场景ID SceneId *string `json:"SceneId,omitempty" name:"SceneId"` }
func NewDescribePolicyCaseRequest ¶
func NewDescribePolicyCaseRequest() (request *DescribePolicyCaseRequest)
func (*DescribePolicyCaseRequest) FromJsonString ¶
func (r *DescribePolicyCaseRequest) FromJsonString(s string) error
func (*DescribePolicyCaseRequest) ToJsonString ¶
func (r *DescribePolicyCaseRequest) ToJsonString() string
type DescribePolicyCaseResponse ¶
type DescribePolicyCaseResponse struct { *tchttp.BaseResponse Response *struct { // 策略场景列表 CaseList []*KeyValueRecord `json:"CaseList,omitempty" name:"CaseList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribePolicyCaseResponse ¶
func NewDescribePolicyCaseResponse() (response *DescribePolicyCaseResponse)
func (*DescribePolicyCaseResponse) FromJsonString ¶
func (r *DescribePolicyCaseResponse) FromJsonString(s string) error
func (*DescribePolicyCaseResponse) ToJsonString ¶
func (r *DescribePolicyCaseResponse) ToJsonString() string
type DescribeResIpListRequest ¶
type DescribeResIpListRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID, 如果不填,则获取用户所有资源的IP IdList []*string `json:"IdList,omitempty" name:"IdList" list` }
func NewDescribeResIpListRequest ¶
func NewDescribeResIpListRequest() (request *DescribeResIpListRequest)
func (*DescribeResIpListRequest) FromJsonString ¶
func (r *DescribeResIpListRequest) FromJsonString(s string) error
func (*DescribeResIpListRequest) ToJsonString ¶
func (r *DescribeResIpListRequest) ToJsonString() string
type DescribeResIpListResponse ¶
type DescribeResIpListResponse struct { *tchttp.BaseResponse Response *struct { // 资源的IP列表 Resource []*ResourceIp `json:"Resource,omitempty" name:"Resource" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResIpListResponse ¶
func NewDescribeResIpListResponse() (response *DescribeResIpListResponse)
func (*DescribeResIpListResponse) FromJsonString ¶
func (r *DescribeResIpListResponse) FromJsonString(s string) error
func (*DescribeResIpListResponse) ToJsonString ¶
func (r *DescribeResIpListResponse) ToJsonString() string
type DescribeResourceListRequest ¶
type DescribeResourceListRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgp表示独享包;bgp-multip表示共享包;bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 地域码搜索,可选,当不指定地域时空数组,当指定地域时,填地域码。例如:["gz", "sh"] RegionList []*string `json:"RegionList,omitempty" name:"RegionList" list` // 线路搜索,可选,只有当获取高防IP资源列表是可以选填,取值为[1(BGP线路),2(南京电信),3(南京联通),99(第三方合作线路)],当获取其他产品时请填空数组; Line []*uint64 `json:"Line,omitempty" name:"Line" list` // 资源ID搜索,可选,当不为空数组时表示获取指定资源的资源列表; IdList []*string `json:"IdList,omitempty" name:"IdList" list` // 资源名称搜索,可选,当不为空字符串时表示按名称搜索资源; Name *string `json:"Name,omitempty" name:"Name"` // IP搜索列表,可选,当不为空时表示安装IP搜索资源; IpList []*string `json:"IpList,omitempty" name:"IpList" list` // 资源状态搜索列表,可选,取值为[0(运行中), 1(清洗中), 2(封堵中)],当填空数组时不进行状态搜索; Status []*uint64 `json:"Status,omitempty" name:"Status" list` // 即将到期搜索;可选,取值为[0(不搜索),1(搜索即将到期的资源)] Expire *uint64 `json:"Expire,omitempty" name:"Expire"` // 排序字段,可选 OderBy []*OrderBy `json:"OderBy,omitempty" name:"OderBy" list` // 一页条数,填0表示不分页 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页起始偏移,取值为(页码-1)*一页条数 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 高防IP专业版资源的CNAME,可选,只对高防IP专业版资源列表有效; CName *string `json:"CName,omitempty" name:"CName"` // 高防IP专业版资源的域名,可选,只对高防IP专业版资源列表有效; Domain *string `json:"Domain,omitempty" name:"Domain"` }
func NewDescribeResourceListRequest ¶
func NewDescribeResourceListRequest() (request *DescribeResourceListRequest)
func (*DescribeResourceListRequest) FromJsonString ¶
func (r *DescribeResourceListRequest) FromJsonString(s string) error
func (*DescribeResourceListRequest) ToJsonString ¶
func (r *DescribeResourceListRequest) ToJsonString() string
type DescribeResourceListResponse ¶
type DescribeResourceListResponse struct { *tchttp.BaseResponse Response *struct { // 总记录数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 资源记录列表,返回Key值说明: // "Key": "CreateTime" 表示资源实例购买时间 // "Key": "Region" 表示资源实例的地域 // "Key": "BoundIP" 表示独享包实例绑定的IP // "Key": "Id" 表示资源实例的ID // "Key": "CCEnabled" 表示资源实例的CC防护开关状态 // "Key": "DDoSThreshold" 表示资源实例的DDoS的清洗阈值 // "Key": "BoundStatus" 表示独享包或共享包实例的绑定IP操作状态(绑定中或绑定完成) // "Key": "Type" 此字段弃用 // "Key": "ElasticLimit" 表示资源实例的弹性防护值 // "Key": "DDoSAI" 表示资源实例的DDoS AI防护开关 // "Key": "Bandwidth" 表示资源实例的保底防护值 // "Key": "OverloadCount" 表示资源实例受到超过弹性防护值的次数 // "Key": "Status" 表示资源实例的状态(idle:运行中, attacking:攻击中, blocking:封堵中, isolate:隔离中) // "Key": "Lbid" 此字段弃用 // "Key": "ShowFlag" 此字段弃用 // "Key": "Expire" 表示资源实例的过期时间 // "Key": "CCThreshold" 表示资源实例的CC防护触发阈值 // "Key": "AutoRenewFlag" 表示资源实例的自动续费是否开启 // "Key": "IspCode" 表示独享包或共享包的线路(0-电信, 1-联通, 2-移动, 5-BGP) // "Key": "PackType" 表示套餐包类型 // "Key": "PackId" 表示套餐包ID // "Key": "Name" 表示资源实例的名称 // "Key": "Locked" 此字段弃用 // "Key": "IpDDoSLevel" 表示资源实例的防护等级(low-宽松, middle-正常, high-严格) // "Key": "DefendStatus" 表示资源实例的DDoS防护状态(防护开启或临时关闭) // "Key": "UndefendExpire" 表示资源实例的DDoS防护临时关闭结束时间 // "Key": "Tgw" 表示资源实例是否是新资源 ServicePacks []*KeyValueRecord `json:"ServicePacks,omitempty" name:"ServicePacks" list` // 大禹子产品代号(bgp表示独享包;bgp-multip表示共享包;bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourceListResponse ¶
func NewDescribeResourceListResponse() (response *DescribeResourceListResponse)
func (*DescribeResourceListResponse) FromJsonString ¶
func (r *DescribeResourceListResponse) FromJsonString(s string) error
func (*DescribeResourceListResponse) ToJsonString ¶
func (r *DescribeResourceListResponse) ToJsonString() string
type DescribeRuleSetsRequest ¶
type DescribeRuleSetsRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID列表 IdList []*string `json:"IdList,omitempty" name:"IdList" list` }
func NewDescribeRuleSetsRequest ¶
func NewDescribeRuleSetsRequest() (request *DescribeRuleSetsRequest)
func (*DescribeRuleSetsRequest) FromJsonString ¶
func (r *DescribeRuleSetsRequest) FromJsonString(s string) error
func (*DescribeRuleSetsRequest) ToJsonString ¶
func (r *DescribeRuleSetsRequest) ToJsonString() string
type DescribeRuleSetsResponse ¶
type DescribeRuleSetsResponse struct { *tchttp.BaseResponse Response *struct { // 规则记录数数组,取值说明: // Key值为"Id"时,Value表示资源ID // Key值为"RuleIdList"时,Value值表示资源的规则ID,多个规则ID用","分割 // Key值为"RuleNameList"时,Value值表示资源的规则名,多个规则名用","分割 // Key值为"RuleNum"时,Value值表示资源的规则数 L4RuleSets []*KeyValueRecord `json:"L4RuleSets,omitempty" name:"L4RuleSets" list` // 规则记录数数组,取值说明: // Key值为"Id"时,Value表示资源ID // Key值为"RuleIdList"时,Value值表示资源的规则ID,多个规则ID用","分割 // Key值为"RuleNameList"时,Value值表示资源的规则名,多个规则名用","分割 // Key值为"RuleNum"时,Value值表示资源的规则数 L7RuleSets []*KeyValueRecord `json:"L7RuleSets,omitempty" name:"L7RuleSets" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeRuleSetsResponse ¶
func NewDescribeRuleSetsResponse() (response *DescribeRuleSetsResponse)
func (*DescribeRuleSetsResponse) FromJsonString ¶
func (r *DescribeRuleSetsResponse) FromJsonString(s string) error
func (*DescribeRuleSetsResponse) ToJsonString ¶
func (r *DescribeRuleSetsResponse) ToJsonString() string
type DescribeSchedulingDomainListRequest ¶
type DescribeSchedulingDomainListRequest struct { *tchttp.BaseRequest // 一页条数,填0表示不分页 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页起始偏移,取值为(页码-1)*一页条数 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 可选,筛选特定的域名 Domain *string `json:"Domain,omitempty" name:"Domain"` }
func NewDescribeSchedulingDomainListRequest ¶
func NewDescribeSchedulingDomainListRequest() (request *DescribeSchedulingDomainListRequest)
func (*DescribeSchedulingDomainListRequest) FromJsonString ¶
func (r *DescribeSchedulingDomainListRequest) FromJsonString(s string) error
func (*DescribeSchedulingDomainListRequest) ToJsonString ¶
func (r *DescribeSchedulingDomainListRequest) ToJsonString() string
type DescribeSchedulingDomainListResponse ¶
type DescribeSchedulingDomainListResponse struct { *tchttp.BaseResponse Response *struct { // 调度域名总数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 调度域名列表信息 DomainList []*SchedulingDomain `json:"DomainList,omitempty" name:"DomainList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSchedulingDomainListResponse ¶
func NewDescribeSchedulingDomainListResponse() (response *DescribeSchedulingDomainListResponse)
func (*DescribeSchedulingDomainListResponse) FromJsonString ¶
func (r *DescribeSchedulingDomainListResponse) FromJsonString(s string) error
func (*DescribeSchedulingDomainListResponse) ToJsonString ¶
func (r *DescribeSchedulingDomainListResponse) ToJsonString() string
type DescribeSecIndexRequest ¶
type DescribeSecIndexRequest struct {
*tchttp.BaseRequest
}
func NewDescribeSecIndexRequest ¶
func NewDescribeSecIndexRequest() (request *DescribeSecIndexRequest)
func (*DescribeSecIndexRequest) FromJsonString ¶
func (r *DescribeSecIndexRequest) FromJsonString(s string) error
func (*DescribeSecIndexRequest) ToJsonString ¶
func (r *DescribeSecIndexRequest) ToJsonString() string
type DescribeSecIndexResponse ¶
type DescribeSecIndexResponse struct { *tchttp.BaseResponse Response *struct { // 字段值,如下: // AttackIpCount:受攻击的IP数 // AttackCount:攻击次数 // BlockCount:封堵次数 // MaxMbps:攻击峰值Mbps // IpNum:统计的IP数据 Data []*KeyValue `json:"Data,omitempty" name:"Data" list` // 本月开始时间 BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"` // 本月结束时间 EndDate *string `json:"EndDate,omitempty" name:"EndDate"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSecIndexResponse ¶
func NewDescribeSecIndexResponse() (response *DescribeSecIndexResponse)
func (*DescribeSecIndexResponse) FromJsonString ¶
func (r *DescribeSecIndexResponse) FromJsonString(s string) error
func (*DescribeSecIndexResponse) ToJsonString ¶
func (r *DescribeSecIndexResponse) ToJsonString() string
type DescribeSourceIpSegmentRequest ¶
type DescribeSourceIpSegmentRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` }
func NewDescribeSourceIpSegmentRequest ¶
func NewDescribeSourceIpSegmentRequest() (request *DescribeSourceIpSegmentRequest)
func (*DescribeSourceIpSegmentRequest) FromJsonString ¶
func (r *DescribeSourceIpSegmentRequest) FromJsonString(s string) error
func (*DescribeSourceIpSegmentRequest) ToJsonString ¶
func (r *DescribeSourceIpSegmentRequest) ToJsonString() string
type DescribeSourceIpSegmentResponse ¶
type DescribeSourceIpSegmentResponse struct { *tchttp.BaseResponse Response *struct { // 回源IP段,多个用";"分隔 Data *string `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSourceIpSegmentResponse ¶
func NewDescribeSourceIpSegmentResponse() (response *DescribeSourceIpSegmentResponse)
func (*DescribeSourceIpSegmentResponse) FromJsonString ¶
func (r *DescribeSourceIpSegmentResponse) FromJsonString(s string) error
func (*DescribeSourceIpSegmentResponse) ToJsonString ¶
func (r *DescribeSourceIpSegmentResponse) ToJsonString() string
type DescribeTransmitStatisRequest ¶
type DescribeTransmitStatisRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版;bgp表示独享包;bgp-multip表示共享包) Business *string `json:"Business,omitempty" name:"Business"` // 资源实例ID Id *string `json:"Id,omitempty" name:"Id"` // 指标名,取值: // traffic表示流量带宽; // pkg表示包速率; MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // 统计时间粒度(300表示5分钟;3600表示小时;86400表示天) Period *uint64 `json:"Period,omitempty" name:"Period"` // 统计开始时间,秒部分保持为0,分钟部分为5的倍数 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 统计结束时间,秒部分保持为0,分钟部分为5的倍数 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 资源的IP(当Business为bgp-multip时必填,且仅支持一个IP);当不填写时,默认统计资源实例的所有IP;资源实例有多个IP(比如高防IP专业版)时,统计方式是求和; IpList []*string `json:"IpList,omitempty" name:"IpList" list` }
func NewDescribeTransmitStatisRequest ¶
func NewDescribeTransmitStatisRequest() (request *DescribeTransmitStatisRequest)
func (*DescribeTransmitStatisRequest) FromJsonString ¶
func (r *DescribeTransmitStatisRequest) FromJsonString(s string) error
func (*DescribeTransmitStatisRequest) ToJsonString ¶
func (r *DescribeTransmitStatisRequest) ToJsonString() string
type DescribeTransmitStatisResponse ¶
type DescribeTransmitStatisResponse struct { *tchttp.BaseResponse Response *struct { // 当MetricName=traffic时,表示入流量带宽,单位bps; // 当MetricName=pkg时,表示入包速率,单位pps; InDataList []*float64 `json:"InDataList,omitempty" name:"InDataList" list` // 当MetricName=traffic时,表示出流量带宽,单位bps; // 当MetricName=pkg时,表示出包速率,单位pps; OutDataList []*float64 `json:"OutDataList,omitempty" name:"OutDataList" list` // 指标名: // traffic表示流量带宽; // pkg表示包速率; MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTransmitStatisResponse ¶
func NewDescribeTransmitStatisResponse() (response *DescribeTransmitStatisResponse)
func (*DescribeTransmitStatisResponse) FromJsonString ¶
func (r *DescribeTransmitStatisResponse) FromJsonString(s string) error
func (*DescribeTransmitStatisResponse) ToJsonString ¶
func (r *DescribeTransmitStatisResponse) ToJsonString() string
type DescribeUnBlockStatisRequest ¶
type DescribeUnBlockStatisRequest struct {
*tchttp.BaseRequest
}
func NewDescribeUnBlockStatisRequest ¶
func NewDescribeUnBlockStatisRequest() (request *DescribeUnBlockStatisRequest)
func (*DescribeUnBlockStatisRequest) FromJsonString ¶
func (r *DescribeUnBlockStatisRequest) FromJsonString(s string) error
func (*DescribeUnBlockStatisRequest) ToJsonString ¶
func (r *DescribeUnBlockStatisRequest) ToJsonString() string
type DescribeUnBlockStatisResponse ¶
type DescribeUnBlockStatisResponse struct { *tchttp.BaseResponse Response *struct { // 解封总配额数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 已使用次数 Used *uint64 `json:"Used,omitempty" name:"Used"` // 统计起始时间 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 统计结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeUnBlockStatisResponse ¶
func NewDescribeUnBlockStatisResponse() (response *DescribeUnBlockStatisResponse)
func (*DescribeUnBlockStatisResponse) FromJsonString ¶
func (r *DescribeUnBlockStatisResponse) FromJsonString(s string) error
func (*DescribeUnBlockStatisResponse) ToJsonString ¶
func (r *DescribeUnBlockStatisResponse) ToJsonString() string
type DescribleL4RulesRequest ¶
type DescribleL4RulesRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 规则ID,可选参数,填写后获取指定的规则 RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList" list` // 一页条数,填0表示不分页 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页起始偏移,取值为(页码-1)*一页条数 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribleL4RulesRequest ¶
func NewDescribleL4RulesRequest() (request *DescribleL4RulesRequest)
func (*DescribleL4RulesRequest) FromJsonString ¶
func (r *DescribleL4RulesRequest) FromJsonString(s string) error
func (*DescribleL4RulesRequest) ToJsonString ¶
func (r *DescribleL4RulesRequest) ToJsonString() string
type DescribleL4RulesResponse ¶
type DescribleL4RulesResponse struct { *tchttp.BaseResponse Response *struct { // 转发规则列表 Rules []*L4RuleEntry `json:"Rules,omitempty" name:"Rules" list` // 总规则数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 健康检查配置列表 Healths []*L4RuleHealth `json:"Healths,omitempty" name:"Healths" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribleL4RulesResponse ¶
func NewDescribleL4RulesResponse() (response *DescribleL4RulesResponse)
func (*DescribleL4RulesResponse) FromJsonString ¶
func (r *DescribleL4RulesResponse) FromJsonString(s string) error
func (*DescribleL4RulesResponse) ToJsonString ¶
func (r *DescribleL4RulesResponse) ToJsonString() string
type DescribleL7RulesRequest ¶
type DescribleL7RulesRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 规则ID,可选参数,填写后获取指定的规则 RuleIdList []*string `json:"RuleIdList,omitempty" name:"RuleIdList" list` // 一页条数,填0表示不分页 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页起始偏移,取值为(页码-1)*一页条数 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 域名搜索,选填,当需要搜索域名请填写 Domain *string `json:"Domain,omitempty" name:"Domain"` // 转发协议搜索,选填,取值[http, https, http/https] ProtocolList []*string `json:"ProtocolList,omitempty" name:"ProtocolList" list` // 状态搜索,选填,取值[0(规则配置成功),1(规则配置生效中),2(规则配置失败),3(规则删除生效中),5(规则删除失败),6(规则等待配置),7(规则等待删除),8(规则待配置证书)] StatusList []*uint64 `json:"StatusList,omitempty" name:"StatusList" list` }
func NewDescribleL7RulesRequest ¶
func NewDescribleL7RulesRequest() (request *DescribleL7RulesRequest)
func (*DescribleL7RulesRequest) FromJsonString ¶
func (r *DescribleL7RulesRequest) FromJsonString(s string) error
func (*DescribleL7RulesRequest) ToJsonString ¶
func (r *DescribleL7RulesRequest) ToJsonString() string
type DescribleL7RulesResponse ¶
type DescribleL7RulesResponse struct { *tchttp.BaseResponse Response *struct { // 转发规则列表 Rules []*L7RuleEntry `json:"Rules,omitempty" name:"Rules" list` // 总规则数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 健康检查配置列表 Healths []*L7RuleHealth `json:"Healths,omitempty" name:"Healths" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribleL7RulesResponse ¶
func NewDescribleL7RulesResponse() (response *DescribleL7RulesResponse)
func (*DescribleL7RulesResponse) FromJsonString ¶
func (r *DescribleL7RulesResponse) FromJsonString(s string) error
func (*DescribleL7RulesResponse) ToJsonString ¶
func (r *DescribleL7RulesResponse) ToJsonString() string
type DescribleRegionCountRequest ¶
type DescribleRegionCountRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;) Business *string `json:"Business,omitempty" name:"Business"` // 根据线路统计,取值为[1(BGP线路),2(南京电信),3(南京联通),99(第三方合作线路)];只对高防IP产品有效,其他产品此字段忽略 LineList []*uint64 `json:"LineList,omitempty" name:"LineList" list` }
func NewDescribleRegionCountRequest ¶
func NewDescribleRegionCountRequest() (request *DescribleRegionCountRequest)
func (*DescribleRegionCountRequest) FromJsonString ¶
func (r *DescribleRegionCountRequest) FromJsonString(s string) error
func (*DescribleRegionCountRequest) ToJsonString ¶
func (r *DescribleRegionCountRequest) ToJsonString() string
type DescribleRegionCountResponse ¶
type DescribleRegionCountResponse struct { *tchttp.BaseResponse Response *struct { // 地域资源实例数 RegionList []*RegionInstanceCount `json:"RegionList,omitempty" name:"RegionList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribleRegionCountResponse ¶
func NewDescribleRegionCountResponse() (response *DescribleRegionCountResponse)
func (*DescribleRegionCountResponse) FromJsonString ¶
func (r *DescribleRegionCountResponse) FromJsonString(s string) error
func (*DescribleRegionCountResponse) ToJsonString ¶
func (r *DescribleRegionCountResponse) ToJsonString() string
type IpBlackWhite ¶
type IpBlockData ¶
type IpBlockData struct { // IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 状态(Blocked:被封堵;UnBlocking:解封中;UnBlockFailed:解封失败) Status *string `json:"Status,omitempty" name:"Status"` // 封堵时间 BlockTime *string `json:"BlockTime,omitempty" name:"BlockTime"` // 解封时间(预计解封时间) UnBlockTime *string `json:"UnBlockTime,omitempty" name:"UnBlockTime"` // 解封类型(user:自助解封;auto:自动解封; update:升级解封;bind:绑定高防包解封) ActionType *string `json:"ActionType,omitempty" name:"ActionType"` }
type IpUnBlockData ¶
type IpUnBlockData struct { // IP Ip *string `json:"Ip,omitempty" name:"Ip"` // 封堵时间 BlockTime *string `json:"BlockTime,omitempty" name:"BlockTime"` // 解封时间(实际解封时间) UnBlockTime *string `json:"UnBlockTime,omitempty" name:"UnBlockTime"` // 解封类型(user:自助解封;auto:自动解封; update:升级解封;bind:绑定高防包解封) ActionType *string `json:"ActionType,omitempty" name:"ActionType"` }
type KeyValueRecord ¶
type KeyValueRecord struct { // 一条记录的Key-Value数组 Record []*KeyValue `json:"Record,omitempty" name:"Record" list` }
type L4HealthConfig ¶
type L4HealthConfig struct { // 转发协议,取值[TCP, UDP] Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 转发端口 VirtualPort *uint64 `json:"VirtualPort,omitempty" name:"VirtualPort"` // =1表示开启;=0表示关闭 Enable *uint64 `json:"Enable,omitempty" name:"Enable"` // 响应超时时间,单位秒 TimeOut *uint64 `json:"TimeOut,omitempty" name:"TimeOut"` // 检测间隔时间,单位秒 Interval *uint64 `json:"Interval,omitempty" name:"Interval"` // 不健康阈值,单位次 KickNum *uint64 `json:"KickNum,omitempty" name:"KickNum"` // 健康阈值,单位次 AliveNum *uint64 `json:"AliveNum,omitempty" name:"AliveNum"` // 会话保持时间,单位秒 KeepTime *uint64 `json:"KeepTime,omitempty" name:"KeepTime"` }
type L4RuleEntry ¶
type L4RuleEntry struct { // 转发协议,取值[TCP, UDP] Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 转发端口 VirtualPort *uint64 `json:"VirtualPort,omitempty" name:"VirtualPort"` // 源站端口 SourcePort *uint64 `json:"SourcePort,omitempty" name:"SourcePort"` // 回源方式,取值[1(域名回源),2(IP回源)] SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"` // 会话保持时间,单位秒 KeepTime *uint64 `json:"KeepTime,omitempty" name:"KeepTime"` // 回源列表 SourceList []*L4RuleSource `json:"SourceList,omitempty" name:"SourceList" list` // 负载均衡方式,取值[1(加权轮询),2(源IP hash)] LbType *uint64 `json:"LbType,omitempty" name:"LbType"` // 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)]; KeepEnable *uint64 `json:"KeepEnable,omitempty" name:"KeepEnable"` // 规则ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // 规则描述 RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // 移除水印状态,取值[0(关闭),1(开启)] RemoveSwitch *uint64 `json:"RemoveSwitch,omitempty" name:"RemoveSwitch"` }
type L4RuleHealth ¶
type L4RuleHealth struct { // 规则ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // =1表示开启;=0表示关闭 Enable *uint64 `json:"Enable,omitempty" name:"Enable"` // 响应超时时间,单位秒 TimeOut *uint64 `json:"TimeOut,omitempty" name:"TimeOut"` // 检测间隔时间,单位秒,必须要大于响应超时时间 Interval *uint64 `json:"Interval,omitempty" name:"Interval"` // 不健康阈值,单位次 KickNum *uint64 `json:"KickNum,omitempty" name:"KickNum"` // 健康阈值,单位次 AliveNum *uint64 `json:"AliveNum,omitempty" name:"AliveNum"` }
type L4RuleSource ¶
type L7HealthConfig ¶
type L7HealthConfig struct { // 转发协议,取值[http, https, http/https] Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 转发域名 Domain *string `json:"Domain,omitempty" name:"Domain"` // =1表示开启;=0表示关闭 Enable *uint64 `json:"Enable,omitempty" name:"Enable"` // 检测间隔时间,单位秒 Interval *uint64 `json:"Interval,omitempty" name:"Interval"` // 异常判定次数,单位次 KickNum *uint64 `json:"KickNum,omitempty" name:"KickNum"` // 健康判定次数,单位次 AliveNum *uint64 `json:"AliveNum,omitempty" name:"AliveNum"` // 健康检查探测方法,可选HEAD或GET,默认为HEAD Method *string `json:"Method,omitempty" name:"Method"` // 健康检查判定正常状态码,1xx =1, 2xx=2, 3xx=4, 4xx=8,5xx=16,多个状态码值加和 StatusCode *uint64 `json:"StatusCode,omitempty" name:"StatusCode"` // 检查目录的URL,默认为/ Url *string `json:"Url,omitempty" name:"Url"` }
type L7RuleEntry ¶
type L7RuleEntry struct { // 转发协议,取值[http, https] Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 转发域名 Domain *string `json:"Domain,omitempty" name:"Domain"` // 回源方式,取值[1(域名回源),2(IP回源)] SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"` // 会话保持时间,单位秒 KeepTime *uint64 `json:"KeepTime,omitempty" name:"KeepTime"` // 回源列表 SourceList []*L4RuleSource `json:"SourceList,omitempty" name:"SourceList" list` // 负载均衡方式,取值[1(加权轮询)] LbType *uint64 `json:"LbType,omitempty" name:"LbType"` // 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)] KeepEnable *uint64 `json:"KeepEnable,omitempty" name:"KeepEnable"` // 规则ID,当添加新规则时可以不用填写此字段;当修改或者删除规则时需要填写此字段; RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // 证书来源,当转发协议为https时必须填,取值[2(腾讯云托管证书)],当转发协议为http时也可以填0 CertType *uint64 `json:"CertType,omitempty" name:"CertType"` // 当证书来源为腾讯云托管证书时,此字段必须填写托管证书ID SSLId *string `json:"SSLId,omitempty" name:"SSLId"` // 当证书来源为自有证书时,此字段必须填写证书内容;(因已不再支持自有证书,此字段已弃用,请不用填写此字段) Cert *string `json:"Cert,omitempty" name:"Cert"` // 当证书来源为自有证书时,此字段必须填写证书密钥;(因已不再支持自有证书,此字段已弃用,请不用填写此字段) PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"` // 规则描述 RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // 规则状态,取值[0(规则配置成功),1(规则配置生效中),2(规则配置失败),3(规则删除生效中),5(规则删除失败),6(规则等待配置),7(规则等待删除),8(规则待配置证书)] Status *uint64 `json:"Status,omitempty" name:"Status"` // cc防护状态,取值[0(关闭), 1(开启)] CCStatus *uint64 `json:"CCStatus,omitempty" name:"CCStatus"` // HTTPS协议的CC防护状态,取值[0(关闭), 1(开启)] CCEnable *uint64 `json:"CCEnable,omitempty" name:"CCEnable"` // HTTPS协议的CC防护阈值 CCThreshold *uint64 `json:"CCThreshold,omitempty" name:"CCThreshold"` // HTTPS协议的CC防护等级 CCLevel *string `json:"CCLevel,omitempty" name:"CCLevel"` // 是否开启Https协议使用Http回源,取值[0(关闭), 1(开启)],不填写默认是关闭 // 注意:此字段可能返回 null,表示取不到有效值。 HttpsToHttpEnable *uint64 `json:"HttpsToHttpEnable,omitempty" name:"HttpsToHttpEnable"` }
type L7RuleHealth ¶
type L7RuleHealth struct { // 规则ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // =1表示开启;=0表示关闭 Enable *uint64 `json:"Enable,omitempty" name:"Enable"` // 检测间隔时间,单位秒 Interval *uint64 `json:"Interval,omitempty" name:"Interval"` // 不健康阈值,单位次 KickNum *uint64 `json:"KickNum,omitempty" name:"KickNum"` // 健康阈值,单位次 AliveNum *uint64 `json:"AliveNum,omitempty" name:"AliveNum"` // HTTP请求方式,取值[HEAD,GET] Method *string `json:"Method,omitempty" name:"Method"` // 健康检查判定正常状态码,1xx =1, 2xx=2, 3xx=4, 4xx=8,5xx=16,多个状态码值加和 StatusCode *uint64 `json:"StatusCode,omitempty" name:"StatusCode"` // 检查目录的URL,默认为/ Url *string `json:"Url,omitempty" name:"Url"` // 配置状态,0: 正常,1:配置中,2:配置失败 Status *uint64 `json:"Status,omitempty" name:"Status"` }
type ModifyCCAlarmThresholdRequest ¶
type ModifyCCAlarmThresholdRequest struct { *tchttp.BaseRequest // 大禹子产品代号(shield表示棋牌;bgpip表示高防IP;bgp表示高防包;bgp-multip表示多ip高防包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID,字符串类型 RsId *string `json:"RsId,omitempty" name:"RsId"` // 告警阈值,大于0(目前排定的值),后台设置默认值为1000 AlarmThreshold *uint64 `json:"AlarmThreshold,omitempty" name:"AlarmThreshold"` // 资源关联的IP列表,高防包未绑定时,传空数组,高防IP专业版传多个IP的数据 IpList []*string `json:"IpList,omitempty" name:"IpList" list` }
func NewModifyCCAlarmThresholdRequest ¶
func NewModifyCCAlarmThresholdRequest() (request *ModifyCCAlarmThresholdRequest)
func (*ModifyCCAlarmThresholdRequest) FromJsonString ¶
func (r *ModifyCCAlarmThresholdRequest) FromJsonString(s string) error
func (*ModifyCCAlarmThresholdRequest) ToJsonString ¶
func (r *ModifyCCAlarmThresholdRequest) ToJsonString() string
type ModifyCCAlarmThresholdResponse ¶
type ModifyCCAlarmThresholdResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyCCAlarmThresholdResponse ¶
func NewModifyCCAlarmThresholdResponse() (response *ModifyCCAlarmThresholdResponse)
func (*ModifyCCAlarmThresholdResponse) FromJsonString ¶
func (r *ModifyCCAlarmThresholdResponse) FromJsonString(s string) error
func (*ModifyCCAlarmThresholdResponse) ToJsonString ¶
func (r *ModifyCCAlarmThresholdResponse) ToJsonString() string
type ModifyCCFrequencyRulesRequest ¶
type ModifyCCFrequencyRulesRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // CC的访问频率控制规则ID CCFrequencyRuleId *string `json:"CCFrequencyRuleId,omitempty" name:"CCFrequencyRuleId"` // 匹配规则,取值["include"(前缀匹配),"equal"(完全匹配)] Mode *string `json:"Mode,omitempty" name:"Mode"` // 统计周期,单位秒,取值[10, 30, 60] Period *uint64 `json:"Period,omitempty" name:"Period"` // 访问次数,取值[1-10000] ReqNumber *uint64 `json:"ReqNumber,omitempty" name:"ReqNumber"` // 执行动作,取值["alg"(人机识别), "drop"(拦截)] Act *string `json:"Act,omitempty" name:"Act"` // 执行时间,单位秒,取值[1-900] ExeDuration *uint64 `json:"ExeDuration,omitempty" name:"ExeDuration"` // URI字符串,必须以/开头,例如/abc/a.php,长度不超过31;当URI=/时,匹配模式只能选择前缀匹配; Uri *string `json:"Uri,omitempty" name:"Uri"` // User-Agent字符串,长度不超过80 UserAgent *string `json:"UserAgent,omitempty" name:"UserAgent"` // Cookie字符串,长度不超过40 Cookie *string `json:"Cookie,omitempty" name:"Cookie"` }
func NewModifyCCFrequencyRulesRequest ¶
func NewModifyCCFrequencyRulesRequest() (request *ModifyCCFrequencyRulesRequest)
func (*ModifyCCFrequencyRulesRequest) FromJsonString ¶
func (r *ModifyCCFrequencyRulesRequest) FromJsonString(s string) error
func (*ModifyCCFrequencyRulesRequest) ToJsonString ¶
func (r *ModifyCCFrequencyRulesRequest) ToJsonString() string
type ModifyCCFrequencyRulesResponse ¶
type ModifyCCFrequencyRulesResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyCCFrequencyRulesResponse ¶
func NewModifyCCFrequencyRulesResponse() (response *ModifyCCFrequencyRulesResponse)
func (*ModifyCCFrequencyRulesResponse) FromJsonString ¶
func (r *ModifyCCFrequencyRulesResponse) FromJsonString(s string) error
func (*ModifyCCFrequencyRulesResponse) ToJsonString ¶
func (r *ModifyCCFrequencyRulesResponse) ToJsonString() string
type ModifyCCFrequencyRulesStatusRequest ¶
type ModifyCCFrequencyRulesStatusRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 7层转发规则ID(通过获取7层转发规则接口可以获取规则ID) RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // 开启或关闭,取值["on"(开启),"off"(关闭)] Method *string `json:"Method,omitempty" name:"Method"` }
func NewModifyCCFrequencyRulesStatusRequest ¶
func NewModifyCCFrequencyRulesStatusRequest() (request *ModifyCCFrequencyRulesStatusRequest)
func (*ModifyCCFrequencyRulesStatusRequest) FromJsonString ¶
func (r *ModifyCCFrequencyRulesStatusRequest) FromJsonString(s string) error
func (*ModifyCCFrequencyRulesStatusRequest) ToJsonString ¶
func (r *ModifyCCFrequencyRulesStatusRequest) ToJsonString() string
type ModifyCCFrequencyRulesStatusResponse ¶
type ModifyCCFrequencyRulesStatusResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyCCFrequencyRulesStatusResponse ¶
func NewModifyCCFrequencyRulesStatusResponse() (response *ModifyCCFrequencyRulesStatusResponse)
func (*ModifyCCFrequencyRulesStatusResponse) FromJsonString ¶
func (r *ModifyCCFrequencyRulesStatusResponse) FromJsonString(s string) error
func (*ModifyCCFrequencyRulesStatusResponse) ToJsonString ¶
func (r *ModifyCCFrequencyRulesStatusResponse) ToJsonString() string
type ModifyCCHostProtectionRequest ¶
type ModifyCCHostProtectionRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 规则ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // 开启/关闭CC域名防护,取值[open(表示开启),close(表示关闭)] Method *string `json:"Method,omitempty" name:"Method"` }
func NewModifyCCHostProtectionRequest ¶
func NewModifyCCHostProtectionRequest() (request *ModifyCCHostProtectionRequest)
func (*ModifyCCHostProtectionRequest) FromJsonString ¶
func (r *ModifyCCHostProtectionRequest) FromJsonString(s string) error
func (*ModifyCCHostProtectionRequest) ToJsonString ¶
func (r *ModifyCCHostProtectionRequest) ToJsonString() string
type ModifyCCHostProtectionResponse ¶
type ModifyCCHostProtectionResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyCCHostProtectionResponse ¶
func NewModifyCCHostProtectionResponse() (response *ModifyCCHostProtectionResponse)
func (*ModifyCCHostProtectionResponse) FromJsonString ¶
func (r *ModifyCCHostProtectionResponse) FromJsonString(s string) error
func (*ModifyCCHostProtectionResponse) ToJsonString ¶
func (r *ModifyCCHostProtectionResponse) ToJsonString() string
type ModifyCCIpAllowDenyRequest ¶
type ModifyCCIpAllowDenyRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // add表示添加,delete表示删除 Method *string `json:"Method,omitempty" name:"Method"` // 黑/白名单类型;取值[white(白名单),black(黑名单)] Type *string `json:"Type,omitempty" name:"Type"` // 黑/白名单的IP数组 IpList []*string `json:"IpList,omitempty" name:"IpList" list` // 可选字段,代表CC防护类型,取值[http(HTTP协议的CC防护),https(HTTPS协议的CC防护)];当不填时,默认为HTTP协议的CC防护;当填写https时还需要填写Domain和RuleId字段; Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 可选字段,表示HTTPS协议的7层转发规则域名(通过获取7层转发规则接口可以获取域名),只有当Protocol字段为https时才必须填写此字段; Domain *string `json:"Domain,omitempty" name:"Domain"` // 可选字段,表示HTTPS协议的7层转发规则ID(通过获取7层转发规则接口可以获取规则ID), // 当Method为delete时,不用填写此字段; RuleId *string `json:"RuleId,omitempty" name:"RuleId"` }
func NewModifyCCIpAllowDenyRequest ¶
func NewModifyCCIpAllowDenyRequest() (request *ModifyCCIpAllowDenyRequest)
func (*ModifyCCIpAllowDenyRequest) FromJsonString ¶
func (r *ModifyCCIpAllowDenyRequest) FromJsonString(s string) error
func (*ModifyCCIpAllowDenyRequest) ToJsonString ¶
func (r *ModifyCCIpAllowDenyRequest) ToJsonString() string
type ModifyCCIpAllowDenyResponse ¶
type ModifyCCIpAllowDenyResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyCCIpAllowDenyResponse ¶
func NewModifyCCIpAllowDenyResponse() (response *ModifyCCIpAllowDenyResponse)
func (*ModifyCCIpAllowDenyResponse) FromJsonString ¶
func (r *ModifyCCIpAllowDenyResponse) FromJsonString(s string) error
func (*ModifyCCIpAllowDenyResponse) ToJsonString ¶
func (r *ModifyCCIpAllowDenyResponse) ToJsonString() string
type ModifyCCLevelRequest ¶
type ModifyCCLevelRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // CC防护等级,取值[default(正常), loose(宽松), strict(严格)]; Level *string `json:"Level,omitempty" name:"Level"` // 可选字段,代表CC防护类型,取值[http(HTTP协议的CC防护),https(HTTPS协议的CC防护)];当不填时,默认为HTTP协议的CC防护;当填写https时还需要填写RuleId字段; Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 表示7层转发规则ID(通过获取7层转发规则接口可以获取规则ID); RuleId *string `json:"RuleId,omitempty" name:"RuleId"` }
func NewModifyCCLevelRequest ¶
func NewModifyCCLevelRequest() (request *ModifyCCLevelRequest)
func (*ModifyCCLevelRequest) FromJsonString ¶
func (r *ModifyCCLevelRequest) FromJsonString(s string) error
func (*ModifyCCLevelRequest) ToJsonString ¶
func (r *ModifyCCLevelRequest) ToJsonString() string
type ModifyCCLevelResponse ¶
type ModifyCCLevelResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyCCLevelResponse ¶
func NewModifyCCLevelResponse() (response *ModifyCCLevelResponse)
func (*ModifyCCLevelResponse) FromJsonString ¶
func (r *ModifyCCLevelResponse) FromJsonString(s string) error
func (*ModifyCCLevelResponse) ToJsonString ¶
func (r *ModifyCCLevelResponse) ToJsonString() string
type ModifyCCPolicySwitchRequest ¶
type ModifyCCPolicySwitchRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 策略ID SetId *string `json:"SetId,omitempty" name:"SetId"` // 开关状态 Switch *uint64 `json:"Switch,omitempty" name:"Switch"` }
func NewModifyCCPolicySwitchRequest ¶
func NewModifyCCPolicySwitchRequest() (request *ModifyCCPolicySwitchRequest)
func (*ModifyCCPolicySwitchRequest) FromJsonString ¶
func (r *ModifyCCPolicySwitchRequest) FromJsonString(s string) error
func (*ModifyCCPolicySwitchRequest) ToJsonString ¶
func (r *ModifyCCPolicySwitchRequest) ToJsonString() string
type ModifyCCPolicySwitchResponse ¶
type ModifyCCPolicySwitchResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyCCPolicySwitchResponse ¶
func NewModifyCCPolicySwitchResponse() (response *ModifyCCPolicySwitchResponse)
func (*ModifyCCPolicySwitchResponse) FromJsonString ¶
func (r *ModifyCCPolicySwitchResponse) FromJsonString(s string) error
func (*ModifyCCPolicySwitchResponse) ToJsonString ¶
func (r *ModifyCCPolicySwitchResponse) ToJsonString() string
type ModifyCCSelfDefinePolicyRequest ¶
type ModifyCCSelfDefinePolicyRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 策略ID SetId *string `json:"SetId,omitempty" name:"SetId"` // CC策略描述 Policy *CCPolicy `json:"Policy,omitempty" name:"Policy"` }
func NewModifyCCSelfDefinePolicyRequest ¶
func NewModifyCCSelfDefinePolicyRequest() (request *ModifyCCSelfDefinePolicyRequest)
func (*ModifyCCSelfDefinePolicyRequest) FromJsonString ¶
func (r *ModifyCCSelfDefinePolicyRequest) FromJsonString(s string) error
func (*ModifyCCSelfDefinePolicyRequest) ToJsonString ¶
func (r *ModifyCCSelfDefinePolicyRequest) ToJsonString() string
type ModifyCCSelfDefinePolicyResponse ¶
type ModifyCCSelfDefinePolicyResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyCCSelfDefinePolicyResponse ¶
func NewModifyCCSelfDefinePolicyResponse() (response *ModifyCCSelfDefinePolicyResponse)
func (*ModifyCCSelfDefinePolicyResponse) FromJsonString ¶
func (r *ModifyCCSelfDefinePolicyResponse) FromJsonString(s string) error
func (*ModifyCCSelfDefinePolicyResponse) ToJsonString ¶
func (r *ModifyCCSelfDefinePolicyResponse) ToJsonString() string
type ModifyCCThresholdRequest ¶
type ModifyCCThresholdRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示基础防护) Business *string `json:"Business,omitempty" name:"Business"` // CC防护阈值,取值(0 100 150 240 350 480 550 700 850 1000 1500 2000 3000 5000 10000 20000); // 当Business为高防IP、高防IP专业版时,其CC防护最大阈值跟资源的保底防护带宽有关,对应关系如下: // 保底带宽: 最大C防护阈值 // 10: 20000, // 20: 40000, // 30: 70000, // 40: 100000, // 50: 150000, // 60: 200000, // 80: 250000, // 100: 300000, Threshold *uint64 `json:"Threshold,omitempty" name:"Threshold"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 可选字段,代表CC防护类型,取值[http(HTTP协议的CC防护),https(HTTPS协议的CC防护)];当不填时,默认为HTTP协议的CC防护;当填写https时还需要填写RuleId字段; Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 可选字段,表示HTTPS协议的7层转发规则ID(通过获取7层转发规则接口可以获取规则ID); // 当Protocol=https时必须填写; RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // 查询的IP地址(仅基础防护提供),取值如:1.1.1.1 BasicIp *string `json:"BasicIp,omitempty" name:"BasicIp"` // 查询IP所属地域(仅基础防护提供),取值如:gz、bj、sh、hk等地域缩写 BasicRegion *string `json:"BasicRegion,omitempty" name:"BasicRegion"` // 专区类型(仅基础防护提供),取值如:公有云专区:public,黑石专区:bm, NAT服务器专区:nat,互联网通道:channel。 BasicBizType *string `json:"BasicBizType,omitempty" name:"BasicBizType"` // 设备类型(仅基础防护提供),取值如:服务器:cvm,公有云负载均衡:clb,黑石负载均衡:lb,NAT服务器:nat,互联网通道:channel. BasicDeviceType *string `json:"BasicDeviceType,omitempty" name:"BasicDeviceType"` // 仅基础防护提供。可选,IPInstance Nat 网关(如果查询的设备类型是NAT服务器,需要传此参数,通过nat资源查询接口获取) BasicIpInstance *string `json:"BasicIpInstance,omitempty" name:"BasicIpInstance"` // 仅基础防护提供。可选,运营商线路(如果查询的设备类型是NAT服务器,需要传此参数为5) BasicIspCode *uint64 `json:"BasicIspCode,omitempty" name:"BasicIspCode"` }
func NewModifyCCThresholdRequest ¶
func NewModifyCCThresholdRequest() (request *ModifyCCThresholdRequest)
func (*ModifyCCThresholdRequest) FromJsonString ¶
func (r *ModifyCCThresholdRequest) FromJsonString(s string) error
func (*ModifyCCThresholdRequest) ToJsonString ¶
func (r *ModifyCCThresholdRequest) ToJsonString() string
type ModifyCCThresholdResponse ¶
type ModifyCCThresholdResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyCCThresholdResponse ¶
func NewModifyCCThresholdResponse() (response *ModifyCCThresholdResponse)
func (*ModifyCCThresholdResponse) FromJsonString ¶
func (r *ModifyCCThresholdResponse) FromJsonString(s string) error
func (*ModifyCCThresholdResponse) ToJsonString ¶
func (r *ModifyCCThresholdResponse) ToJsonString() string
type ModifyCCUrlAllowRequest ¶
type ModifyCCUrlAllowRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // =add表示添加,=delete表示删除 Method *string `json:"Method,omitempty" name:"Method"` // 黑/白名单类型;取值[white(白名单)] Type *string `json:"Type,omitempty" name:"Type"` // URL数组,URL格式如下: // http://域名/cgi // https://域名/cgi UrlList []*string `json:"UrlList,omitempty" name:"UrlList" list` // 可选字段,代表CC防护类型,取值[http(HTTP协议的CC防护),https(HTTPS协议的CC防护)];当不填时,默认为HTTP协议的CC防护;当填写https时还需要填写Domain和RuleId字段; Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 可选字段,表示HTTPS协议的7层转发规则域名(通过获取7层转发规则接口可以获取域名),只有当Protocol字段为https时才必须填写此字段; Domain *string `json:"Domain,omitempty" name:"Domain"` // 可选字段,表示HTTPS协议的7层转发规则ID(通过获取7层转发规则接口可以获取规则ID),当添加并且Protocol=https时必须填写; // 当Method为delete时,可以不用填写此字段; RuleId *string `json:"RuleId,omitempty" name:"RuleId"` }
func NewModifyCCUrlAllowRequest ¶
func NewModifyCCUrlAllowRequest() (request *ModifyCCUrlAllowRequest)
func (*ModifyCCUrlAllowRequest) FromJsonString ¶
func (r *ModifyCCUrlAllowRequest) FromJsonString(s string) error
func (*ModifyCCUrlAllowRequest) ToJsonString ¶
func (r *ModifyCCUrlAllowRequest) ToJsonString() string
type ModifyCCUrlAllowResponse ¶
type ModifyCCUrlAllowResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyCCUrlAllowResponse ¶
func NewModifyCCUrlAllowResponse() (response *ModifyCCUrlAllowResponse)
func (*ModifyCCUrlAllowResponse) FromJsonString ¶
func (r *ModifyCCUrlAllowResponse) FromJsonString(s string) error
func (*ModifyCCUrlAllowResponse) ToJsonString ¶
func (r *ModifyCCUrlAllowResponse) ToJsonString() string
type ModifyDDoSAIStatusRequest ¶
type ModifyDDoSAIStatusRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // =get表示读取AI防护状态;=set表示修改AI防护状态; Method *string `json:"Method,omitempty" name:"Method"` // AI防护状态,取值[on,off];当Method=set时必填; DDoSAI *string `json:"DDoSAI,omitempty" name:"DDoSAI"` }
func NewModifyDDoSAIStatusRequest ¶
func NewModifyDDoSAIStatusRequest() (request *ModifyDDoSAIStatusRequest)
func (*ModifyDDoSAIStatusRequest) FromJsonString ¶
func (r *ModifyDDoSAIStatusRequest) FromJsonString(s string) error
func (*ModifyDDoSAIStatusRequest) ToJsonString ¶
func (r *ModifyDDoSAIStatusRequest) ToJsonString() string
type ModifyDDoSAIStatusResponse ¶
type ModifyDDoSAIStatusResponse struct { *tchttp.BaseResponse Response *struct { // AI防护状态,取值[on,off] DDoSAI *string `json:"DDoSAI,omitempty" name:"DDoSAI"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDDoSAIStatusResponse ¶
func NewModifyDDoSAIStatusResponse() (response *ModifyDDoSAIStatusResponse)
func (*ModifyDDoSAIStatusResponse) FromJsonString ¶
func (r *ModifyDDoSAIStatusResponse) FromJsonString(s string) error
func (*ModifyDDoSAIStatusResponse) ToJsonString ¶
func (r *ModifyDDoSAIStatusResponse) ToJsonString() string
type ModifyDDoSAlarmThresholdRequest ¶
type ModifyDDoSAlarmThresholdRequest struct { *tchttp.BaseRequest // 大禹子产品代号(shield表示棋牌;bgpip表示高防IP;bgp表示高防包;bgp-multip表示多ip高防包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID,字符串类型 RsId *string `json:"RsId,omitempty" name:"RsId"` // 告警阈值类型,0-未设置,1-入流量,2-清洗流量 AlarmType *uint64 `json:"AlarmType,omitempty" name:"AlarmType"` // 告警阈值,大于0(目前暂定的值) AlarmThreshold *uint64 `json:"AlarmThreshold,omitempty" name:"AlarmThreshold"` // 资源关联的IP列表,高防包未绑定时,传空数组,高防IP专业版传多个IP的数据 IpList []*string `json:"IpList,omitempty" name:"IpList" list` }
func NewModifyDDoSAlarmThresholdRequest ¶
func NewModifyDDoSAlarmThresholdRequest() (request *ModifyDDoSAlarmThresholdRequest)
func (*ModifyDDoSAlarmThresholdRequest) FromJsonString ¶
func (r *ModifyDDoSAlarmThresholdRequest) FromJsonString(s string) error
func (*ModifyDDoSAlarmThresholdRequest) ToJsonString ¶
func (r *ModifyDDoSAlarmThresholdRequest) ToJsonString() string
type ModifyDDoSAlarmThresholdResponse ¶
type ModifyDDoSAlarmThresholdResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDDoSAlarmThresholdResponse ¶
func NewModifyDDoSAlarmThresholdResponse() (response *ModifyDDoSAlarmThresholdResponse)
func (*ModifyDDoSAlarmThresholdResponse) FromJsonString ¶
func (r *ModifyDDoSAlarmThresholdResponse) FromJsonString(s string) error
func (*ModifyDDoSAlarmThresholdResponse) ToJsonString ¶
func (r *ModifyDDoSAlarmThresholdResponse) ToJsonString() string
type ModifyDDoSDefendStatusRequest ¶
type ModifyDDoSDefendStatusRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgp表示独享包;bgp-multip表示共享包;bgpip表示高防IP;net表示高防IP专业版;basic表示基础防护) Business *string `json:"Business,omitempty" name:"Business"` // 防护状态值,取值[0(关闭),1(开启)] Status *uint64 `json:"Status,omitempty" name:"Status"` // 关闭时长,单位小时,取值[0,1,2,3,4,5,6];当Status=0表示关闭时,Hour必须大于0; Hour *int64 `json:"Hour,omitempty" name:"Hour"` // 资源ID;当Business不是基础防护时必须填写此字段; Id *string `json:"Id,omitempty" name:"Id"` // 基础防护的IP,只有当Business为基础防护时才需要填写此字段; Ip *string `json:"Ip,omitempty" name:"Ip"` // 只有当Business为基础防护时才需要填写此字段,IP所属的产品类型,取值[public(CVM产品),bm(黑石产品),eni(弹性网卡),vpngw(VPN网关), natgw(NAT网关),waf(Web应用安全产品),fpc(金融产品),gaap(GAAP产品), other(托管IP)] BizType *string `json:"BizType,omitempty" name:"BizType"` // 只有当Business为基础防护时才需要填写此字段,IP所属的产品子类,取值[cvm(CVM),lb(负载均衡器),eni(弹性网卡),vpngw(VPN),natgw(NAT),waf(WAF),fpc(金融),gaap(GAAP),other(托管IP),eip(黑石弹性IP)] DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // 只有当Business为基础防护时才需要填写此字段,IP所属的资源实例ID,当绑定新IP时必须填写此字段;例如是弹性网卡的IP,则InstanceId填写弹性网卡的ID(eni-*); InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 只有当Business为基础防护时才需要填写此字段,表示IP所属的地域,取值: // "bj": 华北地区(北京) // "cd": 西南地区(成都) // "cq": 西南地区(重庆) // "gz": 华南地区(广州) // "gzopen": 华南地区(广州Open) // "hk": 中国香港 // "kr": 东南亚地区(首尔) // "sh": 华东地区(上海) // "shjr": 华东地区(上海金融) // "szjr": 华南地区(深圳金融) // "sg": 东南亚地区(新加坡) // "th": 东南亚地区(泰国) // "de": 欧洲地区(德国) // "usw": 美国西部(硅谷) // "ca": 北美地区(多伦多) // "jp": 日本 // "hzec": 杭州 // "in": 印度 // "use": 美东地区(弗吉尼亚) // "ru": 俄罗斯 // "tpe": 中国台湾 // "nj": 南京 IPRegion *string `json:"IPRegion,omitempty" name:"IPRegion"` }
func NewModifyDDoSDefendStatusRequest ¶
func NewModifyDDoSDefendStatusRequest() (request *ModifyDDoSDefendStatusRequest)
func (*ModifyDDoSDefendStatusRequest) FromJsonString ¶
func (r *ModifyDDoSDefendStatusRequest) FromJsonString(s string) error
func (*ModifyDDoSDefendStatusRequest) ToJsonString ¶
func (r *ModifyDDoSDefendStatusRequest) ToJsonString() string
type ModifyDDoSDefendStatusResponse ¶
type ModifyDDoSDefendStatusResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDDoSDefendStatusResponse ¶
func NewModifyDDoSDefendStatusResponse() (response *ModifyDDoSDefendStatusResponse)
func (*ModifyDDoSDefendStatusResponse) FromJsonString ¶
func (r *ModifyDDoSDefendStatusResponse) FromJsonString(s string) error
func (*ModifyDDoSDefendStatusResponse) ToJsonString ¶
func (r *ModifyDDoSDefendStatusResponse) ToJsonString() string
type ModifyDDoSLevelRequest ¶
type ModifyDDoSLevelRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // =get表示读取防护等级;=set表示修改防护等级 Method *string `json:"Method,omitempty" name:"Method"` // 防护等级,取值[low,middle,high];当Method=set时必填 DDoSLevel *string `json:"DDoSLevel,omitempty" name:"DDoSLevel"` }
func NewModifyDDoSLevelRequest ¶
func NewModifyDDoSLevelRequest() (request *ModifyDDoSLevelRequest)
func (*ModifyDDoSLevelRequest) FromJsonString ¶
func (r *ModifyDDoSLevelRequest) FromJsonString(s string) error
func (*ModifyDDoSLevelRequest) ToJsonString ¶
func (r *ModifyDDoSLevelRequest) ToJsonString() string
type ModifyDDoSLevelResponse ¶
type ModifyDDoSLevelResponse struct { *tchttp.BaseResponse Response *struct { // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 防护等级,取值[low,middle,high] DDoSLevel *string `json:"DDoSLevel,omitempty" name:"DDoSLevel"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDDoSLevelResponse ¶
func NewModifyDDoSLevelResponse() (response *ModifyDDoSLevelResponse)
func (*ModifyDDoSLevelResponse) FromJsonString ¶
func (r *ModifyDDoSLevelResponse) FromJsonString(s string) error
func (*ModifyDDoSLevelResponse) ToJsonString ¶
func (r *ModifyDDoSLevelResponse) ToJsonString() string
type ModifyDDoSPolicyCaseRequest ¶
type ModifyDDoSPolicyCaseRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 策略场景ID SceneId *string `json:"SceneId,omitempty" name:"SceneId"` // 开发平台,取值[PC(PC客户端), MOBILE(移动端), TV(电视端), SERVER(主机)] PlatformTypes []*string `json:"PlatformTypes,omitempty" name:"PlatformTypes" list` // 细分品类,取值[WEB(网站), GAME(游戏), APP(应用), OTHER(其他)] AppType *string `json:"AppType,omitempty" name:"AppType"` // 应用协议,取值[tcp(TCP协议),udp(UDP协议),icmp(ICMP协议),all(其他协议)] AppProtocols []*string `json:"AppProtocols,omitempty" name:"AppProtocols" list` // TCP业务起始端口,取值(0, 65535] TcpSportStart *string `json:"TcpSportStart,omitempty" name:"TcpSportStart"` // TCP业务结束端口,取值(0, 65535],必须大于等于TCP业务起始端口 TcpSportEnd *string `json:"TcpSportEnd,omitempty" name:"TcpSportEnd"` // UDP业务起始端口,取值范围(0, 65535] UdpSportStart *string `json:"UdpSportStart,omitempty" name:"UdpSportStart"` // UDP业务结束端口,取值范围(0, 65535),必须大于等于UDP业务起始端口 UdpSportEnd *string `json:"UdpSportEnd,omitempty" name:"UdpSportEnd"` // 是否有海外客户,取值[no(没有), yes(有)] HasAbroad *string `json:"HasAbroad,omitempty" name:"HasAbroad"` // 是否会主动对外发起TCP请求,取值[no(不会), yes(会)] HasInitiateTcp *string `json:"HasInitiateTcp,omitempty" name:"HasInitiateTcp"` // 是否会主动对外发起UDP业务请求,取值[no(不会), yes(会)] HasInitiateUdp *string `json:"HasInitiateUdp,omitempty" name:"HasInitiateUdp"` // 主动发起TCP请求的端口,取值范围(0, 65535] PeerTcpPort *string `json:"PeerTcpPort,omitempty" name:"PeerTcpPort"` // 主动发起UDP请求的端口,取值范围(0, 65535] PeerUdpPort *string `json:"PeerUdpPort,omitempty" name:"PeerUdpPort"` // TCP载荷的固定特征码,字符串长度小于512 TcpFootprint *string `json:"TcpFootprint,omitempty" name:"TcpFootprint"` // UDP载荷的固定特征码,字符串长度小于512 UdpFootprint *string `json:"UdpFootprint,omitempty" name:"UdpFootprint"` // Web业务的API的URL WebApiUrl []*string `json:"WebApiUrl,omitempty" name:"WebApiUrl" list` // TCP业务报文长度最小值,取值范围(0, 1500) MinTcpPackageLen *string `json:"MinTcpPackageLen,omitempty" name:"MinTcpPackageLen"` // TCP业务报文长度最大值,取值范围(0, 1500),必须大于等于TCP业务报文长度最小值 MaxTcpPackageLen *string `json:"MaxTcpPackageLen,omitempty" name:"MaxTcpPackageLen"` // UDP业务报文长度最小值,取值范围(0, 1500) MinUdpPackageLen *string `json:"MinUdpPackageLen,omitempty" name:"MinUdpPackageLen"` // UDP业务报文长度最大值,取值范围(0, 1500),必须大于等于UDP业务报文长度最小值 MaxUdpPackageLen *string `json:"MaxUdpPackageLen,omitempty" name:"MaxUdpPackageLen"` // 是否有VPN业务,取值[no(没有), yes(有)] HasVPN *string `json:"HasVPN,omitempty" name:"HasVPN"` // TCP业务端口列表,同时支持单个端口和端口段,字符串格式,例如:80,443,700-800,53,1000-3000 TcpPortList *string `json:"TcpPortList,omitempty" name:"TcpPortList"` // UDP业务端口列表,同时支持单个端口和端口段,字符串格式,例如:80,443,700-800,53,1000-3000 UdpPortList *string `json:"UdpPortList,omitempty" name:"UdpPortList"` }
func NewModifyDDoSPolicyCaseRequest ¶
func NewModifyDDoSPolicyCaseRequest() (request *ModifyDDoSPolicyCaseRequest)
func (*ModifyDDoSPolicyCaseRequest) FromJsonString ¶
func (r *ModifyDDoSPolicyCaseRequest) FromJsonString(s string) error
func (*ModifyDDoSPolicyCaseRequest) ToJsonString ¶
func (r *ModifyDDoSPolicyCaseRequest) ToJsonString() string
type ModifyDDoSPolicyCaseResponse ¶
type ModifyDDoSPolicyCaseResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDDoSPolicyCaseResponse ¶
func NewModifyDDoSPolicyCaseResponse() (response *ModifyDDoSPolicyCaseResponse)
func (*ModifyDDoSPolicyCaseResponse) FromJsonString ¶
func (r *ModifyDDoSPolicyCaseResponse) FromJsonString(s string) error
func (*ModifyDDoSPolicyCaseResponse) ToJsonString ¶
func (r *ModifyDDoSPolicyCaseResponse) ToJsonString() string
type ModifyDDoSPolicyNameRequest ¶
type ModifyDDoSPolicyNameRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 策略ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // 策略名称 Name *string `json:"Name,omitempty" name:"Name"` }
func NewModifyDDoSPolicyNameRequest ¶
func NewModifyDDoSPolicyNameRequest() (request *ModifyDDoSPolicyNameRequest)
func (*ModifyDDoSPolicyNameRequest) FromJsonString ¶
func (r *ModifyDDoSPolicyNameRequest) FromJsonString(s string) error
func (*ModifyDDoSPolicyNameRequest) ToJsonString ¶
func (r *ModifyDDoSPolicyNameRequest) ToJsonString() string
type ModifyDDoSPolicyNameResponse ¶
type ModifyDDoSPolicyNameResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDDoSPolicyNameResponse ¶
func NewModifyDDoSPolicyNameResponse() (response *ModifyDDoSPolicyNameResponse)
func (*ModifyDDoSPolicyNameResponse) FromJsonString ¶
func (r *ModifyDDoSPolicyNameResponse) FromJsonString(s string) error
func (*ModifyDDoSPolicyNameResponse) ToJsonString ¶
func (r *ModifyDDoSPolicyNameResponse) ToJsonString() string
type ModifyDDoSPolicyRequest ¶
type ModifyDDoSPolicyRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 策略ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // 协议禁用,必须填写且数组长度必须为1 DropOptions []*DDoSPolicyDropOption `json:"DropOptions,omitempty" name:"DropOptions" list` // 端口禁用,当没有禁用端口时填空数组 PortLimits []*DDoSPolicyPortLimit `json:"PortLimits,omitempty" name:"PortLimits" list` // IP黑白名单,当没有IP黑白名单时填空数组 IpAllowDenys []*IpBlackWhite `json:"IpAllowDenys,omitempty" name:"IpAllowDenys" list` // 报文过滤,当没有报文过滤时填空数组 PacketFilters []*DDoSPolicyPacketFilter `json:"PacketFilters,omitempty" name:"PacketFilters" list` // 水印策略参数,当没有启用水印功能时填空数组,最多只能传一条水印策略(即数组大小不超过1) WaterPrint []*WaterPrintPolicy `json:"WaterPrint,omitempty" name:"WaterPrint" list` }
func NewModifyDDoSPolicyRequest ¶
func NewModifyDDoSPolicyRequest() (request *ModifyDDoSPolicyRequest)
func (*ModifyDDoSPolicyRequest) FromJsonString ¶
func (r *ModifyDDoSPolicyRequest) FromJsonString(s string) error
func (*ModifyDDoSPolicyRequest) ToJsonString ¶
func (r *ModifyDDoSPolicyRequest) ToJsonString() string
type ModifyDDoSPolicyResponse ¶
type ModifyDDoSPolicyResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDDoSPolicyResponse ¶
func NewModifyDDoSPolicyResponse() (response *ModifyDDoSPolicyResponse)
func (*ModifyDDoSPolicyResponse) FromJsonString ¶
func (r *ModifyDDoSPolicyResponse) FromJsonString(s string) error
func (*ModifyDDoSPolicyResponse) ToJsonString ¶
func (r *ModifyDDoSPolicyResponse) ToJsonString() string
type ModifyDDoSSwitchRequest ¶
type ModifyDDoSSwitchRequest struct { *tchttp.BaseRequest // 大禹子产品代号(basic表示基础防护) Business *string `json:"Business,omitempty" name:"Business"` // =get表示读取DDoS防护状态;=set表示修改DDoS防护状态; Method *string `json:"Method,omitempty" name:"Method"` // 基础防护的IP,只有当Business为基础防护时才需要填写此字段; Ip *string `json:"Ip,omitempty" name:"Ip"` // 只有当Business为基础防护时才需要填写此字段,IP所属的产品类型,取值[public(CVM产品),bm(黑石产品),eni(弹性网卡),vpngw(VPN网关), natgw(NAT网关),waf(Web应用安全产品),fpc(金融产品),gaap(GAAP产品), other(托管IP)] BizType *string `json:"BizType,omitempty" name:"BizType"` // 只有当Business为基础防护时才需要填写此字段,IP所属的产品子类,取值[cvm(CVM),lb(负载均衡器),eni(弹性网卡),vpngw(VPN),natgw(NAT),waf(WAF),fpc(金融),gaap(GAAP),other(托管IP),eip(黑石弹性IP)] DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // 只有当Business为基础防护时才需要填写此字段,IP所属的资源实例ID,当绑定新IP时必须填写此字段;例如是弹性网卡的IP,则InstanceId填写弹性网卡的ID(eni-*); InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 只有当Business为基础防护时才需要填写此字段,表示IP所属的地域,取值: // "bj": 华北地区(北京) // "cd": 西南地区(成都) // "cq": 西南地区(重庆) // "gz": 华南地区(广州) // "gzopen": 华南地区(广州Open) // "hk": 中国香港 // "kr": 东南亚地区(首尔) // "sh": 华东地区(上海) // "shjr": 华东地区(上海金融) // "szjr": 华南地区(深圳金融) // "sg": 东南亚地区(新加坡) // "th": 东南亚地区(泰国) // "de": 欧洲地区(德国) // "usw": 美国西部(硅谷) // "ca": 北美地区(多伦多) // "jp": 日本 // "hzec": 杭州 // "in": 印度 // "use": 美东地区(弗吉尼亚) // "ru": 俄罗斯 // "tpe": 中国台湾 // "nj": 南京 IPRegion *string `json:"IPRegion,omitempty" name:"IPRegion"` // 可选字段,防护状态值,取值[0(关闭),1(开启)];当Method为get时可以不填写此字段; Status *uint64 `json:"Status,omitempty" name:"Status"` }
func NewModifyDDoSSwitchRequest ¶
func NewModifyDDoSSwitchRequest() (request *ModifyDDoSSwitchRequest)
func (*ModifyDDoSSwitchRequest) FromJsonString ¶
func (r *ModifyDDoSSwitchRequest) FromJsonString(s string) error
func (*ModifyDDoSSwitchRequest) ToJsonString ¶
func (r *ModifyDDoSSwitchRequest) ToJsonString() string
type ModifyDDoSSwitchResponse ¶
type ModifyDDoSSwitchResponse struct { *tchttp.BaseResponse Response *struct { // 当前防护状态值,取值[0(关闭),1(开启)] Status *uint64 `json:"Status,omitempty" name:"Status"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDDoSSwitchResponse ¶
func NewModifyDDoSSwitchResponse() (response *ModifyDDoSSwitchResponse)
func (*ModifyDDoSSwitchResponse) FromJsonString ¶
func (r *ModifyDDoSSwitchResponse) FromJsonString(s string) error
func (*ModifyDDoSSwitchResponse) ToJsonString ¶
func (r *ModifyDDoSSwitchResponse) ToJsonString() string
type ModifyDDoSThresholdRequest ¶
type ModifyDDoSThresholdRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // DDoS清洗阈值,取值[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; // 当设置值为0时,表示采用默认值; Threshold *uint64 `json:"Threshold,omitempty" name:"Threshold"` }
func NewModifyDDoSThresholdRequest ¶
func NewModifyDDoSThresholdRequest() (request *ModifyDDoSThresholdRequest)
func (*ModifyDDoSThresholdRequest) FromJsonString ¶
func (r *ModifyDDoSThresholdRequest) FromJsonString(s string) error
func (*ModifyDDoSThresholdRequest) ToJsonString ¶
func (r *ModifyDDoSThresholdRequest) ToJsonString() string
type ModifyDDoSThresholdResponse ¶
type ModifyDDoSThresholdResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDDoSThresholdResponse ¶
func NewModifyDDoSThresholdResponse() (response *ModifyDDoSThresholdResponse)
func (*ModifyDDoSThresholdResponse) FromJsonString ¶
func (r *ModifyDDoSThresholdResponse) FromJsonString(s string) error
func (*ModifyDDoSThresholdResponse) ToJsonString ¶
func (r *ModifyDDoSThresholdResponse) ToJsonString() string
type ModifyDDoSWaterKeyRequest ¶
type ModifyDDoSWaterKeyRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 策略ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // 密钥操作,取值:[add(添加),delete(删除),open(开启),close(关闭),get(获取密钥)] Method *string `json:"Method,omitempty" name:"Method"` // 密钥ID,当添加密钥操作时可以不填或填0,其他操作时必须填写; KeyId *uint64 `json:"KeyId,omitempty" name:"KeyId"` }
func NewModifyDDoSWaterKeyRequest ¶
func NewModifyDDoSWaterKeyRequest() (request *ModifyDDoSWaterKeyRequest)
func (*ModifyDDoSWaterKeyRequest) FromJsonString ¶
func (r *ModifyDDoSWaterKeyRequest) FromJsonString(s string) error
func (*ModifyDDoSWaterKeyRequest) ToJsonString ¶
func (r *ModifyDDoSWaterKeyRequest) ToJsonString() string
type ModifyDDoSWaterKeyResponse ¶
type ModifyDDoSWaterKeyResponse struct { *tchttp.BaseResponse Response *struct { // 水印密钥列表 KeyList []*WaterPrintKey `json:"KeyList,omitempty" name:"KeyList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDDoSWaterKeyResponse ¶
func NewModifyDDoSWaterKeyResponse() (response *ModifyDDoSWaterKeyResponse)
func (*ModifyDDoSWaterKeyResponse) FromJsonString ¶
func (r *ModifyDDoSWaterKeyResponse) FromJsonString(s string) error
func (*ModifyDDoSWaterKeyResponse) ToJsonString ¶
func (r *ModifyDDoSWaterKeyResponse) ToJsonString() string
type ModifyElasticLimitRequest ¶
type ModifyElasticLimitRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 弹性防护阈值,取值[0 10000 20000 30000 40000 50000 60000 70000 80000 90000 100000 120000 150000 200000 250000 300000 400000 600000 800000 220000 310000 110000 270000 610000] Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewModifyElasticLimitRequest ¶
func NewModifyElasticLimitRequest() (request *ModifyElasticLimitRequest)
func (*ModifyElasticLimitRequest) FromJsonString ¶
func (r *ModifyElasticLimitRequest) FromJsonString(s string) error
func (*ModifyElasticLimitRequest) ToJsonString ¶
func (r *ModifyElasticLimitRequest) ToJsonString() string
type ModifyElasticLimitResponse ¶
type ModifyElasticLimitResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyElasticLimitResponse ¶
func NewModifyElasticLimitResponse() (response *ModifyElasticLimitResponse)
func (*ModifyElasticLimitResponse) FromJsonString ¶
func (r *ModifyElasticLimitResponse) FromJsonString(s string) error
func (*ModifyElasticLimitResponse) ToJsonString ¶
func (r *ModifyElasticLimitResponse) ToJsonString() string
type ModifyL4HealthRequest ¶
type ModifyL4HealthRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 健康检查参数数组 Healths []*L4RuleHealth `json:"Healths,omitempty" name:"Healths" list` }
func NewModifyL4HealthRequest ¶
func NewModifyL4HealthRequest() (request *ModifyL4HealthRequest)
func (*ModifyL4HealthRequest) FromJsonString ¶
func (r *ModifyL4HealthRequest) FromJsonString(s string) error
func (*ModifyL4HealthRequest) ToJsonString ¶
func (r *ModifyL4HealthRequest) ToJsonString() string
type ModifyL4HealthResponse ¶
type ModifyL4HealthResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyL4HealthResponse ¶
func NewModifyL4HealthResponse() (response *ModifyL4HealthResponse)
func (*ModifyL4HealthResponse) FromJsonString ¶
func (r *ModifyL4HealthResponse) FromJsonString(s string) error
func (*ModifyL4HealthResponse) ToJsonString ¶
func (r *ModifyL4HealthResponse) ToJsonString() string
type ModifyL4KeepTimeRequest ¶
type ModifyL4KeepTimeRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 规则ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)] KeepEnable *uint64 `json:"KeepEnable,omitempty" name:"KeepEnable"` // 会话保持时间,单位秒 KeepTime *uint64 `json:"KeepTime,omitempty" name:"KeepTime"` }
func NewModifyL4KeepTimeRequest ¶
func NewModifyL4KeepTimeRequest() (request *ModifyL4KeepTimeRequest)
func (*ModifyL4KeepTimeRequest) FromJsonString ¶
func (r *ModifyL4KeepTimeRequest) FromJsonString(s string) error
func (*ModifyL4KeepTimeRequest) ToJsonString ¶
func (r *ModifyL4KeepTimeRequest) ToJsonString() string
type ModifyL4KeepTimeResponse ¶
type ModifyL4KeepTimeResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyL4KeepTimeResponse ¶
func NewModifyL4KeepTimeResponse() (response *ModifyL4KeepTimeResponse)
func (*ModifyL4KeepTimeResponse) FromJsonString ¶
func (r *ModifyL4KeepTimeResponse) FromJsonString(s string) error
func (*ModifyL4KeepTimeResponse) ToJsonString ¶
func (r *ModifyL4KeepTimeResponse) ToJsonString() string
type ModifyL4RulesRequest ¶
type ModifyL4RulesRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 规则 Rule *L4RuleEntry `json:"Rule,omitempty" name:"Rule"` }
func NewModifyL4RulesRequest ¶
func NewModifyL4RulesRequest() (request *ModifyL4RulesRequest)
func (*ModifyL4RulesRequest) FromJsonString ¶
func (r *ModifyL4RulesRequest) FromJsonString(s string) error
func (*ModifyL4RulesRequest) ToJsonString ¶
func (r *ModifyL4RulesRequest) ToJsonString() string
type ModifyL4RulesResponse ¶
type ModifyL4RulesResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyL4RulesResponse ¶
func NewModifyL4RulesResponse() (response *ModifyL4RulesResponse)
func (*ModifyL4RulesResponse) FromJsonString ¶
func (r *ModifyL4RulesResponse) FromJsonString(s string) error
func (*ModifyL4RulesResponse) ToJsonString ¶
func (r *ModifyL4RulesResponse) ToJsonString() string
type ModifyL7RulesRequest ¶
type ModifyL7RulesRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 规则 Rule *L7RuleEntry `json:"Rule,omitempty" name:"Rule"` }
func NewModifyL7RulesRequest ¶
func NewModifyL7RulesRequest() (request *ModifyL7RulesRequest)
func (*ModifyL7RulesRequest) FromJsonString ¶
func (r *ModifyL7RulesRequest) FromJsonString(s string) error
func (*ModifyL7RulesRequest) ToJsonString ¶
func (r *ModifyL7RulesRequest) ToJsonString() string
type ModifyL7RulesResponse ¶
type ModifyL7RulesResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyL7RulesResponse ¶
func NewModifyL7RulesResponse() (response *ModifyL7RulesResponse)
func (*ModifyL7RulesResponse) FromJsonString ¶
func (r *ModifyL7RulesResponse) FromJsonString(s string) error
func (*ModifyL7RulesResponse) ToJsonString ¶
func (r *ModifyL7RulesResponse) ToJsonString() string
type ModifyNetReturnSwitchRequest ¶
type ModifyNetReturnSwitchRequest struct { *tchttp.BaseRequest // 大禹子产品代号(net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源实例ID Id *string `json:"Id,omitempty" name:"Id"` // Status 表示回切开关,0: 关闭, 1:打开 Status *uint64 `json:"Status,omitempty" name:"Status"` // 回切时长,单位:小时,取值[0,1,2,3,4,5,6;]当status=1时必选填写Hour>0 Hour *uint64 `json:"Hour,omitempty" name:"Hour"` }
func NewModifyNetReturnSwitchRequest ¶
func NewModifyNetReturnSwitchRequest() (request *ModifyNetReturnSwitchRequest)
func (*ModifyNetReturnSwitchRequest) FromJsonString ¶
func (r *ModifyNetReturnSwitchRequest) FromJsonString(s string) error
func (*ModifyNetReturnSwitchRequest) ToJsonString ¶
func (r *ModifyNetReturnSwitchRequest) ToJsonString() string
type ModifyNetReturnSwitchResponse ¶
type ModifyNetReturnSwitchResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyNetReturnSwitchResponse ¶
func NewModifyNetReturnSwitchResponse() (response *ModifyNetReturnSwitchResponse)
func (*ModifyNetReturnSwitchResponse) FromJsonString ¶
func (r *ModifyNetReturnSwitchResponse) FromJsonString(s string) error
func (*ModifyNetReturnSwitchResponse) ToJsonString ¶
func (r *ModifyNetReturnSwitchResponse) ToJsonString() string
type ModifyResBindDDoSPolicyRequest ¶
type ModifyResBindDDoSPolicyRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) Business *string `json:"Business,omitempty" name:"Business"` // 资源ID Id *string `json:"Id,omitempty" name:"Id"` // 策略ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // 绑定或解绑,bind表示绑定策略,unbind表示解绑策略 Method *string `json:"Method,omitempty" name:"Method"` }
func NewModifyResBindDDoSPolicyRequest ¶
func NewModifyResBindDDoSPolicyRequest() (request *ModifyResBindDDoSPolicyRequest)
func (*ModifyResBindDDoSPolicyRequest) FromJsonString ¶
func (r *ModifyResBindDDoSPolicyRequest) FromJsonString(s string) error
func (*ModifyResBindDDoSPolicyRequest) ToJsonString ¶
func (r *ModifyResBindDDoSPolicyRequest) ToJsonString() string
type ModifyResBindDDoSPolicyResponse ¶
type ModifyResBindDDoSPolicyResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyResBindDDoSPolicyResponse ¶
func NewModifyResBindDDoSPolicyResponse() (response *ModifyResBindDDoSPolicyResponse)
func (*ModifyResBindDDoSPolicyResponse) FromJsonString ¶
func (r *ModifyResBindDDoSPolicyResponse) FromJsonString(s string) error
func (*ModifyResBindDDoSPolicyResponse) ToJsonString ¶
func (r *ModifyResBindDDoSPolicyResponse) ToJsonString() string
type ModifyResourceRenewFlagRequest ¶
type ModifyResourceRenewFlagRequest struct { *tchttp.BaseRequest // 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版;shield表示棋牌盾;bgp表示独享包;bgp-multip表示共享包;insurance表示保险包;staticpack表示三网套餐包) Business *string `json:"Business,omitempty" name:"Business"` // 资源Id Id *string `json:"Id,omitempty" name:"Id"` // 自动续费标记(0手动续费;1自动续费;2到期不续费) RenewFlag *uint64 `json:"RenewFlag,omitempty" name:"RenewFlag"` }
func NewModifyResourceRenewFlagRequest ¶
func NewModifyResourceRenewFlagRequest() (request *ModifyResourceRenewFlagRequest)
func (*ModifyResourceRenewFlagRequest) FromJsonString ¶
func (r *ModifyResourceRenewFlagRequest) FromJsonString(s string) error
func (*ModifyResourceRenewFlagRequest) ToJsonString ¶
func (r *ModifyResourceRenewFlagRequest) ToJsonString() string
type ModifyResourceRenewFlagResponse ¶
type ModifyResourceRenewFlagResponse struct { *tchttp.BaseResponse Response *struct { // 成功码 Success *SuccessCode `json:"Success,omitempty" name:"Success"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyResourceRenewFlagResponse ¶
func NewModifyResourceRenewFlagResponse() (response *ModifyResourceRenewFlagResponse)
func (*ModifyResourceRenewFlagResponse) FromJsonString ¶
func (r *ModifyResourceRenewFlagResponse) FromJsonString(s string) error
func (*ModifyResourceRenewFlagResponse) ToJsonString ¶
func (r *ModifyResourceRenewFlagResponse) ToJsonString() string
type ProtocolPort ¶
type RegionInstanceCount ¶
type ResourceIp ¶
type SchedulingDomain ¶
type SchedulingDomain struct { // 调度域名 Domain *string `json:"Domain,omitempty" name:"Domain"` // BGP线路IP列表 BGPIpList []*string `json:"BGPIpList,omitempty" name:"BGPIpList" list` // 电信线路IP列表 CTCCIpList []*string `json:"CTCCIpList,omitempty" name:"CTCCIpList" list` // 联通线路IP列表 CUCCIpList []*string `json:"CUCCIpList,omitempty" name:"CUCCIpList" list` // 移动线路IP列表 CMCCIpList []*string `json:"CMCCIpList,omitempty" name:"CMCCIpList" list` // 海外线路IP列表 OverseaIpList []*string `json:"OverseaIpList,omitempty" name:"OverseaIpList" list` // 调度方式,当前仅支持优先级, 取值为priority Method *string `json:"Method,omitempty" name:"Method"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // ttl TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // 状态 // 注意:此字段可能返回 null,表示取不到有效值。 Status *uint64 `json:"Status,omitempty" name:"Status"` // 修改时间 // 注意:此字段可能返回 null,表示取不到有效值。 ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` }
type SuccessCode ¶
type WaterPrintKey ¶
type WaterPrintKey struct { // 水印KeyID KeyId *string `json:"KeyId,omitempty" name:"KeyId"` // 水印Key值 KeyContent *string `json:"KeyContent,omitempty" name:"KeyContent"` // 水印Key的版本号 KeyVersion *string `json:"KeyVersion,omitempty" name:"KeyVersion"` // 是否开启,取值[0(没有开启),1(已开启)] OpenStatus *uint64 `json:"OpenStatus,omitempty" name:"OpenStatus"` // 密钥生成时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` }
type WaterPrintPolicy ¶
type WaterPrintPolicy struct { // TCP端口段,例如["2000-3000","3500-4000"] TcpPortList []*string `json:"TcpPortList,omitempty" name:"TcpPortList" list` // UDP端口段,例如["2000-3000","3500-4000"] UdpPortList []*string `json:"UdpPortList,omitempty" name:"UdpPortList" list` // 水印偏移量,取值范围[0, 100) Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 是否自动剥离,取值[0(不自动剥离),1(自动剥离)] RemoveSwitch *uint64 `json:"RemoveSwitch,omitempty" name:"RemoveSwitch"` // 是否开启,取值[0(没有开启),1(已开启)] OpenStatus *uint64 `json:"OpenStatus,omitempty" name:"OpenStatus"` }