Queries the resource relationships supported by a resource type.
Operation description
This topic provides an example to show how to query the resource relationships that are supported by the ACS::ECS::Instance resource type.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ResourceType | string | Yes | The resource type. | ACS::ECS::Instance |
Response parameters
Examples
Sample success responses
JSON
format
{
"ResourceRelationConfigList": [
{
"TargetResourceType": "ACS::ECS::Disk",
"RelationType": "IsAttachedTo"
}
],
"RequestId": "409D022F-394C-5AAB-A74A-2F1DC9F6375E"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | NoPermission | You are not authorized to perform this operation. | You are not authorized to perform this operation. |
404 | AccountNotExisted | Your account does not exist. | The specified account does not exist. |
503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | The request has failed due to a temporary failure of the server. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history