Mengkueri semua pengguna yang berbagi image kustom. Hasil yang dikembalikan mendukung paginasi, dengan 10 entri per halaman secara default.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DescribeImageSharePermission |
get |
*Image
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah image kustom. Anda dapat memanggil DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-hangzhou |
| ImageId |
string |
Yes |
ID image kustom. |
m-bp1caf3yicx5jlfl**** |
| PageNumber |
integer |
No |
Nomor halaman hasil yang dikembalikan. Nilai minimum: 1. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman dalam hasil yang dikembalikan. Nilai maksimum: 100. Nilai default: 10. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
| PageNumber |
integer |
Nomor halaman hasil yang dikembalikan. |
1 |
| PageSize |
integer |
Jumlah entri per halaman. |
10 |
| TotalCount |
integer |
Jumlah total rekaman. |
1 |
| ImageId |
string |
ID image kustom. |
m-bp1caf3yicx5jlfl**** |
| RegionId |
string |
ID wilayah image. |
cn-hangzhou |
| ShareGroups |
object |
||
| ShareGroup |
array<object> |
Grup berbagi. |
|
|
object |
Grup berbagi. |
||
| Group |
string |
Kelompok berbagi. |
all |
| Accounts |
object |
||
| Account |
array<object> |
Pengguna terdaftar Alibaba Cloud. |
|
|
object |
Pengguna terdaftar Alibaba Cloud. |
||
| AliyunId |
string |
ID akun Alibaba Cloud. |
123456**** |
| SharedTime |
string |
Pengatur waktu ketika Berbagi gambar dimulai. Pengatur waktu mengikuti standar ISO 8601 dan ditampilkan dalam UTC. Format: yyyy-MM-ddTHH:mm:ssZ. |
2023-01-01T12:05:00Z |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 1,
"ImageId": "m-bp1caf3yicx5jlfl****",
"RegionId": "cn-hangzhou",
"ShareGroups": {
"ShareGroup": [
{
"Group": "all"
}
]
},
"Accounts": {
"Account": [
{
"AliyunId": "123456****",
"SharedTime": "2023-01-01T12:05:00Z"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | The input parameter "RegionId "that is mandatory for processing this request is not supplied. | |
| 404 | InvalidImageId.NotFound | The specified image %s does not exist. | 指定的镜像在该用户账号下不存在,请您检查镜像 id 是否正确。 |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.