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

com.pulumi.azure.blueprint.kotlin.inputs.GetPublishedVersionPlainArgs.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.blueprint.kotlin.inputs

import com.pulumi.azure.blueprint.inputs.GetPublishedVersionPlainArgs.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 getPublishedVersion.
 * @property blueprintName The name of the Blueprint Definition
 * @property scopeId The ID of the Management Group / Subscription where this Blueprint Definition is stored.
 * @property version The Version name of the Published Version of the Blueprint Definition
 */
public data class GetPublishedVersionPlainArgs(
    public val blueprintName: String,
    public val scopeId: String,
    public val version: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.blueprint.inputs.GetPublishedVersionPlainArgs =
        com.pulumi.azure.blueprint.inputs.GetPublishedVersionPlainArgs.builder()
            .blueprintName(blueprintName.let({ args0 -> args0 }))
            .scopeId(scopeId.let({ args0 -> args0 }))
            .version(version.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetPublishedVersionPlainArgs].
 */
@PulumiTagMarker
public class GetPublishedVersionPlainArgsBuilder internal constructor() {
    private var blueprintName: String? = null

    private var scopeId: String? = null

    private var version: String? = null

    /**
     * @param value The name of the Blueprint Definition
     */
    @JvmName("pcduefkraygbplsq")
    public suspend fun blueprintName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.blueprintName = mapped
    }

    /**
     * @param value The ID of the Management Group / Subscription where this Blueprint Definition is stored.
     */
    @JvmName("kkiduyfosfxntsvd")
    public suspend fun scopeId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.scopeId = mapped
    }

    /**
     * @param value The Version name of the Published Version of the Blueprint Definition
     */
    @JvmName("cxsuuwsvnexjrlwi")
    public suspend fun version(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.version = mapped
    }

    internal fun build(): GetPublishedVersionPlainArgs = GetPublishedVersionPlainArgs(
        blueprintName = blueprintName ?: throw PulumiNullFieldException("blueprintName"),
        scopeId = scopeId ?: throw PulumiNullFieldException("scopeId"),
        version = version ?: throw PulumiNullFieldException("version"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy