Menanyakan detail AddonRelease berdasarkan namanya.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ReleaseName |
string |
Yes |
Nama AddonRelease. |
agent-822567d4-2449 |
| RegionId |
string |
No |
ID region. |
cn-hangzhou |
| EnvironmentId |
string |
Yes |
ID lingkungan. |
env-xxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Respons. |
||
| RequestId |
string |
ID permintaan. |
78901766-3806-4E96-8E47-CFEF59E4**** |
| Code |
string |
Kode status. 200 menandakan berhasil; kode status lainnya menandakan error. |
200 |
| Success |
string |
Apakah operasi berhasil. true: operasi berhasil. false: operasi gagal. |
true |
| Message |
string |
Pesan. |
success |
| Data |
object |
Informasi rilis. |
|
| Release |
object |
Informasi rilis. |
|
| AddonName |
string |
The name of the add-on. |
mysql |
| AlertRuleCount |
integer |
The number of alert rules. |
1 |
| Conditions |
array<object> |
The installation phase. |
|
|
object |
Condition information. |
||
| FirstTransitionTime |
string |
The first transition time. |
2018-01-31T14:32:19Z |
| LastTransitionTime |
string |
The last transition time. |
2018-01-31T14:32:19Z |
| Message |
string |
The returned message. |
xxxx |
| Reason |
string |
The reason for the failure. |
xxxx |
| Status |
string |
The status of the phase. |
True |
| Type |
string |
The type of the phase. |
Loaded |
| CreateTime |
string |
The time when the add-on was created. |
2023-09-22T16:56:29+08:00 |
| DashboardCount |
integer |
The number of dashboards. |
1 |
| ExporterCount |
integer |
The number of exporters. |
2 |
| HaveConfig |
boolean |
Indicates whether the configuration is available. |
true |
| InstallUserId |
string |
The user ID. |
23810923891 |
| Language |
string |
The language. |
zh |
| ReleaseId |
string |
The release ID after installation. |
be29c093-3fd6-4fb6-9430-797030cc183a |
| ReleaseName |
string |
The name of the release. |
mysql-1695372983039 |
| Scene |
string |
The scenario. |
database |
| Status |
string |
The status. |
0 |
| UpdateTime |
string |
The time when the add-on was updated. |
2023-09-22T16:56:29+08:00 |
| UserID |
string |
The user ID. |
13818734031 |
| Version |
string |
The version of the add-on. |
0.0.1 |
| EnvironmentId |
string |
The environment ID. |
env-xxxx |
| RegionId |
string |
The region ID. |
cn-heyuan |
| Managed |
boolean |
Indicates whether the component is fully managed. |
|
| Config |
string |
Konfigurasi AddonRelease. |
{"host":"mysql-service.default","port":3306,"username":"root","password":"roots"} |
Contoh
Respons sukses
JSONformat
{
"RequestId": "78901766-3806-4E96-8E47-CFEF59E4****",
"Code": "200",
"Success": "true",
"Message": "success",
"Data": {
"Release": {
"AddonName": "mysql",
"AlertRuleCount": 1,
"Conditions": [
{
"FirstTransitionTime": "2018-01-31T14:32:19Z",
"LastTransitionTime": "2018-01-31T14:32:19Z",
"Message": "xxxx",
"Reason": "xxxx",
"Status": "True",
"Type": "Loaded"
}
],
"CreateTime": "2023-09-22T16:56:29+08:00",
"DashboardCount": 1,
"ExporterCount": 2,
"HaveConfig": true,
"InstallUserId": "23810923891",
"Language": "zh",
"ReleaseId": "be29c093-3fd6-4fb6-9430-797030cc183a",
"ReleaseName": "mysql-1695372983039",
"Scene": "database",
"Status": "0",
"UpdateTime": "2023-09-22T16:56:29+08:00",
"UserID": "13818734031",
"Version": "0.0.1",
"EnvironmentId": "env-xxxx",
"RegionId": "cn-heyuan",
"Managed": false
},
"Config": "{\"host\":\"mysql-service.default\",\"port\":3306,\"username\":\"root\",\"password\":\"roots\"}"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.