VirtualMachineScaleSet.DefinitionStages.WithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged Interface
public interface WithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged
The stage of the Linux virtual machine scale set definition allowing to specify SSH root password or public key.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withRootPassword(String rootPassword)
Specifies the SSH root password for the Linux virtual machine. |
Virtual |
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. |
Method Details
withRootPassword
public WithLinuxCreateManagedOrUnmanaged withRootPassword(String rootPassword)
Specifies the SSH root password for the Linux virtual machine.
Parameters:
Returns:
withSsh
public 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:
Returns:
Applies to
Azure SDK for Java
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示