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

com.pulumi.gcp.gkehub.kotlin.inputs.FeatureMembershipConfigmanagementConfigSyncGitArgs.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.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkehub.inputs.FeatureMembershipConfigmanagementConfigSyncGitArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property gcpServiceAccountEmail The GCP 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. Default: the root directory of the repository.
 * @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 FeatureMembershipConfigmanagementConfigSyncGitArgs(
    public val gcpServiceAccountEmail: Output? = null,
    public val httpsProxy: Output? = null,
    public val policyDir: Output? = null,
    public val secretType: Output? = null,
    public val syncBranch: Output? = null,
    public val syncRepo: Output? = null,
    public val syncRev: Output? = null,
    public val syncWaitSecs: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureMembershipConfigmanagementConfigSyncGitArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureMembershipConfigmanagementConfigSyncGitArgs.builder()
            .gcpServiceAccountEmail(gcpServiceAccountEmail?.applyValue({ args0 -> args0 }))
            .httpsProxy(httpsProxy?.applyValue({ args0 -> args0 }))
            .policyDir(policyDir?.applyValue({ args0 -> args0 }))
            .secretType(secretType?.applyValue({ args0 -> args0 }))
            .syncBranch(syncBranch?.applyValue({ args0 -> args0 }))
            .syncRepo(syncRepo?.applyValue({ args0 -> args0 }))
            .syncRev(syncRev?.applyValue({ args0 -> args0 }))
            .syncWaitSecs(syncWaitSecs?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FeatureMembershipConfigmanagementConfigSyncGitArgs].
 */
@PulumiTagMarker
public class FeatureMembershipConfigmanagementConfigSyncGitArgsBuilder internal constructor() {
    private var gcpServiceAccountEmail: Output? = null

    private var httpsProxy: Output? = null

    private var policyDir: Output? = null

    private var secretType: Output? = null

    private var syncBranch: Output? = null

    private var syncRepo: Output? = null

    private var syncRev: Output? = null

    private var syncWaitSecs: Output? = null

    /**
     * @param value The GCP Service Account Email used for auth when secretType is gcpServiceAccount.
     */
    @JvmName("iwdsvtqhgpjcsuty")
    public suspend fun gcpServiceAccountEmail(`value`: Output) {
        this.gcpServiceAccountEmail = value
    }

    /**
     * @param value URL for the HTTPS proxy to be used when communicating with the Git repo.
     */
    @JvmName("xhihbluiqqrgjdys")
    public suspend fun httpsProxy(`value`: Output) {
        this.httpsProxy = value
    }

    /**
     * @param value The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
     */
    @JvmName("lrthwrerstfygicd")
    public suspend fun policyDir(`value`: Output) {
        this.policyDir = value
    }

    /**
     * @param value Type of secret configured for access to the Git repo.
     */
    @JvmName("obpwydrbpxopehbl")
    public suspend fun secretType(`value`: Output) {
        this.secretType = value
    }

    /**
     * @param value The branch of the repository to sync from. Default: master.
     */
    @JvmName("oeuxkddlcnixwvqr")
    public suspend fun syncBranch(`value`: Output) {
        this.syncBranch = value
    }

    /**
     * @param value The URL of the Git repository to use as the source of truth.
     */
    @JvmName("jyeumckwyqgxrxyo")
    public suspend fun syncRepo(`value`: Output) {
        this.syncRepo = value
    }

    /**
     * @param value Git revision (tag or hash) to check out. Default HEAD.
     */
    @JvmName("elemciofvpipnxix")
    public suspend fun syncRev(`value`: Output) {
        this.syncRev = value
    }

    /**
     * @param value Period in seconds between consecutive syncs. Default: 15.
     */
    @JvmName("oxvauuvtsfnxeuuo")
    public suspend fun syncWaitSecs(`value`: Output) {
        this.syncWaitSecs = value
    }

    /**
     * @param value The GCP Service Account Email used for auth when secretType is gcpServiceAccount.
     */
    @JvmName("xvstctrkksurfbjw")
    public suspend fun gcpServiceAccountEmail(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.gcpServiceAccountEmail = mapped
    }

    /**
     * @param value URL for the HTTPS proxy to be used when communicating with the Git repo.
     */
    @JvmName("gnpasjlrklyobmnj")
    public suspend fun httpsProxy(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.httpsProxy = mapped
    }

    /**
     * @param value The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
     */
    @JvmName("qnwslyuvaoxuyube")
    public suspend fun policyDir(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.policyDir = mapped
    }

    /**
     * @param value Type of secret configured for access to the Git repo.
     */
    @JvmName("sjkevbwbfeusitjr")
    public suspend fun secretType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.secretType = mapped
    }

    /**
     * @param value The branch of the repository to sync from. Default: master.
     */
    @JvmName("cjdfhyjvqoqhbxtk")
    public suspend fun syncBranch(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.syncBranch = mapped
    }

    /**
     * @param value The URL of the Git repository to use as the source of truth.
     */
    @JvmName("sgyqagivgghyqpmu")
    public suspend fun syncRepo(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.syncRepo = mapped
    }

    /**
     * @param value Git revision (tag or hash) to check out. Default HEAD.
     */
    @JvmName("yvtreeomximeujhx")
    public suspend fun syncRev(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.syncRev = mapped
    }

    /**
     * @param value Period in seconds between consecutive syncs. Default: 15.
     */
    @JvmName("upvhmtorqnkcgpcf")
    public suspend fun syncWaitSecs(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.syncWaitSecs = mapped
    }

    internal fun build(): FeatureMembershipConfigmanagementConfigSyncGitArgs =
        FeatureMembershipConfigmanagementConfigSyncGitArgs(
            gcpServiceAccountEmail = gcpServiceAccountEmail,
            httpsProxy = httpsProxy,
            policyDir = policyDir,
            secretType = secretType,
            syncBranch = syncBranch,
            syncRepo = syncRepo,
            syncRev = syncRev,
            syncWaitSecs = syncWaitSecs,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy