Merestart aplikasi dalam batch.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sae:BatchRestartApplications |
none |
*全部资源
|
None | None |
Sintaks permintaan
PUT /pop/v1/sam/app/batchRestartApplications HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| NamespaceId |
string |
Yes |
ID namespace. |
cn-shanghai |
| AppIds |
string |
Yes |
ID aplikasi. Pisahkan beberapa ID dengan koma (,). |
00893b3a-0e24-45ed-be0c-1f20e07b**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The request ID. |
91F93257-7A4A-4BD3-9A7E-2F6EAE6D**** |
| Message |
string |
The additional information. Value description: If the request succeeds, a success message is returned. If the request fails, an error code is returned. |
success |
| TraceId |
string |
The ID of the trace, which is used to query the exact call information. |
0a98a02315955564772843261e**** |
| Data |
object |
The response. |
|
| ChangeOrderId |
string |
The ID of the change process. |
01db03d3-3ee9-48b3-b3d0-dfce2d88**** |
| ErrorCode |
string |
The error code. Value description: If the request succeeds, this field is not returned. It is returned only if the request fails. For more information, see the "Error codes" section in this topic. |
|
| Code |
string |
The API status or POP error code. Value description: 2xx: The request was successful. 3xx: The request was redirected. 4xx: The request was invalid. 5xx: A server error occurred. |
200 |
| Success |
boolean |
Indicates whether the applications were started. Valid values: true and false |
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "91F93257-7A4A-4BD3-9A7E-2F6EAE6D****",
"Message": "success",
"TraceId": "0a98a02315955564772843261e****",
"Data": {
"ChangeOrderId": "01db03d3-3ee9-48b3-b3d0-dfce2d88****"
},
"ErrorCode": "System.Upgrading",
"Code": "200",
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | System.Upgrading | The system is being upgraded. Please try again later. | |
| 400 | InvalidParameter.Obviously | The specified parameter is invalid {%s}. | |
| 400 | Mamespace.Have.No.Applications | There are no applications in this namespace. | |
| 400 | Invalid.App.List.Not.Same.Namespace | The selected applications do not belong to the same namespace. | |
| 400 | user.indebt | The user has an outstanding payment. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.