DescribeCens

更新时间:
复制 MD 格式

Queries the details of all Cloud Enterprise Network (CEN) instances within an Alibaba Cloud account.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou

PageSize

integer

No

The number of entries per page.
Default value: 50.

50

PageNumber

integer

No

The page number.
Default value: 1.

1

Response elements

Element

Type

Description

Example

object

The response parameters.

PageSize

integer

The number of entries per page.

50

RequestId

string

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

PageNumber

integer

The page number.

1

TotalCount

integer

The total number of CEN instances returned.

1

Cens

array<object>

Details of the CEN instances.

array<object>

Status

string

The status of the CEN instance.

Valid values:

  • Creating

  • Active

  • Deleting

Valid values:

  • Creating :
  • Active :
  • Deleting :

Active

CreationTime

string

The time when the CEN instance was created.

2021-06-16T08:46Z

Ipv6Level

string

The IPv6 level.

Note

IPv6 is not supported.

Valid values:

  • DISABLED :

    IPv6 is disabled.

DISABLED

Description

string

The description of the CEN instance.

test

CenId

string

The ID of the CEN instance.

cen-3gwy16dojz1m65****

ProtectionLevel

string

The tolerated level of CIDR block conflict.

Valid value:

  • REDUCED: CIDR block conflicts are allowed, but the conflicting CIDR blocks cannot be identical.

Valid values:

  • REDUCED :

REDUCED

Name

string

The name of the CEN instance.

testCen

Tags

array<object>

The tags of the CEN instance.

object

Key

string

The key of the tag.

testKey

Value

string

The value of the tag.

testValue

PackageIds

array<object>

The bandwidth plans that are bound to the CEN instance.

object

PackageId

string

The ID of the bandwidth plan that is bound to the CEN instance.

cenbwp-4c2zaavbvh5f42****

Examples

Success response

JSON format

{
  "PageSize": 50,
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
  "PageNumber": 1,
  "TotalCount": 1,
  "Cens": [
    {
      "Status": "Active",
      "CreationTime": "2021-06-16T08:46Z",
      "Ipv6Level": "DISABLED",
      "Description": "test",
      "CenId": "cen-3gwy16dojz1m65****",
      "ProtectionLevel": "REDUCED",
      "Name": "testCen",
      "Tags": [
        {
          "Key": "testKey",
          "Value": "testValue"
        }
      ],
      "PackageIds": [
        {
          "PackageId": "cenbwp-4c2zaavbvh5f42****"
        }
      ]
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.