![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.dbforpostgresql.kotlin.inputs.GetMigrationPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.dbforpostgresql.kotlin.inputs
import com.pulumi.azurenative.dbforpostgresql.inputs.GetMigrationPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property migrationName The name of the migration.
* @property resourceGroupName The resource group name of the target database server.
* @property subscriptionId The subscription ID of the target database server.
* @property targetDbServerName The name of the target database server.
*/
public data class GetMigrationPlainArgs(
public val migrationName: String,
public val resourceGroupName: String,
public val subscriptionId: String? = null,
public val targetDbServerName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.dbforpostgresql.inputs.GetMigrationPlainArgs =
com.pulumi.azurenative.dbforpostgresql.inputs.GetMigrationPlainArgs.builder()
.migrationName(migrationName.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
.subscriptionId(subscriptionId?.let({ args0 -> args0 }))
.targetDbServerName(targetDbServerName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetMigrationPlainArgs].
*/
@PulumiTagMarker
public class GetMigrationPlainArgsBuilder internal constructor() {
private var migrationName: String? = null
private var resourceGroupName: String? = null
private var subscriptionId: String? = null
private var targetDbServerName: String? = null
/**
* @param value The name of the migration.
*/
@JvmName("crydyqasxldiauui")
public suspend fun migrationName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.migrationName = mapped
}
/**
* @param value The resource group name of the target database server.
*/
@JvmName("dxtplkaqsedqsdnl")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
/**
* @param value The subscription ID of the target database server.
*/
@JvmName("ybhhcdmocbdesrvg")
public suspend fun subscriptionId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.subscriptionId = mapped
}
/**
* @param value The name of the target database server.
*/
@JvmName("nlqnglwarpqehhxa")
public suspend fun targetDbServerName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.targetDbServerName = mapped
}
internal fun build(): GetMigrationPlainArgs = GetMigrationPlainArgs(
migrationName = migrationName ?: throw PulumiNullFieldException("migrationName"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
subscriptionId = subscriptionId,
targetDbServerName = targetDbServerName ?: throw PulumiNullFieldException("targetDbServerName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy