com.pulumi.gcp.osconfig.kotlin.inputs.GuestPoliciesRecipeInstallStepFileExecArgs.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.osconfig.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.osconfig.inputs.GuestPoliciesRecipeInstallStepFileExecArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allowedExitCodes A list of possible return values that the program can return to indicate a success. Defaults to [0].
* @property args Arguments to be passed to the provided executable.
* @property artifactId The id of the relevant artifact in the recipe.
* @property localPath The absolute path of the file on the local filesystem.
*/
public data class GuestPoliciesRecipeInstallStepFileExecArgs(
public val allowedExitCodes: Output? = null,
public val args: Output>? = null,
public val artifactId: Output? = null,
public val localPath: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.osconfig.inputs.GuestPoliciesRecipeInstallStepFileExecArgs =
com.pulumi.gcp.osconfig.inputs.GuestPoliciesRecipeInstallStepFileExecArgs.builder()
.allowedExitCodes(allowedExitCodes?.applyValue({ args0 -> args0 }))
.args(args?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.artifactId(artifactId?.applyValue({ args0 -> args0 }))
.localPath(localPath?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GuestPoliciesRecipeInstallStepFileExecArgs].
*/
@PulumiTagMarker
public class GuestPoliciesRecipeInstallStepFileExecArgsBuilder internal constructor() {
private var allowedExitCodes: Output? = null
private var args: Output>? = null
private var artifactId: Output? = null
private var localPath: Output? = null
/**
* @param value A list of possible return values that the program can return to indicate a success. Defaults to [0].
*/
@JvmName("rfsmjtriemayfcmh")
public suspend fun allowedExitCodes(`value`: Output) {
this.allowedExitCodes = value
}
/**
* @param value Arguments to be passed to the provided executable.
*/
@JvmName("jksmaoircvjtajhf")
public suspend fun args(`value`: Output>) {
this.args = value
}
@JvmName("pindedbwcbtwrots")
public suspend fun args(vararg values: Output) {
this.args = Output.all(values.asList())
}
/**
* @param values Arguments to be passed to the provided executable.
*/
@JvmName("rjdkjkvrkodfoelb")
public suspend fun args(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy