
com.pulumi.azure.containerservice.kotlin.outputs.RegistryTaskDockerStep.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
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property arguments Specifies a map of arguments to be used when executing this step.
* @property cacheEnabled Should the image cache be enabled? Defaults to `true`.
* @property contextAccessToken The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
* @property contextPath The URL (absolute or relative) of the source context for this step. If the context is an url you can reference a specific branch or folder via `#branch:folder`.
* @property dockerfilePath The Dockerfile path relative to the source context.
* @property imageNames Specifies a list of fully qualified image names including the repository and tag.
* @property pushEnabled Should the image built be pushed to the registry or not? Defaults to `true`.
* @property secretArguments Specifies a map of *secret* arguments to be used when executing this step.
* @property target The name of the target build stage for the docker build.
*/
public data class RegistryTaskDockerStep(
public val arguments: Map? = null,
public val cacheEnabled: Boolean? = null,
public val contextAccessToken: String,
public val contextPath: String,
public val dockerfilePath: String,
public val imageNames: List? = null,
public val pushEnabled: Boolean? = null,
public val secretArguments: Map? = null,
public val target: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.RegistryTaskDockerStep): RegistryTaskDockerStep = RegistryTaskDockerStep(
arguments = javaType.arguments().map({ args0 -> args0.key.to(args0.value) }).toMap(),
cacheEnabled = javaType.cacheEnabled().map({ args0 -> args0 }).orElse(null),
contextAccessToken = javaType.contextAccessToken(),
contextPath = javaType.contextPath(),
dockerfilePath = javaType.dockerfilePath(),
imageNames = javaType.imageNames().map({ args0 -> args0 }),
pushEnabled = javaType.pushEnabled().map({ args0 -> args0 }).orElse(null),
secretArguments = javaType.secretArguments().map({ args0 -> args0.key.to(args0.value) }).toMap(),
target = javaType.target().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy