![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.datafactory.kotlin.inputs.SqlMISourceArgs.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.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.SqlMISourceArgs.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.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* A copy activity Azure SQL Managed Instance source.
* @property additionalColumns Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
* @property disableMetricsCollection If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
* @property isolationLevel Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string).
* @property maxConcurrentConnections The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
* @property partitionOption The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". Type: string (or Expression with resultType string).
* @property partitionSettings The settings that will be leveraged for Sql source partitioning.
* @property produceAdditionalTypes Which additional types to produce.
* @property queryTimeout Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
* @property sourceRetryCount Source retry count. Type: integer (or Expression with resultType integer).
* @property sourceRetryWait Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
* @property sqlReaderQuery SQL reader query. Type: string (or Expression with resultType string).
* @property sqlReaderStoredProcedureName Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string).
* @property storedProcedureParameters Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".
* @property type Copy source type.
* Expected value is 'SqlMISource'.
*/
public data class SqlMISourceArgs(
public val additionalColumns: Output? = null,
public val disableMetricsCollection: Output? = null,
public val isolationLevel: Output? = null,
public val maxConcurrentConnections: Output? = null,
public val partitionOption: Output? = null,
public val partitionSettings: Output? = null,
public val produceAdditionalTypes: Output? = null,
public val queryTimeout: Output? = null,
public val sourceRetryCount: Output? = null,
public val sourceRetryWait: Output? = null,
public val sqlReaderQuery: Output? = null,
public val sqlReaderStoredProcedureName: Output? = null,
public val storedProcedureParameters: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.SqlMISourceArgs =
com.pulumi.azurenative.datafactory.inputs.SqlMISourceArgs.builder()
.additionalColumns(additionalColumns?.applyValue({ args0 -> args0 }))
.disableMetricsCollection(disableMetricsCollection?.applyValue({ args0 -> args0 }))
.isolationLevel(isolationLevel?.applyValue({ args0 -> args0 }))
.maxConcurrentConnections(maxConcurrentConnections?.applyValue({ args0 -> args0 }))
.partitionOption(partitionOption?.applyValue({ args0 -> args0 }))
.partitionSettings(partitionSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.produceAdditionalTypes(produceAdditionalTypes?.applyValue({ args0 -> args0 }))
.queryTimeout(queryTimeout?.applyValue({ args0 -> args0 }))
.sourceRetryCount(sourceRetryCount?.applyValue({ args0 -> args0 }))
.sourceRetryWait(sourceRetryWait?.applyValue({ args0 -> args0 }))
.sqlReaderQuery(sqlReaderQuery?.applyValue({ args0 -> args0 }))
.sqlReaderStoredProcedureName(sqlReaderStoredProcedureName?.applyValue({ args0 -> args0 }))
.storedProcedureParameters(storedProcedureParameters?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SqlMISourceArgs].
*/
@PulumiTagMarker
public class SqlMISourceArgsBuilder internal constructor() {
private var additionalColumns: Output? = null
private var disableMetricsCollection: Output? = null
private var isolationLevel: Output? = null
private var maxConcurrentConnections: Output? = null
private var partitionOption: Output? = null
private var partitionSettings: Output? = null
private var produceAdditionalTypes: Output? = null
private var queryTimeout: Output? = null
private var sourceRetryCount: Output? = null
private var sourceRetryWait: Output? = null
private var sqlReaderQuery: Output? = null
private var sqlReaderStoredProcedureName: Output? = null
private var storedProcedureParameters: Output? = null
private var type: Output? = null
/**
* @param value Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
*/
@JvmName("ifhdrpmjbecxpxla")
public suspend fun additionalColumns(`value`: Output) {
this.additionalColumns = value
}
/**
* @param value If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
*/
@JvmName("gekdtbieywanlaud")
public suspend fun disableMetricsCollection(`value`: Output) {
this.disableMetricsCollection = value
}
/**
* @param value Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string).
*/
@JvmName("jktvpfveceaaxagd")
public suspend fun isolationLevel(`value`: Output) {
this.isolationLevel = value
}
/**
* @param value The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
*/
@JvmName("hpdohkjxgaefemty")
public suspend fun maxConcurrentConnections(`value`: Output) {
this.maxConcurrentConnections = value
}
/**
* @param value The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". Type: string (or Expression with resultType string).
*/
@JvmName("xkapdelqrjscbesn")
public suspend fun partitionOption(`value`: Output) {
this.partitionOption = value
}
/**
* @param value The settings that will be leveraged for Sql source partitioning.
*/
@JvmName("gdqkmkijpibudbra")
public suspend fun partitionSettings(`value`: Output) {
this.partitionSettings = value
}
/**
* @param value Which additional types to produce.
*/
@JvmName("biqlpwuknxvegmro")
public suspend fun produceAdditionalTypes(`value`: Output) {
this.produceAdditionalTypes = value
}
/**
* @param value Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("rinxebnmsqpmvcva")
public suspend fun queryTimeout(`value`: Output) {
this.queryTimeout = value
}
/**
* @param value Source retry count. Type: integer (or Expression with resultType integer).
*/
@JvmName("ckvohmaigpsnmipn")
public suspend fun sourceRetryCount(`value`: Output) {
this.sourceRetryCount = value
}
/**
* @param value Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("dtjbywqrfmcaomtm")
public suspend fun sourceRetryWait(`value`: Output) {
this.sourceRetryWait = value
}
/**
* @param value SQL reader query. Type: string (or Expression with resultType string).
*/
@JvmName("qnuefdcnowckgtvp")
public suspend fun sqlReaderQuery(`value`: Output) {
this.sqlReaderQuery = value
}
/**
* @param value Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string).
*/
@JvmName("ayatbylvoifnawns")
public suspend fun sqlReaderStoredProcedureName(`value`: Output) {
this.sqlReaderStoredProcedureName = value
}
/**
* @param value Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".
*/
@JvmName("trtcuqsayuxvbpky")
public suspend fun storedProcedureParameters(`value`: Output) {
this.storedProcedureParameters = value
}
/**
* @param value Copy source type.
* Expected value is 'SqlMISource'.
*/
@JvmName("esroiubvhboalggw")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
*/
@JvmName("awreajtbpqbxwaca")
public suspend fun additionalColumns(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.additionalColumns = mapped
}
/**
* @param value If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
*/
@JvmName("clgdswtwvkltqetl")
public suspend fun disableMetricsCollection(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.disableMetricsCollection = mapped
}
/**
* @param value Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string).
*/
@JvmName("qcjttinnlvyysvit")
public suspend fun isolationLevel(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.isolationLevel = mapped
}
/**
* @param value The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
*/
@JvmName("cepjjhmjemqafiut")
public suspend fun maxConcurrentConnections(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxConcurrentConnections = mapped
}
/**
* @param value The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". Type: string (or Expression with resultType string).
*/
@JvmName("bnhrqppnmrsrojdo")
public suspend fun partitionOption(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.partitionOption = mapped
}
/**
* @param value The settings that will be leveraged for Sql source partitioning.
*/
@JvmName("nccmwoubtpxexvim")
public suspend fun partitionSettings(`value`: SqlPartitionSettingsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.partitionSettings = mapped
}
/**
* @param argument The settings that will be leveraged for Sql source partitioning.
*/
@JvmName("uyqgrfjgntrkcpdl")
public suspend fun partitionSettings(argument: suspend SqlPartitionSettingsArgsBuilder.() -> Unit) {
val toBeMapped = SqlPartitionSettingsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.partitionSettings = mapped
}
/**
* @param value Which additional types to produce.
*/
@JvmName("iokgbatkmwrtijqo")
public suspend fun produceAdditionalTypes(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.produceAdditionalTypes = mapped
}
/**
* @param value Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("vghhkwqjtjomwfkm")
public suspend fun queryTimeout(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.queryTimeout = mapped
}
/**
* @param value Source retry count. Type: integer (or Expression with resultType integer).
*/
@JvmName("yqfmfsmorusswype")
public suspend fun sourceRetryCount(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceRetryCount = mapped
}
/**
* @param value Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("axfryjpwhdjwbupb")
public suspend fun sourceRetryWait(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceRetryWait = mapped
}
/**
* @param value SQL reader query. Type: string (or Expression with resultType string).
*/
@JvmName("vonnrffeutanlfog")
public suspend fun sqlReaderQuery(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sqlReaderQuery = mapped
}
/**
* @param value Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string).
*/
@JvmName("rmcwcsvubvcmlvul")
public suspend fun sqlReaderStoredProcedureName(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sqlReaderStoredProcedureName = mapped
}
/**
* @param value Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".
*/
@JvmName("oghbwqhyhrkjfiam")
public suspend fun storedProcedureParameters(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.storedProcedureParameters = mapped
}
/**
* @param value Copy source type.
* Expected value is 'SqlMISource'.
*/
@JvmName("kkblpjxpvsbosqlx")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): SqlMISourceArgs = SqlMISourceArgs(
additionalColumns = additionalColumns,
disableMetricsCollection = disableMetricsCollection,
isolationLevel = isolationLevel,
maxConcurrentConnections = maxConcurrentConnections,
partitionOption = partitionOption,
partitionSettings = partitionSettings,
produceAdditionalTypes = produceAdditionalTypes,
queryTimeout = queryTimeout,
sourceRetryCount = sourceRetryCount,
sourceRetryWait = sourceRetryWait,
sqlReaderQuery = sqlReaderQuery,
sqlReaderStoredProcedureName = sqlReaderStoredProcedureName,
storedProcedureParameters = storedProcedureParameters,
type = type ?: throw PulumiNullFieldException("type"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy