![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.datamigration.kotlin.outputs.GetUserTablesSqlTaskOutputResponse.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.datamigration.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* Output of the task that collects user tables for the given list of databases
* @property databasesToTables Mapping from database name to list of tables
* @property id Result identifier
* @property validationErrors Validation errors
*/
public data class GetUserTablesSqlTaskOutputResponse(
public val databasesToTables: Map>,
public val id: String,
public val validationErrors: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.datamigration.outputs.GetUserTablesSqlTaskOutputResponse): GetUserTablesSqlTaskOutputResponse = GetUserTablesSqlTaskOutputResponse(
databasesToTables = javaType.databasesToTables().map({ args0 ->
args0.key.to(
args0.value.map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datamigration.kotlin.outputs.DatabaseTableResponse.Companion.toKotlin(args0)
})
}),
)
}).toMap(),
id = javaType.id(),
validationErrors = javaType.validationErrors().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datamigration.kotlin.outputs.ReportableExceptionResponse.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy