
com.pulumi.azurenative.containerregistry.kotlin.inputs.PipelineRunRequestArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.containerregistry.kotlin.inputs
import com.pulumi.azurenative.containerregistry.inputs.PipelineRunRequestArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The request properties provided for a pipeline run.
* @property artifacts List of source artifacts to be transferred by the pipeline.
* Specify an image by repository ('hello-world'). This will use the 'latest' tag.
* Specify an image by tag ('hello-world:latest').
* Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123').
* @property catalogDigest The digest of the tar used to transfer the artifacts.
* @property pipelineResourceId The resource ID of the pipeline to run.
* @property source The source properties of the pipeline run.
* @property target The target properties of the pipeline run.
*/
public data class PipelineRunRequestArgs(
public val artifacts: Output>? = null,
public val catalogDigest: Output? = null,
public val pipelineResourceId: Output? = null,
public val source: Output? = null,
public val target: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.containerregistry.inputs.PipelineRunRequestArgs =
com.pulumi.azurenative.containerregistry.inputs.PipelineRunRequestArgs.builder()
.artifacts(artifacts?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.catalogDigest(catalogDigest?.applyValue({ args0 -> args0 }))
.pipelineResourceId(pipelineResourceId?.applyValue({ args0 -> args0 }))
.source(source?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.target(target?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [PipelineRunRequestArgs].
*/
@PulumiTagMarker
public class PipelineRunRequestArgsBuilder internal constructor() {
private var artifacts: Output>? = null
private var catalogDigest: Output? = null
private var pipelineResourceId: Output? = null
private var source: Output? = null
private var target: Output? = null
/**
* @param value List of source artifacts to be transferred by the pipeline.
* Specify an image by repository ('hello-world'). This will use the 'latest' tag.
* Specify an image by tag ('hello-world:latest').
* Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123').
*/
@JvmName("lbwgameuhnwbwoaq")
public suspend fun artifacts(`value`: Output>) {
this.artifacts = value
}
@JvmName("pqwedbjedshrlqqu")
public suspend fun artifacts(vararg values: Output) {
this.artifacts = Output.all(values.asList())
}
/**
* @param values List of source artifacts to be transferred by the pipeline.
* Specify an image by repository ('hello-world'). This will use the 'latest' tag.
* Specify an image by tag ('hello-world:latest').
* Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123').
*/
@JvmName("xrttsoskkmmsylhv")
public suspend fun artifacts(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy