All Products
Search
Document Center

Auto Scaling:DescribeDiagnoseReports

Last Updated:Jun 12, 2026

Mengkueri daftar laporan diagnostik kesehatan.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

ess:DescribeDiagnoseReports

get

*All Resource

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

RegionId

string

Yes

ID wilayah tempat grup penskalaan berada.

cn-shenzhen

ScalingGroupId

string

Yes

ID grup penskalaan.

asg-2vcis7yglxtm*****

ReportIds

array

No

Daftar ID laporan diagnostik. Mendukung maksimal 20 ID.

string

No

ID laporan diagnostik.

dr-j6c7wvdzk5103bkm8cx4

PageNumber

integer

No

Nomor halaman saat ini.

1

PageSize

integer

No

Jumlah entri per halaman.

10

Elemen respons

Element

Type

Description

Example

object

Skema Tanggapan.

RequestId

string

ID permintaan.

ECA123C6-107B-5F70-A177-740A7224C996

Reports

array<object>

Daftar laporan diagnostik.

array<object>

Detail laporan.

UserId

string

ID pengguna grup penskalaan.

161456884*******

RegionId

string

ID wilayah.

cn-qingdao

ScalingGroupId

string

ID grup penskalaan.

asg-bp124uve5iph3*****

Details

array<object>

Detail laporan diagnostik.

object

DiagnoseType

string

The type of the diagnostic item. Valid values:

  • AccountArrearage: Checks whether your Alibaba Cloud account has overdue payments.

  • AccountNotEnoughBalance: Checks whether the balance of your Alibaba Cloud account at the China site (aliyun.com) is greater than or equal to CNY 100.

  • ElasticStrength: Checks whether the instance types that are specified in the scaling configuration are sufficient.

  • VSwitch: Checks whether a specific vSwitch can work as expected. For example, if a vSwitch is deleted, the vSwitch cannot provide services and an exception occurs.

  • SecurityGroup: Checks whether a specific security group can work as expected. For example, if a security group is deleted, the security group cannot provide services and an exception occurs.

  • KeyPair: Checks whether the key pair is available. If the specified key pair is deleted, specify another key pair for the scaling group.

  • SlbBackendServerQuota: Checks whether the number of ECS instances that are added to the default server group and the vServer groups of the SLB instances associated with the scaling group has reached the upper limit.

  • AlbBackendServerQuota: Checks whether the number of ECS instances that are added to the backend server groups of the ALB instances associated with the scaling group has reached the upper limit.

  • NlbBackendServerQuota: Checks whether the number of ECS instances that are added to the backend server groups of the NLB instances associated with the scaling group has reached the upper limit.

AccountArrearage

ResourceId

string

The ID of the resource.

sg-280ih****

Status

string

The status of the diagnostic item. Valid values:

  • Normal: The diagnostic result is normal.

  • Warn: The diagnostic result is warning.

  • Critical: The diagnostic result is critical.

Normal

ErrorCode

string

The error code of the diagnostic item. Valid values:

  • VSwitchIdNotFound: The vSwitch does not exist.

  • SecurityGroupNotFound: The security group does not exist.

  • KeyPairNotFound: The key pair does not exist.

  • SlbBackendServerQuotaExceeded: The number of ECS instances that are added to the default server group and the vServer groups of the SLB instances associated with the scaling group has reached the upper limit.

  • AlbBackendServerQuotaExceeded: The number of ECS instances that are attached to the ALB instances of the scaling group has reached the upper limit.

  • NlbBackendServerQuotaExceeded: The number of ECS instances that are attached to the NLB instances of the scaling group has reached the upper limit.

  • AccountArrearage: Your account has overdue payments.

  • AccountNotEnoughBalance: The balance of your Alibaba Cloud account is less than CNY 100.

  • ElasticStrengthAlert: The inventory levels are lower than expected.

VSwitchIdNotFound

ReportId

string

ID laporan diagnostik.

dr-bp14p0cjp7wvjob5l6hk

ProcessStatus

string

Status laporan diagnostik. Nilai valid:

  • Processing: Sedang diproses.

  • Finished: Selesai.

Finished

DiagnoseStatus

string

Status diagnostik, yang merupakan item dengan tingkat keparahan tertinggi dalam daftar detail diagnostik. Nilai valid:

  • Normal: Hasil diagnostik normal.

  • Warn: Hasil diagnostik berupa peringatan.

  • Critical: Hasil diagnostik kritis.

Normal

CreationTime

string

Pengatur waktu pembuatan laporan diagnostik.

2024-08-23T02:22:30Z

PageNumber

integer

Nomor halaman yang dikembalikan.

1

PageSize

integer

Jumlah entri per halaman.

10

TotalCount

integer

Jumlah total laporan diagnostik.

5

Contoh

Respons sukses

JSONformat

{
  "RequestId": "ECA123C6-107B-5F70-A177-740A7224C996",
  "Reports": [
    {
      "UserId": "161456884*******",
      "RegionId": "cn-qingdao",
      "ScalingGroupId": "asg-bp124uve5iph3*****",
      "Details": [
        {
          "DiagnoseType": "AccountArrearage",
          "ResourceId": "sg-280ih****",
          "Status": "Normal",
          "ErrorCode": "VSwitchIdNotFound"
        }
      ],
      "ReportId": "dr-bp14p0cjp7wvjob5l6hk",
      "ProcessStatus": "Finished",
      "DiagnoseStatus": "Normal",
      "CreationTime": "2024-08-23T02:22:30Z"
    }
  ],
  "PageNumber": 1,
  "PageSize": 10,
  "TotalCount": 5
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.