ReverseSshConnectivity
import type { ReverseSshConnectivity } from "https://googleapis.deno.dev/v1/datamigration:v1.ts";
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/v1/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.
interface ReverseSshConnectivity {
vm?: string;
vmIp?: string;
vmPort?: number;
vpc?: string;
}§Properties
§
vm?: string
[src]The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
§
vmIp?: string
[src]Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.