com.pulumi.gcp.compute.kotlin.outputs.InstanceGroupManagerAllInstancesConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property labels , The label key-value pairs that you want to patch onto the instance.
* - - -
* @property metadata , The metadata key-value pairs that you want to patch onto the instance. For more information, see [Project and instance metadata](https://cloud.google.com/compute/docs/metadata#project_and_instance_metadata).
*/
public data class InstanceGroupManagerAllInstancesConfig(
public val labels: Map? = null,
public val metadata: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.InstanceGroupManagerAllInstancesConfig): InstanceGroupManagerAllInstancesConfig = InstanceGroupManagerAllInstancesConfig(
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
metadata = javaType.metadata().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy