Each of the API commands described here relate to retrieving and updating one or more Azure Resources being monitored at your site. Each Azure Resource is completely described by a Hash.
An example JSON-encoded Azure Resource Hash is shown below:
Currently UCM supports monitoring for only four azure types : VM, MSSQL, MySQL and PostgreSQL. Corresponding azure types are Microsoft.Compute/virtualMachines, Microsoft.Sql/servers/databases, Microsoft.DBforMySQL/servers & Microsoft.DBforPostgreSQL/servers.
If type of resource is other than this, we report ‘Other’ and even for these four types we return short versions from API (Eg. VM) for readability purpose. For filtering on type, you still need to send actual resource type (Eg. Microsoft.Compute/virtualMachines)
Retrieve a list of all of your Azure Resources for an Azure Resource Group.
You can also query for resources under a specific azure subscription and azure resource group (for all the APIs mentioned below)
Response is a JSON-encoded list of Azure Resource Hashes and stats(contains total no of resources for the resource group/account).
Show one Azure Resource based on ID.