最近更新时间:2024.04.22 17:38:08
首次发布时间:2022.01.07 11:44:37
调用 DescribeCenAttributes 接口,查询指定云企业网实例的详细信息。
参数名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeCenAttributes | 要执行的操作,取值为DescribeCenAttributes。 |
Version | String | 是 | 2020-04-01 | API版本信息,当前版本为2020-04-01。 |
CenId | String | 是 | cen-7qthudw0ll6jmc**** | 要查询的云企业网实例的ID。您可以调用DescribeCens接口获取云企业网实例ID。 |
参数名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 202111161611080102121461940900**** | 请求ID。 |
CenId | String | cen-7qthudw0ll6jmc**** | 云企业网实例的ID。 |
CenName | String | cen-test | 云企业网实例的名称。 |
AccountId | String | 210000**** | 云企业网实例所属的账号ID。 |
Description | String | This is a sample description | 云企业网实例的描述。 |
CreationTime | String | 2021-04-09T08:36:47+08:00 | 创建云企业网实例的时间。 |
UpdateTime | String | 2021-04-10T09:18:28+08:00 | 更新云企业网实例的时间。 |
Status | String | Available | 云企业网实例的状态。
|
CenBandwidthPackageIds | List of String | ["cbp-4c2zaavbvh5fx****", "cbp-13fszmm1x****"] | 带宽包实例ID。 说明 云企业网实例未绑定带宽包时,该字段返回空。 |
ProjectName | String | default | 云企业网实例所属项目的名称。 |
Tags | Array of Struct | - | 云企业网的标签信息。具体请参见下表“Tag结构”。 |
参数名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Key | String | k1 | 云企业网标签的标签键。 |
Value | String | v1 | 云企业网标签的标签值。 |
GET /?Action=DescribeCenAttributes&Version=2020-04-01&CenId=cen-7qthudw0ll6jmc**** HTTP/1.1 Host: open.volcengineapi.com Service: cen Region: cn-beijing
{ "ResponseMetadata": { "RequestId": "2021111616110801021214619****", "Action": "DescribeCenAttributes", "Version": "2020-04-01", "Service": "cen", "Region": "cn-beijing" }, "Result": { "CenId": "cen-7qthudw0ll6jmc****", "CenName": "cen-test", "AccountId": "210000****", "CreationTime": "2021-04-09T08:36:47+08:00", "UpdateTime": "2021-04-10T09:18:28+08:00", "Description": "This is a sample description", "Status": "Available", "CenBandwidthPackageIds": [ "cbp-4c2zaavbvh5fx****", "cbp-13fszmm1x****" ], "Tags": [ { "Key": "k1", "Value": "v1" }, { "Key": "k2", "Value": "v2" } ] } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
404 | InvalidCen.NotFound | The specified CEN does not exist. | 指定的云企业网实例不存在。 |