Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.googlenative.cloudbuild.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.cloudbuild.v1.inputs.ArtifactsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Artifacts produced by a build that should be uploaded upon successful completion of all build steps.
* @property images A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.
* @property mavenArtifacts A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.
* @property npmPackages A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.
* @property objects A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE.
* @property pythonPackages A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.
*/
public data class ArtifactsArgs(
public val images: Output>? = null,
public val mavenArtifacts: Output>? = null,
public val npmPackages: Output>? = null,
public val objects: Output? = null,
public val pythonPackages: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.cloudbuild.v1.inputs.ArtifactsArgs =
com.pulumi.googlenative.cloudbuild.v1.inputs.ArtifactsArgs.builder()
.images(images?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.mavenArtifacts(
mavenArtifacts?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.npmPackages(
npmPackages?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.objects(objects?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.pythonPackages(
pythonPackages?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ArtifactsArgs].
*/
@PulumiTagMarker
public class ArtifactsArgsBuilder internal constructor() {
private var images: Output>? = null
private var mavenArtifacts: Output>? = null
private var npmPackages: Output>? = null
private var objects: Output? = null
private var pythonPackages: Output>? = null
/**
* @param value A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.
*/
@JvmName("cqfhwfbvcubgeuov")
public suspend fun images(`value`: Output>) {
this.images = value
}
@JvmName("fywpmxghupolusmq")
public suspend fun images(vararg values: Output) {
this.images = Output.all(values.asList())
}
/**
* @param values A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.
*/
@JvmName("tqlomcwpwpqxkqle")
public suspend fun images(values: List