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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 *
 * @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.
 * @property secretValues Specifies a map of secret values that can be passed when running a task.
 * @property taskContent The (optionally base64 encoded) content of the build template.
 * @property valueContent The (optionally base64 encoded) content of the build parameters.
 * @property values Specifies a map of values that can be passed when running a task.
 */
public data class RegistryTaskEncodedStep(
    public val contextAccessToken: String? = null,
    public val contextPath: String? = null,
    public val secretValues: Map? = null,
    public val taskContent: String,
    public val valueContent: String? = null,
    public val values: Map? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.RegistryTaskEncodedStep): RegistryTaskEncodedStep = RegistryTaskEncodedStep(
            contextAccessToken = javaType.contextAccessToken().map({ args0 -> args0 }).orElse(null),
            contextPath = javaType.contextPath().map({ args0 -> args0 }).orElse(null),
            secretValues = javaType.secretValues().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            taskContent = javaType.taskContent(),
            valueContent = javaType.valueContent().map({ args0 -> args0 }).orElse(null),
            values = javaType.values().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy