Interface VirtualMachineScaleSet.DefinitionStages.WithLinuxRootPasswordOrPublicKeyUnmanaged
- All Known Subinterfaces:
VirtualMachineScaleSet.DefinitionUnmanaged
- Enclosing interface:
- VirtualMachineScaleSet.DefinitionStages
public static interface VirtualMachineScaleSet.DefinitionStages.WithLinuxRootPasswordOrPublicKeyUnmanaged
The stage of the Linux virtual machine scale set definition allowing to specify SSH root password or public
key.
-
Method Summary
Modifier and TypeMethodDescriptionwithRootPassword(String rootPassword) Specifies the SSH root password for the Linux virtual machine.Specifies the SSH public key.
-
Method Details
-
withRootPassword
VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateUnmanaged withRootPassword(String rootPassword) Specifies the SSH root password for the Linux virtual machine.- Parameters:
rootPassword- a password following the complexity criteria for Azure Linux VM passwords- Returns:
- the next stage of the definition
-
withSsh
Specifies the SSH public key.Each call to this method adds the given public key to the list of VM's public keys.
- Parameters:
publicKey- the SSH public key in PEM format.- Returns:
- the next stage of the definition
-