com.pulumi.gcp.osconfig.kotlin.outputs.OsPolicyAssignmentOsPolicyResourceGroupResourceFileFile.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, files are
* subject to validations based on the file type: Remote: A checksum must be
* specified. Cloud Storage: An object generation number must be specified.
* @property gcs A Cloud Storage object. Structure is
* documented below.
* @property localPath A local path within the VM to use.
* @property remote A generic remote file. Structure is
* documented below.
*/
public data class OsPolicyAssignmentOsPolicyResourceGroupResourceFileFile(
public val allowInsecure: Boolean? = null,
public val gcs: OsPolicyAssignmentOsPolicyResourceGroupResourceFileFileGcs? = null,
public val localPath: String? = null,
public val remote: OsPolicyAssignmentOsPolicyResourceGroupResourceFileFileRemote? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.OsPolicyAssignmentOsPolicyResourceGroupResourceFileFile): OsPolicyAssignmentOsPolicyResourceGroupResourceFileFile =
OsPolicyAssignmentOsPolicyResourceGroupResourceFileFile(
allowInsecure = javaType.allowInsecure().map({ args0 -> args0 }).orElse(null),
gcs = javaType.gcs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.OsPolicyAssignmentOsPolicyResourceGroupResourceFileFileGcs.Companion.toKotlin(args0)
})
}).orElse(null),
localPath = javaType.localPath().map({ args0 -> args0 }).orElse(null),
remote = javaType.remote().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.OsPolicyAssignmentOsPolicyResourceGroupResourceFileFileRemote.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy