Class SshPublicKeyArgs.Builder
- java.lang.Object
-
- com.pulumi.azurenative.hybridnetwork.inputs.SshPublicKeyArgs.Builder
-
- Enclosing class:
- SshPublicKeyArgs
public static final class SshPublicKeyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(SshPublicKeyArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SshPublicKeyArgs
build()
SshPublicKeyArgs.Builder
keyData(com.pulumi.core.Output<java.lang.String> keyData)
SshPublicKeyArgs.Builder
keyData(java.lang.String keyData)
SshPublicKeyArgs.Builder
path(com.pulumi.core.Output<java.lang.String> path)
SshPublicKeyArgs.Builder
path(java.lang.String path)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SshPublicKeyArgs defaults)
-
-
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
-
build
public SshPublicKeyArgs build()
-
-