VirtualMachineScaleSet.DefinitionStages.WithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged 接口

定义

The stage of the Linux virtual machine scale set definition allowing to specify SSH root password or public key.

public interface WithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged

方法

withRootPassword(String rootPassword)

Specifies the SSH root password for the Linux virtual machine.

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.

适用于