export information from json view using API
Hi All,
I have an Azure Compute Gallery in Azure with VM image definitions for Windows Server 2022/2019.Initially, I created a VM from the Azure Marketplace and converted it into an image. I am using a KMS server for activation. I use the following settings when creating new VMs from the image.
After creating a VM from the image, when I check the JSON view and search for the word offer, I don't find any value for it. Is this expected? I would like to fetch the offer value using an API. Is there any API available for this? If the offer is not present in the JSON view, I would like to consider it as null.
Additionally, I want to fetch the imageReference information using an API. For the VM I built, I see the below value in the JSON view. I need to export 3 values**(offer, imageReference & licenseType**) using an API and import them into one of my other applications. please guide me with the APIs