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

com.pulumi.gcp.gkehub.kotlin.inputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitArgs.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.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @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 FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitArgs(
    public val gcpServiceAccountEmail: Output? = null,
    public val httpsProxy: Output? = null,
    public val policyDir: Output? = null,
    public val secretType: Output,
    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.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitArgs.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 [FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitArgs].
 */
@PulumiTagMarker
public class FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitArgsBuilder 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 Google Cloud Service Account Email used for auth when secretType is gcpServiceAccount
     */
    @JvmName("iyigvcdiogfyjfny")
    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("rcgdxqdpnpqxwxoi")
    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
     */
    @JvmName("beegnqxwnmvdrrjm")
    public suspend fun policyDir(`value`: Output) {
        this.policyDir = value
    }

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

    /**
     * @param value The branch of the repository to sync from. Default: master
     */
    @JvmName("bejxoteiqsrdgovt")
    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("bjaqdshsjiknrvau")
    public suspend fun syncRepo(`value`: Output) {
        this.syncRepo = value
    }

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

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

    /**
     * @param value The Google Cloud Service Account Email used for auth when secretType is gcpServiceAccount
     */
    @JvmName("gcxgfhvifcfrhgys")
    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("bjoxkirkdylvluvv")
    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
     */
    @JvmName("qaneiectytqrndke")
    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("kgdbosoutqdrgppu")
    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("hdvspfmtmuoiifki")
    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("lcdmxgodyppghdje")
    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("oghibbehyrnvtosx")
    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("khhpukgfemnlsdfq")
    public suspend fun syncWaitSecs(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.syncWaitSecs = mapped
    }

    internal fun build(): FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitArgs =
        FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGitArgs(
            gcpServiceAccountEmail = gcpServiceAccountEmail,
            httpsProxy = httpsProxy,
            policyDir = policyDir,
            secretType = secretType ?: throw PulumiNullFieldException("secretType"),
            syncBranch = syncBranch,
            syncRepo = syncRepo,
            syncRev = syncRev,
            syncWaitSecs = syncWaitSecs,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy