Struct google_datamigration1::api::ReverseSshConnectivity[][src]

pub struct ReverseSshConnectivity {
    pub vm: Option<String>,
    pub vm_ip: Option<String>,
    pub vm_port: Option<i32>,
    pub vpc: Option<String>,
}

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

impl Clone for ReverseSshConnectivity[src]

impl Debug for ReverseSshConnectivity[src]

impl Default for ReverseSshConnectivity[src]

impl<'de> Deserialize<'de> for ReverseSshConnectivity[src]

impl Part for ReverseSshConnectivity[src]

impl Serialize for ReverseSshConnectivity[src]

Auto Trait Implementations

impl RefUnwindSafe for ReverseSshConnectivity[src]

impl Send for ReverseSshConnectivity[src]

impl Sync for ReverseSshConnectivity[src]

impl Unpin for ReverseSshConnectivity[src]

impl UnwindSafe for ReverseSshConnectivity[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.