Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.CopyActivityArgs.builder
import com.pulumi.azurenative.datafactory.kotlin.enums.ActivityOnInactiveMarkAs
import com.pulumi.azurenative.datafactory.kotlin.enums.ActivityState
import com.pulumi.core.Either
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.collections.List
import kotlin.jvm.JvmName
/**
* Copy activity.
* @property dataIntegrationUnits Maximum number of data integration units that can be used to perform this data movement. Type: integer (or Expression with resultType integer), minimum: 0.
* @property dependsOn Activity depends on condition.
* @property description Activity description.
* @property enableSkipIncompatibleRow Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with resultType boolean).
* @property enableStaging Specifies whether to copy data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean).
* @property inputs List of inputs for the activity.
* @property linkedServiceName Linked service reference.
* @property logSettings Log settings customer needs provide when enabling log.
* @property logStorageSettings (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log.
* @property name Activity name.
* @property onInactiveMarkAs Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
* @property outputs List of outputs for the activity.
* @property parallelCopies Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store. Type: integer (or Expression with resultType integer), minimum: 0.
* @property policy Activity policy.
* @property preserve Preserve rules.
* @property preserveRules Preserve Rules.
* @property redirectIncompatibleRowSettings Redirect incompatible row settings when EnableSkipIncompatibleRow is true.
* @property sink Copy activity sink.
* @property skipErrorFile Specify the fault tolerance for data consistency.
* @property source Copy activity source.
* @property stagingSettings Specifies interim staging settings when EnableStaging is true.
* @property state Activity state. This is an optional property and if not provided, the state will be Active by default.
* @property translator Copy activity translator. If not specified, tabular translator is used.
* @property type Type of activity.
* Expected value is 'Copy'.
* @property userProperties Activity user properties.
* @property validateDataConsistency Whether to enable Data Consistency validation. Type: boolean (or Expression with resultType boolean).
*/
public data class CopyActivityArgs(
public val dataIntegrationUnits: Output? = null,
public val dependsOn: Output>? = null,
public val description: Output? = null,
public val enableSkipIncompatibleRow: Output? = null,
public val enableStaging: Output? = null,
public val inputs: Output>? = null,
public val linkedServiceName: Output? = null,
public val logSettings: Output? = null,
public val logStorageSettings: Output? = null,
public val name: Output,
public val onInactiveMarkAs: Output>? = null,
public val outputs: Output>? = null,
public val parallelCopies: Output? = null,
public val policy: Output? = null,
public val preserve: Output>? = null,
public val preserveRules: Output>? = null,
public val redirectIncompatibleRowSettings: Output? = null,
public val sink: Output,
public val skipErrorFile: Output? = null,
public val source: Output,
public val stagingSettings: Output? = null,
public val state: Output>? = null,
public val translator: Output? = null,
public val type: Output,
public val userProperties: Output>? = null,
public val validateDataConsistency: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.CopyActivityArgs =
com.pulumi.azurenative.datafactory.inputs.CopyActivityArgs.builder()
.dataIntegrationUnits(dataIntegrationUnits?.applyValue({ args0 -> args0 }))
.dependsOn(
dependsOn?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.description(description?.applyValue({ args0 -> args0 }))
.enableSkipIncompatibleRow(enableSkipIncompatibleRow?.applyValue({ args0 -> args0 }))
.enableStaging(enableStaging?.applyValue({ args0 -> args0 }))
.inputs(inputs?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.linkedServiceName(linkedServiceName?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.logSettings(logSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.logStorageSettings(
logStorageSettings?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.name(name.applyValue({ args0 -> args0 }))
.onInactiveMarkAs(
onInactiveMarkAs?.applyValue({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
)
.outputs(
outputs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.parallelCopies(parallelCopies?.applyValue({ args0 -> args0 }))
.policy(policy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.preserve(preserve?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.preserveRules(preserveRules?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.redirectIncompatibleRowSettings(
redirectIncompatibleRowSettings?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.sink(sink.applyValue({ args0 -> args0 }))
.skipErrorFile(skipErrorFile?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.source(source.applyValue({ args0 -> args0 }))
.stagingSettings(stagingSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.state(
state?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.translator(translator?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 }))
.userProperties(
userProperties?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.validateDataConsistency(validateDataConsistency?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CopyActivityArgs].
*/
@PulumiTagMarker
public class CopyActivityArgsBuilder internal constructor() {
private var dataIntegrationUnits: Output? = null
private var dependsOn: Output>? = null
private var description: Output? = null
private var enableSkipIncompatibleRow: Output? = null
private var enableStaging: Output? = null
private var inputs: Output>? = null
private var linkedServiceName: Output? = null
private var logSettings: Output? = null
private var logStorageSettings: Output? = null
private var name: Output? = null
private var onInactiveMarkAs: Output>? = null
private var outputs: Output>? = null
private var parallelCopies: Output? = null
private var policy: Output? = null
private var preserve: Output>? = null
private var preserveRules: Output>? = null
private var redirectIncompatibleRowSettings: Output? = null
private var sink: Output? = null
private var skipErrorFile: Output? = null
private var source: Output? = null
private var stagingSettings: Output? = null
private var state: Output>? = null
private var translator: Output? = null
private var type: Output? = null
private var userProperties: Output>? = null
private var validateDataConsistency: Output? = null
/**
* @param value Maximum number of data integration units that can be used to perform this data movement. Type: integer (or Expression with resultType integer), minimum: 0.
*/
@JvmName("skhnfcsitauahmgr")
public suspend fun dataIntegrationUnits(`value`: Output) {
this.dataIntegrationUnits = value
}
/**
* @param value Activity depends on condition.
*/
@JvmName("ncifwdgsaqjwxjsp")
public suspend fun dependsOn(`value`: Output>) {
this.dependsOn = value
}
@JvmName("mqypawvchgoxgbjt")
public suspend fun dependsOn(vararg values: Output) {
this.dependsOn = Output.all(values.asList())
}
/**
* @param values Activity depends on condition.
*/
@JvmName("qabwdnijtwfvjuxl")
public suspend fun dependsOn(values: List