All Products
Search
Document Center

Alibaba Cloud Service Mesh:CreateSwimLane

Last Updated:Mar 05, 2024

Creates a lane.

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
ServiceMeshIdstringYes

The ID of the Service Mesh (ASM) instance.

*****
SwimLaneNamestringNo

The name of the lane.

s3
LabelSelectorKeystringNo

The label key of the associated service workload. Set the value to ASM_TRAFFIC_TAG.

ASM_TRAFFIC_TAG
ServicesListstringNo

The list of services associated with the lane. The value is a JSON array. The format of a single service is $Cluster name/$Cluster ID/$Namespace/$Service name.

[\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\",\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\",\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\"]
LabelSelectorValuestringNo

The label value of the associated service workload.``

v3
GroupNamestringNo

The name of the lane group.

test

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

*****

Examples

Sample success responses

JSONformat

{
  "RequestId": "*****"
}

Error codes

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

Change history

Change timeSummary of changesOperation
2022-09-28Add Operationsee changesets