An Azure service that is used to provision Windows and Linux virtual machines.
@Mithran Joe
I understand that you are wanting to know how to see if an image requires plan details to launch the VM in PowerShell. Please let me know if I am misunderstanding the issue.
Information about Plan information can be found on the Find and use Azure Marketplace VM images with Azure PowerShell page. To view an image's purchase plan information, run the Get-AzVMImage cmdlet. If the PurchasePlan property in the output is not null, the image has terms you need to accept before programmatic deployment. You will also need to use Set-AzVMPlan when launching a VM with the image.
Hope this helps! Let me know if you still have questions or run into any issues.
If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.
If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.
Thank you for helping to improve Microsoft Q&A!