VirtualMachineScaleSet.DefinitionStages.WithLinuxRootPasswordOrPublicKeyManaged Interface
public interface WithLinuxRootPasswordOrPublicKeyManaged
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 WithLinuxCreateManaged withRootPassword(String rootPassword)
Specifies the SSH root password for the Linux virtual machine.
Parameters:
Returns:
withSsh
public WithLinuxCreateManaged 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
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