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

com.pulumi.azurenative.azurestack.kotlin.inputs.GetRegistrationPlainArgs.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.azurestack.kotlin.inputs

import com.pulumi.azurenative.azurestack.inputs.GetRegistrationPlainArgs.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 registrationName Name of the Azure Stack registration.
 * @property resourceGroup Name of the resource group.
 */
public data class GetRegistrationPlainArgs(
    public val registrationName: String,
    public val resourceGroup: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.azurestack.inputs.GetRegistrationPlainArgs =
        com.pulumi.azurenative.azurestack.inputs.GetRegistrationPlainArgs.builder()
            .registrationName(registrationName.let({ args0 -> args0 }))
            .resourceGroup(resourceGroup.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetRegistrationPlainArgs].
 */
@PulumiTagMarker
public class GetRegistrationPlainArgsBuilder internal constructor() {
    private var registrationName: String? = null

    private var resourceGroup: String? = null

    /**
     * @param value Name of the Azure Stack registration.
     */
    @JvmName("uydhhiebloutcbmn")
    public suspend fun registrationName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.registrationName = mapped
    }

    /**
     * @param value Name of the resource group.
     */
    @JvmName("xrlatknnouwtpfac")
    public suspend fun resourceGroup(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.resourceGroup = mapped
    }

    internal fun build(): GetRegistrationPlainArgs = GetRegistrationPlainArgs(
        registrationName = registrationName ?: throw PulumiNullFieldException("registrationName"),
        resourceGroup = resourceGroup ?: throw PulumiNullFieldException("resourceGroup"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy