Managing network profiles
Let's see how to manage network profiles in the vRA environment. We will start this discussion with the procedure on how to get a list of network profiles.
For this, we need to query the https://$host/iaas-proxy-provider/api/network/profiles
URL and the method we need to use is Get
. We can bring everything together and get the information by running the following command.
PS C:\> Invoke-RestMethod -Method Get -Uri "https://vra.lab.com/iaas- proxy-provider/api/network/profiles" -Headers $headers | ConvertTo- Json { "links": [ ], "content": [ { "@type": "ExternalNetworkProfile", "id": "be64956f-52d3-4eb7-9a9e- 29a7db7372b0", "name": "Cloud-External", "description": "", ...