Compartir vía


VirtualMachineScaleSet.DefinitionStages.WithStorageAccount Interface

public interface WithStorageAccount

The stage of a virtual machine scale set definition allowing to specify the storage account.

Method Summary

Modifier and Type Method and Description
VirtualMachineScaleSet.DefinitionStages.WithCreate withExistingStorageAccount(StorageAccount storageAccount)

Specifies an existing storage account for the OS and data disk VHDs of the virtual machines in the scale set.

VirtualMachineScaleSet.DefinitionStages.WithCreate withNewStorageAccount(Creatable<StorageAccount> creatable)

Specifies a new storage account for the OS and data disk VHDs of the virtual machines in the scale set.

VirtualMachineScaleSet.DefinitionStages.WithCreate withNewStorageAccount(String name)

Specifies a new storage account for the OS and data disk VHDs of the virtual machines in the scale set.

Method Details

withExistingStorageAccount

public WithCreate withExistingStorageAccount(StorageAccount storageAccount)

Specifies an existing storage account for the OS and data disk VHDs of the virtual machines in the scale set.

Parameters:

storageAccount - an existing storage account

Returns:

the next stage in the definition

withNewStorageAccount

public WithCreate withNewStorageAccount(Creatable creatable)

Specifies a new storage account for the OS and data disk VHDs of the virtual machines in the scale set.

Parameters:

creatable - the storage account definition in a creatable stage

Returns:

the next stage in the definition

withNewStorageAccount

public WithCreate withNewStorageAccount(String name)

Specifies a new storage account for the OS and data disk VHDs of the virtual machines in the scale set.

Parameters:

name - the name of the storage account

Returns:

the next stage of the definition

Applies to