Modifies the name of an Alibaba Cloud Service Mesh (ASM) instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyServiceMeshName

The operation that you want to perform. Set the value to ModifyServiceMeshName.

ServiceMeshId String Yes cdd30a90a7cea480ebcc7ff****

The ID of the ASM instance.

Name String Yes test-mesh

The new name of the ASM instance.

Response parameters

Parameter Type Example Description
RequestId String EDDC0D86-2FC3-56FB-9213-96EB0A3523F1

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ModifyServiceMeshName
&ServiceMeshId=cdd30a90a7cea480ebcc7ff****
&Name=test-mesh
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ModifyServiceMeshNameResponse>
    <RequestId>EDDC0D86-2FC3-56FB-9213-96EB0A3523F1</RequestId>
</ModifyServiceMeshNameResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "EDDC0D86-2FC3-56FB-9213-96EB0A3523F1"
}

Error codes

For a list of error codes, visit the API Error Center.