VirtualMachine.DefinitionStages.WithLinuxRootPasswordOrPublicKeyManaged Interface
public interface WithLinuxRootPasswordOrPublicKeyManaged
The stage of a Linux virtual machine definition allowing to specify an 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 an SSH public key. |
Method Details
withRootPassword
public WithLinuxCreateManaged 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
public WithLinuxCreateManaged withSsh(String publicKey)
Specifies an SSH public key.
Parameters:
publicKey
- an SSH public key in the PEM format.
Returns:
the next stage of the definition
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示