
com.pulumi.gcp.gkehub.kotlin.outputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSync.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.gkehub.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property enabled Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field.
* @property git Git repo configuration for the cluster
* Structure is documented below.
* @property oci OCI repo configuration for the cluster
* Structure is documented below.
* @property preventDrift Set to true to enable the Config Sync admission webhook to prevent drifts. If set to `false`, disables the Config Sync admission webhook and does not prevent drifts.
* @property sourceFormat Specifies whether the Config Sync Repo is in hierarchical or unstructured mode
*/
public data class FeatureFleetDefaultMemberConfigConfigmanagementConfigSync(
public val enabled: Boolean? = null,
public val git: FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit? = null,
public val oci: FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOci? = null,
public val preventDrift: Boolean? = null,
public val sourceFormat: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkehub.outputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSync): FeatureFleetDefaultMemberConfigConfigmanagementConfigSync =
FeatureFleetDefaultMemberConfigConfigmanagementConfigSync(
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
git = javaType.git().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkehub.kotlin.outputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.Companion.toKotlin(args0)
})
}).orElse(null),
oci = javaType.oci().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkehub.kotlin.outputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOci.Companion.toKotlin(args0)
})
}).orElse(null),
preventDrift = javaType.preventDrift().map({ args0 -> args0 }).orElse(null),
sourceFormat = javaType.sourceFormat().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy