I'm currently creating resource pools through the web UI as per https://www.cloudera.com/documentation/enterprise/5-6-x/topics/cm_mc_resource_pools.html#concept_xkk_l1d_wr__section_utc_gbl_vl
Since I have a large number of resource pools to create I want to do this using some script.
Is there any way this can be done through cloudera manager REST api?