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

com.pulumi.gcp.container.kotlin.outputs.ClusterNodeConfigWorkloadMetadataConfig.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.container.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property mode How to expose the node metadata to the workload running on the node.
 * Accepted values are:
 * * UNSPECIFIED: Not Set
 * * GCE_METADATA: Expose all Compute Engine metadata to pods.
 * * GKE_METADATA: Run the GKE Metadata Server on this node. The GKE Metadata Server exposes a metadata API to workloads that is compatible with the V1 Compute Metadata APIs exposed by the Compute Engine and App Engine Metadata Servers. This feature can only be enabled if [workload identity](https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity) is enabled at the cluster level.
 */
public data class ClusterNodeConfigWorkloadMetadataConfig(
    public val mode: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.ClusterNodeConfigWorkloadMetadataConfig): ClusterNodeConfigWorkloadMetadataConfig = ClusterNodeConfigWorkloadMetadataConfig(
            mode = javaType.mode(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy