
com.pulumi.azure.containerservice.kotlin.inputs.ConnectedRegistryNotificationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.containerservice.kotlin.inputs
import com.pulumi.azure.containerservice.inputs.ConnectedRegistryNotificationArgs.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 action The action of the artifact that wants to be subscribed for the Connected Registry. Possible values are `push`, `delete` and `*` (i.e. any).
* @property digest The digest of the artifact that wants to be subscribed for the Connected Registry.
* > **NOTE:** One of either `tag` or `digest` can be specified.
* @property name The name of the artifact that wants to be subscribed for the Connected Registry.
* @property tag The tag of the artifact that wants to be subscribed for the Connected Registry.
*/
public data class ConnectedRegistryNotificationArgs(
public val action: Output,
public val digest: Output? = null,
public val name: Output,
public val tag: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerservice.inputs.ConnectedRegistryNotificationArgs = com.pulumi.azure.containerservice.inputs.ConnectedRegistryNotificationArgs.builder()
.action(action.applyValue({ args0 -> args0 }))
.digest(digest?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.tag(tag?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectedRegistryNotificationArgs].
*/
@PulumiTagMarker
public class ConnectedRegistryNotificationArgsBuilder internal constructor() {
private var action: Output? = null
private var digest: Output? = null
private var name: Output? = null
private var tag: Output? = null
/**
* @param value The action of the artifact that wants to be subscribed for the Connected Registry. Possible values are `push`, `delete` and `*` (i.e. any).
*/
@JvmName("yreubxqstpoycoka")
public suspend fun action(`value`: Output) {
this.action = value
}
/**
* @param value The digest of the artifact that wants to be subscribed for the Connected Registry.
* > **NOTE:** One of either `tag` or `digest` can be specified.
*/
@JvmName("rnfqxcuryfikqgbo")
public suspend fun digest(`value`: Output) {
this.digest = value
}
/**
* @param value The name of the artifact that wants to be subscribed for the Connected Registry.
*/
@JvmName("yxgojxnnfrymilxi")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The tag of the artifact that wants to be subscribed for the Connected Registry.
*/
@JvmName("epqfiqshgoofxovq")
public suspend fun tag(`value`: Output) {
this.tag = value
}
/**
* @param value The action of the artifact that wants to be subscribed for the Connected Registry. Possible values are `push`, `delete` and `*` (i.e. any).
*/
@JvmName("jukuslvaukrwacek")
public suspend fun action(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.action = mapped
}
/**
* @param value The digest of the artifact that wants to be subscribed for the Connected Registry.
* > **NOTE:** One of either `tag` or `digest` can be specified.
*/
@JvmName("dvfhuueqyihrayxb")
public suspend fun digest(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.digest = mapped
}
/**
* @param value The name of the artifact that wants to be subscribed for the Connected Registry.
*/
@JvmName("gbudesbpatitwihn")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The tag of the artifact that wants to be subscribed for the Connected Registry.
*/
@JvmName("ehfwofhgssicqxmt")
public suspend fun tag(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tag = mapped
}
internal fun build(): ConnectedRegistryNotificationArgs = ConnectedRegistryNotificationArgs(
action = action ?: throw PulumiNullFieldException("action"),
digest = digest,
name = name ?: throw PulumiNullFieldException("name"),
tag = tag,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy