Interface VirtualMachineScaleSet.DefinitionStages.WithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged
-
- All Known Subinterfaces:
VirtualMachineScaleSet.DefinitionManagedOrUnmanaged
- Enclosing interface:
- VirtualMachineScaleSet.DefinitionStages
public static interface VirtualMachineScaleSet.DefinitionStages.WithLinuxRootPasswordOrPublicKeyManagedOrUnmanagedThe stage of the Linux virtual machine scale set definition allowing to specify SSH root password or public key.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManagedOrUnmanagedwithRootPassword(String rootPassword)Specifies the SSH root password for the Linux virtual machine.VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManagedOrUnmanagedwithSsh(String publicKey)Specifies the SSH public key.
-
-
-
Method Detail
-
withRootPassword
VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManagedOrUnmanaged 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
VirtualMachineScaleSet.DefinitionStages.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:
publicKey- the SSH public key in PEM format.- Returns:
- the next stage of the definition
-
-