All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.iotoperations.kotlin.inputs.DataFlowProfilePropertiesArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.iotoperations.kotlin.inputs

import com.pulumi.azurenative.iotoperations.inputs.DataFlowProfilePropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * DataFlowProfile Resource properties
 * @property diagnostics Spec defines the desired identities of NBC diagnostics settings.
 * @property instanceCount To manually scale the dataflow profile, specify the maximum number of instances you want to run.
 */
public data class DataFlowProfilePropertiesArgs(
    public val diagnostics: Output? = null,
    public val instanceCount: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.iotoperations.inputs.DataFlowProfilePropertiesArgs =
        com.pulumi.azurenative.iotoperations.inputs.DataFlowProfilePropertiesArgs.builder()
            .diagnostics(diagnostics?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .instanceCount(instanceCount?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataFlowProfilePropertiesArgs].
 */
@PulumiTagMarker
public class DataFlowProfilePropertiesArgsBuilder internal constructor() {
    private var diagnostics: Output? = null

    private var instanceCount: Output? = null

    /**
     * @param value Spec defines the desired identities of NBC diagnostics settings.
     */
    @JvmName("vnvnygshbeexklkm")
    public suspend fun diagnostics(`value`: Output) {
        this.diagnostics = value
    }

    /**
     * @param value To manually scale the dataflow profile, specify the maximum number of instances you want to run.
     */
    @JvmName("kwkvyasftejwdwdr")
    public suspend fun instanceCount(`value`: Output) {
        this.instanceCount = value
    }

    /**
     * @param value Spec defines the desired identities of NBC diagnostics settings.
     */
    @JvmName("dgeqnewwwjfxmcia")
    public suspend fun diagnostics(`value`: ProfileDiagnosticsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.diagnostics = mapped
    }

    /**
     * @param argument Spec defines the desired identities of NBC diagnostics settings.
     */
    @JvmName("qqmxvfrxeampmlac")
    public suspend fun diagnostics(argument: suspend ProfileDiagnosticsArgsBuilder.() -> Unit) {
        val toBeMapped = ProfileDiagnosticsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.diagnostics = mapped
    }

    /**
     * @param value To manually scale the dataflow profile, specify the maximum number of instances you want to run.
     */
    @JvmName("spffpwsbvavysloc")
    public suspend fun instanceCount(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.instanceCount = mapped
    }

    internal fun build(): DataFlowProfilePropertiesArgs = DataFlowProfilePropertiesArgs(
        diagnostics = diagnostics,
        instanceCount = instanceCount,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy