com.pulumi.azure.aadb2c.kotlin.inputs.GetDirectoryPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.aadb2c.kotlin.inputs
import com.pulumi.azure.aadb2c.inputs.GetDirectoryPlainArgs.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 getDirectory.
* @property domainName Domain name of the B2C tenant, including the `.onmicrosoft.com` suffix.
* @property resourceGroupName The name of the Resource Group where the AAD B2C Directory exists.
*/
public data class GetDirectoryPlainArgs(
public val domainName: String,
public val resourceGroupName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.aadb2c.inputs.GetDirectoryPlainArgs =
com.pulumi.azure.aadb2c.inputs.GetDirectoryPlainArgs.builder()
.domainName(domainName.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetDirectoryPlainArgs].
*/
@PulumiTagMarker
public class GetDirectoryPlainArgsBuilder internal constructor() {
private var domainName: String? = null
private var resourceGroupName: String? = null
/**
* @param value Domain name of the B2C tenant, including the `.onmicrosoft.com` suffix.
*/
@JvmName("gtdplheyosowtfbf")
public suspend fun domainName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.domainName = mapped
}
/**
* @param value The name of the Resource Group where the AAD B2C Directory exists.
*/
@JvmName("nalybpfpjhpvctmi")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
internal fun build(): GetDirectoryPlainArgs = GetDirectoryPlainArgs(
domainName = domainName ?: throw PulumiNullFieldException("domainName"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy