View Source GoogleApi.DataMigration.V1.Model.ReverseSshConnectivity (google_api_data_migration v0.21.0)

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.

Attributes

  • vm (type: String.t, default: nil) - The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
  • vmIp (type: String.t, default: nil) - Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
  • vmPort (type: integer(), default: nil) - Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
  • vpc (type: String.t, default: nil) - The name of the VPC to peer with the Cloud SQL private network.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DataMigration.V1.Model.ReverseSshConnectivity{
  vm: String.t() | nil,
  vmIp: String.t() | nil,
  vmPort: integer() | nil,
  vpc: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.