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

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

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkehub.inputs.FeatureMembershipConfigmanagementConfigSyncOciArgs.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 secret_type 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 OCI Image. Must be one of gcenode, gcpserviceaccount or none.
 * @property syncRepo The OCI image repository URL for the package to sync from. e.g. LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME.
 * @property syncWaitSecs Period in seconds(int64 format) between consecutive syncs. Default: 15.
 */
public data class FeatureMembershipConfigmanagementConfigSyncOciArgs(
    public val gcpServiceAccountEmail: Output? = null,
    public val policyDir: Output? = null,
    public val secretType: Output? = null,
    public val syncRepo: Output? = null,
    public val syncWaitSecs: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureMembershipConfigmanagementConfigSyncOciArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureMembershipConfigmanagementConfigSyncOciArgs.builder()
            .gcpServiceAccountEmail(gcpServiceAccountEmail?.applyValue({ args0 -> args0 }))
            .policyDir(policyDir?.applyValue({ args0 -> args0 }))
            .secretType(secretType?.applyValue({ args0 -> args0 }))
            .syncRepo(syncRepo?.applyValue({ args0 -> args0 }))
            .syncWaitSecs(syncWaitSecs?.applyValue({ args0 -> args0 })).build()
}

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

    private var policyDir: Output? = null

    private var secretType: Output? = null

    private var syncRepo: Output? = null

    private var syncWaitSecs: Output? = null

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

    /**
     * @param value The absolute path of the directory that contains the local resources. Default: the root directory of the image.
     */
    @JvmName("viatmuiovpgjnhiw")
    public suspend fun policyDir(`value`: Output) {
        this.policyDir = value
    }

    /**
     * @param value Type of secret configured for access to the OCI Image. Must be one of gcenode, gcpserviceaccount or none.
     */
    @JvmName("thanjnsnaketdela")
    public suspend fun secretType(`value`: Output) {
        this.secretType = value
    }

    /**
     * @param value The OCI image repository URL for the package to sync from. e.g. LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME.
     */
    @JvmName("vpydggiojmisrjyf")
    public suspend fun syncRepo(`value`: Output) {
        this.syncRepo = value
    }

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

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

    /**
     * @param value The absolute path of the directory that contains the local resources. Default: the root directory of the image.
     */
    @JvmName("oanlxhwurxakgoqb")
    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 OCI Image. Must be one of gcenode, gcpserviceaccount or none.
     */
    @JvmName("lmojvabsvmnhhujr")
    public suspend fun secretType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.secretType = mapped
    }

    /**
     * @param value The OCI image repository URL for the package to sync from. e.g. LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME.
     */
    @JvmName("ggltumwtvyeqsltv")
    public suspend fun syncRepo(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.syncRepo = mapped
    }

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

    internal fun build(): FeatureMembershipConfigmanagementConfigSyncOciArgs =
        FeatureMembershipConfigmanagementConfigSyncOciArgs(
            gcpServiceAccountEmail = gcpServiceAccountEmail,
            policyDir = policyDir,
            secretType = secretType,
            syncRepo = syncRepo,
            syncWaitSecs = syncWaitSecs,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy