Database Migration v1 API - Class ReverseSshConnectivity (2.2.0)

public sealed class ReverseSshConnectivity : IMessage<ReverseSshConnectivity>, IEquatable<ReverseSshConnectivity>, IDeepCloneable<ReverseSshConnectivity>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class ReverseSshConnectivity.

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.

Inheritance

object > ReverseSshConnectivity

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

ReverseSshConnectivity()

public ReverseSshConnectivity()

ReverseSshConnectivity(ReverseSshConnectivity)

public ReverseSshConnectivity(ReverseSshConnectivity other)
Parameter
NameDescription
otherReverseSshConnectivity

Properties

Vm

public string Vm { get; set; }

The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

Property Value
TypeDescription
string

VmIp

public string VmIp { get; set; }

Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

Property Value
TypeDescription
string

VmPort

public int VmPort { get; set; }

Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

Property Value
TypeDescription
int

Vpc

public string Vpc { get; set; }

The name of the VPC to peer with the Cloud SQL private network.

Property Value
TypeDescription
string