Documentation ¶
Index ¶
- Constants
- type AnycastOutPackRelation
- type AssociateDDoSEipAddressRequest
- type AssociateDDoSEipAddressRequestParams
- type AssociateDDoSEipAddressResponse
- type AssociateDDoSEipAddressResponseParams
- type AssociateDDoSEipLoadBalancerRequest
- type AssociateDDoSEipLoadBalancerRequestParams
- type AssociateDDoSEipLoadBalancerResponse
- type AssociateDDoSEipLoadBalancerResponseParams
- type BGPIPInstance
- type BGPIPInstanceSpecification
- type BGPIPInstanceUsages
- type BGPInstance
- type BGPInstanceSpecification
- type BGPInstanceUsages
- type BlackWhiteIpRelation
- type BoundIpInfo
- type CCLevelPolicy
- type CCPrecisionPlyRecord
- type CCPrecisionPolicy
- type CCReqLimitPolicyRecord
- type CCThresholdPolicy
- type CcBlackWhiteIpPolicy
- type CcGeoIPBlockConfig
- type CcGeoIpPolicyNew
- type CertIdInsL7Rules
- type Client
- func (c *Client) AssociateDDoSEipAddress(request *AssociateDDoSEipAddressRequest) (response *AssociateDDoSEipAddressResponse, err error)
- func (c *Client) AssociateDDoSEipAddressWithContext(ctx context.Context, request *AssociateDDoSEipAddressRequest) (response *AssociateDDoSEipAddressResponse, err error)
- func (c *Client) AssociateDDoSEipLoadBalancer(request *AssociateDDoSEipLoadBalancerRequest) (response *AssociateDDoSEipLoadBalancerResponse, err error)
- func (c *Client) AssociateDDoSEipLoadBalancerWithContext(ctx context.Context, request *AssociateDDoSEipLoadBalancerRequest) (response *AssociateDDoSEipLoadBalancerResponse, err error)
- func (c *Client) CreateBlackWhiteIpList(request *CreateBlackWhiteIpListRequest) (response *CreateBlackWhiteIpListResponse, err error)
- func (c *Client) CreateBlackWhiteIpListWithContext(ctx context.Context, request *CreateBlackWhiteIpListRequest) (response *CreateBlackWhiteIpListResponse, err error)
- func (c *Client) CreateBoundIP(request *CreateBoundIPRequest) (response *CreateBoundIPResponse, err error)
- func (c *Client) CreateBoundIPWithContext(ctx context.Context, request *CreateBoundIPRequest) (response *CreateBoundIPResponse, err error)
- func (c *Client) CreateCCPrecisionPolicy(request *CreateCCPrecisionPolicyRequest) (response *CreateCCPrecisionPolicyResponse, err error)
- func (c *Client) CreateCCPrecisionPolicyWithContext(ctx context.Context, request *CreateCCPrecisionPolicyRequest) (response *CreateCCPrecisionPolicyResponse, err error)
- func (c *Client) CreateCCReqLimitPolicy(request *CreateCCReqLimitPolicyRequest) (response *CreateCCReqLimitPolicyResponse, err error)
- func (c *Client) CreateCCReqLimitPolicyWithContext(ctx context.Context, request *CreateCCReqLimitPolicyRequest) (response *CreateCCReqLimitPolicyResponse, err error)
- func (c *Client) CreateCcBlackWhiteIpList(request *CreateCcBlackWhiteIpListRequest) (response *CreateCcBlackWhiteIpListResponse, err error)
- func (c *Client) CreateCcBlackWhiteIpListWithContext(ctx context.Context, request *CreateCcBlackWhiteIpListRequest) (response *CreateCcBlackWhiteIpListResponse, err error)
- func (c *Client) CreateCcGeoIPBlockConfig(request *CreateCcGeoIPBlockConfigRequest) (response *CreateCcGeoIPBlockConfigResponse, err error)
- func (c *Client) CreateCcGeoIPBlockConfigWithContext(ctx context.Context, request *CreateCcGeoIPBlockConfigRequest) (response *CreateCcGeoIPBlockConfigResponse, err error)
- func (c *Client) CreateDDoSAI(request *CreateDDoSAIRequest) (response *CreateDDoSAIResponse, err error)
- func (c *Client) CreateDDoSAIWithContext(ctx context.Context, request *CreateDDoSAIRequest) (response *CreateDDoSAIResponse, err error)
- func (c *Client) CreateDDoSGeoIPBlockConfig(request *CreateDDoSGeoIPBlockConfigRequest) (response *CreateDDoSGeoIPBlockConfigResponse, err error)
- func (c *Client) CreateDDoSGeoIPBlockConfigWithContext(ctx context.Context, request *CreateDDoSGeoIPBlockConfigRequest) (response *CreateDDoSGeoIPBlockConfigResponse, err error)
- func (c *Client) CreateDDoSSpeedLimitConfig(request *CreateDDoSSpeedLimitConfigRequest) (response *CreateDDoSSpeedLimitConfigResponse, err error)
- func (c *Client) CreateDDoSSpeedLimitConfigWithContext(ctx context.Context, request *CreateDDoSSpeedLimitConfigRequest) (response *CreateDDoSSpeedLimitConfigResponse, err error)
- func (c *Client) CreateDefaultAlarmThreshold(request *CreateDefaultAlarmThresholdRequest) (response *CreateDefaultAlarmThresholdResponse, err error)
- func (c *Client) CreateDefaultAlarmThresholdWithContext(ctx context.Context, request *CreateDefaultAlarmThresholdRequest) (response *CreateDefaultAlarmThresholdResponse, err error)
- func (c *Client) CreateIPAlarmThresholdConfig(request *CreateIPAlarmThresholdConfigRequest) (response *CreateIPAlarmThresholdConfigResponse, err error)
- func (c *Client) CreateIPAlarmThresholdConfigWithContext(ctx context.Context, request *CreateIPAlarmThresholdConfigRequest) (response *CreateIPAlarmThresholdConfigResponse, err error)
- func (c *Client) CreateL7RuleCerts(request *CreateL7RuleCertsRequest) (response *CreateL7RuleCertsResponse, err error)
- func (c *Client) CreateL7RuleCertsWithContext(ctx context.Context, request *CreateL7RuleCertsRequest) (response *CreateL7RuleCertsResponse, err error)
- func (c *Client) CreateNewL7Rules(request *CreateNewL7RulesRequest) (response *CreateNewL7RulesResponse, err error)
- func (c *Client) CreateNewL7RulesWithContext(ctx context.Context, request *CreateNewL7RulesRequest) (response *CreateNewL7RulesResponse, err error)
- func (c *Client) CreatePacketFilterConfig(request *CreatePacketFilterConfigRequest) (response *CreatePacketFilterConfigResponse, err error)
- func (c *Client) CreatePacketFilterConfigWithContext(ctx context.Context, request *CreatePacketFilterConfigRequest) (response *CreatePacketFilterConfigResponse, err error)
- func (c *Client) CreateProtocolBlockConfig(request *CreateProtocolBlockConfigRequest) (response *CreateProtocolBlockConfigResponse, err error)
- func (c *Client) CreateProtocolBlockConfigWithContext(ctx context.Context, request *CreateProtocolBlockConfigRequest) (response *CreateProtocolBlockConfigResponse, err error)
- func (c *Client) CreateSchedulingDomain(request *CreateSchedulingDomainRequest) (response *CreateSchedulingDomainResponse, err error)
- func (c *Client) CreateSchedulingDomainWithContext(ctx context.Context, request *CreateSchedulingDomainRequest) (response *CreateSchedulingDomainResponse, err error)
- func (c *Client) CreateWaterPrintConfig(request *CreateWaterPrintConfigRequest) (response *CreateWaterPrintConfigResponse, err error)
- func (c *Client) CreateWaterPrintConfigWithContext(ctx context.Context, request *CreateWaterPrintConfigRequest) (response *CreateWaterPrintConfigResponse, err error)
- func (c *Client) CreateWaterPrintKey(request *CreateWaterPrintKeyRequest) (response *CreateWaterPrintKeyResponse, err error)
- func (c *Client) CreateWaterPrintKeyWithContext(ctx context.Context, request *CreateWaterPrintKeyRequest) (response *CreateWaterPrintKeyResponse, err error)
- func (c *Client) DeleteCCLevelPolicy(request *DeleteCCLevelPolicyRequest) (response *DeleteCCLevelPolicyResponse, err error)
- func (c *Client) DeleteCCLevelPolicyWithContext(ctx context.Context, request *DeleteCCLevelPolicyRequest) (response *DeleteCCLevelPolicyResponse, err error)
- func (c *Client) DeleteCCPrecisionPolicy(request *DeleteCCPrecisionPolicyRequest) (response *DeleteCCPrecisionPolicyResponse, err error)
- func (c *Client) DeleteCCPrecisionPolicyWithContext(ctx context.Context, request *DeleteCCPrecisionPolicyRequest) (response *DeleteCCPrecisionPolicyResponse, err error)
- func (c *Client) DeleteCCThresholdPolicy(request *DeleteCCThresholdPolicyRequest) (response *DeleteCCThresholdPolicyResponse, err error)
- func (c *Client) DeleteCCThresholdPolicyWithContext(ctx context.Context, request *DeleteCCThresholdPolicyRequest) (response *DeleteCCThresholdPolicyResponse, err error)
- func (c *Client) DeleteCcBlackWhiteIpList(request *DeleteCcBlackWhiteIpListRequest) (response *DeleteCcBlackWhiteIpListResponse, err error)
- func (c *Client) DeleteCcBlackWhiteIpListWithContext(ctx context.Context, request *DeleteCcBlackWhiteIpListRequest) (response *DeleteCcBlackWhiteIpListResponse, err error)
- func (c *Client) DeleteCcGeoIPBlockConfig(request *DeleteCcGeoIPBlockConfigRequest) (response *DeleteCcGeoIPBlockConfigResponse, err error)
- func (c *Client) DeleteCcGeoIPBlockConfigWithContext(ctx context.Context, request *DeleteCcGeoIPBlockConfigRequest) (response *DeleteCcGeoIPBlockConfigResponse, err error)
- func (c *Client) DeleteDDoSGeoIPBlockConfig(request *DeleteDDoSGeoIPBlockConfigRequest) (response *DeleteDDoSGeoIPBlockConfigResponse, err error)
- func (c *Client) DeleteDDoSGeoIPBlockConfigWithContext(ctx context.Context, request *DeleteDDoSGeoIPBlockConfigRequest) (response *DeleteDDoSGeoIPBlockConfigResponse, err error)
- func (c *Client) DeleteDDoSSpeedLimitConfig(request *DeleteDDoSSpeedLimitConfigRequest) (response *DeleteDDoSSpeedLimitConfigResponse, err error)
- func (c *Client) DeleteDDoSSpeedLimitConfigWithContext(ctx context.Context, request *DeleteDDoSSpeedLimitConfigRequest) (response *DeleteDDoSSpeedLimitConfigResponse, err error)
- func (c *Client) DeletePacketFilterConfig(request *DeletePacketFilterConfigRequest) (response *DeletePacketFilterConfigResponse, err error)
- func (c *Client) DeletePacketFilterConfigWithContext(ctx context.Context, request *DeletePacketFilterConfigRequest) (response *DeletePacketFilterConfigResponse, err error)
- func (c *Client) DeleteWaterPrintConfig(request *DeleteWaterPrintConfigRequest) (response *DeleteWaterPrintConfigResponse, err error)
- func (c *Client) DeleteWaterPrintConfigWithContext(ctx context.Context, request *DeleteWaterPrintConfigRequest) (response *DeleteWaterPrintConfigResponse, err error)
- func (c *Client) DeleteWaterPrintKey(request *DeleteWaterPrintKeyRequest) (response *DeleteWaterPrintKeyResponse, err error)
- func (c *Client) DeleteWaterPrintKeyWithContext(ctx context.Context, request *DeleteWaterPrintKeyRequest) (response *DeleteWaterPrintKeyResponse, err error)
- func (c *Client) DescribeBasicDeviceStatus(request *DescribeBasicDeviceStatusRequest) (response *DescribeBasicDeviceStatusResponse, err error)
- func (c *Client) DescribeBasicDeviceStatusWithContext(ctx context.Context, request *DescribeBasicDeviceStatusRequest) (response *DescribeBasicDeviceStatusResponse, err error)
- func (c *Client) DescribeBgpBizTrend(request *DescribeBgpBizTrendRequest) (response *DescribeBgpBizTrendResponse, err error)
- func (c *Client) DescribeBgpBizTrendWithContext(ctx context.Context, request *DescribeBgpBizTrendRequest) (response *DescribeBgpBizTrendResponse, err error)
- func (c *Client) DescribeBizHttpStatus(request *DescribeBizHttpStatusRequest) (response *DescribeBizHttpStatusResponse, err error)
- func (c *Client) DescribeBizHttpStatusWithContext(ctx context.Context, request *DescribeBizHttpStatusRequest) (response *DescribeBizHttpStatusResponse, err error)
- func (c *Client) DescribeBizTrend(request *DescribeBizTrendRequest) (response *DescribeBizTrendResponse, err error)
- func (c *Client) DescribeBizTrendWithContext(ctx context.Context, request *DescribeBizTrendRequest) (response *DescribeBizTrendResponse, err error)
- func (c *Client) DescribeBlackWhiteIpList(request *DescribeBlackWhiteIpListRequest) (response *DescribeBlackWhiteIpListResponse, err error)
- func (c *Client) DescribeBlackWhiteIpListWithContext(ctx context.Context, request *DescribeBlackWhiteIpListRequest) (response *DescribeBlackWhiteIpListResponse, err error)
- func (c *Client) DescribeCCLevelList(request *DescribeCCLevelListRequest) (response *DescribeCCLevelListResponse, err error)
- func (c *Client) DescribeCCLevelListWithContext(ctx context.Context, request *DescribeCCLevelListRequest) (response *DescribeCCLevelListResponse, err error)
- func (c *Client) DescribeCCLevelPolicy(request *DescribeCCLevelPolicyRequest) (response *DescribeCCLevelPolicyResponse, err error)
- func (c *Client) DescribeCCLevelPolicyWithContext(ctx context.Context, request *DescribeCCLevelPolicyRequest) (response *DescribeCCLevelPolicyResponse, err error)
- func (c *Client) DescribeCCPrecisionPlyList(request *DescribeCCPrecisionPlyListRequest) (response *DescribeCCPrecisionPlyListResponse, err error)
- func (c *Client) DescribeCCPrecisionPlyListWithContext(ctx context.Context, request *DescribeCCPrecisionPlyListRequest) (response *DescribeCCPrecisionPlyListResponse, err error)
- func (c *Client) DescribeCCThresholdList(request *DescribeCCThresholdListRequest) (response *DescribeCCThresholdListResponse, err error)
- func (c *Client) DescribeCCThresholdListWithContext(ctx context.Context, request *DescribeCCThresholdListRequest) (response *DescribeCCThresholdListResponse, err error)
- func (c *Client) DescribeCCTrend(request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error)
- func (c *Client) DescribeCCTrendWithContext(ctx context.Context, request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error)
- func (c *Client) DescribeCcBlackWhiteIpList(request *DescribeCcBlackWhiteIpListRequest) (response *DescribeCcBlackWhiteIpListResponse, err error)
- func (c *Client) DescribeCcBlackWhiteIpListWithContext(ctx context.Context, request *DescribeCcBlackWhiteIpListRequest) (response *DescribeCcBlackWhiteIpListResponse, err error)
- func (c *Client) DescribeCcGeoIPBlockConfigList(request *DescribeCcGeoIPBlockConfigListRequest) (response *DescribeCcGeoIPBlockConfigListResponse, err error)
- func (c *Client) DescribeCcGeoIPBlockConfigListWithContext(ctx context.Context, request *DescribeCcGeoIPBlockConfigListRequest) (response *DescribeCcGeoIPBlockConfigListResponse, err error)
- func (c *Client) DescribeDDoSTrend(request *DescribeDDoSTrendRequest) (response *DescribeDDoSTrendResponse, err error)
- func (c *Client) DescribeDDoSTrendWithContext(ctx context.Context, request *DescribeDDoSTrendRequest) (response *DescribeDDoSTrendResponse, err error)
- func (c *Client) DescribeDefaultAlarmThreshold(request *DescribeDefaultAlarmThresholdRequest) (response *DescribeDefaultAlarmThresholdResponse, err error)
- func (c *Client) DescribeDefaultAlarmThresholdWithContext(ctx context.Context, request *DescribeDefaultAlarmThresholdRequest) (response *DescribeDefaultAlarmThresholdResponse, err error)
- func (c *Client) DescribeIpBlockList(request *DescribeIpBlockListRequest) (response *DescribeIpBlockListResponse, err error)
- func (c *Client) DescribeIpBlockListWithContext(ctx context.Context, request *DescribeIpBlockListRequest) (response *DescribeIpBlockListResponse, err error)
- func (c *Client) DescribeL7RulesBySSLCertId(request *DescribeL7RulesBySSLCertIdRequest) (response *DescribeL7RulesBySSLCertIdResponse, err error)
- func (c *Client) DescribeL7RulesBySSLCertIdWithContext(ctx context.Context, request *DescribeL7RulesBySSLCertIdRequest) (response *DescribeL7RulesBySSLCertIdResponse, err error)
- func (c *Client) DescribeListBGPIPInstances(request *DescribeListBGPIPInstancesRequest) (response *DescribeListBGPIPInstancesResponse, err error)
- func (c *Client) DescribeListBGPIPInstancesWithContext(ctx context.Context, request *DescribeListBGPIPInstancesRequest) (response *DescribeListBGPIPInstancesResponse, err error)
- func (c *Client) DescribeListBGPInstances(request *DescribeListBGPInstancesRequest) (response *DescribeListBGPInstancesResponse, err error)
- func (c *Client) DescribeListBGPInstancesWithContext(ctx context.Context, request *DescribeListBGPInstancesRequest) (response *DescribeListBGPInstancesResponse, err error)
- func (c *Client) DescribeListBlackWhiteIpList(request *DescribeListBlackWhiteIpListRequest) (response *DescribeListBlackWhiteIpListResponse, err error)
- func (c *Client) DescribeListBlackWhiteIpListWithContext(ctx context.Context, request *DescribeListBlackWhiteIpListRequest) (response *DescribeListBlackWhiteIpListResponse, err error)
- func (c *Client) DescribeListDDoSAI(request *DescribeListDDoSAIRequest) (response *DescribeListDDoSAIResponse, err error)
- func (c *Client) DescribeListDDoSAIWithContext(ctx context.Context, request *DescribeListDDoSAIRequest) (response *DescribeListDDoSAIResponse, err error)
- func (c *Client) DescribeListDDoSGeoIPBlockConfig(request *DescribeListDDoSGeoIPBlockConfigRequest) (response *DescribeListDDoSGeoIPBlockConfigResponse, err error)
- func (c *Client) DescribeListDDoSGeoIPBlockConfigWithContext(ctx context.Context, request *DescribeListDDoSGeoIPBlockConfigRequest) (response *DescribeListDDoSGeoIPBlockConfigResponse, err error)
- func (c *Client) DescribeListDDoSSpeedLimitConfig(request *DescribeListDDoSSpeedLimitConfigRequest) (response *DescribeListDDoSSpeedLimitConfigResponse, err error)
- func (c *Client) DescribeListDDoSSpeedLimitConfigWithContext(ctx context.Context, request *DescribeListDDoSSpeedLimitConfigRequest) (response *DescribeListDDoSSpeedLimitConfigResponse, err error)
- func (c *Client) DescribeListIPAlarmConfig(request *DescribeListIPAlarmConfigRequest) (response *DescribeListIPAlarmConfigResponse, err error)
- func (c *Client) DescribeListIPAlarmConfigWithContext(ctx context.Context, request *DescribeListIPAlarmConfigRequest) (response *DescribeListIPAlarmConfigResponse, err error)
- func (c *Client) DescribeListListener(request *DescribeListListenerRequest) (response *DescribeListListenerResponse, err error)
- func (c *Client) DescribeListListenerWithContext(ctx context.Context, request *DescribeListListenerRequest) (response *DescribeListListenerResponse, err error)
- func (c *Client) DescribeListPacketFilterConfig(request *DescribeListPacketFilterConfigRequest) (response *DescribeListPacketFilterConfigResponse, err error)
- func (c *Client) DescribeListPacketFilterConfigWithContext(ctx context.Context, request *DescribeListPacketFilterConfigRequest) (response *DescribeListPacketFilterConfigResponse, err error)
- func (c *Client) DescribeListProtectThresholdConfig(request *DescribeListProtectThresholdConfigRequest) (response *DescribeListProtectThresholdConfigResponse, err error)
- func (c *Client) DescribeListProtectThresholdConfigWithContext(ctx context.Context, request *DescribeListProtectThresholdConfigRequest) (response *DescribeListProtectThresholdConfigResponse, err error)
- func (c *Client) DescribeListProtocolBlockConfig(request *DescribeListProtocolBlockConfigRequest) (response *DescribeListProtocolBlockConfigResponse, err error)
- func (c *Client) DescribeListProtocolBlockConfigWithContext(ctx context.Context, request *DescribeListProtocolBlockConfigRequest) (response *DescribeListProtocolBlockConfigResponse, err error)
- func (c *Client) DescribeListSchedulingDomain(request *DescribeListSchedulingDomainRequest) (response *DescribeListSchedulingDomainResponse, err error)
- func (c *Client) DescribeListSchedulingDomainWithContext(ctx context.Context, request *DescribeListSchedulingDomainRequest) (response *DescribeListSchedulingDomainResponse, err error)
- func (c *Client) DescribeListWaterPrintConfig(request *DescribeListWaterPrintConfigRequest) (response *DescribeListWaterPrintConfigResponse, err error)
- func (c *Client) DescribeListWaterPrintConfigWithContext(ctx context.Context, request *DescribeListWaterPrintConfigRequest) (response *DescribeListWaterPrintConfigResponse, err error)
- func (c *Client) DescribeNewL7Rules(request *DescribeNewL7RulesRequest) (response *DescribeNewL7RulesResponse, err error)
- func (c *Client) DescribeNewL7RulesErrHealth(request *DescribeNewL7RulesErrHealthRequest) (response *DescribeNewL7RulesErrHealthResponse, err error)
- func (c *Client) DescribeNewL7RulesErrHealthWithContext(ctx context.Context, request *DescribeNewL7RulesErrHealthRequest) (response *DescribeNewL7RulesErrHealthResponse, err error)
- func (c *Client) DescribeNewL7RulesWithContext(ctx context.Context, request *DescribeNewL7RulesRequest) (response *DescribeNewL7RulesResponse, err error)
- func (c *Client) DescribeOverviewDDoSEventList(request *DescribeOverviewDDoSEventListRequest) (response *DescribeOverviewDDoSEventListResponse, err error)
- func (c *Client) DescribeOverviewDDoSEventListWithContext(ctx context.Context, request *DescribeOverviewDDoSEventListRequest) (response *DescribeOverviewDDoSEventListResponse, err error)
- func (c *Client) DescribePendingRiskInfo(request *DescribePendingRiskInfoRequest) (response *DescribePendingRiskInfoResponse, err error)
- func (c *Client) DescribePendingRiskInfoWithContext(ctx context.Context, request *DescribePendingRiskInfoRequest) (response *DescribePendingRiskInfoResponse, err error)
- func (c *Client) DisassociateDDoSEipAddress(request *DisassociateDDoSEipAddressRequest) (response *DisassociateDDoSEipAddressResponse, err error)
- func (c *Client) DisassociateDDoSEipAddressWithContext(ctx context.Context, request *DisassociateDDoSEipAddressRequest) (response *DisassociateDDoSEipAddressResponse, err error)
- func (c *Client) ModifyCCPrecisionPolicy(request *ModifyCCPrecisionPolicyRequest) (response *ModifyCCPrecisionPolicyResponse, err error)
- func (c *Client) ModifyCCPrecisionPolicyWithContext(ctx context.Context, request *ModifyCCPrecisionPolicyRequest) (response *ModifyCCPrecisionPolicyResponse, err error)
- func (c *Client) ModifyCcBlackWhiteIpList(request *ModifyCcBlackWhiteIpListRequest) (response *ModifyCcBlackWhiteIpListResponse, err error)
- func (c *Client) ModifyCcBlackWhiteIpListWithContext(ctx context.Context, request *ModifyCcBlackWhiteIpListRequest) (response *ModifyCcBlackWhiteIpListResponse, err error)
- func (c *Client) ModifyDDoSGeoIPBlockConfig(request *ModifyDDoSGeoIPBlockConfigRequest) (response *ModifyDDoSGeoIPBlockConfigResponse, err error)
- func (c *Client) ModifyDDoSGeoIPBlockConfigWithContext(ctx context.Context, request *ModifyDDoSGeoIPBlockConfigRequest) (response *ModifyDDoSGeoIPBlockConfigResponse, err error)
- func (c *Client) ModifyDDoSSpeedLimitConfig(request *ModifyDDoSSpeedLimitConfigRequest) (response *ModifyDDoSSpeedLimitConfigResponse, err error)
- func (c *Client) ModifyDDoSSpeedLimitConfigWithContext(ctx context.Context, request *ModifyDDoSSpeedLimitConfigRequest) (response *ModifyDDoSSpeedLimitConfigResponse, err error)
- func (c *Client) ModifyDomainUsrName(request *ModifyDomainUsrNameRequest) (response *ModifyDomainUsrNameResponse, err error)
- func (c *Client) ModifyDomainUsrNameWithContext(ctx context.Context, request *ModifyDomainUsrNameRequest) (response *ModifyDomainUsrNameResponse, err error)
- func (c *Client) ModifyNewDomainRules(request *ModifyNewDomainRulesRequest) (response *ModifyNewDomainRulesResponse, err error)
- func (c *Client) ModifyNewDomainRulesWithContext(ctx context.Context, request *ModifyNewDomainRulesRequest) (response *ModifyNewDomainRulesResponse, err error)
- func (c *Client) ModifyPacketFilterConfig(request *ModifyPacketFilterConfigRequest) (response *ModifyPacketFilterConfigResponse, err error)
- func (c *Client) ModifyPacketFilterConfigWithContext(ctx context.Context, request *ModifyPacketFilterConfigRequest) (response *ModifyPacketFilterConfigResponse, err error)
- func (c *Client) SwitchWaterPrintConfig(request *SwitchWaterPrintConfigRequest) (response *SwitchWaterPrintConfigResponse, err error)
- func (c *Client) SwitchWaterPrintConfigWithContext(ctx context.Context, request *SwitchWaterPrintConfigRequest) (response *SwitchWaterPrintConfigResponse, err error)
- type CreateBlackWhiteIpListRequest
- type CreateBlackWhiteIpListRequestParams
- type CreateBlackWhiteIpListResponse
- type CreateBlackWhiteIpListResponseParams
- type CreateBoundIPRequest
- type CreateBoundIPRequestParams
- type CreateBoundIPResponse
- type CreateBoundIPResponseParams
- type CreateCCPrecisionPolicyRequest
- type CreateCCPrecisionPolicyRequestParams
- type CreateCCPrecisionPolicyResponse
- type CreateCCPrecisionPolicyResponseParams
- type CreateCCReqLimitPolicyRequest
- type CreateCCReqLimitPolicyRequestParams
- type CreateCCReqLimitPolicyResponse
- type CreateCCReqLimitPolicyResponseParams
- type CreateCcBlackWhiteIpListRequest
- type CreateCcBlackWhiteIpListRequestParams
- type CreateCcBlackWhiteIpListResponse
- type CreateCcBlackWhiteIpListResponseParams
- type CreateCcGeoIPBlockConfigRequest
- type CreateCcGeoIPBlockConfigRequestParams
- type CreateCcGeoIPBlockConfigResponse
- type CreateCcGeoIPBlockConfigResponseParams
- type CreateDDoSAIRequest
- type CreateDDoSAIRequestParams
- type CreateDDoSAIResponse
- type CreateDDoSAIResponseParams
- type CreateDDoSGeoIPBlockConfigRequest
- type CreateDDoSGeoIPBlockConfigRequestParams
- type CreateDDoSGeoIPBlockConfigResponse
- type CreateDDoSGeoIPBlockConfigResponseParams
- type CreateDDoSSpeedLimitConfigRequest
- type CreateDDoSSpeedLimitConfigRequestParams
- type CreateDDoSSpeedLimitConfigResponse
- type CreateDDoSSpeedLimitConfigResponseParams
- type CreateDefaultAlarmThresholdRequest
- type CreateDefaultAlarmThresholdRequestParams
- type CreateDefaultAlarmThresholdResponse
- type CreateDefaultAlarmThresholdResponseParams
- type CreateIPAlarmThresholdConfigRequest
- type CreateIPAlarmThresholdConfigRequestParams
- type CreateIPAlarmThresholdConfigResponse
- type CreateIPAlarmThresholdConfigResponseParams
- type CreateL7RuleCertsRequest
- type CreateL7RuleCertsRequestParams
- type CreateL7RuleCertsResponse
- type CreateL7RuleCertsResponseParams
- type CreateNewL7RulesRequest
- type CreateNewL7RulesRequestParams
- type CreateNewL7RulesResponse
- type CreateNewL7RulesResponseParams
- type CreatePacketFilterConfigRequest
- type CreatePacketFilterConfigRequestParams
- type CreatePacketFilterConfigResponse
- type CreatePacketFilterConfigResponseParams
- type CreateProtocolBlockConfigRequest
- type CreateProtocolBlockConfigRequestParams
- type CreateProtocolBlockConfigResponse
- type CreateProtocolBlockConfigResponseParams
- type CreateSchedulingDomainRequest
- type CreateSchedulingDomainRequestParams
- type CreateSchedulingDomainResponse
- type CreateSchedulingDomainResponseParams
- type CreateWaterPrintConfigRequest
- type CreateWaterPrintConfigRequestParams
- type CreateWaterPrintConfigResponse
- type CreateWaterPrintConfigResponseParams
- type CreateWaterPrintKeyRequest
- type CreateWaterPrintKeyRequestParams
- type CreateWaterPrintKeyResponse
- type CreateWaterPrintKeyResponseParams
- type DDoSAIRelation
- type DDoSGeoIPBlockConfig
- type DDoSGeoIPBlockConfigRelation
- type DDoSSpeedLimitConfig
- type DDoSSpeedLimitConfigRelation
- type DefaultAlarmThreshold
- type DeleteCCLevelPolicyRequest
- type DeleteCCLevelPolicyRequestParams
- type DeleteCCLevelPolicyResponse
- type DeleteCCLevelPolicyResponseParams
- type DeleteCCPrecisionPolicyRequest
- type DeleteCCPrecisionPolicyRequestParams
- type DeleteCCPrecisionPolicyResponse
- type DeleteCCPrecisionPolicyResponseParams
- type DeleteCCThresholdPolicyRequest
- type DeleteCCThresholdPolicyRequestParams
- type DeleteCCThresholdPolicyResponse
- type DeleteCCThresholdPolicyResponseParams
- type DeleteCcBlackWhiteIpListRequest
- type DeleteCcBlackWhiteIpListRequestParams
- type DeleteCcBlackWhiteIpListResponse
- type DeleteCcBlackWhiteIpListResponseParams
- type DeleteCcGeoIPBlockConfigRequest
- type DeleteCcGeoIPBlockConfigRequestParams
- type DeleteCcGeoIPBlockConfigResponse
- type DeleteCcGeoIPBlockConfigResponseParams
- type DeleteDDoSGeoIPBlockConfigRequest
- type DeleteDDoSGeoIPBlockConfigRequestParams
- type DeleteDDoSGeoIPBlockConfigResponse
- type DeleteDDoSGeoIPBlockConfigResponseParams
- type DeleteDDoSSpeedLimitConfigRequest
- type DeleteDDoSSpeedLimitConfigRequestParams
- type DeleteDDoSSpeedLimitConfigResponse
- type DeleteDDoSSpeedLimitConfigResponseParams
- type DeletePacketFilterConfigRequest
- type DeletePacketFilterConfigRequestParams
- type DeletePacketFilterConfigResponse
- type DeletePacketFilterConfigResponseParams
- type DeleteWaterPrintConfigRequest
- type DeleteWaterPrintConfigRequestParams
- type DeleteWaterPrintConfigResponse
- type DeleteWaterPrintConfigResponseParams
- type DeleteWaterPrintKeyRequest
- type DeleteWaterPrintKeyRequestParams
- type DeleteWaterPrintKeyResponse
- type DeleteWaterPrintKeyResponseParams
- type DescribeBasicDeviceStatusRequest
- type DescribeBasicDeviceStatusRequestParams
- type DescribeBasicDeviceStatusResponse
- type DescribeBasicDeviceStatusResponseParams
- type DescribeBgpBizTrendRequest
- type DescribeBgpBizTrendRequestParams
- type DescribeBgpBizTrendResponse
- type DescribeBgpBizTrendResponseParams
- type DescribeBizHttpStatusRequest
- type DescribeBizHttpStatusRequestParams
- type DescribeBizHttpStatusResponse
- type DescribeBizHttpStatusResponseParams
- type DescribeBizTrendRequest
- type DescribeBizTrendRequestParams
- type DescribeBizTrendResponse
- type DescribeBizTrendResponseParams
- type DescribeBlackWhiteIpListRequest
- type DescribeBlackWhiteIpListRequestParams
- type DescribeBlackWhiteIpListResponse
- type DescribeBlackWhiteIpListResponseParams
- type DescribeCCLevelListRequest
- type DescribeCCLevelListRequestParams
- type DescribeCCLevelListResponse
- type DescribeCCLevelListResponseParams
- type DescribeCCLevelPolicyRequest
- type DescribeCCLevelPolicyRequestParams
- type DescribeCCLevelPolicyResponse
- type DescribeCCLevelPolicyResponseParams
- type DescribeCCPrecisionPlyListRequest
- type DescribeCCPrecisionPlyListRequestParams
- type DescribeCCPrecisionPlyListResponse
- type DescribeCCPrecisionPlyListResponseParams
- type DescribeCCThresholdListRequest
- type DescribeCCThresholdListRequestParams
- type DescribeCCThresholdListResponse
- type DescribeCCThresholdListResponseParams
- type DescribeCCTrendRequest
- type DescribeCCTrendRequestParams
- type DescribeCCTrendResponse
- type DescribeCCTrendResponseParams
- type DescribeCcBlackWhiteIpListRequest
- type DescribeCcBlackWhiteIpListRequestParams
- type DescribeCcBlackWhiteIpListResponse
- type DescribeCcBlackWhiteIpListResponseParams
- type DescribeCcGeoIPBlockConfigListRequest
- type DescribeCcGeoIPBlockConfigListRequestParams
- type DescribeCcGeoIPBlockConfigListResponse
- type DescribeCcGeoIPBlockConfigListResponseParams
- type DescribeDDoSTrendRequest
- type DescribeDDoSTrendRequestParams
- type DescribeDDoSTrendResponse
- type DescribeDDoSTrendResponseParams
- type DescribeDefaultAlarmThresholdRequest
- type DescribeDefaultAlarmThresholdRequestParams
- type DescribeDefaultAlarmThresholdResponse
- type DescribeDefaultAlarmThresholdResponseParams
- type DescribeIpBlockListRequest
- type DescribeIpBlockListRequestParams
- type DescribeIpBlockListResponse
- type DescribeIpBlockListResponseParams
- type DescribeL7RulesBySSLCertIdRequest
- type DescribeL7RulesBySSLCertIdRequestParams
- type DescribeL7RulesBySSLCertIdResponse
- type DescribeL7RulesBySSLCertIdResponseParams
- type DescribeListBGPIPInstancesRequest
- type DescribeListBGPIPInstancesRequestParams
- type DescribeListBGPIPInstancesResponse
- type DescribeListBGPIPInstancesResponseParams
- type DescribeListBGPInstancesRequest
- type DescribeListBGPInstancesRequestParams
- type DescribeListBGPInstancesResponse
- type DescribeListBGPInstancesResponseParams
- type DescribeListBlackWhiteIpListRequest
- type DescribeListBlackWhiteIpListRequestParams
- type DescribeListBlackWhiteIpListResponse
- type DescribeListBlackWhiteIpListResponseParams
- type DescribeListDDoSAIRequest
- type DescribeListDDoSAIRequestParams
- type DescribeListDDoSAIResponse
- type DescribeListDDoSAIResponseParams
- type DescribeListDDoSGeoIPBlockConfigRequest
- type DescribeListDDoSGeoIPBlockConfigRequestParams
- type DescribeListDDoSGeoIPBlockConfigResponse
- type DescribeListDDoSGeoIPBlockConfigResponseParams
- type DescribeListDDoSSpeedLimitConfigRequest
- type DescribeListDDoSSpeedLimitConfigRequestParams
- type DescribeListDDoSSpeedLimitConfigResponse
- type DescribeListDDoSSpeedLimitConfigResponseParams
- type DescribeListIPAlarmConfigRequest
- type DescribeListIPAlarmConfigRequestParams
- type DescribeListIPAlarmConfigResponse
- type DescribeListIPAlarmConfigResponseParams
- type DescribeListListenerRequest
- type DescribeListListenerRequestParams
- type DescribeListListenerResponse
- type DescribeListListenerResponseParams
- type DescribeListPacketFilterConfigRequest
- type DescribeListPacketFilterConfigRequestParams
- type DescribeListPacketFilterConfigResponse
- type DescribeListPacketFilterConfigResponseParams
- type DescribeListProtectThresholdConfigRequest
- type DescribeListProtectThresholdConfigRequestParams
- type DescribeListProtectThresholdConfigResponse
- type DescribeListProtectThresholdConfigResponseParams
- type DescribeListProtocolBlockConfigRequest
- type DescribeListProtocolBlockConfigRequestParams
- type DescribeListProtocolBlockConfigResponse
- type DescribeListProtocolBlockConfigResponseParams
- type DescribeListSchedulingDomainRequest
- type DescribeListSchedulingDomainRequestParams
- type DescribeListSchedulingDomainResponse
- type DescribeListSchedulingDomainResponseParams
- type DescribeListWaterPrintConfigRequest
- type DescribeListWaterPrintConfigRequestParams
- type DescribeListWaterPrintConfigResponse
- type DescribeListWaterPrintConfigResponseParams
- type DescribeNewL7RulesErrHealthRequest
- type DescribeNewL7RulesErrHealthRequestParams
- type DescribeNewL7RulesErrHealthResponse
- type DescribeNewL7RulesErrHealthResponseParams
- type DescribeNewL7RulesRequest
- type DescribeNewL7RulesRequestParams
- type DescribeNewL7RulesResponse
- type DescribeNewL7RulesResponseParams
- type DescribeOverviewDDoSEventListRequest
- type DescribeOverviewDDoSEventListRequestParams
- type DescribeOverviewDDoSEventListResponse
- type DescribeOverviewDDoSEventListResponseParams
- type DescribePendingRiskInfoRequest
- type DescribePendingRiskInfoRequestParams
- type DescribePendingRiskInfoResponse
- type DescribePendingRiskInfoResponseParams
- type DisassociateDDoSEipAddressRequest
- type DisassociateDDoSEipAddressRequestParams
- type DisassociateDDoSEipAddressResponse
- type DisassociateDDoSEipAddressResponseParams
- type EipAddressPackRelation
- type EipAddressRelation
- type EipProductInfo
- type ForwardListener
- type HttpStatusMap
- type IPAlarmThresholdRelation
- type IPLineInfo
- type InsL7Rules
- type InstanceRelation
- type IpBlockData
- type IpSegment
- type KeyValue
- type L4RuleSource
- type L7RuleEntry
- type L7RuleHealth
- type Layer4Rule
- type Layer7Rule
- type ListenerCcThreholdConfig
- type ModifyCCPrecisionPolicyRequest
- type ModifyCCPrecisionPolicyRequestParams
- type ModifyCCPrecisionPolicyResponse
- type ModifyCCPrecisionPolicyResponseParams
- type ModifyCcBlackWhiteIpListRequest
- type ModifyCcBlackWhiteIpListRequestParams
- type ModifyCcBlackWhiteIpListResponse
- type ModifyCcBlackWhiteIpListResponseParams
- type ModifyDDoSGeoIPBlockConfigRequest
- type ModifyDDoSGeoIPBlockConfigRequestParams
- type ModifyDDoSGeoIPBlockConfigResponse
- type ModifyDDoSGeoIPBlockConfigResponseParams
- type ModifyDDoSSpeedLimitConfigRequest
- type ModifyDDoSSpeedLimitConfigRequestParams
- type ModifyDDoSSpeedLimitConfigResponse
- type ModifyDDoSSpeedLimitConfigResponseParams
- type ModifyDomainUsrNameRequest
- type ModifyDomainUsrNameRequestParams
- type ModifyDomainUsrNameResponse
- type ModifyDomainUsrNameResponseParams
- type ModifyNewDomainRulesRequest
- type ModifyNewDomainRulesRequestParams
- type ModifyNewDomainRulesResponse
- type ModifyNewDomainRulesResponseParams
- type ModifyPacketFilterConfigRequest
- type ModifyPacketFilterConfigRequestParams
- type ModifyPacketFilterConfigResponse
- type ModifyPacketFilterConfigResponseParams
- type NewL7RuleEntry
- type OverviewDDoSEvent
- type PackInfo
- type PacketFilterConfig
- type PacketFilterRelation
- type PortSegment
- type ProtectThresholdRelation
- type ProtocolBlockConfig
- type ProtocolBlockRelation
- type ProtocolPort
- type ProxyTypeInfo
- type RegionInfo
- type RuleInstanceRelation
- type SchedulingDomainInfo
- type SourceServer
- type SpeedValue
- type StaticPackRelation
- type SuccessCode
- type SwitchWaterPrintConfigRequest
- type SwitchWaterPrintConfigRequestParams
- type SwitchWaterPrintConfigResponse
- type SwitchWaterPrintConfigResponseParams
- type TagFilter
- type TagInfo
- type WaterPrintConfig
- type WaterPrintKey
- type WaterPrintRelation
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // The DryRun operation means that the request will be successful, but an extra DryRun parameter is passed. DRYRUNOPERATION = "DryRunOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Internal error. Please try again later. INTERNALERROR = "InternalError" // Parameter error. INVALIDPARAMETER = "InvalidParameter" // Invalid parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The quota limit should not be exceeded. LIMITEXCEEDED = "LimitExceeded" // Missing parameters. Please check and try again. MISSINGPARAMETER = "MissingParameter" // Operation denied. OPERATIONDENIED = "OperationDenied" // The number of requests should not exceed the frequency limit. REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // The resource is occupied. RESOURCEINUSE = "ResourceInUse" // Insufficient resource. RESOURCEINSUFFICIENT = "ResourceInsufficient" // The resource does not exist. Please try again later. RESOURCENOTFOUND = "ResourceNotFound" // The resource is unavailable. RESOURCEUNAVAILABLE = "ResourceUnavailable" // The resources have been sold out. RESOURCESSOLDOUT = "ResourcesSoldOut" // The operation is unauthorized. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Unknown parameter error. Please check and try again. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2020-03-09"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnycastOutPackRelation ¶
type AnycastOutPackRelation struct { // Application bandwidth (in Mbps). // Note: This field may return null, indicating that no valid values can be obtained. NormalBandwidth *uint64 `json:"NormalBandwidth,omitnil,omitempty" name:"NormalBandwidth"` // Number of forwarding rules // Note: This field may return null, indicating that no valid values can be obtained. ForwardRulesLimit *uint64 `json:"ForwardRulesLimit,omitnil,omitempty" name:"ForwardRulesLimit"` // Auto-renewal flag // Note: This field may return null, indicating that no valid values can be obtained. AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // Expiration date // Note: This field may return null, indicating that no valid values can be obtained. CurDeadline *string `json:"CurDeadline,omitnil,omitempty" name:"CurDeadline"` }
type AssociateDDoSEipAddressRequest ¶
type AssociateDDoSEipAddressRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID (only Anti-DDoS Advanced). For example, `bgpip-0000011x`. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // EIP of the Anti-DDoS instance ID Eip *string `json:"Eip,omitnil,omitempty" name:"Eip"` // Instance ID to bind. For example, `ins-11112222`. It can be queried in the console or obtained from `InstanceId` returned by `DescribeInstances`. CvmInstanceID *string `json:"CvmInstanceID,omitnil,omitempty" name:"CvmInstanceID"` // Region of the CVM instance. For example, `ap-hongkong`. CvmRegion *string `json:"CvmRegion,omitnil,omitempty" name:"CvmRegion"` }
func NewAssociateDDoSEipAddressRequest ¶
func NewAssociateDDoSEipAddressRequest() (request *AssociateDDoSEipAddressRequest)
func (*AssociateDDoSEipAddressRequest) FromJsonString ¶
func (r *AssociateDDoSEipAddressRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssociateDDoSEipAddressRequest) ToJsonString ¶
func (r *AssociateDDoSEipAddressRequest) ToJsonString() string
type AssociateDDoSEipAddressRequestParams ¶
type AssociateDDoSEipAddressRequestParams struct { // Anti-DDoS instance ID (only Anti-DDoS Advanced). For example, `bgpip-0000011x`. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // EIP of the Anti-DDoS instance ID Eip *string `json:"Eip,omitnil,omitempty" name:"Eip"` // Instance ID to bind. For example, `ins-11112222`. It can be queried in the console or obtained from `InstanceId` returned by `DescribeInstances`. CvmInstanceID *string `json:"CvmInstanceID,omitnil,omitempty" name:"CvmInstanceID"` // Region of the CVM instance. For example, `ap-hongkong`. CvmRegion *string `json:"CvmRegion,omitnil,omitempty" name:"CvmRegion"` }
Predefined struct for user
type AssociateDDoSEipAddressResponse ¶
type AssociateDDoSEipAddressResponse struct { *tchttp.BaseResponse Response *AssociateDDoSEipAddressResponseParams `json:"Response"` }
func NewAssociateDDoSEipAddressResponse ¶
func NewAssociateDDoSEipAddressResponse() (response *AssociateDDoSEipAddressResponse)
func (*AssociateDDoSEipAddressResponse) FromJsonString ¶
func (r *AssociateDDoSEipAddressResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssociateDDoSEipAddressResponse) ToJsonString ¶
func (r *AssociateDDoSEipAddressResponse) ToJsonString() string
type AssociateDDoSEipAddressResponseParams ¶
type AssociateDDoSEipAddressResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AssociateDDoSEipLoadBalancerRequest ¶
type AssociateDDoSEipLoadBalancerRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID (only Anti-DDoS Advanced). For example, `bgpip-0000011x`. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // EIP of the Anti-DDoS instance ID. Eip *string `json:"Eip,omitnil,omitempty" name:"Eip"` // ID of the CLB to bind, such as `lb-0000002i`. It can be queried in the console or obtained from `LoadBalancerId` returned by the `DescribeLoadBalancers` API. LoadBalancerID *string `json:"LoadBalancerID,omitnil,omitempty" name:"LoadBalancerID"` // Region of the CLB instance, such as `ap-hongkong`. LoadBalancerRegion *string `json:"LoadBalancerRegion,omitnil,omitempty" name:"LoadBalancerRegion"` // CLB private IP Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` }
func NewAssociateDDoSEipLoadBalancerRequest ¶
func NewAssociateDDoSEipLoadBalancerRequest() (request *AssociateDDoSEipLoadBalancerRequest)
func (*AssociateDDoSEipLoadBalancerRequest) FromJsonString ¶
func (r *AssociateDDoSEipLoadBalancerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssociateDDoSEipLoadBalancerRequest) ToJsonString ¶
func (r *AssociateDDoSEipLoadBalancerRequest) ToJsonString() string
type AssociateDDoSEipLoadBalancerRequestParams ¶
type AssociateDDoSEipLoadBalancerRequestParams struct { // Anti-DDoS instance ID (only Anti-DDoS Advanced). For example, `bgpip-0000011x`. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // EIP of the Anti-DDoS instance ID. Eip *string `json:"Eip,omitnil,omitempty" name:"Eip"` // ID of the CLB to bind, such as `lb-0000002i`. It can be queried in the console or obtained from `LoadBalancerId` returned by the `DescribeLoadBalancers` API. LoadBalancerID *string `json:"LoadBalancerID,omitnil,omitempty" name:"LoadBalancerID"` // Region of the CLB instance, such as `ap-hongkong`. LoadBalancerRegion *string `json:"LoadBalancerRegion,omitnil,omitempty" name:"LoadBalancerRegion"` // CLB private IP Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` }
Predefined struct for user
type AssociateDDoSEipLoadBalancerResponse ¶
type AssociateDDoSEipLoadBalancerResponse struct { *tchttp.BaseResponse Response *AssociateDDoSEipLoadBalancerResponseParams `json:"Response"` }
func NewAssociateDDoSEipLoadBalancerResponse ¶
func NewAssociateDDoSEipLoadBalancerResponse() (response *AssociateDDoSEipLoadBalancerResponse)
func (*AssociateDDoSEipLoadBalancerResponse) FromJsonString ¶
func (r *AssociateDDoSEipLoadBalancerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssociateDDoSEipLoadBalancerResponse) ToJsonString ¶
func (r *AssociateDDoSEipLoadBalancerResponse) ToJsonString() string
type AssociateDDoSEipLoadBalancerResponseParams ¶
type AssociateDDoSEipLoadBalancerResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BGPIPInstance ¶
type BGPIPInstance struct { // Anti-DDoS instance details InstanceDetail *InstanceRelation `json:"InstanceDetail,omitnil,omitempty" name:"InstanceDetail"` // Anti-DDoS instance specifications SpecificationLimit *BGPIPInstanceSpecification `json:"SpecificationLimit,omitnil,omitempty" name:"SpecificationLimit"` // Anti-DDoS instance usage statistics Usage *BGPIPInstanceUsages `json:"Usage,omitnil,omitempty" name:"Usage"` // Region of the Anti-DDoS instance Region *RegionInfo `json:"Region,omitnil,omitempty" name:"Region"` // Status of the Anti-DDoS instance. Valid values: // `idle`: running // `attacking`: under attacks // `blocking`: blocked // `creating`: creating // `deblocking`: unblocking // `isolate`: reprocessed and isolated Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Purchase time ExpiredTime *string `json:"ExpiredTime,omitnil,omitempty" name:"ExpiredTime"` // Expired At CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // Name of the Anti-DDoS instance Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Package details of the Anti-DDoS instance. // Note: This field is `null` for an Anti-DDoS instance without using a package. // Note: This field may return `null`, indicating that no valid value can be obtained. PackInfo *PackInfo `json:"PackInfo,omitnil,omitempty" name:"PackInfo"` // Non-BGP package details of the Anti-DDoS instance. // Note: This field is `null` for an Anti-DDoS instance without using a non-BGP package. // Note: This field may return `null`, indicating that no valid value can be obtained. StaticPackRelation *StaticPackRelation `json:"StaticPackRelation,omitnil,omitempty" name:"StaticPackRelation"` // Specifies the ISP. `0`: Chinese mainland ISPs (default); `1`:Radware;`2`: Tencent; `3`: NSFOCUS. Note that `1`, `2` and `3` are used for services outside the Chinese mainland. // Note: this field may return `null`, indicating that no valid values can be obtained. ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // Used to differentiate clusters // Note: This field may return `null`, indicating that no valid value can be obtained. Tgw *uint64 `json:"Tgw,omitnil,omitempty" name:"Tgw"` // EIP states: `CREATING`, `BINDING`, `BIND`, `UNBINDING`, `UNBIND`, `OFFLINING`, and `BIND_ENI`. The EIP must be bound to an Anti-DDoS Advanced instance. // Note: This field may return `null`, indicating that no valid value can be obtained. EipAddressStatus *string `json:"EipAddressStatus,omitnil,omitempty" name:"EipAddressStatus"` // Whether it is an Anti-DDoS EIP instance. `1`: Yes; `0`: No. // Note: This field may return `null`, indicating that no valid value can be obtained. EipFlag *int64 `json:"EipFlag,omitnil,omitempty" name:"EipFlag"` // EIP package details of the Anti-DDoS Advanced instance. // Note: This field is `null` for an Anti-DDoS Advanced instance without using an EIP package. // Note: This field may return `null`, indicating that no valid value can be obtained. EipAddressPackRelation *EipAddressPackRelation `json:"EipAddressPackRelation,omitnil,omitempty" name:"EipAddressPackRelation"` // Details of the Anti-DDoS Advanced instance bound to the EIP. // Note: This field is `null` if the EIP is not bound to an Anti-DDoS Advanced instance. // Note: This field may return `null`, indicating that no valid value can be obtained. EipAddressInfo *EipAddressRelation `json:"EipAddressInfo,omitnil,omitempty" name:"EipAddressInfo"` // Recommended domain name for clients to access. // Note: this field may return `null`, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Whether to enable Sec-MCA. Valid values: `1` (enabled) and `0` (disabled). DamDDoSStatus *uint64 `json:"DamDDoSStatus,omitnil,omitempty" name:"DamDDoSStatus"` // Whether it’s an IPv6 address. `1`: Yes; `0`: No. // Note: this field may return `null`, indicating that no valid values can be obtained. V6Flag *uint64 `json:"V6Flag,omitnil,omitempty" name:"V6Flag"` // Whether it’s an Anti-DDoS Advanced instance from Tencent Cloud channels. `1`: Yes; `0`: No. // Note: This field may return `null`, indicating that no valid value can be obtained. BGPIPChannelFlag *uint64 `json:"BGPIPChannelFlag,omitnil,omitempty" name:"BGPIPChannelFlag"` // Tag that the Anti-DDoS Advanced instance is associated with // Note: This field may return `null`, indicating that no valid value can be obtained. TagInfoList []*TagInfo `json:"TagInfoList,omitnil,omitempty" name:"TagInfoList"` // All-out package details of the instance // When an all-out package is not used by the instance, this field is `null`. // Note: This field may return `null`, indicating that no valid value can be obtained. AnycastOutPackRelation *AnycastOutPackRelation `json:"AnycastOutPackRelation,omitnil,omitempty" name:"AnycastOutPackRelation"` // Edition of the instance // Note: This field may return `null`, indicating that no valid value can be obtained. InstanceVersion *uint64 `json:"InstanceVersion,omitnil,omitempty" name:"InstanceVersion"` // Convoy instance ID // Note: This field may return `null`, indicating that no valid value can be obtained. ConvoyId *string `json:"ConvoyId,omitnil,omitempty" name:"ConvoyId"` // Pay-as-you-go bandwidth // Note: This field may return `null`, indicating that no valid value can be obtained. ElasticBandwidth *uint64 `json:"ElasticBandwidth,omitnil,omitempty" name:"ElasticBandwidth"` // Whether it’s the IP broadcasted by EdgeOne. Values: `1` (yes), `0` (no) // Note: This field may return null, indicating that no valid values can be obtained. EOFlag *uint64 `json:"EOFlag,omitnil,omitempty" name:"EOFlag"` }
type BGPIPInstanceSpecification ¶
type BGPIPInstanceSpecification struct { // Base protection bandwidth (in Mbps) ProtectBandwidth *uint64 `json:"ProtectBandwidth,omitnil,omitempty" name:"ProtectBandwidth"` // CC protection bandwidth (in QPS) ProtectCCQPS *uint64 `json:"ProtectCCQPS,omitnil,omitempty" name:"ProtectCCQPS"` // Normal application bandwidth (in Mbps) NormalBandwidth *uint64 `json:"NormalBandwidth,omitnil,omitempty" name:"NormalBandwidth"` // Number of forwarding rules ForwardRulesLimit *uint64 `json:"ForwardRulesLimit,omitnil,omitempty" name:"ForwardRulesLimit"` // Auto-renewal status. Valid values: // `0`: disabled // `1`: enabled // ] AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // Anti-DDoS Advanced line. Valid values: // `1`: BGP // `2`: China Telecom // `3`: China Unicom // `4`: China Mobile // `99`: third-party line // ] Line *uint64 `json:"Line,omitnil,omitempty" name:"Line"` // Elastic protection bandwidth (in Mbps) ElasticBandwidth *uint64 `json:"ElasticBandwidth,omitnil,omitempty" name:"ElasticBandwidth"` }
type BGPIPInstanceUsages ¶
type BGPIPInstanceUsages struct { // Number of used port rules PortRulesUsage *uint64 `json:"PortRulesUsage,omitnil,omitempty" name:"PortRulesUsage"` // Number of used domain name rules DomainRulesUsage *uint64 `json:"DomainRulesUsage,omitnil,omitempty" name:"DomainRulesUsage"` // Number of attack times in the last 7 days Last7DayAttackCount *uint64 `json:"Last7DayAttackCount,omitnil,omitempty" name:"Last7DayAttackCount"` }
type BGPInstance ¶
type BGPInstance struct { // Details of the Anti-DDoS Pro instance InstanceDetail *InstanceRelation `json:"InstanceDetail,omitnil,omitempty" name:"InstanceDetail"` // Specifications of the Anti-DDoS Pro instance SpecificationLimit *BGPInstanceSpecification `json:"SpecificationLimit,omitnil,omitempty" name:"SpecificationLimit"` // Usage statistics of the Anti-DDoS Pro instance Usage *BGPInstanceUsages `json:"Usage,omitnil,omitempty" name:"Usage"` // Region of the Anti-DDoS Pro instance Region *RegionInfo `json:"Region,omitnil,omitempty" name:"Region"` // Status of the Anti-DDoS Pro instance. Valid values: // `idle`: The instance is running normally. // `attacking`: The instance is under attack. // `blocking`: The instance is blocked. // `creating`: The instance is being created. // `deblocking`: Unblocking the instance // `isolate`: The instance is being isolated. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Purchase time CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // Expiration time ExpiredTime *string `json:"ExpiredTime,omitnil,omitempty" name:"ExpiredTime"` // Name of the Anti-DDoS Pro instance Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Details of the package to which the Anti-DDoS Pro instance belongs. // When the package provided is not used by the instance, this field is `null`. // Note: This field may return `null`, indicating that no valid value can be obtained. PackInfo *PackInfo `json:"PackInfo,omitnil,omitempty" name:"PackInfo"` // Details of the cloud product used by the EIP bound to the Anti-DDoS Pro instance EipProductInfos []*EipProductInfo `json:"EipProductInfos,omitnil,omitempty" name:"EipProductInfos"` // Binding status of the Anti-DDoS Pro instance // `idle`: The instance is bound. // `bounding`: Binding the instance. // `failed`: Failed to bind // ] BoundStatus *string `json:"BoundStatus,omitnil,omitempty" name:"BoundStatus"` // Layer-4 protection level DDoSLevel *string `json:"DDoSLevel,omitnil,omitempty" name:"DDoSLevel"` // Status of CC protection CCEnable *int64 `json:"CCEnable,omitnil,omitempty" name:"CCEnable"` // Tags associated with the resource TagInfoList []*TagInfo `json:"TagInfoList,omitnil,omitempty" name:"TagInfoList"` // New edition of Anti-DDoS Pro IpCountNewFlag *uint64 `json:"IpCountNewFlag,omitnil,omitempty" name:"IpCountNewFlag"` // The version of attack defense package VitalityVersion *uint64 `json:"VitalityVersion,omitnil,omitempty" name:"VitalityVersion"` // Network line // Note: This field may return null, indicating that no valid values can be obtained. Line *uint64 `json:"Line,omitnil,omitempty" name:"Line"` // Whether to enable elastic bandwidth ElasticServiceBandwidth *uint64 `json:"ElasticServiceBandwidth,omitnil,omitempty" name:"ElasticServiceBandwidth"` // Bandwidth quota given away by Tencent Cloud GiftServiceBandWidth *int64 `json:"GiftServiceBandWidth,omitnil,omitempty" name:"GiftServiceBandWidth"` }
type BGPInstanceSpecification ¶
type BGPInstanceSpecification struct { // Base protection bandwidth (in Gbps) ProtectBandwidth *uint64 `json:"ProtectBandwidth,omitnil,omitempty" name:"ProtectBandwidth"` // Number of protection chances ProtectCountLimit *uint64 `json:"ProtectCountLimit,omitnil,omitempty" name:"ProtectCountLimit"` // Number of protected IPs ProtectIPNumberLimit *uint64 `json:"ProtectIPNumberLimit,omitnil,omitempty" name:"ProtectIPNumberLimit"` // Auto-renewal status. Values: // `0`: Disabled // `1`: Enabled // ] AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // Protection type of Anti-DDoS Pro. Valid values: `0` (general protection) and `1` (Lighthouse-based protection). // Note: This field may return null, indicating that no valid values can be obtained. UnionPackFlag *uint64 `json:"UnionPackFlag,omitnil,omitempty" name:"UnionPackFlag"` // Application bandwidth // Note: This field may return null, indicating that no valid values can be obtained. ServiceBandWidth *uint64 `json:"ServiceBandWidth,omitnil,omitempty" name:"ServiceBandWidth"` // Whether it’s an Anti-DDoS Pro Premium edition. Values: `0` (General edition); `1` (Premium edition). // Note: This field may return null, indicating that no valid values can be obtained. BattleEditionFlag *uint64 `json:"BattleEditionFlag,omitnil,omitempty" name:"BattleEditionFlag"` // Whether it’s an Anti-DDoS Pro Standard edition. Values: `0` (General edition); `1` (Standard edition). // Note: This field may return null, indicating that no valid values can be obtained. ChannelEditionFlag *uint64 `json:"ChannelEditionFlag,omitnil,omitempty" name:"ChannelEditionFlag"` // Whether it’s an Anti-DDoS Pro Enterprise edition. Values: `0` (General edition); `1` (Enterprise edition). // Note: This field may return null, indicating that no valid values can be obtained. EnterpriseFlag *uint64 `json:"EnterpriseFlag,omitnil,omitempty" name:"EnterpriseFlag"` // Elastic bandwidth threshold of the Anti-DDoS Pro Enterprise edition. // Note: This field may return null, indicating that no valid values can be obtained. ElasticLimit *uint64 `json:"ElasticLimit,omitnil,omitempty" name:"ElasticLimit"` // Protection bandwidth after the plan downgrade, in Gbps. // Note: This field may return `null`, indicating that no valid value was found. DownGradeProtect *uint64 `json:"DownGradeProtect,omitnil,omitempty" name:"DownGradeProtect"` }
type BGPInstanceUsages ¶
type BGPInstanceUsages struct { // Number of used protection chances ProtectCountUsage *uint64 `json:"ProtectCountUsage,omitnil,omitempty" name:"ProtectCountUsage"` // Number of protected IPs ProtectIPNumberUsage *uint64 `json:"ProtectIPNumberUsage,omitnil,omitempty" name:"ProtectIPNumberUsage"` // Number of attack times in the last 7 days Last7DayAttackCount *uint64 `json:"Last7DayAttackCount,omitnil,omitempty" name:"Last7DayAttackCount"` }
type BlackWhiteIpRelation ¶
type BlackWhiteIpRelation struct { // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // IP type. Valid values: `black` (blocklisted IP), `white`(allowlisted IP). Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Anti-DDoS instance configured InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitnil,omitempty" name:"InstanceDetailList"` // IP mask. `0` indicates a 32-bit IP. Mask *uint64 `json:"Mask,omitnil,omitempty" name:"Mask"` // Modification time ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` }
type BoundIpInfo ¶
type BoundIpInfo struct { // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Category of product that can be bound. Valid values: `public` (CVM and CLB), `bm` (BM), `eni` (ENI), `vpngw` (VPN gateway), `natgw` (NAT gateway), `waf` (WAF), `fpc` (financial products), `gaap` (GAAP), and `other` (hosted IP). This field is required when you perform binding. BizType *string `json:"BizType,omitnil,omitempty" name:"BizType"` // Anti-DDoS instance ID of the IP. This field is required only when the instance is bound to an IP. For example, this field InstanceId will be `eni-*` if the instance ID is bound to an ENI IP; `none` if there is no instance to bind to a managed IP. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Sub-product category. Valid values: `cvm` (CVM), `lb` (Load balancer), `eni` (ENI), `vpngw` (VPN gateway), `natgw` (NAT gateway), `waf` (WAF), `fpc` (financial products), `gaap` (GAAP), `eip` (BM EIP) and `other` (managed IP). This field is required when you perform binding. DeviceType *string `json:"DeviceType,omitnil,omitempty" name:"DeviceType"` // ISP. Valid values: `0` (China Telecom), `1` (China Unicom), `2` (China Mobile), and `5` (BGP). This field is required when you perform binding. IspCode *uint64 `json:"IspCode,omitnil,omitempty" name:"IspCode"` }
type CCLevelPolicy ¶
type CCLevelPolicy struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Ip Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protection level. Values: `default`, `loose` and `strict`. Level *string `json:"Level,omitnil,omitempty" name:"Level"` // Creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Modification time ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` }
type CCPrecisionPlyRecord ¶
type CCPrecisionPlyRecord struct { // Type of the configuration field. Only `value` is supported. FieldType *string `json:"FieldType,omitnil,omitempty" name:"FieldType"` // Configuration field. Valid values: `cgi`, `ua`, `cookie`, `referer`, `accept`, and `srcip`. FieldName *string `json:"FieldName,omitnil,omitempty" name:"FieldName"` // Value of the configuration field Value *string `json:"Value,omitnil,omitempty" name:"Value"` // Filters values of configuration fields. `equal`: The value matches the configuration field. `not_equal`: The value does not match the configuration field. `include`: The value is included. ValueOperator *string `json:"ValueOperator,omitnil,omitempty" name:"ValueOperator"` }
type CCPrecisionPolicy ¶
type CCPrecisionPolicy struct { // Policy ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Action of limiting request frequency. Valid values: `alg` (limit request frequency via verification codes) and `drop`(drop requests). PolicyAction *string `json:"PolicyAction,omitnil,omitempty" name:"PolicyAction"` // List of policies PolicyList []*CCPrecisionPlyRecord `json:"PolicyList,omitnil,omitempty" name:"PolicyList"` // Creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Modification time ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` }
type CCReqLimitPolicyRecord ¶
type CCReqLimitPolicyRecord struct { // Sampling interval (in seconds). Valid values: `1`, `10`, `30`, and `60`. Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // Number of requests. Value range: 1-2000. RequestNum *uint64 `json:"RequestNum,omitnil,omitempty" name:"RequestNum"` // Action of limiting request frequency. Valid values: `alg` (limit request frequency via verification codes) and `drop`(drop requests). Action *string `json:"Action,omitnil,omitempty" name:"Action"` // Sets an interval of the frequency limit policy. Value range: 1-86400 (in seconds). ExecuteDuration *uint64 `json:"ExecuteDuration,omitnil,omitempty" name:"ExecuteDuration"` // Filters values of configuration fields. `include`: The value is included. `equal`: The value matches the configuration field. Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` // URI, which cannot be used together with `User-Agent` and `Cookie`. Uri *string `json:"Uri,omitnil,omitempty" name:"Uri"` // User-Agent, which cannot be used together with `Uri` and `Cookie`. UserAgent *string `json:"UserAgent,omitnil,omitempty" name:"UserAgent"` // Cookie, which cannot be used together with `Uri` and `User-Agent`. Cookie *string `json:"Cookie,omitnil,omitempty" name:"Cookie"` }
type CCThresholdPolicy ¶
type CCThresholdPolicy struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Cleansing threshold Threshold *int64 `json:"Threshold,omitnil,omitempty" name:"Threshold"` // Creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Modification time ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` }
type CcBlackWhiteIpPolicy ¶
type CcBlackWhiteIpPolicy struct { // Policy ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // IP type. Valid values: `black` (blocklisted IP), `white`(allowlisted IP). Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Blocklist/Allowlist IP address BlackWhiteIp *string `json:"BlackWhiteIp,omitnil,omitempty" name:"BlackWhiteIp"` // Mask Mask *uint64 `json:"Mask,omitnil,omitempty" name:"Mask"` // Creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Modification time ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` }
type CcGeoIPBlockConfig ¶
type CcGeoIPBlockConfig struct { // Region type. Valid values: // `oversea`: Outside the Chinese mainland. // `china`: The Chinese mainland. // `customized`: User-specified region. // ] RegionType *string `json:"RegionType,omitnil,omitempty" name:"RegionType"` // Blocking action. Valid values: // `drop`: Block the request. // `alg`: Verify the request via CAPTCHA. // ] Action *string `json:"Action,omitnil,omitempty" name:"Action"` // Configuration ID, which is generated after a configuration is added. This field is only required to modify or delete a configuration. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // This field is required when RegionType is `customized`; it can be left empty when RegionType is `china` or `oversea`. AreaList []*int64 `json:"AreaList,omitnil,omitempty" name:"AreaList"` }
type CcGeoIpPolicyNew ¶
type CcGeoIpPolicyNew struct { // Policy ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol. Valid values: `HTTP` and `HTTPS`. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Action. Valid values: `drop` and `alg`. Action *string `json:"Action,omitnil,omitempty" name:"Action"` // Region type. Valid values: `china`, `oversea` and `customized`. RegionType *string `json:"RegionType,omitnil,omitempty" name:"RegionType"` // ID list of regions to be blocked AreaList []*uint64 `json:"AreaList,omitnil,omitempty" name:"AreaList"` // Creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Modification time ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` }
type CertIdInsL7Rules ¶
type CertIdInsL7Rules struct { // List of rules configured for certificates L7Rules []*InsL7Rules `json:"L7Rules,omitnil,omitempty" name:"L7Rules"` // Certificate ID CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AssociateDDoSEipAddress ¶
func (c *Client) AssociateDDoSEipAddress(request *AssociateDDoSEipAddressRequest) (response *AssociateDDoSEipAddressResponse, err error)
AssociateDDoSEipAddress This API is used to bind an EIP to an Anti-DDoS Advanced instance or a specified private IP of an ENI.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) AssociateDDoSEipAddressWithContext ¶
func (c *Client) AssociateDDoSEipAddressWithContext(ctx context.Context, request *AssociateDDoSEipAddressRequest) (response *AssociateDDoSEipAddressResponse, err error)
AssociateDDoSEipAddress This API is used to bind an EIP to an Anti-DDoS Advanced instance or a specified private IP of an ENI.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) AssociateDDoSEipLoadBalancer ¶
func (c *Client) AssociateDDoSEipLoadBalancer(request *AssociateDDoSEipLoadBalancerRequest) (response *AssociateDDoSEipLoadBalancerResponse, err error)
AssociateDDoSEipLoadBalancer This API is used to bind an Anti-DDoS EIP to the specified private IP of a CLB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) AssociateDDoSEipLoadBalancerWithContext ¶
func (c *Client) AssociateDDoSEipLoadBalancerWithContext(ctx context.Context, request *AssociateDDoSEipLoadBalancerRequest) (response *AssociateDDoSEipLoadBalancerResponse, err error)
AssociateDDoSEipLoadBalancer This API is used to bind an Anti-DDoS EIP to the specified private IP of a CLB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateBlackWhiteIpList ¶
func (c *Client) CreateBlackWhiteIpList(request *CreateBlackWhiteIpListRequest) (response *CreateBlackWhiteIpListResponse, err error)
CreateBlackWhiteIpList This API is used to add an Anti-DDoS IP blocklist/allowlist.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateBlackWhiteIpListWithContext ¶
func (c *Client) CreateBlackWhiteIpListWithContext(ctx context.Context, request *CreateBlackWhiteIpListRequest) (response *CreateBlackWhiteIpListResponse, err error)
CreateBlackWhiteIpList This API is used to add an Anti-DDoS IP blocklist/allowlist.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateBoundIP ¶
func (c *Client) CreateBoundIP(request *CreateBoundIPRequest) (response *CreateBoundIPResponse, err error)
CreateBoundIP This API is used to bind an IP to an Anti-DDoS Pro instance Both single IP instances and multi-IP instances are available. Note that you should wait until the current binding or unbinding completes before using this async API for new operations.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateBoundIPWithContext ¶
func (c *Client) CreateBoundIPWithContext(ctx context.Context, request *CreateBoundIPRequest) (response *CreateBoundIPResponse, err error)
CreateBoundIP This API is used to bind an IP to an Anti-DDoS Pro instance Both single IP instances and multi-IP instances are available. Note that you should wait until the current binding or unbinding completes before using this async API for new operations.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCCPrecisionPolicy ¶
func (c *Client) CreateCCPrecisionPolicy(request *CreateCCPrecisionPolicyRequest) (response *CreateCCPrecisionPolicyResponse, err error)
CreateCCPrecisionPolicy This API is used to create a CC precise protection policy.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCCPrecisionPolicyWithContext ¶
func (c *Client) CreateCCPrecisionPolicyWithContext(ctx context.Context, request *CreateCCPrecisionPolicyRequest) (response *CreateCCPrecisionPolicyResponse, err error)
CreateCCPrecisionPolicy This API is used to create a CC precise protection policy.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCCReqLimitPolicy ¶
func (c *Client) CreateCCReqLimitPolicy(request *CreateCCReqLimitPolicyRequest) (response *CreateCCReqLimitPolicyResponse, err error)
CreateCCReqLimitPolicy This API is used to create a CC frequency limit policy.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCCReqLimitPolicyWithContext ¶
func (c *Client) CreateCCReqLimitPolicyWithContext(ctx context.Context, request *CreateCCReqLimitPolicyRequest) (response *CreateCCReqLimitPolicyResponse, err error)
CreateCCReqLimitPolicy This API is used to create a CC frequency limit policy.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCcBlackWhiteIpList ¶
func (c *Client) CreateCcBlackWhiteIpList(request *CreateCcBlackWhiteIpListRequest) (response *CreateCcBlackWhiteIpListResponse, err error)
CreateCcBlackWhiteIpList This API is used to create a layer 4 access control list to prevent CC attacks.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCcBlackWhiteIpListWithContext ¶
func (c *Client) CreateCcBlackWhiteIpListWithContext(ctx context.Context, request *CreateCcBlackWhiteIpListRequest) (response *CreateCcBlackWhiteIpListResponse, err error)
CreateCcBlackWhiteIpList This API is used to create a layer 4 access control list to prevent CC attacks.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCcGeoIPBlockConfig ¶
func (c *Client) CreateCcGeoIPBlockConfig(request *CreateCcGeoIPBlockConfigRequest) (response *CreateCcGeoIPBlockConfigResponse, err error)
CreateCcGeoIPBlockConfig This API is used to create a regional blocking configuration.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCcGeoIPBlockConfigWithContext ¶
func (c *Client) CreateCcGeoIPBlockConfigWithContext(ctx context.Context, request *CreateCcGeoIPBlockConfigRequest) (response *CreateCcGeoIPBlockConfigResponse, err error)
CreateCcGeoIPBlockConfig This API is used to create a regional blocking configuration.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateDDoSAI ¶
func (c *Client) CreateDDoSAI(request *CreateDDoSAIRequest) (response *CreateDDoSAIResponse, err error)
CreateDDoSAI This API is used to set Anti-DDoS AI protection switches.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateDDoSAIWithContext ¶
func (c *Client) CreateDDoSAIWithContext(ctx context.Context, request *CreateDDoSAIRequest) (response *CreateDDoSAIResponse, err error)
CreateDDoSAI This API is used to set Anti-DDoS AI protection switches.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateDDoSGeoIPBlockConfig ¶
func (c *Client) CreateDDoSGeoIPBlockConfig(request *CreateDDoSGeoIPBlockConfigRequest) (response *CreateDDoSGeoIPBlockConfigResponse, err error)
CreateDDoSGeoIPBlockConfig This API is used to add an Anti-DDoS region blocking configuration.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateDDoSGeoIPBlockConfigWithContext ¶
func (c *Client) CreateDDoSGeoIPBlockConfigWithContext(ctx context.Context, request *CreateDDoSGeoIPBlockConfigRequest) (response *CreateDDoSGeoIPBlockConfigResponse, err error)
CreateDDoSGeoIPBlockConfig This API is used to add an Anti-DDoS region blocking configuration.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateDDoSSpeedLimitConfig ¶
func (c *Client) CreateDDoSSpeedLimitConfig(request *CreateDDoSSpeedLimitConfigRequest) (response *CreateDDoSSpeedLimitConfigResponse, err error)
CreateDDoSSpeedLimitConfig This API is used to add Anti-DDoS access rate limit configurations.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateDDoSSpeedLimitConfigWithContext ¶
func (c *Client) CreateDDoSSpeedLimitConfigWithContext(ctx context.Context, request *CreateDDoSSpeedLimitConfigRequest) (response *CreateDDoSSpeedLimitConfigResponse, err error)
CreateDDoSSpeedLimitConfig This API is used to add Anti-DDoS access rate limit configurations.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateDefaultAlarmThreshold ¶
func (c *Client) CreateDefaultAlarmThreshold(request *CreateDefaultAlarmThresholdRequest) (response *CreateDefaultAlarmThresholdResponse, err error)
CreateDefaultAlarmThreshold This API is used to set the default alarm threshold of an IP.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) CreateDefaultAlarmThresholdWithContext ¶
func (c *Client) CreateDefaultAlarmThresholdWithContext(ctx context.Context, request *CreateDefaultAlarmThresholdRequest) (response *CreateDefaultAlarmThresholdResponse, err error)
CreateDefaultAlarmThreshold This API is used to set the default alarm threshold of an IP.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) CreateIPAlarmThresholdConfig ¶
func (c *Client) CreateIPAlarmThresholdConfig(request *CreateIPAlarmThresholdConfigRequest) (response *CreateIPAlarmThresholdConfigResponse, err error)
CreateIPAlarmThresholdConfig This API is used to set the default alarm threshold of an IP.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) CreateIPAlarmThresholdConfigWithContext ¶
func (c *Client) CreateIPAlarmThresholdConfigWithContext(ctx context.Context, request *CreateIPAlarmThresholdConfigRequest) (response *CreateIPAlarmThresholdConfigResponse, err error)
CreateIPAlarmThresholdConfig This API is used to set the default alarm threshold of an IP.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse"
func (*Client) CreateL7RuleCerts ¶
func (c *Client) CreateL7RuleCerts(request *CreateL7RuleCertsRequest) (response *CreateL7RuleCertsResponse, err error)
CreateL7RuleCerts This API is used to configure certificates with layer-7 forwarding rules in a batch for SSL testing.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateL7RuleCertsWithContext ¶
func (c *Client) CreateL7RuleCertsWithContext(ctx context.Context, request *CreateL7RuleCertsRequest) (response *CreateL7RuleCertsResponse, err error)
CreateL7RuleCerts This API is used to configure certificates with layer-7 forwarding rules in a batch for SSL testing.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateNewL7Rules ¶
func (c *Client) CreateNewL7Rules(request *CreateNewL7RulesRequest) (response *CreateNewL7RulesResponse, err error)
CreateNewL7Rules This API is used to add layer-7 forwarding rules.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateNewL7RulesWithContext ¶
func (c *Client) CreateNewL7RulesWithContext(ctx context.Context, request *CreateNewL7RulesRequest) (response *CreateNewL7RulesResponse, err error)
CreateNewL7Rules This API is used to add layer-7 forwarding rules.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreatePacketFilterConfig ¶
func (c *Client) CreatePacketFilterConfig(request *CreatePacketFilterConfigRequest) (response *CreatePacketFilterConfigResponse, err error)
CreatePacketFilterConfig This API is used to add Anti-DDoS feature filtering rules.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreatePacketFilterConfigWithContext ¶
func (c *Client) CreatePacketFilterConfigWithContext(ctx context.Context, request *CreatePacketFilterConfigRequest) (response *CreatePacketFilterConfigResponse, err error)
CreatePacketFilterConfig This API is used to add Anti-DDoS feature filtering rules.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateProtocolBlockConfig ¶
func (c *Client) CreateProtocolBlockConfig(request *CreateProtocolBlockConfigRequest) (response *CreateProtocolBlockConfigResponse, err error)
CreateProtocolBlockConfig This API is used to set Anti-DDoS protocol blocking configurations.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateProtocolBlockConfigWithContext ¶
func (c *Client) CreateProtocolBlockConfigWithContext(ctx context.Context, request *CreateProtocolBlockConfigRequest) (response *CreateProtocolBlockConfigResponse, err error)
CreateProtocolBlockConfig This API is used to set Anti-DDoS protocol blocking configurations.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateSchedulingDomain ¶
func (c *Client) CreateSchedulingDomain(request *CreateSchedulingDomainRequest) (response *CreateSchedulingDomainResponse, err error)
CreateSchedulingDomain This API is used to create a domain name for IP scheduling and switching.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) CreateSchedulingDomainWithContext ¶
func (c *Client) CreateSchedulingDomainWithContext(ctx context.Context, request *CreateSchedulingDomainRequest) (response *CreateSchedulingDomainResponse, err error)
CreateSchedulingDomain This API is used to create a domain name for IP scheduling and switching.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) CreateWaterPrintConfig ¶
func (c *Client) CreateWaterPrintConfig(request *CreateWaterPrintConfigRequest) (response *CreateWaterPrintConfigResponse, err error)
CreateWaterPrintConfig This API is used to add Anti-DDoS watermark configurations.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateWaterPrintConfigWithContext ¶
func (c *Client) CreateWaterPrintConfigWithContext(ctx context.Context, request *CreateWaterPrintConfigRequest) (response *CreateWaterPrintConfigResponse, err error)
CreateWaterPrintConfig This API is used to add Anti-DDoS watermark configurations.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateWaterPrintKey ¶
func (c *Client) CreateWaterPrintKey(request *CreateWaterPrintKeyRequest) (response *CreateWaterPrintKeyResponse, err error)
CreateWaterPrintKey This API is used to add Anti-DDoS watermark keys.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateWaterPrintKeyWithContext ¶
func (c *Client) CreateWaterPrintKeyWithContext(ctx context.Context, request *CreateWaterPrintKeyRequest) (response *CreateWaterPrintKeyResponse, err error)
CreateWaterPrintKey This API is used to add Anti-DDoS watermark keys.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteCCLevelPolicy ¶
func (c *Client) DeleteCCLevelPolicy(request *DeleteCCLevelPolicyRequest) (response *DeleteCCLevelPolicyResponse, err error)
DeleteCCLevelPolicy This API is used to delete a level-defining policy of CC attacks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteCCLevelPolicyWithContext ¶
func (c *Client) DeleteCCLevelPolicyWithContext(ctx context.Context, request *DeleteCCLevelPolicyRequest) (response *DeleteCCLevelPolicyResponse, err error)
DeleteCCLevelPolicy This API is used to delete a level-defining policy of CC attacks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteCCPrecisionPolicy ¶
func (c *Client) DeleteCCPrecisionPolicy(request *DeleteCCPrecisionPolicyRequest) (response *DeleteCCPrecisionPolicyResponse, err error)
DeleteCCPrecisionPolicy This API is used to delete a CC precise protection policy.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteCCPrecisionPolicyWithContext ¶
func (c *Client) DeleteCCPrecisionPolicyWithContext(ctx context.Context, request *DeleteCCPrecisionPolicyRequest) (response *DeleteCCPrecisionPolicyResponse, err error)
DeleteCCPrecisionPolicy This API is used to delete a CC precise protection policy.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteCCThresholdPolicy ¶
func (c *Client) DeleteCCThresholdPolicy(request *DeleteCCThresholdPolicyRequest) (response *DeleteCCThresholdPolicyResponse, err error)
DeleteCCThresholdPolicy This API is used to delete a CC cleansing threshold policy.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteCCThresholdPolicyWithContext ¶
func (c *Client) DeleteCCThresholdPolicyWithContext(ctx context.Context, request *DeleteCCThresholdPolicyRequest) (response *DeleteCCThresholdPolicyResponse, err error)
DeleteCCThresholdPolicy This API is used to delete a CC cleansing threshold policy.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteCcBlackWhiteIpList ¶
func (c *Client) DeleteCcBlackWhiteIpList(request *DeleteCcBlackWhiteIpListRequest) (response *DeleteCcBlackWhiteIpListResponse, err error)
DeleteCcBlackWhiteIpList This API is used to delete a layer-4 access control list.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteCcBlackWhiteIpListWithContext ¶
func (c *Client) DeleteCcBlackWhiteIpListWithContext(ctx context.Context, request *DeleteCcBlackWhiteIpListRequest) (response *DeleteCcBlackWhiteIpListResponse, err error)
DeleteCcBlackWhiteIpList This API is used to delete a layer-4 access control list.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteCcGeoIPBlockConfig ¶
func (c *Client) DeleteCcGeoIPBlockConfig(request *DeleteCcGeoIPBlockConfigRequest) (response *DeleteCcGeoIPBlockConfigResponse, err error)
DeleteCcGeoIPBlockConfig This API is used to delete a regional blocking configuration.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteCcGeoIPBlockConfigWithContext ¶
func (c *Client) DeleteCcGeoIPBlockConfigWithContext(ctx context.Context, request *DeleteCcGeoIPBlockConfigRequest) (response *DeleteCcGeoIPBlockConfigResponse, err error)
DeleteCcGeoIPBlockConfig This API is used to delete a regional blocking configuration.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteDDoSGeoIPBlockConfig ¶
func (c *Client) DeleteDDoSGeoIPBlockConfig(request *DeleteDDoSGeoIPBlockConfigRequest) (response *DeleteDDoSGeoIPBlockConfigResponse, err error)
DeleteDDoSGeoIPBlockConfig This API is used to delete Anti-DDoS region blocking configurations.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteDDoSGeoIPBlockConfigWithContext ¶
func (c *Client) DeleteDDoSGeoIPBlockConfigWithContext(ctx context.Context, request *DeleteDDoSGeoIPBlockConfigRequest) (response *DeleteDDoSGeoIPBlockConfigResponse, err error)
DeleteDDoSGeoIPBlockConfig This API is used to delete Anti-DDoS region blocking configurations.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteDDoSSpeedLimitConfig ¶
func (c *Client) DeleteDDoSSpeedLimitConfig(request *DeleteDDoSSpeedLimitConfigRequest) (response *DeleteDDoSSpeedLimitConfigResponse, err error)
DeleteDDoSSpeedLimitConfig This API is used to delete Anti-DDoS access rate limit configurations.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteDDoSSpeedLimitConfigWithContext ¶
func (c *Client) DeleteDDoSSpeedLimitConfigWithContext(ctx context.Context, request *DeleteDDoSSpeedLimitConfigRequest) (response *DeleteDDoSSpeedLimitConfigResponse, err error)
DeleteDDoSSpeedLimitConfig This API is used to delete Anti-DDoS access rate limit configurations.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeletePacketFilterConfig ¶
func (c *Client) DeletePacketFilterConfig(request *DeletePacketFilterConfigRequest) (response *DeletePacketFilterConfigResponse, err error)
DeletePacketFilterConfig This API is used to delete Anti-DDoS feature filtering rules.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeletePacketFilterConfigWithContext ¶
func (c *Client) DeletePacketFilterConfigWithContext(ctx context.Context, request *DeletePacketFilterConfigRequest) (response *DeletePacketFilterConfigResponse, err error)
DeletePacketFilterConfig This API is used to delete Anti-DDoS feature filtering rules.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteWaterPrintConfig ¶
func (c *Client) DeleteWaterPrintConfig(request *DeleteWaterPrintConfigRequest) (response *DeleteWaterPrintConfigResponse, err error)
DeleteWaterPrintConfig This API is used to delete Anti-DDoS watermark configurations.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteWaterPrintConfigWithContext ¶
func (c *Client) DeleteWaterPrintConfigWithContext(ctx context.Context, request *DeleteWaterPrintConfigRequest) (response *DeleteWaterPrintConfigResponse, err error)
DeleteWaterPrintConfig This API is used to delete Anti-DDoS watermark configurations.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteWaterPrintKey ¶
func (c *Client) DeleteWaterPrintKey(request *DeleteWaterPrintKeyRequest) (response *DeleteWaterPrintKeyResponse, err error)
DeleteWaterPrintKey This API is used to delete Anti-DDoS watermark keys.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteWaterPrintKeyWithContext ¶
func (c *Client) DeleteWaterPrintKeyWithContext(ctx context.Context, request *DeleteWaterPrintKeyRequest) (response *DeleteWaterPrintKeyResponse, err error)
DeleteWaterPrintKey This API is used to delete Anti-DDoS watermark keys.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBasicDeviceStatus ¶
func (c *Client) DescribeBasicDeviceStatus(request *DescribeBasicDeviceStatusRequest) (response *DescribeBasicDeviceStatusResponse, err error)
DescribeBasicDeviceStatus This API is used to querying the status of Anti-DDoS IP.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBasicDeviceStatusWithContext ¶
func (c *Client) DescribeBasicDeviceStatusWithContext(ctx context.Context, request *DescribeBasicDeviceStatusRequest) (response *DescribeBasicDeviceStatusResponse, err error)
DescribeBasicDeviceStatus This API is used to querying the status of Anti-DDoS IP.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBgpBizTrend ¶
func (c *Client) DescribeBgpBizTrend(request *DescribeBgpBizTrendRequest) (response *DescribeBgpBizTrendResponse, err error)
DescribeBgpBizTrend This API is used to obtain Anti-DDoS Pro traffic data.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBgpBizTrendWithContext ¶
func (c *Client) DescribeBgpBizTrendWithContext(ctx context.Context, request *DescribeBgpBizTrendRequest) (response *DescribeBgpBizTrendResponse, err error)
DescribeBgpBizTrend This API is used to obtain Anti-DDoS Pro traffic data.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBizHttpStatus ¶
func (c *Client) DescribeBizHttpStatus(request *DescribeBizHttpStatusRequest) (response *DescribeBizHttpStatusResponse, err error)
DescribeBizHttpStatus This API is used to get the statistics on the status codes of business traffic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeBizHttpStatusWithContext ¶
func (c *Client) DescribeBizHttpStatusWithContext(ctx context.Context, request *DescribeBizHttpStatusRequest) (response *DescribeBizHttpStatusResponse, err error)
DescribeBizHttpStatus This API is used to get the statistics on the status codes of business traffic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeBizTrend ¶
func (c *Client) DescribeBizTrend(request *DescribeBizTrendRequest) (response *DescribeBizTrendResponse, err error)
DescribeBizTrend This API is used to get the traffic flow data collected in the specified period.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeBizTrendWithContext ¶
func (c *Client) DescribeBizTrendWithContext(ctx context.Context, request *DescribeBizTrendRequest) (response *DescribeBizTrendResponse, err error)
DescribeBizTrend This API is used to get the traffic flow data collected in the specified period.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeBlackWhiteIpList ¶
func (c *Client) DescribeBlackWhiteIpList(request *DescribeBlackWhiteIpListRequest) (response *DescribeBlackWhiteIpListResponse, err error)
DescribeBlackWhiteIpList 接口变更
This API is used to get an Anti-DDoS IP blocklist/allowlist.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBlackWhiteIpListWithContext ¶
func (c *Client) DescribeBlackWhiteIpListWithContext(ctx context.Context, request *DescribeBlackWhiteIpListRequest) (response *DescribeBlackWhiteIpListResponse, err error)
DescribeBlackWhiteIpList 接口变更
This API is used to get an Anti-DDoS IP blocklist/allowlist.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCCLevelList ¶
func (c *Client) DescribeCCLevelList(request *DescribeCCLevelListRequest) (response *DescribeCCLevelListResponse, err error)
DescribeCCLevelList Gets the list of CC protection levels
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCCLevelListWithContext ¶
func (c *Client) DescribeCCLevelListWithContext(ctx context.Context, request *DescribeCCLevelListRequest) (response *DescribeCCLevelListResponse, err error)
DescribeCCLevelList Gets the list of CC protection levels
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCCLevelPolicy ¶
func (c *Client) DescribeCCLevelPolicy(request *DescribeCCLevelPolicyRequest) (response *DescribeCCLevelPolicyResponse, err error)
DescribeCCLevelPolicy This API is used the query a level-defining policy of CC attacks
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCCLevelPolicyWithContext ¶
func (c *Client) DescribeCCLevelPolicyWithContext(ctx context.Context, request *DescribeCCLevelPolicyRequest) (response *DescribeCCLevelPolicyResponse, err error)
DescribeCCLevelPolicy This API is used the query a level-defining policy of CC attacks
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCCPrecisionPlyList ¶
func (c *Client) DescribeCCPrecisionPlyList(request *DescribeCCPrecisionPlyListRequest) (response *DescribeCCPrecisionPlyListResponse, err error)
DescribeCCPrecisionPlyList This API is used to obtain the list of CC precise protection policies.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCCPrecisionPlyListWithContext ¶
func (c *Client) DescribeCCPrecisionPlyListWithContext(ctx context.Context, request *DescribeCCPrecisionPlyListRequest) (response *DescribeCCPrecisionPlyListResponse, err error)
DescribeCCPrecisionPlyList This API is used to obtain the list of CC precise protection policies.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCCThresholdList ¶
func (c *Client) DescribeCCThresholdList(request *DescribeCCThresholdListRequest) (response *DescribeCCThresholdListResponse, err error)
DescribeCCThresholdList This API is used to query the list of CC cleansing thresholds.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCCThresholdListWithContext ¶
func (c *Client) DescribeCCThresholdListWithContext(ctx context.Context, request *DescribeCCThresholdListRequest) (response *DescribeCCThresholdListResponse, err error)
DescribeCCThresholdList This API is used to query the list of CC cleansing thresholds.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCCTrend ¶
func (c *Client) DescribeCCTrend(request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error)
DescribeCCTrend This API is used to get CC attack data, including total QPS peaks, attack QPS, total number of requests and number of attack requests.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCCTrendWithContext ¶
func (c *Client) DescribeCCTrendWithContext(ctx context.Context, request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error)
DescribeCCTrend This API is used to get CC attack data, including total QPS peaks, attack QPS, total number of requests and number of attack requests.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCcBlackWhiteIpList ¶
func (c *Client) DescribeCcBlackWhiteIpList(request *DescribeCcBlackWhiteIpListRequest) (response *DescribeCcBlackWhiteIpListResponse, err error)
DescribeCcBlackWhiteIpList This API is used to obtain the layer-4 access control list.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCcBlackWhiteIpListWithContext ¶
func (c *Client) DescribeCcBlackWhiteIpListWithContext(ctx context.Context, request *DescribeCcBlackWhiteIpListRequest) (response *DescribeCcBlackWhiteIpListResponse, err error)
DescribeCcBlackWhiteIpList This API is used to obtain the layer-4 access control list.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCcGeoIPBlockConfigList ¶
func (c *Client) DescribeCcGeoIPBlockConfigList(request *DescribeCcGeoIPBlockConfigListRequest) (response *DescribeCcGeoIPBlockConfigListResponse, err error)
DescribeCcGeoIPBlockConfigList This API is used to obtain a list of regional blocking configurations.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCcGeoIPBlockConfigListWithContext ¶
func (c *Client) DescribeCcGeoIPBlockConfigListWithContext(ctx context.Context, request *DescribeCcGeoIPBlockConfigListRequest) (response *DescribeCcGeoIPBlockConfigListResponse, err error)
DescribeCcGeoIPBlockConfigList This API is used to obtain a list of regional blocking configurations.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDDoSTrend ¶
func (c *Client) DescribeDDoSTrend(request *DescribeDDoSTrendRequest) (response *DescribeDDoSTrendResponse, err error)
DescribeDDoSTrend This API is used to get DDoS attack traffic bandwidth and attack packet rate.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDDoSTrendWithContext ¶
func (c *Client) DescribeDDoSTrendWithContext(ctx context.Context, request *DescribeDDoSTrendRequest) (response *DescribeDDoSTrendResponse, err error)
DescribeDDoSTrend This API is used to get DDoS attack traffic bandwidth and attack packet rate.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDefaultAlarmThreshold ¶
func (c *Client) DescribeDefaultAlarmThreshold(request *DescribeDefaultAlarmThresholdRequest) (response *DescribeDefaultAlarmThresholdResponse, err error)
DescribeDefaultAlarmThreshold This API is used to get the default alarm threshold of an IP.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDefaultAlarmThresholdWithContext ¶
func (c *Client) DescribeDefaultAlarmThresholdWithContext(ctx context.Context, request *DescribeDefaultAlarmThresholdRequest) (response *DescribeDefaultAlarmThresholdResponse, err error)
DescribeDefaultAlarmThreshold This API is used to get the default alarm threshold of an IP.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeIpBlockList ¶
func (c *Client) DescribeIpBlockList(request *DescribeIpBlockListRequest) (response *DescribeIpBlockListResponse, err error)
DescribeIpBlockList
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeIpBlockListWithContext ¶
func (c *Client) DescribeIpBlockListWithContext(ctx context.Context, request *DescribeIpBlockListRequest) (response *DescribeIpBlockListResponse, err error)
DescribeIpBlockList
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeL7RulesBySSLCertId ¶
func (c *Client) DescribeL7RulesBySSLCertId(request *DescribeL7RulesBySSLCertIdRequest) (response *DescribeL7RulesBySSLCertIdResponse, err error)
DescribeL7RulesBySSLCertId This API is used to query layer-7 rules matched with certificate IDs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeL7RulesBySSLCertIdWithContext ¶
func (c *Client) DescribeL7RulesBySSLCertIdWithContext(ctx context.Context, request *DescribeL7RulesBySSLCertIdRequest) (response *DescribeL7RulesBySSLCertIdResponse, err error)
DescribeL7RulesBySSLCertId This API is used to query layer-7 rules matched with certificate IDs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeListBGPIPInstances ¶
func (c *Client) DescribeListBGPIPInstances(request *DescribeListBGPIPInstancesRequest) (response *DescribeListBGPIPInstancesResponse, err error)
DescribeListBGPIPInstances This API is used to get a list of Anti-DDoS Advanced instances.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListBGPIPInstancesWithContext ¶
func (c *Client) DescribeListBGPIPInstancesWithContext(ctx context.Context, request *DescribeListBGPIPInstancesRequest) (response *DescribeListBGPIPInstancesResponse, err error)
DescribeListBGPIPInstances This API is used to get a list of Anti-DDoS Advanced instances.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListBGPInstances ¶
func (c *Client) DescribeListBGPInstances(request *DescribeListBGPInstancesRequest) (response *DescribeListBGPInstancesResponse, err error)
DescribeListBGPInstances This API is used to get the list of Anti-DDoS Pro instances.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListBGPInstancesWithContext ¶
func (c *Client) DescribeListBGPInstancesWithContext(ctx context.Context, request *DescribeListBGPInstancesRequest) (response *DescribeListBGPInstancesResponse, err error)
DescribeListBGPInstances This API is used to get the list of Anti-DDoS Pro instances.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListBlackWhiteIpList ¶
func (c *Client) DescribeListBlackWhiteIpList(request *DescribeListBlackWhiteIpListRequest) (response *DescribeListBlackWhiteIpListResponse, err error)
DescribeListBlackWhiteIpList This API is used to get a list of Anti-DDoS IP blocklists/allowlists.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListBlackWhiteIpListWithContext ¶
func (c *Client) DescribeListBlackWhiteIpListWithContext(ctx context.Context, request *DescribeListBlackWhiteIpListRequest) (response *DescribeListBlackWhiteIpListResponse, err error)
DescribeListBlackWhiteIpList This API is used to get a list of Anti-DDoS IP blocklists/allowlists.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListDDoSAI ¶
func (c *Client) DescribeListDDoSAI(request *DescribeListDDoSAIRequest) (response *DescribeListDDoSAIResponse, err error)
DescribeListDDoSAI This API is used to get a list of Anti-DDoS AI protection switches.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListDDoSAIWithContext ¶
func (c *Client) DescribeListDDoSAIWithContext(ctx context.Context, request *DescribeListDDoSAIRequest) (response *DescribeListDDoSAIResponse, err error)
DescribeListDDoSAI This API is used to get a list of Anti-DDoS AI protection switches.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListDDoSGeoIPBlockConfig ¶
func (c *Client) DescribeListDDoSGeoIPBlockConfig(request *DescribeListDDoSGeoIPBlockConfigRequest) (response *DescribeListDDoSGeoIPBlockConfigResponse, err error)
DescribeListDDoSGeoIPBlockConfig This API is used to get a list of Anti-DDoS region blocking configurations.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListDDoSGeoIPBlockConfigWithContext ¶
func (c *Client) DescribeListDDoSGeoIPBlockConfigWithContext(ctx context.Context, request *DescribeListDDoSGeoIPBlockConfigRequest) (response *DescribeListDDoSGeoIPBlockConfigResponse, err error)
DescribeListDDoSGeoIPBlockConfig This API is used to get a list of Anti-DDoS region blocking configurations.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListDDoSSpeedLimitConfig ¶
func (c *Client) DescribeListDDoSSpeedLimitConfig(request *DescribeListDDoSSpeedLimitConfigRequest) (response *DescribeListDDoSSpeedLimitConfigResponse, err error)
DescribeListDDoSSpeedLimitConfig This API is used to get a list of Anti-DDoS access rate limit configurations.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListDDoSSpeedLimitConfigWithContext ¶
func (c *Client) DescribeListDDoSSpeedLimitConfigWithContext(ctx context.Context, request *DescribeListDDoSSpeedLimitConfigRequest) (response *DescribeListDDoSSpeedLimitConfigResponse, err error)
DescribeListDDoSSpeedLimitConfig This API is used to get a list of Anti-DDoS access rate limit configurations.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListIPAlarmConfig ¶
func (c *Client) DescribeListIPAlarmConfig(request *DescribeListIPAlarmConfigRequest) (response *DescribeListIPAlarmConfigResponse, err error)
DescribeListIPAlarmConfig This API is used to get a list of IP alarm threshold configurations.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListIPAlarmConfigWithContext ¶
func (c *Client) DescribeListIPAlarmConfigWithContext(ctx context.Context, request *DescribeListIPAlarmConfigRequest) (response *DescribeListIPAlarmConfigResponse, err error)
DescribeListIPAlarmConfig This API is used to get a list of IP alarm threshold configurations.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListListener ¶
func (c *Client) DescribeListListener(request *DescribeListListenerRequest) (response *DescribeListListenerResponse, err error)
DescribeListListener This API is used to get a list of forwarding listeners.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListListenerWithContext ¶
func (c *Client) DescribeListListenerWithContext(ctx context.Context, request *DescribeListListenerRequest) (response *DescribeListListenerResponse, err error)
DescribeListListener This API is used to get a list of forwarding listeners.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListPacketFilterConfig ¶
func (c *Client) DescribeListPacketFilterConfig(request *DescribeListPacketFilterConfigRequest) (response *DescribeListPacketFilterConfigResponse, err error)
DescribeListPacketFilterConfig This API is used to get a list of Anti-DDoS feature filtering rules.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListPacketFilterConfigWithContext ¶
func (c *Client) DescribeListPacketFilterConfigWithContext(ctx context.Context, request *DescribeListPacketFilterConfigRequest) (response *DescribeListPacketFilterConfigResponse, err error)
DescribeListPacketFilterConfig This API is used to get a list of Anti-DDoS feature filtering rules.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListProtectThresholdConfig ¶
func (c *Client) DescribeListProtectThresholdConfig(request *DescribeListProtectThresholdConfigRequest) (response *DescribeListProtectThresholdConfigResponse, err error)
DescribeListProtectThresholdConfig 接口变更
This API is used to get a list of protection threshold configurations for AI protection switch, protection level, and CC threshold switch.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListProtectThresholdConfigWithContext ¶
func (c *Client) DescribeListProtectThresholdConfigWithContext(ctx context.Context, request *DescribeListProtectThresholdConfigRequest) (response *DescribeListProtectThresholdConfigResponse, err error)
DescribeListProtectThresholdConfig 接口变更
This API is used to get a list of protection threshold configurations for AI protection switch, protection level, and CC threshold switch.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListProtocolBlockConfig ¶
func (c *Client) DescribeListProtocolBlockConfig(request *DescribeListProtocolBlockConfigRequest) (response *DescribeListProtocolBlockConfigResponse, err error)
DescribeListProtocolBlockConfig This API is used to get a list of Anti-DDoS protocol blocking configurations.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListProtocolBlockConfigWithContext ¶
func (c *Client) DescribeListProtocolBlockConfigWithContext(ctx context.Context, request *DescribeListProtocolBlockConfigRequest) (response *DescribeListProtocolBlockConfigResponse, err error)
DescribeListProtocolBlockConfig This API is used to get a list of Anti-DDoS protocol blocking configurations.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListSchedulingDomain ¶
func (c *Client) DescribeListSchedulingDomain(request *DescribeListSchedulingDomainRequest) (response *DescribeListSchedulingDomainResponse, err error)
DescribeListSchedulingDomain This API is used to get a list of intelligent scheduling domain names.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListSchedulingDomainWithContext ¶
func (c *Client) DescribeListSchedulingDomainWithContext(ctx context.Context, request *DescribeListSchedulingDomainRequest) (response *DescribeListSchedulingDomainResponse, err error)
DescribeListSchedulingDomain This API is used to get a list of intelligent scheduling domain names.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListWaterPrintConfig ¶
func (c *Client) DescribeListWaterPrintConfig(request *DescribeListWaterPrintConfigRequest) (response *DescribeListWaterPrintConfigResponse, err error)
DescribeListWaterPrintConfig This API is used to get a list of Anti-DDoS watermark configurations.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeListWaterPrintConfigWithContext ¶
func (c *Client) DescribeListWaterPrintConfigWithContext(ctx context.Context, request *DescribeListWaterPrintConfigRequest) (response *DescribeListWaterPrintConfigResponse, err error)
DescribeListWaterPrintConfig This API is used to get a list of Anti-DDoS watermark configurations.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeNewL7Rules ¶
func (c *Client) DescribeNewL7Rules(request *DescribeNewL7RulesRequest) (response *DescribeNewL7RulesResponse, err error)
DescribeNewL7Rules This API is used to obtain layer-7 forwarding rules.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeNewL7RulesErrHealth ¶
func (c *Client) DescribeNewL7RulesErrHealth(request *DescribeNewL7RulesErrHealthRequest) (response *DescribeNewL7RulesErrHealthResponse, err error)
DescribeNewL7RulesErrHealth This API is used to getting the exception results of the health check on layer-7 forwarding rules.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeNewL7RulesErrHealthWithContext ¶
func (c *Client) DescribeNewL7RulesErrHealthWithContext(ctx context.Context, request *DescribeNewL7RulesErrHealthRequest) (response *DescribeNewL7RulesErrHealthResponse, err error)
DescribeNewL7RulesErrHealth This API is used to getting the exception results of the health check on layer-7 forwarding rules.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeNewL7RulesWithContext ¶
func (c *Client) DescribeNewL7RulesWithContext(ctx context.Context, request *DescribeNewL7RulesRequest) (response *DescribeNewL7RulesResponse, err error)
DescribeNewL7Rules This API is used to obtain layer-7 forwarding rules.
error code that may be returned:
AUTHFAILURE = "AuthFailure"
func (*Client) DescribeOverviewDDoSEventList ¶
func (c *Client) DescribeOverviewDDoSEventList(request *DescribeOverviewDDoSEventListRequest) (response *DescribeOverviewDDoSEventListResponse, err error)
DescribeOverviewDDoSEventList This API is used to obtain the list of DDoS attacks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeOverviewDDoSEventListWithContext ¶
func (c *Client) DescribeOverviewDDoSEventListWithContext(ctx context.Context, request *DescribeOverviewDDoSEventListRequest) (response *DescribeOverviewDDoSEventListResponse, err error)
DescribeOverviewDDoSEventList This API is used to obtain the list of DDoS attacks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePendingRiskInfo ¶
func (c *Client) DescribePendingRiskInfo(request *DescribePendingRiskInfoRequest) (response *DescribePendingRiskInfoResponse, err error)
DescribePendingRiskInfo This API is used to query the information of pending risks at the account level.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePendingRiskInfoWithContext ¶
func (c *Client) DescribePendingRiskInfoWithContext(ctx context.Context, request *DescribePendingRiskInfoRequest) (response *DescribePendingRiskInfoResponse, err error)
DescribePendingRiskInfo This API is used to query the information of pending risks at the account level.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DisassociateDDoSEipAddress ¶
func (c *Client) DisassociateDDoSEipAddress(request *DisassociateDDoSEipAddressRequest) (response *DisassociateDDoSEipAddressResponse, err error)
DisassociateDDoSEipAddress This API is used to unbind an Anti-DDoS EIP.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DisassociateDDoSEipAddressWithContext ¶
func (c *Client) DisassociateDDoSEipAddressWithContext(ctx context.Context, request *DisassociateDDoSEipAddressRequest) (response *DisassociateDDoSEipAddressResponse, err error)
DisassociateDDoSEipAddress This API is used to unbind an Anti-DDoS EIP.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyCCPrecisionPolicy ¶
func (c *Client) ModifyCCPrecisionPolicy(request *ModifyCCPrecisionPolicyRequest) (response *ModifyCCPrecisionPolicyResponse, err error)
ModifyCCPrecisionPolicy This API is used to modify a CC precise protection policy.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyCCPrecisionPolicyWithContext ¶
func (c *Client) ModifyCCPrecisionPolicyWithContext(ctx context.Context, request *ModifyCCPrecisionPolicyRequest) (response *ModifyCCPrecisionPolicyResponse, err error)
ModifyCCPrecisionPolicy This API is used to modify a CC precise protection policy.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyCcBlackWhiteIpList ¶
func (c *Client) ModifyCcBlackWhiteIpList(request *ModifyCcBlackWhiteIpListRequest) (response *ModifyCcBlackWhiteIpListResponse, err error)
ModifyCcBlackWhiteIpList This API is used to modify a layer-4 access control list.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyCcBlackWhiteIpListWithContext ¶
func (c *Client) ModifyCcBlackWhiteIpListWithContext(ctx context.Context, request *ModifyCcBlackWhiteIpListRequest) (response *ModifyCcBlackWhiteIpListResponse, err error)
ModifyCcBlackWhiteIpList This API is used to modify a layer-4 access control list.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyDDoSGeoIPBlockConfig ¶
func (c *Client) ModifyDDoSGeoIPBlockConfig(request *ModifyDDoSGeoIPBlockConfigRequest) (response *ModifyDDoSGeoIPBlockConfigResponse, err error)
ModifyDDoSGeoIPBlockConfig This API is used to modify Anti-DDoS region blocking configurations.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyDDoSGeoIPBlockConfigWithContext ¶
func (c *Client) ModifyDDoSGeoIPBlockConfigWithContext(ctx context.Context, request *ModifyDDoSGeoIPBlockConfigRequest) (response *ModifyDDoSGeoIPBlockConfigResponse, err error)
ModifyDDoSGeoIPBlockConfig This API is used to modify Anti-DDoS region blocking configurations.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyDDoSSpeedLimitConfig ¶
func (c *Client) ModifyDDoSSpeedLimitConfig(request *ModifyDDoSSpeedLimitConfigRequest) (response *ModifyDDoSSpeedLimitConfigResponse, err error)
ModifyDDoSSpeedLimitConfig This API is used to modify Anti-DDoS access rate limit configurations.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyDDoSSpeedLimitConfigWithContext ¶
func (c *Client) ModifyDDoSSpeedLimitConfigWithContext(ctx context.Context, request *ModifyDDoSSpeedLimitConfigRequest) (response *ModifyDDoSSpeedLimitConfigResponse, err error)
ModifyDDoSSpeedLimitConfig This API is used to modify Anti-DDoS access rate limit configurations.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyDomainUsrName ¶
func (c *Client) ModifyDomainUsrName(request *ModifyDomainUsrNameRequest) (response *ModifyDomainUsrNameResponse, err error)
ModifyDomainUsrName This API is used to modify intelligent scheduling domain names.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyDomainUsrNameWithContext ¶
func (c *Client) ModifyDomainUsrNameWithContext(ctx context.Context, request *ModifyDomainUsrNameRequest) (response *ModifyDomainUsrNameResponse, err error)
ModifyDomainUsrName This API is used to modify intelligent scheduling domain names.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyNewDomainRules ¶
func (c *Client) ModifyNewDomainRules(request *ModifyNewDomainRulesRequest) (response *ModifyNewDomainRulesResponse, err error)
ModifyNewDomainRules This API is used to modify layer-7 forwarding rules.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyNewDomainRulesWithContext ¶
func (c *Client) ModifyNewDomainRulesWithContext(ctx context.Context, request *ModifyNewDomainRulesRequest) (response *ModifyNewDomainRulesResponse, err error)
ModifyNewDomainRules This API is used to modify layer-7 forwarding rules.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyPacketFilterConfig ¶
func (c *Client) ModifyPacketFilterConfig(request *ModifyPacketFilterConfigRequest) (response *ModifyPacketFilterConfigResponse, err error)
ModifyPacketFilterConfig This API is used to modify Anti-DDoS feature filtering rules.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyPacketFilterConfigWithContext ¶
func (c *Client) ModifyPacketFilterConfigWithContext(ctx context.Context, request *ModifyPacketFilterConfigRequest) (response *ModifyPacketFilterConfigResponse, err error)
ModifyPacketFilterConfig This API is used to modify Anti-DDoS feature filtering rules.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) SwitchWaterPrintConfig ¶
func (c *Client) SwitchWaterPrintConfig(request *SwitchWaterPrintConfigRequest) (response *SwitchWaterPrintConfigResponse, err error)
SwitchWaterPrintConfig This API is used to enable or disable Anti-DDoS watermark configurations.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) SwitchWaterPrintConfigWithContext ¶
func (c *Client) SwitchWaterPrintConfigWithContext(ctx context.Context, request *SwitchWaterPrintConfigRequest) (response *SwitchWaterPrintConfigResponse, err error)
SwitchWaterPrintConfig This API is used to enable or disable Anti-DDoS watermark configurations.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
type CreateBlackWhiteIpListRequest ¶
type CreateBlackWhiteIpListRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // List of IPs IpList []*string `json:"IpList,omitnil,omitempty" name:"IpList"` // IP type. Valid values: `black` (blocklisted IP), `white`(allowlisted IP). Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
func NewCreateBlackWhiteIpListRequest ¶
func NewCreateBlackWhiteIpListRequest() (request *CreateBlackWhiteIpListRequest)
func (*CreateBlackWhiteIpListRequest) FromJsonString ¶
func (r *CreateBlackWhiteIpListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBlackWhiteIpListRequest) ToJsonString ¶
func (r *CreateBlackWhiteIpListRequest) ToJsonString() string
type CreateBlackWhiteIpListRequestParams ¶
type CreateBlackWhiteIpListRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // List of IPs IpList []*string `json:"IpList,omitnil,omitempty" name:"IpList"` // IP type. Valid values: `black` (blocklisted IP), `white`(allowlisted IP). Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
Predefined struct for user
type CreateBlackWhiteIpListResponse ¶
type CreateBlackWhiteIpListResponse struct { *tchttp.BaseResponse Response *CreateBlackWhiteIpListResponseParams `json:"Response"` }
func NewCreateBlackWhiteIpListResponse ¶
func NewCreateBlackWhiteIpListResponse() (response *CreateBlackWhiteIpListResponse)
func (*CreateBlackWhiteIpListResponse) FromJsonString ¶
func (r *CreateBlackWhiteIpListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBlackWhiteIpListResponse) ToJsonString ¶
func (r *CreateBlackWhiteIpListResponse) ToJsonString() string
type CreateBlackWhiteIpListResponseParams ¶
type CreateBlackWhiteIpListResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateBoundIPRequest ¶
type CreateBoundIPRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP) Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Array of IPs to bind to the Anti-DDoS instance. For Anti-DDoS Pro Single IP instance, the array contains only one IP. If there are no IPs to bind, it is empty; however, either `BoundDevList` or `UnBoundDevList` must not be empty. BoundDevList []*BoundIpInfo `json:"BoundDevList,omitnil,omitempty" name:"BoundDevList"` // Array of IPs to unbind from the Anti-DDoS instance. For Anti-DDoS Pro Single IP instance, the array contains only one IP; if there are no IPs to unbind, it is empty; however, either `BoundDevList` or `UnBoundDevList` must not be empty. UnBoundDevList []*BoundIpInfo `json:"UnBoundDevList,omitnil,omitempty" name:"UnBoundDevList"` // Disused CopyPolicy *string `json:"CopyPolicy,omitnil,omitempty" name:"CopyPolicy"` }
func NewCreateBoundIPRequest ¶
func NewCreateBoundIPRequest() (request *CreateBoundIPRequest)
func (*CreateBoundIPRequest) FromJsonString ¶
func (r *CreateBoundIPRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBoundIPRequest) ToJsonString ¶
func (r *CreateBoundIPRequest) ToJsonString() string
type CreateBoundIPRequestParams ¶
type CreateBoundIPRequestParams struct { // Anti-DDoS service type. `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP) Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Anti-DDoS instance ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Array of IPs to bind to the Anti-DDoS instance. For Anti-DDoS Pro Single IP instance, the array contains only one IP. If there are no IPs to bind, it is empty; however, either `BoundDevList` or `UnBoundDevList` must not be empty. BoundDevList []*BoundIpInfo `json:"BoundDevList,omitnil,omitempty" name:"BoundDevList"` // Array of IPs to unbind from the Anti-DDoS instance. For Anti-DDoS Pro Single IP instance, the array contains only one IP; if there are no IPs to unbind, it is empty; however, either `BoundDevList` or `UnBoundDevList` must not be empty. UnBoundDevList []*BoundIpInfo `json:"UnBoundDevList,omitnil,omitempty" name:"UnBoundDevList"` // Disused CopyPolicy *string `json:"CopyPolicy,omitnil,omitempty" name:"CopyPolicy"` }
Predefined struct for user
type CreateBoundIPResponse ¶
type CreateBoundIPResponse struct { *tchttp.BaseResponse Response *CreateBoundIPResponseParams `json:"Response"` }
func NewCreateBoundIPResponse ¶
func NewCreateBoundIPResponse() (response *CreateBoundIPResponse)
func (*CreateBoundIPResponse) FromJsonString ¶
func (r *CreateBoundIPResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBoundIPResponse) ToJsonString ¶
func (r *CreateBoundIPResponse) ToJsonString() string
type CreateBoundIPResponseParams ¶
type CreateBoundIPResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil,omitempty" name:"Success"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCCPrecisionPolicyRequest ¶
type CreateCCPrecisionPolicyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Protocol. Valid values: `HTTP` and `HTTPS`. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Action of limiting request frequency. Valid values: `alg` (limit request frequency via verification codes) and `drop`(drop requests). PolicyAction *string `json:"PolicyAction,omitnil,omitempty" name:"PolicyAction"` // Policy records PolicyList []*CCPrecisionPlyRecord `json:"PolicyList,omitnil,omitempty" name:"PolicyList"` }
func NewCreateCCPrecisionPolicyRequest ¶
func NewCreateCCPrecisionPolicyRequest() (request *CreateCCPrecisionPolicyRequest)
func (*CreateCCPrecisionPolicyRequest) FromJsonString ¶
func (r *CreateCCPrecisionPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCCPrecisionPolicyRequest) ToJsonString ¶
func (r *CreateCCPrecisionPolicyRequest) ToJsonString() string
type CreateCCPrecisionPolicyRequestParams ¶
type CreateCCPrecisionPolicyRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Protocol. Valid values: `HTTP` and `HTTPS`. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Action of limiting request frequency. Valid values: `alg` (limit request frequency via verification codes) and `drop`(drop requests). PolicyAction *string `json:"PolicyAction,omitnil,omitempty" name:"PolicyAction"` // Policy records PolicyList []*CCPrecisionPlyRecord `json:"PolicyList,omitnil,omitempty" name:"PolicyList"` }
Predefined struct for user
type CreateCCPrecisionPolicyResponse ¶
type CreateCCPrecisionPolicyResponse struct { *tchttp.BaseResponse Response *CreateCCPrecisionPolicyResponseParams `json:"Response"` }
func NewCreateCCPrecisionPolicyResponse ¶
func NewCreateCCPrecisionPolicyResponse() (response *CreateCCPrecisionPolicyResponse)
func (*CreateCCPrecisionPolicyResponse) FromJsonString ¶
func (r *CreateCCPrecisionPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCCPrecisionPolicyResponse) ToJsonString ¶
func (r *CreateCCPrecisionPolicyResponse) ToJsonString() string
type CreateCCPrecisionPolicyResponseParams ¶
type CreateCCPrecisionPolicyResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCCReqLimitPolicyRequest ¶
type CreateCCReqLimitPolicyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Protocol. Valid values: `HTTP` and `HTTPS`. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Configuration field Policy *CCReqLimitPolicyRecord `json:"Policy,omitnil,omitempty" name:"Policy"` // Whether it’s a global CC frequency limit IsGlobal *int64 `json:"IsGlobal,omitnil,omitempty" name:"IsGlobal"` }
func NewCreateCCReqLimitPolicyRequest ¶
func NewCreateCCReqLimitPolicyRequest() (request *CreateCCReqLimitPolicyRequest)
func (*CreateCCReqLimitPolicyRequest) FromJsonString ¶
func (r *CreateCCReqLimitPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCCReqLimitPolicyRequest) ToJsonString ¶
func (r *CreateCCReqLimitPolicyRequest) ToJsonString() string
type CreateCCReqLimitPolicyRequestParams ¶
type CreateCCReqLimitPolicyRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Protocol. Valid values: `HTTP` and `HTTPS`. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Configuration field Policy *CCReqLimitPolicyRecord `json:"Policy,omitnil,omitempty" name:"Policy"` // Whether it’s a global CC frequency limit IsGlobal *int64 `json:"IsGlobal,omitnil,omitempty" name:"IsGlobal"` }
Predefined struct for user
type CreateCCReqLimitPolicyResponse ¶
type CreateCCReqLimitPolicyResponse struct { *tchttp.BaseResponse Response *CreateCCReqLimitPolicyResponseParams `json:"Response"` }
func NewCreateCCReqLimitPolicyResponse ¶
func NewCreateCCReqLimitPolicyResponse() (response *CreateCCReqLimitPolicyResponse)
func (*CreateCCReqLimitPolicyResponse) FromJsonString ¶
func (r *CreateCCReqLimitPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCCReqLimitPolicyResponse) ToJsonString ¶
func (r *CreateCCReqLimitPolicyResponse) ToJsonString() string
type CreateCCReqLimitPolicyResponseParams ¶
type CreateCCReqLimitPolicyResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCcBlackWhiteIpListRequest ¶
type CreateCcBlackWhiteIpListRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // List of IPs IpList []*IpSegment `json:"IpList,omitnil,omitempty" name:"IpList"` // IP permission. Valid values: `black` (blocked IP), `white` (allowed IP). Type *string `json:"Type,omitnil,omitempty" name:"Type"` // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
func NewCreateCcBlackWhiteIpListRequest ¶
func NewCreateCcBlackWhiteIpListRequest() (request *CreateCcBlackWhiteIpListRequest)
func (*CreateCcBlackWhiteIpListRequest) FromJsonString ¶
func (r *CreateCcBlackWhiteIpListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCcBlackWhiteIpListRequest) ToJsonString ¶
func (r *CreateCcBlackWhiteIpListRequest) ToJsonString() string
type CreateCcBlackWhiteIpListRequestParams ¶
type CreateCcBlackWhiteIpListRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // List of IPs IpList []*IpSegment `json:"IpList,omitnil,omitempty" name:"IpList"` // IP permission. Valid values: `black` (blocked IP), `white` (allowed IP). Type *string `json:"Type,omitnil,omitempty" name:"Type"` // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
Predefined struct for user
type CreateCcBlackWhiteIpListResponse ¶
type CreateCcBlackWhiteIpListResponse struct { *tchttp.BaseResponse Response *CreateCcBlackWhiteIpListResponseParams `json:"Response"` }
func NewCreateCcBlackWhiteIpListResponse ¶
func NewCreateCcBlackWhiteIpListResponse() (response *CreateCcBlackWhiteIpListResponse)
func (*CreateCcBlackWhiteIpListResponse) FromJsonString ¶
func (r *CreateCcBlackWhiteIpListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCcBlackWhiteIpListResponse) ToJsonString ¶
func (r *CreateCcBlackWhiteIpListResponse) ToJsonString() string
type CreateCcBlackWhiteIpListResponseParams ¶
type CreateCcBlackWhiteIpListResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCcGeoIPBlockConfigRequest ¶
type CreateCcGeoIPBlockConfigRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP address IP *string `json:"IP,omitnil,omitempty" name:"IP"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol type Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // CC regional blocking configuration CcGeoIPBlockConfig *CcGeoIPBlockConfig `json:"CcGeoIPBlockConfig,omitnil,omitempty" name:"CcGeoIPBlockConfig"` }
func NewCreateCcGeoIPBlockConfigRequest ¶
func NewCreateCcGeoIPBlockConfigRequest() (request *CreateCcGeoIPBlockConfigRequest)
func (*CreateCcGeoIPBlockConfigRequest) FromJsonString ¶
func (r *CreateCcGeoIPBlockConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCcGeoIPBlockConfigRequest) ToJsonString ¶
func (r *CreateCcGeoIPBlockConfigRequest) ToJsonString() string
type CreateCcGeoIPBlockConfigRequestParams ¶
type CreateCcGeoIPBlockConfigRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP address IP *string `json:"IP,omitnil,omitempty" name:"IP"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol type Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // CC regional blocking configuration CcGeoIPBlockConfig *CcGeoIPBlockConfig `json:"CcGeoIPBlockConfig,omitnil,omitempty" name:"CcGeoIPBlockConfig"` }
Predefined struct for user
type CreateCcGeoIPBlockConfigResponse ¶
type CreateCcGeoIPBlockConfigResponse struct { *tchttp.BaseResponse Response *CreateCcGeoIPBlockConfigResponseParams `json:"Response"` }
func NewCreateCcGeoIPBlockConfigResponse ¶
func NewCreateCcGeoIPBlockConfigResponse() (response *CreateCcGeoIPBlockConfigResponse)
func (*CreateCcGeoIPBlockConfigResponse) FromJsonString ¶
func (r *CreateCcGeoIPBlockConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCcGeoIPBlockConfigResponse) ToJsonString ¶
func (r *CreateCcGeoIPBlockConfigResponse) ToJsonString() string
type CreateCcGeoIPBlockConfigResponseParams ¶
type CreateCcGeoIPBlockConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDDoSAIRequest ¶
type CreateDDoSAIRequest struct { *tchttp.BaseRequest // List of Anti-DDoS instance IDs InstanceIdList []*string `json:"InstanceIdList,omitnil,omitempty" name:"InstanceIdList"` // AI protection switch. Valid values: // `on`: enabled // `off`: disabled // ] DDoSAI *string `json:"DDoSAI,omitnil,omitempty" name:"DDoSAI"` }
func NewCreateDDoSAIRequest ¶
func NewCreateDDoSAIRequest() (request *CreateDDoSAIRequest)
func (*CreateDDoSAIRequest) FromJsonString ¶
func (r *CreateDDoSAIRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDDoSAIRequest) ToJsonString ¶
func (r *CreateDDoSAIRequest) ToJsonString() string
type CreateDDoSAIRequestParams ¶
type CreateDDoSAIRequestParams struct { // List of Anti-DDoS instance IDs InstanceIdList []*string `json:"InstanceIdList,omitnil,omitempty" name:"InstanceIdList"` // AI protection switch. Valid values: // `on`: enabled // `off`: disabled // ] DDoSAI *string `json:"DDoSAI,omitnil,omitempty" name:"DDoSAI"` }
Predefined struct for user
type CreateDDoSAIResponse ¶
type CreateDDoSAIResponse struct { *tchttp.BaseResponse Response *CreateDDoSAIResponseParams `json:"Response"` }
func NewCreateDDoSAIResponse ¶
func NewCreateDDoSAIResponse() (response *CreateDDoSAIResponse)
func (*CreateDDoSAIResponse) FromJsonString ¶
func (r *CreateDDoSAIResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDDoSAIResponse) ToJsonString ¶
func (r *CreateDDoSAIResponse) ToJsonString() string
type CreateDDoSAIResponseParams ¶
type CreateDDoSAIResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDDoSGeoIPBlockConfigRequest ¶
type CreateDDoSGeoIPBlockConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Region blocking configuration. The configuration ID should be cleared when you set this parameter. DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitnil,omitempty" name:"DDoSGeoIPBlockConfig"` }
func NewCreateDDoSGeoIPBlockConfigRequest ¶
func NewCreateDDoSGeoIPBlockConfigRequest() (request *CreateDDoSGeoIPBlockConfigRequest)
func (*CreateDDoSGeoIPBlockConfigRequest) FromJsonString ¶
func (r *CreateDDoSGeoIPBlockConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDDoSGeoIPBlockConfigRequest) ToJsonString ¶
func (r *CreateDDoSGeoIPBlockConfigRequest) ToJsonString() string
type CreateDDoSGeoIPBlockConfigRequestParams ¶
type CreateDDoSGeoIPBlockConfigRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Region blocking configuration. The configuration ID should be cleared when you set this parameter. DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitnil,omitempty" name:"DDoSGeoIPBlockConfig"` }
Predefined struct for user
type CreateDDoSGeoIPBlockConfigResponse ¶
type CreateDDoSGeoIPBlockConfigResponse struct { *tchttp.BaseResponse Response *CreateDDoSGeoIPBlockConfigResponseParams `json:"Response"` }
func NewCreateDDoSGeoIPBlockConfigResponse ¶
func NewCreateDDoSGeoIPBlockConfigResponse() (response *CreateDDoSGeoIPBlockConfigResponse)
func (*CreateDDoSGeoIPBlockConfigResponse) FromJsonString ¶
func (r *CreateDDoSGeoIPBlockConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDDoSGeoIPBlockConfigResponse) ToJsonString ¶
func (r *CreateDDoSGeoIPBlockConfigResponse) ToJsonString() string
type CreateDDoSGeoIPBlockConfigResponseParams ¶
type CreateDDoSGeoIPBlockConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDDoSSpeedLimitConfigRequest ¶
type CreateDDoSSpeedLimitConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Access rate limit configuration. The configuration ID should be cleared when you set this parameter. DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitnil,omitempty" name:"DDoSSpeedLimitConfig"` }
func NewCreateDDoSSpeedLimitConfigRequest ¶
func NewCreateDDoSSpeedLimitConfigRequest() (request *CreateDDoSSpeedLimitConfigRequest)
func (*CreateDDoSSpeedLimitConfigRequest) FromJsonString ¶
func (r *CreateDDoSSpeedLimitConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDDoSSpeedLimitConfigRequest) ToJsonString ¶
func (r *CreateDDoSSpeedLimitConfigRequest) ToJsonString() string
type CreateDDoSSpeedLimitConfigRequestParams ¶
type CreateDDoSSpeedLimitConfigRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Access rate limit configuration. The configuration ID should be cleared when you set this parameter. DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitnil,omitempty" name:"DDoSSpeedLimitConfig"` }
Predefined struct for user
type CreateDDoSSpeedLimitConfigResponse ¶
type CreateDDoSSpeedLimitConfigResponse struct { *tchttp.BaseResponse Response *CreateDDoSSpeedLimitConfigResponseParams `json:"Response"` }
func NewCreateDDoSSpeedLimitConfigResponse ¶
func NewCreateDDoSSpeedLimitConfigResponse() (response *CreateDDoSSpeedLimitConfigResponse)
func (*CreateDDoSSpeedLimitConfigResponse) FromJsonString ¶
func (r *CreateDDoSSpeedLimitConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDDoSSpeedLimitConfigResponse) ToJsonString ¶
func (r *CreateDDoSSpeedLimitConfigResponse) ToJsonString() string
type CreateDDoSSpeedLimitConfigResponseParams ¶
type CreateDDoSSpeedLimitConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDefaultAlarmThresholdRequest ¶
type CreateDefaultAlarmThresholdRequest struct { *tchttp.BaseRequest // Default alarm threshold configuration DefaultAlarmConfig *DefaultAlarmThreshold `json:"DefaultAlarmConfig,omitnil,omitempty" name:"DefaultAlarmConfig"` // Product category. Valid values: // `bgp`: Anti-DDoS Pro // `bgpip`: Anti-DDoS Advanced // ] InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` }
func NewCreateDefaultAlarmThresholdRequest ¶
func NewCreateDefaultAlarmThresholdRequest() (request *CreateDefaultAlarmThresholdRequest)
func (*CreateDefaultAlarmThresholdRequest) FromJsonString ¶
func (r *CreateDefaultAlarmThresholdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDefaultAlarmThresholdRequest) ToJsonString ¶
func (r *CreateDefaultAlarmThresholdRequest) ToJsonString() string
type CreateDefaultAlarmThresholdRequestParams ¶
type CreateDefaultAlarmThresholdRequestParams struct { // Default alarm threshold configuration DefaultAlarmConfig *DefaultAlarmThreshold `json:"DefaultAlarmConfig,omitnil,omitempty" name:"DefaultAlarmConfig"` // Product category. Valid values: // `bgp`: Anti-DDoS Pro // `bgpip`: Anti-DDoS Advanced // ] InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` }
Predefined struct for user
type CreateDefaultAlarmThresholdResponse ¶
type CreateDefaultAlarmThresholdResponse struct { *tchttp.BaseResponse Response *CreateDefaultAlarmThresholdResponseParams `json:"Response"` }
func NewCreateDefaultAlarmThresholdResponse ¶
func NewCreateDefaultAlarmThresholdResponse() (response *CreateDefaultAlarmThresholdResponse)
func (*CreateDefaultAlarmThresholdResponse) FromJsonString ¶
func (r *CreateDefaultAlarmThresholdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDefaultAlarmThresholdResponse) ToJsonString ¶
func (r *CreateDefaultAlarmThresholdResponse) ToJsonString() string
type CreateDefaultAlarmThresholdResponseParams ¶
type CreateDefaultAlarmThresholdResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateIPAlarmThresholdConfigRequest ¶
type CreateIPAlarmThresholdConfigRequest struct { *tchttp.BaseRequest // List of IP alarm threshold configurations IpAlarmThresholdConfigList []*IPAlarmThresholdRelation `json:"IpAlarmThresholdConfigList,omitnil,omitempty" name:"IpAlarmThresholdConfigList"` }
func NewCreateIPAlarmThresholdConfigRequest ¶
func NewCreateIPAlarmThresholdConfigRequest() (request *CreateIPAlarmThresholdConfigRequest)
func (*CreateIPAlarmThresholdConfigRequest) FromJsonString ¶
func (r *CreateIPAlarmThresholdConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIPAlarmThresholdConfigRequest) ToJsonString ¶
func (r *CreateIPAlarmThresholdConfigRequest) ToJsonString() string
type CreateIPAlarmThresholdConfigRequestParams ¶
type CreateIPAlarmThresholdConfigRequestParams struct { // List of IP alarm threshold configurations IpAlarmThresholdConfigList []*IPAlarmThresholdRelation `json:"IpAlarmThresholdConfigList,omitnil,omitempty" name:"IpAlarmThresholdConfigList"` }
Predefined struct for user
type CreateIPAlarmThresholdConfigResponse ¶
type CreateIPAlarmThresholdConfigResponse struct { *tchttp.BaseResponse Response *CreateIPAlarmThresholdConfigResponseParams `json:"Response"` }
func NewCreateIPAlarmThresholdConfigResponse ¶
func NewCreateIPAlarmThresholdConfigResponse() (response *CreateIPAlarmThresholdConfigResponse)
func (*CreateIPAlarmThresholdConfigResponse) FromJsonString ¶
func (r *CreateIPAlarmThresholdConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIPAlarmThresholdConfigResponse) ToJsonString ¶
func (r *CreateIPAlarmThresholdConfigResponse) ToJsonString() string
type CreateIPAlarmThresholdConfigResponseParams ¶
type CreateIPAlarmThresholdConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateL7RuleCertsRequest ¶
type CreateL7RuleCertsRequest struct { *tchttp.BaseRequest // SSL certificate ID CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"` // List of Layer-7 domain name forwarding rules L7Rules []*InsL7Rules `json:"L7Rules,omitnil,omitempty" name:"L7Rules"` }
func NewCreateL7RuleCertsRequest ¶
func NewCreateL7RuleCertsRequest() (request *CreateL7RuleCertsRequest)
func (*CreateL7RuleCertsRequest) FromJsonString ¶
func (r *CreateL7RuleCertsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL7RuleCertsRequest) ToJsonString ¶
func (r *CreateL7RuleCertsRequest) ToJsonString() string
type CreateL7RuleCertsRequestParams ¶
type CreateL7RuleCertsRequestParams struct { // SSL certificate ID CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"` // List of Layer-7 domain name forwarding rules L7Rules []*InsL7Rules `json:"L7Rules,omitnil,omitempty" name:"L7Rules"` }
Predefined struct for user
type CreateL7RuleCertsResponse ¶
type CreateL7RuleCertsResponse struct { *tchttp.BaseResponse Response *CreateL7RuleCertsResponseParams `json:"Response"` }
func NewCreateL7RuleCertsResponse ¶
func NewCreateL7RuleCertsResponse() (response *CreateL7RuleCertsResponse)
func (*CreateL7RuleCertsResponse) FromJsonString ¶
func (r *CreateL7RuleCertsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL7RuleCertsResponse) ToJsonString ¶
func (r *CreateL7RuleCertsResponse) ToJsonString() string
type CreateL7RuleCertsResponseParams ¶
type CreateL7RuleCertsResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil,omitempty" name:"Success"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateNewL7RulesRequest ¶
type CreateNewL7RulesRequest struct { *tchttp.BaseRequest // List of rules Rules []*L7RuleEntry `json:"Rules,omitnil,omitempty" name:"Rules"` // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil,omitempty" name:"Business"` // List of resource IDs IdList []*string `json:"IdList,omitnil,omitempty" name:"IdList"` // List of resource IPs VipList []*string `json:"VipList,omitnil,omitempty" name:"VipList"` }
func NewCreateNewL7RulesRequest ¶
func NewCreateNewL7RulesRequest() (request *CreateNewL7RulesRequest)
func (*CreateNewL7RulesRequest) FromJsonString ¶
func (r *CreateNewL7RulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateNewL7RulesRequest) ToJsonString ¶
func (r *CreateNewL7RulesRequest) ToJsonString() string
type CreateNewL7RulesRequestParams ¶
type CreateNewL7RulesRequestParams struct { // List of rules Rules []*L7RuleEntry `json:"Rules,omitnil,omitempty" name:"Rules"` // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil,omitempty" name:"Business"` // List of resource IDs IdList []*string `json:"IdList,omitnil,omitempty" name:"IdList"` // List of resource IPs VipList []*string `json:"VipList,omitnil,omitempty" name:"VipList"` }
Predefined struct for user
type CreateNewL7RulesResponse ¶
type CreateNewL7RulesResponse struct { *tchttp.BaseResponse Response *CreateNewL7RulesResponseParams `json:"Response"` }
func NewCreateNewL7RulesResponse ¶
func NewCreateNewL7RulesResponse() (response *CreateNewL7RulesResponse)
func (*CreateNewL7RulesResponse) FromJsonString ¶
func (r *CreateNewL7RulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateNewL7RulesResponse) ToJsonString ¶
func (r *CreateNewL7RulesResponse) ToJsonString() string
type CreateNewL7RulesResponseParams ¶
type CreateNewL7RulesResponseParams struct { // Success code Success *SuccessCode `json:"Success,omitnil,omitempty" name:"Success"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePacketFilterConfigRequest ¶
type CreatePacketFilterConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Feature filtering rules PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitnil,omitempty" name:"PacketFilterConfig"` }
func NewCreatePacketFilterConfigRequest ¶
func NewCreatePacketFilterConfigRequest() (request *CreatePacketFilterConfigRequest)
func (*CreatePacketFilterConfigRequest) FromJsonString ¶
func (r *CreatePacketFilterConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePacketFilterConfigRequest) ToJsonString ¶
func (r *CreatePacketFilterConfigRequest) ToJsonString() string
type CreatePacketFilterConfigRequestParams ¶
type CreatePacketFilterConfigRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Feature filtering rules PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitnil,omitempty" name:"PacketFilterConfig"` }
Predefined struct for user
type CreatePacketFilterConfigResponse ¶
type CreatePacketFilterConfigResponse struct { *tchttp.BaseResponse Response *CreatePacketFilterConfigResponseParams `json:"Response"` }
func NewCreatePacketFilterConfigResponse ¶
func NewCreatePacketFilterConfigResponse() (response *CreatePacketFilterConfigResponse)
func (*CreatePacketFilterConfigResponse) FromJsonString ¶
func (r *CreatePacketFilterConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePacketFilterConfigResponse) ToJsonString ¶
func (r *CreatePacketFilterConfigResponse) ToJsonString() string
type CreatePacketFilterConfigResponseParams ¶
type CreatePacketFilterConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateProtocolBlockConfigRequest ¶
type CreateProtocolBlockConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Protocol blocking configuration ProtocolBlockConfig *ProtocolBlockConfig `json:"ProtocolBlockConfig,omitnil,omitempty" name:"ProtocolBlockConfig"` }
func NewCreateProtocolBlockConfigRequest ¶
func NewCreateProtocolBlockConfigRequest() (request *CreateProtocolBlockConfigRequest)
func (*CreateProtocolBlockConfigRequest) FromJsonString ¶
func (r *CreateProtocolBlockConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProtocolBlockConfigRequest) ToJsonString ¶
func (r *CreateProtocolBlockConfigRequest) ToJsonString() string
type CreateProtocolBlockConfigRequestParams ¶
type CreateProtocolBlockConfigRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Protocol blocking configuration ProtocolBlockConfig *ProtocolBlockConfig `json:"ProtocolBlockConfig,omitnil,omitempty" name:"ProtocolBlockConfig"` }
Predefined struct for user
type CreateProtocolBlockConfigResponse ¶
type CreateProtocolBlockConfigResponse struct { *tchttp.BaseResponse Response *CreateProtocolBlockConfigResponseParams `json:"Response"` }
func NewCreateProtocolBlockConfigResponse ¶
func NewCreateProtocolBlockConfigResponse() (response *CreateProtocolBlockConfigResponse)
func (*CreateProtocolBlockConfigResponse) FromJsonString ¶
func (r *CreateProtocolBlockConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProtocolBlockConfigResponse) ToJsonString ¶
func (r *CreateProtocolBlockConfigResponse) ToJsonString() string
type CreateProtocolBlockConfigResponseParams ¶
type CreateProtocolBlockConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSchedulingDomainRequest ¶
type CreateSchedulingDomainRequest struct { *tchttp.BaseRequest // Indicates whether a hybrid cloud product is used. // `hybrid`: Anti-DDoS Service Platform // For other products, leave this field empty. Product *string `json:"Product,omitnil,omitempty" name:"Product"` }
func NewCreateSchedulingDomainRequest ¶
func NewCreateSchedulingDomainRequest() (request *CreateSchedulingDomainRequest)
func (*CreateSchedulingDomainRequest) FromJsonString ¶
func (r *CreateSchedulingDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSchedulingDomainRequest) ToJsonString ¶
func (r *CreateSchedulingDomainRequest) ToJsonString() string
type CreateSchedulingDomainRequestParams ¶
type CreateSchedulingDomainRequestParams struct { // Indicates whether a hybrid cloud product is used. // `hybrid`: Anti-DDoS Service Platform // For other products, leave this field empty. Product *string `json:"Product,omitnil,omitempty" name:"Product"` }
Predefined struct for user
type CreateSchedulingDomainResponse ¶
type CreateSchedulingDomainResponse struct { *tchttp.BaseResponse Response *CreateSchedulingDomainResponseParams `json:"Response"` }
func NewCreateSchedulingDomainResponse ¶
func NewCreateSchedulingDomainResponse() (response *CreateSchedulingDomainResponse)
func (*CreateSchedulingDomainResponse) FromJsonString ¶
func (r *CreateSchedulingDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSchedulingDomainResponse) ToJsonString ¶
func (r *CreateSchedulingDomainResponse) ToJsonString() string
type CreateSchedulingDomainResponseParams ¶
type CreateSchedulingDomainResponseParams struct { // Created domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateWaterPrintConfigRequest ¶
type CreateWaterPrintConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Watermark configuration WaterPrintConfig *WaterPrintConfig `json:"WaterPrintConfig,omitnil,omitempty" name:"WaterPrintConfig"` }
func NewCreateWaterPrintConfigRequest ¶
func NewCreateWaterPrintConfigRequest() (request *CreateWaterPrintConfigRequest)
func (*CreateWaterPrintConfigRequest) FromJsonString ¶
func (r *CreateWaterPrintConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWaterPrintConfigRequest) ToJsonString ¶
func (r *CreateWaterPrintConfigRequest) ToJsonString() string
type CreateWaterPrintConfigRequestParams ¶
type CreateWaterPrintConfigRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Watermark configuration WaterPrintConfig *WaterPrintConfig `json:"WaterPrintConfig,omitnil,omitempty" name:"WaterPrintConfig"` }
Predefined struct for user
type CreateWaterPrintConfigResponse ¶
type CreateWaterPrintConfigResponse struct { *tchttp.BaseResponse Response *CreateWaterPrintConfigResponseParams `json:"Response"` }
func NewCreateWaterPrintConfigResponse ¶
func NewCreateWaterPrintConfigResponse() (response *CreateWaterPrintConfigResponse)
func (*CreateWaterPrintConfigResponse) FromJsonString ¶
func (r *CreateWaterPrintConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWaterPrintConfigResponse) ToJsonString ¶
func (r *CreateWaterPrintConfigResponse) ToJsonString() string
type CreateWaterPrintConfigResponseParams ¶
type CreateWaterPrintConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateWaterPrintKeyRequest ¶
type CreateWaterPrintKeyRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewCreateWaterPrintKeyRequest ¶
func NewCreateWaterPrintKeyRequest() (request *CreateWaterPrintKeyRequest)
func (*CreateWaterPrintKeyRequest) FromJsonString ¶
func (r *CreateWaterPrintKeyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWaterPrintKeyRequest) ToJsonString ¶
func (r *CreateWaterPrintKeyRequest) ToJsonString() string
type CreateWaterPrintKeyRequestParams ¶
type CreateWaterPrintKeyRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type CreateWaterPrintKeyResponse ¶
type CreateWaterPrintKeyResponse struct { *tchttp.BaseResponse Response *CreateWaterPrintKeyResponseParams `json:"Response"` }
func NewCreateWaterPrintKeyResponse ¶
func NewCreateWaterPrintKeyResponse() (response *CreateWaterPrintKeyResponse)
func (*CreateWaterPrintKeyResponse) FromJsonString ¶
func (r *CreateWaterPrintKeyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWaterPrintKeyResponse) ToJsonString ¶
func (r *CreateWaterPrintKeyResponse) ToJsonString() string
type CreateWaterPrintKeyResponseParams ¶
type CreateWaterPrintKeyResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DDoSAIRelation ¶
type DDoSAIRelation struct { // AI protection switch. Valid values: // `on`: enabled // `off`: disabled // ] DDoSAI *string `json:"DDoSAI,omitnil,omitempty" name:"DDoSAI"` // Anti-DDoS instance configured InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitnil,omitempty" name:"InstanceDetailList"` }
type DDoSGeoIPBlockConfig ¶
type DDoSGeoIPBlockConfig struct { // Region type. Valid values: // `oversea`: Outside the Chinese mainland // `china`: The Chinese mainland // `customized`: User-specified region // ] RegionType *string `json:"RegionType,omitnil,omitempty" name:"RegionType"` // Blocking action. Valid values: // `drop`: the request is blocked. // `trans`: the request is allowed. // ] Action *string `json:"Action,omitnil,omitempty" name:"Action"` // Configuration ID, which is generated after a configuration is added. This field is only required to modify or delete a configuration. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // When `RegionType = customized`, AreaList is required and contains up to 128 areas. AreaList []*int64 `json:"AreaList,omitnil,omitempty" name:"AreaList"` }
type DDoSGeoIPBlockConfigRelation ¶
type DDoSGeoIPBlockConfigRelation struct { // Anti-DDoS region blocking configuration GeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"GeoIPBlockConfig,omitnil,omitempty" name:"GeoIPBlockConfig"` // Anti-DDoS instance configured InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitnil,omitempty" name:"InstanceDetailList"` }
type DDoSSpeedLimitConfig ¶
type DDoSSpeedLimitConfig struct { // Rate limit mode. Valid values: // `1`: rate limit based on the real server IP // `2`: rate limit based on the destination port // ] Mode *uint64 `json:"Mode,omitnil,omitempty" name:"Mode"` // Rate limit value. This field contains at least one valid rate limit type. Note that only up to one value of each type is supported. SpeedValues []*SpeedValue `json:"SpeedValues,omitnil,omitempty" name:"SpeedValues"` // This field is replaced with a new field DstPortList. DstPortScopes []*PortSegment `json:"DstPortScopes,omitnil,omitempty" name:"DstPortScopes"` Id *string `json:"Id,omitnil,omitempty" name:"Id"` // IP protocol number. Valid values: // `ALL`: all protocols // `TCP`: TCP protocol // `UDP`: UDP protocol // `SMP`: SMP protocol // `1;2–100`: user-defined protocol with up to 8 ranges // ] // Note: For custom protocol ranges, only protocol number is supported. Multiple ranges are separated by ";". If the value is `ALL`, any other protocol or protocol number should be excluded. ProtocolList *string `json:"ProtocolList,omitnil,omitempty" name:"ProtocolList"` // Port range list, which contains up to 8 ranges. Use ";" to separate multiple ports and "–" to indicate a range of ports, as described in the following formats: `0–65535`, `80;443;1000–2000`. DstPortList *string `json:"DstPortList,omitnil,omitempty" name:"DstPortList"` }
type DDoSSpeedLimitConfigRelation ¶
type DDoSSpeedLimitConfigRelation struct { // Anti-DDoS access rate limit configuration SpeedLimitConfig *DDoSSpeedLimitConfig `json:"SpeedLimitConfig,omitnil,omitempty" name:"SpeedLimitConfig"` // Anti-DDoS instance configured InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitnil,omitempty" name:"InstanceDetailList"` }
type DefaultAlarmThreshold ¶
type DefaultAlarmThreshold struct { // Alarm threshold type. Valid values: // `1`: alarm threshold for inbound traffic // `2`: alarm threshold for cleansing attack traffic // ] AlarmType *uint64 `json:"AlarmType,omitnil,omitempty" name:"AlarmType"` // Alarm threshold (Mbps). The value should be greater than or equal to 0. Note that the alarm threshold configuration will be removed if you pass the parameter for input and set it to 0. AlarmThreshold *uint64 `json:"AlarmThreshold,omitnil,omitempty" name:"AlarmThreshold"` }
type DeleteCCLevelPolicyRequest ¶
type DeleteCCLevelPolicyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Target IP of the policy Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Value: `http` Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
func NewDeleteCCLevelPolicyRequest ¶
func NewDeleteCCLevelPolicyRequest() (request *DeleteCCLevelPolicyRequest)
func (*DeleteCCLevelPolicyRequest) FromJsonString ¶
func (r *DeleteCCLevelPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCCLevelPolicyRequest) ToJsonString ¶
func (r *DeleteCCLevelPolicyRequest) ToJsonString() string
type DeleteCCLevelPolicyRequestParams ¶
type DeleteCCLevelPolicyRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Target IP of the policy Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Value: `http` Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
Predefined struct for user
type DeleteCCLevelPolicyResponse ¶
type DeleteCCLevelPolicyResponse struct { *tchttp.BaseResponse Response *DeleteCCLevelPolicyResponseParams `json:"Response"` }
func NewDeleteCCLevelPolicyResponse ¶
func NewDeleteCCLevelPolicyResponse() (response *DeleteCCLevelPolicyResponse)
func (*DeleteCCLevelPolicyResponse) FromJsonString ¶
func (r *DeleteCCLevelPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCCLevelPolicyResponse) ToJsonString ¶
func (r *DeleteCCLevelPolicyResponse) ToJsonString() string
type DeleteCCLevelPolicyResponseParams ¶
type DeleteCCLevelPolicyResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCCPrecisionPolicyRequest ¶
type DeleteCCPrecisionPolicyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Policy ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
func NewDeleteCCPrecisionPolicyRequest ¶
func NewDeleteCCPrecisionPolicyRequest() (request *DeleteCCPrecisionPolicyRequest)
func (*DeleteCCPrecisionPolicyRequest) FromJsonString ¶
func (r *DeleteCCPrecisionPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCCPrecisionPolicyRequest) ToJsonString ¶
func (r *DeleteCCPrecisionPolicyRequest) ToJsonString() string
type DeleteCCPrecisionPolicyRequestParams ¶
type DeleteCCPrecisionPolicyRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Policy ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
Predefined struct for user
type DeleteCCPrecisionPolicyResponse ¶
type DeleteCCPrecisionPolicyResponse struct { *tchttp.BaseResponse Response *DeleteCCPrecisionPolicyResponseParams `json:"Response"` }
func NewDeleteCCPrecisionPolicyResponse ¶
func NewDeleteCCPrecisionPolicyResponse() (response *DeleteCCPrecisionPolicyResponse)
func (*DeleteCCPrecisionPolicyResponse) FromJsonString ¶
func (r *DeleteCCPrecisionPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCCPrecisionPolicyResponse) ToJsonString ¶
func (r *DeleteCCPrecisionPolicyResponse) ToJsonString() string
type DeleteCCPrecisionPolicyResponseParams ¶
type DeleteCCPrecisionPolicyResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCCThresholdPolicyRequest ¶
type DeleteCCThresholdPolicyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Target IP of the policy Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Value: `http` Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
func NewDeleteCCThresholdPolicyRequest ¶
func NewDeleteCCThresholdPolicyRequest() (request *DeleteCCThresholdPolicyRequest)
func (*DeleteCCThresholdPolicyRequest) FromJsonString ¶
func (r *DeleteCCThresholdPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCCThresholdPolicyRequest) ToJsonString ¶
func (r *DeleteCCThresholdPolicyRequest) ToJsonString() string
type DeleteCCThresholdPolicyRequestParams ¶
type DeleteCCThresholdPolicyRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Target IP of the policy Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Value: `http` Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
Predefined struct for user
type DeleteCCThresholdPolicyResponse ¶
type DeleteCCThresholdPolicyResponse struct { *tchttp.BaseResponse Response *DeleteCCThresholdPolicyResponseParams `json:"Response"` }
func NewDeleteCCThresholdPolicyResponse ¶
func NewDeleteCCThresholdPolicyResponse() (response *DeleteCCThresholdPolicyResponse)
func (*DeleteCCThresholdPolicyResponse) FromJsonString ¶
func (r *DeleteCCThresholdPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCCThresholdPolicyResponse) ToJsonString ¶
func (r *DeleteCCThresholdPolicyResponse) ToJsonString() string
type DeleteCCThresholdPolicyResponseParams ¶
type DeleteCCThresholdPolicyResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCcBlackWhiteIpListRequest ¶
type DeleteCcBlackWhiteIpListRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Policy ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
func NewDeleteCcBlackWhiteIpListRequest ¶
func NewDeleteCcBlackWhiteIpListRequest() (request *DeleteCcBlackWhiteIpListRequest)
func (*DeleteCcBlackWhiteIpListRequest) FromJsonString ¶
func (r *DeleteCcBlackWhiteIpListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCcBlackWhiteIpListRequest) ToJsonString ¶
func (r *DeleteCcBlackWhiteIpListRequest) ToJsonString() string
type DeleteCcBlackWhiteIpListRequestParams ¶
type DeleteCcBlackWhiteIpListRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Policy ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
Predefined struct for user
type DeleteCcBlackWhiteIpListResponse ¶
type DeleteCcBlackWhiteIpListResponse struct { *tchttp.BaseResponse Response *DeleteCcBlackWhiteIpListResponseParams `json:"Response"` }
func NewDeleteCcBlackWhiteIpListResponse ¶
func NewDeleteCcBlackWhiteIpListResponse() (response *DeleteCcBlackWhiteIpListResponse)
func (*DeleteCcBlackWhiteIpListResponse) FromJsonString ¶
func (r *DeleteCcBlackWhiteIpListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCcBlackWhiteIpListResponse) ToJsonString ¶
func (r *DeleteCcBlackWhiteIpListResponse) ToJsonString() string
type DeleteCcBlackWhiteIpListResponseParams ¶
type DeleteCcBlackWhiteIpListResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCcGeoIPBlockConfigRequest ¶
type DeleteCcGeoIPBlockConfigRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Region blocking configuration. The configuration ID cannot be empty when you set this parameter. CcGeoIPBlockConfig *CcGeoIPBlockConfig `json:"CcGeoIPBlockConfig,omitnil,omitempty" name:"CcGeoIPBlockConfig"` }
func NewDeleteCcGeoIPBlockConfigRequest ¶
func NewDeleteCcGeoIPBlockConfigRequest() (request *DeleteCcGeoIPBlockConfigRequest)
func (*DeleteCcGeoIPBlockConfigRequest) FromJsonString ¶
func (r *DeleteCcGeoIPBlockConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCcGeoIPBlockConfigRequest) ToJsonString ¶
func (r *DeleteCcGeoIPBlockConfigRequest) ToJsonString() string
type DeleteCcGeoIPBlockConfigRequestParams ¶
type DeleteCcGeoIPBlockConfigRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Region blocking configuration. The configuration ID cannot be empty when you set this parameter. CcGeoIPBlockConfig *CcGeoIPBlockConfig `json:"CcGeoIPBlockConfig,omitnil,omitempty" name:"CcGeoIPBlockConfig"` }
Predefined struct for user
type DeleteCcGeoIPBlockConfigResponse ¶
type DeleteCcGeoIPBlockConfigResponse struct { *tchttp.BaseResponse Response *DeleteCcGeoIPBlockConfigResponseParams `json:"Response"` }
func NewDeleteCcGeoIPBlockConfigResponse ¶
func NewDeleteCcGeoIPBlockConfigResponse() (response *DeleteCcGeoIPBlockConfigResponse)
func (*DeleteCcGeoIPBlockConfigResponse) FromJsonString ¶
func (r *DeleteCcGeoIPBlockConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCcGeoIPBlockConfigResponse) ToJsonString ¶
func (r *DeleteCcGeoIPBlockConfigResponse) ToJsonString() string
type DeleteCcGeoIPBlockConfigResponseParams ¶
type DeleteCcGeoIPBlockConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteDDoSGeoIPBlockConfigRequest ¶
type DeleteDDoSGeoIPBlockConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Region blocking configuration. The configuration ID cannot be empty when you set this parameter. DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitnil,omitempty" name:"DDoSGeoIPBlockConfig"` }
func NewDeleteDDoSGeoIPBlockConfigRequest ¶
func NewDeleteDDoSGeoIPBlockConfigRequest() (request *DeleteDDoSGeoIPBlockConfigRequest)
func (*DeleteDDoSGeoIPBlockConfigRequest) FromJsonString ¶
func (r *DeleteDDoSGeoIPBlockConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDDoSGeoIPBlockConfigRequest) ToJsonString ¶
func (r *DeleteDDoSGeoIPBlockConfigRequest) ToJsonString() string
type DeleteDDoSGeoIPBlockConfigRequestParams ¶
type DeleteDDoSGeoIPBlockConfigRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Region blocking configuration. The configuration ID cannot be empty when you set this parameter. DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitnil,omitempty" name:"DDoSGeoIPBlockConfig"` }
Predefined struct for user
type DeleteDDoSGeoIPBlockConfigResponse ¶
type DeleteDDoSGeoIPBlockConfigResponse struct { *tchttp.BaseResponse Response *DeleteDDoSGeoIPBlockConfigResponseParams `json:"Response"` }
func NewDeleteDDoSGeoIPBlockConfigResponse ¶
func NewDeleteDDoSGeoIPBlockConfigResponse() (response *DeleteDDoSGeoIPBlockConfigResponse)
func (*DeleteDDoSGeoIPBlockConfigResponse) FromJsonString ¶
func (r *DeleteDDoSGeoIPBlockConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDDoSGeoIPBlockConfigResponse) ToJsonString ¶
func (r *DeleteDDoSGeoIPBlockConfigResponse) ToJsonString() string
type DeleteDDoSGeoIPBlockConfigResponseParams ¶
type DeleteDDoSGeoIPBlockConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteDDoSSpeedLimitConfigRequest ¶
type DeleteDDoSSpeedLimitConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Access rate limit configuration. The configuration ID cannot be empty when you set this parameter. DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitnil,omitempty" name:"DDoSSpeedLimitConfig"` }
func NewDeleteDDoSSpeedLimitConfigRequest ¶
func NewDeleteDDoSSpeedLimitConfigRequest() (request *DeleteDDoSSpeedLimitConfigRequest)
func (*DeleteDDoSSpeedLimitConfigRequest) FromJsonString ¶
func (r *DeleteDDoSSpeedLimitConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDDoSSpeedLimitConfigRequest) ToJsonString ¶
func (r *DeleteDDoSSpeedLimitConfigRequest) ToJsonString() string
type DeleteDDoSSpeedLimitConfigRequestParams ¶
type DeleteDDoSSpeedLimitConfigRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Access rate limit configuration. The configuration ID cannot be empty when you set this parameter. DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitnil,omitempty" name:"DDoSSpeedLimitConfig"` }
Predefined struct for user
type DeleteDDoSSpeedLimitConfigResponse ¶
type DeleteDDoSSpeedLimitConfigResponse struct { *tchttp.BaseResponse Response *DeleteDDoSSpeedLimitConfigResponseParams `json:"Response"` }
func NewDeleteDDoSSpeedLimitConfigResponse ¶
func NewDeleteDDoSSpeedLimitConfigResponse() (response *DeleteDDoSSpeedLimitConfigResponse)
func (*DeleteDDoSSpeedLimitConfigResponse) FromJsonString ¶
func (r *DeleteDDoSSpeedLimitConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDDoSSpeedLimitConfigResponse) ToJsonString ¶
func (r *DeleteDDoSSpeedLimitConfigResponse) ToJsonString() string
type DeleteDDoSSpeedLimitConfigResponseParams ¶
type DeleteDDoSSpeedLimitConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeletePacketFilterConfigRequest ¶
type DeletePacketFilterConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Feature filtering configuration PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitnil,omitempty" name:"PacketFilterConfig"` }
func NewDeletePacketFilterConfigRequest ¶
func NewDeletePacketFilterConfigRequest() (request *DeletePacketFilterConfigRequest)
func (*DeletePacketFilterConfigRequest) FromJsonString ¶
func (r *DeletePacketFilterConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePacketFilterConfigRequest) ToJsonString ¶
func (r *DeletePacketFilterConfigRequest) ToJsonString() string
type DeletePacketFilterConfigRequestParams ¶
type DeletePacketFilterConfigRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Feature filtering configuration PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitnil,omitempty" name:"PacketFilterConfig"` }
Predefined struct for user
type DeletePacketFilterConfigResponse ¶
type DeletePacketFilterConfigResponse struct { *tchttp.BaseResponse Response *DeletePacketFilterConfigResponseParams `json:"Response"` }
func NewDeletePacketFilterConfigResponse ¶
func NewDeletePacketFilterConfigResponse() (response *DeletePacketFilterConfigResponse)
func (*DeletePacketFilterConfigResponse) FromJsonString ¶
func (r *DeletePacketFilterConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePacketFilterConfigResponse) ToJsonString ¶
func (r *DeletePacketFilterConfigResponse) ToJsonString() string
type DeletePacketFilterConfigResponseParams ¶
type DeletePacketFilterConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteWaterPrintConfigRequest ¶
type DeleteWaterPrintConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDeleteWaterPrintConfigRequest ¶
func NewDeleteWaterPrintConfigRequest() (request *DeleteWaterPrintConfigRequest)
func (*DeleteWaterPrintConfigRequest) FromJsonString ¶
func (r *DeleteWaterPrintConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWaterPrintConfigRequest) ToJsonString ¶
func (r *DeleteWaterPrintConfigRequest) ToJsonString() string
type DeleteWaterPrintConfigRequestParams ¶
type DeleteWaterPrintConfigRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DeleteWaterPrintConfigResponse ¶
type DeleteWaterPrintConfigResponse struct { *tchttp.BaseResponse Response *DeleteWaterPrintConfigResponseParams `json:"Response"` }
func NewDeleteWaterPrintConfigResponse ¶
func NewDeleteWaterPrintConfigResponse() (response *DeleteWaterPrintConfigResponse)
func (*DeleteWaterPrintConfigResponse) FromJsonString ¶
func (r *DeleteWaterPrintConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWaterPrintConfigResponse) ToJsonString ¶
func (r *DeleteWaterPrintConfigResponse) ToJsonString() string
type DeleteWaterPrintConfigResponseParams ¶
type DeleteWaterPrintConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteWaterPrintKeyRequest ¶
type DeleteWaterPrintKeyRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Watermark key ID KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"` }
func NewDeleteWaterPrintKeyRequest ¶
func NewDeleteWaterPrintKeyRequest() (request *DeleteWaterPrintKeyRequest)
func (*DeleteWaterPrintKeyRequest) FromJsonString ¶
func (r *DeleteWaterPrintKeyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWaterPrintKeyRequest) ToJsonString ¶
func (r *DeleteWaterPrintKeyRequest) ToJsonString() string
type DeleteWaterPrintKeyRequestParams ¶
type DeleteWaterPrintKeyRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Watermark key ID KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"` }
Predefined struct for user
type DeleteWaterPrintKeyResponse ¶
type DeleteWaterPrintKeyResponse struct { *tchttp.BaseResponse Response *DeleteWaterPrintKeyResponseParams `json:"Response"` }
func NewDeleteWaterPrintKeyResponse ¶
func NewDeleteWaterPrintKeyResponse() (response *DeleteWaterPrintKeyResponse)
func (*DeleteWaterPrintKeyResponse) FromJsonString ¶
func (r *DeleteWaterPrintKeyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWaterPrintKeyResponse) ToJsonString ¶
func (r *DeleteWaterPrintKeyResponse) ToJsonString() string
type DeleteWaterPrintKeyResponseParams ¶
type DeleteWaterPrintKeyResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBasicDeviceStatusRequest ¶
type DescribeBasicDeviceStatusRequest struct { *tchttp.BaseRequest // List of IP resources IpList []*string `json:"IpList,omitnil,omitempty" name:"IpList"` IdList []*string `json:"IdList,omitnil,omitempty" name:"IdList"` FilterRegion *uint64 `json:"FilterRegion,omitnil,omitempty" name:"FilterRegion"` CnameWafIdList []*string `json:"CnameWafIdList,omitnil,omitempty" name:"CnameWafIdList"` }
func NewDescribeBasicDeviceStatusRequest ¶
func NewDescribeBasicDeviceStatusRequest() (request *DescribeBasicDeviceStatusRequest)
func (*DescribeBasicDeviceStatusRequest) FromJsonString ¶
func (r *DescribeBasicDeviceStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBasicDeviceStatusRequest) ToJsonString ¶
func (r *DescribeBasicDeviceStatusRequest) ToJsonString() string
type DescribeBasicDeviceStatusRequestParams ¶
type DescribeBasicDeviceStatusRequestParams struct { // List of IP resources IpList []*string `json:"IpList,omitnil,omitempty" name:"IpList"` IdList []*string `json:"IdList,omitnil,omitempty" name:"IdList"` FilterRegion *uint64 `json:"FilterRegion,omitnil,omitempty" name:"FilterRegion"` CnameWafIdList []*string `json:"CnameWafIdList,omitnil,omitempty" name:"CnameWafIdList"` }
Predefined struct for user
type DescribeBasicDeviceStatusResponse ¶
type DescribeBasicDeviceStatusResponse struct { *tchttp.BaseResponse Response *DescribeBasicDeviceStatusResponseParams `json:"Response"` }
func NewDescribeBasicDeviceStatusResponse ¶
func NewDescribeBasicDeviceStatusResponse() (response *DescribeBasicDeviceStatusResponse)
func (*DescribeBasicDeviceStatusResponse) FromJsonString ¶
func (r *DescribeBasicDeviceStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBasicDeviceStatusResponse) ToJsonString ¶
func (r *DescribeBasicDeviceStatusResponse) ToJsonString() string
type DescribeBasicDeviceStatusResponseParams ¶
type DescribeBasicDeviceStatusResponseParams struct { // Status of the specified Anti-DDoS resource. Valid values: // `1`: The IP is blocked. // `2`: The P is normal. // `3`: The IP is being attacked. Data []*KeyValue `json:"Data,omitnil,omitempty" name:"Data"` CLBData []*KeyValue `json:"CLBData,omitnil,omitempty" name:"CLBData"` CnameWafData []*KeyValue `json:"CnameWafData,omitnil,omitempty" name:"CnameWafData"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBgpBizTrendRequest ¶
type DescribeBgpBizTrendRequest struct { *tchttp.BaseRequest // Anti-DDoS service code. `bgp-multip` indicates Anti-DDos Pro. Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Beginning of the time range for the query, such as `2020-09-22 00:00:00`. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End of the time range for the query, such as `2020-09-22 00:00:00`. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Statistical metric. Values: `intraffic`, `outtraffic`, `inpkg`, and `outpkg`. MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // `0`: Fixed time. `1`: Custom time. Flag *uint64 `json:"Flag,omitnil,omitempty" name:"Flag"` }
func NewDescribeBgpBizTrendRequest ¶
func NewDescribeBgpBizTrendRequest() (request *DescribeBgpBizTrendRequest)
func (*DescribeBgpBizTrendRequest) FromJsonString ¶
func (r *DescribeBgpBizTrendRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBgpBizTrendRequest) ToJsonString ¶
func (r *DescribeBgpBizTrendRequest) ToJsonString() string
type DescribeBgpBizTrendRequestParams ¶
type DescribeBgpBizTrendRequestParams struct { // Anti-DDoS service code. `bgp-multip` indicates Anti-DDos Pro. Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Beginning of the time range for the query, such as `2020-09-22 00:00:00`. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End of the time range for the query, such as `2020-09-22 00:00:00`. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Statistical metric. Values: `intraffic`, `outtraffic`, `inpkg`, and `outpkg`. MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // `0`: Fixed time. `1`: Custom time. Flag *uint64 `json:"Flag,omitnil,omitempty" name:"Flag"` }
Predefined struct for user
type DescribeBgpBizTrendResponse ¶
type DescribeBgpBizTrendResponse struct { *tchttp.BaseResponse Response *DescribeBgpBizTrendResponseParams `json:"Response"` }
func NewDescribeBgpBizTrendResponse ¶
func NewDescribeBgpBizTrendResponse() (response *DescribeBgpBizTrendResponse)
func (*DescribeBgpBizTrendResponse) FromJsonString ¶
func (r *DescribeBgpBizTrendResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBgpBizTrendResponse) ToJsonString ¶
func (r *DescribeBgpBizTrendResponse) ToJsonString() string
type DescribeBgpBizTrendResponseParams ¶
type DescribeBgpBizTrendResponseParams struct { // Values of the samples DataList []*uint64 `json:"DataList,omitnil,omitempty" name:"DataList"` // Number of samples Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // Statistical metric MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // Maximum value of the arrays returned MaxData *uint64 `json:"MaxData,omitnil,omitempty" name:"MaxData"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBizHttpStatusRequest ¶
type DescribeBizHttpStatusRequest struct { *tchttp.BaseRequest // Statistical mode. Value: `sum`. Statistics *string `json:"Statistics,omitnil,omitempty" name:"Statistics"` // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Statistical period in seconds. Valid values: `60`, `300`, `1800`, `3600`, `21600`, and `86400`. Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Statistics start time, such as `2020-02-01 12:04:12` StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Statistics end time, such as `2020-02-03 18:03:23` EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // The resource ID. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Specific domain name query Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol and port list, which is valid when the metric is `connum`, `new_conn` or `inactive_conn`. Valid protocols: `TCP`, `UDP`, `HTTP`, `HTTPS` ProtoInfo []*ProtocolPort `json:"ProtoInfo,omitnil,omitempty" name:"ProtoInfo"` }
func NewDescribeBizHttpStatusRequest ¶
func NewDescribeBizHttpStatusRequest() (request *DescribeBizHttpStatusRequest)
func (*DescribeBizHttpStatusRequest) FromJsonString ¶
func (r *DescribeBizHttpStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBizHttpStatusRequest) ToJsonString ¶
func (r *DescribeBizHttpStatusRequest) ToJsonString() string
type DescribeBizHttpStatusRequestParams ¶
type DescribeBizHttpStatusRequestParams struct { // Statistical mode. Value: `sum`. Statistics *string `json:"Statistics,omitnil,omitempty" name:"Statistics"` // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Statistical period in seconds. Valid values: `60`, `300`, `1800`, `3600`, `21600`, and `86400`. Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Statistics start time, such as `2020-02-01 12:04:12` StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Statistics end time, such as `2020-02-03 18:03:23` EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // The resource ID. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Specific domain name query Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol and port list, which is valid when the metric is `connum`, `new_conn` or `inactive_conn`. Valid protocols: `TCP`, `UDP`, `HTTP`, `HTTPS` ProtoInfo []*ProtocolPort `json:"ProtoInfo,omitnil,omitempty" name:"ProtoInfo"` }
Predefined struct for user
type DescribeBizHttpStatusResponse ¶
type DescribeBizHttpStatusResponse struct { *tchttp.BaseResponse Response *DescribeBizHttpStatusResponseParams `json:"Response"` }
func NewDescribeBizHttpStatusResponse ¶
func NewDescribeBizHttpStatusResponse() (response *DescribeBizHttpStatusResponse)
func (*DescribeBizHttpStatusResponse) FromJsonString ¶
func (r *DescribeBizHttpStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBizHttpStatusResponse) ToJsonString ¶
func (r *DescribeBizHttpStatusResponse) ToJsonString() string
type DescribeBizHttpStatusResponseParams ¶
type DescribeBizHttpStatusResponseParams struct { // Statistics on the HTTP status codes of business traffic HttpStatusMap *HttpStatusMap `json:"HttpStatusMap,omitnil,omitempty" name:"HttpStatusMap"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBizTrendRequest ¶
type DescribeBizTrendRequest struct { *tchttp.BaseRequest // Statistical method. Valid values: `max`, `min`, `avg`, `sum`. It can only be `max` if the statistical dimension is traffic rate or packet rate. Statistics *string `json:"Statistics,omitnil,omitempty" name:"Statistics"` // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Sampling interval in seconds. Valid values: `60`, `300`, `1800`, `3600`, `21600`, `86400` Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // Beginning of the time range for the query, such as `2020-09-22 00:00:00`. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End of the time range for the query, such as `2020-09-22 00:00:00`. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Instance ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Metric. Valid values: `connum`, `new_conn`, `inactive_conn`, `intraffic`, `outtraffic`, `inpkg`, `outpkg`, `qps` MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // You can query data by specifying a domain name when the metric is `qps`. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol and port list, which is valid when the metric is `connum`, `new_conn` or `inactive_conn`. Valid protocols: `TCP`, `UDP`, `HTTP`, `HTTPS` ProtoInfo []*ProtocolPort `json:"ProtoInfo,omitnil,omitempty" name:"ProtoInfo"` }
func NewDescribeBizTrendRequest ¶
func NewDescribeBizTrendRequest() (request *DescribeBizTrendRequest)
func (*DescribeBizTrendRequest) FromJsonString ¶
func (r *DescribeBizTrendRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBizTrendRequest) ToJsonString ¶
func (r *DescribeBizTrendRequest) ToJsonString() string
type DescribeBizTrendRequestParams ¶
type DescribeBizTrendRequestParams struct { // Statistical method. Valid values: `max`, `min`, `avg`, `sum`. It can only be `max` if the statistical dimension is traffic rate or packet rate. Statistics *string `json:"Statistics,omitnil,omitempty" name:"Statistics"` // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Sampling interval in seconds. Valid values: `60`, `300`, `1800`, `3600`, `21600`, `86400` Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // Beginning of the time range for the query, such as `2020-09-22 00:00:00`. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End of the time range for the query, such as `2020-09-22 00:00:00`. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Instance ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Metric. Valid values: `connum`, `new_conn`, `inactive_conn`, `intraffic`, `outtraffic`, `inpkg`, `outpkg`, `qps` MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // You can query data by specifying a domain name when the metric is `qps`. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol and port list, which is valid when the metric is `connum`, `new_conn` or `inactive_conn`. Valid protocols: `TCP`, `UDP`, `HTTP`, `HTTPS` ProtoInfo []*ProtocolPort `json:"ProtoInfo,omitnil,omitempty" name:"ProtoInfo"` }
Predefined struct for user
type DescribeBizTrendResponse ¶
type DescribeBizTrendResponse struct { *tchttp.BaseResponse Response *DescribeBizTrendResponseParams `json:"Response"` }
func NewDescribeBizTrendResponse ¶
func NewDescribeBizTrendResponse() (response *DescribeBizTrendResponse)
func (*DescribeBizTrendResponse) FromJsonString ¶
func (r *DescribeBizTrendResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBizTrendResponse) ToJsonString ¶
func (r *DescribeBizTrendResponse) ToJsonString() string
type DescribeBizTrendResponseParams ¶
type DescribeBizTrendResponseParams struct { // Value at a time point on the curve DataList []*float64 `json:"DataList,omitnil,omitempty" name:"DataList"` // Statistical dimension MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBlackWhiteIpListRequest ¶
type DescribeBlackWhiteIpListRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeBlackWhiteIpListRequest ¶
func NewDescribeBlackWhiteIpListRequest() (request *DescribeBlackWhiteIpListRequest)
func (*DescribeBlackWhiteIpListRequest) FromJsonString ¶
func (r *DescribeBlackWhiteIpListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlackWhiteIpListRequest) ToJsonString ¶
func (r *DescribeBlackWhiteIpListRequest) ToJsonString() string
type DescribeBlackWhiteIpListRequestParams ¶
type DescribeBlackWhiteIpListRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeBlackWhiteIpListResponse ¶
type DescribeBlackWhiteIpListResponse struct { *tchttp.BaseResponse Response *DescribeBlackWhiteIpListResponseParams `json:"Response"` }
func NewDescribeBlackWhiteIpListResponse ¶
func NewDescribeBlackWhiteIpListResponse() (response *DescribeBlackWhiteIpListResponse)
func (*DescribeBlackWhiteIpListResponse) FromJsonString ¶
func (r *DescribeBlackWhiteIpListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlackWhiteIpListResponse) ToJsonString ¶
func (r *DescribeBlackWhiteIpListResponse) ToJsonString() string
type DescribeBlackWhiteIpListResponseParams ¶
type DescribeBlackWhiteIpListResponseParams struct { // IP blocklist BlackIpList []*string `json:"BlackIpList,omitnil,omitempty" name:"BlackIpList"` // IP allowlist WhiteIpList []*string `json:"WhiteIpList,omitnil,omitempty" name:"WhiteIpList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCCLevelListRequest ¶
type DescribeCCLevelListRequest struct { *tchttp.BaseRequest // Anti-DDoS service code. `bgp-multip` indicates Anti-DDos Pro. Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results returned in one page Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // ID of the specified instance InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeCCLevelListRequest ¶
func NewDescribeCCLevelListRequest() (request *DescribeCCLevelListRequest)
func (*DescribeCCLevelListRequest) FromJsonString ¶
func (r *DescribeCCLevelListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCLevelListRequest) ToJsonString ¶
func (r *DescribeCCLevelListRequest) ToJsonString() string
type DescribeCCLevelListRequestParams ¶
type DescribeCCLevelListRequestParams struct { // Anti-DDoS service code. `bgp-multip` indicates Anti-DDos Pro. Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results returned in one page Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // ID of the specified instance InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeCCLevelListResponse ¶
type DescribeCCLevelListResponse struct { *tchttp.BaseResponse Response *DescribeCCLevelListResponseParams `json:"Response"` }
func NewDescribeCCLevelListResponse ¶
func NewDescribeCCLevelListResponse() (response *DescribeCCLevelListResponse)
func (*DescribeCCLevelListResponse) FromJsonString ¶
func (r *DescribeCCLevelListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCLevelListResponse) ToJsonString ¶
func (r *DescribeCCLevelListResponse) ToJsonString() string
type DescribeCCLevelListResponseParams ¶
type DescribeCCLevelListResponseParams struct { // Total number of level-defining policies Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // Total number of level-defining policies LevelList []*CCLevelPolicy `json:"LevelList,omitnil,omitempty" name:"LevelList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCCLevelPolicyRequest ¶
type DescribeCCLevelPolicyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol. Values: `HTTP`,`HTTPS` Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
func NewDescribeCCLevelPolicyRequest ¶
func NewDescribeCCLevelPolicyRequest() (request *DescribeCCLevelPolicyRequest)
func (*DescribeCCLevelPolicyRequest) FromJsonString ¶
func (r *DescribeCCLevelPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCLevelPolicyRequest) ToJsonString ¶
func (r *DescribeCCLevelPolicyRequest) ToJsonString() string
type DescribeCCLevelPolicyRequestParams ¶
type DescribeCCLevelPolicyRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol. Values: `HTTP`,`HTTPS` Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
Predefined struct for user
type DescribeCCLevelPolicyResponse ¶
type DescribeCCLevelPolicyResponse struct { *tchttp.BaseResponse Response *DescribeCCLevelPolicyResponseParams `json:"Response"` }
func NewDescribeCCLevelPolicyResponse ¶
func NewDescribeCCLevelPolicyResponse() (response *DescribeCCLevelPolicyResponse)
func (*DescribeCCLevelPolicyResponse) FromJsonString ¶
func (r *DescribeCCLevelPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCLevelPolicyResponse) ToJsonString ¶
func (r *DescribeCCLevelPolicyResponse) ToJsonString() string
type DescribeCCLevelPolicyResponseParams ¶
type DescribeCCLevelPolicyResponseParams struct { // CC protection level. Vaules: `loose`, `strict`, `normal`, `emergency`, `sup_loose` (super loose), `default` (used when the frequency limit is not configured) and `customized` Level *string `json:"Level,omitnil,omitempty" name:"Level"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCCPrecisionPlyListRequest ¶
type DescribeCCPrecisionPlyListRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. Valid values: `bgpip-multip` (Anti-DDoS Pro) and `bgpip` (Anti-DDoS Advanced). Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results returned in one page Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP address, which is required when an Anti-DDoS Advanced instance is used. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name, which is required when an Anti-DDoS Advanced instance is used. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol, which is required when an Anti-DDoS Advanced instance is used. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
func NewDescribeCCPrecisionPlyListRequest ¶
func NewDescribeCCPrecisionPlyListRequest() (request *DescribeCCPrecisionPlyListRequest)
func (*DescribeCCPrecisionPlyListRequest) FromJsonString ¶
func (r *DescribeCCPrecisionPlyListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCPrecisionPlyListRequest) ToJsonString ¶
func (r *DescribeCCPrecisionPlyListRequest) ToJsonString() string
type DescribeCCPrecisionPlyListRequestParams ¶
type DescribeCCPrecisionPlyListRequestParams struct { // Anti-DDoS service type. Valid values: `bgpip-multip` (Anti-DDoS Pro) and `bgpip` (Anti-DDoS Advanced). Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results returned in one page Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP address, which is required when an Anti-DDoS Advanced instance is used. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name, which is required when an Anti-DDoS Advanced instance is used. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol, which is required when an Anti-DDoS Advanced instance is used. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
Predefined struct for user
type DescribeCCPrecisionPlyListResponse ¶
type DescribeCCPrecisionPlyListResponse struct { *tchttp.BaseResponse Response *DescribeCCPrecisionPlyListResponseParams `json:"Response"` }
func NewDescribeCCPrecisionPlyListResponse ¶
func NewDescribeCCPrecisionPlyListResponse() (response *DescribeCCPrecisionPlyListResponse)
func (*DescribeCCPrecisionPlyListResponse) FromJsonString ¶
func (r *DescribeCCPrecisionPlyListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCPrecisionPlyListResponse) ToJsonString ¶
func (r *DescribeCCPrecisionPlyListResponse) ToJsonString() string
type DescribeCCPrecisionPlyListResponseParams ¶
type DescribeCCPrecisionPlyListResponseParams struct { // Number of policy lists Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // Information of the policy list PrecisionPolicyList []*CCPrecisionPolicy `json:"PrecisionPolicyList,omitnil,omitempty" name:"PrecisionPolicyList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCCThresholdListRequest ¶
type DescribeCCThresholdListRequest struct { *tchttp.BaseRequest // Anti-DDoS service code. `bgp-multip` indicates Anti-DDos Pro. Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results returned in one page Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // ID of the specified instance InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeCCThresholdListRequest ¶
func NewDescribeCCThresholdListRequest() (request *DescribeCCThresholdListRequest)
func (*DescribeCCThresholdListRequest) FromJsonString ¶
func (r *DescribeCCThresholdListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCThresholdListRequest) ToJsonString ¶
func (r *DescribeCCThresholdListRequest) ToJsonString() string
type DescribeCCThresholdListRequestParams ¶
type DescribeCCThresholdListRequestParams struct { // Anti-DDoS service code. `bgp-multip` indicates Anti-DDos Pro. Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results returned in one page Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // ID of the specified instance InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeCCThresholdListResponse ¶
type DescribeCCThresholdListResponse struct { *tchttp.BaseResponse Response *DescribeCCThresholdListResponseParams `json:"Response"` }
func NewDescribeCCThresholdListResponse ¶
func NewDescribeCCThresholdListResponse() (response *DescribeCCThresholdListResponse)
func (*DescribeCCThresholdListResponse) FromJsonString ¶
func (r *DescribeCCThresholdListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCThresholdListResponse) ToJsonString ¶
func (r *DescribeCCThresholdListResponse) ToJsonString() string
type DescribeCCThresholdListResponseParams ¶
type DescribeCCThresholdListResponseParams struct { // Total number of cleansing threshold policies Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // Details of cleansing threshold policies ThresholdList []*CCThresholdPolicy `json:"ThresholdList,omitnil,omitempty" name:"ThresholdList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCCTrendRequest ¶
type DescribeCCTrendRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Instance IP Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day) Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Beginning of the time range for the query StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End of the time range for the query EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Metric. Valid values: `inqps` (total QPS peaks), `dropqps` (attack QPS peaks), `incount` (total number of requests), and `dropcount` (number of attack requests). MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // (Optional) Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Instance ID. Leave this field empty when `Business` is `basic`, as basic protection does not require an instance. Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
func NewDescribeCCTrendRequest ¶
func NewDescribeCCTrendRequest() (request *DescribeCCTrendRequest)
func (*DescribeCCTrendRequest) FromJsonString ¶
func (r *DescribeCCTrendRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCTrendRequest) ToJsonString ¶
func (r *DescribeCCTrendRequest) ToJsonString() string
type DescribeCCTrendRequestParams ¶
type DescribeCCTrendRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Instance IP Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day) Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Beginning of the time range for the query StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End of the time range for the query EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Metric. Valid values: `inqps` (total QPS peaks), `dropqps` (attack QPS peaks), `incount` (total number of requests), and `dropcount` (number of attack requests). MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // (Optional) Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Instance ID. Leave this field empty when `Business` is `basic`, as basic protection does not require an instance. Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
Predefined struct for user
type DescribeCCTrendResponse ¶
type DescribeCCTrendResponse struct { *tchttp.BaseResponse Response *DescribeCCTrendResponseParams `json:"Response"` }
func NewDescribeCCTrendResponse ¶
func NewDescribeCCTrendResponse() (response *DescribeCCTrendResponse)
func (*DescribeCCTrendResponse) FromJsonString ¶
func (r *DescribeCCTrendResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCCTrendResponse) ToJsonString ¶
func (r *DescribeCCTrendResponse) ToJsonString() string
type DescribeCCTrendResponseParams ¶
type DescribeCCTrendResponseParams struct { // Number of values returned Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Instance IP Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day) Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Beginning of the time range for the query StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End of the time range for the query EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Value array Data []*uint64 `json:"Data,omitnil,omitempty" name:"Data"` // Instance ID // Note: this field may return `null`, indicating that no valid values can be obtained. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Metric. Valid values: `inqps` (total QPS peaks), `dropqps` (attack QPS peaks), `incount` (total number of requests), and `dropcount` (number of attack requests). MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCcBlackWhiteIpListRequest ¶
type DescribeCcBlackWhiteIpListRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. Valid values: `bgpip-multip` (Anti-DDoS Pro) and `bgpip` (Anti-DDoS Advanced). Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results returned in one page Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // IP address, which is required when an Anti-DDoS Advanced instance is used. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name, which is required when an Anti-DDoS Advanced instance is used. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol, which is required when an Anti-DDoS Advanced instance is used. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Specifies a blocklist/allowlist IP. FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` // Specifies whether is an IP blocklist or IP allowlist. FilterType *string `json:"FilterType,omitnil,omitempty" name:"FilterType"` }
func NewDescribeCcBlackWhiteIpListRequest ¶
func NewDescribeCcBlackWhiteIpListRequest() (request *DescribeCcBlackWhiteIpListRequest)
func (*DescribeCcBlackWhiteIpListRequest) FromJsonString ¶
func (r *DescribeCcBlackWhiteIpListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCcBlackWhiteIpListRequest) ToJsonString ¶
func (r *DescribeCcBlackWhiteIpListRequest) ToJsonString() string
type DescribeCcBlackWhiteIpListRequestParams ¶
type DescribeCcBlackWhiteIpListRequestParams struct { // Anti-DDoS service type. Valid values: `bgpip-multip` (Anti-DDoS Pro) and `bgpip` (Anti-DDoS Advanced). Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results returned in one page Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // IP address, which is required when an Anti-DDoS Advanced instance is used. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name, which is required when an Anti-DDoS Advanced instance is used. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol, which is required when an Anti-DDoS Advanced instance is used. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Specifies a blocklist/allowlist IP. FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` // Specifies whether is an IP blocklist or IP allowlist. FilterType *string `json:"FilterType,omitnil,omitempty" name:"FilterType"` }
Predefined struct for user
type DescribeCcBlackWhiteIpListResponse ¶
type DescribeCcBlackWhiteIpListResponse struct { *tchttp.BaseResponse Response *DescribeCcBlackWhiteIpListResponseParams `json:"Response"` }
func NewDescribeCcBlackWhiteIpListResponse ¶
func NewDescribeCcBlackWhiteIpListResponse() (response *DescribeCcBlackWhiteIpListResponse)
func (*DescribeCcBlackWhiteIpListResponse) FromJsonString ¶
func (r *DescribeCcBlackWhiteIpListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCcBlackWhiteIpListResponse) ToJsonString ¶
func (r *DescribeCcBlackWhiteIpListResponse) ToJsonString() string
type DescribeCcBlackWhiteIpListResponseParams ¶
type DescribeCcBlackWhiteIpListResponseParams struct { // Number of policy lists Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // Information of the policy list CcBlackWhiteIpList []*CcBlackWhiteIpPolicy `json:"CcBlackWhiteIpList,omitnil,omitempty" name:"CcBlackWhiteIpList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCcGeoIPBlockConfigListRequest ¶
type DescribeCcGeoIPBlockConfigListRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. Valid values: `bgpip-multip` (Anti-DDoS Pro) and `bgpip` (Anti-DDoS Advanced). Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results returned in one page Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP address, which is required when an Anti-DDoS Advanced instance is used. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name, which is required when an Anti-DDoS Advanced instance is used. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol, which is required when an Anti-DDoS Advanced instance is used. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
func NewDescribeCcGeoIPBlockConfigListRequest ¶
func NewDescribeCcGeoIPBlockConfigListRequest() (request *DescribeCcGeoIPBlockConfigListRequest)
func (*DescribeCcGeoIPBlockConfigListRequest) FromJsonString ¶
func (r *DescribeCcGeoIPBlockConfigListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCcGeoIPBlockConfigListRequest) ToJsonString ¶
func (r *DescribeCcGeoIPBlockConfigListRequest) ToJsonString() string
type DescribeCcGeoIPBlockConfigListRequestParams ¶
type DescribeCcGeoIPBlockConfigListRequestParams struct { // Anti-DDoS service type. Valid values: `bgpip-multip` (Anti-DDoS Pro) and `bgpip` (Anti-DDoS Advanced). Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results returned in one page Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // IP address, which is required when an Anti-DDoS Advanced instance is used. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Domain name, which is required when an Anti-DDoS Advanced instance is used. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol, which is required when an Anti-DDoS Advanced instance is used. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
Predefined struct for user
type DescribeCcGeoIPBlockConfigListResponse ¶
type DescribeCcGeoIPBlockConfigListResponse struct { *tchttp.BaseResponse Response *DescribeCcGeoIPBlockConfigListResponseParams `json:"Response"` }
func NewDescribeCcGeoIPBlockConfigListResponse ¶
func NewDescribeCcGeoIPBlockConfigListResponse() (response *DescribeCcGeoIPBlockConfigListResponse)
func (*DescribeCcGeoIPBlockConfigListResponse) FromJsonString ¶
func (r *DescribeCcGeoIPBlockConfigListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCcGeoIPBlockConfigListResponse) ToJsonString ¶
func (r *DescribeCcGeoIPBlockConfigListResponse) ToJsonString() string
type DescribeCcGeoIPBlockConfigListResponseParams ¶
type DescribeCcGeoIPBlockConfigListResponseParams struct { // Number of policy lists Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // Information of the policy list CcGeoIpPolicyList []*CcGeoIpPolicyNew `json:"CcGeoIpPolicyList,omitnil,omitempty" name:"CcGeoIpPolicyList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSTrendRequest ¶
type DescribeDDoSTrendRequest struct { *tchttp.BaseRequest // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Instance IP Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day) Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Beginning of the time range for the query StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End of the time range for the query EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Metric. Valid values: `bps`: attack traffic bandwidth; `pps`: attack packet rate MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // Instance ID. Leave this field empty when `Business` is `basic`, as basic protection does not require an instance. Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
func NewDescribeDDoSTrendRequest ¶
func NewDescribeDDoSTrendRequest() (request *DescribeDDoSTrendRequest)
func (*DescribeDDoSTrendRequest) FromJsonString ¶
func (r *DescribeDDoSTrendRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSTrendRequest) ToJsonString ¶
func (r *DescribeDDoSTrendRequest) ToJsonString() string
type DescribeDDoSTrendRequestParams ¶
type DescribeDDoSTrendRequestParams struct { // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Instance IP Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day) Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Beginning of the time range for the query StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End of the time range for the query EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Metric. Valid values: `bps`: attack traffic bandwidth; `pps`: attack packet rate MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // Instance ID. Leave this field empty when `Business` is `basic`, as basic protection does not require an instance. Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
Predefined struct for user
type DescribeDDoSTrendResponse ¶
type DescribeDDoSTrendResponse struct { *tchttp.BaseResponse Response *DescribeDDoSTrendResponseParams `json:"Response"` }
func NewDescribeDDoSTrendResponse ¶
func NewDescribeDDoSTrendResponse() (response *DescribeDDoSTrendResponse)
func (*DescribeDDoSTrendResponse) FromJsonString ¶
func (r *DescribeDDoSTrendResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSTrendResponse) ToJsonString ¶
func (r *DescribeDDoSTrendResponse) ToJsonString() string
type DescribeDDoSTrendResponseParams ¶
type DescribeDDoSTrendResponseParams struct { // Number of values returned Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Instance IP Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day) Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Beginning of the time range for the query StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End of the time range for the query EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Value array. The unit for attack traffic bandwidth is Mbps, and that for the packet rate is pps. Data []*uint64 `json:"Data,omitnil,omitempty" name:"Data"` // Instance ID // Note: this field may return `null`, indicating that no valid values can be obtained. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Metric. Valid values: `bps`: attack traffic bandwidth; `pps`: attack packet rate MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDefaultAlarmThresholdRequest ¶
type DescribeDefaultAlarmThresholdRequest struct { *tchttp.BaseRequest // Product category. Valid values: // `bgp`: Anti-DDoS Pro // `bgpip`: Anti-DDoS Advanced // ] InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Alarm threshold type filter. Valid values: // `1`: alarm threshold for inbound traffic // `2`: alarm threshold for cleansing attack traffic // ] FilterAlarmType *int64 `json:"FilterAlarmType,omitnil,omitempty" name:"FilterAlarmType"` }
func NewDescribeDefaultAlarmThresholdRequest ¶
func NewDescribeDefaultAlarmThresholdRequest() (request *DescribeDefaultAlarmThresholdRequest)
func (*DescribeDefaultAlarmThresholdRequest) FromJsonString ¶
func (r *DescribeDefaultAlarmThresholdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDefaultAlarmThresholdRequest) ToJsonString ¶
func (r *DescribeDefaultAlarmThresholdRequest) ToJsonString() string
type DescribeDefaultAlarmThresholdRequestParams ¶
type DescribeDefaultAlarmThresholdRequestParams struct { // Product category. Valid values: // `bgp`: Anti-DDoS Pro // `bgpip`: Anti-DDoS Advanced // ] InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Alarm threshold type filter. Valid values: // `1`: alarm threshold for inbound traffic // `2`: alarm threshold for cleansing attack traffic // ] FilterAlarmType *int64 `json:"FilterAlarmType,omitnil,omitempty" name:"FilterAlarmType"` }
Predefined struct for user
type DescribeDefaultAlarmThresholdResponse ¶
type DescribeDefaultAlarmThresholdResponse struct { *tchttp.BaseResponse Response *DescribeDefaultAlarmThresholdResponseParams `json:"Response"` }
func NewDescribeDefaultAlarmThresholdResponse ¶
func NewDescribeDefaultAlarmThresholdResponse() (response *DescribeDefaultAlarmThresholdResponse)
func (*DescribeDefaultAlarmThresholdResponse) FromJsonString ¶
func (r *DescribeDefaultAlarmThresholdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDefaultAlarmThresholdResponse) ToJsonString ¶
func (r *DescribeDefaultAlarmThresholdResponse) ToJsonString() string
type DescribeDefaultAlarmThresholdResponseParams ¶
type DescribeDefaultAlarmThresholdResponseParams struct { // Default alarm threshold configuration DefaultAlarmConfigList []*DefaultAlarmThreshold `json:"DefaultAlarmConfigList,omitnil,omitempty" name:"DefaultAlarmConfigList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeIpBlockListRequest ¶
type DescribeIpBlockListRequest struct {
*tchttp.BaseRequest
}
func NewDescribeIpBlockListRequest ¶
func NewDescribeIpBlockListRequest() (request *DescribeIpBlockListRequest)
func (*DescribeIpBlockListRequest) FromJsonString ¶
func (r *DescribeIpBlockListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIpBlockListRequest) ToJsonString ¶
func (r *DescribeIpBlockListRequest) ToJsonString() string
type DescribeIpBlockListRequestParams ¶
type DescribeIpBlockListRequestParams struct { }
Predefined struct for user
type DescribeIpBlockListResponse ¶
type DescribeIpBlockListResponse struct { *tchttp.BaseResponse Response *DescribeIpBlockListResponseParams `json:"Response"` }
func NewDescribeIpBlockListResponse ¶
func NewDescribeIpBlockListResponse() (response *DescribeIpBlockListResponse)
func (*DescribeIpBlockListResponse) FromJsonString ¶
func (r *DescribeIpBlockListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIpBlockListResponse) ToJsonString ¶
func (r *DescribeIpBlockListResponse) ToJsonString() string
type DescribeIpBlockListResponseParams ¶
type DescribeIpBlockListResponseParams struct { // IP block list List []*IpBlockData `json:"List,omitnil,omitempty" name:"List"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeL7RulesBySSLCertIdRequest ¶
type DescribeL7RulesBySSLCertIdRequest struct { *tchttp.BaseRequest // Domain name status. Valid values: `bindable`, `binded`, `opened`, `closed`, `all` (all states). Status *string `json:"Status,omitnil,omitempty" name:"Status"` // List of certificate IDs CertIds []*string `json:"CertIds,omitnil,omitempty" name:"CertIds"` }
func NewDescribeL7RulesBySSLCertIdRequest ¶
func NewDescribeL7RulesBySSLCertIdRequest() (request *DescribeL7RulesBySSLCertIdRequest)
func (*DescribeL7RulesBySSLCertIdRequest) FromJsonString ¶
func (r *DescribeL7RulesBySSLCertIdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeL7RulesBySSLCertIdRequest) ToJsonString ¶
func (r *DescribeL7RulesBySSLCertIdRequest) ToJsonString() string
type DescribeL7RulesBySSLCertIdRequestParams ¶
type DescribeL7RulesBySSLCertIdRequestParams struct { // Domain name status. Valid values: `bindable`, `binded`, `opened`, `closed`, `all` (all states). Status *string `json:"Status,omitnil,omitempty" name:"Status"` // List of certificate IDs CertIds []*string `json:"CertIds,omitnil,omitempty" name:"CertIds"` }
Predefined struct for user
type DescribeL7RulesBySSLCertIdResponse ¶
type DescribeL7RulesBySSLCertIdResponse struct { *tchttp.BaseResponse Response *DescribeL7RulesBySSLCertIdResponseParams `json:"Response"` }
func NewDescribeL7RulesBySSLCertIdResponse ¶
func NewDescribeL7RulesBySSLCertIdResponse() (response *DescribeL7RulesBySSLCertIdResponse)
func (*DescribeL7RulesBySSLCertIdResponse) FromJsonString ¶
func (r *DescribeL7RulesBySSLCertIdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeL7RulesBySSLCertIdResponse) ToJsonString ¶
func (r *DescribeL7RulesBySSLCertIdResponse) ToJsonString() string
type DescribeL7RulesBySSLCertIdResponseParams ¶
type DescribeL7RulesBySSLCertIdResponseParams struct { // Certificate rule set CertSet []*CertIdInsL7Rules `json:"CertSet,omitnil,omitempty" name:"CertSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListBGPIPInstancesRequest ¶
type DescribeListBGPIPInstancesRequest struct { *tchttp.BaseRequest // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` // Anti-DDoS instance ID filter. For example, you can filter the Anti-DDoS Advanced instance ID by `bgpip-00000001`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // Anti-DDoS Advanced line filter. Valid values: // `1`: BGP line // `2`: China Telecom // `3`: China Unicom // `4`: China Mobile // `99`: third-party line // ] FilterLine *uint64 `json:"FilterLine,omitnil,omitempty" name:"FilterLine"` // Region filter. For example, `ap-guangzhou`. FilterRegion *string `json:"FilterRegion,omitnil,omitempty" name:"FilterRegion"` // Name filter FilterName *string `json:"FilterName,omitnil,omitempty" name:"FilterName"` // Whether to obtain only Anti-DDoS EIP instances. `1`: Yes; `0`: No. FilterEipType *int64 `json:"FilterEipType,omitnil,omitempty" name:"FilterEipType"` // Anti-DDoS Advanced instance binding status filter. Valid values: `BINDING`, `BIND`, `UNBINDING`, `UNBIND`. This filter is only valid when `FilterEipType = 1`. FilterEipEipAddressStatus []*string `json:"FilterEipEipAddressStatus,omitnil,omitempty" name:"FilterEipEipAddressStatus"` // Whether to obtain only Anti-DDoS instances with Sec-MCA enabled. Valid values: `1` (only obtain Anti-DDoS instances with Sec-MCA enabled) and `0` (obtain other Anti-DDoS instances). FilterDamDDoSStatus *int64 `json:"FilterDamDDoSStatus,omitnil,omitempty" name:"FilterDamDDoSStatus"` // Filters by the status of bound resources. Values: `idle` (normal), `attacking` (being attacked), `blocking` (being blocked), `trial` (in trial) FilterStatus *string `json:"FilterStatus,omitnil,omitempty" name:"FilterStatus"` // Filters by the instance CNAME FilterCname *string `json:"FilterCname,omitnil,omitempty" name:"FilterCname"` // Filters by the instance ID FilterInstanceIdList []*string `json:"FilterInstanceIdList,omitnil,omitempty" name:"FilterInstanceIdList"` // Searches by tag FilterTag *TagFilter `json:"FilterTag,omitnil,omitempty" name:"FilterTag"` // Filters by package type. FilterPackType []*string `json:"FilterPackType,omitnil,omitempty" name:"FilterPackType"` // Filters out Convoy instances FilterConvoy *uint64 `json:"FilterConvoy,omitnil,omitempty" name:"FilterConvoy"` }
func NewDescribeListBGPIPInstancesRequest ¶
func NewDescribeListBGPIPInstancesRequest() (request *DescribeListBGPIPInstancesRequest)
func (*DescribeListBGPIPInstancesRequest) FromJsonString ¶
func (r *DescribeListBGPIPInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListBGPIPInstancesRequest) ToJsonString ¶
func (r *DescribeListBGPIPInstancesRequest) ToJsonString() string
type DescribeListBGPIPInstancesRequestParams ¶
type DescribeListBGPIPInstancesRequestParams struct { // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` // Anti-DDoS instance ID filter. For example, you can filter the Anti-DDoS Advanced instance ID by `bgpip-00000001`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // Anti-DDoS Advanced line filter. Valid values: // `1`: BGP line // `2`: China Telecom // `3`: China Unicom // `4`: China Mobile // `99`: third-party line // ] FilterLine *uint64 `json:"FilterLine,omitnil,omitempty" name:"FilterLine"` // Region filter. For example, `ap-guangzhou`. FilterRegion *string `json:"FilterRegion,omitnil,omitempty" name:"FilterRegion"` // Name filter FilterName *string `json:"FilterName,omitnil,omitempty" name:"FilterName"` // Whether to obtain only Anti-DDoS EIP instances. `1`: Yes; `0`: No. FilterEipType *int64 `json:"FilterEipType,omitnil,omitempty" name:"FilterEipType"` // Anti-DDoS Advanced instance binding status filter. Valid values: `BINDING`, `BIND`, `UNBINDING`, `UNBIND`. This filter is only valid when `FilterEipType = 1`. FilterEipEipAddressStatus []*string `json:"FilterEipEipAddressStatus,omitnil,omitempty" name:"FilterEipEipAddressStatus"` // Whether to obtain only Anti-DDoS instances with Sec-MCA enabled. Valid values: `1` (only obtain Anti-DDoS instances with Sec-MCA enabled) and `0` (obtain other Anti-DDoS instances). FilterDamDDoSStatus *int64 `json:"FilterDamDDoSStatus,omitnil,omitempty" name:"FilterDamDDoSStatus"` // Filters by the status of bound resources. Values: `idle` (normal), `attacking` (being attacked), `blocking` (being blocked), `trial` (in trial) FilterStatus *string `json:"FilterStatus,omitnil,omitempty" name:"FilterStatus"` // Filters by the instance CNAME FilterCname *string `json:"FilterCname,omitnil,omitempty" name:"FilterCname"` // Filters by the instance ID FilterInstanceIdList []*string `json:"FilterInstanceIdList,omitnil,omitempty" name:"FilterInstanceIdList"` // Searches by tag FilterTag *TagFilter `json:"FilterTag,omitnil,omitempty" name:"FilterTag"` // Filters by package type. FilterPackType []*string `json:"FilterPackType,omitnil,omitempty" name:"FilterPackType"` // Filters out Convoy instances FilterConvoy *uint64 `json:"FilterConvoy,omitnil,omitempty" name:"FilterConvoy"` }
Predefined struct for user
type DescribeListBGPIPInstancesResponse ¶
type DescribeListBGPIPInstancesResponse struct { *tchttp.BaseResponse Response *DescribeListBGPIPInstancesResponseParams `json:"Response"` }
func NewDescribeListBGPIPInstancesResponse ¶
func NewDescribeListBGPIPInstancesResponse() (response *DescribeListBGPIPInstancesResponse)
func (*DescribeListBGPIPInstancesResponse) FromJsonString ¶
func (r *DescribeListBGPIPInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListBGPIPInstancesResponse) ToJsonString ¶
func (r *DescribeListBGPIPInstancesResponse) ToJsonString() string
type DescribeListBGPIPInstancesResponseParams ¶
type DescribeListBGPIPInstancesResponseParams struct { // Total number of lists Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // List of Anti-DDoS Advanced instances InstanceList []*BGPIPInstance `json:"InstanceList,omitnil,omitempty" name:"InstanceList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListBGPInstancesRequest ¶
type DescribeListBGPInstancesRequest struct { *tchttp.BaseRequest // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filters by IP. FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` // Anti-DDoS instance ID filter. For example, `bgp-00000001`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // Filters by region. For example, `ap-guangzhou`. FilterRegion *string `json:"FilterRegion,omitnil,omitempty" name:"FilterRegion"` // Filters by name. FilterName *string `json:"FilterName,omitnil,omitempty" name:"FilterName"` // Line filter. Valid values: 1: BGP; 2: Non-BGP. FilterLine *uint64 `json:"FilterLine,omitnil,omitempty" name:"FilterLine"` // Filters by instance status. `idle`: Running; `attacking`: Being attacked; `blocking`: Being blocked. FilterStatus *string `json:"FilterStatus,omitnil,omitempty" name:"FilterStatus"` // Filters by binding status. `bounding`: The instance is bound; `failed`: The binding failed. FilterBoundStatus *string `json:"FilterBoundStatus,omitnil,omitempty" name:"FilterBoundStatus"` // Array of instance IDs FilterInstanceIdList []*string `json:"FilterInstanceIdList,omitnil,omitempty" name:"FilterInstanceIdList"` // Enterprise edition. Values: `1` (the Convoy package included), `2` (the Convoy package not included) FilterEnterpriseFlag *uint64 `json:"FilterEnterpriseFlag,omitnil,omitempty" name:"FilterEnterpriseFlag"` // Whether it’s a Lighthouse edition FilterLightFlag *uint64 `json:"FilterLightFlag,omitnil,omitempty" name:"FilterLightFlag"` // Whether it’s a Channel edition FilterChannelFlag *uint64 `json:"FilterChannelFlag,omitnil,omitempty" name:"FilterChannelFlag"` // Filters by tag FilterTag *TagFilter `json:"FilterTag,omitnil,omitempty" name:"FilterTag"` // Filters out trial instances. Values: `1` (emergency protection instances), `2` (PLG instances) FilterTrialFlag *uint64 `json:"FilterTrialFlag,omitnil,omitempty" name:"FilterTrialFlag"` // Filters out Convoy instances FilterConvoy *uint64 `json:"FilterConvoy,omitnil,omitempty" name:"FilterConvoy"` // Whether to exclude the advanced information (such as `InstanceList[0].Usage`). Values: `true` (exclude), `false` (do not exclude). The default value is `false`. ExcludeAdvancedInfo *bool `json:"ExcludeAdvancedInfo,omitnil,omitempty" name:"ExcludeAdvancedInfo"` }
func NewDescribeListBGPInstancesRequest ¶
func NewDescribeListBGPInstancesRequest() (request *DescribeListBGPInstancesRequest)
func (*DescribeListBGPInstancesRequest) FromJsonString ¶
func (r *DescribeListBGPInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListBGPInstancesRequest) ToJsonString ¶
func (r *DescribeListBGPInstancesRequest) ToJsonString() string
type DescribeListBGPInstancesRequestParams ¶
type DescribeListBGPInstancesRequestParams struct { // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filters by IP. FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` // Anti-DDoS instance ID filter. For example, `bgp-00000001`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // Filters by region. For example, `ap-guangzhou`. FilterRegion *string `json:"FilterRegion,omitnil,omitempty" name:"FilterRegion"` // Filters by name. FilterName *string `json:"FilterName,omitnil,omitempty" name:"FilterName"` // Line filter. Valid values: 1: BGP; 2: Non-BGP. FilterLine *uint64 `json:"FilterLine,omitnil,omitempty" name:"FilterLine"` // Filters by instance status. `idle`: Running; `attacking`: Being attacked; `blocking`: Being blocked. FilterStatus *string `json:"FilterStatus,omitnil,omitempty" name:"FilterStatus"` // Filters by binding status. `bounding`: The instance is bound; `failed`: The binding failed. FilterBoundStatus *string `json:"FilterBoundStatus,omitnil,omitempty" name:"FilterBoundStatus"` // Array of instance IDs FilterInstanceIdList []*string `json:"FilterInstanceIdList,omitnil,omitempty" name:"FilterInstanceIdList"` // Enterprise edition. Values: `1` (the Convoy package included), `2` (the Convoy package not included) FilterEnterpriseFlag *uint64 `json:"FilterEnterpriseFlag,omitnil,omitempty" name:"FilterEnterpriseFlag"` // Whether it’s a Lighthouse edition FilterLightFlag *uint64 `json:"FilterLightFlag,omitnil,omitempty" name:"FilterLightFlag"` // Whether it’s a Channel edition FilterChannelFlag *uint64 `json:"FilterChannelFlag,omitnil,omitempty" name:"FilterChannelFlag"` // Filters by tag FilterTag *TagFilter `json:"FilterTag,omitnil,omitempty" name:"FilterTag"` // Filters out trial instances. Values: `1` (emergency protection instances), `2` (PLG instances) FilterTrialFlag *uint64 `json:"FilterTrialFlag,omitnil,omitempty" name:"FilterTrialFlag"` // Filters out Convoy instances FilterConvoy *uint64 `json:"FilterConvoy,omitnil,omitempty" name:"FilterConvoy"` // Whether to exclude the advanced information (such as `InstanceList[0].Usage`). Values: `true` (exclude), `false` (do not exclude). The default value is `false`. ExcludeAdvancedInfo *bool `json:"ExcludeAdvancedInfo,omitnil,omitempty" name:"ExcludeAdvancedInfo"` }
Predefined struct for user
type DescribeListBGPInstancesResponse ¶
type DescribeListBGPInstancesResponse struct { *tchttp.BaseResponse Response *DescribeListBGPInstancesResponseParams `json:"Response"` }
func NewDescribeListBGPInstancesResponse ¶
func NewDescribeListBGPInstancesResponse() (response *DescribeListBGPInstancesResponse)
func (*DescribeListBGPInstancesResponse) FromJsonString ¶
func (r *DescribeListBGPInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListBGPInstancesResponse) ToJsonString ¶
func (r *DescribeListBGPInstancesResponse) ToJsonString() string
type DescribeListBGPInstancesResponseParams ¶
type DescribeListBGPInstancesResponseParams struct { // Total number of Anti-DDoS Pro instances Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // List of Anti-DDoS Pro instances InstanceList []*BGPInstance `json:"InstanceList,omitnil,omitempty" name:"InstanceList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListBlackWhiteIpListRequest ¶
type DescribeListBlackWhiteIpListRequest struct { *tchttp.BaseRequest // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` }
func NewDescribeListBlackWhiteIpListRequest ¶
func NewDescribeListBlackWhiteIpListRequest() (request *DescribeListBlackWhiteIpListRequest)
func (*DescribeListBlackWhiteIpListRequest) FromJsonString ¶
func (r *DescribeListBlackWhiteIpListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListBlackWhiteIpListRequest) ToJsonString ¶
func (r *DescribeListBlackWhiteIpListRequest) ToJsonString() string
type DescribeListBlackWhiteIpListRequestParams ¶
type DescribeListBlackWhiteIpListRequestParams struct { // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` }
Predefined struct for user
type DescribeListBlackWhiteIpListResponse ¶
type DescribeListBlackWhiteIpListResponse struct { *tchttp.BaseResponse Response *DescribeListBlackWhiteIpListResponseParams `json:"Response"` }
func NewDescribeListBlackWhiteIpListResponse ¶
func NewDescribeListBlackWhiteIpListResponse() (response *DescribeListBlackWhiteIpListResponse)
func (*DescribeListBlackWhiteIpListResponse) FromJsonString ¶
func (r *DescribeListBlackWhiteIpListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListBlackWhiteIpListResponse) ToJsonString ¶
func (r *DescribeListBlackWhiteIpListResponse) ToJsonString() string
type DescribeListBlackWhiteIpListResponseParams ¶
type DescribeListBlackWhiteIpListResponseParams struct { // Total number of lists Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // IP blocklist/allowlist IpList []*BlackWhiteIpRelation `json:"IpList,omitnil,omitempty" name:"IpList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListDDoSAIRequest ¶
type DescribeListDDoSAIRequest struct { *tchttp.BaseRequest // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` }
func NewDescribeListDDoSAIRequest ¶
func NewDescribeListDDoSAIRequest() (request *DescribeListDDoSAIRequest)
func (*DescribeListDDoSAIRequest) FromJsonString ¶
func (r *DescribeListDDoSAIRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListDDoSAIRequest) ToJsonString ¶
func (r *DescribeListDDoSAIRequest) ToJsonString() string
type DescribeListDDoSAIRequestParams ¶
type DescribeListDDoSAIRequestParams struct { // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` }
Predefined struct for user
type DescribeListDDoSAIResponse ¶
type DescribeListDDoSAIResponse struct { *tchttp.BaseResponse Response *DescribeListDDoSAIResponseParams `json:"Response"` }
func NewDescribeListDDoSAIResponse ¶
func NewDescribeListDDoSAIResponse() (response *DescribeListDDoSAIResponse)
func (*DescribeListDDoSAIResponse) FromJsonString ¶
func (r *DescribeListDDoSAIResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListDDoSAIResponse) ToJsonString ¶
func (r *DescribeListDDoSAIResponse) ToJsonString() string
type DescribeListDDoSAIResponseParams ¶
type DescribeListDDoSAIResponseParams struct { // Total number of lists Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // List of AI protection switches ConfigList []*DDoSAIRelation `json:"ConfigList,omitnil,omitempty" name:"ConfigList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListDDoSGeoIPBlockConfigRequest ¶
type DescribeListDDoSGeoIPBlockConfigRequest struct { *tchttp.BaseRequest // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` }
func NewDescribeListDDoSGeoIPBlockConfigRequest ¶
func NewDescribeListDDoSGeoIPBlockConfigRequest() (request *DescribeListDDoSGeoIPBlockConfigRequest)
func (*DescribeListDDoSGeoIPBlockConfigRequest) FromJsonString ¶
func (r *DescribeListDDoSGeoIPBlockConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListDDoSGeoIPBlockConfigRequest) ToJsonString ¶
func (r *DescribeListDDoSGeoIPBlockConfigRequest) ToJsonString() string
type DescribeListDDoSGeoIPBlockConfigRequestParams ¶
type DescribeListDDoSGeoIPBlockConfigRequestParams struct { // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` }
Predefined struct for user
type DescribeListDDoSGeoIPBlockConfigResponse ¶
type DescribeListDDoSGeoIPBlockConfigResponse struct { *tchttp.BaseResponse Response *DescribeListDDoSGeoIPBlockConfigResponseParams `json:"Response"` }
func NewDescribeListDDoSGeoIPBlockConfigResponse ¶
func NewDescribeListDDoSGeoIPBlockConfigResponse() (response *DescribeListDDoSGeoIPBlockConfigResponse)
func (*DescribeListDDoSGeoIPBlockConfigResponse) FromJsonString ¶
func (r *DescribeListDDoSGeoIPBlockConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListDDoSGeoIPBlockConfigResponse) ToJsonString ¶
func (r *DescribeListDDoSGeoIPBlockConfigResponse) ToJsonString() string
type DescribeListDDoSGeoIPBlockConfigResponseParams ¶
type DescribeListDDoSGeoIPBlockConfigResponseParams struct { // Total number of lists Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // List of Anti-DDoS region blocking configurations ConfigList []*DDoSGeoIPBlockConfigRelation `json:"ConfigList,omitnil,omitempty" name:"ConfigList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListDDoSSpeedLimitConfigRequest ¶
type DescribeListDDoSSpeedLimitConfigRequest struct { *tchttp.BaseRequest // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` }
func NewDescribeListDDoSSpeedLimitConfigRequest ¶
func NewDescribeListDDoSSpeedLimitConfigRequest() (request *DescribeListDDoSSpeedLimitConfigRequest)
func (*DescribeListDDoSSpeedLimitConfigRequest) FromJsonString ¶
func (r *DescribeListDDoSSpeedLimitConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListDDoSSpeedLimitConfigRequest) ToJsonString ¶
func (r *DescribeListDDoSSpeedLimitConfigRequest) ToJsonString() string
type DescribeListDDoSSpeedLimitConfigRequestParams ¶
type DescribeListDDoSSpeedLimitConfigRequestParams struct { // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` }
Predefined struct for user
type DescribeListDDoSSpeedLimitConfigResponse ¶
type DescribeListDDoSSpeedLimitConfigResponse struct { *tchttp.BaseResponse Response *DescribeListDDoSSpeedLimitConfigResponseParams `json:"Response"` }
func NewDescribeListDDoSSpeedLimitConfigResponse ¶
func NewDescribeListDDoSSpeedLimitConfigResponse() (response *DescribeListDDoSSpeedLimitConfigResponse)
func (*DescribeListDDoSSpeedLimitConfigResponse) FromJsonString ¶
func (r *DescribeListDDoSSpeedLimitConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListDDoSSpeedLimitConfigResponse) ToJsonString ¶
func (r *DescribeListDDoSSpeedLimitConfigResponse) ToJsonString() string
type DescribeListDDoSSpeedLimitConfigResponseParams ¶
type DescribeListDDoSSpeedLimitConfigResponseParams struct { // Total number of lists Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // List of access rate limit configurations ConfigList []*DDoSSpeedLimitConfigRelation `json:"ConfigList,omitnil,omitempty" name:"ConfigList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListIPAlarmConfigRequest ¶
type DescribeListIPAlarmConfigRequest struct { *tchttp.BaseRequest // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // Alarm threshold type filter. Valid values: // `1`: alarm threshold for inbound traffic // `2`: alarm threshold for cleansing attack traffic // ] FilterAlarmType *int64 `json:"FilterAlarmType,omitnil,omitempty" name:"FilterAlarmType"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` // CNAME of the Anti-DDoS Advanced instance FilterCname *string `json:"FilterCname,omitnil,omitempty" name:"FilterCname"` }
func NewDescribeListIPAlarmConfigRequest ¶
func NewDescribeListIPAlarmConfigRequest() (request *DescribeListIPAlarmConfigRequest)
func (*DescribeListIPAlarmConfigRequest) FromJsonString ¶
func (r *DescribeListIPAlarmConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListIPAlarmConfigRequest) ToJsonString ¶
func (r *DescribeListIPAlarmConfigRequest) ToJsonString() string
type DescribeListIPAlarmConfigRequestParams ¶
type DescribeListIPAlarmConfigRequestParams struct { // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // Alarm threshold type filter. Valid values: // `1`: alarm threshold for inbound traffic // `2`: alarm threshold for cleansing attack traffic // ] FilterAlarmType *int64 `json:"FilterAlarmType,omitnil,omitempty" name:"FilterAlarmType"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` // CNAME of the Anti-DDoS Advanced instance FilterCname *string `json:"FilterCname,omitnil,omitempty" name:"FilterCname"` }
Predefined struct for user
type DescribeListIPAlarmConfigResponse ¶
type DescribeListIPAlarmConfigResponse struct { *tchttp.BaseResponse Response *DescribeListIPAlarmConfigResponseParams `json:"Response"` }
func NewDescribeListIPAlarmConfigResponse ¶
func NewDescribeListIPAlarmConfigResponse() (response *DescribeListIPAlarmConfigResponse)
func (*DescribeListIPAlarmConfigResponse) FromJsonString ¶
func (r *DescribeListIPAlarmConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListIPAlarmConfigResponse) ToJsonString ¶
func (r *DescribeListIPAlarmConfigResponse) ToJsonString() string
type DescribeListIPAlarmConfigResponseParams ¶
type DescribeListIPAlarmConfigResponseParams struct { // Total number of lists Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // List of IP alarm threshold configurations ConfigList []*IPAlarmThresholdRelation `json:"ConfigList,omitnil,omitempty" name:"ConfigList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListListenerRequest ¶
type DescribeListListenerRequest struct {
*tchttp.BaseRequest
}
func NewDescribeListListenerRequest ¶
func NewDescribeListListenerRequest() (request *DescribeListListenerRequest)
func (*DescribeListListenerRequest) FromJsonString ¶
func (r *DescribeListListenerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListListenerRequest) ToJsonString ¶
func (r *DescribeListListenerRequest) ToJsonString() string
type DescribeListListenerRequestParams ¶
type DescribeListListenerRequestParams struct { }
Predefined struct for user
type DescribeListListenerResponse ¶
type DescribeListListenerResponse struct { *tchttp.BaseResponse Response *DescribeListListenerResponseParams `json:"Response"` }
func NewDescribeListListenerResponse ¶
func NewDescribeListListenerResponse() (response *DescribeListListenerResponse)
func (*DescribeListListenerResponse) FromJsonString ¶
func (r *DescribeListListenerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListListenerResponse) ToJsonString ¶
func (r *DescribeListListenerResponse) ToJsonString() string
type DescribeListListenerResponseParams ¶
type DescribeListListenerResponseParams struct { // List of layer-4 forwarding listeners Layer4Listeners []*Layer4Rule `json:"Layer4Listeners,omitnil,omitempty" name:"Layer4Listeners"` // List of layer-7 forwarding listeners Layer7Listeners []*Layer7Rule `json:"Layer7Listeners,omitnil,omitempty" name:"Layer7Listeners"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListPacketFilterConfigRequest ¶
type DescribeListPacketFilterConfigRequest struct { *tchttp.BaseRequest // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` }
func NewDescribeListPacketFilterConfigRequest ¶
func NewDescribeListPacketFilterConfigRequest() (request *DescribeListPacketFilterConfigRequest)
func (*DescribeListPacketFilterConfigRequest) FromJsonString ¶
func (r *DescribeListPacketFilterConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListPacketFilterConfigRequest) ToJsonString ¶
func (r *DescribeListPacketFilterConfigRequest) ToJsonString() string
type DescribeListPacketFilterConfigRequestParams ¶
type DescribeListPacketFilterConfigRequestParams struct { // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when Limit = 0. The maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` }
Predefined struct for user
type DescribeListPacketFilterConfigResponse ¶
type DescribeListPacketFilterConfigResponse struct { *tchttp.BaseResponse Response *DescribeListPacketFilterConfigResponseParams `json:"Response"` }
func NewDescribeListPacketFilterConfigResponse ¶
func NewDescribeListPacketFilterConfigResponse() (response *DescribeListPacketFilterConfigResponse)
func (*DescribeListPacketFilterConfigResponse) FromJsonString ¶
func (r *DescribeListPacketFilterConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListPacketFilterConfigResponse) ToJsonString ¶
func (r *DescribeListPacketFilterConfigResponse) ToJsonString() string
type DescribeListPacketFilterConfigResponseParams ¶
type DescribeListPacketFilterConfigResponseParams struct { // Total number of lists Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // Feature filtering configuration ConfigList []*PacketFilterRelation `json:"ConfigList,omitnil,omitempty" name:"ConfigList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListProtectThresholdConfigRequest ¶
type DescribeListProtectThresholdConfigRequest struct { *tchttp.BaseRequest // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` // Domain name filter for querying CC protection thresholds of domain names and protocols FilterDomain *string `json:"FilterDomain,omitnil,omitempty" name:"FilterDomain"` // Protocol filter for querying CC protection thresholds of domain names and protocols FilterProtocol *string `json:"FilterProtocol,omitnil,omitempty" name:"FilterProtocol"` }
func NewDescribeListProtectThresholdConfigRequest ¶
func NewDescribeListProtectThresholdConfigRequest() (request *DescribeListProtectThresholdConfigRequest)
func (*DescribeListProtectThresholdConfigRequest) FromJsonString ¶
func (r *DescribeListProtectThresholdConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListProtectThresholdConfigRequest) ToJsonString ¶
func (r *DescribeListProtectThresholdConfigRequest) ToJsonString() string
type DescribeListProtectThresholdConfigRequestParams ¶
type DescribeListProtectThresholdConfigRequestParams struct { // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` // Domain name filter for querying CC protection thresholds of domain names and protocols FilterDomain *string `json:"FilterDomain,omitnil,omitempty" name:"FilterDomain"` // Protocol filter for querying CC protection thresholds of domain names and protocols FilterProtocol *string `json:"FilterProtocol,omitnil,omitempty" name:"FilterProtocol"` }
Predefined struct for user
type DescribeListProtectThresholdConfigResponse ¶
type DescribeListProtectThresholdConfigResponse struct { *tchttp.BaseResponse Response *DescribeListProtectThresholdConfigResponseParams `json:"Response"` }
func NewDescribeListProtectThresholdConfigResponse ¶
func NewDescribeListProtectThresholdConfigResponse() (response *DescribeListProtectThresholdConfigResponse)
func (*DescribeListProtectThresholdConfigResponse) FromJsonString ¶
func (r *DescribeListProtectThresholdConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListProtectThresholdConfigResponse) ToJsonString ¶
func (r *DescribeListProtectThresholdConfigResponse) ToJsonString() string
type DescribeListProtectThresholdConfigResponseParams ¶
type DescribeListProtectThresholdConfigResponseParams struct { // Total number of lists Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // List of protection threshold configurations ConfigList []*ProtectThresholdRelation `json:"ConfigList,omitnil,omitempty" name:"ConfigList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListProtocolBlockConfigRequest ¶
type DescribeListProtocolBlockConfigRequest struct { *tchttp.BaseRequest // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` }
func NewDescribeListProtocolBlockConfigRequest ¶
func NewDescribeListProtocolBlockConfigRequest() (request *DescribeListProtocolBlockConfigRequest)
func (*DescribeListProtocolBlockConfigRequest) FromJsonString ¶
func (r *DescribeListProtocolBlockConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListProtocolBlockConfigRequest) ToJsonString ¶
func (r *DescribeListProtocolBlockConfigRequest) ToJsonString() string
type DescribeListProtocolBlockConfigRequestParams ¶
type DescribeListProtocolBlockConfigRequestParams struct { // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` }
Predefined struct for user
type DescribeListProtocolBlockConfigResponse ¶
type DescribeListProtocolBlockConfigResponse struct { *tchttp.BaseResponse Response *DescribeListProtocolBlockConfigResponseParams `json:"Response"` }
func NewDescribeListProtocolBlockConfigResponse ¶
func NewDescribeListProtocolBlockConfigResponse() (response *DescribeListProtocolBlockConfigResponse)
func (*DescribeListProtocolBlockConfigResponse) FromJsonString ¶
func (r *DescribeListProtocolBlockConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListProtocolBlockConfigResponse) ToJsonString ¶
func (r *DescribeListProtocolBlockConfigResponse) ToJsonString() string
type DescribeListProtocolBlockConfigResponseParams ¶
type DescribeListProtocolBlockConfigResponseParams struct { // Total number of lists Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // Protocol blocking configuration ConfigList []*ProtocolBlockRelation `json:"ConfigList,omitnil,omitempty" name:"ConfigList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListSchedulingDomainRequest ¶
type DescribeListSchedulingDomainRequest struct { *tchttp.BaseRequest // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Scheduling domain name filter FilterDomain *string `json:"FilterDomain,omitnil,omitempty" name:"FilterDomain"` }
func NewDescribeListSchedulingDomainRequest ¶
func NewDescribeListSchedulingDomainRequest() (request *DescribeListSchedulingDomainRequest)
func (*DescribeListSchedulingDomainRequest) FromJsonString ¶
func (r *DescribeListSchedulingDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListSchedulingDomainRequest) ToJsonString ¶
func (r *DescribeListSchedulingDomainRequest) ToJsonString() string
type DescribeListSchedulingDomainRequestParams ¶
type DescribeListSchedulingDomainRequestParams struct { // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Scheduling domain name filter FilterDomain *string `json:"FilterDomain,omitnil,omitempty" name:"FilterDomain"` }
Predefined struct for user
type DescribeListSchedulingDomainResponse ¶
type DescribeListSchedulingDomainResponse struct { *tchttp.BaseResponse Response *DescribeListSchedulingDomainResponseParams `json:"Response"` }
func NewDescribeListSchedulingDomainResponse ¶
func NewDescribeListSchedulingDomainResponse() (response *DescribeListSchedulingDomainResponse)
func (*DescribeListSchedulingDomainResponse) FromJsonString ¶
func (r *DescribeListSchedulingDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListSchedulingDomainResponse) ToJsonString ¶
func (r *DescribeListSchedulingDomainResponse) ToJsonString() string
type DescribeListSchedulingDomainResponseParams ¶
type DescribeListSchedulingDomainResponseParams struct { // Total number of lists Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // List of scheduling domain names DomainList []*SchedulingDomainInfo `json:"DomainList,omitnil,omitempty" name:"DomainList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListWaterPrintConfigRequest ¶
type DescribeListWaterPrintConfigRequest struct { *tchttp.BaseRequest // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` }
func NewDescribeListWaterPrintConfigRequest ¶
func NewDescribeListWaterPrintConfigRequest() (request *DescribeListWaterPrintConfigRequest)
func (*DescribeListWaterPrintConfigRequest) FromJsonString ¶
func (r *DescribeListWaterPrintConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListWaterPrintConfigRequest) ToJsonString ¶
func (r *DescribeListWaterPrintConfigRequest) ToJsonString() string
type DescribeListWaterPrintConfigRequestParams ¶
type DescribeListWaterPrintConfigRequestParams struct { // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`. FilterInstanceId *string `json:"FilterInstanceId,omitnil,omitempty" name:"FilterInstanceId"` // IP filter FilterIp *string `json:"FilterIp,omitnil,omitempty" name:"FilterIp"` }
Predefined struct for user
type DescribeListWaterPrintConfigResponse ¶
type DescribeListWaterPrintConfigResponse struct { *tchttp.BaseResponse Response *DescribeListWaterPrintConfigResponseParams `json:"Response"` }
func NewDescribeListWaterPrintConfigResponse ¶
func NewDescribeListWaterPrintConfigResponse() (response *DescribeListWaterPrintConfigResponse)
func (*DescribeListWaterPrintConfigResponse) FromJsonString ¶
func (r *DescribeListWaterPrintConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListWaterPrintConfigResponse) ToJsonString ¶
func (r *DescribeListWaterPrintConfigResponse) ToJsonString() string
type DescribeListWaterPrintConfigResponseParams ¶
type DescribeListWaterPrintConfigResponseParams struct { // Total number of lists Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // List of watermark configurations ConfigList []*WaterPrintRelation `json:"ConfigList,omitnil,omitempty" name:"ConfigList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNewL7RulesErrHealthRequest ¶
type DescribeNewL7RulesErrHealthRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil,omitempty" name:"Business"` // List of rule IDs RuleIdList []*string `json:"RuleIdList,omitnil,omitempty" name:"RuleIdList"` }
func NewDescribeNewL7RulesErrHealthRequest ¶
func NewDescribeNewL7RulesErrHealthRequest() (request *DescribeNewL7RulesErrHealthRequest)
func (*DescribeNewL7RulesErrHealthRequest) FromJsonString ¶
func (r *DescribeNewL7RulesErrHealthRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNewL7RulesErrHealthRequest) ToJsonString ¶
func (r *DescribeNewL7RulesErrHealthRequest) ToJsonString() string
type DescribeNewL7RulesErrHealthRequestParams ¶
type DescribeNewL7RulesErrHealthRequestParams struct { // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil,omitempty" name:"Business"` // List of rule IDs RuleIdList []*string `json:"RuleIdList,omitnil,omitempty" name:"RuleIdList"` }
Predefined struct for user
type DescribeNewL7RulesErrHealthResponse ¶
type DescribeNewL7RulesErrHealthResponse struct { *tchttp.BaseResponse Response *DescribeNewL7RulesErrHealthResponseParams `json:"Response"` }
func NewDescribeNewL7RulesErrHealthResponse ¶
func NewDescribeNewL7RulesErrHealthResponse() (response *DescribeNewL7RulesErrHealthResponse)
func (*DescribeNewL7RulesErrHealthResponse) FromJsonString ¶
func (r *DescribeNewL7RulesErrHealthResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNewL7RulesErrHealthResponse) ToJsonString ¶
func (r *DescribeNewL7RulesErrHealthResponse) ToJsonString() string
type DescribeNewL7RulesErrHealthResponseParams ¶
type DescribeNewL7RulesErrHealthResponseParams struct { // List of rules with exceptions. `Key`: Rule ID, `Value`: Exception IPs and error message. ErrHealths []*KeyValue `json:"ErrHealths,omitnil,omitempty" name:"ErrHealths"` // Total number of rules with exceptions Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNewL7RulesRequest ¶
type DescribeNewL7RulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil,omitempty" name:"Business"` // (Optional) Searches by rule status. Valid values: `0` (Successfully configured), `1` (Being configured), `2` (Configuration failed), `3` (Being deleted), `5` (Deletion failed), `6` (awaiting configuration), `7` (awaiting deletion), and `8` (awaiting certificate configuration). StatusList []*uint64 `json:"StatusList,omitnil,omitempty" name:"StatusList"` // (Optional) Searches by domain name. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // (Optional) Searches by IP. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Number of items in a page. Returned results are not paged if you enter “0”. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // (Optional) Searches by forwarding protocol. Values: [http, https, http/https] ProtocolList []*string `json:"ProtocolList,omitnil,omitempty" name:"ProtocolList"` // CNAME of the Anti-DDoS Advanced instance Cname *string `json:"Cname,omitnil,omitempty" name:"Cname"` }
func NewDescribeNewL7RulesRequest ¶
func NewDescribeNewL7RulesRequest() (request *DescribeNewL7RulesRequest)
func (*DescribeNewL7RulesRequest) FromJsonString ¶
func (r *DescribeNewL7RulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNewL7RulesRequest) ToJsonString ¶
func (r *DescribeNewL7RulesRequest) ToJsonString() string
type DescribeNewL7RulesRequestParams ¶
type DescribeNewL7RulesRequestParams struct { // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced) Business *string `json:"Business,omitnil,omitempty" name:"Business"` // (Optional) Searches by rule status. Valid values: `0` (Successfully configured), `1` (Being configured), `2` (Configuration failed), `3` (Being deleted), `5` (Deletion failed), `6` (awaiting configuration), `7` (awaiting deletion), and `8` (awaiting certificate configuration). StatusList []*uint64 `json:"StatusList,omitnil,omitempty" name:"StatusList"` // (Optional) Searches by domain name. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // (Optional) Searches by IP. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Number of items in a page. Returned results are not paged if you enter “0”. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Starting offset of the page. Value: (number of pages – 1) * items per page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // (Optional) Searches by forwarding protocol. Values: [http, https, http/https] ProtocolList []*string `json:"ProtocolList,omitnil,omitempty" name:"ProtocolList"` // CNAME of the Anti-DDoS Advanced instance Cname *string `json:"Cname,omitnil,omitempty" name:"Cname"` }
Predefined struct for user
type DescribeNewL7RulesResponse ¶
type DescribeNewL7RulesResponse struct { *tchttp.BaseResponse Response *DescribeNewL7RulesResponseParams `json:"Response"` }
func NewDescribeNewL7RulesResponse ¶
func NewDescribeNewL7RulesResponse() (response *DescribeNewL7RulesResponse)
func (*DescribeNewL7RulesResponse) FromJsonString ¶
func (r *DescribeNewL7RulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNewL7RulesResponse) ToJsonString ¶
func (r *DescribeNewL7RulesResponse) ToJsonString() string
type DescribeNewL7RulesResponseParams ¶
type DescribeNewL7RulesResponseParams struct { // List of forwarding rules Rules []*NewL7RuleEntry `json:"Rules,omitnil,omitempty" name:"Rules"` // List of health check settings Healths []*L7RuleHealth `json:"Healths,omitnil,omitempty" name:"Healths"` // Total number of rules Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeOverviewDDoSEventListRequest ¶
type DescribeOverviewDDoSEventListRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Filters by the attack status. `start`: The attack is ongoing; `end`: The attack ends. AttackStatus *string `json:"AttackStatus,omitnil,omitempty" name:"AttackStatus"` // The offset value Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Total number of records Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeOverviewDDoSEventListRequest ¶
func NewDescribeOverviewDDoSEventListRequest() (request *DescribeOverviewDDoSEventListRequest)
func (*DescribeOverviewDDoSEventListRequest) FromJsonString ¶
func (r *DescribeOverviewDDoSEventListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOverviewDDoSEventListRequest) ToJsonString ¶
func (r *DescribeOverviewDDoSEventListRequest) ToJsonString() string
type DescribeOverviewDDoSEventListRequestParams ¶
type DescribeOverviewDDoSEventListRequestParams struct { // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Filters by the attack status. `start`: The attack is ongoing; `end`: The attack ends. AttackStatus *string `json:"AttackStatus,omitnil,omitempty" name:"AttackStatus"` // The offset value Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Total number of records Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeOverviewDDoSEventListResponse ¶
type DescribeOverviewDDoSEventListResponse struct { *tchttp.BaseResponse Response *DescribeOverviewDDoSEventListResponseParams `json:"Response"` }
func NewDescribeOverviewDDoSEventListResponse ¶
func NewDescribeOverviewDDoSEventListResponse() (response *DescribeOverviewDDoSEventListResponse)
func (*DescribeOverviewDDoSEventListResponse) FromJsonString ¶
func (r *DescribeOverviewDDoSEventListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOverviewDDoSEventListResponse) ToJsonString ¶
func (r *DescribeOverviewDDoSEventListResponse) ToJsonString() string
type DescribeOverviewDDoSEventListResponseParams ¶
type DescribeOverviewDDoSEventListResponseParams struct { // Total number of records Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // Event list EventList []*OverviewDDoSEvent `json:"EventList,omitnil,omitempty" name:"EventList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePendingRiskInfoRequest ¶
type DescribePendingRiskInfoRequest struct {
*tchttp.BaseRequest
}
func NewDescribePendingRiskInfoRequest ¶
func NewDescribePendingRiskInfoRequest() (request *DescribePendingRiskInfoRequest)
func (*DescribePendingRiskInfoRequest) FromJsonString ¶
func (r *DescribePendingRiskInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePendingRiskInfoRequest) ToJsonString ¶
func (r *DescribePendingRiskInfoRequest) ToJsonString() string
type DescribePendingRiskInfoRequestParams ¶
type DescribePendingRiskInfoRequestParams struct { }
Predefined struct for user
type DescribePendingRiskInfoResponse ¶
type DescribePendingRiskInfoResponse struct { *tchttp.BaseResponse Response *DescribePendingRiskInfoResponseParams `json:"Response"` }
func NewDescribePendingRiskInfoResponse ¶
func NewDescribePendingRiskInfoResponse() (response *DescribePendingRiskInfoResponse)
func (*DescribePendingRiskInfoResponse) FromJsonString ¶
func (r *DescribePendingRiskInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePendingRiskInfoResponse) ToJsonString ¶
func (r *DescribePendingRiskInfoResponse) ToJsonString() string
type DescribePendingRiskInfoResponseParams ¶
type DescribePendingRiskInfoResponseParams struct { // Whether the user is a paid user. Values: `true`, `false`. IsPaidUsr *bool `json:"IsPaidUsr,omitnil,omitempty" name:"IsPaidUsr"` // Number of resources being attacked AttackingCount *int64 `json:"AttackingCount,omitnil,omitempty" name:"AttackingCount"` // Number of resource blocked BlockingCount *int64 `json:"BlockingCount,omitnil,omitempty" name:"BlockingCount"` // Number of expired resources ExpiredCount *int64 `json:"ExpiredCount,omitnil,omitempty" name:"ExpiredCount"` // Total pending risk events Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DisassociateDDoSEipAddressRequest ¶
type DisassociateDDoSEipAddressRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID (only Anti-DDoS Advanced). For example, `bgpip-0000011x`. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // EIP of the Anti-DDoS instance ID Eip *string `json:"Eip,omitnil,omitempty" name:"Eip"` }
func NewDisassociateDDoSEipAddressRequest ¶
func NewDisassociateDDoSEipAddressRequest() (request *DisassociateDDoSEipAddressRequest)
func (*DisassociateDDoSEipAddressRequest) FromJsonString ¶
func (r *DisassociateDDoSEipAddressRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisassociateDDoSEipAddressRequest) ToJsonString ¶
func (r *DisassociateDDoSEipAddressRequest) ToJsonString() string
type DisassociateDDoSEipAddressRequestParams ¶
type DisassociateDDoSEipAddressRequestParams struct { // Anti-DDoS instance ID (only Anti-DDoS Advanced). For example, `bgpip-0000011x`. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // EIP of the Anti-DDoS instance ID Eip *string `json:"Eip,omitnil,omitempty" name:"Eip"` }
Predefined struct for user
type DisassociateDDoSEipAddressResponse ¶
type DisassociateDDoSEipAddressResponse struct { *tchttp.BaseResponse Response *DisassociateDDoSEipAddressResponseParams `json:"Response"` }
func NewDisassociateDDoSEipAddressResponse ¶
func NewDisassociateDDoSEipAddressResponse() (response *DisassociateDDoSEipAddressResponse)
func (*DisassociateDDoSEipAddressResponse) FromJsonString ¶
func (r *DisassociateDDoSEipAddressResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisassociateDDoSEipAddressResponse) ToJsonString ¶
func (r *DisassociateDDoSEipAddressResponse) ToJsonString() string
type DisassociateDDoSEipAddressResponseParams ¶
type DisassociateDDoSEipAddressResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type EipAddressPackRelation ¶
type EipAddressPackRelation struct { // Number of package IPs IpCount *uint64 `json:"IpCount,omitnil,omitempty" name:"IpCount"` // Auto-renewal flag AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // Current expiration time CurDeadline *string `json:"CurDeadline,omitnil,omitempty" name:"CurDeadline"` }
type EipAddressRelation ¶
type EipAddressRelation struct { // Region of the Anti-DDoS instance bound to the EIP. For example, hk indicates Hong Kong. // Note: This field may return `null`, indicating that no valid value can be obtained. EipAddressRegion *string `json:"EipAddressRegion,omitnil,omitempty" name:"EipAddressRegion"` // ID of the bound resource. For example, an ID may be bound to an CVM instance. // Note: This is field may return `null`, indicating that no valid value can be obtained. EipBoundRscIns *string `json:"EipBoundRscIns,omitnil,omitempty" name:"EipBoundRscIns"` // ID of the bound ENI // Note: This field may return `null`, indicating that no valid value can be obtained. EipBoundRscEni *string `json:"EipBoundRscEni,omitnil,omitempty" name:"EipBoundRscEni"` // Private IP of the bound resource // Note: This field may return `null`, indicating that no valid value can be obtained. EipBoundRscVip *string `json:"EipBoundRscVip,omitnil,omitempty" name:"EipBoundRscVip"` // Modification time // Note: This field may return `null`, indicating that no valid value can be obtained. ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` }
type EipProductInfo ¶
type EipProductInfo struct { // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Cloud product category. Valid values: // `public`: CVM // `bm`: BM // `eni`: ENI // `vpngw`: VPN gateway // `natgw`: NAT gateway // `waf`: WAF // `fpc`: financial products // `gaap`: GAAP // `other`: hosted IP // ] BizType *string `json:"BizType,omitnil,omitempty" name:"BizType"` // Cloud sub-product category. Valid values: `cvm` (CVM), `lb` (Load balancer), `eni` (ENI), `vpngw` (VPN gateway), `natgw` (NAT gateway), `waf` (WAF), `fpc` (financial products), `gaap` (GAAP), `eip` (BM EIP) and `other` (hosted IP). DeviceType *string `json:"DeviceType,omitnil,omitempty" name:"DeviceType"` // Cloud instance ID of the IP. This field InstanceId will be `eni-*` if the instance ID is bound to an ENI IP; `none` if there is no instance ID to bind to a hosted IP. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
type ForwardListener ¶
type ForwardListener struct { // The starting port for listener forwarding. Value range: 1 to 65535. FrontendPort *int64 `json:"FrontendPort,omitnil,omitempty" name:"FrontendPort"` // Forwarding protocol. Valid values: // `TCP` // `UDP` // ] ForwardProtocol *string `json:"ForwardProtocol,omitnil,omitempty" name:"ForwardProtocol"` // The ending port for listener forwarding. Value range: 1 to 65535. FrontendPortEnd *int64 `json:"FrontendPortEnd,omitnil,omitempty" name:"FrontendPortEnd"` }
type HttpStatusMap ¶
type HttpStatusMap struct { // HTTP 2xx Forwarding status code SourceHttp2xx []*float64 `json:"SourceHttp2xx,omitnil,omitempty" name:"SourceHttp2xx"` // HTTP 5xx Status code Http5xx []*float64 `json:"Http5xx,omitnil,omitempty" name:"Http5xx"` // HTTP 5xx Forwarding status code SourceHttp5xx []*float64 `json:"SourceHttp5xx,omitnil,omitempty" name:"SourceHttp5xx"` // HTTP 404 Forwarding status code SourceHttp404 []*float64 `json:"SourceHttp404,omitnil,omitempty" name:"SourceHttp404"` // HTTP 4xx Status code Http4xx []*float64 `json:"Http4xx,omitnil,omitempty" name:"Http4xx"` // HTTP 4xx Forwarding status code SourceHttp4xx []*float64 `json:"SourceHttp4xx,omitnil,omitempty" name:"SourceHttp4xx"` // HTTP 2xx Status code Http2xx []*float64 `json:"Http2xx,omitnil,omitempty" name:"Http2xx"` // HTTP 404 Status code Http404 []*float64 `json:"Http404,omitnil,omitempty" name:"Http404"` // HTTP 3xx Forwarding status code SourceHttp3xx []*float64 `json:"SourceHttp3xx,omitnil,omitempty" name:"SourceHttp3xx"` // HTTP 3xx Status code Http3xx []*float64 `json:"Http3xx,omitnil,omitempty" name:"Http3xx"` }
type IPAlarmThresholdRelation ¶
type IPAlarmThresholdRelation struct { // Alarm threshold type. Valid values: // `1`: alarm threshold for inbound traffic // `2`: alarm threshold for cleansing attack traffic // ] AlarmType *uint64 `json:"AlarmType,omitnil,omitempty" name:"AlarmType"` // Alarm threshold (Mbps). The value should be greater than or equal to 0. Note that the alarm threshold configuration will be removed if you pass the parameter for input and set it to 0. AlarmThreshold *uint64 `json:"AlarmThreshold,omitnil,omitempty" name:"AlarmThreshold"` // Anti-DDoS instance configured InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitnil,omitempty" name:"InstanceDetailList"` }
type IPLineInfo ¶
type IPLineInfo struct { // IP line type. Valid values: // `bgp`: BGP IP // `ctcc`: CTCC IP // `cucc`: CUCC IP // `cmcc`: CMCC IP // `abroad`: IP outside the Chinese mainland // ] Type *string `json:"Type,omitnil,omitempty" name:"Type"` Eip *string `json:"Eip,omitnil,omitempty" name:"Eip"` // CNAME of the instance Cname *string `json:"Cname,omitnil,omitempty" name:"Cname"` // Flag of the instance. `0`: Anti-DDoS Pro instance; `1`: Anti-DDoS Advanced instance; `2`: Non-Anti-DDoS Advanced instance. ResourceFlag *int64 `json:"ResourceFlag,omitnil,omitempty" name:"ResourceFlag"` }
type InsL7Rules ¶
type InsL7Rules struct { // Rules can only be modified when the status is `0`, `2`, or `8`. // Rule status. Values: `0` (Normal), `1` (Being configured), `2` (Configuration failed), `3` (Being deleted), `5` (Failed to be deleted), `6` (Pending add), `7` (Pending delete), `8` (Pending certificate upload), `9` (Associated resource not exist), `10` (Pending modify), `11` (Being modified). Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Instance ID InsId *string `json:"InsId,omitnil,omitempty" name:"InsId"` // User App ID AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // High-defense port VirtualPort *string `json:"VirtualPort,omitnil,omitempty" name:"VirtualPort"` // Certificate ID SSLId *string `json:"SSLId,omitnil,omitempty" name:"SSLId"` }
type InstanceRelation ¶
type IpBlockData ¶
type IpBlockData struct { Status *string `json:"Status,omitnil,omitempty" name:"Status"` Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` BlockTime *string `json:"BlockTime,omitnil,omitempty" name:"BlockTime"` UnBlockTime *string `json:"UnBlockTime,omitnil,omitempty" name:"UnBlockTime"` ActionType *string `json:"ActionType,omitnil,omitempty" name:"ActionType"` ProtectFlag *uint64 `json:"ProtectFlag,omitnil,omitempty" name:"ProtectFlag"` }
type L4RuleSource ¶
type L4RuleSource struct { // IP or domain name for forwarding. Source *string `json:"Source,omitnil,omitempty" name:"Source"` // Weight. Value range: [0,100]. Weight *uint64 `json:"Weight,omitnil,omitempty" name:"Weight"` // 8000 // Note: this field may return `null`, indicating that no valid values can be obtained. Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Secondary origin server. `1`: secondary origin server; `0`: general origin server. // Note: This field may return `null`, indicating that no valid values can be obtained. Backup *uint64 `json:"Backup,omitnil,omitempty" name:"Backup"` }
type L7RuleEntry ¶
type L7RuleEntry struct { // Session persistence duration, in seconds. KeepTime *uint64 `json:"KeepTime,omitnil,omitempty" name:"KeepTime"` // Forwarding domain name. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Forwarding protocol. Valid values: `http` and `https`. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Forwarding method. Valid values: `1` (by domain name); `2` (by IP). SourceType *uint64 `json:"SourceType,omitnil,omitempty" name:"SourceType"` // Load balancing method. Valid value: `1` (weighed polling). LbType *uint64 `json:"LbType,omitnil,omitempty" name:"LbType"` // List of origins SourceList []*L4RuleSource `json:"SourceList,omitnil,omitempty" name:"SourceList"` // Whether session persistence is enabled. Valid values: `0` (disabled) and `1` (enabled). KeepEnable *uint64 `json:"KeepEnable,omitnil,omitempty" name:"KeepEnable"` // Rule status. Valid values: `0` (the rule was successfully configured), `1` (configuring the rule), `2` (rule configuration failed), `3` (deleting the rule), `5` (failed to delete rule), `6` (rule awaiting configuration), `7` (rule awaiting deletion), and `8` (rule awaiting certificate configuration). Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Rule ID. This field is not required for adding a rule, but is required for modifying or deleting a rule. RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // CC protection threshold based on HTTPS. CCThreshold *uint64 `json:"CCThreshold,omitnil,omitempty" name:"CCThreshold"` // [Disused] When the certificate is an external certificate, the certificate key should be provided here. PrivateKey *string `json:"PrivateKey,omitnil,omitempty" name:"PrivateKey"` // CC protection status based on HTTPS. Valid values: `0` (disabled) and `1` (enabled). CCEnable *uint64 `json:"CCEnable,omitnil,omitempty" name:"CCEnable"` // Whether to enable **Forward HTTPS requests via HTTP**. Valid values: `0` (disable) and `1` (enable). It defaults to `0`. // Note: This field may return null, indicating that no valid values can be obtained. HttpsToHttpEnable *uint64 `json:"HttpsToHttpEnable,omitnil,omitempty" name:"HttpsToHttpEnable"` // Certificate source. When the forwarding protocol is HTTPS, this field must be set to `2` (Tencent Cloud managed certificate), and for HTTP protocol, it can be set to `0`. CertType *uint64 `json:"CertType,omitnil,omitempty" name:"CertType"` // [Disused] When the certificate is an external certificate, the certificate content should be provided here. Cert *string `json:"Cert,omitnil,omitempty" name:"Cert"` // CC protection level based on HTTPS. CCLevel *string `json:"CCLevel,omitnil,omitempty" name:"CCLevel"` // Rule description. RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // CC protection status. Valid values: `0` (disabled) and `1` (enabled). CCStatus *uint64 `json:"CCStatus,omitnil,omitempty" name:"CCStatus"` // Access port number. // Note: This field may return null, indicating that no valid values can be obtained. VirtualPort *uint64 `json:"VirtualPort,omitnil,omitempty" name:"VirtualPort"` // When the certificate is managed by Tencent Cloud, this field must be set to the ID of the managed certificate. SSLId *string `json:"SSLId,omitnil,omitempty" name:"SSLId"` // ID of the rule Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Intelligent CC protection status. Valid values: `0` (disabled) and `1` (enabled). CCAIEnable *uint64 `json:"CCAIEnable,omitnil,omitempty" name:"CCAIEnable"` }
type L7RuleHealth ¶
type L7RuleHealth struct { // Configuration status. Values: `0` (normal), `1` (configuration in progress) and `2` (configuration failed). Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Switch. Values: `1`: Enable; `0`: Disable. Enable *uint64 `json:"Enable,omitnil,omitempty" name:"Enable"` // ID of the rule RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // HTTP request path. The default value is /. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Health check interval. Unit: second. Interval *uint64 `json:"Interval,omitnil,omitempty" name:"Interval"` // Healthy threshold, which specifies the number of consecutive successful health checks. AliveNum *uint64 `json:"AliveNum,omitnil,omitempty" name:"AliveNum"` // Unhealthy threshold, which specifies the number of consecutive failed health checks. KickNum *uint64 `json:"KickNum,omitnil,omitempty" name:"KickNum"` // HTTP request method. Values: `HEAD` and `GET`. Method *string `json:"Method,omitnil,omitempty" name:"Method"` // Status code that signifies a normal state. Values: `1` (1xx), `2` (2xx), `4` (3xx), `8` (4xx), and `16` (5xx). StatusCode *uint64 `json:"StatusCode,omitnil,omitempty" name:"StatusCode"` // Whether to deploy both HTTP and HTTPS health check rules ProtocolFlag *uint64 `json:"ProtocolFlag,omitnil,omitempty" name:"ProtocolFlag"` // Enables passive detection. Values: `1` (enable) and `0` (disable). PassiveEnable *uint64 `json:"PassiveEnable,omitnil,omitempty" name:"PassiveEnable"` // Blocking period in the passive detection configuration BlockInter *uint64 `json:"BlockInter,omitnil,omitempty" name:"BlockInter"` // Time interval between passive detections FailedCountInter *uint64 `json:"FailedCountInter,omitnil,omitempty" name:"FailedCountInter"` // Unhealthy threshold in the passive detection configuration FailedThreshold *uint64 `json:"FailedThreshold,omitnil,omitempty" name:"FailedThreshold"` // Status code that signals that the passive detection considers the status normal. Values: `1` (1xx), `2` (2xx), `4` (3xx), `8` (4xx), and `16` (5xx). PassiveStatusCode *uint64 `json:"PassiveStatusCode,omitnil,omitempty" name:"PassiveStatusCode"` // Configuration status of the passive health check. Values: `0` (Normal), `1` (configuration in progress) and `2` (configuration failed). PassiveStatus *uint64 `json:"PassiveStatus,omitnil,omitempty" name:"PassiveStatus"` }
type Layer4Rule ¶
type Layer4Rule struct { // Real server port. Value range: 1–65535. BackendPort *uint64 `json:"BackendPort,omitnil,omitempty" name:"BackendPort"` // Forwarding port. Value range: 1–65535. FrontendPort *uint64 `json:"FrontendPort,omitnil,omitempty" name:"FrontendPort"` // Forwarding rule. Valid values: // TCP // UDP // ] Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // List of real servers RealServers []*SourceServer `json:"RealServers,omitnil,omitempty" name:"RealServers"` // Information of the Anti-DDoS instance InstanceDetails []*InstanceRelation `json:"InstanceDetails,omitnil,omitempty" name:"InstanceDetails"` // Information of the Anti-DDoS instance configured InstanceDetailRule []*RuleInstanceRelation `json:"InstanceDetailRule,omitnil,omitempty" name:"InstanceDetailRule"` }
type Layer7Rule ¶
type Layer7Rule struct { // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // List of forwarding types ProxyTypeList []*ProxyTypeInfo `json:"ProxyTypeList,omitnil,omitempty" name:"ProxyTypeList"` // List of real servers RealServers []*SourceServer `json:"RealServers,omitnil,omitempty" name:"RealServers"` // Information of the Anti-DDoS instance InstanceDetails []*InstanceRelation `json:"InstanceDetails,omitnil,omitempty" name:"InstanceDetails"` // Information of the Anti-DDoS instance configured InstanceDetailRule []*RuleInstanceRelation `json:"InstanceDetailRule,omitnil,omitempty" name:"InstanceDetailRule"` // Protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Port number Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` }
type ListenerCcThreholdConfig ¶
type ListenerCcThreholdConfig struct { // Domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Protocol. Value: `https`. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Status. Valid values: `0` (disabled), `1` (enabled). CCEnable *int64 `json:"CCEnable,omitnil,omitempty" name:"CCEnable"` // CC protection threshold CCThreshold *int64 `json:"CCThreshold,omitnil,omitempty" name:"CCThreshold"` }
type ModifyCCPrecisionPolicyRequest ¶
type ModifyCCPrecisionPolicyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Policy ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // Specifies the action. `alg`: Verify the access request via CAPTCHA; `drop`: Drop the access request. PolicyAction *string `json:"PolicyAction,omitnil,omitempty" name:"PolicyAction"` // Policy records PolicyList []*CCPrecisionPlyRecord `json:"PolicyList,omitnil,omitempty" name:"PolicyList"` }
func NewModifyCCPrecisionPolicyRequest ¶
func NewModifyCCPrecisionPolicyRequest() (request *ModifyCCPrecisionPolicyRequest)
func (*ModifyCCPrecisionPolicyRequest) FromJsonString ¶
func (r *ModifyCCPrecisionPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCPrecisionPolicyRequest) ToJsonString ¶
func (r *ModifyCCPrecisionPolicyRequest) ToJsonString() string
type ModifyCCPrecisionPolicyRequestParams ¶
type ModifyCCPrecisionPolicyRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Policy ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // Specifies the action. `alg`: Verify the access request via CAPTCHA; `drop`: Drop the access request. PolicyAction *string `json:"PolicyAction,omitnil,omitempty" name:"PolicyAction"` // Policy records PolicyList []*CCPrecisionPlyRecord `json:"PolicyList,omitnil,omitempty" name:"PolicyList"` }
Predefined struct for user
type ModifyCCPrecisionPolicyResponse ¶
type ModifyCCPrecisionPolicyResponse struct { *tchttp.BaseResponse Response *ModifyCCPrecisionPolicyResponseParams `json:"Response"` }
func NewModifyCCPrecisionPolicyResponse ¶
func NewModifyCCPrecisionPolicyResponse() (response *ModifyCCPrecisionPolicyResponse)
func (*ModifyCCPrecisionPolicyResponse) FromJsonString ¶
func (r *ModifyCCPrecisionPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCCPrecisionPolicyResponse) ToJsonString ¶
func (r *ModifyCCPrecisionPolicyResponse) ToJsonString() string
type ModifyCCPrecisionPolicyResponseParams ¶
type ModifyCCPrecisionPolicyResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyCcBlackWhiteIpListRequest ¶
type ModifyCcBlackWhiteIpListRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // List of IPs IpList []*IpSegment `json:"IpList,omitnil,omitempty" name:"IpList"` // IP type. Valid values: `black` (blocklisted IP), `white`(allowlisted IP). Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Policy ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
func NewModifyCcBlackWhiteIpListRequest ¶
func NewModifyCcBlackWhiteIpListRequest() (request *ModifyCcBlackWhiteIpListRequest)
func (*ModifyCcBlackWhiteIpListRequest) FromJsonString ¶
func (r *ModifyCcBlackWhiteIpListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCcBlackWhiteIpListRequest) ToJsonString ¶
func (r *ModifyCcBlackWhiteIpListRequest) ToJsonString() string
type ModifyCcBlackWhiteIpListRequestParams ¶
type ModifyCcBlackWhiteIpListRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // List of IPs IpList []*IpSegment `json:"IpList,omitnil,omitempty" name:"IpList"` // IP type. Valid values: `black` (blocklisted IP), `white`(allowlisted IP). Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Policy ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
Predefined struct for user
type ModifyCcBlackWhiteIpListResponse ¶
type ModifyCcBlackWhiteIpListResponse struct { *tchttp.BaseResponse Response *ModifyCcBlackWhiteIpListResponseParams `json:"Response"` }
func NewModifyCcBlackWhiteIpListResponse ¶
func NewModifyCcBlackWhiteIpListResponse() (response *ModifyCcBlackWhiteIpListResponse)
func (*ModifyCcBlackWhiteIpListResponse) FromJsonString ¶
func (r *ModifyCcBlackWhiteIpListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCcBlackWhiteIpListResponse) ToJsonString ¶
func (r *ModifyCcBlackWhiteIpListResponse) ToJsonString() string
type ModifyCcBlackWhiteIpListResponseParams ¶
type ModifyCcBlackWhiteIpListResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDDoSGeoIPBlockConfigRequest ¶
type ModifyDDoSGeoIPBlockConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Region blocking configuration. The configuration ID cannot be empty when you set this parameter. DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitnil,omitempty" name:"DDoSGeoIPBlockConfig"` }
func NewModifyDDoSGeoIPBlockConfigRequest ¶
func NewModifyDDoSGeoIPBlockConfigRequest() (request *ModifyDDoSGeoIPBlockConfigRequest)
func (*ModifyDDoSGeoIPBlockConfigRequest) FromJsonString ¶
func (r *ModifyDDoSGeoIPBlockConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSGeoIPBlockConfigRequest) ToJsonString ¶
func (r *ModifyDDoSGeoIPBlockConfigRequest) ToJsonString() string
type ModifyDDoSGeoIPBlockConfigRequestParams ¶
type ModifyDDoSGeoIPBlockConfigRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Region blocking configuration. The configuration ID cannot be empty when you set this parameter. DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitnil,omitempty" name:"DDoSGeoIPBlockConfig"` }
Predefined struct for user
type ModifyDDoSGeoIPBlockConfigResponse ¶
type ModifyDDoSGeoIPBlockConfigResponse struct { *tchttp.BaseResponse Response *ModifyDDoSGeoIPBlockConfigResponseParams `json:"Response"` }
func NewModifyDDoSGeoIPBlockConfigResponse ¶
func NewModifyDDoSGeoIPBlockConfigResponse() (response *ModifyDDoSGeoIPBlockConfigResponse)
func (*ModifyDDoSGeoIPBlockConfigResponse) FromJsonString ¶
func (r *ModifyDDoSGeoIPBlockConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSGeoIPBlockConfigResponse) ToJsonString ¶
func (r *ModifyDDoSGeoIPBlockConfigResponse) ToJsonString() string
type ModifyDDoSGeoIPBlockConfigResponseParams ¶
type ModifyDDoSGeoIPBlockConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDDoSSpeedLimitConfigRequest ¶
type ModifyDDoSSpeedLimitConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Access rate limit configuration. The configuration ID cannot be empty when you set this parameter. DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitnil,omitempty" name:"DDoSSpeedLimitConfig"` }
func NewModifyDDoSSpeedLimitConfigRequest ¶
func NewModifyDDoSSpeedLimitConfigRequest() (request *ModifyDDoSSpeedLimitConfigRequest)
func (*ModifyDDoSSpeedLimitConfigRequest) FromJsonString ¶
func (r *ModifyDDoSSpeedLimitConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSSpeedLimitConfigRequest) ToJsonString ¶
func (r *ModifyDDoSSpeedLimitConfigRequest) ToJsonString() string
type ModifyDDoSSpeedLimitConfigRequestParams ¶
type ModifyDDoSSpeedLimitConfigRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Access rate limit configuration. The configuration ID cannot be empty when you set this parameter. DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitnil,omitempty" name:"DDoSSpeedLimitConfig"` }
Predefined struct for user
type ModifyDDoSSpeedLimitConfigResponse ¶
type ModifyDDoSSpeedLimitConfigResponse struct { *tchttp.BaseResponse Response *ModifyDDoSSpeedLimitConfigResponseParams `json:"Response"` }
func NewModifyDDoSSpeedLimitConfigResponse ¶
func NewModifyDDoSSpeedLimitConfigResponse() (response *ModifyDDoSSpeedLimitConfigResponse)
func (*ModifyDDoSSpeedLimitConfigResponse) FromJsonString ¶
func (r *ModifyDDoSSpeedLimitConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSSpeedLimitConfigResponse) ToJsonString ¶
func (r *ModifyDDoSSpeedLimitConfigResponse) ToJsonString() string
type ModifyDDoSSpeedLimitConfigResponseParams ¶
type ModifyDDoSSpeedLimitConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDomainUsrNameRequest ¶
type ModifyDomainUsrNameRequest struct { *tchttp.BaseRequest // User CNAME DomainName *string `json:"DomainName,omitnil,omitempty" name:"DomainName"` // Domain name DomainUserName *string `json:"DomainUserName,omitnil,omitempty" name:"DomainUserName"` }
func NewModifyDomainUsrNameRequest ¶
func NewModifyDomainUsrNameRequest() (request *ModifyDomainUsrNameRequest)
func (*ModifyDomainUsrNameRequest) FromJsonString ¶
func (r *ModifyDomainUsrNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainUsrNameRequest) ToJsonString ¶
func (r *ModifyDomainUsrNameRequest) ToJsonString() string
type ModifyDomainUsrNameRequestParams ¶
type ModifyDomainUsrNameRequestParams struct { // User CNAME DomainName *string `json:"DomainName,omitnil,omitempty" name:"DomainName"` // Domain name DomainUserName *string `json:"DomainUserName,omitnil,omitempty" name:"DomainUserName"` }
Predefined struct for user
type ModifyDomainUsrNameResponse ¶
type ModifyDomainUsrNameResponse struct { *tchttp.BaseResponse Response *ModifyDomainUsrNameResponseParams `json:"Response"` }
func NewModifyDomainUsrNameResponse ¶
func NewModifyDomainUsrNameResponse() (response *ModifyDomainUsrNameResponse)
func (*ModifyDomainUsrNameResponse) FromJsonString ¶
func (r *ModifyDomainUsrNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainUsrNameResponse) ToJsonString ¶
func (r *ModifyDomainUsrNameResponse) ToJsonString() string
type ModifyDomainUsrNameResponseParams ¶
type ModifyDomainUsrNameResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyNewDomainRulesRequest ¶
type ModifyNewDomainRulesRequest struct { *tchttp.BaseRequest // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced). Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Anti-DDoS instance ID. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Domain name forwarding rule. Rule *NewL7RuleEntry `json:"Rule,omitnil,omitempty" name:"Rule"` }
func NewModifyNewDomainRulesRequest ¶
func NewModifyNewDomainRulesRequest() (request *ModifyNewDomainRulesRequest)
func (*ModifyNewDomainRulesRequest) FromJsonString ¶
func (r *ModifyNewDomainRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNewDomainRulesRequest) ToJsonString ¶
func (r *ModifyNewDomainRulesRequest) ToJsonString() string
type ModifyNewDomainRulesRequestParams ¶
type ModifyNewDomainRulesRequestParams struct { // Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced). Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Anti-DDoS instance ID. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Domain name forwarding rule. Rule *NewL7RuleEntry `json:"Rule,omitnil,omitempty" name:"Rule"` }
Predefined struct for user
type ModifyNewDomainRulesResponse ¶
type ModifyNewDomainRulesResponse struct { *tchttp.BaseResponse Response *ModifyNewDomainRulesResponseParams `json:"Response"` }
func NewModifyNewDomainRulesResponse ¶
func NewModifyNewDomainRulesResponse() (response *ModifyNewDomainRulesResponse)
func (*ModifyNewDomainRulesResponse) FromJsonString ¶
func (r *ModifyNewDomainRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNewDomainRulesResponse) ToJsonString ¶
func (r *ModifyNewDomainRulesResponse) ToJsonString() string
type ModifyNewDomainRulesResponseParams ¶
type ModifyNewDomainRulesResponseParams struct { // Success code. Success *SuccessCode `json:"Success,omitnil,omitempty" name:"Success"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyPacketFilterConfigRequest ¶
type ModifyPacketFilterConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Feature filtering configuration PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitnil,omitempty" name:"PacketFilterConfig"` }
func NewModifyPacketFilterConfigRequest ¶
func NewModifyPacketFilterConfigRequest() (request *ModifyPacketFilterConfigRequest)
func (*ModifyPacketFilterConfigRequest) FromJsonString ¶
func (r *ModifyPacketFilterConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPacketFilterConfigRequest) ToJsonString ¶
func (r *ModifyPacketFilterConfigRequest) ToJsonString() string
type ModifyPacketFilterConfigRequestParams ¶
type ModifyPacketFilterConfigRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Feature filtering configuration PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitnil,omitempty" name:"PacketFilterConfig"` }
Predefined struct for user
type ModifyPacketFilterConfigResponse ¶
type ModifyPacketFilterConfigResponse struct { *tchttp.BaseResponse Response *ModifyPacketFilterConfigResponseParams `json:"Response"` }
func NewModifyPacketFilterConfigResponse ¶
func NewModifyPacketFilterConfigResponse() (response *ModifyPacketFilterConfigResponse)
func (*ModifyPacketFilterConfigResponse) FromJsonString ¶
func (r *ModifyPacketFilterConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPacketFilterConfigResponse) ToJsonString ¶
func (r *ModifyPacketFilterConfigResponse) ToJsonString() string
type ModifyPacketFilterConfigResponseParams ¶
type ModifyPacketFilterConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type NewL7RuleEntry ¶
type NewL7RuleEntry struct { // Forwarding protocol. Valid values: `http` and `https`. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Forwarding domain name. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Load balancing method. Valid value: `1` (weighed polling). LbType *uint64 `json:"LbType,omitnil,omitempty" name:"LbType"` // Whether session persistence is enabled. Valid values: `0` (disabled) and `1` (enabled). KeepEnable *uint64 `json:"KeepEnable,omitnil,omitempty" name:"KeepEnable"` // Session persistence duration, in seconds. KeepTime *uint64 `json:"KeepTime,omitnil,omitempty" name:"KeepTime"` // Forwarding method. Valid values: `1` (by domain name); `2` (by IP). SourceType *uint64 `json:"SourceType,omitnil,omitempty" name:"SourceType"` // List of origins SourceList []*L4RuleSource `json:"SourceList,omitnil,omitempty" name:"SourceList"` // Region code. Region *uint64 `json:"Region,omitnil,omitempty" name:"Region"` // Resource ID. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Anti-DDoS instance IP address. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Rule ID. This field is not required for adding a rule, but is required for modifying or deleting a rule. RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // Rule description. RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // Certificate source. When the forwarding protocol is HTTPS, this field must be set to `2` (Tencent Cloud managed certificate), and for HTTP protocol, it can be set to `0`. CertType *uint64 `json:"CertType,omitnil,omitempty" name:"CertType"` // When the certificate is managed by Tencent Cloud, this field must be set to the ID of the managed certificate. SSLId *string `json:"SSLId,omitnil,omitempty" name:"SSLId"` // [Disused] When the certificate is an external certificate, the certificate content should be provided here. Cert *string `json:"Cert,omitnil,omitempty" name:"Cert"` // [Disused] When the certificate is an external certificate, the certificate key should be provided here. PrivateKey *string `json:"PrivateKey,omitnil,omitempty" name:"PrivateKey"` // Rule status. Valid values: `0` (the rule was successfully configured), `1` (configuring the rule), `2` (rule configuration failed), `3` (deleting the rule), `5` (failed to delete rule), `6` (rule awaiting configuration), `7` (rule awaiting deletion), and `8` (rule awaiting certificate configuration). Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // CC protection status. Valid values: `0` (disabled) and `1` (enabled). CCStatus *uint64 `json:"CCStatus,omitnil,omitempty" name:"CCStatus"` // CC protection status based on HTTPS. Valid values: `0` (disabled) and `1` (enabled). CCEnable *uint64 `json:"CCEnable,omitnil,omitempty" name:"CCEnable"` // CC protection threshold based on HTTPS. CCThreshold *uint64 `json:"CCThreshold,omitnil,omitempty" name:"CCThreshold"` // CC protection level based on HTTPS. CCLevel *string `json:"CCLevel,omitnil,omitempty" name:"CCLevel"` // Modification time. ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` // Whether to enable **Forward HTTPS requests via HTTP**. Valid values: `0` (disabled) and `1` (enabled). It defaults to `0`. HttpsToHttpEnable *uint64 `json:"HttpsToHttpEnable,omitnil,omitempty" name:"HttpsToHttpEnable"` // Access port number. // Note: this field may return `null`, indicating that no valid values can be obtained. VirtualPort *uint64 `json:"VirtualPort,omitnil,omitempty" name:"VirtualPort"` // Specifies whether to forcibly redirect HTTP to HTTPS. `1`: Enable. `0`: Disable. RewriteHttps *uint64 `json:"RewriteHttps,omitnil,omitempty" name:"RewriteHttps"` // Returns an error code when the rule configuration fails (only valid when `Status=2`). `1001`: The certificate does not exist. `1002`: Failed to obtain the certificate. `1003`: Failed to upload the certificate. `1004`: The certificate has expired. ErrCode *uint64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // Version // Note: This field may return null, indicating that no valid values can be obtained. Version *uint64 `json:"Version,omitnil,omitempty" name:"Version"` }
type OverviewDDoSEvent ¶
type OverviewDDoSEvent struct { // Event ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // IP Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Attack type AttackType *string `json:"AttackType,omitnil,omitempty" name:"AttackType"` // Attack status. `0`: The attack is ongoing; `1`: The attack ends. AttackStatus *uint64 `json:"AttackStatus,omitnil,omitempty" name:"AttackStatus"` // Attack traffic, in Mbps Mbps *uint64 `json:"Mbps,omitnil,omitempty" name:"Mbps"` // Attack packets, in PPS Pps *uint64 `json:"Pps,omitnil,omitempty" name:"Pps"` // Anti-DDoS service type. `bgp-multip`: Anti-DDoS Pro; `bgpip`: Anti-DDoS Advanced; `basic`: Anti-DDoS Basic. Business *string `json:"Business,omitnil,omitempty" name:"Business"` // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Anti-DDoS instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` }
type PacketFilterConfig ¶
type PacketFilterConfig struct { // Protocol. Valid values: `tcp`, `udp`, `icmp`, `all`. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Start source port. Value range: 0–65535. SportStart *int64 `json:"SportStart,omitnil,omitempty" name:"SportStart"` // End source port. Value range: 0–65535. The value also should be greater than or equal to that of the start source port. SportEnd *int64 `json:"SportEnd,omitnil,omitempty" name:"SportEnd"` // Start destination port DportStart *int64 `json:"DportStart,omitnil,omitempty" name:"DportStart"` // End destination port. Value range: 1–65535. The value also should be greater than or equal to that of the start source port. DportEnd *int64 `json:"DportEnd,omitnil,omitempty" name:"DportEnd"` // Minimum message length. Value range: 1–1500. PktlenMin *int64 `json:"PktlenMin,omitnil,omitempty" name:"PktlenMin"` // Maximum message length. Value range: 1–1500. The value also should be greater than or equal to that of the minimum message length. PktlenMax *int64 `json:"PktlenMax,omitnil,omitempty" name:"PktlenMax"` // Action. Valid values: // `drop`: discards the request. // `transmit`: allows the request. // `drop_black`: discards the request and adds the IP to blocklist. // `drop_rst`: blocks the request. // `drop_black_rst`: blocks the request and adds the IP to blocklist. // `forward`: continues protection. // ] Action *string `json:"Action,omitnil,omitempty" name:"Action"` // Detection location: // `begin_l3`: IP header // `begin_l4`: TCP/UDP header // `begin_l5`: T load // `no_match`: no match // ] MatchBegin *string `json:"MatchBegin,omitnil,omitempty" name:"MatchBegin"` // Detection type: // `sunday`: keyword // `pcre`: regular expression // ] MatchType *string `json:"MatchType,omitnil,omitempty" name:"MatchType"` // Detection value. Should be in key string or regular expression. // When the `MatchType` is `sunday`, enter a string or a string in hexadecimal byte code representation. For example, a string "123" corresponds to the hexadecimal byte code "\x313233". // When the `MatchType` is `pcre`, enter a regular expression. // ] Str *string `json:"Str,omitnil,omitempty" name:"Str"` // Detection depth starting from the detection position. Value range: [0, 1500]. Depth *int64 `json:"Depth,omitnil,omitempty" name:"Depth"` // Offset starting from the detection position. Value range: [0, Depth]. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Whether the detection value is included: // `0`: included // `1`: excluded // ] IsNot *int64 `json:"IsNot,omitnil,omitempty" name:"IsNot"` // Relationship between the first and second detection conditions: // `and`: under both the first and second detection conditions // `none`: under only the first detection condition // ] MatchLogic *string `json:"MatchLogic,omitnil,omitempty" name:"MatchLogic"` // The second detection position: // `begin_l5`: load // `no_match`: no match // ] MatchBegin2 *string `json:"MatchBegin2,omitnil,omitempty" name:"MatchBegin2"` // The second detection type: // `sunday`: keyword // `pcre`: regular expression // ] MatchType2 *string `json:"MatchType2,omitnil,omitempty" name:"MatchType2"` // The second detection value. Should be in key string or regular expression. // When the `MatchType` is `sunday`, enter a string or a string in hexadecimal byte code representation. For example, a string "123" corresponds to the hexadecimal byte code "\x313233". // When the `MatchType` is `pcre`, enter a regular expression. // ] Str2 *string `json:"Str2,omitnil,omitempty" name:"Str2"` // Detection depth starting from the second detection position. Value range: [0, 1500]. Depth2 *int64 `json:"Depth2,omitnil,omitempty" name:"Depth2"` // Offset starting from the second detection position. Value range: [0, Depth2]. Offset2 *int64 `json:"Offset2,omitnil,omitempty" name:"Offset2"` // Whether the second detection value is included: // `0`: included // `1`: excluded // ] IsNot2 *int64 `json:"IsNot2,omitnil,omitempty" name:"IsNot2"` // A rule ID is generated after a feature filtering configuration is added successfully. Leave this field empty when adding a new feature filtering configuration. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Byte threshold of the packet. Packets larger than the specified size are not returned. It must be an integer larger than 1. PktLenGT *int64 `json:"PktLenGT,omitnil,omitempty" name:"PktLenGT"` }
type PacketFilterRelation ¶
type PacketFilterRelation struct { // Feature filtering configuration PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitnil,omitempty" name:"PacketFilterConfig"` // Anti-DDoS instance configured InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitnil,omitempty" name:"InstanceDetailList"` // Modification time ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` }
type PortSegment ¶
type PortSegment struct { // Start port. Value range: 1–65535. BeginPort *uint64 `json:"BeginPort,omitnil,omitempty" name:"BeginPort"` // End port. The value should be in the range 1–65535 and cannot be less than that of the start port. EndPort *uint64 `json:"EndPort,omitnil,omitempty" name:"EndPort"` }
type ProtectThresholdRelation ¶
type ProtectThresholdRelation struct { // DDoS protection level: // `low`: loose protection // `middle`: medium protection // `high`: strict protection // ] DDoSLevel *string `json:"DDoSLevel,omitnil,omitempty" name:"DDoSLevel"` // DDoS cleansing threshold (in Mbps) DDoSThreshold *uint64 `json:"DDoSThreshold,omitnil,omitempty" name:"DDoSThreshold"` // DDoS AI protection switch: // `on`: enabled // `off`: disabled // ] DDoSAI *string `json:"DDoSAI,omitnil,omitempty" name:"DDoSAI"` // CC cleansing switch // `0`: disabled // `1`: enabled // ] CCEnable *uint64 `json:"CCEnable,omitnil,omitempty" name:"CCEnable"` // CC cleansing threshold (in QPS) CCThreshold *uint64 `json:"CCThreshold,omitnil,omitempty" name:"CCThreshold"` // Anti-DDoS instance configured InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitnil,omitempty" name:"InstanceDetailList"` // Domain name and protocol protection thresholds ListenerCcThresholdList []*ListenerCcThreholdConfig `json:"ListenerCcThresholdList,omitnil,omitempty" name:"ListenerCcThresholdList"` // SYN traffic threshold // Note: This field may return null, indicating that no valid values can be obtained. SynFloodThreshold *uint64 `json:"SynFloodThreshold,omitnil,omitempty" name:"SynFloodThreshold"` // SYN packet threshold // Note: This field may return null, indicating that no valid values can be obtained. SynFloodPktThreshold *uint64 `json:"SynFloodPktThreshold,omitnil,omitempty" name:"SynFloodPktThreshold"` // UDP traffic threshold // Note: This field may return null, indicating that no valid values can be obtained. UdpFloodThreshold *uint64 `json:"UdpFloodThreshold,omitnil,omitempty" name:"UdpFloodThreshold"` // UDP packet threshold // Note: This field may return null, indicating that no valid values can be obtained. UdpFloodPktThreshold *uint64 `json:"UdpFloodPktThreshold,omitnil,omitempty" name:"UdpFloodPktThreshold"` // ACK traffic threshold // Note: This field may return null, indicating that no valid values can be obtained. AckFloodThreshold *uint64 `json:"AckFloodThreshold,omitnil,omitempty" name:"AckFloodThreshold"` // ACK packet threshold // Note: This field may return null, indicating that no valid values can be obtained. AckFloodPktThreshold *uint64 `json:"AckFloodPktThreshold,omitnil,omitempty" name:"AckFloodPktThreshold"` // SYNACK traffic threshold // Note: This field may return null, indicating that no valid values can be obtained. SynAckFloodThreshold *uint64 `json:"SynAckFloodThreshold,omitnil,omitempty" name:"SynAckFloodThreshold"` // SYNACK packet threshold // Note: This field may return null, indicating that no valid values can be obtained. SynAckFloodPktThreshold *uint64 `json:"SynAckFloodPktThreshold,omitnil,omitempty" name:"SynAckFloodPktThreshold"` // RST traffic threshold // Note: This field may return null, indicating that no valid values can be obtained. RstFloodThreshold *uint64 `json:"RstFloodThreshold,omitnil,omitempty" name:"RstFloodThreshold"` // RST packet threshold // Note: This field may return null, indicating that no valid values can be obtained. RstFloodPktThreshold *uint64 `json:"RstFloodPktThreshold,omitnil,omitempty" name:"RstFloodPktThreshold"` }
type ProtocolBlockConfig ¶
type ProtocolBlockConfig struct { // TCP blocking. Valid values: `0` (disabled), `1`(enabled). DropTcp *int64 `json:"DropTcp,omitnil,omitempty" name:"DropTcp"` // UDP blocking. Valid values: `0` (disabled), `1`(enabled). DropUdp *int64 `json:"DropUdp,omitnil,omitempty" name:"DropUdp"` // ICMP blocking. Valid values: `0` (disabled), `1`(enabled). DropIcmp *int64 `json:"DropIcmp,omitnil,omitempty" name:"DropIcmp"` // Other protocol blocking. Valid values: `0` (disabled), `1`(enabled). DropOther *int64 `json:"DropOther,omitnil,omitempty" name:"DropOther"` // Null connection protection. Valid values: `0` (disabled), `1` (enabled). CheckExceptNullConnect *int64 `json:"CheckExceptNullConnect,omitnil,omitempty" name:"CheckExceptNullConnect"` // PoD protection. Values: `0` (disable), `1` (enable). PingOfDeath *int64 `json:"PingOfDeath,omitnil,omitempty" name:"PingOfDeath"` // Teardrop protection. Values: `0` (disable), `1` (enable). TearDrop *int64 `json:"TearDrop,omitnil,omitempty" name:"TearDrop"` }
type ProtocolBlockRelation ¶
type ProtocolBlockRelation struct { // Protocol blocking configuration ProtocolBlockConfig *ProtocolBlockConfig `json:"ProtocolBlockConfig,omitnil,omitempty" name:"ProtocolBlockConfig"` // Anti-DDoS instance configured InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitnil,omitempty" name:"InstanceDetailList"` }
type ProtocolPort ¶
type ProxyTypeInfo ¶
type ProxyTypeInfo struct { // List of forwarding listening ports. Value range: 1–65535. ProxyPorts []*int64 `json:"ProxyPorts,omitnil,omitempty" name:"ProxyPorts"` // Forwarding protocol: // `http`: HTTP protocol // `https`: HTTPS protocol // ] ProxyType *string `json:"ProxyType,omitnil,omitempty" name:"ProxyType"` }
type RegionInfo ¶
type RegionInfo struct { // Region name, such as `ap-guangzhou` Region *string `json:"Region,omitnil,omitempty" name:"Region"` }
type RuleInstanceRelation ¶
type SchedulingDomainInfo ¶
type SchedulingDomainInfo struct { // Scheduling domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // List of line IPs LineIPList []*IPLineInfo `json:"LineIPList,omitnil,omitempty" name:"LineIPList"` // Scheduling mode. Valid value: `priority` (priority scheduling). Method *string `json:"Method,omitnil,omitempty" name:"Method"` // TTL value recorded from the scheduling domain name resolution TTL *uint64 `json:"TTL,omitnil,omitempty" name:"TTL"` // Running status. Valid values: // `0`: not running // `1`: running // `2`: abnormal // ] Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Creation time CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // Last modification time ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` // Domain name // Note: This field may return `null`, indicating that no valid value can be obtained. UsrDomainName *string `json:"UsrDomainName,omitnil,omitempty" name:"UsrDomainName"` }
type SourceServer ¶
type SourceServer struct { // Types of the real server address, such as IP or domain name. RealServer *string `json:"RealServer,omitnil,omitempty" name:"RealServer"` // Types of the real server address: // `1`: domain name // `2`: IP // ] RsType *int64 `json:"RsType,omitnil,omitempty" name:"RsType"` // Forward weight of the real server. Value range: 1–100. Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"` // Port number. Value range: 0-65535. Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` }
type SpeedValue ¶
type StaticPackRelation ¶
type StaticPackRelation struct { // Base protection bandwidth // Note: This field may return `null`, indicating that no valid value can be obtained. ProtectBandwidth *uint64 `json:"ProtectBandwidth,omitnil,omitempty" name:"ProtectBandwidth"` // Application bandwidth // Note: This field may return `null`, indicating that no valid value can be obtained. NormalBandwidth *uint64 `json:"NormalBandwidth,omitnil,omitempty" name:"NormalBandwidth"` // Forwarding rules // Note: This field may return `null`, indicating that no valid value can be obtained. ForwardRulesLimit *uint64 `json:"ForwardRulesLimit,omitnil,omitempty" name:"ForwardRulesLimit"` // Auto-renewal flag // Note: This field may return `null`, indicating that no valid value can be obtained. AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // Expiration time // Note: This field may return `null`, indicating that no valid value can be obtained. CurDeadline *string `json:"CurDeadline,omitnil,omitempty" name:"CurDeadline"` }
type SuccessCode ¶
type SwitchWaterPrintConfigRequest ¶
type SwitchWaterPrintConfigRequest struct { *tchttp.BaseRequest // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Watermark status. `1`: enabled; `0`: disabled. OpenStatus *int64 `json:"OpenStatus,omitnil,omitempty" name:"OpenStatus"` // Whether to enable proxy. Values: `1` (Enable proxy and ignore IP+port verification), `0` (Do not enable proxy and IP+port verification is required) CloudSdkProxy *int64 `json:"CloudSdkProxy,omitnil,omitempty" name:"CloudSdkProxy"` }
func NewSwitchWaterPrintConfigRequest ¶
func NewSwitchWaterPrintConfigRequest() (request *SwitchWaterPrintConfigRequest)
func (*SwitchWaterPrintConfigRequest) FromJsonString ¶
func (r *SwitchWaterPrintConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SwitchWaterPrintConfigRequest) ToJsonString ¶
func (r *SwitchWaterPrintConfigRequest) ToJsonString() string
type SwitchWaterPrintConfigRequestParams ¶
type SwitchWaterPrintConfigRequestParams struct { // Anti-DDoS instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Watermark status. `1`: enabled; `0`: disabled. OpenStatus *int64 `json:"OpenStatus,omitnil,omitempty" name:"OpenStatus"` // Whether to enable proxy. Values: `1` (Enable proxy and ignore IP+port verification), `0` (Do not enable proxy and IP+port verification is required) CloudSdkProxy *int64 `json:"CloudSdkProxy,omitnil,omitempty" name:"CloudSdkProxy"` }
Predefined struct for user
type SwitchWaterPrintConfigResponse ¶
type SwitchWaterPrintConfigResponse struct { *tchttp.BaseResponse Response *SwitchWaterPrintConfigResponseParams `json:"Response"` }
func NewSwitchWaterPrintConfigResponse ¶
func NewSwitchWaterPrintConfigResponse() (response *SwitchWaterPrintConfigResponse)
func (*SwitchWaterPrintConfigResponse) FromJsonString ¶
func (r *SwitchWaterPrintConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SwitchWaterPrintConfigResponse) ToJsonString ¶
func (r *SwitchWaterPrintConfigResponse) ToJsonString() string
type SwitchWaterPrintConfigResponseParams ¶
type SwitchWaterPrintConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type WaterPrintConfig ¶
type WaterPrintConfig struct { // Watermark offset. Value range: [0, 100). Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Start status. Valid values: // `0`: manual start // `1`: instant start // ] OpenStatus *int64 `json:"OpenStatus,omitnil,omitempty" name:"OpenStatus"` // List of forwarding listeners configured Listeners []*ForwardListener `json:"Listeners,omitnil,omitempty" name:"Listeners"` // A list of watermark keys is generated after a watermark is added successfully. Each watermark can have up to 2 keys. When there is only one valid key, it cannot be deleted. Keys []*WaterPrintKey `json:"Keys,omitnil,omitempty" name:"Keys"` // Watermark checking mode, which can be: // `checkall`: normal mode // `shortfpcheckall`: compact mode // ] Verify *string `json:"Verify,omitnil,omitempty" name:"Verify"` // Whether to enable proxy. Values: `1` (Enable proxy and ignore IP+port verification), `0` (Do not enable proxy and IP+port verification is required) // Note: This field may return null, indicating that no valid values can be obtained. CloudSdkProxy *int64 `json:"CloudSdkProxy,omitnil,omitempty" name:"CloudSdkProxy"` }
type WaterPrintKey ¶
type WaterPrintKey struct { // Key version KeyVersion *string `json:"KeyVersion,omitnil,omitempty" name:"KeyVersion"` // Key content KeyContent *string `json:"KeyContent,omitnil,omitempty" name:"KeyContent"` // Key ID KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"` // Key status. Valid value: `1` (enabled). KeyOpenStatus *int64 `json:"KeyOpenStatus,omitnil,omitempty" name:"KeyOpenStatus"` // Key creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` }
type WaterPrintRelation ¶
type WaterPrintRelation struct { // Watermark configuration WaterPrintConfig *WaterPrintConfig `json:"WaterPrintConfig,omitnil,omitempty" name:"WaterPrintConfig"` // Anti-DDoS instance configured InstanceDetailList []*InstanceRelation `json:"InstanceDetailList,omitnil,omitempty" name:"InstanceDetailList"` }