All Products
Search
Document Center

PolarDB:DescribeGlobalSecurityIPGroupRelation

Last Updated:Jun 10, 2026

Mengkueri hubungan antara kluster dan templat daftar putih IP global.

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

polardb:DescribeGlobalSecurityIPGroupRelation

get

*DBCluster

acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id}

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

RegionId

string

Yes

ID Wilayah templat daftar putih IP.

cn-hangzhou

DBClusterId

string

Yes

ID kluster.

pc-*****************

ResourceGroupId

string

No

ID kelompok sumber daya.

rg-**********

Elemen respons

Element

Type

Description

Example

object

DBClusterId

string

The ID of cluster.

pc-*****************

RequestId

string

The ID of the request.

9B7BFB11-C077-4FE3-B051-F69CEB******

GlobalSecurityIPGroupRel

array<object>

The details of the global IP whitelist template.

object

GlobalSecurityGroupId

string

The ID of the global IP whitelist template.

g-zsldxfiwjmti0kcm****

GIpList

string

The IP address in the global IP whitelist template.

Catatan

Separate multiple IP addresses with commas (,). You can add up to 1,000 IP addresses or CIDR blocks to all IP whitelists.

192.168.0.1

RegionId

string

The ID of the region.

cn-hangzhou

GlobalIgName

string

The name of the global IP whitelist template. The name must meet the following requirements:

  • The name can contain lowercase letters, digits, and underscores (_).

  • The name must start with a letter and end with a letter or a digit.

  • The name must be 2 to 120 characters in length.

test_123

Contoh

Respons sukses

JSONformat

{
  "DBClusterId": "pc-*****************",
  "RequestId": "9B7BFB11-C077-4FE3-B051-F69CEB******",
  "GlobalSecurityIPGroupRel": [
    {
      "GlobalSecurityGroupId": "g-zsldxfiwjmti0kcm****",
      "GIpList": "192.168.0.1",
      "RegionId": "cn-hangzhou",
      "GlobalIgName": "test_123"
    }
  ]
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 RequiredParam.NotFound Required input param is not found. The specified parameter does not exist.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.