com.pulumi.azure.batch.kotlin.outputs.GetPoolStartTaskContainer.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.batch.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property imageName The image to use to create the container in which the task will run.
* @property registries The same reference as `container_registries` block defined as follows.
* @property runOptions Additional options to the container create command.
* @property workingDirectory A flag to indicate where the container task working directory is.
*/
public data class GetPoolStartTaskContainer(
public val imageName: String,
public val registries: List,
public val runOptions: String,
public val workingDirectory: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.GetPoolStartTaskContainer): GetPoolStartTaskContainer = GetPoolStartTaskContainer(
imageName = javaType.imageName(),
registries = javaType.registries().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.batch.kotlin.outputs.GetPoolStartTaskContainerRegistry.Companion.toKotlin(args0)
})
}),
runOptions = javaType.runOptions(),
workingDirectory = javaType.workingDirectory(),
)
}
}