Support creating a blank VHD in a storage account
CLI Version: 0.10.7 OS Type: Mac Installation via: npm
Mode: ASM
Environment: AzureCloud
Description:
Cross-posting from https://github.com/Azure/azure-cli/issues/655
There are Kubernetes scenarios where users need to be able to provision blank VHDs in a storage account so they can make them available in their cluster.
Today, basically there are only two options as far as I can tell:
Attach a new blank disk to a VM from the Portal or CLI. Immediately detach the disk. At least it's a valid VHD. Create the VHD on your local system. (qemu-img, etc) There ought to be a way to do this from CLI (or better yet, if this were something that Storage could do via an API).
In comparison, you can do it on one-line on AWS/GCE:
AWS: aws ec2 create-volume ...
GCE: gcloud compute disks create ...
@hasonmsft @huangpf - Can you guys take a look at this feature request?
@singhkays Could you please help route it to the owner for this request? Thanks.
We will probably only support it in the new stack ARM node though. So, users might need to migrate it to ARM first.
@sauryadas or @chagarw are probably the right owners for this feature
Why was this closed @chagarw? Does the CLI now have the ability to create a blank vhd?
As I haven't heard back on the reasoning for the closure. Re-opening and hoping this gets triaged/looked at again.