com.pulumi.gcp.appengine.kotlin.outputs.FlexibleAppVersionDeployment.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.appengine.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property cloudBuildOptions Options for the build operations performed as a part of the version deployment. Only applicable when creating a version using source code directly.
* Structure is documented below.
* @property container The Docker image for the container that runs the version.
* Structure is documented below.
* @property files Manifest of the files stored in Google Cloud Storage that are included as part of this version.
* All files must be readable using the credentials supplied with this call.
* Structure is documented below.
* @property zip Zip File
* Structure is documented below.
*/
public data class FlexibleAppVersionDeployment(
public val cloudBuildOptions: FlexibleAppVersionDeploymentCloudBuildOptions? = null,
public val container: FlexibleAppVersionDeploymentContainer? = null,
public val files: List? = null,
public val zip: FlexibleAppVersionDeploymentZip? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.appengine.outputs.FlexibleAppVersionDeployment): FlexibleAppVersionDeployment = FlexibleAppVersionDeployment(
cloudBuildOptions = javaType.cloudBuildOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.appengine.kotlin.outputs.FlexibleAppVersionDeploymentCloudBuildOptions.Companion.toKotlin(args0)
})
}).orElse(null),
container = javaType.container().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.appengine.kotlin.outputs.FlexibleAppVersionDeploymentContainer.Companion.toKotlin(args0)
})
}).orElse(null),
files = javaType.files().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.appengine.kotlin.outputs.FlexibleAppVersionDeploymentFile.Companion.toKotlin(args0)
})
}),
zip = javaType.zip().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.appengine.kotlin.outputs.FlexibleAppVersionDeploymentZip.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy