com.pulumi.azure.storage.kotlin.inputs.AccountStaticWebsiteArgs.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.AccountStaticWebsiteArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property error404Document The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file.
* @property indexDocument The webpage that Azure Storage serves for requests to the root of a website or any subfolder. For example, index.html. The value is case-sensitive.
*/
public data class AccountStaticWebsiteArgs(
public val error404Document: Output? = null,
public val indexDocument: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.storage.inputs.AccountStaticWebsiteArgs =
com.pulumi.azure.storage.inputs.AccountStaticWebsiteArgs.builder()
.error404Document(error404Document?.applyValue({ args0 -> args0 }))
.indexDocument(indexDocument?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccountStaticWebsiteArgs].
*/
@PulumiTagMarker
public class AccountStaticWebsiteArgsBuilder internal constructor() {
private var error404Document: Output? = null
private var indexDocument: Output? = null
/**
* @param value The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file.
*/
@JvmName("goadyhvkaapngrie")
public suspend fun error404Document(`value`: Output) {
this.error404Document = value
}
/**
* @param value The webpage that Azure Storage serves for requests to the root of a website or any subfolder. For example, index.html. The value is case-sensitive.
*/
@JvmName("lehmbplayxcqsnhu")
public suspend fun indexDocument(`value`: Output) {
this.indexDocument = value
}
/**
* @param value The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file.
*/
@JvmName("sqnvueggnxsqdkro")
public suspend fun error404Document(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.error404Document = mapped
}
/**
* @param value The webpage that Azure Storage serves for requests to the root of a website or any subfolder. For example, index.html. The value is case-sensitive.
*/
@JvmName("fwocdcpgfkjyxbij")
public suspend fun indexDocument(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.indexDocument = mapped
}
internal fun build(): AccountStaticWebsiteArgs = AccountStaticWebsiteArgs(
error404Document = error404Document,
indexDocument = indexDocument,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy