All,
Get-NcQosPolicy does not work in this version against 8.3.1 GA. I am in need of this for a WFA script urgently. Any help would be greatly appreciated. CDoT OnTap Dev Team - Where is this API? How did it get removed from 8.3.1 GA?!?
PS C:\temp\POSH> Get-NcQosPolicy
Get-NcQosPolicy : Unable to find API: qos-policy-get-iter
At line:1 char:1
+ Get-NcQosPolicy
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (x.x.x.x:NcController) [Get-NcQosPolicy], EAPINOTFOUND
+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Qos.GeNcQosPolicy
In CDoT:
LAB-DR::*> security login role show-user-capability -operation-api-name qos-*
ObjectName: qos.policy-group
OperationName Command ONTAPI
-------------------- ----------------------------- -------------------------
create qos policy-group create qos-policy-group-create
delete qos policy-group delete qos-policy-group-delete,qos-policy-group-delete-iter
modify qos policy-group modify qos-policy-group-modify,qos-policy-group-modify-iter
rename qos policy-group rename qos-policy-group-rename
show qos policy-group show qos-policy-group-get,qos-policy-group-get-iter
ObjectName: qos.settings.control
OperationName Command ONTAPI
-------------------- ----------------------------- -------------------------
modify qos settings control modify qos-settings-control-modify
show qos settings control show qos-settings-control-get
ObjectName: qos.settings.read-ahead
OperationName Command ONTAPI
-------------------- ----------------------------- -------------------------
create qos settings read-ahead create qos-settings-read-ahead-create
delete qos settings read-ahead delete qos-settings-read-ahead-destroy,qos-settings-read-ahead-destroy-iter
modify qos settings read-ahead modify qos-settings-read-ahead-modify,qos-settings-read-ahead-modify-iter
show qos settings read-ahead show qos-settings-read-ahead-get,qos-settings-read-ahead-get-iter
ObjectName: qos.workload
OperationName Command ONTAPI
-------------------- ----------------------------- -------------------------
delete qos workload delete qos-workload-delete,qos-workload-delete-iter
modify qos workload modify qos-workload-modify,qos-workload-modify-iter
show qos workload show qos-workload-get,qos-workload-get-iter
14 entries were displayed.
It seems this API really does NOT exist? Is there another API to use in it's place? If so, is it possible to manually redirect to another API from powershell commands that I am unaware of? That's a little shocking the entire API is not there.
In the PowerShell Modules Source Code for the DLL, I do see where to change it, however, I dont think the API even exists in CDoT. Senior Dev's??
-Noel