Upgrades an Alibaba Cloud Service Mesh (ASM) instance to Professional Edition that is commercially released.

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 UpgradeMeshEditionPartially

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

ServiceMeshId String Yes ca04bc38979214bf2882be79d39b4****

The ID of the ASM instance.

SwitchToPro Boolean No true

Specifies whether to upgrade the ASM instance to Professional Edition. Valid values:

  • true: specifies to upgrade the ASM instance to Professional Edition.
  • false: specifies not to upgrade the ASM instance to Professional Edition.
ASMGatewayContinue Boolean No true

Specifies whether to upgrade the ingress gateways for the ASM instance. Valid values:

  • true: specifies to upgrade the ingress gateways.
  • false: specifies not to upgrade the ingress gateways.
UpgradeGatewayRecords String No ingressgateway1,ingressgateway2

Specifies the ingress gateways to be upgraded. Separate multiple ingress gateways with commas (,).

Response parameters

Parameter Type Example Description
RequestId String 31d3a0f0-07ed-4f6e-9004-1804498c****

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=UpgradeMeshEditionPartially
&ServiceMeshId=ca04bc38979214bf2882be79d39b4****
&SwitchToPro=true
&ASMGatewayContinue=true
&UpgradeGatewayRecords=ingressgateway1,ingressgateway2
&<Common request parameters>

Sample success responses

XML format

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

<UpgradeMeshEditionPartiallyResponse>
    <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>
</UpgradeMeshEditionPartiallyResponse>

JSON format

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

{
  "RequestId" : "31d3a0f0-07ed-4f6e-9004-1804498c****"
}

Error codes

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