#[non_exhaustive]pub struct ReverseSshConnectivity {
pub vm_ip: String,
pub vm_port: i32,
pub vm: String,
pub vpc: String,
/* private fields */
}Expand description
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.vm_ip: StringRequired. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
vm_port: i32Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
vm: StringThe name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
vpc: StringThe name of the VPC to peer with the Cloud SQL private network.
Implementations§
Source§impl ReverseSshConnectivity
impl ReverseSshConnectivity
Trait Implementations§
Source§impl Clone for ReverseSshConnectivity
impl Clone for ReverseSshConnectivity
Source§fn clone(&self) -> ReverseSshConnectivity
fn clone(&self) -> ReverseSshConnectivity
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more