All Products
Search
Document Center

Cloud Monitor:DescribeContactListByContactGroup

Last Updated:Jun 11, 2026

Mengkueri kontak peringatan di kelompok kontak peringatan.

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

cms:DescribeContactListByContactGroup

get

*全部资源

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

ContactGroupName

string

Yes

Nama kelompok kontak peringatan.

CloudMonitor

Elemen respons

Element

Type

Description

Example

object

Code

string

The HTTP status code.

Catatan

The status code 200 indicates that the request was successful.

200

Message

string

The returned message.

The group is not exists.

RequestId

string

The request ID.

06D5ECC2-B9BE-42A4-8FA3-1A610FB08B83

Success

boolean

Indicates whether the request was successful. Valid values:

  • true

  • false

true

Contacts

object

Contact

array<object>

The alert contacts that receive alert notifications.

array<object>

UpdateTime

integer

The time when the alert contact was modified.

Unit: milliseconds.

1552323252000

Name

string

The name of the alert contact.

Alice

CreateTime

integer

The time when the alert contact was created.

Unit: milliseconds.

1552314252000

Desc

string

The description of the alert contact.

ECS

Channels

object

The alert notification methods.

Mail

string

The email address of the alert contact.

alice@example.com

AliIM

string

The TradeManager ID of the alert contact.

Catatan

This parameter can be returned only on the China site (aliyun.com).

Alice

DingWebHook

string

The webhook URL of the DingTalk chatbot.

https://oapi.dingtalk.com/robot/send?access_token=9bf44f8189597d07dfdd7a123455ffc112****

SMS

string

The mobile number of the alert contact.

Catatan

This parameter can be returned only on the China site (aliyun.com).

1333333****

Contoh

Respons sukses

JSONformat

{
  "Code": "200",
  "Message": "The group is not exists.",
  "RequestId": "06D5ECC2-B9BE-42A4-8FA3-1A610FB08B83",
  "Success": true,
  "Contacts": {
    "Contact": [
      {
        "UpdateTime": 1552323252000,
        "Name": "Alice",
        "CreateTime": 1552314252000,
        "Desc": "ECS",
        "Channels": {
          "Mail": "alice@example.com",
          "AliIM": "Alice",
          "DingWebHook": "https://oapi.dingtalk.com/robot/send?access_token=9bf44f8189597d07dfdd7a123455ffc112****",
          "SMS": "1333333****"
        }
      }
    ]
  }
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 %s %s
500 %s %s
500 InternalError The request processing has failed due to some unknown error.
403 %s %s
404 %s %s

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.