调用CreateVbrHa接口创建VBR倒换组。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| Description | string | 否 | VBR 倒换组的描述信息。 长度为 2~256 个字符,必须以字母或中文开头,但不能以 | VBRHa |
| Name | string | 否 | VBR 倒换组名称。 | VBRHa |
| ClientToken | string | 否 | 客户端 Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。 说明
若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 不一样。
| CBCE910E-D396-4944-8**** |
| DryRun | boolean | 否 | 是否只预检此次请求。取值范围:
| false |
| VbrId | string | 是 | VBR 实例 ID。 | vbr-bp1jcg5cmxjbl9xgc**** |
| PeerVbrId | string | 是 | VBR 倒换组中另一个 VBR 的实例 ID。 | vbr-bp12mw1f8k3jgygk9**** |
| RegionId | string | 是 | VBR 所属的地域 ID。 | cn-hangzhou |
返回参数
示例
正常返回示例
JSON格式
{
"VbrHaId": "vbrha-sa1sxheuxtd98****",
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF"
}错误码
| HTTP status code | 错误码 | 错误信息 | 描述 |
|---|---|---|---|
| 400 | OperationFailed.VbrCenNotConsistent | The VBR and the peer VBR are attached to different CENs. | VBR关联的CEN不一致。 |
| 400 | OperationFailed.VbrAliUidNotConsistent | The VBR and the peer VBR belong to different AliUids. | VBR所属的账号不同。 |
| 400 | OperationFailed.VbrAccessDeviceSame | The VBR and the peer VBR are in the same device. | VBR在同一台设备下。 |
| 400 | OperationFailed.VbrBandWidthExceed | The VBR bandwidth exceeds the limit. | VBR的带宽超出限制。 |
| 400 | OperationFailed.VbrInUsedByOtherHa | The VBR is used by another VBR HA. | VBR已被倒换组使用。 |
| 400 | OperationFailed.VbrBgpPeerNotEnableBfd | The VBR BGP has not enabled BFD. | VBR下的BGP未使能BFD功能。 |
| 400 | OperationFailed.VbrCenNotRelation | The VBR is not attached to any CEN. | VBR没有关联CEN。 |
| 400 | OperationFailed.BgpGroupLocalAsnMustSameEachOther | VBR bgpGroup local asn must same each other. | 倒换组中 VBR 的 BGP 组 AS 号必须是相互一致的。 |
| 400 | IllegalParam.BgpGroupLocalAsn | Vbr bgp group local asn must same with ecr asn. | BGP组的阿里云侧 BGP AS 号必须与 ECR的 AS号一致。 |
| 404 | ResourceNotFound.Vbr | The VBR resource is not found. | VBR资源没有找到。 |
访问错误中心查看更多错误码。
变更历史
| 变更时间 | 变更内容概要 | 操作 |
|---|---|---|
| 2024-07-29 | OpenAPI 错误码发生变更 | 查看变更详情 |
| 2023-09-11 | OpenAPI 描述信息更新、OpenAPI 错误码发生变更 | 查看变更详情 |
