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/v1beta1/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
Inherited Members
Namespace: Google.Apis.DatabaseMigrationService.v1beta1.Data
Assembly: Google.Apis.DatabaseMigrationService.v1beta1.dll
Syntax
public class ReverseSshConnectivity : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Vm
The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
Declaration
[JsonProperty("vm")]
public virtual string Vm { get; set; }
Property Value
Type | Description |
---|---|
string |
VmIp
Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
Declaration
[JsonProperty("vmIp")]
public virtual string VmIp { get; set; }
Property Value
Type | Description |
---|---|
string |
VmPort
Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
Declaration
[JsonProperty("vmPort")]
public virtual int? VmPort { get; set; }
Property Value
Type | Description |
---|---|
int? |
Vpc
The name of the VPC to peer with the Cloud SQL private network.
Declaration
[JsonProperty("vpc")]
public virtual string Vpc { get; set; }
Property Value
Type | Description |
---|---|
string |