I am new to this space.. I am looking for a way to retrieve the VM host count using the custom attribute filter via programmatically. Can you please suggest me how can i achieve this?
From my CI-CD script i am provisioning VM's using terraform and i want to have validation check before that (Limit the no of VM's to be provisioned per team).
1) There is set of standard rest API's but it doesn't support for custom attributes.
2) PowerCLI commands . but that doen't work on Ubuntu / CentOS due to this issue.