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

com.pulumi.azure.containerapp.kotlin.inputs.GetEnvironmentCertificatePlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.containerapp.kotlin.inputs

import com.pulumi.azure.containerapp.inputs.GetEnvironmentCertificatePlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getEnvironmentCertificate.
 * @property containerAppEnvironmentId The ID of the Container App Environment to configure this Certificate on. Changing this forces a new resource to be created.
 * @property name The name of the Container Apps Certificate. Changing this forces a new resource to be created.
 */
public data class GetEnvironmentCertificatePlainArgs(
    public val containerAppEnvironmentId: String,
    public val name: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.containerapp.inputs.GetEnvironmentCertificatePlainArgs =
        com.pulumi.azure.containerapp.inputs.GetEnvironmentCertificatePlainArgs.builder()
            .containerAppEnvironmentId(containerAppEnvironmentId.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetEnvironmentCertificatePlainArgs].
 */
@PulumiTagMarker
public class GetEnvironmentCertificatePlainArgsBuilder internal constructor() {
    private var containerAppEnvironmentId: String? = null

    private var name: String? = null

    /**
     * @param value The ID of the Container App Environment to configure this Certificate on. Changing this forces a new resource to be created.
     */
    @JvmName("wfmnbhqacybowuyi")
    public suspend fun containerAppEnvironmentId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.containerAppEnvironmentId = mapped
    }

    /**
     * @param value The name of the Container Apps Certificate. Changing this forces a new resource to be created.
     */
    @JvmName("maxphskdxsufwkvi")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    internal fun build(): GetEnvironmentCertificatePlainArgs = GetEnvironmentCertificatePlainArgs(
        containerAppEnvironmentId = containerAppEnvironmentId ?: throw
            PulumiNullFieldException("containerAppEnvironmentId"),
        name = name ?: throw PulumiNullFieldException("name"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy