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

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

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

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

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property enabled Should the trigger be enabled? Defaults to `true`.
 * @property name The name which should be used for this trigger.
 * @property type The type of the trigger. Possible values are `All` and `Runtime`.
 * @property updateTriggerEndpoint The endpoint URL for receiving the trigger.
 * @property updateTriggerPayloadType Type of payload body for the trigger. Possible values are `Default` and `Token`.
 */
public data class RegistryTaskBaseImageTrigger(
    public val enabled: Boolean? = null,
    public val name: String,
    public val type: String,
    public val updateTriggerEndpoint: String? = null,
    public val updateTriggerPayloadType: String? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.RegistryTaskBaseImageTrigger):
            RegistryTaskBaseImageTrigger = RegistryTaskBaseImageTrigger(
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            type = javaType.type(),
            updateTriggerEndpoint = javaType.updateTriggerEndpoint().map({ args0 -> args0 }).orElse(null),
            updateTriggerPayloadType = javaType.updateTriggerPayloadType().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy