Samples

Sample code for the common API usage.

Leave Feedback

In this section

Alert GET sample

These samples generate an API request to get a list of open alerts.

Alert POST sample

These samples generate an API request to post alerts on a resource.

Inventory GET sample

These samples retrieve inventory of managed resources within a client.

Metric GET sample

These samples generate an API request to get metric data for a managed resource.

Metric POST sample

These samples generate an API request to POST metric data on a managed resource.

Response payload sample

Sample of a response payload.

Schedule maintenance sample

These samples generate an API request to manage the schedule maintenance window.