Mendapatkan statistik penggunaan sumber daya pekerjaan.
Deskripsi operasi
For the current service endpoint, see endpoint.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeJobResourceUsage |
get |
*DBClusterLakeVersion
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID Kluster Edisi Danau Data Terpadu.. |
am-uf6g8w25jacm7**** |
| StartTime |
string |
Yes |
Pengatur waktu mulai kueri. Format: yyyy-MM-ddTHH:mm:ssZ (pengatur waktu UTC). |
2023-02-04T03:45:00Z |
| EndTime |
string |
Yes |
Pengatur waktu akhir kueri. Harus lebih lambat dari pengatur waktu mulai kueri. Format: yyyy-MM-ddTHH:mm:ssZ (pengatur waktu UTC). |
2023-03-17T16:00:00Z |
| PageNumber |
integer |
No |
Nomor halaman. Nilai valid: bilangan bulat positif. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah rekaman per halaman. Nilai valid:
Nilai default: 30. |
30 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
PlainResponse |
||
| RequestId |
string |
Request ID. |
1AD222E9-E606-4A42-BF6D-8A4442913CEF |
| Code |
integer |
API status or POP error code. |
200 |
| Data |
object |
Response data. |
|
| DBClusterId |
string |
Data Lakehouse Edition cluster ID. |
amv-clusterxxx |
| StartTime |
string |
Start time. Format: yyyy-MM-ddTHH:mmZ (UTC time). |
2023-05-22T16:00:00Z |
| EndTime |
string |
End time. Format: yyyy-MM-ddTHH:mmZ (UTC time). |
2023-05-23T16:00:00Z |
| JobAcuUsage |
array<object> |
ACU usage for Job-type resource groups. |
|
|
array<object> |
|||
| JobId |
string |
The job ID. |
1592 |
| ResourceGroupName |
string |
The name of the job resource group. |
job_default |
| JobStartTime |
string |
The start time of the job. The time is in the yyyy-MM-ddTHH:mmZ format and in UTC. |
2023-05-22T16:00:00Z |
| JobEndTime |
string |
The end time of the job. The time is in the yyyy-MM-ddTHH:mmZ format and in UTC. |
2023-05-23T16:00:00Z |
| AcuUsageDetail |
object |
The ACU usage details. |
|
| TotalAcuNumber |
number |
The total number of ACUs. |
32ACU |
| ReservedAcuNumber |
number |
The number of reserved ACUs. |
16ACU |
| ElasticAcuNumber |
number |
The number of elastic ACUs. |
16ACU |
| SpotAcuNumber |
number |
The number of ACUs for spot instances. |
16ACU |
| SpotAcuPercentage |
number |
The proportion of ACUs for spot instances to the total elastic ACUs. |
0.9 |
| UseCachePool |
boolean |
false |
|
| PageNumber |
integer |
Page number. |
1 |
| PageSize |
integer |
Number of records per page. |
30 |
| TotalCount |
integer |
Total number of records. |
100 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF",
"Code": 200,
"Data": {
"DBClusterId": "amv-clusterxxx",
"StartTime": "2023-05-22T16:00:00Z",
"EndTime": "2023-05-23T16:00:00Z\n",
"JobAcuUsage": [
{
"JobId": "1592",
"ResourceGroupName": "job_default",
"JobStartTime": "2023-05-22T16:00:00Z\n",
"JobEndTime": "2023-05-23T16:00:00Z",
"AcuUsageDetail": {
"TotalAcuNumber": 0,
"ReservedAcuNumber": 0,
"ElasticAcuNumber": 0,
"SpotAcuNumber": 0,
"SpotAcuPercentage": 0.9
},
"UseCachePool": false
}
],
"PageNumber": 1,
"PageSize": 30,
"TotalCount": 100
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.