すべてのシステム メンテナンス レコードの取得

この API を使用して、maintenanceId を使用して特定のメンテナンスリクエストのすべてのシステム メンテナンス ステータスを取得します。

警告: エージェントのアップグレードが要求されると、エージェントインストーラは自動的に最新バージョンにアップグレードします。次に、応答の implicitMaintenance フィールドによって表されます。構成のメンテナンスは、バージョンのメンテナンス後に発生します。次に、応答の フィールドによって表されます。

形式:

GET /maintenance/history/{maintenanceId}/systemMaintenances

リクエストの例:

curl --location --request GET 'https://demo.saas.appdynamics.com/zero/v1beta/maintenance/history/{maintenanceId}/systemMaintenances' --header 'Authorization: Bearer {AuthToken}'

入力パラメータ:

パラメータ名 Parameter Type 説明 必須
systemMaintenanceId パス システム メンテナンス アクティビティの 。 あり

応答例:

Linuxの場合:
{
"total": 3,
"items": [
{
"systemMaintenanceId": "b469f73f-8530-444d-8aa1-256226de0305",
"systemId": "28f7a681-6010-4150-8940-ebee25841217",
"hostName": "hostname",
"startedAt": "1653427594984",
"updatedAt": "1653427608216",
"logsAvailable": false,
"status": "SUCCEEDED",
"prevAgentVersions": [
{
"type": "ZERO",
"version": "20.2.0.1183"
},
{
"type": "JAVA",
"version": "20.3.0.1183"
},
{
"type": "MACHINE",
"version": "22.2.0.3282"
}
],
"maintAgentVersions": [
{
"type": "ZERO",
"version": "22.5.0.2286"
}
],
"curAgentVersions": [
{
"type": "ZERO",
"version": "20.3.0.1183"
},
{
"type": "JAVA",
"version": "20.3.0.1183"
},
{
"type": "MACHINE",
"version": "22.3.0.3296"
}
],
"implicitMaintenance": true,
"operation": "UPGRADE",
"configurations": null
},
{
"systemMaintenanceId": "eab11200-cf9a-4ec5-9255-0ddbba320257",
"systemId": "28f7a681-6010-4150-8940-ebee25841217",
"hostName": "hostname",
"startedAt": "1653427594988",
"updatedAt": "1653427624802",
"logsAvailable": false,
"status": "SUCCEEDED",
"prevAgentVersions": [
{
"type": "ZERO",
"version": "20.2.0.1183"
},
{
"type": "JAVA",
"version": "20.3.0.1183"
},
{
"type": "MACHINE",
"version": "22.2.0.3282"
}
],
"maintAgentVersions": [
{
"type": "JDK8_PLUS",
"version": "22.4.0.33722"
}
],
"curAgentVersions": [
{
"type": "ZERO",
"version": "20.3.0.1183"
},
{
"type": "JAVA",
"version": "20.3.0.1183"
},
{
"type": "MACHINE",
"version": "22.3.0.3296"
}
],
"implicitMaintenance": false,
"operation": "UPGRADE",
"configurations": null
},
{
"systemMaintenanceId": "913d9929-a94b-472e-830f-ac1a4b68bc40",
"systemId": "28f7a681-6010-4150-8940-ebee25841217",
"hostName": "hostname",
"startedAt": "1653427594989",
"updatedAt": "1653427642527",
"logsAvailable": false,
"status": "SUCCEEDED",
"prevAgentVersions": [
{
"type": "ZERO",
"version": "20.2.0.1183"
},
{
"type": "JAVA",
"version": "20.3.0.1183"
},
{
"type": "MACHINE",
"version": "22.2.0.3282"
}
],
"maintAgentVersions": [],
"curAgentVersions": [
{
"type": "ZERO",
"version": "20.3.0.1183"
},
{
"type": "JAVA",
"version": "20.3.0.1183"
},
{
"type": "MACHINE",
"version": "22.3.0.3296"
}
],
"implicitMaintenance": false,
"operation": "CONFIGURATION",
"configurations": {
"enableOtel": true,
"otelProperties": {
"tracesExporter": "otlp,logging",
"metricsExporter": "otlp",
"otlpEndpoint": "http://localhost:4317"
},
"enableSim": null,
"dotnetCompatibility": null
}
}
]
}
Windowsの場合:
{
"total": 3,
"items": [
{
"systemMaintenanceId": "85473377-f46b-4ab8-941f-9c34a555c15a",
"systemId": "28f7a681-6010-4150-8940-ebee25841217",
"hostName": "hostname",
"startedAt": "1653430383251",
"updatedAt": "1653430397986",
"logsAvailable": false,
"status": "SUCCEEDED",
"prevAgentVersions": [
{
"type": "ZERO_WINDOWS",
"version": "20.2.0.1183"
},
{
"type": "MACHINE_WINDOWS",
"version": "22.2.0.3282"
}
],
"maintAgentVersions": [
{
"type": "ZERO_WINDOWS",
"version": "22.5.0.2286"
}
],
"curAgentVersions": [
{
"type": "ZERO_WINDOWS",
"version": "20.3.0.1183"
},
{
"type": "MACHINE_WINDOWS",
"version": "22.3.0.3296"
}
],
"implicitMaintenance": true,
"operation": "UPGRADE",
"configurations": null
},
{
"systemMaintenanceId": "5e8df22e-3e10-490a-874f-e7a8f9a1cd78",
"systemId": "28f7a681-6010-4150-8940-ebee25841217",
"hostName": "hostname",
"startedAt": "1653430383259",
"updatedAt": "1653430480344",
"logsAvailable": false,
"status": "SUCCEEDED",
"prevAgentVersions": [
{
"type": "ZERO_WINDOWS",
"version": "20.2.0.1183"
},
{
"type": "MACHINE_WINDOWS",
"version": "22.2.0.3282"
}
],
"maintAgentVersions": [
{
"type": "MACHINE_WINDOWS",
"version": "22.4.0.3344"
}
],
"curAgentVersions": [
{
"type": "ZERO_WINDOWS",
"version": "20.3.0.1183"
},
{
"type": "MACHINE_WINDOWS",
"version": "22.3.0.3296"
}
],
"implicitMaintenance": false,
"operation": "UPGRADE",
"configurations": null
},
{
"systemMaintenanceId": "4327f68b-78b1-4296-abf6-4c63c5012419",
"systemId": "28f7a681-6010-4150-8940-ebee25841217",
"hostName": "hostname",
"startedAt": "1653430383262",
"updatedAt": "1653430502656",
"logsAvailable": false,
"status": "SUCCEEDED",
"prevAgentVersions": [
{
"type": "ZERO_WINDOWS",
"version": "20.2.0.1183"
},
{
"type": "MACHINE_WINDOWS",
"version": "22.2.0.3282"
}
],
"maintAgentVersions": [],
"curAgentVersions": [
{
"type": "ZERO_WINDOWS",
"version": "20.3.0.1183"
},
{
"type": "MACHINE_WINDOWS",
"version": "22.3.0.3296"
}
],
"implicitMaintenance": false,
"operation": "CONFIGURATION",
"configurations": {
"enableOtel": null,
"otelProperties": null,
"enableSim": true,
"dotnetCompatibility": true
}
}
]
}