VirtualMachineScaleSet.DefinitionStages.WithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged Interface
public interface WithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged
The stage of the Linux virtual machine scale set definition allowing to specify SSH root password or public key.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withRootPassword(String rootPassword)
Specifies the SSH root password for the Linux virtual machine. |
Virtual |
withSsh(String publicKey)
Specifies the SSH public key. Each call to this method adds the given public key to the list of VM's public keys. |
Method Details
withRootPassword
public WithLinuxCreateManagedOrUnmanaged withRootPassword(String rootPassword)
Specifies the SSH root password for the Linux virtual machine.
Parameters:
Returns:
withSsh
public WithLinuxCreateManagedOrUnmanaged withSsh(String publicKey)
Specifies the SSH public key.
Each call to this method adds the given public key to the list of VM's public keys.
Parameters:
Returns:
Applies to
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