Starts an application.
Debugging
Request headers
This operation uses only common request headers and does not have operation-specific request headers. For more information, see Common request and response headers.
Request syntax
PUT /pop/v1/sam/app/startApplication HTTP/1.1
Request parameters
Parameter | Type | Position | Required | Example | Description |
---|---|---|---|---|---|
AppId | String | Query | Yes | 0099b7be-5f5b-4512-a7fc-56049ef1**** | The application ID. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 7BD8F4C7-D84C-4D46-9885-8212997E**** | The request ID. |
Message | String | success | The returned message. Valid values:
|
TraceId | String | 0bc3b6e215637275918588187d**** | The trace ID that is used to query the details of the request. |
Data | Object | The returned result. | |
ChangeOrderId | String | 4a815998-b468-4bea-b7d8-59f52a44**** | The ID of the change order. |
ErrorCode | String | Null | The error code. Valid values:
|
Code | String | 200 | The HTTP status code. Valid values:
|
Success | Boolean | true | Indicates whether the application was started. Valid values:
|
Examples
Sample requests
PUT /pop/v1/sam/app/startApplication?AppId=0099b7be-5f5b-4512-a7fc-56049ef1**** HTTP/1.1
Host:sae.aliyuncs.com
Content-Type:application/json
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<StartApplicationResponse>
<RequestId>7BD8F4C7-D84C-4D46-9885-8212997E****</RequestId>
<Message>success</Message>
<TraceId>0bc3b6e215637275918588187d****</TraceId>
<Data>
<ChangeOrderId>4a815998-b468-4bea-b7d8-59f52a44****</ChangeOrderId>
</Data>
<Code>200</Code>
<Success>true</Success>
</StartApplicationResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "7BD8F4C7-D84C-4D46-9885-8212997E****",
"Message" : "success",
"TraceId" : "0bc3b6e215637275918588187d****",
"Data" : {
"ChangeOrderId" : "4a815998-b468-4bea-b7d8-59f52a44****"
},
"Code" : "200",
"Success" : true
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidApplication.NotFound | The current application does not exist. | The specified application is not found. |
400 | InvalidParameter.NotEmpty | You must specify the parameter %s. | The value of the %s parameter is invalid. This parameter cannot be left empty. |
400 | InvalidParameter.Obviously | The specified parameter is invalid {%s}. | The value of the {%s} parameter is invalid. |
400 | InvalidParameter.WithMessage | The parameter is invalid {%s}: %s | The value %s of the {%s} parameter is invalid. |
400 | vswitch.not.exist | The specified vSwitch does not exist. | The specified vSwitch does not exist. |
400 | user.indebt | The user has an outstanding payment. | The current user has overdue payments. |
400 | NoComputeResourceQuota.App.Exceed | You can create %s instances for each application. Please submit a ticket to raise the quota. | A maximum of %s instances can be created for each application. Join the DingTalk group 32874633 for technical support. |
400 | NoComputeResourceQuota.User.Exceed | Your account is limited to create %s instances. Please submit a ticket to raise the quota. | A maximum of %s instances can be created within your account. Join the DingTalk group 32874633 for technical support. |
400 | System.Upgrading | The system is being upgraded. Please try again later. | The system is being upgraded. Try again later. |
400 | Application.ChangerOrderRunning | An application change process is in progress. Please try again later. | An application change is in progress. Try again later. |
400 | Application.InvalidStatus | The application status is abnormal. Please try again later. | The application is in an abnormal state. Try again later. |
400 | Application.NotDeployYet | The application has not been deployed. Please deploy it and try again. | The application is not deployed. Deploy the application and try again. |
For a list of error codes, see Service error codes.