自动执行模型顾问检查
使用模型顾问批处理检查模型
您可以使用模型顾问 API 在批处理模式下执行模型顾问,创建对一个或多个系统执行模型顾问检查的脚本和函数,指定模型顾问的默认配置,并隐藏缺失模型顾问检查的警告。
类
Advisor.Application | 跨模型层次结构运行模型顾问 |
ModelAdvisor.SystemResult | Access system-level Model Advisor results |
ModelAdvisor.CheckResult | Access Model Advisor check results |
Advisor.Manager | 管理应用程序 |
函数
getReportFileName | Get report file name for ModelAdvisor.run system result
object |
ModelAdvisor.lookupCheckID | 查找旧模型顾问检查 ID 对应的当前模型顾问检查 ID |
ModelAdvisor.run | Use Model Advisor to run checks on systems |
ModelAdvisor.getModelConfiguration | Get Model Advisor configuration associated with model |
ModelAdvisor.setDefaultConfiguration | 设置模型顾问配置 |
ModelAdvisor.setModelConfiguration | Set Model Advisor configuration associated with model |
ModelAdvisor.summaryReport | 打开模型顾问命令行摘要报告 |
view | View Model Advisor run results for checks |
viewReport | View Model Advisor run results for systems |
主题
- 以编程方式检查系统
使用脚本和函数以编程方式运行模型顾问。
- Create a Function to Check Multiple Systems
Create a function to run checks on multiple systems, either sequentially or in parallel.
- Archive and View Results
After running the Model Advisor programmatically, you can archive and view the results.
- Archive and View Model Advisor Run Results
This example shows how to archive and view Model Advisor run results.