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

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

package com.pulumi.azure.management.kotlin.inputs

import com.pulumi.azure.management.inputs.GetGroupTemplateDeploymentPlainArgs.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 getGroupTemplateDeployment.
 * @property managementGroupId The ID of the Management Group to which this template was applied.
 * @property name The name of this Management Group Template Deployment.
 */
public data class GetGroupTemplateDeploymentPlainArgs(
    public val managementGroupId: String,
    public val name: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.management.inputs.GetGroupTemplateDeploymentPlainArgs =
        com.pulumi.azure.management.inputs.GetGroupTemplateDeploymentPlainArgs.builder()
            .managementGroupId(managementGroupId.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetGroupTemplateDeploymentPlainArgs].
 */
@PulumiTagMarker
public class GetGroupTemplateDeploymentPlainArgsBuilder internal constructor() {
    private var managementGroupId: String? = null

    private var name: String? = null

    /**
     * @param value The ID of the Management Group to which this template was applied.
     */
    @JvmName("fbjmxpamdjcnbceu")
    public suspend fun managementGroupId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.managementGroupId = mapped
    }

    /**
     * @param value The name of this Management Group Template Deployment.
     */
    @JvmName("nqdeyhpaffgfbtjg")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    internal fun build(): GetGroupTemplateDeploymentPlainArgs = GetGroupTemplateDeploymentPlainArgs(
        managementGroupId = managementGroupId ?: throw PulumiNullFieldException("managementGroupId"),
        name = name ?: throw PulumiNullFieldException("name"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy