![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.datamigration.kotlin.outputs.MigrateSqlServerSqlDbTaskPropertiesResponse.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 com.pulumi.core.Either
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database
* @property clientData Key value pairs of client data to attach meta data information to task
* @property commands Array of command properties.
* @property errors Array of errors. This is ignored if submitted.
* @property input Task input
* @property output Task output. This is ignored if submitted.
* @property state The state of the task. This is ignored if submitted.
* @property taskType Task type.
* Expected value is 'Migrate.SqlServer.SqlDb'.
*/
public data class MigrateSqlServerSqlDbTaskPropertiesResponse(
public val clientData: Map? = null,
public val commands: List>,
public val errors: List,
public val input: MigrateSqlServerSqlDbTaskInputResponse? = null,
public val output: List,
public val state: String,
public val taskType: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.datamigration.outputs.MigrateSqlServerSqlDbTaskPropertiesResponse): MigrateSqlServerSqlDbTaskPropertiesResponse = MigrateSqlServerSqlDbTaskPropertiesResponse(
clientData = javaType.clientData().map({ args0 -> args0.key.to(args0.value) }).toMap(),
commands = javaType.commands().map({ args0 ->
args0.transform(
{ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datamigration.kotlin.outputs.MigrateMISyncCompleteCommandPropertiesResponse.Companion.toKotlin(args0)
})
},
{ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datamigration.kotlin.outputs.MigrateSyncCompleteCommandPropertiesResponse.Companion.toKotlin(args0)
})
},
)
}),
errors = javaType.errors().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datamigration.kotlin.outputs.ODataErrorResponse.Companion.toKotlin(args0)
})
}),
input = javaType.input().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datamigration.kotlin.outputs.MigrateSqlServerSqlDbTaskInputResponse.Companion.toKotlin(args0)
})
}).orElse(null),
output = javaType.output().map({ args0 -> args0 }),
state = javaType.state(),
taskType = javaType.taskType(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy