Mengambil detail peluncuran layanan.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
GET /api/v2/services/{ClusterId}/{ServiceName}/rollout HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
No |
ID wilayah tempat layanan diterapkan. |
cn-shanghai |
| ServiceName |
string |
No |
Nama layanan. |
foo |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. This ID is unique to each request and is used for troubleshooting. |
40325405-579C-4D82**** |
| Rollout |
object |
Details of the service rollout, including the rollout strategy ( |
|
| Strategy |
object |
The rollout strategy configuration. This object contains the parameters for a canary release or batch release. |
|
| Partition |
object |
||
| Partition |
string |
50% |
|
| Batch |
object |
||
| BatchSize |
string |
1 |
|
| Interval |
string |
5m |
|
| Status |
object |
The current progress and phase of the rollout. |
|
| Phase |
string |
Running |
|
| TotalReplicas |
integer |
10 |
|
| UpdatedReplicas |
integer |
5 |
|
| CurrentRevision |
string |
service-abc123-v1 |
|
| UpdateRevision |
string |
service-abc123-v2 |
|
| NextBatchStartTime |
string |
2026/05/08 16:10:56 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "40325405-579C-4D82****",
"Rollout": {
"Strategy": {
"Partition": {
"Partition": "50%"
},
"Batch": {
"BatchSize": "1",
"Interval": "5m"
}
},
"Status": {
"Phase": "Running",
"TotalReplicas": 10,
"UpdatedReplicas": 5,
"CurrentRevision": "service-abc123-v1",
"UpdateRevision": "service-abc123-v2",
"NextBatchStartTime": "2026/05/08 16:10:56"
}
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.