ModifyDDoSPolicyCase

Last updated: 2020-07-31 10:08:56

1. API Description

Domain name for API request: dayu.tencentcloudapi.com.

This API is used to modify a policy scenario.

A maximum of 10 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common parameter. The value used for this API: ModifyDDoSPolicyCase.
Version Yes String Common parameter. The value used for this API: 2018-07-09.
Region No String Common parameter. This parameter is not required for this API.
Business Yes String 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
SceneId Yes String Policy scenario ID
PlatformTypes.N No Array of String Development platform. Valid values: [PC (PC client), MOBILE (mobile device), TV (TV), SERVER (server)]
AppType No String Category. Valid values: [WEB (website), GAME (game), APP (application), OTHER (other)]
AppProtocols.N No Array of String Application protocol. Valid values: [tcp (TCP protocol), udp (UDP protocol), icmp (ICMP protocol), all (other protocols)]
TcpSportStart No String TCP start port. Value range: (0, 65535]
TcpSportEnd No String TCP end port. Value range: (0, 65535). It must be greater than or equal to the TCP start port
UdpSportStart No String UDP start port. Value range: (0, 65535]
UdpSportEnd No String End UDP business port. Value range: (0, 65535). It must be greater than or equal to the start UDP business port
HasAbroad No String Whether there are customers outside Mainland China. Valid values: [no, yes]
HasInitiateTcp No String Whether to actively initiate outbound TCP requests. Valid values: [no, yes]
HasInitiateUdp No String Whether to actively initiate outbound UDP requests. Valid values: [no, yes]
PeerTcpPort No String Port that actively initiates TCP requests. Value range: (0, 65535]
PeerUdpPort No String Port that actively initiates UDP requests. Value range: (0, 65535]
TcpFootprint No String Fixed feature code of TCP payload. String length limit: 512
UdpFootprint No String Fixed feature code of UDP payload. String length limit: 512
WebApiUrl.N No Array of String Web business API URL
MinTcpPackageLen No String Minimum length of TCP business packet. Value range: (0, 1500)
MaxTcpPackageLen No String Maximum length of TCP business packet. Value range: (0, 1500). It must be greater than or equal to the minimum length of TCP business packet
MinUdpPackageLen No String Minimum length of UDP business packet. Value range: (0, 1500)
MaxUdpPackageLen No String Maximum length of UDP business packet. Value range: (0, 1500). It must be greater than or equal to the minimum length of UDP business packet
HasVPN No String Whether there are VPN businesses. Valid values: [no, yes]
TcpPortList No String TCP business port list. Individual ports and port ranges are supported, which should be in string type, such as 80,443,700-800,53,1000-3000
UdpPortList No String UDP business port list. Individual ports and port ranges are supported, which should be in string type, such as 80,443,700-800,53,1000-3000

3. Output Parameters

Parameter Name Type Description
Success SuccessCode Success code
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Modifying policy scenario

Input Example

https://dayu.tencentcloudapi.com/?Action=ModifyDDoSPolicyCase
&Business=bgpip
&SceneId=scene-00000003
&PlatformTypes.0=PC
&PlatformTypes.1=TV
&AppType=WEB
&AppProtocols.0=tcp
&TcpPortList=80,443,600-700,888
&UdpPortList=80,443,600-700,888
&<Common request parameters>

Output Example

{
  "Response": {
    "RequestId": "eac6b301-a322-493a-8e36-83b295459397",
    "Success": {
      "Code": "Success",
      "Message": "Success"
    }
  }
}

5. Developer Resources

API Explorer

This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

There is no error code related to the API business logic. For other error codes, please see Common Error Codes.

Was this page helpful?

Was this page helpful?

  • Not at all
  • Not very helpful
  • Somewhat helpful
  • Very helpful
  • Extremely helpful
Send Feedback
Help