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

com.pulumi.azurenative.quota.kotlin.inputs.GetGroupQuotaPlainArgs.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.quota.kotlin.inputs

import com.pulumi.azurenative.quota.inputs.GetGroupQuotaPlainArgs.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

/**
 *
 * @property groupQuotaName The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
 * @property managementGroupId Management Group Id.
 */
public data class GetGroupQuotaPlainArgs(
    public val groupQuotaName: String,
    public val managementGroupId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.quota.inputs.GetGroupQuotaPlainArgs =
        com.pulumi.azurenative.quota.inputs.GetGroupQuotaPlainArgs.builder()
            .groupQuotaName(groupQuotaName.let({ args0 -> args0 }))
            .managementGroupId(managementGroupId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetGroupQuotaPlainArgs].
 */
@PulumiTagMarker
public class GetGroupQuotaPlainArgsBuilder internal constructor() {
    private var groupQuotaName: String? = null

    private var managementGroupId: String? = null

    /**
     * @param value The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
     */
    @JvmName("lcnpfxkvueqmtobv")
    public suspend fun groupQuotaName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.groupQuotaName = mapped
    }

    /**
     * @param value Management Group Id.
     */
    @JvmName("lqksfnrilddnbfxi")
    public suspend fun managementGroupId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.managementGroupId = mapped
    }

    internal fun build(): GetGroupQuotaPlainArgs = GetGroupQuotaPlainArgs(
        groupQuotaName = groupQuotaName ?: throw PulumiNullFieldException("groupQuotaName"),
        managementGroupId = managementGroupId ?: throw PulumiNullFieldException("managementGroupId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy