
com.pulumi.azurenative.containerregistry.kotlin.outputs.EncodedTaskStepResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.containerregistry.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* The properties of a encoded task step.
* @property baseImageDependencies List of base image dependencies for a 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 encodedTaskContent Base64 encoded value of the template/definition file content.
* @property encodedValuesContent Base64 encoded value of the parameters/values file content.
* @property type The type of the step.
* Expected value is 'EncodedTask'.
* @property values The collection of overridable values that can be passed when running a task.
*/
public data class EncodedTaskStepResponse(
public val baseImageDependencies: List,
public val contextAccessToken: String? = null,
public val contextPath: String? = null,
public val encodedTaskContent: String,
public val encodedValuesContent: String? = null,
public val type: String,
public val values: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.containerregistry.outputs.EncodedTaskStepResponse): EncodedTaskStepResponse = EncodedTaskStepResponse(
baseImageDependencies = javaType.baseImageDependencies().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.containerregistry.kotlin.outputs.BaseImageDependencyResponse.Companion.toKotlin(args0)
})
}),
contextAccessToken = javaType.contextAccessToken().map({ args0 -> args0 }).orElse(null),
contextPath = javaType.contextPath().map({ args0 -> args0 }).orElse(null),
encodedTaskContent = javaType.encodedTaskContent(),
encodedValuesContent = javaType.encodedValuesContent().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
values = javaType.values().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.containerregistry.kotlin.outputs.SetValueResponse.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy