DescribeIPProductInfo

Last updated: 2020-07-31 10:09:16

1. API Description

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

This API is used to get the Tencent Cloud asset information corresponding to an IP of a single IP instance or multi-IP instance, which is supported only for IPs of single IP instances and multi-IP instances.

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: DescribeIPProductInfo.
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. bgp: Anti-DDoS Pro (Single IP); bgp-multip: Anti-DDoS Pro (Multi-IP)
IpList.N Yes Array of String IP list

3. Output Parameters

Parameter Name Type Description
Data Array of KeyValueRecord Tencent Cloud product information list. If nothing is found, an empty array will be returned. Valid values:
If Key is ProductName, value indicates the name of a Tencent Cloud product instance;
If Key is ProductInstanceId, value indicates the ID of a Tencent Cloud product instance;
If Key is ProductType, value indicates the Tencent Cloud product type (cvm: CVM, clb: CLB);
If Key is IP, value indicates the IP of a Tencent Cloud product instance;
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Getting Tencent Cloud asset information corresponding to IP of single IP instance or multi-IP instance

Input Example

https://dayu.tencentcloudapi.com/?Action=DescribeIPProductInfo
&Business=bgp
&IpList.0=1.1.1.1
&<Common request parameters>

Output Example

{
  "Response": {
    "RequestId": "8466d9e1-70a9-4575-8e02-df15bd50bc49",
    "Business": "bgpip",
    "ServicePacks": [
      {
        "Record": [
          {
            "Key": "ProductName",
            "Value": "test"
          },
          {
            "Key": "ProductInstanceId",
            "Value": "ins-ryv7esb2"
          },
          {
            "Key": "ProductType",
            "Value": "cvm"
          },
          {
            "Key": "IP",
            "Value": "1.1.1.1"
          }
        ]
      }
    ]
  }
}

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