Using the NSX-T API
I've been writing some PowerShell scripts to automate NSX-T configuration lately, so I figured that I should put together a primer with notes about how to get started! Firstly, if you're working with the API, you're going to want to be able to reference the official documentation . There's a lot that can be done via the API, and that guide will tell you what calls to make to do most of it! If you're like me and haven't spent a lot of time working with APIs before, that document will present a pretty steep learning curve... so I'm writing out my notes here, to make it easier for people to get started! At its most basic, using the API is just sending a web request to the NSX-T manager and then reading the response. Since this is potentially sensitive information, you're going to have to authenticate with the server though, so you'll need to include a Header with that login information. If you want to change anything, you're also going to need