public static interface VirtualMachine.DefinitionStages.WithStorageAccount
| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.DefinitionStages.WithCreate |
withExistingStorageAccount(com.microsoft.azure.management.storage.StorageAccount storageAccount)
Specifies an existing
StorageAccount storage account to put the VM's OS and data disk VHD in. |
VirtualMachine.DefinitionStages.WithCreate |
withNewStorageAccount(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.storage.StorageAccount> creatable)
Specifies definition of a not-yet-created storage account definition
to put the VM's OS and data disk VHDs in.
|
VirtualMachine.DefinitionStages.WithCreate |
withNewStorageAccount(String name)
Specifies the name of a new storage account to put the VM's OS and data disk VHD in.
|
VirtualMachine.DefinitionStages.WithCreate withNewStorageAccount(String name)
Only the OS disk based on marketplace image will be stored in the new storage account, an OS disk based on user image will be stored in the same storage account as user image.
name - the name of the storage accountVirtualMachine.DefinitionStages.WithCreate withNewStorageAccount(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.storage.StorageAccount> creatable)
Only the OS disk based on marketplace image will be stored in the new storage account. An OS disk based on user image will be stored in the same storage account as user image.
creatable - the storage account in creatable stageVirtualMachine.DefinitionStages.WithCreate withExistingStorageAccount(com.microsoft.azure.management.storage.StorageAccount storageAccount)
StorageAccount storage account to put the VM's OS and data disk VHD in.
An OS disk based on marketplace or user image (generalized image) will be stored in this storage account.
storageAccount - an existing storage account/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/