All Products
Search
Document Center

ENS:JoinVSwitchesToEpnInstance

Last Updated:Mar 12, 2024

For internal connections, instances that are associated with a vSwitch automatically take effect. For public connections such as intelligent acceleration, you need to manually add the instances.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
EPNInstanceIdstringYes

The ID of the edge network instance.

epn-xxxx
VSwitchesInfostringYes

The information about the internal networking to which you want to add the edge network instance.

[{"VSwitchId":"vs-ixxxx"},{"VSwitchId":"vs-ixxxx"}]

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

CEF72CEB-54B6-4AE8-B225-F876FF7BA984

Examples

Sample success responses

JSONformat

{
  "RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}

Error codes

HTTP status codeError codeError messageDescription
400MissingParameterThe input parameter that is mandatory for processing this request is not supplied.-
400NoPermissionPermission denied.-
400CallInterfaceCall Interface Happen Error.An error occurred when you call the operation.
400InvalidParameter.%sThe specified field %s invalid. Please check it again.-
400InvalidParameterThe errorMessage is %s. Please check it again.-
400ens.interface.errorAn error occurred while calling the API.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history