![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.web.kotlin.WebAppSiteExtensionSlotArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.web.kotlin
import com.pulumi.azurenative.web.WebAppSiteExtensionSlotArgs.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
/**
* Site Extension Information.
* Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-12-01.
* Other available API versions: 2016-08-01, 2020-10-01, 2023-01-01, 2023-12-01.
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:web:WebAppSiteExtensionSlot myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}
* ```
* @property name Site name.
* @property resourceGroupName Name of the resource group to which the resource belongs.
* @property siteExtensionId Site extension name.
* @property slot Name of the deployment slot. If a slot is not specified, the API uses the production slot.
*/
public data class WebAppSiteExtensionSlotArgs(
public val name: Output? = null,
public val resourceGroupName: Output? = null,
public val siteExtensionId: Output? = null,
public val slot: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.web.WebAppSiteExtensionSlotArgs =
com.pulumi.azurenative.web.WebAppSiteExtensionSlotArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
.siteExtensionId(siteExtensionId?.applyValue({ args0 -> args0 }))
.slot(slot?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WebAppSiteExtensionSlotArgs].
*/
@PulumiTagMarker
public class WebAppSiteExtensionSlotArgsBuilder internal constructor() {
private var name: Output? = null
private var resourceGroupName: Output? = null
private var siteExtensionId: Output? = null
private var slot: Output? = null
/**
* @param value Site name.
*/
@JvmName("rmjvnrfmjorbbemv")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Name of the resource group to which the resource belongs.
*/
@JvmName("camenmbtksilvpcm")
public suspend fun resourceGroupName(`value`: Output) {
this.resourceGroupName = value
}
/**
* @param value Site extension name.
*/
@JvmName("yusoqbrdpmptckqu")
public suspend fun siteExtensionId(`value`: Output) {
this.siteExtensionId = value
}
/**
* @param value Name of the deployment slot. If a slot is not specified, the API uses the production slot.
*/
@JvmName("grfuydowqveskawq")
public suspend fun slot(`value`: Output) {
this.slot = value
}
/**
* @param value Site name.
*/
@JvmName("qqiahiwfluuwynuf")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Name of the resource group to which the resource belongs.
*/
@JvmName("uwdoyklbnvuqawyp")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceGroupName = mapped
}
/**
* @param value Site extension name.
*/
@JvmName("orculumbevpbcics")
public suspend fun siteExtensionId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.siteExtensionId = mapped
}
/**
* @param value Name of the deployment slot. If a slot is not specified, the API uses the production slot.
*/
@JvmName("evpeeckckusttaes")
public suspend fun slot(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.slot = mapped
}
internal fun build(): WebAppSiteExtensionSlotArgs = WebAppSiteExtensionSlotArgs(
name = name,
resourceGroupName = resourceGroupName,
siteExtensionId = siteExtensionId,
slot = slot,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy