Each of the API commands described here relate to retrieving, adding and deleting one or more Azure Accounts being monitored at your site.
Each Azure Account is completely described by a Hash.
The Azure Account Hash
An example JSON-encoded Azure Account Hash is shown below:
Index
Retrieve a list of all of your Azure Accounts.
CURL Command, and variations:
CURL Response:
Response is a JSON-encoded list of AWS Account Hashes and stats (contains total no of accounts).
Create
Add a new AWS Account.
Required parameters:
client_id
Client Id string for Azure Account
tenant_id
Tenant Id string for Azure Account
client_secret
Client Secret string for Azure Account
label
Label is a Describer String to be shown on UI
Optional parameters:
tags
Tags to apply to this Azure Account, If not specified no tags will be applied.
Curl Command
Curl Response
Update
Update specified Azure Account Hash
Required parameters:
Azure_Account_ID
ID of Azure Account which is to be updated
*All params are same as create, required only params those need to modify.