
com.pulumi.azurenative.streamanalytics.kotlin.outputs.AzureSynapseOutputDataSourceResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.streamanalytics.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Describes an Azure Synapse output data source.
* @property database The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.
* @property password The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.
* @property server The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests.
* @property table The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests.
* @property type Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.
* Expected value is 'Microsoft.Sql/Server/DataWarehouse'.
* @property user The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.
*/
public data class AzureSynapseOutputDataSourceResponse(
public val database: String? = null,
public val password: String? = null,
public val server: String? = null,
public val table: String? = null,
public val type: String,
public val user: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.streamanalytics.outputs.AzureSynapseOutputDataSourceResponse): AzureSynapseOutputDataSourceResponse = AzureSynapseOutputDataSourceResponse(
database = javaType.database().map({ args0 -> args0 }).orElse(null),
password = javaType.password().map({ args0 -> args0 }).orElse(null),
server = javaType.server().map({ args0 -> args0 }).orElse(null),
table = javaType.table().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
user = javaType.user().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy