
com.pulumi.azure.containerservice.kotlin.inputs.RegistryTaskRegistryCredentialCustomArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.containerservice.kotlin.inputs
import com.pulumi.azure.containerservice.inputs.RegistryTaskRegistryCredentialCustomArgs.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
/**
*
* @property identity The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is `[system]`.
* @property loginServer The login server of the custom Container Registry.
* @property password The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
* @property username The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
*/
public data class RegistryTaskRegistryCredentialCustomArgs(
public val identity: Output? = null,
public val loginServer: Output,
public val password: Output? = null,
public val username: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerservice.inputs.RegistryTaskRegistryCredentialCustomArgs =
com.pulumi.azure.containerservice.inputs.RegistryTaskRegistryCredentialCustomArgs.builder()
.identity(identity?.applyValue({ args0 -> args0 }))
.loginServer(loginServer.applyValue({ args0 -> args0 }))
.password(password?.applyValue({ args0 -> args0 }))
.username(username?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RegistryTaskRegistryCredentialCustomArgs].
*/
@PulumiTagMarker
public class RegistryTaskRegistryCredentialCustomArgsBuilder internal constructor() {
private var identity: Output? = null
private var loginServer: Output? = null
private var password: Output? = null
private var username: Output? = null
/**
* @param value The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is `[system]`.
*/
@JvmName("xxdxfdytpgtvnmif")
public suspend fun identity(`value`: Output) {
this.identity = value
}
/**
* @param value The login server of the custom Container Registry.
*/
@JvmName("rysbqqmqesxjmfvy")
public suspend fun loginServer(`value`: Output) {
this.loginServer = value
}
/**
* @param value The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
*/
@JvmName("tsbdowbebjsqoqkj")
public suspend fun password(`value`: Output) {
this.password = value
}
/**
* @param value The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
*/
@JvmName("fwckrpbwktwmufta")
public suspend fun username(`value`: Output) {
this.username = value
}
/**
* @param value The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is `[system]`.
*/
@JvmName("hdxgaagarshlwqlm")
public suspend fun identity(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.identity = mapped
}
/**
* @param value The login server of the custom Container Registry.
*/
@JvmName("otdtehglqeucirsy")
public suspend fun loginServer(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.loginServer = mapped
}
/**
* @param value The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
*/
@JvmName("lfghvglfwluqonyd")
public suspend fun password(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.password = mapped
}
/**
* @param value The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
*/
@JvmName("aworraasybhqhfcx")
public suspend fun username(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.username = mapped
}
internal fun build(): RegistryTaskRegistryCredentialCustomArgs =
RegistryTaskRegistryCredentialCustomArgs(
identity = identity,
loginServer = loginServer ?: throw PulumiNullFieldException("loginServer"),
password = password,
username = username,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy