public static interface VirtualMachineScaleSet.DefinitionStages.WithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManagedOrUnmanaged |
withRootPassword(String rootPassword)
Specifies the SSH root password for the Linux virtual machine.
|
VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManagedOrUnmanaged |
withSsh(String publicKey)
Specifies the SSH public key.
|
VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManagedOrUnmanaged withRootPassword(String rootPassword)
rootPassword - a password following the complexity criteria for Azure Linux VM passwordsVirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManagedOrUnmanaged withSsh(String publicKey)
Each call to this method adds the given public key to the list of VM's public keys.
publicKey - the SSH public key in PEM format./**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/