跳转到主内容

是否可以使用RestAPI调用计划CVO的关闭和打开电源?

Views:
Visibility:
Public
Votes:
0
Category:
cloud-volumes-ontap-cvo
Specialty:
cloud
Last Updated:

适用场景

  • Cloud Volumes ONTAP (CVO)
  • BlueXP
  • RestAPI

问题解答

 

  • 一种可能是  从BlueXP图形用户界面计划Cloud Volumes ONTAP的自动关闭
  • 另一种方法是使用对以下端点的RestAPI POST调用,ConnectorIP  VsaWorkingEnvironment-ID
    http://ConnectorIP:80/occm/api/azure/vsa/working-environments/VsaWorkingEnvironment-ID/start
    http://ConnectorIP:80/occm/api/azure/vsa/working-environments/VsaWorkingEnvironment-ID/stop


    例如: 
    curl -u admin -ik  -X POST "http://172.167.193.250:80/occm/api/azure/vsa/working-environments/VsaWorkingEnvironment-testabc/start" -H "accept: application/json"

    curl -u admin -ik  -X POST "http://172.167.193.250:80/occm/api/azure/vsa/working-environments/VsaWorkingEnvironment-testabc/stop" -H "accept: application/json"

 

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.