DescribeShareImage
Queries the list of Alibaba Cloud accounts with which the current image is shared.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:DescribeShareImage |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ImageId |
string |
No |
The image ID. |
img-bp13mu**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PlainResult |
||
| Data |
object |
The response object. |
None |
| AliUidList |
array |
The list of Alibaba Cloud account IDs with which the image is shared. |
|
|
integer |
The Alibaba Cloud account ID with which the image is shared. |
176102063125**** |
|
| Success |
boolean |
Indicates whether the request is successful. |
true |
| Code |
string |
The error code. |
Image.NotExist |
| Message |
string |
The message returned by the request. |
success |
| RequestId |
string |
The request ID. |
01A0C2ED-95F2-1A37-9FC6-4A395179**** |
Examples
Success response
JSON format
{
"Data": {
"AliUidList": [
0
]
},
"Success": true,
"Code": "Image.NotExist",
"Message": "success",
"RequestId": "01A0C2ED-95F2-1A37-9FC6-4A395179****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalError | Internal error. | An internal error occurred. |
| 400 | InvalidParameter.ImageId | The image ID is invalid. | The image ID is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.