ComputeInstanceSshSettingsResponse

data class ComputeInstanceSshSettingsResponse(val adminPublicKey: String? = null, val adminUserName: String, val sshPort: Int, val sshPublicAccess: String? = null)

Specifies policy and settings for SSH access.

Constructors

Link copied to clipboard
constructor(adminPublicKey: String? = null, adminUserName: String, sshPort: Int, sshPublicAccess: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val adminPublicKey: 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

Describes the admin user name.

Link copied to clipboard

Describes the port for connecting through SSH.

Link copied to clipboard
val sshPublicAccess: String? = 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.