com.pulumi.azure.containerapp.kotlin.outputs.JobRegistry.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.containerapp.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property identity A Managed Identity to use to authenticate with Azure Container Registry.
* @property passwordSecretName The name of the Secret that contains the registry login password.
* @property server The URL of the Azure Container Registry server.
* @property username The username to use to authenticate with Azure Container Registry.
*/
public data class JobRegistry(
public val identity: String? = null,
public val passwordSecretName: String? = null,
public val server: String,
public val username: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.containerapp.outputs.JobRegistry): JobRegistry =
JobRegistry(
identity = javaType.identity().map({ args0 -> args0 }).orElse(null),
passwordSecretName = javaType.passwordSecretName().map({ args0 -> args0 }).orElse(null),
server = javaType.server(),
username = javaType.username().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy