
com.pulumi.azurenative.datafactory.kotlin.inputs.LakeHouseTableSinkArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.LakeHouseTableSinkArgs.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 kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A copy activity for Microsoft Fabric LakeHouse Table sink.
* @property disableMetricsCollection If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
* @property maxConcurrentConnections The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
* @property partitionNameList Specify the partition column names from sink columns. Type: array of objects (or Expression with resultType array of objects).
* @property partitionOption Create partitions in folder structure based on one or multiple columns. Each distinct column value (pair) will be a new partition. Possible values include: "None", "PartitionByKey".
* @property sinkRetryCount Sink retry count. Type: integer (or Expression with resultType integer).
* @property sinkRetryWait Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
* @property tableActionOption The type of table action for LakeHouse Table sink. Possible values include: "None", "Append", "Overwrite".
* @property type Copy sink type.
* Expected value is 'LakeHouseTableSink'.
* @property writeBatchSize Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
* @property writeBatchTimeout Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
public data class LakeHouseTableSinkArgs(
public val disableMetricsCollection: Output? = null,
public val maxConcurrentConnections: Output? = null,
public val partitionNameList: Output? = null,
public val partitionOption: Output? = null,
public val sinkRetryCount: Output? = null,
public val sinkRetryWait: Output? = null,
public val tableActionOption: Output? = null,
public val type: Output,
public val writeBatchSize: Output? = null,
public val writeBatchTimeout: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.LakeHouseTableSinkArgs =
com.pulumi.azurenative.datafactory.inputs.LakeHouseTableSinkArgs.builder()
.disableMetricsCollection(disableMetricsCollection?.applyValue({ args0 -> args0 }))
.maxConcurrentConnections(maxConcurrentConnections?.applyValue({ args0 -> args0 }))
.partitionNameList(partitionNameList?.applyValue({ args0 -> args0 }))
.partitionOption(partitionOption?.applyValue({ args0 -> args0 }))
.sinkRetryCount(sinkRetryCount?.applyValue({ args0 -> args0 }))
.sinkRetryWait(sinkRetryWait?.applyValue({ args0 -> args0 }))
.tableActionOption(tableActionOption?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 }))
.writeBatchSize(writeBatchSize?.applyValue({ args0 -> args0 }))
.writeBatchTimeout(writeBatchTimeout?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LakeHouseTableSinkArgs].
*/
@PulumiTagMarker
public class LakeHouseTableSinkArgsBuilder internal constructor() {
private var disableMetricsCollection: Output? = null
private var maxConcurrentConnections: Output? = null
private var partitionNameList: Output? = null
private var partitionOption: Output? = null
private var sinkRetryCount: Output? = null
private var sinkRetryWait: Output? = null
private var tableActionOption: Output? = null
private var type: Output? = null
private var writeBatchSize: Output? = null
private var writeBatchTimeout: Output? = null
/**
* @param value If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
*/
@JvmName("mpyfejewupqtxpmt")
public suspend fun disableMetricsCollection(`value`: Output) {
this.disableMetricsCollection = value
}
/**
* @param value The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
*/
@JvmName("gscynkbajffnoohl")
public suspend fun maxConcurrentConnections(`value`: Output) {
this.maxConcurrentConnections = value
}
/**
* @param value Specify the partition column names from sink columns. Type: array of objects (or Expression with resultType array of objects).
*/
@JvmName("ngqxoykdoknpnaut")
public suspend fun partitionNameList(`value`: Output) {
this.partitionNameList = value
}
/**
* @param value Create partitions in folder structure based on one or multiple columns. Each distinct column value (pair) will be a new partition. Possible values include: "None", "PartitionByKey".
*/
@JvmName("mnuriwosunrrngtd")
public suspend fun partitionOption(`value`: Output) {
this.partitionOption = value
}
/**
* @param value Sink retry count. Type: integer (or Expression with resultType integer).
*/
@JvmName("aqyakmoroekfurtc")
public suspend fun sinkRetryCount(`value`: Output) {
this.sinkRetryCount = value
}
/**
* @param value Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("bnxccrroybsqohbq")
public suspend fun sinkRetryWait(`value`: Output) {
this.sinkRetryWait = value
}
/**
* @param value The type of table action for LakeHouse Table sink. Possible values include: "None", "Append", "Overwrite".
*/
@JvmName("abohbvjfyjwsbmpu")
public suspend fun tableActionOption(`value`: Output) {
this.tableActionOption = value
}
/**
* @param value Copy sink type.
* Expected value is 'LakeHouseTableSink'.
*/
@JvmName("hpvaxnvrrrkljorx")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
*/
@JvmName("fwimhuudnsfepcam")
public suspend fun writeBatchSize(`value`: Output) {
this.writeBatchSize = value
}
/**
* @param value Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("qesvpyqdwuqcgyiu")
public suspend fun writeBatchTimeout(`value`: Output) {
this.writeBatchTimeout = value
}
/**
* @param value If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
*/
@JvmName("tiublprielheqffs")
public suspend fun disableMetricsCollection(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.disableMetricsCollection = mapped
}
/**
* @param value The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
*/
@JvmName("bcgcylqtkuldiebc")
public suspend fun maxConcurrentConnections(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxConcurrentConnections = mapped
}
/**
* @param value Specify the partition column names from sink columns. Type: array of objects (or Expression with resultType array of objects).
*/
@JvmName("orirxdnxydpbucll")
public suspend fun partitionNameList(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.partitionNameList = mapped
}
/**
* @param value Create partitions in folder structure based on one or multiple columns. Each distinct column value (pair) will be a new partition. Possible values include: "None", "PartitionByKey".
*/
@JvmName("hxabnedfeksknmtw")
public suspend fun partitionOption(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.partitionOption = mapped
}
/**
* @param value Sink retry count. Type: integer (or Expression with resultType integer).
*/
@JvmName("birimhrewcpmmdxt")
public suspend fun sinkRetryCount(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sinkRetryCount = mapped
}
/**
* @param value Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("bjyhyavrwoeqjddv")
public suspend fun sinkRetryWait(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sinkRetryWait = mapped
}
/**
* @param value The type of table action for LakeHouse Table sink. Possible values include: "None", "Append", "Overwrite".
*/
@JvmName("lbrdwgosnkkwyrmc")
public suspend fun tableActionOption(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tableActionOption = mapped
}
/**
* @param value Copy sink type.
* Expected value is 'LakeHouseTableSink'.
*/
@JvmName("vcljsatwakqpnqsg")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
*/
@JvmName("jqcvtjaihmbxopaw")
public suspend fun writeBatchSize(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.writeBatchSize = mapped
}
/**
* @param value Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JvmName("vmlcnpbwvexkgdcd")
public suspend fun writeBatchTimeout(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.writeBatchTimeout = mapped
}
internal fun build(): LakeHouseTableSinkArgs = LakeHouseTableSinkArgs(
disableMetricsCollection = disableMetricsCollection,
maxConcurrentConnections = maxConcurrentConnections,
partitionNameList = partitionNameList,
partitionOption = partitionOption,
sinkRetryCount = sinkRetryCount,
sinkRetryWait = sinkRetryWait,
tableActionOption = tableActionOption,
type = type ?: throw PulumiNullFieldException("type"),
writeBatchSize = writeBatchSize,
writeBatchTimeout = writeBatchTimeout,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy