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

com.pulumi.azurenative.web.kotlin.inputs.ArcConfigurationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.web.kotlin.inputs

import com.pulumi.azurenative.web.inputs.ArcConfigurationArgs.builder
import com.pulumi.azurenative.web.kotlin.enums.StorageType
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property artifactStorageAccessMode
 * @property artifactStorageClassName
 * @property artifactStorageMountPath
 * @property artifactStorageNodeName
 * @property artifactsStorageType
 * @property frontEndServiceConfiguration
 * @property kubeConfig
 */
public data class ArcConfigurationArgs(
    public val artifactStorageAccessMode: Output? = null,
    public val artifactStorageClassName: Output? = null,
    public val artifactStorageMountPath: Output? = null,
    public val artifactStorageNodeName: Output? = null,
    public val artifactsStorageType: Output? = null,
    public val frontEndServiceConfiguration: Output? = null,
    public val kubeConfig: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.web.inputs.ArcConfigurationArgs =
        com.pulumi.azurenative.web.inputs.ArcConfigurationArgs.builder()
            .artifactStorageAccessMode(artifactStorageAccessMode?.applyValue({ args0 -> args0 }))
            .artifactStorageClassName(artifactStorageClassName?.applyValue({ args0 -> args0 }))
            .artifactStorageMountPath(artifactStorageMountPath?.applyValue({ args0 -> args0 }))
            .artifactStorageNodeName(artifactStorageNodeName?.applyValue({ args0 -> args0 }))
            .artifactsStorageType(
                artifactsStorageType?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .frontEndServiceConfiguration(
                frontEndServiceConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            )
            .kubeConfig(kubeConfig?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ArcConfigurationArgs].
 */
@PulumiTagMarker
public class ArcConfigurationArgsBuilder internal constructor() {
    private var artifactStorageAccessMode: Output? = null

    private var artifactStorageClassName: Output? = null

    private var artifactStorageMountPath: Output? = null

    private var artifactStorageNodeName: Output? = null

    private var artifactsStorageType: Output? = null

    private var frontEndServiceConfiguration: Output? = null

    private var kubeConfig: Output? = null

    /**
     * @param value
     */
    @JvmName("hqikvnddsxjjtxcv")
    public suspend fun artifactStorageAccessMode(`value`: Output) {
        this.artifactStorageAccessMode = value
    }

    /**
     * @param value
     */
    @JvmName("esmekojaxxeytqyl")
    public suspend fun artifactStorageClassName(`value`: Output) {
        this.artifactStorageClassName = value
    }

    /**
     * @param value
     */
    @JvmName("xxthirfelwklepie")
    public suspend fun artifactStorageMountPath(`value`: Output) {
        this.artifactStorageMountPath = value
    }

    /**
     * @param value
     */
    @JvmName("jsfqlllotpgchcfk")
    public suspend fun artifactStorageNodeName(`value`: Output) {
        this.artifactStorageNodeName = value
    }

    /**
     * @param value
     */
    @JvmName("ynlrysvepjpqlfbw")
    public suspend fun artifactsStorageType(`value`: Output) {
        this.artifactsStorageType = value
    }

    /**
     * @param value
     */
    @JvmName("srsqdlbcsvsfssmr")
    public suspend fun frontEndServiceConfiguration(`value`: Output) {
        this.frontEndServiceConfiguration = value
    }

    /**
     * @param value
     */
    @JvmName("sjikgunislkifyla")
    public suspend fun kubeConfig(`value`: Output) {
        this.kubeConfig = value
    }

    /**
     * @param value
     */
    @JvmName("kuvlftmctakxfhpu")
    public suspend fun artifactStorageAccessMode(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.artifactStorageAccessMode = mapped
    }

    /**
     * @param value
     */
    @JvmName("lfdojhmyshpaliyh")
    public suspend fun artifactStorageClassName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.artifactStorageClassName = mapped
    }

    /**
     * @param value
     */
    @JvmName("nhhbaqgyqvbxcpba")
    public suspend fun artifactStorageMountPath(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.artifactStorageMountPath = mapped
    }

    /**
     * @param value
     */
    @JvmName("cuynbrfqlyrrjmxr")
    public suspend fun artifactStorageNodeName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.artifactStorageNodeName = mapped
    }

    /**
     * @param value
     */
    @JvmName("mhdlrpcvthryxrjy")
    public suspend fun artifactsStorageType(`value`: StorageType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.artifactsStorageType = mapped
    }

    /**
     * @param value
     */
    @JvmName("fnouwcygjqjnvpla")
    public suspend fun frontEndServiceConfiguration(`value`: FrontEndConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.frontEndServiceConfiguration = mapped
    }

    /**
     * @param argument
     */
    @JvmName("vhfafmubctaqyuts")
    public suspend fun frontEndServiceConfiguration(argument: suspend FrontEndConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = FrontEndConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.frontEndServiceConfiguration = mapped
    }

    /**
     * @param value
     */
    @JvmName("klsgbkovrsscklui")
    public suspend fun kubeConfig(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kubeConfig = mapped
    }

    internal fun build(): ArcConfigurationArgs = ArcConfigurationArgs(
        artifactStorageAccessMode = artifactStorageAccessMode,
        artifactStorageClassName = artifactStorageClassName,
        artifactStorageMountPath = artifactStorageMountPath,
        artifactStorageNodeName = artifactStorageNodeName,
        artifactsStorageType = artifactsStorageType,
        frontEndServiceConfiguration = frontEndServiceConfiguration,
        kubeConfig = kubeConfig,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy