
com.pulumi.azurenative.datafactory.kotlin.inputs.SelfHostedIntegrationRuntimeArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.SelfHostedIntegrationRuntimeArgs.builder
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 kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Self-hosted integration runtime.
* @property description Integration runtime description.
* @property linkedInfo The base definition of a linked integration runtime.
* @property selfContainedInteractiveAuthoringEnabled An alternative option to ensure interactive authoring function when your self-hosted integration runtime is unable to establish a connection with Azure Relay.
* @property type The type of integration runtime.
* Expected value is 'SelfHosted'.
*/
public data class SelfHostedIntegrationRuntimeArgs(
public val description: Output? = null,
public val linkedInfo: Output>? =
null,
public val selfContainedInteractiveAuthoringEnabled: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.SelfHostedIntegrationRuntimeArgs = com.pulumi.azurenative.datafactory.inputs.SelfHostedIntegrationRuntimeArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.linkedInfo(
linkedInfo?.applyValue({ args0 ->
args0.transform({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.selfContainedInteractiveAuthoringEnabled(
selfContainedInteractiveAuthoringEnabled?.applyValue({ args0 ->
args0
}),
)
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SelfHostedIntegrationRuntimeArgs].
*/
@PulumiTagMarker
public class SelfHostedIntegrationRuntimeArgsBuilder internal constructor() {
private var description: Output? = null
private var linkedInfo:
Output>? =
null
private var selfContainedInteractiveAuthoringEnabled: Output? = null
private var type: Output? = null
/**
* @param value Integration runtime description.
*/
@JvmName("flscsmflaofxkrhy")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The base definition of a linked integration runtime.
*/
@JvmName("snpjqttwyvpicveq")
public suspend fun linkedInfo(`value`: Output>) {
this.linkedInfo = value
}
/**
* @param value An alternative option to ensure interactive authoring function when your self-hosted integration runtime is unable to establish a connection with Azure Relay.
*/
@JvmName("enutfouhwblruqjn")
public suspend fun selfContainedInteractiveAuthoringEnabled(`value`: Output) {
this.selfContainedInteractiveAuthoringEnabled = value
}
/**
* @param value The type of integration runtime.
* Expected value is 'SelfHosted'.
*/
@JvmName("gfhdjjdvqnmqtcjx")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Integration runtime description.
*/
@JvmName("fuocpppccfxiaqix")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value The base definition of a linked integration runtime.
*/
@JvmName("gxivkqlijkmuuxcc")
public suspend fun linkedInfo(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.linkedInfo = mapped
}
/**
* @param value The base definition of a linked integration runtime.
*/
@JvmName("ndhmcdmawrcspdgm")
public fun linkedInfo(`value`: LinkedIntegrationRuntimeKeyAuthorizationArgs) {
val toBeMapped = Either.ofLeft<
LinkedIntegrationRuntimeKeyAuthorizationArgs,
LinkedIntegrationRuntimeRbacAuthorizationArgs,
>(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.linkedInfo = mapped
}
/**
* @param value The base definition of a linked integration runtime.
*/
@JvmName("ayfhguledymkblyf")
public fun linkedInfo(`value`: LinkedIntegrationRuntimeRbacAuthorizationArgs) {
val toBeMapped = Either.ofRight<
LinkedIntegrationRuntimeKeyAuthorizationArgs,
LinkedIntegrationRuntimeRbacAuthorizationArgs,
>(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.linkedInfo = mapped
}
/**
* @param value An alternative option to ensure interactive authoring function when your self-hosted integration runtime is unable to establish a connection with Azure Relay.
*/
@JvmName("ovbvxhdndmpqlrah")
public suspend fun selfContainedInteractiveAuthoringEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.selfContainedInteractiveAuthoringEnabled = mapped
}
/**
* @param value The type of integration runtime.
* Expected value is 'SelfHosted'.
*/
@JvmName("ulmqjrdrlbebqihm")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): SelfHostedIntegrationRuntimeArgs = SelfHostedIntegrationRuntimeArgs(
description = description,
linkedInfo = linkedInfo,
selfContainedInteractiveAuthoringEnabled = selfContainedInteractiveAuthoringEnabled,
type = type ?: throw PulumiNullFieldException("type"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy