com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeUpdateStepFileCopy.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 artifactId The id of the relevant artifact in the recipe.
* @property destination The absolute path on the instance to put the file.
* @property overwrite Whether to allow this step to overwrite existing files.If this is false and the file already exists the file
* is not overwritten and the step is considered a success. Defaults to false.
* @property permissions Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users
* for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit
* number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one
* bit corresponds to the execute permission. Default behavior is 755.
* Below are some examples of permissions and their associated values:
* read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4
*/
public data class GuestPoliciesRecipeUpdateStepFileCopy(
public val artifactId: String,
public val destination: String,
public val overwrite: Boolean? = null,
public val permissions: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.GuestPoliciesRecipeUpdateStepFileCopy): GuestPoliciesRecipeUpdateStepFileCopy = GuestPoliciesRecipeUpdateStepFileCopy(
artifactId = javaType.artifactId(),
destination = javaType.destination(),
overwrite = javaType.overwrite().map({ args0 -> args0 }).orElse(null),
permissions = javaType.permissions().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy