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

com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeInstallStepArchiveExtraction.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.String
import kotlin.Suppress

/**
 *
 * @property artifactId The id of the relevant artifact in the recipe.
 * @property destination Directory to extract archive to. Defaults to / on Linux or C:\ on Windows.
 * @property type The type of the archive to extract.
 * Possible values are: `TAR`, `TAR_GZIP`, `TAR_BZIP`, `TAR_LZMA`, `TAR_XZ`, `ZIP`.
 */
public data class GuestPoliciesRecipeInstallStepArchiveExtraction(
    public val artifactId: String,
    public val destination: String? = null,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.GuestPoliciesRecipeInstallStepArchiveExtraction): GuestPoliciesRecipeInstallStepArchiveExtraction =
            GuestPoliciesRecipeInstallStepArchiveExtraction(
                artifactId = javaType.artifactId(),
                destination = javaType.destination().map({ args0 -> args0 }).orElse(null),
                type = javaType.type(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy