获取分组结构。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
yundun-sas:DescribeGroupStruct |
none |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Lang |
string |
否 |
设置请求和接收消息的语言类型,默认为 zh。取值:
|
zh |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回对象。 |
||
| RequestId |
string |
本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。 |
9FBC6E47-7508-58C9-9E76-528E118C**** |
| GroupId |
integer |
资产分组的 ID。 |
958**** |
| GroupName |
string |
服务器分组名称。 |
TestGroupName |
| MachineNum |
integer |
服务器的数量。 |
30 |
| GroupIndex |
integer |
排序序号。 |
1 |
| GroupFather |
integer |
分组父节点。 |
958**** |
| GroupLevel |
integer |
应用分组的级别。 |
2 |
| GroupFlag |
integer |
服务器分组类型。取值:
|
0 |
| Groups |
array |
下一级分组集合。 |
|
|
string |
字段同上一级。 |
[ { "groupName": "testfuxian", "groupFather": 0, "groupId": 11501234, "childGroups": [], "groupLevel": 1, "groupIndex": 100, "groupFlag": 1 }, { "groupName": "testfuxian", "groupFather": 0, "groupId": 11501234, "childGroups": [], "groupLevel": 1, "groupIndex": 100, "groupFlag": 1 } ] |
示例
正常返回示例
JSON格式
{
"RequestId": "9FBC6E47-7508-58C9-9E76-528E118C****",
"GroupId": 0,
"GroupName": "TestGroupName",
"MachineNum": 30,
"GroupIndex": 1,
"GroupFather": 0,
"GroupLevel": 2,
"GroupFlag": 0,
"Groups": [
"[\n\t{\n\t\t\"groupName\": \"testfuxian\",\n\t\t\"groupFather\": 0,\n\t\t\"groupId\": 11501234,\n\t\t\"childGroups\": [],\n\t\t\"groupLevel\": 1,\n\t\t\"groupIndex\": 100,\n\t\t\"groupFlag\": 1\n\t},\n\t{\n\t\t\"groupName\": \"testfuxian\",\n\t\t\"groupFather\": 0,\n\t\t\"groupId\": 11501234,\n\t\t\"childGroups\": [],\n\t\t\"groupLevel\": 1,\n\t\t\"groupIndex\": 100,\n\t\t\"groupFlag\": 1\n\t}\n]"
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。