I am working on automation which installs SQL iDataAgent on new clients and also creates AG (Availability Group) Instance.
I have found this API endpoint to push install the MSSQL iData Agent on the servers but I can’t find an example of creating AG Instance via API.