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

RestAPI呼び出しを使用してCVOの電源をオフまたはオンにするスケジュールを設定することはできますか。

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

環境

  • Cloud Volumes ONTAP(CVO)
  • BlueXP
  • RestAPI

回答

 

  • BlueXPのGUIインターフェイスからCloud Volumes ONTAPの自動シャットダウンのスケジュールを設定することも可能
  • もう1つの方法は、次のエンドポイントに対して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.