メインコンテンツへスキップ

RestAPI呼び出しを使用してCloud Volumes ONTAPの電源のオン/オフをスケジュールすることは可能ですか?

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

環境

  • Cloud Volumes ONTAP (CVO)
  • BlueXP
  • RestAPI

回答

 

  • 1つの方法は、BlueXP GUIインターフェースからCloud Volumes ONTAPの自動シャットダウンをスケジュールすること
  • 別の方法は、ConnectorIP とVsaWorkingEnvironment-IDを使用して、以下のエンドポイントに対してRestAPI POST呼び出しを行うことです:
    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.