Calls the DescribeDnsProductInstances operation to query the list of paid Alibaba Cloud DNS instances based on input parameters.
Operation description
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
alidns:DescribeDnsProductInstances | get |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language of the response. Valid values:
Default value: en | en |
UserClientIp | string | No | The IP address of the client. | 192.0.2.0 |
PageNumber | long | No | The number of the page to return. Pages start from page 1. Default value: 1. | 1 |
PageSize | long | No | The number of entries to return on each page. Maximum value: 100. Default value: 20. | 20 |
VersionCode | string | No | The version code of the Alibaba Cloud DNS instance. | version1 |
DomainType | string | No | The type of the domain name. Valid values:
| PUBLIC |
OrderBy | string | No | The method that is used to sort returned entries. Valid values:
| createDate |
Direction | string | No | The order in which you want to sort returned entries. Valid values:
| DESC |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalCount": 2,
"DomainType": "PUBLIC",
"PageSize": 2,
"RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
"PageNumber": 1,
"DnsProducts": {
"DnsProduct": [
{
"OverseaLine": "Countries",
"PaymentType": "Subscription",
"MonitorNodeCount": 5,
"InBlackHole": false,
"BindDomainUsedCount": 3,
"ISPRegionLines": "Telecom (Province), Mobile (Province), Unicom (Province), Education Network (Province)",
"TTLMinValue": 10,
"ISPLines": "China Mobile,China Unicom,China Telecom,China Edu",
"SearchEngineLines": "Search Engine Robots,Google Robots,Baidu Robots,Bing Robots",
"EndTimestamp": 1474335170000,
"VersionName": "Alibaba Cloud DNS",
"VersionCode": "version1",
"MonitorTaskCount": 2,
"BindUsedCount": 1,
"Domain": "example.com",
"MonitorFrequency": 50,
"InClean": false,
"URLForwardCount": 20,
"StartTimestamp": 1474335170000,
"DDosDefendQuery": 50,
"InstanceId": "i-8fj",
"DDosDefendFlow": 50,
"BindCount": 3,
"SubDomainLevel": 6,
"BindDomainCount": 5,
"EndTime": "2015-12-12T00:00Z",
"StartTime": "2015-11-12T09:23Z",
"OverseaDDosDefendFlow": 1,
"RegionLines": true,
"Gslb": true,
"DnsSecurity": "no",
"DnsSLBCount": 15,
"AutoRenewal": true
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-09-20 | API Description Update. The response structure of the API has changed | View Change Details |
2023-05-11 | The request parameters of the API has changed | View Change Details |