![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.storage.kotlin.inputs.AccountCustomDomainArgs.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.storage.kotlin.inputs
import com.pulumi.azure.storage.inputs.AccountCustomDomainArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property name The Custom Domain Name to use for the Storage Account, which will be validated by Azure.
* @property useSubdomain Should the Custom Domain Name be validated by using indirect CNAME validation?
*/
public data class AccountCustomDomainArgs(
public val name: Output,
public val useSubdomain: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.storage.inputs.AccountCustomDomainArgs =
com.pulumi.azure.storage.inputs.AccountCustomDomainArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.useSubdomain(useSubdomain?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccountCustomDomainArgs].
*/
@PulumiTagMarker
public class AccountCustomDomainArgsBuilder internal constructor() {
private var name: Output? = null
private var useSubdomain: Output? = null
/**
* @param value The Custom Domain Name to use for the Storage Account, which will be validated by Azure.
*/
@JvmName("euxvyevfgyklrhno")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Should the Custom Domain Name be validated by using indirect CNAME validation?
*/
@JvmName("lkbqhvnmjglyusat")
public suspend fun useSubdomain(`value`: Output) {
this.useSubdomain = value
}
/**
* @param value The Custom Domain Name to use for the Storage Account, which will be validated by Azure.
*/
@JvmName("svtofwlvhtxgfjgf")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Should the Custom Domain Name be validated by using indirect CNAME validation?
*/
@JvmName("yhsbxjvgmrffcbyt")
public suspend fun useSubdomain(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.useSubdomain = mapped
}
internal fun build(): AccountCustomDomainArgs = AccountCustomDomainArgs(
name = name ?: throw PulumiNullFieldException("name"),
useSubdomain = useSubdomain,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy