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

com.pulumi.azure.containerapp.kotlin.outputs.AppRegistry.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerapp.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property identity Resource ID for the User Assigned Managed identity to use when pulling from the Container Registry.
 * > **Note:** The Resource ID must be of a User Assigned Managed identity defined in an `identity` block.
 * @property passwordSecretName The name of the Secret Reference containing the password value for this user on the Container Registry, `username` must also be supplied.
 * @property server The hostname for the Container Registry.
 * The authentication details must also be supplied, `identity` and `username`/`password_secret_name` are mutually exclusive.
 * @property username The username to use for this Container Registry, `password_secret_name` must also be supplied..
 */
public data class AppRegistry(
    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.AppRegistry): AppRegistry =
            AppRegistry(
                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