VirtualMachine.DefinitionStages.WithVMSize Interface

public interface WithVMSize

The stage of a virtual machine definition allowing to select a VM size.

Method Summary

Modifier and Type Method and Description
VirtualMachine.DefinitionStages.WithCreate withSize(String sizeName)

Selects the size of the virtual machine.

VirtualMachine.DefinitionStages.WithCreate withSize(VirtualMachineSizeTypes size)

Specifies the size of the virtual machine.

Method Details

withSize

public WithCreate withSize(String sizeName)

Selects the size of the virtual machine.

Parameters:

sizeName - the name of a size for the virtual machine as text

Returns:

the next stage of the definition

withSize

public WithCreate withSize(VirtualMachineSizeTypes size)

Specifies the size of the virtual machine.

Parameters:

size - a size from the list of available sizes for the virtual machine

Returns:

the next stage of the definition

Applies to