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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for Java
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente las Cuestiones de GitHub como mecanismo de retroalimentación para el contenido y lo sustituiremos por un nuevo sistema de retroalimentación. Para más información, consulta:Enviar y ver comentarios de