You need to enable JavaScript to run this app.
文档中心
中转路由器

中转路由器

复制全文
下载 pdf
配置版本
DescribeCoreNetworkConfigurationVersionAttributes-查询指定配置版本
复制全文
下载 pdf
DescribeCoreNetworkConfigurationVersionAttributes-查询指定配置版本
调用DescribeCoreNetworkConfigurationVersionAttributes接口,查询指定核心网的指定配置版本。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:DescribeCoreNetworkConfigurationVersionAttributes​
接口名称。当前 API 的名称为 DescribeCoreNetworkConfigurationVersionAttributes。​
​
Version String 必选 示例值:2026-06-01​
接口版本。当前 API 的版本为 2026-06-01。​
​
CoreNetworkId String 必选 示例值:cn-3hxn9ush899xmr2jxo0p***​
核心网实例的ID。​
您可以调用DescribeCoreNetworks接口获取核心网实例ID。​
​
CoreNetworkConfigurationVersionId Integer 必选 示例值:1​
配置版本的版本号。​
您可以调用DescribeCoreNetworkConfigurationVersions接口获取配置版本的ID。​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
CoreNetworkConfigurationVersion Object 示例值:-​
符合条件的配置版本详细信息。​
Alias String 示例值:LIVE​
配置版本的版本状态。​
  • LATEST:最新版本。​
  • LIVE:执行版本。​
​
Status String 示例值:PendingGeneration​
配置版本的状态。​
  • PendingGeneration:生成中。​
  • ReadyToExecute:可执行。​
  • Executing:执行中。​
  • ExecuteSucceeded:执行成功。​
  • GenerateFailed:生成失败。​
  • ExecuteCheckFailed:执行校验失败。​
  • Deleting:删除中。​
  • OutOfDate:过时失效。​
​
Description String 示例值:Initial policy version​
配置版本的描述。​
​
CreationTime String 示例值:2026-06-01T23:59:59+08:00​
配置版本创建的时间。​
​
SystemRemark String 示例值:restored from version 5​
配置版本恢复的原版本号。​
​
CoreNetworkId String 示例值:cn-3hxn9ush899xmr2jxo0p***​
配置版本所在核心网的ID。​
​
CoreNetworkConfigurationName String 示例值:prod-policy-v1​
配置版本的名称。​
​
CoreNetworkConfigurationDocument String 示例值:{"schema-version":"2026.06","core-network":{"locations":[{"region":"cn-beijing","asn":64513},{"region":"cn-shanghai","asn":64513}]}​
配置版本的内容。​
​
CoreNetworkConfigurationVersionId Integer 示例值:1​
配置版本的版本号。​
​
CoreNetworkConfigurationDocumentErrors Object[] 示例值:-​
配置版本的错误信息。​
Path String 示例值:$.core-network.locations[3]​
有错误的字段位置。​
​
Message String 示例值:$.core-network.locations[3]: region cn-beijing has ASN 65503 in configuration but has 65000 in the network​
错误描述。​
​
ErrorCode String 示例值:ASN_MISMATCH_ON_UPDATE​
错误的错误码。​
​
​
​
​
请求示例​
​
GET /?Action=DescribeCoreNetworkConfigurationVersionAttributes&Version=2026-06-01&CoreNetworkId=cn-3hxn9ush899xmr2jxo0p***&CoreNetworkConfigurationVersionId=1 HTTP/1.1​
Host: transitrouter.cn-guangzhou.volcengineapi.com​
X-Date: 20251029T033538Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250804/cn-guangzhou/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "DescribeCoreNetworkConfigurationVersionAttributes",​
"Version": "2026-06-01",​
"Service": "transitrouter",​
"Region": "cn-guangzhou"​
},​
"Result": {​
"CoreNetworkConfigurationVersion": {​
"Alias": "LIVE",​
"Status": "PendingGeneration",​
"Description": "Initial policy version",​
"CreationTime": "2026-06-01T23:59:59+08:00",​
"SystemRemark": "restored from version 5",​
"CoreNetworkId": "cn-3hxn9ush899xmr2jxo0p***",​
"CoreNetworkConfigurationName": "prod-policy-v1",​
"CoreNetworkConfigurationDocument": "{\"schema-version\":\"2026.06\",\"core-network\":{\"locations\":[{\"region\":\"cn-beijing\",\"asn\":64513},{\"region\":\"cn-shanghai\",\"asn\":64513}]}",​
"CoreNetworkConfigurationVersionId": 1,​
"CoreNetworkConfigurationDocumentErrors": [​
{​
"Path": "$.core-network.locations[3]",​
"Message": "$.core-network.locations[3]: region cn-beijing has ASN 65503 in configuration but has 65000 in the network",​
"ErrorCode": "ASN_MISMATCH_ON_UPDATE"​
}​
]​
}​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
404​
InvalidCoreNetwork.NotFound​
The specified core network does not exist.​
指定的核心网不存在。​
404​
InvalidCoreNetworkConfiguration.NotFound​
The specified configuration version does not exist.​
指定的配置版本不存在。​
​
最近更新时间:2026.06.18 14:27:23
这个页面对您有帮助吗?
有用
有用
无用
无用