Skip to content

Attaching an array of data disks to a VM #6756

Answered by brwilkinson
snarkbe asked this question in Q&A
Discussion options

You must be logged in to vote

Do you really need to create the disks ahead of time, then use the attach option?

This is not common.

Most often the vm or Vmss allows you to create the disks directly as part on the VM definition.

Docs here:

https://docs.microsoft.com/en-us/azure/templates/microsoft.compute/virtualmachines?tabs=bicep#datadisk

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@brwilkinson
Comment options

@frontegi
Comment options

@brwilkinson
Comment options

@brwilkinson
Comment options

@JustinGrote
Comment options

Answer selected by brwilkinson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants