You need to enable JavaScript to run this app.
文档中心
云企业网

云企业网

复制全文
下载 pdf
域间带宽
CreateCenInterRegionBandwidth - 为指定的云企业网实例分配域间带宽
复制全文
下载 pdf
CreateCenInterRegionBandwidth - 为指定的云企业网实例分配域间带宽
调用 CreateCenInterRegionBandwidth 接口,为指定云企业网实例分配域间带宽。​
使用说明​
  • 若使用带宽包,同一带宽包内所有域间带宽之和不得超过该带宽包的带宽上限。​
  • 为目标CEN实例分配域间带宽时,域间带宽所属项目默认与其所属CEN实例相同。​
  • 您的账号因违规使用跨境服务被运营商封停后,不支持配置跨境域间带宽。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:CreateCenInterRegionBandwidth​
要执行的操作,取值:CreateCenInterRegionBandwidth。​
​
Version string 必选 示例值:2020-04-01​
API的版本,取值:2020-04-01。​
​
LocalRegionId string 必选 示例值:cn-beijing​
本端地域的ID。​
云企业网支持的地域信息请参见区域与地域介绍。​
​
Bandwidth integer 必选 示例值:1000​
CEN域间带宽的带宽峰值,单位为Mbps。取值不能超过所属带宽包可分配的带宽大小。​
​
PeerRegionId string 必选 示例值:cn-shanghai​
对端地域的ID。​
云企业网支持的地域信息请参见区域与地域介绍。​
​
CenBandwidthPackageId string 可选 示例值:cbp-4c2zaavbvh5fx****​
带宽包的实例ID。​
​
CenId string 必选 示例值:cen-7qthudw0ll6jmc****​
云企业网实例的ID。​
您可以调用DescribeCens接口,查询云企业网实例ID。​
​
BandwidthType string 可选 示例值:BandwidthPackage​
带宽使用方式。​
  • BandwidthPackage(默认值):包年包月带宽包。​
  • CloudDataTransfer:按流量计费,即对跨地域间的流量进行计费,已接入云数据传输,更多信息请参见云数据传输。​
​
LineOperator string 可选 示例值:ChinaUnicom​
运营商。仅BandwidthType传入CloudDataTransfer,且跨境,需要传入本参数。​
  • ChinaUnicom:中国联通。​
  • ChinaTelecom:中国电信。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
