跳转到主内容

错误: 未找到aggr-data-精简-storage-效率 比率的API

Views:
8
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>2009年708345</a>
Last Updated:

适用场景

  • 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" }
 
 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.