エラー: aggr-data-reduction-storage-efficiency-ratioに対応するAPIが見つかりません
環境
- ONTAP 9.12以前
- REST API
問題
- ONTAP 9.12 が結果を返します
[root@centos /]# curl -k -u admin -X GET "https://x.x.x.x/api/private/cli/storage/aggregate/show-efficiency?return_timeout=15&aggregate=aggr1&fields=aggr-data-reduction-storage-efficiency-ratio" -H "accept: application/json" Enter host password for user 'admin': { "records": [ { "aggregate": "aggr1", "aggr_data_reduction_storage_efficiency_ratio": "1.00:1" } ], "num_records": 1
- ONTAP 9.8でcurlを実行すると、エラーが発生します
API not found
。
# curl -k -u admin -X GET "https://x.x.x.x/api/private/cli/storage/aggregate/show-efficiency?return_timeout=15&aggregate=aggr1&fields=aggr-data-reduction-storage-efficiency-ratio" -H "accept: application/json" Enter host password for user 'admin': { "error": { "message": "API not found", "code": "3" }