![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.containerregistry.kotlin.inputs.DockerBuildStepArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.containerregistry.kotlin.inputs
import com.pulumi.azurenative.containerregistry.inputs.DockerBuildStepArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The Docker build step.
* @property arguments The collection of override arguments to be used when executing this build step.
* @property contextAccessToken The token (git PAT or SAS token of storage account blob) associated with the context for a step.
* @property contextPath The URL(absolute or relative) of the source context for the task step.
* @property dockerFilePath The Docker file path relative to the source context.
* @property imageNames The fully qualified image names including the repository and tag.
* @property isPushEnabled The value of this property indicates whether the image built should be pushed to the registry or not.
* @property noCache The value of this property indicates whether the image cache is enabled or not.
* @property target The name of the target build stage for the docker build.
* @property type The type of the step.
* Expected value is 'Docker'.
*/
public data class DockerBuildStepArgs(
public val arguments: Output>? = null,
public val contextAccessToken: Output? = null,
public val contextPath: Output? = null,
public val dockerFilePath: Output,
public val imageNames: Output>? = null,
public val isPushEnabled: Output? = null,
public val noCache: Output? = null,
public val target: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.containerregistry.inputs.DockerBuildStepArgs =
com.pulumi.azurenative.containerregistry.inputs.DockerBuildStepArgs.builder()
.arguments(
arguments?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.contextAccessToken(contextAccessToken?.applyValue({ args0 -> args0 }))
.contextPath(contextPath?.applyValue({ args0 -> args0 }))
.dockerFilePath(dockerFilePath.applyValue({ args0 -> args0 }))
.imageNames(imageNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.isPushEnabled(isPushEnabled?.applyValue({ args0 -> args0 }))
.noCache(noCache?.applyValue({ args0 -> args0 }))
.target(target?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DockerBuildStepArgs].
*/
@PulumiTagMarker
public class DockerBuildStepArgsBuilder internal constructor() {
private var arguments: Output>? = null
private var contextAccessToken: Output? = null
private var contextPath: Output? = null
private var dockerFilePath: Output? = null
private var imageNames: Output>? = null
private var isPushEnabled: Output? = null
private var noCache: Output? = null
private var target: Output? = null
private var type: Output? = null
/**
* @param value The collection of override arguments to be used when executing this build step.
*/
@JvmName("eatawxarcdwsydch")
public suspend fun arguments(`value`: Output>) {
this.arguments = value
}
@JvmName("pqhqaoxteqoiqata")
public suspend fun arguments(vararg values: Output) {
this.arguments = Output.all(values.asList())
}
/**
* @param values The collection of override arguments to be used when executing this build step.
*/
@JvmName("hrvwehdhgfboucig")
public suspend fun arguments(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy