Memulai layanan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:StartService |
update |
*Service
|
None | None |
Sintaks permintaan
PUT /api/v2/services/{ClusterId}/{ServiceName}/start HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
ID region tempat layanan di-deploy. |
cn-shanghai |
| ServiceName |
string |
Yes |
Nama layanan. Untuk informasi lebih lanjut tentang cara mengkueri nama layanan, lihat ListServices. |
foo |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| RequestId |
string |
ID permintaan. |
40325405-579C-4D82**** |
| Message |
string |
Pesan yang dikembalikan. |
Service [foo] in region [cn-shanghai] is starting |
Contoh
Respons sukses
JSONformat
{
"RequestId": "40325405-579C-4D82****",
"Message": "Service [foo] in region [cn-shanghai] is starting"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.