Upgrades the deployment version of an environment.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The site ID. You can call the ListSites operation to obtain the site ID. |
1245678**** |
| EnvironmentName |
string |
Yes |
The environment name. The version of this environment is upgraded and deployed to the environment with the next priority level. |
默认环境 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B49E6DDA-F413-422B-B58E-2FA23F286726 |
Examples
Success response
JSON format
{
"RequestId": "B49E6DDA-F413-422B-B58E-2FA23F286726"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | Site.ServiceBusy | This website is being configured. Try again later. | This website is being configured. Try again later. |
| 400 | SiteEnvironment.NotExist | The specified environment is invalid or version management is not enabled for your website. Make sure that you specify a valid environment name and version management is enabled. Then, try again. | You have entered an invalid site version environment, or the site does not have version management enabled. Please confirm that your version environment settings are correct, and activate the version management function if necessary, and then try again. |
| 400 | SiteEnvironment.UpdateDenied | Failed to promote a version for the environment. Check whether the current environment has the highest rank and whether the current environment and the next higher-ranked environment have the same version deployed. | Failed to promote a version for the environment. Check whether the current environment has the highest rank and whether the current environment and the next higher-ranked environment have the same version deployed. |
| 400 | SiteVersion.Configuring | The version is being configured. Try again later. | The version is being configured. Try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.