Mengkueri satu atau beberapa cloud disk penyimpanan blok yang telah Anda buat.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ebs:DescribeLensMonitorDisks |
list |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. Anda dapat memanggil DescribeRegions untuk mengkueri daftar wilayah yang didukung oleh Lensa EBS. |
cn-hangzhou |
| DiskIds |
array |
No |
Daftar ID cloud disk. |
['d-1', 'd-2'] |
|
string |
No |
ID cloud disk. |
d-cd40hxfu0v***** |
|
| DiskCategory |
string |
No |
Tipe disk. Nilai valid:
|
cloud_auto |
| LensTags |
array |
No |
Daftar tag event cloud disk. Parameter ini digunakan untuk memfilter cloud disk yang mengalami jenis event tersebut dalam 24 jam terakhir. Nilai valid:
|
|
|
string |
No |
Tag event cloud disk. |
NoSnapshot |
|
| NextToken |
string |
No |
Token paginasi. Atur parameter ini ke nilai NextToken yang dikembalikan dalam panggilan API sebelumnya. |
caeba0bbb2be03f84eb48b699f0a**** |
| MaxResults |
integer |
No |
Jumlah entri maksimum per halaman untuk kueri paginasi. Nilai maksimum: 100. Nilai default:
|
10 |
| DiskIdPattern |
string |
No |
Pola ekspresi reguler yang digunakan untuk memfilter ID cloud disk dengan Pencocokan kabur. |
d-cd40hxfu0v* |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
DescribeLensMonitorDisksResponse. |
||
| DiskInfos |
array<object> |
Daftar informasi cloud disk. |
|
|
array<object> |
Informasi cloud disk. |
||
| DiskId |
string |
ID cloud disk. |
d-cd401**** |
| DiskName |
string |
Nama cloud disk. |
disk-28c6b**** |
| DiskType |
string |
Tipe disk. Nilai valid:
|
system |
| DiskStatus |
string |
Status cloud disk. Nilai valid:
|
Available |
| RegionId |
string |
ID wilayah. |
cn-hangzhou |
| DiskCategory |
string |
Tipe disk. Nilai valid:
|
cloud_essd |
| PerformanceLevel |
string |
Tingkat kinerja (PL) ESSD. Parameter ini tidak dikembalikan untuk SSD standar. Nilai valid:
|
PL0 |
| Tags |
array<object> |
Tag cloud disk. |
|
|
object |
Tag cloud disk. |
||
| TagValue |
string |
Nilai tag. |
user |
| TagKey |
string |
Kunci tag. |
tag1 |
| ZoneId |
string |
ID zona cloud disk. |
cn-hangzhou-j |
| Size |
integer |
Ukuran cloud disk. Unit: GiB. |
64 |
| Iops |
integer |
Jumlah maksimum operasi baca/tulis (I/O) per detik. Unit: operasi/detik. |
4000 |
| Bps |
integer |
Jumlah maksimum data yang dapat ditransfer dengan sukses per detik untuk operasi baca/tulis (I/O). Unit: MB/s. |
300 |
| ProvisionedIops |
integer |
IOPS baca/tulis yang disediakan untuk cloud disk ESSD AutoPL. Nilai valid: 0 hingga min{50000, 1000 × kapasitas - garis dasar kinerja}. Garis dasar kinerja = min{1.800 + 50 × kapasitas, 50.000}. Parameter ini hanya didukung ketika |
4000 |
| BurstingEnabled |
boolean |
Apakah burst (lonjakan performa) diaktifkan. Nilai valid:
Parameter ini hanya didukung ketika |
true |
| LensTags |
array |
Tag event cloud disk. Tag event menampilkan event yang terjadi pada cloud disk dalam 24 jam terakhir, dengan keterlambatan hingga 1 jam dibandingkan event aktual. |
|
|
string |
Tag event cloud disk. |
["NoSnapshot", "DiskIOHang"] |
|
| SharingEnabled |
string |
Apakah cloud disk merupakan Disk bersama. |
true |
| NextToken |
string |
Token paginasi. Atur parameter ini ke nilai NextToken yang dikembalikan dalam panggilan API sebelumnya. |
caeba0bbb2be03f84eb48b699f0a**** |
| TotalCount |
integer |
Jumlah total entri yang dikembalikan. |
6 |
| RequestId |
string |
ID permintaan. ID permintaan dikembalikan terlepas dari apakah panggilan API berhasil atau tidak. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
Contoh
Respons sukses
JSONformat
{
"DiskInfos": [
{
"DiskId": "d-cd401****",
"DiskName": "disk-28c6b****",
"DiskType": "system",
"DiskStatus": "Available",
"RegionId": "cn-hangzhou",
"DiskCategory": "cloud_essd",
"PerformanceLevel": "PL0",
"Tags": [
{
"TagValue": "user",
"TagKey": "tag1"
}
],
"ZoneId": "cn-hangzhou-j",
"Size": 64,
"Iops": 4000,
"Bps": 300,
"ProvisionedIops": 4000,
"BurstingEnabled": true,
"LensTags": [
"[\"NoSnapshot\", \"DiskIOHang\"]"
],
"SharingEnabled": "true"
}
],
"NextToken": "caeba0bbb2be03f84eb48b699f0a****",
"TotalCount": 6,
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The parameter %s is invalid. | |
| 400 | InvalidParameter.Conflict | The specified parameter %s and %s are not blank at the same time. | |
| 400 | InvalidParameter.Format | Specified parameter format is not valid. | |
| 400 | MissingParameter | The input parameter %s that is mandatory for processing this request is not supplied. | |
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
| 403 | Forbidden | User is not authorized to operate. | |
| 403 | Forbidden.Action | User is not authorized to operate this action. | |
| 403 | InvalidAccountStatus.NotEnoughBalance | Your account does not have enough balance. | |
| 403 | LastTokenProcessing | The last token request is processing. | |
| 403 | NoPermission.SLR | The RAM user does not have the permission to create service linked role: AliyunServiceLinkedRoleForEBS. | |
| 403 | OperationDenied | The operation is not allowed. | |
| 404 | InvalidApi.NotFound | Specified api is not found, please check your url and method. | |
| 404 | NoSuchResource | The specified resource does not exist. | |
| 504 | RequestTimeout | The request is timeout, please try again later. | |
| 429 | BLOCK.LimitedRequest | Request was denied due to user flow control. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.