ReverseSshConnectivityArgs

data class ReverseSshConnectivityArgs(val vm: Output<String>? = null, val vmIp: Output<String>, val vmPort: Output<Int>, val vpc: Output<String>? = null) : ConvertibleToJava<ReverseSshConnectivityArgs>

The details needed to configure a reverse SSH tunnel between the source and destination databases. These details will be used when calling the generateSshScript method (see https://cloud.google.com/database-migration/docs/reference/rest/v1beta1/projects.locations.migrationJobs/generateSshScript) to produce the script that will help set up the reverse SSH tunnel, and to set up the VPC peering between the Cloud SQL private network and the VPC.

Constructors

Link copied to clipboard
fun ReverseSshConnectivityArgs(vm: Output<String>? = null, vmIp: Output<String>, vmPort: Output<Int>, vpc: Output<String>? = null)

Functions

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

Properties

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

The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

Link copied to clipboard
val vmIp: Output<String>

The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

Link copied to clipboard
val vmPort: Output<Int>

The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

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

The name of the VPC to peer with the Cloud SQL private network.