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

VserverDrProtectionパラメータを使用したREST API呼び出しが失敗する

Views:
Visibility:
Public
Votes:
0
Category:
not set
Specialty:
not set
Last Updated:

環境

  • ONTAP 9
  • REST API 

問題

  • PowerShellコマンドを使用してボリューム VserverDrProtection を変更しようとすると、REST API callが失敗します。

PS C:\Windows\system32> $newVolume = New-NcVol -Name $volumeName -VserverContext $vServerName -Aggregate $aggregateName -Size $volumeSize -State $state -Type $type -ExportPolicy $exportPolicy -SnapshotPolicy $snapshotPolicy -SecurityStyle $securityStyle -SpaceReserve $spaceReserve -JunctionPath $junctionPath -Comment $comment -AntiRansomwareState $antiRansomwareState -VserverDrProtection $vServerDrProtection

  • エラー:

New-NcVol : VserverDrProtection parameter specified, which is not supported for REST call
At line:1 char:15
+ ... ewVolume = New-NcVol -Name $volumeName -VserverContext $vServerName ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-NcVol], ArgumentException
+ FullyQualifiedErrorId : VserverDrProtection parameter specified, which is not supported for REST call,DataONTAP.C.PowerShell.SDK.Cmdlets.Vo
lume.NewNcVol

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.

 

  • この記事は役に立ちましたか?