All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppSiteConfigApplicationStackDocker.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appservice.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property imageName The name of the Docker image to use.
 * @property imageTag The image tag of the image to use.
 * @property registryPassword The password for the account to use to connect to the registry.
 * > **NOTE:** This value is required if `container_registry_use_managed_identity` is not set to `true`.
 * @property registryUrl The URL of the docker registry.
 * @property registryUsername The username to use for connections to the registry.
 * > **NOTE:** This value is required if `container_registry_use_managed_identity` is not set to `true`.
 */
public data class LinuxFunctionAppSiteConfigApplicationStackDocker(
    public val imageName: String,
    public val imageTag: String,
    public val registryPassword: String? = null,
    public val registryUrl: String,
    public val registryUsername: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.LinuxFunctionAppSiteConfigApplicationStackDocker): LinuxFunctionAppSiteConfigApplicationStackDocker =
            LinuxFunctionAppSiteConfigApplicationStackDocker(
                imageName = javaType.imageName(),
                imageTag = javaType.imageTag(),
                registryPassword = javaType.registryPassword().map({ args0 -> args0 }).orElse(null),
                registryUrl = javaType.registryUrl(),
                registryUsername = javaType.registryUsername().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy