![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.app.kotlin.inputs.ContainerRegistryArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.app.kotlin.inputs
import com.pulumi.azurenative.app.inputs.ContainerRegistryArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Model representing a mapping from a container registry to the identity used to connect to it.
* @property containerRegistryServer Login server of the container registry.
* @property identityResourceId Resource ID of the managed identity.
*/
public data class ContainerRegistryArgs(
public val containerRegistryServer: Output,
public val identityResourceId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.app.inputs.ContainerRegistryArgs =
com.pulumi.azurenative.app.inputs.ContainerRegistryArgs.builder()
.containerRegistryServer(containerRegistryServer.applyValue({ args0 -> args0 }))
.identityResourceId(identityResourceId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ContainerRegistryArgs].
*/
@PulumiTagMarker
public class ContainerRegistryArgsBuilder internal constructor() {
private var containerRegistryServer: Output? = null
private var identityResourceId: Output? = null
/**
* @param value Login server of the container registry.
*/
@JvmName("wqvvkrmbqwfynjxh")
public suspend fun containerRegistryServer(`value`: Output) {
this.containerRegistryServer = value
}
/**
* @param value Resource ID of the managed identity.
*/
@JvmName("aethdwanxesmmpst")
public suspend fun identityResourceId(`value`: Output) {
this.identityResourceId = value
}
/**
* @param value Login server of the container registry.
*/
@JvmName("jtmkmycsgijthclp")
public suspend fun containerRegistryServer(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.containerRegistryServer = mapped
}
/**
* @param value Resource ID of the managed identity.
*/
@JvmName("usehiqkfkiikymyq")
public suspend fun identityResourceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.identityResourceId = mapped
}
internal fun build(): ContainerRegistryArgs = ContainerRegistryArgs(
containerRegistryServer = containerRegistryServer ?: throw
PulumiNullFieldException("containerRegistryServer"),
identityResourceId = identityResourceId ?: throw PulumiNullFieldException("identityResourceId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy