Retrieves a list of configuration sets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dm:ConfigSetList |
none |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageIndex |
string |
No |
The page number. The value starts from 1. |
1 |
| PageSize |
string |
No |
The number of entries to return on each page. |
10 |
| Keyword |
string |
No |
The keyword used to search for configuration set names. |
xxx |
| All |
boolean |
No |
Specifies whether to query all configuration sets. This parameter is optional. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response |
||
| TotalCounts |
integer |
The total number of entries that meet the query conditions. |
5 |
| RequestId |
string |
The request ID. |
xxx |
| CurrentPage |
integer |
The current page number. |
1 |
| HasMore |
boolean |
Indicates whether a next page of results is available. Valid values:
|
false |
| PageSize |
integer |
The number of entries returned on each page. |
10 |
| ConfigSets |
array<object> |
The list of configuration sets. |
|
|
array<object> |
The details of a configuration set. |
||
| IpPool |
object |
The IP pool. |
|
| IpPoolName |
string |
The name of the associated IP pool. |
xxx |
| IpPoolId |
string |
The ID of the associated IP pool. |
xxx |
| Description |
string |
The description. |
xxx |
| FromAddresses |
array |
The list of associated sender addresses. |
|
|
string |
The sender address. |
xxx@xxx.com |
|
| Id |
string |
The ID of the configuration set. |
xxx |
| Name |
string |
The name of the configuration set. |
xxx |
Examples
Success response
JSON format
{
"TotalCounts": 5,
"RequestId": "xxx",
"CurrentPage": 1,
"HasMore": false,
"PageSize": 10,
"ConfigSets": [
{
"IpPool": {
"IpPoolName": "xxx",
"IpPoolId": "xxx"
},
"Description": "xxx",
"FromAddresses": [
"xxx@xxx.com"
],
"Id": "xxx",
"Name": "xxx"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.