pub struct ReverseSshConnectivity {
pub vm: Option<String>,
pub vm_ip: Option<String>,
pub vm_port: Option<i32>,
pub vpc: Option<String>,
}
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.
This type is not used in any activity, and only used as part of another schema.
Fields§
§vm: Option<String>
The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
vm_ip: Option<String>
Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
vm_port: Option<i32>
Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
vpc: Option<String>
The name of the VPC to peer with the Cloud SQL private network.
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 moreSource§impl Debug for ReverseSshConnectivity
impl Debug for ReverseSshConnectivity
Source§impl Default for ReverseSshConnectivity
impl Default for ReverseSshConnectivity
Source§fn default() -> ReverseSshConnectivity
fn default() -> ReverseSshConnectivity
Source§impl<'de> Deserialize<'de> for ReverseSshConnectivity
impl<'de> Deserialize<'de> for ReverseSshConnectivity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for ReverseSshConnectivity
impl Serialize for ReverseSshConnectivity
impl Part for ReverseSshConnectivity
Auto Trait Implementations§
impl Freeze for ReverseSshConnectivity
impl RefUnwindSafe for ReverseSshConnectivity
impl Send for ReverseSshConnectivity
impl Sync for ReverseSshConnectivity
impl Unpin for ReverseSshConnectivity
impl UnwindSafe for ReverseSshConnectivity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more