public static interface VirtualMachine.DefinitionStages.WithStorageAccount
Modifier and Type | Method and Description |
---|---|
VirtualMachine.DefinitionStages.WithCreate |
withExistingStorageAccount(StorageAccount storageAccount)
Specifies an existing storage account to put the VM's OS and data disk VHD in.
|
VirtualMachine.DefinitionStages.WithCreate |
withNewStorageAccount(Creatable<StorageAccount> creatable)
Specifies the definition of a not-yet-created storage account
to put the VM's OS and data disk VHDs into.
|
VirtualMachine.DefinitionStages.WithCreate |
withNewStorageAccount(String name)
Specifies the name of a new storage account to put the VM's OS and data disk VHD into.
|
VirtualMachine.DefinitionStages.WithCreate withNewStorageAccount(String name)
Only an OS disk based on a marketplace image will be stored in the new storage account. An OS disk based on a user image will be stored in the same storage account as the user image.
name
- the name for a new storage accountVirtualMachine.DefinitionStages.WithCreate withNewStorageAccount(Creatable<StorageAccount> creatable)
Only the OS disk based on a marketplace image will be stored in the new storage account. An OS disk based on a user image will be stored in the same storage account as the user image.
creatable
- a creatable storage account definitionVirtualMachine.DefinitionStages.WithCreate withExistingStorageAccount(StorageAccount storageAccount)
An OS disk based on a marketplace or a user image (generalized image) will be stored in this storage account.
storageAccount
- an existing storage accountCopyright © 2019. All rights reserved.