All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.databasemigrationservice.kotlin.outputs.MigrationJobReverseSshConnectivity.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.databasemigrationservice.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property vm The name of the virtual machine (Compute Engine) used as the bastion server
 * for the SSH tunnel.
 * @property vmIp The IP of the virtual machine (Compute Engine) used as the bastion server
 * for the SSH tunnel.
 * @property vmPort The forwarding port of the virtual machine (Compute Engine) used as the
 * bastion server for the SSH tunnel.
 * @property vpc The name of the VPC to peer with the Cloud SQL private network.
 */
public data class MigrationJobReverseSshConnectivity(
    public val vm: String? = null,
    public val vmIp: String? = null,
    public val vmPort: Int? = null,
    public val vpc: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.databasemigrationservice.outputs.MigrationJobReverseSshConnectivity): MigrationJobReverseSshConnectivity = MigrationJobReverseSshConnectivity(
            vm = javaType.vm().map({ args0 -> args0 }).orElse(null),
            vmIp = javaType.vmIp().map({ args0 -> args0 }).orElse(null),
            vmPort = javaType.vmPort().map({ args0 -> args0 }).orElse(null),
            vpc = javaType.vpc().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy