Skip to content
Examples of using Azure Service Map REST API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
AzureServiceMap.postman_collection.json
README.md
ServiceMap-REST-samples.ps1

README.md

Service Map REST API samples

You probably know what Azure Service Map is: a service that can analyze traffic in your data center and display application dependencies. This can be extremely useful for different purposes, such as deciding which VMs can be moved to the public cloud, and in which order.

At the time of this writing there is no SDK to Azure Service Map, but there are some REST APIs. Unfortunately the Service Map REST API Reference documentation is not too rich in examples, so I compiled a Postman library and a Powershell script with sample code that demonstrates how to use Azure Service Map REST API.

The examples cover:

  • Authentication (using a service principal)

  • Listing virtual machines reporting information to Service Map

  • Listing VM groups configured in Service Map

  • Adding VMs to to VM groups

Have fun with Azure Service Map!

You can’t perform that action at this time.