调用JoinVSwitchesToEpnInstance进行组网。
接口说明
对内网联通,内网联通及智能加速这两种内网模式来说,vSwitch 下的实例自生效,不需要再手动添加实例。对智能加速这种公网模式来说,只需要再调用接口将实例添加到公网模式实例信息下即可。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ens:JoinVSwitchesToEpnInstance |
update |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| EPNInstanceId |
string |
是 |
边边通信实例 ID。 EPN 实例的 NetworkingModel 必须为 Connection 或 SpeedUpAndConnection;SpeedUp 模式不支持关联 VSwitch。 |
epn-xxxx |
| VSwitchesInfo |
string |
是 |
需要添加的内网组网信息。 |
[{"VSwitchId":"vs-ixxxx"},{"VSwitchId":"vs-ixxxx"}] |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
示例
正常返回示例
JSON格式
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | MissingParameter | The input parameter that is mandatory for processing this request is not supplied. | |
| 400 | NoPermission | Permission denied. | |
| 400 | CallInterface | Call Interface Happen Error. | 接口调用出错。 |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 400 | InvalidParameter | The errorMessage is %s. Please check it again. | |
| 400 | ens.interface.error | An error occurred while calling the API. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。