查询指定资源类型支持的资源关系。
接口说明
本文将提供一个示例,查询资源类型 ACS::ECS::Instance 支持的资源关系列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 | 
|---|---|---|---|---|
| ResourceType | string | 是 | 资源类型。 | ACS::ECS::Instance | 
返回参数
示例
正常返回示例
JSON格式
{
  "ResourceRelationConfigList": [
    {
      "TargetResourceType": "ACS::ECS::Disk",
      "RelationType": "IsAttachedTo"
    }
  ],
  "RequestId": "409D022F-394C-5AAB-A74A-2F1DC9F6375E"
}错误码
| HTTP status code | 错误码 | 错误信息 | 描述 | 
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | 您无权执行此操作。 | 
| 404 | AccountNotExisted | Your account does not exist. | - | 
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | 服务不可用。 | 
访问错误中心查看更多错误码。
变更历史
| 变更时间 | 变更内容概要 | 操作 | 
|---|
暂无变更历史
