All Products
Search
Document Center

Cloud Enterprise Network:DescribeCens

Last Updated:Jun 10, 2026

Mengkueri informasi tentang Instans Cloud Enterprise Network (CEN) yang termasuk dalam akun Alibaba Cloud Anda. Informasi ini mencakup status Instans, apakah IPv6 diaktifkan, dan daftar Paket bandwidth yang terlampir dalam format ini.

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

cen:DescribeCens

get

*CenInstance

acs:cen:*:{#accountId}:ceninstance/*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

PageNumber

integer

No

Nomor halaman. Nilai default: 1.

1

PageSize

integer

No

Jumlah entri per halaman. Nilai valid: 1 hingga 50. Nilai default: 10.

10

ResourceGroupId

string

No

ID kelompok sumber daya tempat Instans CEN berada.

rg-acfm3unpnuw****

Filter

array<object>

No

Kondisi filter.

Anda dapat menentukan hingga lima kondisi filter.

object

No

Key

string

No

The filter key. Valid values:

  • CenId: The ID of the CEN instance.

  • Name: The name of the CEN instance.

The logical relationship among multiple filter conditions is AND. All filter conditions must be met.

You can specify up to five filter conditions.

CenId

Value

array

No

The filter value.

Specify the filter value based on the Key. You can specify multiple values for a key. The logical relationship among the values is OR. A resource is a match if it meets any of the specified values.

You can specify up to five filter values for a filter condition.

cen-0xyeagctz5sfg9****

string

No

The filter value.

Specify the filter value by Key. A single Key can have multiple filter values. The relationship between multiple values is a logical OR, which means that an item is considered a match for the filter condition if it matches any of the specified values.

Each filter condition supports a maximum of 5 filter values.

cen-44m0p68spvlrqq****

Tag

array<object>

No

Tag.

Anda dapat menentukan hingga 20 tag.

object

No

Key

string

No

The tag key of the resource.

The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with aliyun or acs:. It cannot contain http:// or https://.

You can specify up to 20 tag keys.

tagtest

Value

string

No

The tag value of the resource.

The tag value can be an empty string or a string of up to 128 characters. It cannot start with aliyun or acs: and cannot contain http:// or https://.

Each tag key must have a corresponding tag value. You can specify up to 20 tag values.

tagtest

Elemen respons

Element

Type

Description

Example

object

The response parameters.

PageSize

integer

The number of entries returned per page.

10

RequestId

string

The request ID.

2BFA6822-240E-4E27-B4C8-AA400EF7474D

PageNumber

integer

The page number of the returned page.

1

TotalCount

integer

The total number of entries returned.

1

Cens

object

Cen

array<object>

A list of CEN instances.

array<object>

The information about the CEN instance.

Status

string

The status of the CEN instance.

  • Creating: The instance is being created.

  • Active: The instance is running.

  • Deleting: The instance is being deleted.

Active

CreationTime

string

The time when the CEN instance was created.

The time is displayed in the YYYY-MM-DDThh:mmZ format. It is expressed in Coordinated Universal Time (UTC).

2019-10-22T07:44Z

Ipv6Level

string

Indicates whether IPv6 is enabled for the CEN instance.

  • ENABLE: IPv6 is enabled.

  • DISABLED: IPv6 is disabled.

DISABLED

Description

string

The description of the CEN instance.

desctest

ResourceGroupId

string

The ID of the resource group to which the CEN instance belongs.

rg-acfm3unpnuw****

CenId

string

The ID of the CEN instance.

cen-0xyeagctz5sfg9****

ProtectionLevel

string

The level of CIDR block overlap.

REDUCED: CIDR blocks can overlap but cannot be the same.

REDUCED

Name

string

The name of the CEN instance.

nametest

Tags

object

Tag

array<object>

A list of tags attached to the CEN instance.

object

The information about the tag attached to the CEN instance.

Key

string

The tag key.

tagtest

Value

string

The tag value.

tagtest

CenBandwidthPackageIds

object

CenBandwidthPackageId

array

A list of bandwidth plans that are attached to the CEN instance.

string

The ID of the bandwidth plan.

cenbwp-4c2zaavbvh5f42****

Contoh

Respons sukses

JSONformat

{
  "PageSize": 10,
  "RequestId": "2BFA6822-240E-4E27-B4C8-AA400EF7474D",
  "PageNumber": 1,
  "TotalCount": 1,
  "Cens": {
    "Cen": [
      {
        "Status": "Active",
        "CreationTime": "2019-10-22T07:44Z",
        "Ipv6Level": "DISABLED",
        "Description": "desctest",
        "ResourceGroupId": "rg-acfm3unpnuw****",
        "CenId": "cen-0xyeagctz5sfg9****",
        "ProtectionLevel": "REDUCED",
        "Name": "nametest",
        "Tags": {
          "Tag": [
            {
              "Key": "tagtest",
              "Value": "tagtest"
            }
          ]
        },
        "CenBandwidthPackageIds": {
          "CenBandwidthPackageId": [
            "cenbwp-4c2zaavbvh5f42****"
          ]
        }
      }
    ]
  }
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidTagKey The tag keys are not valid. The error message returned because the specified tag key is invalid.
400 InvalidTagValue The tag values are not valid. The error message returned because the specified tag value is invalid.
400 InvalidParameter Invalid parameter. The error message returned because the parameter is set to an invalid value.
400 Unauthorized The AccessKeyId is unauthorized. The error message returned because you do not have the permissions to perform this operation.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.