InterRegionBandwidthId string 示例值:cirb-3tex2x1cwd4c6c0v****​
CEN域间带宽的ID。​
​
​
​
请求示例​
​
GET /?Action=CreateCenInterRegionBandwidth&Version=2020-04-01&LocalRegionId=cn-beijing&Bandwidth=1000&PeerRegionId=cn-shanghai&CenId=cen-7qthudw0ll6jmc**** HTTP/1.1​
Host: cen.volcengineapi.com​
X-Date: 20260109T083402Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260109/cn-beijing/cen/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2025081517272003017317320015036A",​
"Action": "CreateCenInterRegionBandwidth",​
"Version": "2020-04-01",​
"Service": "cen",​
"Region": "cn-beijing"​
},​
"Result": {​
"InterRegionBandwidthId": "cirb-3tex2x1cwd4c6c0v****"​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InstanceCreateOrderError​
Failed to create cdt instance order.​
下单失败。​
400​
InvalidBandwidthPackageId.MissMatchBandwidthType​
The specified bandwidth package ID does not match the bandwidth type.​
指定的带宽包ID与带宽分配方式不匹配。​
400​
InvalidBandwidthType.NotSupported​
The specified bandwidth type is not supported.​
指定的带宽分配方式不支持。​
400​
InvalidCenCrossBorderBandwidthPackage.FrozenStatus​
The specified request is denied because your account has been frozen for cross-border. Please wait for the Service Provider to unfreeze it.​
您的账号当前处于跨境封停状态,请等待运营商解封后再进行操作。​
400​
InvalidInterRegionBandwidth.BandwidthPackageNotFound​
No bandwidth package exists between given regions.​
指定的互通地域之间未创建带宽包。​
400​
InvalidInterRegionBandwidth.CenMissmatch​
The associated cen of specified inter-region bandwidth and bandwidth package are different.​
指定的域间带宽与带宽包关联的云企业网不一致。​
400​
InvalidInterRegionBandwidth.Conflict​
The specified bandwidth between local region and peer region exists.​
指定的互通地域之间已经存在域间带宽。​
400​
InvalidInterRegionBandwidth.GeographicRegionSetIDMissmatch​
The regions of specified inter-region bandwidth do not match the geographic region set ID of the bandwidth package.​
指定域间带宽的互通地域与带宽包的互通区域不匹配。​
400​
InvalidInterRegionBandwidth.RegionTypeConflictsWithInterRegionBandwidth​
The region type of specified inter-region bandwidth conflicts with inter-region bandwidths.​
指定域间带宽的互通地域类型与已分配的域间带宽互通地域冲突。​
400​
InvalidInterRegionBandwidth.RegionTypeConflictsWithPeer​
The type of inter-region bandwidth local region conflicts with the peer.​
域间带宽的互通地域类型冲突。​
400​
InvalidInterRegionBandwidth.RegionTypeMissMatchAttachedInstance​
The region type of specified inter-region bandwidth does not match with attached instances.​
指定域间带宽的互通地域类型与已加载的网络实例地域不匹配。​
400​
InvalidLineOperator.MissMatchBandwidthType​
The specified line operator does not match the bandwidth type.​
指定的运营商与带宽分配方式不匹配。​
400​
InvalidLocalRegionId.Conflict​
The specified LocalRegionId and PeerRegionId are the same.​
指定的本端地域和对端地域相同。​
400​
InvalidParameter​
A parameter specified in the request is not valid, is unsupported or cannot be used.​
该请求传入了非法或不支持的参数。​
400​
LimitExceeded.InterRegionBandwidth​
The specified inter-region bandwidth exceeds the lower limit.​
指定的带宽大小超出域间带宽最小限制。​
400​
LimitExceeded.InterRegionBandwidth​
The specified inter-region bandwidth exceeds the range of bandwidth package.​
指定的域间带宽大小超出带宽包可分配的带宽。​
400​
LimitExceeded.InterRegionBandwidthOfCloudDataTransfer​
The specified inter-region bandwidth exceeds the range of cloud data transfer.​
指定的按流量域间带宽大小超出可分配的带宽。​
400​
LimitExceeded.PhysicalLineBandwidth​
You’ve reached the bandwidth limit on the number of physical line.​
已达到物理线路可分配带宽上限。​
400​
MainAccountNotSupportPaypalErr​
You are requested to contact the main account to provide an alternative payment method other than Paypal before enabling the pay-as-you-go products in BytePlus.​
本次下单的后付费商品不支持Paypal支付,请联系主账号补充其他支付方式。​
400​
MissingParameter​
The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request.​
该请求缺少必要参数。请确保您发起请求时已传入全部必要参数。​
400​
NotSupportPaypalErr​
You are requested to provide an alternative payment method other than Paypal before enabling the pay-as-you-go products in BytePlus.​
本次下单的后付费商品不支持Paypal支付,请补充其他支付方式。​
400​
UnsupportedOperation​
The request on the specified bandwidth package is denied because the bandwidth package is expired.​
指定带宽包已过期,不支持当前操作。​
400​
UnsupportedOperation​
The request on the specified bandwidth package is denied because the bandwidth package is shut down due to arrears.​
指定带宽包欠费关停,不支持当前操作。​
400​
UnsupportedOperation​
The request on the specified instance is denied due to the account in arrears status.​
因账户处于欠费状态,对于该实例的操作请求被拒绝。​
403​
Forbidden.CrossBorderApprovalNotApplied​
You cannot create cross-border resources because you have not applied for cross-border audit yet.​
未提交跨境资质审核,无法创建跨境资源。​
403​
Forbidden.CrossBorderApprovalPending​
The specified request is denied because your cross-border audit application is pending approval.​
您提交的跨境申请仍在审核中,请等待业务资质审核通过后,再创建跨境资源。​
403​
Forbidden.CrossBorderApprovalRejected​
You cannot create cross-border resources because your cross-border audit application has been rejected.​
跨境资质审核被拒绝,无法创建跨境资源。​
403​
Forbidden.CrossBorderBytePlusNotVerified​
Please complete the real name verification, since the specified resource contains cloud resources in China Mainland.​
指定的资源包含中国大陆的云资源,请先完成实名认证。​
403​
Forbidden.CrossBorderUserFrozen​
The specified request is denied because your account has been frozen for cross-border. Please wait for the Service Provider to unfreeze it.​
您的账号当前处于跨境封停状态,请等待运营商解封后再进行操作。​
404​
InvalidCen.NotFound​
The specified CEN does not exist.​
指定的云企业网实例不存在。​
404​
InvalidCenBandwidthPackage.NotFound​
The bandwidth package of the specified geographic regions does not exist.​
指定的带宽包不存在。​
404​
InvalidLocalRegionId.NotFound​
The specified LocalRegionId does not exist.​
指定的本端地域不存在。​
404​
InvalidPeerRegionId.NotFound​
The specified PeerRegionId does not exist.​
指定的对端地域不存在。​
404​
InvalidProject.NotFound​
The specified Project does not exist.​
指定的项目不存在。​
409​
InvalidCen.InvalidStatus​
The specified CEN instance is not in the correct status for the request.​
指定的云企业网实例所处的状态无法响应该请求,请稍后再试。​
500​
InternalError​
Request failed with internal server error.​
系统内部错误。​
​
​
最近更新时间:2026.09.16 16:08:56
这个页面对您有帮助吗?
有用
有用
无用
无用