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

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeCens

The operation that you want to perform. Set the value to DescribeCens.

RegionId String Yes cn-hangzhou

The ID of the region.

PageSize Integer No 50

The maximum number of entries to return on each page.

Default value: 50.

PageNumber Integer No 1

The number of the page to return.

Default value: 1.

Response parameters

Parameter Type Example Description
Cens Array of Cen

Details about CEN instances.

CenId String cen-3gwy16dojz1m65****

The ID of the CEN instance.

CreationTime String 2021-06-16T08:46Z

The time when the CEN instance was created.

Description String test

The description of the CEN instance.

Ipv6Level String DISABLED

Indicates whether IPv6 is supported. Valid value: DISABLED. This value indicates that IPv6 is not supported.

Note IPv6 is not supported.
Name String testCen

The name of the CEN instance.

PackageIds Array of PackageId

The IDs of the bandwidth plans that are associated with the CEN instance.

PackageId String cenbwp-4c2zaavbvh5f42****

The ID of the bandwidth plan that is associated with the CEN instance.

ProtectionLevel String REDUCED

The level of CIDR block overlapping. Valid value: REDUCED. This value indicates that the CIDR blocks can overlap with each other but must not be the same.

Status String Active

The status of the CEN instance. Valid values:

  • Creating: The CEN instance is being created.
  • Active: The CEN instance is running.
  • Deleting: The CEN instance is being deleted.
Tags Array of Tag

The tags of the CEN instance.

Key String testKey

The tag key of the CEN instance.

Value String testValue

The tag value of the CEN instance.

PageNumber Integer 1

The page number of the returned page.

PageSize Integer 50

The number of entries returned per page.

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

The ID of the request.

TotalCount Integer 1

The total number of CEN instances returned.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=DescribeCens
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<DescribeCens>
      <TotalCount>1</TotalCount>
      <PageSize>50</PageSize>
      <RequestId>2BFA6822-240E-4E27-B4C8-AA400EF7474D</RequestId>
      <PageNumber>1</PageNumber>
      <Cens>
            <Status>Active</Status>
            <ProtectionLevel>REDUCED</ProtectionLevel>
            <Description>test</Description>
            <Ipv6Level>DISABLED</Ipv6Level>
            <CreationTime>2021-06-16T08:46Z</CreationTime>
            <CenId>cen-3gwy16dojz1m65****</CenId>
            <Name>testCen</Name>
            <Tags>
                  <Value>testValue</Value>
                  <Key>testKey</Key>
            </Tags>
            <PackageIds>
                  <PackageId>cenbwp-4c2zaavbvh5f42****</PackageId>
            </PackageIds>
      </Cens>
</DescribeCens>

JSON format

{
	"TotalCount": "1",
	"PageSize": "50",
	"RequestId": "2BFA6822-240E-4E27-B4C8-AA400EF7474D",
	"PageNumber": "1",
	"Cens": [{
		"Status": "Active",
		"ProtectionLevel": "REDUCED",
		"Description": "test",
		"Ipv6Level": "DISABLED",
		"CreationTime": "2021-06-16T08:46Z",
		"CenId": "cen-3gwy16dojz1m65****",
		"Name": "testCen",
		"Tags": [{
			"Value": "testValue",
			"Key": "testKey"
		}],
		"PackageIds": [{
			"PackageId": "cenbwp-4c2zaavbvh5f42****"
		}]
	}]
}

Error codes

For a list of error codes, visit the API Error Center.