特定のメンテナンス リクエスト レコードの取得
この API を使用して、maintenanceID を使用して特定のアップグレードおよびロールバックの maintenance レコードを取得します。このレコードは、個々のシステムのステータスではなく、全体的なメンテナンスステータスを提供します。
形式:
GET /maintenance/history/{maintenanceId}
リクエストの例:
curl --location --request GET 'https://demo.saas.appdynamics.com/zero/v1beta/maintenance/history/{maintenanceId}' --header 'Authorization: Bearer {AuthToken}'
入力パラメータ:
| パラメータ名 | Parameter Type | 説明 | 必須 |
|---|---|---|---|
systemMaintenanceId |
パス | システム メンテナンス アクティビティの 。 | あり |
応答例:
- Linuxの場合:
-
{ "maintenanceId":"d601aacc-97a4-479e-b2b3-db095fef34fc", "operation":"UPGRADE", "status":"PENDING", "startedAt":"2021-10-25T18:20:55.196Z", "updatedAt":"2021-10-25T18:20:55.196Z", "maintAgentVersions":[ { "type":"JAVA", "version":"20.3.0.1183" } ], "affectedSystemIds":[ "d601aacc-97a4-479e-b2b3-db095fef34fc" ], "failedSystemMaintenanceIds":[ "d601aacc-97a4-479e-b2b3-db095fef34fc" ], "configurations":{ "enableOtel":true, "otelProperties":{ "tracesExporter":"otlp,logging", "metricsExporter":"otlp,logging", "otlpEndpoint":"http://localhost:4317" }, "enableSim":true, "dotnetCompatibility":null } }
- Windowsの場合:
-
{ "maintenanceId":"d601aacc-97a4-479e-b2b3-db095fef34fd", "operation":"UPGRADE", "status":"SUCCEEDED", "startedAt":"2022-05-11T18:20:55.196Z", "updatedAt":"2022-05-11T18:20:55.196Z", "applicationName": null, "maintAgentVersions": [ { "type": "MACHINE_WINDOWS", "version": "22.4.0.3344" } ], "affectedSystemIds":[ "c44f978d-8db6-452f-9387-9b852d8df03a" ], "failedSystemMaintenanceIds": null, "configurations":{ "enableSim": true, "dotnetCompatibility": true } }