Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.appservice.kotlin.inputs
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property alwaysOn If this Windows Web App Slot is Always On enabled. Defaults to `true`.
* @property apiDefinitionUrl The URL to the API Definition for this Windows Web App Slot.
* @property apiManagementApiId The API Management API ID this Windows Web App Slot os associated with.
* @property appCommandLine The App command line to launch.
* @property applicationStack A `application_stack` block as defined above.
* @property autoHealEnabled Should Auto heal rules be enabled. Required with `auto_heal_setting`.
* @property autoHealSetting A `auto_heal_setting` block as defined above. Required with `auto_heal`.
* @property autoSwapSlotName The Windows Web App Slot Name to automatically swap to when deployment to that slot is successfully completed.
* > **Note:** This must be a valid slot name on the target Windows Web App Slot.
* @property containerRegistryManagedIdentityClientId The Client ID of the Managed Service Identity to use for connections to the Azure Container Registry.
* @property containerRegistryUseManagedIdentity Should connections for Azure Container Registry use Managed Identity.
* @property cors A `cors` block as defined above.
* @property defaultDocuments Specifies a list of Default Documents for the Windows Web App Slot.
* @property detailedErrorLoggingEnabled
* @property ftpsState
* @property handlerMappings One or more `handler_mapping` blocks as defined below.
* @property healthCheckEvictionTimeInMin The amount of time in minutes that a node can be unhealthy before being removed from the load balancer. Possible values are between `2` and `10`. Only valid in conjunction with `health_check_path`.
* @property healthCheckPath The path to the Health Check.
* @property http2Enabled Should the HTTP2 be enabled?
* @property ipRestrictionDefaultAction The Default action for traffic that does not match any `ip_restriction` rule. possible values include `Allow` and `Deny`. Defaults to `Allow`.
* @property ipRestrictions One or more `ip_restriction` blocks as defined above.
* @property loadBalancingMode The Site load balancing. Possible values include: `WeightedRoundRobin`, `LeastRequests`, `LeastResponseTime`, `WeightedTotalTraffic`, `RequestHash`, `PerSiteRoundRobin`. Defaults to `LeastRequests` if omitted.
* @property localMysqlEnabled Use Local MySQL. Defaults to `false`.
* @property managedPipelineMode Managed pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`.
* @property minimumTlsVersion The configures the minimum version of TLS required for SSL requests. Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`.
* @property remoteDebuggingEnabled Should Remote Debugging be enabled. Defaults to `false`.
* @property remoteDebuggingVersion The Remote Debugging Version. Possible values include `VS2017` and `VS2019`
* @property scmIpRestrictionDefaultAction The Default action for traffic that does not match any `scm_ip_restriction` rule. possible values include `Allow` and `Deny`. Defaults to `Allow`.
* @property scmIpRestrictions One or more `scm_ip_restriction` blocks as defined above.
* @property scmMinimumTlsVersion The configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, and `1.2`. Defaults to `1.2`.
* @property scmType
* @property scmUseMainIpRestriction Should the Windows Web App Slot `ip_restriction` configuration be used for the SCM also.
* @property use32BitWorker Should the Windows Web App Slot use a 32-bit worker. The default value varies from different service plans.
* @property virtualApplications One or more `virtual_application` blocks as defined below.
* @property vnetRouteAllEnabled Should all outbound traffic to have NAT Gateways, Network Security Groups and User Defined Routes applied? Defaults to `false`.
* @property websocketsEnabled Should Web Sockets be enabled. Defaults to `false`.
* @property windowsFxVersion
* @property workerCount The number of Workers for this Windows App Service Slot.
*/
public data class WindowsWebAppSlotSiteConfigArgs(
public val alwaysOn: Output? = null,
public val apiDefinitionUrl: Output? = null,
public val apiManagementApiId: Output? = null,
public val appCommandLine: Output? = null,
public val applicationStack: Output? = null,
public val autoHealEnabled: Output? = null,
public val autoHealSetting: Output? = null,
public val autoSwapSlotName: Output? = null,
public val containerRegistryManagedIdentityClientId: Output? = null,
public val containerRegistryUseManagedIdentity: Output? = null,
public val cors: Output? = null,
public val defaultDocuments: Output>? = null,
public val detailedErrorLoggingEnabled: Output? = null,
public val ftpsState: Output? = null,
public val handlerMappings: Output>? = null,
public val healthCheckEvictionTimeInMin: Output? = null,
public val healthCheckPath: Output? = null,
public val http2Enabled: Output? = null,
public val ipRestrictionDefaultAction: Output? = null,
public val ipRestrictions: Output>? = null,
public val loadBalancingMode: Output? = null,
public val localMysqlEnabled: Output? = null,
public val managedPipelineMode: Output? = null,
public val minimumTlsVersion: Output? = null,
public val remoteDebuggingEnabled: Output? = null,
public val remoteDebuggingVersion: Output? = null,
public val scmIpRestrictionDefaultAction: Output? = null,
public val scmIpRestrictions: Output>? =
null,
public val scmMinimumTlsVersion: Output? = null,
public val scmType: Output? = null,
public val scmUseMainIpRestriction: Output? = null,
public val use32BitWorker: Output? = null,
public val virtualApplications: Output>? =
null,
public val vnetRouteAllEnabled: Output? = null,
public val websocketsEnabled: Output? = null,
public val windowsFxVersion: Output? = null,
public val workerCount: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigArgs =
com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigArgs.builder()
.alwaysOn(alwaysOn?.applyValue({ args0 -> args0 }))
.apiDefinitionUrl(apiDefinitionUrl?.applyValue({ args0 -> args0 }))
.apiManagementApiId(apiManagementApiId?.applyValue({ args0 -> args0 }))
.appCommandLine(appCommandLine?.applyValue({ args0 -> args0 }))
.applicationStack(applicationStack?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.autoHealEnabled(autoHealEnabled?.applyValue({ args0 -> args0 }))
.autoHealSetting(autoHealSetting?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.autoSwapSlotName(autoSwapSlotName?.applyValue({ args0 -> args0 }))
.containerRegistryManagedIdentityClientId(
containerRegistryManagedIdentityClientId?.applyValue({ args0 ->
args0
}),
)
.containerRegistryUseManagedIdentity(
containerRegistryUseManagedIdentity?.applyValue({ args0 ->
args0
}),
)
.cors(cors?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.defaultDocuments(defaultDocuments?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.detailedErrorLoggingEnabled(detailedErrorLoggingEnabled?.applyValue({ args0 -> args0 }))
.ftpsState(ftpsState?.applyValue({ args0 -> args0 }))
.handlerMappings(
handlerMappings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.healthCheckEvictionTimeInMin(healthCheckEvictionTimeInMin?.applyValue({ args0 -> args0 }))
.healthCheckPath(healthCheckPath?.applyValue({ args0 -> args0 }))
.http2Enabled(http2Enabled?.applyValue({ args0 -> args0 }))
.ipRestrictionDefaultAction(ipRestrictionDefaultAction?.applyValue({ args0 -> args0 }))
.ipRestrictions(
ipRestrictions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.loadBalancingMode(loadBalancingMode?.applyValue({ args0 -> args0 }))
.localMysqlEnabled(localMysqlEnabled?.applyValue({ args0 -> args0 }))
.managedPipelineMode(managedPipelineMode?.applyValue({ args0 -> args0 }))
.minimumTlsVersion(minimumTlsVersion?.applyValue({ args0 -> args0 }))
.remoteDebuggingEnabled(remoteDebuggingEnabled?.applyValue({ args0 -> args0 }))
.remoteDebuggingVersion(remoteDebuggingVersion?.applyValue({ args0 -> args0 }))
.scmIpRestrictionDefaultAction(scmIpRestrictionDefaultAction?.applyValue({ args0 -> args0 }))
.scmIpRestrictions(
scmIpRestrictions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.scmMinimumTlsVersion(scmMinimumTlsVersion?.applyValue({ args0 -> args0 }))
.scmType(scmType?.applyValue({ args0 -> args0 }))
.scmUseMainIpRestriction(scmUseMainIpRestriction?.applyValue({ args0 -> args0 }))
.use32BitWorker(use32BitWorker?.applyValue({ args0 -> args0 }))
.virtualApplications(
virtualApplications?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.vnetRouteAllEnabled(vnetRouteAllEnabled?.applyValue({ args0 -> args0 }))
.websocketsEnabled(websocketsEnabled?.applyValue({ args0 -> args0 }))
.windowsFxVersion(windowsFxVersion?.applyValue({ args0 -> args0 }))
.workerCount(workerCount?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WindowsWebAppSlotSiteConfigArgs].
*/
@PulumiTagMarker
public class WindowsWebAppSlotSiteConfigArgsBuilder internal constructor() {
private var alwaysOn: Output? = null
private var apiDefinitionUrl: Output? = null
private var apiManagementApiId: Output? = null
private var appCommandLine: Output? = null
private var applicationStack: Output? = null
private var autoHealEnabled: Output? = null
private var autoHealSetting: Output? = null
private var autoSwapSlotName: Output? = null
private var containerRegistryManagedIdentityClientId: Output? = null
private var containerRegistryUseManagedIdentity: Output? = null
private var cors: Output? = null
private var defaultDocuments: Output>? = null
private var detailedErrorLoggingEnabled: Output? = null
private var ftpsState: Output? = null
private var handlerMappings: Output>? = null
private var healthCheckEvictionTimeInMin: Output? = null
private var healthCheckPath: Output? = null
private var http2Enabled: Output? = null
private var ipRestrictionDefaultAction: Output? = null
private var ipRestrictions: Output>? = null
private var loadBalancingMode: Output? = null
private var localMysqlEnabled: Output? = null
private var managedPipelineMode: Output? = null
private var minimumTlsVersion: Output? = null
private var remoteDebuggingEnabled: Output? = null
private var remoteDebuggingVersion: Output? = null
private var scmIpRestrictionDefaultAction: Output? = null
private var scmIpRestrictions: Output>? =
null
private var scmMinimumTlsVersion: Output? = null
private var scmType: Output? = null
private var scmUseMainIpRestriction: Output? = null
private var use32BitWorker: Output? = null
private var virtualApplications: Output>? =
null
private var vnetRouteAllEnabled: Output? = null
private var websocketsEnabled: Output? = null
private var windowsFxVersion: Output? = null
private var workerCount: Output? = null
/**
* @param value If this Windows Web App Slot is Always On enabled. Defaults to `true`.
*/
@JvmName("rqjrcsjgawfmnduy")
public suspend fun alwaysOn(`value`: Output) {
this.alwaysOn = value
}
/**
* @param value The URL to the API Definition for this Windows Web App Slot.
*/
@JvmName("dnpdihwrddgxoqsh")
public suspend fun apiDefinitionUrl(`value`: Output) {
this.apiDefinitionUrl = value
}
/**
* @param value The API Management API ID this Windows Web App Slot os associated with.
*/
@JvmName("mmkktijcqvfrtkqc")
public suspend fun apiManagementApiId(`value`: Output) {
this.apiManagementApiId = value
}
/**
* @param value The App command line to launch.
*/
@JvmName("qrljoksjywpmachy")
public suspend fun appCommandLine(`value`: Output) {
this.appCommandLine = value
}
/**
* @param value A `application_stack` block as defined above.
*/
@JvmName("linhcgurwqjgrmyb")
public suspend
fun applicationStack(`value`: Output) {
this.applicationStack = value
}
/**
* @param value Should Auto heal rules be enabled. Required with `auto_heal_setting`.
*/
@JvmName("wueprcpyemimhley")
public suspend fun autoHealEnabled(`value`: Output) {
this.autoHealEnabled = value
}
/**
* @param value A `auto_heal_setting` block as defined above. Required with `auto_heal`.
*/
@JvmName("bbcncxcxqosexgpb")
public suspend
fun autoHealSetting(`value`: Output) {
this.autoHealSetting = value
}
/**
* @param value The Windows Web App Slot Name to automatically swap to when deployment to that slot is successfully completed.
* > **Note:** This must be a valid slot name on the target Windows Web App Slot.
*/
@JvmName("wqhwlicabojjfned")
public suspend fun autoSwapSlotName(`value`: Output) {
this.autoSwapSlotName = value
}
/**
* @param value The Client ID of the Managed Service Identity to use for connections to the Azure Container Registry.
*/
@JvmName("gntldbivcwvhwyvq")
public suspend fun containerRegistryManagedIdentityClientId(`value`: Output) {
this.containerRegistryManagedIdentityClientId = value
}
/**
* @param value Should connections for Azure Container Registry use Managed Identity.
*/
@JvmName("iburgmibmkogqhxs")
public suspend fun containerRegistryUseManagedIdentity(`value`: Output) {
this.containerRegistryUseManagedIdentity = value
}
/**
* @param value A `cors` block as defined above.
*/
@JvmName("nrpmakxhtrputqlk")
public suspend fun cors(`value`: Output) {
this.cors = value
}
/**
* @param value Specifies a list of Default Documents for the Windows Web App Slot.
*/
@JvmName("qnhcmrjfmrbkmmee")
public suspend fun defaultDocuments(`value`: Output>) {
this.defaultDocuments = value
}
@JvmName("ljiboarnuulshwps")
public suspend fun defaultDocuments(vararg values: Output) {
this.defaultDocuments = Output.all(values.asList())
}
/**
* @param values Specifies a list of Default Documents for the Windows Web App Slot.
*/
@JvmName("xodtbfwoetivtndp")
public suspend fun defaultDocuments(values: List