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 |
---|---|
Virtual |
withSize(String sizeName)
Selects the size of the virtual machine. |
Virtual |
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for