All Products
Search
Document Center

Key Management Service:DescribeNetworkRule

Last Updated:Jun 10, 2026

Mengambil detail aturan akses jaringan.

Deskripsi operasi

For information about the required access policy for a Resource Access Management (RAM) user or RAM role to call this operation, see Resource Access Management.

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

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

Name

string

Yes

Nama aturan jaringan yang akan dikueri.

networkrule_test

Elemen respons

Element

Type

Description

Example

object

RequestId

string

The ID of the request. Alibaba Cloud generates a unique ID for each request. You can use this ID to troubleshoot issues.

3bf02f7a-015b-4f93-be0f-cc043fda2d33

Arn

string

The ARN of the network rule.

acs:kms:cn-hangzhou:119285303511****:network/networkrule_test

Type

string

The network type. The only valid value is Private, which means only private IP addresses are supported.

Private

Description

string

The description.

Create by kst-hzz62ee817bvyyr5****

SourcePrivateIp

string

The private IP addresses or private CIDR blocks.

["192.10.XX.XX","192.168.XX.XX/24"]

Contoh

Respons sukses

JSONformat

{
  "RequestId": "3bf02f7a-015b-4f93-be0f-cc043fda2d33",
  "Arn": "acs:kms:cn-hangzhou:119285303511****:network/networkrule_test",
  "Type": "Private",
  "Description": "Create by kst-hzz62ee817bvyyr5****",
  "SourcePrivateIp": "[\"192.10.XX.XX\",\"192.168.XX.XX/24\"]"
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidParameter The specified parameter is not valid. An invalid value is specified for the parameter.
404 InvalidAccessKeyId.NotFound The Access Key ID provided does not exist in our records.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.