![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.web.kotlin.WebAppSitePushSettingsSlotArgs.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.WebAppSitePushSettingsSlotArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Push settings for the App.
* Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-12-01.
* Other available API versions: 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:WebAppSitePushSettingsSlot myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings
* ```
* @property dynamicTagsJson Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.
* @property isPushEnabled Gets or sets a flag indicating whether the Push endpoint is enabled.
* @property kind Kind of resource.
* @property name Name of web app.
* @property resourceGroupName Name of the resource group to which the resource belongs.
* @property slot Name of web app slot. If not specified then will default to production slot.
* @property tagWhitelistJson Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.
* @property tagsRequiringAuth Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.
* Tags can consist of alphanumeric characters and the following:
* '_', '@', '#', '.', ':', '-'.
* Validation should be performed at the PushRequestHandler.
*/
public data class WebAppSitePushSettingsSlotArgs(
public val dynamicTagsJson: Output? = null,
public val isPushEnabled: Output? = null,
public val kind: Output? = null,
public val name: Output? = null,
public val resourceGroupName: Output? = null,
public val slot: Output? = null,
public val tagWhitelistJson: Output? = null,
public val tagsRequiringAuth: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.web.WebAppSitePushSettingsSlotArgs =
com.pulumi.azurenative.web.WebAppSitePushSettingsSlotArgs.builder()
.dynamicTagsJson(dynamicTagsJson?.applyValue({ args0 -> args0 }))
.isPushEnabled(isPushEnabled?.applyValue({ args0 -> args0 }))
.kind(kind?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
.slot(slot?.applyValue({ args0 -> args0 }))
.tagWhitelistJson(tagWhitelistJson?.applyValue({ args0 -> args0 }))
.tagsRequiringAuth(tagsRequiringAuth?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WebAppSitePushSettingsSlotArgs].
*/
@PulumiTagMarker
public class WebAppSitePushSettingsSlotArgsBuilder internal constructor() {
private var dynamicTagsJson: Output? = null
private var isPushEnabled: Output? = null
private var kind: Output? = null
private var name: Output? = null
private var resourceGroupName: Output? = null
private var slot: Output? = null
private var tagWhitelistJson: Output? = null
private var tagsRequiringAuth: Output? = null
/**
* @param value Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.
*/
@JvmName("rutjvghindbdqxua")
public suspend fun dynamicTagsJson(`value`: Output) {
this.dynamicTagsJson = value
}
/**
* @param value Gets or sets a flag indicating whether the Push endpoint is enabled.
*/
@JvmName("agbcsjywqhsuputl")
public suspend fun isPushEnabled(`value`: Output) {
this.isPushEnabled = value
}
/**
* @param value Kind of resource.
*/
@JvmName("ecwpwdepksdlqbnc")
public suspend fun kind(`value`: Output) {
this.kind = value
}
/**
* @param value Name of web app.
*/
@JvmName("uuejivxgrrpxertu")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Name of the resource group to which the resource belongs.
*/
@JvmName("bcsmtbwprxcjbuwy")
public suspend fun resourceGroupName(`value`: Output) {
this.resourceGroupName = value
}
/**
* @param value Name of web app slot. If not specified then will default to production slot.
*/
@JvmName("tbalexembnieouvq")
public suspend fun slot(`value`: Output) {
this.slot = value
}
/**
* @param value Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.
*/
@JvmName("mmtqmwdgynpsbcab")
public suspend fun tagWhitelistJson(`value`: Output) {
this.tagWhitelistJson = value
}
/**
* @param value Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.
* Tags can consist of alphanumeric characters and the following:
* '_', '@', '#', '.', ':', '-'.
* Validation should be performed at the PushRequestHandler.
*/
@JvmName("byqbusamqsxkpsdc")
public suspend fun tagsRequiringAuth(`value`: Output) {
this.tagsRequiringAuth = value
}
/**
* @param value Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.
*/
@JvmName("gqcjvcprgevfjdtd")
public suspend fun dynamicTagsJson(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dynamicTagsJson = mapped
}
/**
* @param value Gets or sets a flag indicating whether the Push endpoint is enabled.
*/
@JvmName("piicafnsihldhmli")
public suspend fun isPushEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.isPushEnabled = mapped
}
/**
* @param value Kind of resource.
*/
@JvmName("sryyhiwrjsruwlla")
public suspend fun kind(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kind = mapped
}
/**
* @param value Name of web app.
*/
@JvmName("ctwwndelxihuawkl")
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("wmywbgijoclapotp")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceGroupName = mapped
}
/**
* @param value Name of web app slot. If not specified then will default to production slot.
*/
@JvmName("ytjjqxfbdyjajsfh")
public suspend fun slot(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.slot = mapped
}
/**
* @param value Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.
*/
@JvmName("dbekxhylgswxgvte")
public suspend fun tagWhitelistJson(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tagWhitelistJson = mapped
}
/**
* @param value Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.
* Tags can consist of alphanumeric characters and the following:
* '_', '@', '#', '.', ':', '-'.
* Validation should be performed at the PushRequestHandler.
*/
@JvmName("hbmgvnsgcvixavwo")
public suspend fun tagsRequiringAuth(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tagsRequiringAuth = mapped
}
internal fun build(): WebAppSitePushSettingsSlotArgs = WebAppSitePushSettingsSlotArgs(
dynamicTagsJson = dynamicTagsJson,
isPushEnabled = isPushEnabled,
kind = kind,
name = name,
resourceGroupName = resourceGroupName,
slot = slot,
tagWhitelistJson = tagWhitelistJson,
tagsRequiringAuth = tagsRequiringAuth,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy