Upgrades an Alibaba Cloud Service Mesh (ASM) instance to Commercial Edition (Professional Edition).
Debugging
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 Commercial Edition (Professional Edition). Valid values:
|
ASMGatewayContinue | Boolean | No | true |
Specifies whether to upgrade the ingress gateways for the ASM instance. Valid values:
|
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.