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

com.pulumi.azurenative.hybridnetwork.kotlin.inputs.AzureArcKubernetesHelmApplicationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.hybridnetwork.kotlin.inputs

import com.pulumi.azurenative.hybridnetwork.inputs.AzureArcKubernetesHelmApplicationArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Azure arc kubernetes helm application configurations.
 * @property artifactProfile Azure arc kubernetes artifact profile.
 * @property artifactType The artifact type.
 * Expected value is 'HelmPackage'.
 * @property dependsOnProfile Depends on profile definition.
 * @property deployParametersMappingRuleProfile Deploy mapping rule profile.
 * @property name The name of the network function application.
 */
public data class AzureArcKubernetesHelmApplicationArgs(
    public val artifactProfile: Output? = null,
    public val artifactType: Output,
    public val dependsOnProfile: Output? = null,
    public val deployParametersMappingRuleProfile: Output? = null,
    public val name: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.hybridnetwork.inputs.AzureArcKubernetesHelmApplicationArgs =
        com.pulumi.azurenative.hybridnetwork.inputs.AzureArcKubernetesHelmApplicationArgs.builder()
            .artifactProfile(artifactProfile?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .artifactType(artifactType.applyValue({ args0 -> args0 }))
            .dependsOnProfile(dependsOnProfile?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .deployParametersMappingRuleProfile(
                deployParametersMappingRuleProfile?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            )
            .name(name?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AzureArcKubernetesHelmApplicationArgs].
 */
@PulumiTagMarker
public class AzureArcKubernetesHelmApplicationArgsBuilder internal constructor() {
    private var artifactProfile: Output? = null

    private var artifactType: Output? = null

    private var dependsOnProfile: Output? = null

    private var deployParametersMappingRuleProfile:
        Output? = null

    private var name: Output? = null

    /**
     * @param value Azure arc kubernetes artifact profile.
     */
    @JvmName("ewqwmtnwiwkyumag")
    public suspend fun artifactProfile(`value`: Output) {
        this.artifactProfile = value
    }

    /**
     * @param value The artifact type.
     * Expected value is 'HelmPackage'.
     */
    @JvmName("yjhjualdjicroinl")
    public suspend fun artifactType(`value`: Output) {
        this.artifactType = value
    }

    /**
     * @param value Depends on profile definition.
     */
    @JvmName("dihryuvjepqtfxpx")
    public suspend fun dependsOnProfile(`value`: Output) {
        this.dependsOnProfile = value
    }

    /**
     * @param value Deploy mapping rule profile.
     */
    @JvmName("aoyocnoscjghnmyq")
    public suspend fun deployParametersMappingRuleProfile(`value`: Output) {
        this.deployParametersMappingRuleProfile = value
    }

    /**
     * @param value The name of the network function application.
     */
    @JvmName("axqwnevdswifeksa")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Azure arc kubernetes artifact profile.
     */
    @JvmName("imnqrgrkghlivpjn")
    public suspend fun artifactProfile(`value`: AzureArcKubernetesArtifactProfileArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.artifactProfile = mapped
    }

    /**
     * @param argument Azure arc kubernetes artifact profile.
     */
    @JvmName("xnkdkhbntvfalwbr")
    public suspend fun artifactProfile(argument: suspend AzureArcKubernetesArtifactProfileArgsBuilder.() -> Unit) {
        val toBeMapped = AzureArcKubernetesArtifactProfileArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.artifactProfile = mapped
    }

    /**
     * @param value The artifact type.
     * Expected value is 'HelmPackage'.
     */
    @JvmName("tfdphkxaxmxirroo")
    public suspend fun artifactType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.artifactType = mapped
    }

    /**
     * @param value Depends on profile definition.
     */
    @JvmName("yigboktdtfwvqtor")
    public suspend fun dependsOnProfile(`value`: DependsOnProfileArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dependsOnProfile = mapped
    }

    /**
     * @param argument Depends on profile definition.
     */
    @JvmName("sntbxneeqhqqcefl")
    public suspend fun dependsOnProfile(argument: suspend DependsOnProfileArgsBuilder.() -> Unit) {
        val toBeMapped = DependsOnProfileArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dependsOnProfile = mapped
    }

    /**
     * @param value Deploy mapping rule profile.
     */
    @JvmName("sjypxwjwgvuqxbtt")
    public suspend fun deployParametersMappingRuleProfile(`value`: AzureArcKubernetesDeployMappingRuleProfileArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deployParametersMappingRuleProfile = mapped
    }

    /**
     * @param argument Deploy mapping rule profile.
     */
    @JvmName("pcjplscihgkvaupg")
    public suspend fun deployParametersMappingRuleProfile(argument: suspend AzureArcKubernetesDeployMappingRuleProfileArgsBuilder.() -> Unit) {
        val toBeMapped = AzureArcKubernetesDeployMappingRuleProfileArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.deployParametersMappingRuleProfile = mapped
    }

    /**
     * @param value The name of the network function application.
     */
    @JvmName("pfjlruaobyosrfgj")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    internal fun build(): AzureArcKubernetesHelmApplicationArgs =
        AzureArcKubernetesHelmApplicationArgs(
            artifactProfile = artifactProfile,
            artifactType = artifactType ?: throw PulumiNullFieldException("artifactType"),
            dependsOnProfile = dependsOnProfile,
            deployParametersMappingRuleProfile = deployParametersMappingRuleProfile,
            name = name,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy