ComputeInstanceSshSettingsArgs

data class ComputeInstanceSshSettingsArgs(val adminPublicKey: Output<String>? = null, val sshPublicAccess: Output<Either<String, SshPublicAccess>>? = null) : ConvertibleToJava<ComputeInstanceSshSettingsArgs>

Specifies policy and settings for SSH access.

Constructors

Link copied to clipboard
constructor(adminPublicKey: Output<String>? = null, sshPublicAccess: Output<Either<String, SshPublicAccess>>? = null)

Properties

Link copied to clipboard
val adminPublicKey: Output<String>? = null

Specifies the SSH rsa public key file as a string. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs.

Link copied to clipboard
val sshPublicAccess: Output<Either<String, SshPublicAccess>>? = null

State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable.

Functions

Link copied to clipboard
open override fun toJava(): ComputeInstanceSshSettingsArgs