Software Development Kit (SDK) and API Discussions

APIs for FlexGroups

Fambo
2,982 Views

Within the SDK are there API calls to gather details on FlexGroups? If yes, where can I find them? 

2 REPLIES 2

richard_payne
2,924 Views

I don't know there's anything specific to flexgroups. I know I looked at this a few weeks ago and they are just volumes. Each flexgroup volume has a set of constituent volumes and they all share a common UUID. There is an 'style-extended' field that's returned as part of the volume-id-attributes. I have not tried allocating flexgroup vols via the API (yet), that's next!

 

--rdp

pukale
2,244 Views

use derived_style=flexgroup query during GET on volumes.

 

example:

https://<ip_address:port>/api/4.0/ontap/volumes?derived_style=flexgroup.

Public