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

com.pulumi.azure.containerservice.kotlin.outputs.ConnectedRegistryNotification.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 ConnectedRegistryNotification(
    public val action: String,
    public val digest: String? = null,
    public val name: String,
    public val tag: String? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.ConnectedRegistryNotification):
            ConnectedRegistryNotification = ConnectedRegistryNotification(
            action = javaType.action(),
            digest = javaType.digest().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            tag = javaType.tag().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy