Class SshPublicKeyArgs.Builder

  • Enclosing class:
    SshPublicKeyArgs

    public static final class SshPublicKeyArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • keyData

        public SshPublicKeyArgs.Builder keyData​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> keyData)
        Parameters:
        keyData - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
        Returns:
        builder
      • keyData

        public SshPublicKeyArgs.Builder keyData​(java.lang.String keyData)
        Parameters:
        keyData - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
        Returns:
        builder
      • path

        public SshPublicKeyArgs.Builder path​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> path)
        Parameters:
        path - Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
        Returns:
        builder
      • path

        public SshPublicKeyArgs.Builder path​(java.lang.String path)
        Parameters:
        path - Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
        Returns:
        builder