ReverseSshConnectivity class

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.

Constructors

ReverseSshConnectivity({Input<String>? vm, required Input<String> vmIp, required Input<int> vmPort, Input<String>? vpc})
Creates a new ReverseSshConnectivity. vm The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel. vmIp The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel. vmPort The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel. vpc The name of the VPC to peer with the Cloud SQL private network.
const
ReverseSshConnectivity.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
vm → Input<String>?
The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
final
vmIp → Input<String>
The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
final
vmPort → Input<int>
The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
final
vpc → Input<String>?
The name of the VPC to peer with the Cloud SQL private network.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited