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

com.pulumi.gcp.gkehub.kotlin.outputs.FeatureMembershipConfigmanagementConfigSyncOci.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 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 FeatureMembershipConfigmanagementConfigSyncOci(
    public val gcpServiceAccountEmail: String? = null,
    public val policyDir: String? = null,
    public val secretType: String? = null,
    public val syncRepo: String? = null,
    public val syncWaitSecs: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.gkehub.outputs.FeatureMembershipConfigmanagementConfigSyncOci): FeatureMembershipConfigmanagementConfigSyncOci =
            FeatureMembershipConfigmanagementConfigSyncOci(
                gcpServiceAccountEmail = javaType.gcpServiceAccountEmail().map({ args0 -> args0 }).orElse(null),
                policyDir = javaType.policyDir().map({ args0 -> args0 }).orElse(null),
                secretType = javaType.secretType().map({ args0 -> args0 }).orElse(null),
                syncRepo = javaType.syncRepo().map({ args0 -> args0 }).orElse(null),
                syncWaitSecs = javaType.syncWaitSecs().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy