Creates a lane group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:InsertSwimmingLaneGroup |
create |
*All Resource
|
None | None |
Request syntax
POST /pop/v5/trafficmgnt/swimming_lane_groups HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the lane group. |
test |
| EntryApp |
string |
Yes |
The ingress application. The application is in the EDAS:{application ID} format. |
EDAS:5cc89013-9232-4b36-b3eb-ff89b3d2**** |
| AppIds |
string |
Yes |
IDs of all applications that are related to the lane group. Separate multiple applications with commas (,). |
bdb251cc-02a6-48dd-891b-2ab21b25****,ee33ed0c-fddc-47b5-9f63-e1ccc4be**** |
| LogicalRegionId |
string |
Yes |
The ID of the custom namespace. The ID is in the physical region ID:custom namespace identifier format. Example: cn-hangzhou:test. |
cn-hangzhou:test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The content that is returned. |
||
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The additional information that is returned. |
success |
| RequestId |
string |
The ID of the request. |
D5268CAC-D356-5C8D-BC7C-FBE0D13B**** |
| Data |
object |
The data that is returned. |
|
| NamespaceId |
string |
The ID of the namespace. |
cn-hangzhou:test |
| Name |
string |
The name of the lane group. |
test |
| Id |
integer |
The ID of the lane group. |
64 |
| ApplicationList |
object |
||
| Application |
array<object> |
The list of all applications that are related to the lane group. |
|
|
object |
The information about applications. |
||
| AppName |
string |
The name of the application. |
test-app |
| AppId |
string |
The ID of the application. |
bdb251cc-02a6-48dd-891b-2ab21b25**** |
| EntryApplication |
object |
The information about the Enterprise Distributed Application Service (EDAS) ingress gateway. |
|
| AppName |
string |
The name of the application. |
test-app |
| AppId |
string |
The ID of the application. |
bdb251cc-02a6-48dd-891b-2ab21b25c**** |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "D5268CAC-D356-5C8D-BC7C-FBE0D13B****",
"Data": {
"NamespaceId": "cn-hangzhou:test",
"Name": "test",
"Id": 64,
"ApplicationList": {
"Application": [
{
"AppName": "test-app",
"AppId": "bdb251cc-02a6-48dd-891b-2ab21b25****"
}
]
},
"EntryApplication": {
"AppName": "test-app",
"AppId": "bdb251cc-02a6-48dd-891b-2ab21b25c****"
}
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 605 | Edas.errorcode.ParameterInvalid.PointedParameter.message | The value of parameter {0} is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.