Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hey I'm trying to use the volume modify operation to modify volume attributes and the api fails to modify it , I checked the volumeModifyResponse class and it's empty.
Also I checked the values on the cli and it remains the same as before .
Can anyone help me figure out if something is needed for this function or is it error in the api.
I'm using the ontap nmsdk 9.7
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Sh-team
Can you share how you using the function and which attributes are you trying to modify?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hay I'm trying to modify the snapshot policy attributes
And I'm doing it like that :
volumeSnapshotAttributs.setSnapshotPolicy(policy name);
VolumeAttributes.setVolumeSnapshotAttributes(volumeSnapshotAttrobutes);
VolumeToModifyAttributes=this.getvolume(volumename,vserver) //getting the volume attributes
VolumeModifyItrRequest.setAttributes(volumeSnapshotAttributes);
VolumeModifyItrRequest.setQuery(volumeToModifyAttributes);
ExecutionManager.instance().execute(cluster,volumeModifyItrRequest);//this function contact the cluster and runs the query
