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

com.pulumi.gcp.gkehub.kotlin.outputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.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.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property gcpServiceAccountEmail The Google Cloud Service Account Email used for auth when secretType is gcpServiceAccount
 * @property httpsProxy URL for the HTTPS Proxy to be used when communicating with the Git repo
 * @property policyDir The path within the Git repository that represents the top level of the repo to sync
 * @property secretType Type of secret configured for access to the Git repo
 * @property syncBranch The branch of the repository to sync from. Default: master
 * @property syncRepo The URL of the Git repository to use as the source of truth
 * @property syncRev Git revision (tag or hash) to check out. Default HEAD
 * @property syncWaitSecs Period in seconds between consecutive syncs. Default: 15
 */
public data class FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit(
    public val gcpServiceAccountEmail: String? = null,
    public val httpsProxy: String? = null,
    public val policyDir: String? = null,
    public val secretType: String,
    public val syncBranch: String? = null,
    public val syncRepo: String? = null,
    public val syncRev: String? = null,
    public val syncWaitSecs: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.gkehub.outputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit): FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit =
            FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit(
                gcpServiceAccountEmail = javaType.gcpServiceAccountEmail().map({ args0 -> args0 }).orElse(null),
                httpsProxy = javaType.httpsProxy().map({ args0 -> args0 }).orElse(null),
                policyDir = javaType.policyDir().map({ args0 -> args0 }).orElse(null),
                secretType = javaType.secretType(),
                syncBranch = javaType.syncBranch().map({ args0 -> args0 }).orElse(null),
                syncRepo = javaType.syncRepo().map({ args0 -> args0 }).orElse(null),
                syncRev = javaType.syncRev().map({ args0 -> args0 }).orElse(null),
                syncWaitSecs = javaType.syncWaitSecs().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy