Queries the configurations of a module.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetModuleConfig |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CurrentPage |
string |
No |
The page number to return. |
1 |
| PageSize |
string |
No |
The number of entries to return on each page. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. You can use it to locate and troubleshoot issues. |
291B49F9-1685-4005-9D34-606B6F78**** |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| ModuleConfigList |
array<object> |
The module configurations. |
|
|
array<object> |
The module configuration details. |
||
| ModuleName |
string |
The name of the module. |
alihids |
| ConfigName |
string |
The name of the configuration. |
timescan |
| Items |
array<object> |
The configuration items. |
|
|
object |
The object information. |
||
| Uuid |
string |
The UUID of the server. |
a47e3713-ed22-4015-93a3-d88ebe6**** |
| GroupId |
integer |
The ID of the server group to which the server belongs. |
5562414 |
| InstanceName |
string |
The instance name of the server. |
inStanceName**** |
| Region |
string |
The region in which the server resides. |
cn-hangzhou |
| Ip |
string |
The IP address of the server. |
2.2.X.X |
| InstanceId |
string |
The instance ID of the server. |
i-uf6435dn4t59b9av**** |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
20 |
| TotalCount |
integer |
The total number of entries. |
100 |
| Count |
integer |
The number of entries on the current page. |
100 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "291B49F9-1685-4005-9D34-606B6F78****",
"Success": true,
"ModuleConfigList": [
{
"ModuleName": "alihids",
"ConfigName": "timescan",
"Items": [
{
"Uuid": "a47e3713-ed22-4015-93a3-d88ebe6****",
"GroupId": 5562414,
"InstanceName": "inStanceName****",
"Region": "cn-hangzhou",
"Ip": "2.2.X.X",
"InstanceId": "i-uf6435dn4t59b9av****"
}
]
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 100,
"Count": 100
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.