
com.pulumi.azurenative.datamigration.kotlin.inputs.GetUserTablesSqlTaskInputArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datamigration.kotlin.inputs
import com.pulumi.azurenative.datamigration.inputs.GetUserTablesSqlTaskInputArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Input for the task that collects user tables for the given list of databases
* @property connectionInfo Connection information for SQL Server
* @property selectedDatabases List of database names to collect tables for
*/
public data class GetUserTablesSqlTaskInputArgs(
public val connectionInfo: Output,
public val selectedDatabases: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datamigration.inputs.GetUserTablesSqlTaskInputArgs =
com.pulumi.azurenative.datamigration.inputs.GetUserTablesSqlTaskInputArgs.builder()
.connectionInfo(connectionInfo.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.selectedDatabases(selectedDatabases.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [GetUserTablesSqlTaskInputArgs].
*/
@PulumiTagMarker
public class GetUserTablesSqlTaskInputArgsBuilder internal constructor() {
private var connectionInfo: Output? = null
private var selectedDatabases: Output>? = null
/**
* @param value Connection information for SQL Server
*/
@JvmName("jxhpvcfglaupnbxk")
public suspend fun connectionInfo(`value`: Output) {
this.connectionInfo = value
}
/**
* @param value List of database names to collect tables for
*/
@JvmName("ujvglmyhfokxiuux")
public suspend fun selectedDatabases(`value`: Output>) {
this.selectedDatabases = value
}
@JvmName("cumowdbnuchfjatw")
public suspend fun selectedDatabases(vararg values: Output) {
this.selectedDatabases = Output.all(values.asList())
}
/**
* @param values List of database names to collect tables for
*/
@JvmName("glcmahmhtpkkclqu")
public suspend fun selectedDatabases(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy