Get contianer vhd sas uri directly given Image URN information Azure

Viewed 11

I have got Image URN pub:offer:sku:version information with me. Currently I'm performing below steps to get sas uri of the vhd uploaded to the container, using az cli commands.

1.Create osDisk 2.generate sas uri 3. Create storage account 4. Create container 5.add role assignment 6. Upload vhd to container using sas uri from 2nd step. 7. Generate sas uri of vhd uploaded to the container.

I want to skip 3rd 4th 5th 6th step. Is there any way to get sas uri of container vhd directl?

I'm planning to create osdisk using ARM template from given URN information.

0 Answers
Related