跳转到主内容

API服务到Unified Manager 9.7 REST API映射

Views:
2
Visibility:
Public
Votes:
0
Category:
oncommand-unified-manager
Specialty:
legacy
Last Updated:

适用场景

Unified Manager 9.7

问题解答

OnCommand API服务提供了哪些功能、支持时间有多长? 

OnCommand API服务产品提供REST API。合作伙伴应用程序可以使用这些API在NetApp ONTAP® 软件运行的存储系统上以编程方式执行指定的数据存储监控、信息检索操作和主动管理。  

OnCommand API服务2.2的支持期截止到2021年4月。  

我们是否有一款产品可以从中获取API服务REST API功能? 

OnCommand API服务提供的REST API功能可从Unified Manager 9.7数据中心范围的REST API中获取、并可使用网关调用ONTAP REST API。 

使用Unified Manager网关API有哪些优势? 

网关API具有使用Active IQ Unified Manager凭据运行ONTAP系统范围的REST API和管理存储对象的优势。 

此外、用户无需安装额外的系统来运行API、即可在数据中心和集群级别以编程方式管理ONTAP。建议用户使用Unified Manager 9.7和ONTAP 9.7中提供的REST API;ONTAP将继续为新功能提供更多REST API端点。  

我现在使用API Services实现自动化;我想了解哪种产品提供这些功能? 

要启用API服务的现有用户、 可在 OnCommand_APIs_to_UM_APIs_Mapping.xlsx Excel工作表中将API服务REST API映射到Active IQ Unified Manager 9.7 REST API端点。 

注:

  •  AIQ UM API不会返回与API服务相同的数据格式的记录或信息。  

  • 此外、AIQ UM中的网关API将提供与数据中心范围的API不同的数据模型。 

例如:JSON结构、参数名称  

如何阅读此映射文档? 

本文档中使用的术语: 

  • API服务API路径: API服务REST API端点  

  • AIQ UM 9.7 API路径: Unified Manager 9.7 REST API端点  

  • 类型: 

  • AIQ UM API从UM直接访问API端点 

  • API网关:从UM传递到ONTAP REST API端点  

  • 不支持:无可用等效API端点 

  • 范围:  

  • 数据中心级别:处理API查询并在数据中心级别执行 

  • 集群级别:处理API查询并在集群级别执行 

示例1: 

如果用户正在使用API-S API端点 GET /6.0/ONTAP/Aggregates 检索聚合详细信息、则可在Unified Manager 9.7上使用等效的API、该Unified Manager 9.7属于数据中心范围、GET /API/v2/Datacenter /存储/聚合 端点。 

示例2:  

如果用户使用API-S API端点 POST /6.0/ONTAP/Aggregates 创建聚合、则在Unified Manager 9.7网关REST API端点中提供等效项、该端点属于集群范围、POST /api/v2/网 关/{cluster}/storage/Aggregates  

注意: 网关API为您提供了运行ONTAP系统范围的REST API所需的Active IQ Unified Manager凭据。 

API服务可以缓存更改。AIQ UM产品是否提供此功能? 

API服务可以缓存更改并将其用于GET操作、直到集群上下次采集数据为止。AIQ Unified Manager在集群上进行下一次数据采集之前无法识别更改。  在此方案中、临时解决策将使用GET ON网关API来了解这些更改。   

方案: 使用UM网关API创建新卷 

  1. 使用网关在ONTAP上发布卷(缓存新创建卷的UUID) 

  1. 使用Gateway API Volume get获取卷并对其执行操作。 

  1. 要在下一个Unified Manager采集周期内做出配置决策、请使用网关API获取有关聚合的容量详细信息 

有关详细信息、请参见:  

追加信息

其他信息文本

 

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.