com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeArtifact.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.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property allowInsecure Defaults to false. When false, recipes are subject to validations based on the artifact type:
* Remote: A checksum must be specified, and only protocols with transport-layer security are permitted.
* GCS: An object generation number must be specified.
* @property gcs A Google Cloud Storage artifact.
* Structure is documented below.
* @property id Id of the artifact, which the installation and update steps of this recipe can reference.
* Artifacts in a recipe cannot have the same id.
* @property remote A generic remote artifact.
* Structure is documented below.
*/
public data class GuestPoliciesRecipeArtifact(
public val allowInsecure: Boolean? = null,
public val gcs: GuestPoliciesRecipeArtifactGcs? = null,
public val id: String,
public val remote: GuestPoliciesRecipeArtifactRemote? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.GuestPoliciesRecipeArtifact): GuestPoliciesRecipeArtifact = GuestPoliciesRecipeArtifact(
allowInsecure = javaType.allowInsecure().map({ args0 -> args0 }).orElse(null),
gcs = javaType.gcs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeArtifactGcs.Companion.toKotlin(args0)
})
}).orElse(null),
id = javaType.id(),
remote = javaType.remote().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeArtifactRemote.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy