azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

get latest template via python sdk

Open itzikorfa opened this issue 8 years ago • 5 comments

Hi I need to create and delete demo environments in Azure. I want to get the latest version of a template of a specific VM from the Azure Marketplace(or public blob).

Is there a way via the python SDK to get the latest template of a specific VM?

Izia

itzikorfa avatar Sep 25 '18 18:09 itzikorfa

@yugangw-msft ?

lmazuel avatar Sep 25 '18 20:09 lmazuel

@itzikorfa are you asking about the ARM template gallery with endpoint like https://management.azure.com/azure/Microsoft.Gallery/galleryitems/...? It does have API support but has long been deprecated.

yugangw-msft avatar Sep 25 '18 20:09 yugangw-msft

For example I used the CENT OS 6. 8 and my demo worked fine. But last demo at didn't work because of changes in the cent OS template.

I goal is that when I test a demo I will create an API call get the latest version of the template and use it.

I hope I explained myself better

Izia

itzikorfa avatar Sep 25 '18 20:09 itzikorfa

dear friend can you please help me with my question?

Yizhak

On Tue, Sep 25, 2018 at 11:44 PM Yugang Wang [email protected] wrote:

@itzikorfa https://github.com/itzikorfa are you asking about the ARM template gallery with endpoint like https://management.azure.com/azure/Microsoft.Gallery/galleryitems/...? It does have API support but has long been deprecated.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Azure/azure-sdk-for-python/issues/3425#issuecomment-424494786, or mute the thread https://github.com/notifications/unsubscribe-auth/AMWU5XnmzM2oovr36h80iwhKBuYBj91vks5uepWNgaJpZM4W5OGB .

--



/\ \ /__ /__ \ /\ \ /\ / / \ \ \//\ /// /\ \ \ \ "-. \ _\ \ _\ /__\ _\ _\ _
/
/ /
/ /
___/ // ///_/

Cellular - 972-50-2789978


Are you an organ donor?

  • Yes, Good for you!
  • No, now is the time, you are one click away from saving many life's.

http://www.itc.gov.il/ http://www.health.gov.il/transplant/ for any questions and information contct me.

itzikorfa avatar Sep 27 '18 07:09 itzikorfa

The templates at https://management.azure.com/azure/Microsoft.Gallery/galleryitems/...? are primarily available for Azure Portal usage. For Demo purpose we recommend using Azure Quickstart templates https://azure.microsoft.com/en-us/resources/templates/

michaeljohnson1172 avatar Jul 03 '19 00:07 michaeljohnson1172