
com.pulumi.googlenative.osconfig.v1alpha.kotlin.outputs.OSPolicyResourceResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.osconfig.v1alpha.kotlin.outputs
import kotlin.Suppress
/**
* An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.
* @property exec Exec resource
* @property file File resource
* @property pkg Package resource
* @property repository Package repository resource
*/
public data class OSPolicyResourceResponse(
public val exec: OSPolicyResourceExecResourceResponse,
public val `file`: OSPolicyResourceFileResourceResponse,
public val pkg: OSPolicyResourcePackageResourceResponse,
public val repository: OSPolicyResourceRepositoryResourceResponse,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.osconfig.v1alpha.outputs.OSPolicyResourceResponse): OSPolicyResourceResponse = OSPolicyResourceResponse(
exec = javaType.exec().let({ args0 ->
com.pulumi.googlenative.osconfig.v1alpha.kotlin.outputs.OSPolicyResourceExecResourceResponse.Companion.toKotlin(args0)
}),
`file` = javaType.`file`().let({ args0 ->
com.pulumi.googlenative.osconfig.v1alpha.kotlin.outputs.OSPolicyResourceFileResourceResponse.Companion.toKotlin(args0)
}),
pkg = javaType.pkg().let({ args0 ->
com.pulumi.googlenative.osconfig.v1alpha.kotlin.outputs.OSPolicyResourcePackageResourceResponse.Companion.toKotlin(args0)
}),
repository = javaType.repository().let({ args0 ->
com.pulumi.googlenative.osconfig.v1alpha.kotlin.outputs.OSPolicyResourceRepositoryResourceResponse.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy