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.
Implements
IMessageReverseSshConnectivity, IEquatableReverseSshConnectivity, IDeepCloneableReverseSshConnectivity, IBufferMessage, IMessageNamespace
Google.Cloud.CloudDms.V1Assembly
Google.Cloud.CloudDms.V1.dll
Constructors
ReverseSshConnectivity()
public ReverseSshConnectivity()
ReverseSshConnectivity(ReverseSshConnectivity)
public ReverseSshConnectivity(ReverseSshConnectivity other)
Parameter | |
---|---|
Name | Description |
other | ReverseSshConnectivity |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int |
Vpc
public string Vpc { get; set; }
The name of the VPC to peer with the Cloud SQL private network.
Property Value | |
---|---|
Type | Description |
string |