com.pulumi.azure.appservice.kotlin.outputs.LinuxWebAppSiteConfigApplicationStack.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.appservice.kotlin.outputs
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
/**
*
* @property dockerImage
* @property dockerImageName The docker image, including tag, to be used. e.g. `appsvc/staticsite:latest`.
* @property dockerImageTag
* @property dockerRegistryPassword The User Name to use for authentication against the registry to pull the image.
* > **NOTE:** `docker_registry_url`, `docker_registry_username`, and `docker_registry_password` replace the use of the `app_settings` values of `DOCKER_REGISTRY_SERVER_URL`, `DOCKER_REGISTRY_SERVER_USERNAME` and `DOCKER_REGISTRY_SERVER_PASSWORD` respectively, these values will be managed by the provider and should not be specified in the `app_settings` map.
* @property dockerRegistryUrl The URL of the container registry where the `docker_image_name` is located. e.g. `https://index.docker.io` or `https://mcr.microsoft.com`. This value is required with `docker_image_name`.
* @property dockerRegistryUsername The User Name to use for authentication against the registry to pull the image.
* @property dotnetVersion The version of .NET to use. Possible values include `3.1`, `5.0`, `6.0`, `7.0` and `8.0`.
* @property goVersion The version of Go to use. Possible values include `1.18`, and `1.19`.
* @property javaServer The Java server type. Possible values include `JAVA`, `TOMCAT`, and `JBOSSEAP`.
* > **NOTE:** `JBOSSEAP` requires a Premium Service Plan SKU to be a valid option.
* @property javaServerVersion The Version of the `java_server` to use.
* @property javaVersion The Version of Java to use. Possible values include `8`, `11`, and `17`.
* > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`.
* > **NOTE:** `java_server`, `java_server_version`, and `java_version` must all be specified if building a java app
* @property nodeVersion The version of Node to run. Possible values include `12-lts`, `14-lts`, `16-lts`, `18-lts` and `20-lts`. This property conflicts with `java_version`.
* > **NOTE:** 10.x versions have been/are being deprecated so may cease to work for new resources in the future and may be removed from the provider.
* @property phpVersion The version of PHP to run. Possible values are `7.4`, `8.0`, `8.1` and `8.2`.
* > **NOTE:** version `7.4` is deprecated and will be removed from the provider in a future version.
* @property pythonVersion The version of Python to run. Possible values include `3.7`, `3.8`, `3.9`, `3.10`, `3.11` and `3.12`.
* @property rubyVersion The version of Ruby to run. Possible values include `2.6` and `2.7`.
*/
public data class LinuxWebAppSiteConfigApplicationStack(
@Deprecated(
message = """
This property has been deprecated and will be removed in 4.0 of the provider.
""",
)
public val dockerImage: String? = null,
public val dockerImageName: String? = null,
@Deprecated(
message = """
This property has been deprecated and will be removed in 4.0 of the provider.
""",
)
public val dockerImageTag: String? = null,
public val dockerRegistryPassword: String? = null,
public val dockerRegistryUrl: String? = null,
public val dockerRegistryUsername: String? = null,
public val dotnetVersion: String? = null,
public val goVersion: String? = null,
public val javaServer: String? = null,
public val javaServerVersion: String? = null,
public val javaVersion: String? = null,
public val nodeVersion: String? = null,
public val phpVersion: String? = null,
public val pythonVersion: String? = null,
public val rubyVersion: String? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.LinuxWebAppSiteConfigApplicationStack):
LinuxWebAppSiteConfigApplicationStack = LinuxWebAppSiteConfigApplicationStack(
dockerImage = javaType.dockerImage().map({ args0 -> args0 }).orElse(null),
dockerImageName = javaType.dockerImageName().map({ args0 -> args0 }).orElse(null),
dockerImageTag = javaType.dockerImageTag().map({ args0 -> args0 }).orElse(null),
dockerRegistryPassword = javaType.dockerRegistryPassword().map({ args0 -> args0 }).orElse(null),
dockerRegistryUrl = javaType.dockerRegistryUrl().map({ args0 -> args0 }).orElse(null),
dockerRegistryUsername = javaType.dockerRegistryUsername().map({ args0 -> args0 }).orElse(null),
dotnetVersion = javaType.dotnetVersion().map({ args0 -> args0 }).orElse(null),
goVersion = javaType.goVersion().map({ args0 -> args0 }).orElse(null),
javaServer = javaType.javaServer().map({ args0 -> args0 }).orElse(null),
javaServerVersion = javaType.javaServerVersion().map({ args0 -> args0 }).orElse(null),
javaVersion = javaType.javaVersion().map({ args0 -> args0 }).orElse(null),
nodeVersion = javaType.nodeVersion().map({ args0 -> args0 }).orElse(null),
phpVersion = javaType.phpVersion().map({ args0 -> args0 }).orElse(null),
pythonVersion = javaType.pythonVersion().map({ args0 -> args0 }).orElse(null),
rubyVersion = javaType.rubyVersion().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy