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

com.pulumi.gcp.databasemigrationservice.kotlin.inputs.MigrationJobReverseSshConnectivityArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.gcp.databasemigrationservice.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.databasemigrationservice.inputs.MigrationJobReverseSshConnectivityArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @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 MigrationJobReverseSshConnectivityArgs(
    public val vm: Output? = null,
    public val vmIp: Output? = null,
    public val vmPort: Output? = null,
    public val vpc: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.databasemigrationservice.inputs.MigrationJobReverseSshConnectivityArgs =
        com.pulumi.gcp.databasemigrationservice.inputs.MigrationJobReverseSshConnectivityArgs.builder()
            .vm(vm?.applyValue({ args0 -> args0 }))
            .vmIp(vmIp?.applyValue({ args0 -> args0 }))
            .vmPort(vmPort?.applyValue({ args0 -> args0 }))
            .vpc(vpc?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [MigrationJobReverseSshConnectivityArgs].
 */
@PulumiTagMarker
public class MigrationJobReverseSshConnectivityArgsBuilder internal constructor() {
    private var vm: Output? = null

    private var vmIp: Output? = null

    private var vmPort: Output? = null

    private var vpc: Output? = null

    /**
     * @param value The name of the virtual machine (Compute Engine) used as the bastion server
     * for the SSH tunnel.
     */
    @JvmName("jsqkxlsmnygluqjd")
    public suspend fun vm(`value`: Output) {
        this.vm = value
    }

    /**
     * @param value The IP of the virtual machine (Compute Engine) used as the bastion server
     * for the SSH tunnel.
     */
    @JvmName("yrjrsjkgpvmhtbel")
    public suspend fun vmIp(`value`: Output) {
        this.vmIp = value
    }

    /**
     * @param value The forwarding port of the virtual machine (Compute Engine) used as the
     * bastion server for the SSH tunnel.
     */
    @JvmName("ihynbmniumsvpmap")
    public suspend fun vmPort(`value`: Output) {
        this.vmPort = value
    }

    /**
     * @param value The name of the VPC to peer with the Cloud SQL private network.
     */
    @JvmName("nxbvmpbmkevybqkv")
    public suspend fun vpc(`value`: Output) {
        this.vpc = value
    }

    /**
     * @param value The name of the virtual machine (Compute Engine) used as the bastion server
     * for the SSH tunnel.
     */
    @JvmName("fhtcgxbktonmtblp")
    public suspend fun vm(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vm = mapped
    }

    /**
     * @param value The IP of the virtual machine (Compute Engine) used as the bastion server
     * for the SSH tunnel.
     */
    @JvmName("qydbcsrlcvbbqmyx")
    public suspend fun vmIp(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vmIp = mapped
    }

    /**
     * @param value The forwarding port of the virtual machine (Compute Engine) used as the
     * bastion server for the SSH tunnel.
     */
    @JvmName("gtmbjvewbxxmxreu")
    public suspend fun vmPort(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vmPort = mapped
    }

    /**
     * @param value The name of the VPC to peer with the Cloud SQL private network.
     */
    @JvmName("rrpuaduvicyvbjyw")
    public suspend fun vpc(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vpc = mapped
    }

    internal fun build(): MigrationJobReverseSshConnectivityArgs =
        MigrationJobReverseSshConnectivityArgs(
            vm = vm,
            vmIp = vmIp,
            vmPort = vmPort,
            vpc = vpc,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy