共用方式為


IWithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged Interface

Definition

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

public interface IWithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged
type IWithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged = interface
Public Interface IWithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged
Derived

Methods

WithRootPassword(String)

Specifies the SSH root password for the Linux virtual machine.

WithSsh(String)

Specifies the SSH public key. Each call to this method adds the given public key to the list of VM's public keys.

Applies to