VMware Cloud Community
Fwa
Enthusiast
Enthusiast

readable blueprint with REST API

With CloudClient, we can export the readable blueprint as text files.

Likewise, with REST API, can we export the readable blueprint as text files?

Tags (1)
0 Kudos
3 Replies
Craig_G2
Hot Shot
Hot Shot

Hey, yes its possible. We are doing it with PowervRA at the moment. You just need to make sure that you are setting the correct headers in your request.

New-vRAContentPackage -Name "CentosTest" -BlueprintId 2c4ded29-8c63-4f9e-92ad-7ee9cdf04f12
Export-vRAContentPackage -Name CentosTest -File C:\Code\centos.zip

You can checkout the code here > PowervRA/Export-vRAContentPackage.psm1 at development · jakkulabs/PowervRA · GitHub‌... Hopefully that will give you a better idea

Cheers 🙂

0 Kudos
Fwa
Enthusiast
Enthusiast

Really sorry for my late reply. Your contribution is great in GitHub.

0 Kudos
Craig_G2
Hot Shot
Hot Shot

Thanks. Hope you find it useful. 🙂

0 Kudos