com.pulumi.gcp.osconfig.kotlin.outputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepository.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.Suppress
/**
*
* @property apt An Apt Repository. Structure is
* documented below.
* @property goo A Goo Repository. Structure is
* documented below.
* @property yum A Yum Repository. Structure is
* documented below.
* @property zypper A Zypper Repository. Structure is
* documented below.
*/
public data class OsPolicyAssignmentOsPolicyResourceGroupResourceRepository(
public val apt: OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryApt? = null,
public val goo: OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryGoo? = null,
public val yum: OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYum? = null,
public val zypper: OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryZypper? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepository): OsPolicyAssignmentOsPolicyResourceGroupResourceRepository =
OsPolicyAssignmentOsPolicyResourceGroupResourceRepository(
apt = javaType.apt().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryApt.Companion.toKotlin(args0)
})
}).orElse(null),
goo = javaType.goo().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryGoo.Companion.toKotlin(args0)
})
}).orElse(null),
yum = javaType.yum().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYum.Companion.toKotlin(args0)
})
}).orElse(null),
zypper = javaType.zypper().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.osconfig.kotlin.outputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryZypper.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy