VirtualMachine.DefinitionStages.WithVMSize.withSize Method

Definition

Overloads

withSize(VirtualMachineSizeTypes size)

Specifies the size of the virtual machine.

withSize(String sizeName)

Selects the size of the virtual machine.

withSize(VirtualMachineSizeTypes size)

Specifies the size of the virtual machine.

public abstract VirtualMachine.DefinitionStages.WithCreate withSize(VirtualMachineSizeTypes size)

Parameters

size
VirtualMachineSizeTypes

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

Returns

the next stage of the definition

withSize(String sizeName)

Selects the size of the virtual machine.

public abstract VirtualMachine.DefinitionStages.WithCreate withSize(String sizeName)

Parameters

sizeName
java.lang.String

the name of a size for the virtual machine as text

Returns

the next stage of the definition

Applies to