查询无地域策略绑定的云资源。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ecd:DescribeResourceByCenterPolicyId |
list |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| PolicyGroupId |
string |
是 |
策略 ID。 |
pg-53iyi2aar0nd6**** |
| ProductType |
string |
否 |
产品类型。 枚举值:
|
desktop |
| MaxResults |
integer |
否 |
分页查询时每页行数。
|
10 |
| NextToken |
string |
否 |
下一个查询开始的 Token。 |
AAAAAV3MpHK1AP0pfERHZN5pu6l69tQX7yFxx6/4dbooBAOc |
| ResourceId |
string |
否 |
资源 ID。 |
ecd-ia2zw38bi6cm7**** |
| ResourceName |
string |
否 |
资源名称。 |
testName |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| Count |
string |
总数。 |
2 |
| NextToken |
string |
下一个查询开始的 Token,NextToken 为空表示没有下一个。 |
caeba0bbb2be03f84eb48b699f0a4883 |
| RequestId |
string |
请求 ID。 |
48174475-5EB2-5F99-A9E9-6F892D645**** |
| ResourceModelList |
array<object> |
资源列表。 |
|
|
array<object> |
|||
| AppModelList |
array<object> |
云应用列表。 |
|
|
object |
|||
| AppId |
string |
应用 ID。资源类型为 App 的资源特有参数。 |
18 |
| AppName |
string |
应用名称。 |
alipic-powergem |
| Cpu |
integer |
vCPU 核数。 |
64 |
| DesktopType |
string |
目标云电脑规格。您可以调用 DescribeDesktopTypes 查询无影云电脑支持的规格 ID。 |
eds.enterprise_office.8c32g |
| GpuCount |
number |
GPU 核数。 |
0.125 |
| GpuSpec |
string |
GPU 类型。 |
2GiB |
| Memory |
integer |
内存大小。单位:MiB。 |
10240 |
| OsType |
string |
操作系统类型。 |
Linux |
| PayType |
string |
付费类型。 |
postPaid |
| ProductType |
string |
产品类型。 |
desktop |
| ProtocolType |
string |
协议类型。 |
ASP |
| ResourceGroupId |
string |
资源组 ID。 |
rg-d7pasxsd3b9nhq** |
| ResourceGroupName |
string |
资源组名称。 |
test |
| ResourceGroupRelCount |
integer |
资源组关联数量 |
10 |
| ResourceId |
string |
资源 ID。 |
ecd-7o96aa08fr**** |
| ResourceName |
string |
资源名称。 |
运维 |
| ResourceRegionId |
string |
资源所在地域。 |
cn-shenzhen |
| ResourceType |
string |
资源类型。 |
desktop |
| Status |
string |
资源状态。 |
Stopped |
示例
正常返回示例
JSON格式
{
"Count": "2",
"NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
"RequestId": "48174475-5EB2-5F99-A9E9-6F892D645****",
"ResourceModelList": [
{
"AppModelList": [
{
"AppId": "18",
"AppName": "alipic-powergem"
}
],
"Cpu": 64,
"DesktopType": "eds.enterprise_office.8c32g",
"GpuCount": 0.125,
"GpuSpec": "2GiB",
"Memory": 10240,
"OsType": "Linux",
"PayType": "postPaid",
"ProductType": "desktop",
"ProtocolType": "ASP",
"ResourceGroupId": "rg-d7pasxsd3b9nhq**",
"ResourceGroupName": "test",
"ResourceGroupRelCount": 10,
"ResourceId": "ecd-7o96aa08fr****",
"ResourceName": "运维",
"ResourceRegionId": "cn-shenzhen",
"ResourceType": "desktop",
"Status": "Stopped"
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。