com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeInstallStep.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.outputs
import kotlin.Suppress
/**
*
* @property archiveExtraction Extracts an archive into the specified directory.
* Structure is documented below.
* @property dpkgInstallation Installs a deb file via dpkg.
* Structure is documented below.
* @property fileCopy Copies a file onto the instance.
* Structure is documented below.
* @property fileExec Executes an artifact or local file.
* Structure is documented below.
* @property msiInstallation Installs an MSI file.
* Structure is documented below.
* @property rpmInstallation Installs an rpm file via the rpm utility.
* Structure is documented below.
* @property scriptRun Runs commands in a shell.
* Structure is documented below.
*/
public data class GuestPoliciesRecipeInstallStep(
public val archiveExtraction: GuestPoliciesRecipeInstallStepArchiveExtraction? = null,
public val dpkgInstallation: GuestPoliciesRecipeInstallStepDpkgInstallation? = null,
public val fileCopy: GuestPoliciesRecipeInstallStepFileCopy? = null,
public val fileExec: GuestPoliciesRecipeInstallStepFileExec? = null,
public val msiInstallation: GuestPoliciesRecipeInstallStepMsiInstallation? = null,
public val rpmInstallation: GuestPoliciesRecipeInstallStepRpmInstallation? = null,
public val scriptRun: GuestPoliciesRecipeInstallStepScriptRun? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.GuestPoliciesRecipeInstallStep): GuestPoliciesRecipeInstallStep = GuestPoliciesRecipeInstallStep(
archiveExtraction = javaType.archiveExtraction().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeInstallStepArchiveExtraction.Companion.toKotlin(args0)
})
}).orElse(null),
dpkgInstallation = javaType.dpkgInstallation().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeInstallStepDpkgInstallation.Companion.toKotlin(args0)
})
}).orElse(null),
fileCopy = javaType.fileCopy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeInstallStepFileCopy.Companion.toKotlin(args0)
})
}).orElse(null),
fileExec = javaType.fileExec().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeInstallStepFileExec.Companion.toKotlin(args0)
})
}).orElse(null),
msiInstallation = javaType.msiInstallation().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeInstallStepMsiInstallation.Companion.toKotlin(args0)
})
}).orElse(null),
rpmInstallation = javaType.rpmInstallation().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeInstallStepRpmInstallation.Companion.toKotlin(args0)
})
}).orElse(null),
scriptRun = javaType.scriptRun().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeInstallStepScriptRun.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy