![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.datamigration.kotlin.outputs.MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInputResponse.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.Suppress
import kotlin.collections.List
/**
* Input for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations
* @property selectedDatabases Databases to migrate
* @property sourceConnectionInfo Connection information for source PostgreSQL
* @property targetConnectionInfo Connection information for target Azure Database for PostgreSQL
*/
public data class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInputResponse(
public val selectedDatabases: List,
public val sourceConnectionInfo: PostgreSqlConnectionInfoResponse,
public val targetConnectionInfo: PostgreSqlConnectionInfoResponse,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.datamigration.outputs.MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInputResponse): MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInputResponse =
MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInputResponse(
selectedDatabases = javaType.selectedDatabases().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datamigration.kotlin.outputs.MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInputResponse.Companion.toKotlin(args0)
})
}),
sourceConnectionInfo = javaType.sourceConnectionInfo().let({ args0 ->
com.pulumi.azurenative.datamigration.kotlin.outputs.PostgreSqlConnectionInfoResponse.Companion.toKotlin(args0)
}),
targetConnectionInfo = javaType.targetConnectionInfo().let({ args0 ->
com.pulumi.azurenative.datamigration.kotlin.outputs.PostgreSqlConnectionInfoResponse.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy