ReleaseService
Region:
China (Hangzhou)
Request Parameters
Required
ClusterIdThe ID of the regio...
ServiceNameThe service name
bodyThe request body
WeightThe weight of the s...
TrafficStateThe traffic state
Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Request Syntax

PUT /api/v2/services/{ClusterId}/{ServiceName}/release HTTP/1.1

Path Parameters

Field NameField Details
ClusterIdstring

The ID of the region where the service is deployed.

Example:cn-shanghai
ServiceNamestring

The service name. For more information about how to query the service name, see ListServices .

Example:foo

Request Parameters

Field NameField Details
bodyobject

The request body.

Response Parameters

Field NameField Details
RequestIdstring

The request ID.

Example:40325405-579C-4D82****
Messagestring

The returned message.

Example:Releasing service [foo] in region [cn-shanghai] with weight [40], service status: [Running]
Change History
No Change History found.