All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeUpdateStepFileExec.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.osconfig.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 GuestPoliciesRecipeUpdateStepFileExec(
    public val allowedExitCodes: List? = null,
    public val args: List? = null,
    public val artifactId: String? = null,
    public val localPath: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.GuestPoliciesRecipeUpdateStepFileExec): GuestPoliciesRecipeUpdateStepFileExec = GuestPoliciesRecipeUpdateStepFileExec(
            allowedExitCodes = javaType.allowedExitCodes().map({ args0 -> args0 }),
            args = javaType.args().map({ args0 -> args0 }),
            artifactId = javaType.artifactId().map({ args0 -> args0 }).orElse(null),
            localPath = javaType.localPath().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy