All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.gkehub.kotlin.outputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOci.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.gkehub.kotlin.outputs

import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property gcpServiceAccountEmail The Google Cloud Service Account Email used for auth when secretType is gcpServiceAccount
 * @property policyDir The absolute path of the directory that contains the local resources. Default: the root directory of the image
 * @property secretType Type of secret configured for access to the Git repo
 * @property syncRepo The OCI image repository URL for the package to sync from
 * @property syncWaitSecs Period in seconds between consecutive syncs. Default: 15
 * @property version (Optional, Deprecated)
 * Version of ACM installed
 * > **Warning:** The `configmanagement.config_sync.oci.version` field is deprecated and will be removed in a future major release. Please use `configmanagement.version` field to specify the version of ACM installed instead.
 */
public data class FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOci(
    public val gcpServiceAccountEmail: String? = null,
    public val policyDir: String? = null,
    public val secretType: String,
    public val syncRepo: String? = null,
    public val syncWaitSecs: String? = null,
    @Deprecated(
        message = """
  The `configmanagement.config_sync.oci.version` field is deprecated and will be removed in a future
      major release. Please use `configmanagement.version` field to specify the version of ACM
      installed instead.
  """,
    )
    public val version: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.gkehub.outputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOci): FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOci =
            FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOci(
                gcpServiceAccountEmail = javaType.gcpServiceAccountEmail().map({ args0 -> args0 }).orElse(null),
                policyDir = javaType.policyDir().map({ args0 -> args0 }).orElse(null),
                secretType = javaType.secretType(),
                syncRepo = javaType.syncRepo().map({ args0 -> args0 }).orElse(null),
                syncWaitSecs = javaType.syncWaitSecs().map({ args0 -> args0 }).orElse(null),
                version = javaType.version().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy