You need to enable JavaScript to run this app.
导航

CreateCenInterRegionBandwidth

最近更新时间2024.04.22 17:44:45

首次发布时间2022.01.07 11:44:37

调用 CreateCenInterRegionBandwidth 接口,为指定云企业网实例分配域间带宽。

使用说明

加入到同一带宽包中的总域间带宽之和不得超过带宽包上限。

调试

请求参数

参数名称
类型
是否必选
示例值
描述
ActionStringCreateCenInterRegionBandwidth要执行的操作,取值为CreateCenInterRegionBandwidth。
VersionString2020-04-01API版本信息,当前版本为2020-04-01。
CenIdStringcen-7qthudw0ll6jmc****云企业网实例的ID。您可以调用DescribeCens接口获取云企业网实例ID。
LocalRegionIdStringcn-beijingCEN域间带宽本端地域的ID。云企业网支持的地域信息请参见区域与地域介绍
PeerRegionIdStringcn-shanghaiCEN域间带宽对端地域的ID。云企业网支持的地域信息请参见区域与地域介绍
BandwidthInteger1000CEN域间带宽的带宽峰值,单位为Mbps。取值不能超过所属带宽包可分配的带宽大小。

返回参数

参数名称
类型
示例值
描述
RequestIdString202111161611080102121461940900****请求ID。
InterRegionBandwidthIdStringcirb-3tex2x1cwd4c6c0v****CEN域间带宽的ID。

请求示例

GET /?Action=CreateCenInterRegionBandwidth&Version=2020-04-01&CenId=cen-7qthudw0ll6jmc****&LocalRegionId=cn-beijing&PeerRegionId=cn-shanghai&Bandwidth=1000 HTTP/1.1
Host: open.volcengineapi.com
Service: cen
Region: cn-beijing

返回示例

{
    "ResponseMetadata": {
        "RequestId": "20211222122528010225****",
        "Action": "CreateCenInterRegionBandwidth",
        "Version": "2020-04-01",
        "Service": "cen",
        "Region": "cn-beijing"
    },
    "Result": {
        "InterRegionBandwidthId": "cirb-3tex2x1cwd4c6c0v****"
		}
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

HttpCode错误码错误信息描述
400InvalidLocalRegionId.ConflictThe specified LocalRegionId and PeerRegionId are the same.指定的本端地域和对端地域相同。
400InvalidInterRegionBandwidth.BandwidthPackageNotFoundNo bandwidth package exists between given regions.指定的互通地域之间未创建带宽包。
400InvalidInterRegionBandwidth.ConflictThe specified bandwidth between local region and peer region exists.指定的互通地域之间已经存在域间带宽。
400LimitExceeded.InterRegionBandwidthThe specified inter-region bandwidth exceeds the lower limit.指定的带宽大小超出域间带宽最小限制。
400LimitExceeded.InterRegionBandwidthThe specified inter-region bandwidth exceeds the range of bandwidth package.指定的域间带宽大小超出带宽包可分配的带宽。
400UnsupportedOperationThe request on the specified bandwidth package is denied because the bandwidth package is expired.指定带宽包已过期,不支持当前操作。
400InvalidCenCrossBorderBandwidthPackage.FrozenStatusThe specified request is denied because your account has been frozen for cross-border. Please wait for the Service Provider to unfreeze it.您的账号当前处于跨境封停状态,请等待运营商解封后再进行操作。
404InvalidCen.NotFoundThe specified CEN does not exist.指定的CEN实例不存在。
404InvalidLocalRegionId.NotFoundThe specified LocalRegionId does not exist.指定的本端地域不存在。
404InvalidPeerRegionId.NotFoundThe specified PeerRegionId does not exist.指定的对端地域不存在。
409InvalidCen.InvalidStatusThe specified CEN instance is not in the correct status for the request.指定的CEN实例所处的状态无法响应该请求,请稍后再试。